Let $M$ be a linear subspace of a Hilbert space $H$. I want to show that if $$ ||x-y|| \ge ||x||, \quad \text{for all} \ y \in M, $$ then $x\in M^\perp$.
Let $x\in H$ and $y\in M$ such that $||x-y||^2 \ge ||x||^2$. This is equivalent to $$ ||x||^2 - 2(x,y) + ||y||^2 - ||x||^2 \ge 0. $$ That is $$ - 2(x,y) + ||y||^2 \ge 0. $$ As this inequality this has to hold for all $y\in M$ we have that $(x,y)$ must equal to zero. Is this correct or have I missed some details?