I am trying to prove that $\vec{A}=(\vec{A}\cdot \vec{n})\vec{n}+(\vec{n}\times\vec{A})\times\vec{n}$ where $\vec{n}$ is a unit vector and $\times$ indicates the cross product.
I am dealing with vectors in 3-dimensions in Klepner's book on mechanics, and so I assigned $\vec{A}$ in terms of $\hat{i}$, $\hat{j}$ and $\hat{k}$ and tried to do the same with the unit vector. That made my solution hideous.
I was wondering if someone could show me how to do the problem in $3$ dimensions elegantly.
The vector $(A\cdot n)\,n$ is essentially the projection of $A$ onto $n$, and subsequently it remains to be seen that $(n\times A)\times n$ provides us with the projection of $A$ onto the plane with unit normal $n$. Without loss of generality assume that $n$ is on the positive $z$ axis so the plane $n^\perp$ is the $xy$-plane (the idea is just easier to visualize this way). Note that $n\times A$ is located on $n^\perp$ and forms a right angle (in the counterclockwise direction!) to the projection $p$ of $A$ onto $n^\perp$, so by the right-hand rule $(n\times A)\times n$ will not only be another vector on $A$ but will form a right angle clockwise to $n\times A$, hence will point in the same direction as $p$. Now it only remains to be seen that the magnitude is the correct.
Since $n\times A\perp n$, we have $\|(n\times A)\times n\|=\|n\times A\|\cdot\|n\|\sin\frac{\pi}{2}=\|A\|\sin\theta$, where $\theta$ is the angle $A$ makes with $n$. But $\|A\|\sin\theta$ is precisely the length of $A$'s projection $p$ onto the $xy$-axis! Q.E.D.