What is the formula for the orthogonal projection of a vector y onto a line spanned by a nonzero vector v?
Conditions
- The vector must be nonzero.
- The projection is onto the line spanned by .
Reasoning, step by step
- Identify the vector to be projected.
- Identify the nonzero vector that spans the target line.
- Compute the dot product .
- Compute the dot product .
- Divide the result of step 3 by the result of step 4 to get the scalar coefficient.
- Multiply the vector by this scalar coefficient to obtain the projection vector.
Example
The script states: 'For the line spanned by a nonzero v, the projection of y is [()/()]v.'
Common misconceptions
- Using in the numerator instead of the denominator.
- Forgetting to multiply the scalar coefficient by the vector at the end.
- Assuming the formula works if is the zero vector (division by zero).
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.
First, calculate the dot products and . The scalar coefficient is .
Conditions: ;
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.