A line with equation $r=a+\lambda\vec{d}$ meets plane $\pi$ with equation $r.\hat{n}=k$ at point P. Point Q lies in $\pi$ and is the foot of the perpendicular from A to $\pi$. Find the direction vector of line PQ.
By solving $(a+\lambda\vec{d}).\hat{n}=k$, I was able to find the position vector of P. Then by finding the intersection of line AQ and plane I was able to find the position vector of Q and hence the direction vector PQ.
However, the answer can be found simply by finding $(\hat{n}\times \vec{d})\times \hat{n}$ where $\times$ is cross-product. I don't understand why.
Here's what I know :
The cross-product of 2 vectors gives a 3rd vector perpendicular to the 2 vectors.
Line PQ lies on plane so direction vector PQ $\perp \hat{n}$. Also,
AQ is parallel to $\hat{n}$.
The first part $w=(\hat{n}\times \vec{d})$ gives a vector perpendicular to line and parallel to plane. Won't $w\times n$ give a vector perpendicular to the plane again? I can't understand the geometric interpretation of $(\hat{n}\times \vec{d})\times \hat{n}$.
The segment $PQ$ lies in a plane that is spanned by the perpendicular to the plane $n$ and the direction vector $d$, so the normal to this plane is $n \times d$. But $PQ$ also lies in the plane whose normal is $n$, hence the direction vector of $PQ$ must be along the vector $(n \times d) \times n $