Projection of A onto B Calculator
This Projection of A onto B Calculator helps you find the vector projection of one 3D vector onto another. First find the dot product of A and B, then divide by the magnitude squared of B to get the scalar factor. Multiply vector B by that factor to get the final projection vector. It is a simple way to check answers, understand the method clearly, and practise vector operations step by step.
Step-by-step method
- Identify the vector components.
- Compute the dot product A · B.
- Compute |B|².
- Use proj_B(A) = ((A · B) / |B|²) B and simplify.
Formula:
| A·B |
| |B|2 |
| A·B |
| |B|2 |
Example 1: (1,2,3),(4,5,6)
Step 1 - Identify the components.
In this problem: From the given vectors A = (1, 2, 3) and B = (4, 5, 6), the components are:
Step 2a - Write the dot product formula.
In this problem: Use A · B = a₁b₁ + a₂b₂ + a₃b₃.
Step 2b - Substitute values.
In this problem: Replace aᵢ and bᵢ with your values.
Step 2c - Multiply and add.
In this problem: Compute the dot product.
Step 3a - Write the |B|² formula.
In this problem: Use |B|² = b₁² + b₂² + b₃².
Step 3b - Substitute values.
In this problem: Replace bᵢ with your values.
Step 3c - Simplify |B|².
In this problem: Compute the squares and add.
Step 4a - Write the scalar factor formula.
In this problem: Use k = (A · B) / |B|².
| A·B |
| |B|2 |
Step 4b - Substitute values.
In this problem: Substitute A · B and |B|².
| 32 |
| 77 |
Step 5a - Write the projection formula.
In this problem: Use proj_B(A) = kB.
| A·B |
| |B|2 |
Step 5b - Substitute k and B.
In this problem: Substitute the scalar k and the vector B.
| 32 |
| 77 |
Step 5c - Multiply to get the projection.
In this problem: Multiply k into each component of B.
| 128 | , | 160 | , | 192 |
| 77 | 77 | 77 |
Final answer: proj_B(A) = (128/77, 160/77, 192/77)
Example 2: (1/2,0,0),(2,0,0)
Step 1 - Identify the components.
In this problem: From the given vectors A = (1/2, 0, 0) and B = (2, 0, 0), the components are:
| 1 |
| 2 |
Step 2a - Write the dot product formula.
In this problem: Use A · B = a₁b₁ + a₂b₂ + a₃b₃.
Step 2b - Substitute values.
In this problem: Replace aᵢ and bᵢ with your values.
| 1 |
| 2 |
Step 2c - Multiply and add.
In this problem: Compute the dot product.
Step 3a - Write the |B|² formula.
In this problem: Use |B|² = b₁² + b₂² + b₃².
Step 3b - Substitute values.
In this problem: Replace bᵢ with your values.
Step 3c - Simplify |B|².
In this problem: Compute the squares and add.
Step 4a - Write the scalar factor formula.
In this problem: Use k = (A · B) / |B|².
| A·B |
| |B|2 |
Step 4b - Substitute values.
In this problem: Substitute A · B and |B|².
| 1 |
| 4 |
Step 5a - Write the projection formula.
In this problem: Use proj_B(A) = kB.
| A·B |
| |B|2 |
Step 5b - Substitute k and B.
In this problem: Substitute the scalar k and the vector B.
| 1 |
| 4 |
Step 5c - Multiply to get the projection.
In this problem: Multiply k into each component of B.
| 1 |
| 2 |
Final answer: proj_B(A) = (1/2, 0, 0)
Sign up or login to get the full step solution for free!