Apples with apples, pears with pears
An expression with several terms has a name: a polynomial. 3x + 2 is a binomial, 2x² + 5x − 7 a trinomial. Nothing scary: just expressions made up of several terms.
Today’s question: how do you add two polynomials? For example, (3x + 2) + (5x + 4)?
Every fruit seller knows the answer. 3 apples and 2 pears plus 5 apples and 4 pears = 8 apples and 6 pears. Apples with apples, pears with pears. Never apples with pears.
In math, this is called combining like terms: 3x + 5x = 8x, because both terms have the same letter. But 3x + 4 can’t be combined: x and a number are different “fruit”.
The only tricky thing today is a minus in front of parentheses. It flips the signs of everything inside. Anyone who masters that has adding and subtracting polynomials in their pocket.
Philip and Tessa are working out the materials for two cabins from a building set. The first cabin: 4 long rods and 6 short ones. The second: 3 long and 8 short. Philip writes on paper: 4l + 6s and under it 3l + 8s. “Altogether?” Tessa adds by kind: “Long: 4 + 3 = 7. Short: 6 + 8 = 14. So 7l + 14s.” Philip tries to add 7l + 14s into “21ls”, and Tessa stops him: “A long rod plus a short rod isn’t some new rod. Different kinds don’t get added, they just get written side by side.”
Like terms = exactly the same letter part. 3x and 5x yes. 3x and 3x² no: x and x² are different kinds, like an apple and an apple tree.
How to add and subtract polynomials
Adding:
- Remove the parentheses. With a plus in front, nothing changes: (3x + 2) + (5x + 4) = 3x + 2 + 5x + 4.
- Find the like terms. It helps to underline them: x-terms with a straight line, numbers with a wavy line.
- Combine: 3x + 5x = 8x and 2 + 4 = 6. The answer: 8x + 6.
Subtracting: careful, a minus in front of parentheses:
(7x + 5) − (2x + 3): the minus flips the sign of every term in the parentheses. That gives 7x + 5 − 2x − 3. Combine: 5x + 2.
Why does it flip? Subtracting a package means subtracting everything in it. You subtract 2x, and you subtract the 3 too.
With powers: (2x² + 3x) + (x² − 5x) = 2x² + x² + 3x − 5x = 3x² − 2x. Terms with x² together, terms with x together. x² and x are never combined.
At the end, check the number of kinds: however many different letter parts there were at the start, that’s the most there can be at the end.
Example 1: (4a + 7) + (3a − 2)
A plus in front of the parentheses: the parentheses just disappear:
4a + 7 + 3a − 2.
I underline the kinds: the a-terms 4a and 3a, the numbers +7 and −2.
I combine: 4a + 3a = 7a and 7 − 2 = 5.
The answer: 7a + 5.
A check by substituting: for a = 1, the original gives (4 + 7) + (3 − 2) = 12 and the answer 7 + 5 = 12. It fits.
Example 2: (6x + 4) − (2x + 9)
A minus in front of the parentheses: I flip the signs of the whole second set of parentheses:
6x + 4 − 2x − 9.
I combine: 6x − 2x = 4x and 4 − 9 = −5.
The answer: 4x − 5.
The most common mistake would be 6x + 4 − 2x + 9: the minus is applied only to the first term, and the nine stays with a plus. That’s why: a minus in front of parentheses = flip everything inside.
Example 3: (3x² + 2x − 1) + (x² − 2x + 5)
Three kinds of terms: x², x and numbers.
I remove the parentheses: 3x² + 2x − 1 + x² − 2x + 5.
The x²-terms: 3x² + x² = 4x². The x-terms: 2x − 2x = 0. They cancel out completely and disappear. The numbers: −1 + 5 = 4.
The answer: 4x² + 4.
It’s normal for some kind to cancel out to zero. The zero isn’t written in the answer.
3x + 4 can’t be combined: it isn’t 7x or 7. Only terms with the same letter part can be combined. If you’re not sure, substitute x = 10: 3 · 10 + 4 = 34, but 7x would be 70 and 7 is 7. You see right away that the combining was wrong.
Practice: your turn to count 🎲
Now try it for real. You’ll see all the questions at once, like on paper. Start with ten. If it’s going well, add more.
Fill in the number for the question mark. Combine only like terms and watch the minus in front of a bracket.
On paper
Underline the kinds of terms. Your hand gets used to it, and then your eyes spot mistakes by themselves.
-
Combine: 5x + 3x, 9a − 4a, 2b + 7b − b. Write the in-between step with the kinds underlined too.
-
Work out (8x + 3) + (2x − 7), and do a check by substituting x = 1 into the problem and the answer.
-
Work out (5y + 6) − (3y − 4). Watch out for both signs after the minus.
-
Work out (2x² + x + 3) + (x² − x + 1), and write which kind of term canceled out.
Your turn 💪
- I only combine terms with the same letter part.
- A minus in front of parentheses flips the signs of all the terms inside.
- I can check the answer by substituting a number.
Done when: you’ve combined all four problems with in-between steps, done one check by substituting, and got a streak of five right in the practice.
What to take away from this lesson
- A polynomial is an expression with several terms: 2x² + 5x − 7.
- Only like terms can be combined: 3x + 5x = 8x, but 3x + 4 stays.
- x² and x are different kinds: they don’t combine.
- A minus in front of parentheses flips the sign of every term inside.
- A check by substituting catches a wrong combination in a few seconds.
© 2026 Ing. Martin Polak / AlgoRhino · Content usage terms