The vector $\vec a$ makes an angle of $π/3$ with the $x$−axis, an angle of $π/4$ with the $y$−axis, and some sharp angle with the $z$−axis. The vector $\vec b$ forms an angle of $π/6$ with the $x$−axis. What are the angles that vector $\vec b$ makes with $y$ and $z$−axis if it is known that vectors $\vec a$ and $\vec b$ are perpendicular?
Here is what I know:
$\cos^2(\alpha) + \cos^2(\beta)+\cos^2(\gamma)=1 \\ \rightarrow\cos^2(π/3)+ \cos^2(π/4) +\cos^2(\gamma)=1 \\ \implies\cos^2(\gamma)=\pm1/2$
Vectors $\vec a$ and $\vec b$ are perpendicular that means angle between $\vec a$ and $\vec b$ is $π/2$ and $\vec a\cdot\vec b=0$. I don't know what to do next and how to find angles between vector $b$ and $y$ and $z$ axis. I would be thankful for any help.
Wlog $\|\vec a\|=\|\vec b\|=1.$ If so then $$\vec a=\left(\frac12,\frac1{\sqrt2},\frac12\right),\quad \vec b=\left(\frac{\sqrt3}2,u,v\right)$$ with $$u^2+v^2=\frac14\quad\text{and}\quad\frac{\sqrt3}4+\frac u{\sqrt2}+\frac v2=0,$$ i.e. $$u=-\frac1{\sqrt6},\quad v=-\frac1{2\sqrt3}.$$ $u,v$ are the cosines of the angles that $b$ makes with the $y$- and $z$-axis.