Gram-Schmidt orthonormalization: finding q_2 with conflicting norm

1 reply · 3K views · last reply
YoshiMoshi
Messages
233
Reaction score
10

Homework Statement



So I think I found an error in the solution were it attempts to find q_2^

I'm asked find the orthornomal basis for the column space of matrix A.

Typed problem 6: given matrix A in R^(3x3) with rows [2 4 2], [-1 0 -4], [2 2 -1], and vector b = [4 -3 1]^T; part a asks for an orthonormal basis for the column space of A.


Homework Equations

The Attempt at a Solution


[/B]
My question is in what it puts for q_2^

Handwritten Gram-Schmidt worked solution: vectors a1, a2, a3 given, then A1 = a1, normalized q1 = (1/3)(2, -1, 2), then A2 = a2 minus projection, simplifying to (2/3)(2, 2, -1), and normalized q2 = (1/3)(2, 2, -1).

A_2 = [4/3 4/3 -2/3]^T
||A_2|| = sqrt((4/3)^2 + (4/3)^2 + (-2/3)^2) = 2

but in the answer key since
q_2 = A_2/||A_2|| it's implying that ||A_2|| = 3 but I calculate 2. Am I doing something wrong?

Thanks for your help.
 
Last edited: