[Math] Maximizing an inner product

inner-productslinear algebramaxima-minimaoptimizationprojection

Let $E$ be a finite dimensional real vector space with inner product $\langle \cdot, \cdot \rangle$, $F$ a hyperplane of $E$ and $v \not\in F$ a fixed unit vector. What is the maximum value $\langle x,v \rangle$ can assume when $x$ varies over $F$ and has unit norm?

Geometrically, we are trying to minimize the angle of a unit vector in $F$ with the vector $v$, so my guess is that $x$ has to be parallel to the orthogonal projection of $v$ onto $F$. Is this true?

Best Answer

It is the norm of the orthogonal projection of $v$ on $F$.