We can use the Gram-Schmidt process for this. Let u1 = (1,0,-1) and u2 = (0,1,-1).
Now, we find v1 and v2 such that they are orthogonal to each other and span the same subspace as u1 and u2.
v1 = u1 = (1,0,-1)
v2 = u2 - proj_{v1}(u2) = (0,1,-1) -
Show more…