Solution (source code)

= Solution

If $x\in S_v$, then $v^Tx=0$ and $Px=0$, so $\boxed{H_vx=x}$. For arbitrary $x$, $v^TP=v^T$, giving
$$
\boxed{v^TH_vx=v^Tx-2v^TPx=-v^Tx.}
$$
Thus the Householder map fixes the hyperplane <orthogonal> to $v$ and reverses the component in its normal direction: it is a reflection, not merely an arbitrary <orthogonal> map.