Homework Statement
In R4, let U = span((1, 1, 0, 0), (1, 1, 1, 2)). Find u in U such that ||u - (1, 2, 3, 4)|| is as small as possible.
Homework Equations
The Attempt at a Solution
I came up with a vector u = (-.5, -.5, 0, 0) + (2, 2, 2, 4) = (1.5, 1.5, 2, 4). Then u - (1, 2, 3, 4) = (0.5...