Vector Subtraction Calculator
This Vector Subtraction Calculator subtracts one vector from another in three dimensions, and shows the working line by line. Subtraction works component by component, because each axis is independent of the others. The result is the vector that points from the tip of the second to the tip of the first, which is why it measures the gap between them. Following the same pattern every time keeps the order of subtraction from being reversed.
Enter the components of \(\vec{A}\) and \(\vec{B}\).
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute the components into the formula.
- Work out each component.
Formula: Vector Subtraction Formula
This formula subtracts one vector from another. Take each component of B away from the matching component of A.
Useful Tips to Remember
Order matters, because \(\vec{A} - \vec{B}\) points the opposite way to \(\vec{B} - \vec{A}\). Subtracting a negative component means adding, so \(3 - (-2) = 5\). The difference points from the tip of B to the tip of A. Subtracting one point from another is exactly how a direction vector between two points is found.
Required knowledge
- How to subtract numbers, including negatives, covered in the Subtraction of Small Numbers Calculator.
- How to subtract fractions, covered in the Subtraction of Fractions Calculator.
- How vectors are added, covered in the Vector Addition Calculator.
Where Is Vector Subtraction Used?
Vector subtraction finds the change or the gap between two vectors, which is why it is the starting point for distances, directions and lines in space. Subtracting two positions gives the displacement from one to the other, and subtracting two velocities gives the change in velocity used for acceleration. Games subtract positions to aim a character at a target, and computer vision subtracts feature vectors to measure how different two images are.
- Finding the displacement between two positions
- Working out the change in velocity for acceleration
- Aiming a character or camera at a target
- Building direction vectors for lines and planes
- Measuring differences between feature vectors
Vector Subtraction Practice Problems
Example 1 works out \(\langle 4, 5, 6 \rangle - \langle 1, 2, 3 \rangle\), and Example 2 subtracts two vectors with fraction components. Subtract each pair of components in the right order, then compare. For two more free worked examples, check out the Vector Subtraction Notes.
The worked examples below go through the same pattern from start to finish, so you can compare every step with your own working. For more practice, the notes page goes further with extra worked examples and fuller explanations of the ideas behind each step. Use them together to check your answers and to understand why each step works.
See Example 1 Hide Example 1
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute the components into the formula.
- Work out each component.
Formula
Formula: Vector Subtraction Formula
This formula subtracts one vector from another. Take each component of B away from the matching component of A.
Step 1
Step 1 - Set up the problem.
In this problem: We are subtracting \(\vec{B} = \left\langle 1,\; 2,\; 3 \right\rangle\) from \(\vec{A} = \left\langle 4,\; 5,\; 6 \right\rangle\).
Step 2
Step 2 - Write the formula.
In this problem: Vectors are subtracted component by component: each component of B is taken away from the matching component of A.
Step 3
Step 3 - Substitute the components into the formula.
In this problem: Replacing each component in \(\vec{A} - \vec{B} = \left\langle a_{1} - b_{1},\; a_{2} - b_{2},\; a_{3} - b_{3} \right\rangle\) gives \(\vec{A} - \vec{B} = \left\langle 4 - 1,\; 5 - 2,\; 6 - 3 \right\rangle\).
Step 4
Step 4 - Work out each component.
In this problem: Subtracting the matching components gives \(4 - 1 = 3\), \(5 - 2 = 3\) and \(6 - 3 = 3\).
Final Answer
See Example 2 Hide Example 2
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute the components into the formula.
- Work out each component.
Formula
Formula: Vector Subtraction Formula
This formula subtracts one vector from another. Take each component of B away from the matching component of A.
Step 1
Step 1 - Set up the problem.
In this problem: We are subtracting \(\vec{B} = \left\langle \frac{1}{2},\; 0,\; 0 \right\rangle\) from \(\vec{A} = \left\langle \frac{5}{2},\; 0,\; 0 \right\rangle\).
Step 2
Step 2 - Write the formula.
In this problem: Vectors are subtracted component by component: each component of B is taken away from the matching component of A.
Step 3
Step 3 - Substitute the components into the formula.
In this problem: Replacing each component in \(\vec{A} - \vec{B} = \left\langle a_{1} - b_{1},\; a_{2} - b_{2},\; a_{3} - b_{3} \right\rangle\) gives \(\vec{A} - \vec{B} = \left\langle \frac{5}{2} - \frac{1}{2},\; 0 - 0,\; 0 - 0 \right\rangle\).
Step 4
Step 4 - Work out each component.
In this problem: Subtracting the matching components gives \(\frac{5}{2} - \frac{1}{2} = 2\), \(0 - 0 = 0\) and \(0 - 0 = 0\).
Final Answer
Notes and Practice Mode
Want to understand the method more deeply? The Vector Subtraction Notes go through the same pattern with extra worked examples and fuller explanations of the ideas behind each step, so you can see why every step works and not just what to do. When you are ready to test yourself, Vector Subtraction Practice gives you a new problem at Easy, Medium or Hard level, checks your answer and shows the full working whenever you get one wrong. Practice Mode for this calculator is available on the Pro plan.
Login and upgrade to Pro to unlock the full step solution.
Example Problems
Click one to load it into the box and solve it.