Show solutionHide solution
Let the given nonzero vector be \(\vec a=x\hat i+y\hat j+z\hat k\), and let its magnitude be \(r=|\vec a|=\sqrt{x^{2}+y^{2}+z^{2}}\). The direction cosines of \(\vec a\) are \(l=\cos\alpha=\frac{x}{r}\), \(m=\cos\beta=\frac{y}{r}\), \(n=\cos\gamma=\frac{z}{r}\), where \(\alpha,\beta,\gamma\) are the angles made with the positive coordinate axes \(OX,OY,OZ\).
Since the vector is equally inclined to the three axes, \(\alpha=\beta=\gamma\). Hence \(l=m=n\). Let this common value be \(\lambda\). Every set of direction cosines satisfies
\[ l^{2}+m^{2}+n^{2}=1. \]
Therefore
\[ \lambda^{2}+\lambda^{2}+\lambda^{2}=1 \quad\Rightarrow\quad 3\lambda^{2}=1 \quad\Rightarrow\quad \lambda=\pm\frac{1}{\sqrt3}. \]
Thus
\[ (l,m,n)=\left(\frac{1}{\sqrt3},\frac{1}{\sqrt3},\frac{1}{\sqrt3}\right) \quad\text{or}\quad \left(-\frac{1}{\sqrt3},-\frac{1}{\sqrt3},-\frac{1}{\sqrt3}\right), \]
that is,
\[ (l,m,n)=\pm\left(\frac{1}{\sqrt3},\frac{1}{\sqrt3},\frac{1}{\sqrt3}\right). \]
Conversely, either choice has three equal components and its squared components sum to \(3\cdot\frac13=1\), so it is indeed a possible set of direction cosines for a vector equally inclined to the axes. Hence the direction cosines are \(\pm\left(\frac{1}{\sqrt3},\frac{1}{\sqrt3},\frac{1}{\sqrt3}\right)\).
(Under the standard direction-cosine convention, the angles are measured from the positive coordinate axes. If the axes are treated as undirected lines, then only the absolute values of the direction cosines are forced to be equal.)