At the start of a proof of the Cauchy-Schwarz inequality, my lecturer wrote down the following statement:
Let $V$ be an Inner Product Space with underlying field $\mathbb{F}$, then $$ \forall\ \ x, y \in V,\ \ \exists \ \ w \in V,\ \ \lambda \in \mathbb{F} \ \ such \ \ that $$
$$ x = \lambda y + w \ \ and\ \ \langle w,y \rangle = 0 $$
Is this an obvious statement (I can't see that it is myself) and why is it the case?
Let us think about it. You want $w=x-\lambda y$ to be orthogonal to $y$. That would be $$ 0=\langle x-\lambda y,y\rangle=\langle x,y\rangle-\lambda\langle y,y\rangle. $$ So $\lambda =\frac{\langle x,y\rangle}{\langle y,y\rangle}$ does the deed, with $w=x-\lambda y$.