Vector Subtraction Notes
These Vector Subtraction Notes explain how to subtract one vector from another in three dimensions, with the working shown 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. Examples 3 and 4 give you two more problems of the same kind to try. Subtract each pair of components in the right order, then compare.
The worked examples below go through the same pattern from start to finish, so you can compare every step with your own working. Try each problem on paper first, then open the example and check your working one step at a time, so you can see exactly which step went wrong if your answer does not match. Use them 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
See Example 3 Hide Example 3
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 2,\; 5,\; 1 \right\rangle\) from \(\vec{A} = \left\langle 7,\; 3,\; -2 \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 7 - 2,\; 3 - 5,\; -2 - 1 \right\rangle\).
Step 4
Step 4 - Work out each component.
In this problem: Subtracting the matching components gives \(7 - 2 = 5\), \(3 - 5 = -2\) and \(-2 - 1 = -3\).
Final Answer
See Example 4 Hide Example 4
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 3,\; -2,\; 2 \right\rangle\) from \(\vec{A} = \left\langle -1,\; 4,\; 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 -1 - 3,\; 4 - \left(-2\right),\; 6 - 2 \right\rangle\).
Step 4
Step 4 - Work out each component.
In this problem: Subtracting the matching components gives \(-1 - 3 = -4\), \(4 - \left(-2\right) = 6\) and \(6 - 2 = 4\).
Final Answer
Calculator and Practice Mode
Want to check your own working? The Vector Subtraction Calculator solves any problem you type in and shows every step, so you can compare it line by line with your answer and find exactly where a mistake crept in. 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.