I am reading some material on the Householder reflection and it describes the projection of a vector $\vec{x}$, onto $\vec{v}$ in vector notation to be:
$\frac{\vec{x}\cdot \vec{v}}{||\vec{v}||^2}\vec{v}$
Where $a\cdot b$ is the dot product of vectors a and b.
So how is that?
I know if θ is the angle between $\vec{x}$ and $\vec{v}$, then in trigonometric terms, the projection of $\vec{x}$ on $\vec{v}$ would be $x\cos(θ)$. How are these two equivalent? Thanks.