Projection of A onto B Notes
This Projection of A onto B Calculator finds the shadow one vector casts along another, and shows the working line by line. The dot product measures how much of the first vector lies along the second, and dividing by the second vector's squared length rescales that into a multiple of it. What is left points along the second vector only. Following the same pattern every time keeps the two vectors from being swapped.
Step-by-step method
- Set up the problem.
- Compute the dot product A · B.
- Compute |B|².
- Use proj_B(A) = ((A · B) / |B|²) B and simplify.
See Example 1 Hide Example 1
Problem
Approach
Step-by-step method
- Set up the problem.
- Compute the dot product A · B.
- Compute |B|².
- Use proj_B(A) = ((A · B) / |B|²) B and simplify.
Step 1
Step 1 - Set up the problem.
In this problem: The components are \(\vec{A} = \left\langle 1,\; 2,\; 3 \right\rangle\) and \(\vec{B} = \left\langle 4,\; 5,\; 6 \right\rangle\).
Step 2
Step 2 - Compute the dot product A · B.
In this problem: The dot product is \(32\).
Step 3
Step 3 - Compute |B|².
In this problem: The squared magnitude of B is \(77\).
Step 4
Step 4 - Use proj_B(A) = ((A · B) / |B|²) B and simplify.
In this problem: Scale \(\vec{B}\) by \(\frac{32}{77}\).
Final Answer
See Example 2 Hide Example 2
Problem
Approach
Step-by-step method
- Set up the problem.
- Compute the dot product A · B.
- Compute |B|².
- Use proj_B(A) = ((A · B) / |B|²) B and simplify.
Step 1
Step 1 - Set up the problem.
In this problem: The components are \(\vec{A} = \left\langle 2,\; 0,\; 0 \right\rangle\) and \(\vec{B} = \left\langle 1,\; 1,\; 0 \right\rangle\).
Step 2
Step 2 - Compute the dot product A · B.
In this problem: The dot product is \(2\).
Step 3
Step 3 - Compute |B|².
In this problem: The squared magnitude of B is \(2\).
Step 4
Step 4 - Use proj_B(A) = ((A · B) / |B|²) B and simplify.
In this problem: Scale \(\vec{B}\) by \(1\).
Final Answer
See Example 3 Hide Example 3
Problem
Approach
Step-by-step method
- Set up the problem.
- Compute the dot product A · B.
- Compute |B|².
- Use proj_B(A) = ((A · B) / |B|²) B and simplify.
Step 1
Step 1 - Set up the problem.
In this problem: The components are \(\vec{A} = \left\langle 3,\; 4,\; 0 \right\rangle\) and \(\vec{B} = \left\langle 1,\; 0,\; 0 \right\rangle\).
Step 2
Step 2 - Compute the dot product A · B.
In this problem: The dot product is \(3\).
Step 3
Step 3 - Compute |B|².
In this problem: The squared magnitude of B is \(1\).
Step 4
Step 4 - Use proj_B(A) = ((A · B) / |B|²) B and simplify.
In this problem: Scale \(\vec{B}\) by \(3\).
Final Answer
See Example 4 Hide Example 4
Problem
Approach
Step-by-step method
- Set up the problem.
- Compute the dot product A · B.
- Compute |B|².
- Use proj_B(A) = ((A · B) / |B|²) B and simplify.
Step 1
Step 1 - Set up the problem.
In this problem: The components are \(\vec{A} = \left\langle 2,\; -1,\; 3 \right\rangle\) and \(\vec{B} = \left\langle 1,\; 2,\; 2 \right\rangle\).
Step 2
Step 2 - Compute the dot product A · B.
In this problem: The dot product is \(6\).
Step 3
Step 3 - Compute |B|².
In this problem: The squared magnitude of B is \(9\).
Step 4
Step 4 - Use proj_B(A) = ((A · B) / |B|²) B and simplify.
In this problem: Scale \(\vec{B}\) by \(\frac{2}{3}\).
Final Answer