Combining Like Terms Calculator
This Combining Like Terms Calculator shortens an algebraic expression by joining the terms that share the same variable part, and shows the working at every step. Terms are like terms only when their variable parts match exactly, so the first job is sorting them into groups. The coefficients inside each group are then added or subtracted, while the variable part is left alone. Following the same pattern every time is what makes simplifying easy to picture, check, and repeat on your own with any expression.
Step-by-step method
- Set up the problem.
- Group the like terms. Like terms have the same variable part with the same powers, so they are written next to each other, each keeping the sign in front of it.
- Combine the like terms by adding or subtracting their coefficients, keeping the variable part unchanged.
- Write the combined terms together with any unchanged terms to give the simplified expression.
Useful Tips to Remember
Like terms have exactly the same variables raised to exactly the same powers, so \(3x^2\) and \(5x^2\) are like terms but \(3x^2\) and \(5x\) are not. Only the coefficients are added or subtracted, and the variable part stays the same. Each term keeps the sign in front of it, so moving terms around must keep their plus or minus with them. A term with no number in front has a coefficient of 1.
Required knowledge
- No prerequisite knowledge is needed.
Where Is Combining Like Terms Used?
Combining like terms tidies an expression by adding together the terms that have the same variable part, so \(3x + 5x\) becomes \(8x\). It is the first thing done when simplifying almost any algebraic expression, and it appears inside solving equations, expanding brackets and working with formulas. Outside the classroom, the same idea is used whenever similar items are grouped and counted together, such as adding up the costs of the same type on an invoice or totalling the same ingredient across several recipes.
- Simplifying expressions before solving an equation
- Totalling costs of the same kind on a bill, like all the delivery charges
- Writing a perimeter such as \(x + x + y + y\) as \(2x + 2y\)
- Combining an ingredient that appears in several parts of a recipe
- Tidying formulas in spreadsheets and computer programs
Combining Like Terms Practice Problems
Example 1 combines the terms in \(3x + 2x - 5 + 7\), and Example 2 groups the \(x^2\) terms, \(x\) terms and constants in \(4x^2 + 3x - x^2 + 5 - 2x\). Try collecting the like terms yourself before opening each example. For two more free worked examples, check out the Combining Like Terms 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.
- Group the like terms. Like terms have the same variable part with the same powers, so they are written next to each other, each keeping the sign in front of it.
- Combine the like terms by adding or subtracting their coefficients, keeping the variable part unchanged.
- Write the combined terms together with any unchanged terms to give the simplified expression.
Step 1
Step 1 - Set up the problem.
In this problem: The expression is \(3x + 2x - 5 + 7\).
Step 2
Step 2 - Group the like terms. Like terms have the same variable part with the same powers, so they are written next to each other, each keeping the sign in front of it.
In this problem: \(3x\) and \(2x\) are \(x\)-terms and \(-5\) and \(7\) are constants, and each set is already side by side, so brackets only mark the groups, giving \((3x + 2x) + (-5 + 7)\).
Step 3
Step 3 - Combine the like terms by adding or subtracting their coefficients, keeping the variable part unchanged.
In this problem: There are \(2\) groups of like terms to combine: the \(x\)-terms and the constants.
Step 3a
Step 3a - Combine the \(x\)-terms.
In this problem: The coefficients of the \(x\)-terms are \(3\) and \(2\), and \(3 + 2 = 5\), so \(3x + 2x = 5x\).
Step 3b
Step 3b - Combine the constants.
In this problem: The constants are \(-5\) and \(7\), and \(-5 + 7 = 2\).
Step 4
Step 4 - Write the combined terms together with any unchanged terms to give the simplified expression.
In this problem: Putting each result back in place gives \(5x + 2\).
Final Answer
See Example 2 Hide Example 2
Problem
Approach
Step-by-step method
- Set up the problem.
- Group the like terms. Like terms have the same variable part with the same powers, so they are written next to each other, each keeping the sign in front of it.
- Combine the like terms by adding or subtracting their coefficients, keeping the variable part unchanged.
- Write the combined terms together with any unchanged terms to give the simplified expression.
Step 1
Step 1 - Set up the problem.
In this problem: The expression is \(4x^{2} + 3x - x^{2} + 5 - 2x\).
Step 2
Step 2 - Group the like terms. Like terms have the same variable part with the same powers, so they are written next to each other, each keeping the sign in front of it.
In this problem: \(4x^{2}\) and \(-x^{2}\) are \(x^{2}\)-terms and \(3x\) and \(-2x\) are \(x\)-terms, so each set is written together, giving \((4x^{2} - x^{2}) + (3x - 2x) + 5\).
Step 3
Step 3 - Combine the like terms by adding or subtracting their coefficients, keeping the variable part unchanged.
In this problem: There are \(2\) groups of like terms to combine: the \(x^{2}\)-terms and the \(x\)-terms.
Step 3a
Step 3a - Combine the \(x^{2}\)-terms.
In this problem: The coefficients of the \(x^{2}\)-terms are \(4\) and \(-1\), and \(4 - 1 = 3\), so \(4x^{2} - x^{2} = 3x^{2}\).
Step 3b
Step 3b - Combine the \(x\)-terms.
In this problem: The coefficients of the \(x\)-terms are \(3\) and \(-2\), and \(3 - 2 = 1\), so \(3x - 2x = x\).
Step 4
Step 4 - Write the combined terms together with any unchanged terms to give the simplified expression.
In this problem: Putting each result back in place, with \(5\) unchanged, gives \(3x^{2} + x + 5\).
Final Answer
Notes and Practice Mode
Want to understand the method more deeply? The Combining Like Terms 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, Combining Like Terms 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 is available on the Plus and Pro plans.
Login and upgrade to Plus to unlock the full step solution.
Example Problems
Click one to load it into the box and solve it.