Show solutionHide solution
Let \(\hat i\) and \(\hat j\) be unit vectors along the positive \(x\)- and \(y\)-axis. A unit vector in the \(xy\)-plane can be written as \(\vec v=a\hat i+b\hat j\), where \(a^2+b^2=1\).
The angle \(\theta\) between \(\vec v\) and the positive \(x\)-axis satisfies \(\cos\theta=\vec v\cdot\hat i=a\), because both \(\vec v\) and \(\hat i\) are unit vectors. For \(\theta=30^\circ\),
\[ a=\cos30^\circ=\frac{\sqrt3}{2}. \]
Then \(b^2=1-a^2=1-\frac34=\frac14\), so \(b=\pm\frac12\). Therefore the usual counterclockwise choice is
\[ \vec v=\frac{\sqrt3}{2}\hat i+\frac12\hat j. \]
If only the undirected angle of \(30^\circ\) with the positive \(x\)-axis is required, the other possible unit vector is \(\frac{\sqrt3}{2}\hat i-\frac12\hat j\). Both have length \(1\), and their angle with the positive \(x\)-axis has cosine \(\frac{\sqrt3}{2}\).