Question

Question image

Orthogonal Vectors in R³: Basis and Linear Combination

Original question: imagine the values are vectors Given the set of vectors { [2, -1, 2], [1, -2, -2], [-2, -2, 1] } in R³, 1. Show that the vectors form an orthogonal set. 2. Without doing any further computation, explain why the vectors form a basis of R³. 3. Write the vector [3, 4, 5] as a linear combination of the given vectors, without using an RREF computation.

Expert Verified Solution

thumb_up100%(1 rated)

Answer

The set of vectors is orthogonal because the dot product of every distinct pair equals zero. Since the set consists of three non-zero orthogonal vectors in R3\mathbb{R}^3, they are linearly independent and thus form an orthogonal basis, allowing y=[3,4,5]T\mathbf{y} = [3, 4, 5]^T to be decomposed using orthogonal projections.

Explanation

  1. Verify orthogonality using the dot product Let u1=[212]\mathbf{u_1} = \begin{bmatrix} 2 \\ -1 \\ 2 \end{bmatrix}, u2=[122]\mathbf{u_2} = \begin{bmatrix} 1 \\ -2 \\ -2 \end{bmatrix}, and u3=[221]\mathbf{u_3} = \begin{bmatrix} -2 \\ -2 \\ 1 \end{bmatrix}. We compute the dot product for each pair: u1u2=(2)(1)+(1)(2)+(2)(2)=2+24=0\mathbf{u_1} \cdot \mathbf{u_2} = (2)(1) + (-1)(-2) + (2)(-2) = 2 + 2 - 4 = 0 This confirms that the first and second vectors are perpendicular. u1u3=(2)(2)+(1)(2)+(2)(1)=4+2+2=0\mathbf{u_1} \cdot \mathbf{u_3} = (2)(-2) + (-1)(-2) + (2)(1) = -4 + 2 + 2 = 0 The first and third vectors are also perpendicular. u2u3=(1)(2)+(2)(2)+(2)(1)=2+42=0\mathbf{u_2} \cdot \mathbf{u_3} = (1)(-2) + (-2)(-2) + (-2)(1) = -2 + 4 - 2 = 0 The second and third vectors are perpendicular, completing the proof of an orthogonal set.

  2. Establish the basis property By theorem, any orthogonal set of non-zero vectors is linearly independent. Since we have a set of 3 linearly independent vectors in a 3-dimensional space (R3\mathbb{R}^3), the Basis Theorem implies they must span R3\mathbb{R}^3 and thus form a basis.

  3. Compute coefficients using orthogonal projection To express y=[345]\mathbf{y} = \begin{bmatrix} 3 \\ 4 \\ 5 \end{bmatrix} as c1u1+c2u2+c3u3c_1\mathbf{u_1} + c_2\mathbf{u_2} + c_3\mathbf{u_3}, we use the formula ci=yuiuiuic_i = \frac{\mathbf{y} \cdot \mathbf{u_i}}{\mathbf{u_i} \cdot \mathbf{u_i}}:

    For c1c_1: yu1=(3)(2)+(4)(1)+(5)(2)=64+10=12\mathbf{y} \cdot \mathbf{u_1} = (3)(2) + (4)(-1) + (5)(2) = 6 - 4 + 10 = 12 The dot product of the target vector and the first basis vector. u1u1=22+(1)2+22=4+1+4=9\mathbf{u_1} \cdot \mathbf{u_1} = 2^2 + (-1)^2 + 2^2 = 4 + 1 + 4 = 9 The squared magnitude of the first basis vector. c1=129=43c_1 = \frac{12}{9} = \frac{4}{3} The scalar weight for the first vector in the linear combination.

    For c2c_2: yu2=(3)(1)+(4)(2)+(5)(2)=3810=15\mathbf{y} \cdot \mathbf{u_2} = (3)(1) + (4)(-2) + (5)(-2) = 3 - 8 - 10 = -15 The dot product of the target vector and the second basis vector. u2u2=12+(2)2+(2)2=1+4+4=9\mathbf{u_2} \cdot \mathbf{u_2} = 1^2 + (-2)^2 + (-2)^2 = 1 + 4 + 4 = 9 The squared magnitude of the second basis vector. c2=159=53c_2 = \frac{-15}{9} = -\frac{5}{3} The scalar weight for the second vector in the linear combination.

    For c3c_3: yu3=(3)(2)+(4)(2)+(5)(1)=68+5=9\mathbf{y} \cdot \mathbf{u_3} = (3)(-2) + (4)(-2) + (5)(1) = -6 - 8 + 5 = -9 The dot product of the target vector and the third basis vector. u3u3=(2)2+(2)2+12=4+4+1=9\mathbf{u_3} \cdot \mathbf{u_3} = (-2)^2 + (-2)^2 + 1^2 = 4 + 4 + 1 = 9 The squared magnitude of the third basis vector. c3=99=1c_3 = \frac{-9}{9} = -1 The scalar weight for the third vector in the linear combination.

Final Answer

The vector written as a linear combination is: [345]=43[212]53[122]1[221]\boxed{\begin{bmatrix} 3 \\ 4 \\ 5 \end{bmatrix} = \frac{4}{3}\begin{bmatrix} 2 \\ -1 \\ 2 \end{bmatrix} - \frac{5}{3}\begin{bmatrix} 1 \\ -2 \\ -2 \end{bmatrix} - 1\begin{bmatrix} -2 \\ -2 \\ 1 \end{bmatrix}}

Common Mistakes

  • Normalization Confusion: Students often forget to divide by uiui\mathbf{u_i} \cdot \mathbf{u_i} (the squared norm) and only calculate yui\mathbf{y} \cdot \mathbf{u_i}. This only works if the basis is orthonormal.
  • Basis Theorem Oversight: Failing to mention that the vectors are non-zero; the internal dot products being zero implies independence only if no vector in the set is the zero vector.

Related Topics: Gram-Schmidt Process, Orthonormal Bases, Fourier Coefficients in Linear Algebra.

FAQ

How do you prove vectors are orthogonal?

Compute the dot product of each pair; if all are zero, they form an orthogonal set.

Why do these three vectors form a basis for R³?

Non-zero orthogonal vectors are linearly independent, and three such in 3D space span R³.

How to find coefficients for linear combination with orthogonal basis?

Use ci = (y · ui) / (ui · ui), the projection formula without normalization.

chat