Firstly, we need to check whether the given vectors are linearly independent.
Let A be the matrix with the given vectors as columns. The RREF of A is I, which implies that the given vectors are linearly independent.
Now, we can use the Gram-Schmidt process. Let v1 = (2,1,2),v2 = (-1,0,2) and v3 = (-1,1,2). Also, let u1 = v1 = (2,1,2), u2 = v2-proju1(v2) = v2-[(v2.u1)/(u1.u1)]u1 = v2-[(-2+0+4)/(4+1+4)]u1 =(-1,0,2)-(2/9)(2,1,2)=(-13/9,-2/9,14/9), and u3=v3-proju1(v3)-proju2(v3)=v3–[(v3.u1)/(u1.u1)]u1-[(v3.u2)/(u2.u2)]u2=v3-[(-2+1+4)/(4+1+4)]u1-[(13/9-2/9+28/9)/(169/81+4/81+196/81)]u2 = (-1,1,2)- (1/3)(2,1,2)- (39/41)(-13/9,-2/9,14/9)= (-1,1,2)-(2/3,1/3,2/3)-(-169/123,-26/123, 182/123 )= (-36/123, 108/123,-18/123).
Thus, { u1, u2, u3} = {(2,1,2), (-13/9,-2/9,14/9), (-36/123, 108/123,-18/123) } is an orthogonal basis for the subspace spanned by (2,1,2) , (-1,0,2) , (-1,1,2).
Get Answers For Free
Most questions answered within 1 hours.