Skip to content
← All questions

How do you verify that the residual vector is orthogonal to the projected vector in the example y=(7,6)y=(7,6) and u=(2,1)u=(2,1)?

First, find the residual by subtracting the projection (8,4)(8,4) from y=(7,6)y=(7,6), resulting in (−1,2)(-1,2). Then, compute the dot product of the projection (8,4)(8,4) and the residual (−1,2)(-1,2). The result is −8+8=0-8 + 8 = 0, confirming orthogonality.

Conditions

  • y=(7,6)y = (7,6)
  • Projection is (8,4)(8,4)
  • Residual is (−1,2)(-1,2)

Reasoning, step by step

  1. Calculate the residual: y−projection=(7,6)−(8,4)=(−1,2)y - \text{projection} = (7,6) - (8,4) = (-1,2).
  2. Identify the projected vector: (8,4)(8,4).
  3. Compute the dot product: (8,4)⋅(−1,2)=(8)(−1)+(4)(2)(8,4) \cdot (-1,2) = (8)(-1) + (4)(2).
  4. Simplify the expression: −8+8=0-8 + 8 = 0.
  5. Conclude that since the dot product is zero, the vectors are orthogonal.

Example

The script states: 'The residual is (−1,2), and (8,4)·(−1,2)=−8+8=08+8=0.'

Common misconceptions

  • Subtracting the projection from the residual instead of y from the projection.
  • Calculating the cross product instead of the dot product.
  • Assuming orthogonality without verifying the dot product is zero.

Watch the explanation

Connected concepts

Explore next

Related questions

Understand why

↗
Meet the concept

↗

Answers are generated from source material and independently checked. Consult the original video or creator if something is unclear.