Consider $\mathbb R ^3$ with the usual inner product. If d is the distance from $Q=(1, 1, 1)$ to the subspace $P$ span ${(1, 1, 0), (0, 1, 1)}$of $\mathbb R ^3$ , then $ 3d ^2 $ = ?
Can anyone give me a hint? I can not understand what to do with the inner product. I know that I will get an orthogonal vector of $(1, 1, 1)$ in the subspace span ${(1, 1, 0), (0, 1, 1)}$.
Note that the vector $(1, -1, 1)$ is orthogonal to both of these vectors. Now $$ (1, 1, 1) = \frac{2}{3}(1, 1, 0) + \frac{2}{3}(0, 1, 1) + \frac{1}{3}(1, -1, 1). $$ Hence the orthogonal projection is $\frac{1}{3}(1, -1, 1)$ and so $d$ is the length of this vector. Then $d^2 = 1/3$ and $3d^2 = 1$.