How do you compute the orthogonal projection of onto the line spanned by ?
Conditions
Reasoning, step by step
- Compute the dot product .
- Compute the dot product .
- Calculate the scalar coefficient .
- Multiply the vector by the scalar coefficient: .
- Conclude that the projection is .
Example
The script states: 'With and , the coefficient is . Thus the projected vector is (8,4), which lies in the span of u.'
Common misconceptions
- Calculating the dot product incorrectly.
- Forgetting to multiply the scalar coefficient by the vector .
- Assuming the projection is the scalar coefficient itself rather than a vector.
Watch the explanation
Connected concepts
Explore next
Related questions
First, find the residual by subtracting the projection from , resulting in . Then, compute the dot product of the projection and the residual .
Conditions: ; Projection is ; Residual is
The residual vector is defined as minus its projection onto the line spanned by . By the geometric definition of orthogonal projection, the difference between a vector and its projection onto a subspace is orthogonal to that subspace.
Conditions: is a nonzero vector.; The projection is orthogonal.
The orthogonal projection of onto the line spanned by a nonzero vector is given by the formula . This formula scales the vector by the ratio of the dot product of and to the dot product of with itself.
Conditions: The vector must be nonzero.; The projection is onto the line spanned by .
Calculate the projection of onto a line spanned by . Calculate the residual .
Conditions: is a nonzero vector defining the line.; is the vector to be decomposed.
Answers are generated from source material and independently checked. Consult the original video or creator if something is unclear.