Like Terms and the Standard Form
A polynomial in \(x\) is a sum of terms, and each term is a coefficient multiplied by a power of \(x\). Before two polynomials can be added, subtracted or multiplied, we need to know which of their terms can be joined together. Only like terms can be joined.
Like terms are terms that have the same variable raised to the same power. Their coefficients may be different. For example, \(3x^2\) and \(-7x^2\) are like terms, but \(3x^2\) and \(3x^3\) are unlike terms.
It also helps to write every polynomial in standard form, with its terms in descending order of power. When a power is missing, we can show it with a zero coefficient. This does not change the polynomial, because a term with coefficient 0 is worth nothing. It simply lines the terms up so that like terms sit under one another.
Take \(p(x) = 4x^3 - 3x^2 - 7x\) and \(q(x) = 2x^2 - 5x + 7\). The first has no constant term and the second has no \(x^3\) term. Written with the same degree, they become:
\[ p(x) = 4x^3 - 3x^2 - 7x + 0 \]
\[ q(x) = 0x^3 + 2x^2 - 5x + 7 \]
Unlike terms cannot be combined. \(3x^2 + 2x\) stays as it is. It is never \(5x^2\) and never \(5x^3\).
Adding Polynomials
Addition of polynomials: two polynomials are added by adding the coefficients of their like terms. The power of each term does not change.
Worked example. Using \(p(x) = 4x^3 - 3x^2 - 7x\) and \(q(x) = 2x^2 - 5x + 7\), find \(p(x) + q(x)\). First we use the zero coefficients so that nothing is missed.
Step 1: Writing both polynomials in standard form of the same degree and placing a plus sign between them:
\[ \begin{aligned} p(x) + q(x) = {} & (4x^3 - 3x^2 - 7x + 0) \\ & + (0x^3 + 2x^2 - 5x + 7) \end{aligned} \]
Step 2: Collecting the coefficients of each power of \(x\) inside brackets:
\[ \begin{aligned} = {} & (4 + 0)x^3 + (-3 + 2)x^2 \\ & + (-7 - 5)x + (0 + 7) \end{aligned} \]
Step 3: Working out each bracket, since \(-3 + 2 = -1\) and \(-7 - 5 = -12\):
\[ p(x) + q(x) = 4x^3 - x^2 - 12x + 7 \]
The zero terms are a helper, not a rule. Once you are confident, you can add directly by picking out the like terms. The \(x^3\) term of \(p(x)\) has no partner, so it comes down as \(4x^3\), and the constant 7 of \(q(x)\) comes down as 7.
The same sum done without the zero terms:
\[ \begin{aligned} p(x) + q(x) &= (4x^3 - 3x^2 - 7x) + (2x^2 - 5x + 7) \\ &= 4x^3 + (-3 + 2)x^2 + (-7 - 5)x + 7 \\ &= 4x^3 - x^2 - 12x + 7 \end{aligned} \]
Subtracting Polynomials
Subtracting a polynomial is the same as adding its negative. The negative of a polynomial is found by changing the sign of every one of its terms. So \(-(2x^2 - 5x + 7)\) is \(-2x^2 + 5x - 7\). After that, the work is just addition.
Subtraction of polynomials: to find \(p(x) - q(x)\), change the sign of every term of \(q(x)\) and then add the coefficients of like terms. In short, we subtract the coefficients of like terms.
Worked example. With the same \(p(x)\) and \(q(x)\), find \(p(x) - q(x)\).
Step 1: Writing the difference with both polynomials in brackets:
\[ \begin{aligned} p(x) - q(x) = {} & (4x^3 - 3x^2 - 7x + 0) \\ & - (0x^3 + 2x^2 - 5x + 7) \end{aligned} \]
Step 2: Changing the sign of every term in the second bracket, so the subtraction becomes an addition:
\[ \begin{aligned} = {} & (4x^3 - 3x^2 - 7x + 0) \\ & + (0x^3 - 2x^2 + 5x - 7) \end{aligned} \]
Step 3: Collecting the coefficients of like terms:
\[ \begin{aligned} = {} & (4 - 0)x^3 + (-3 - 2)x^2 \\ & + (-7 + 5)x + (0 - 7) \end{aligned} \]
Step 4: Simplifying each bracket:
\[ p(x) - q(x) = 4x^3 - 5x^2 - 2x - 7 \]
Without the zero terms, the working is shorter but follows the same idea:
\[ \begin{aligned} p(x) - q(x) &= (4x^3 - 3x^2 - 7x) - (2x^2 - 5x + 7) \\ &= (4x^3 - 3x^2 - 7x) + (-2x^2 + 5x - 7) \\ &= 4x^3 + (-3 - 2)x^2 + (-7 + 5)x - 7 \\ &= 4x^3 - 5x^2 - 2x - 7 \end{aligned} \]
The minus sign in front of a bracket changes EVERY term inside it, including the last one. Changing only the first term, and writing \(-2x^2 - 5x + 7\), is the most common error in subtraction.
Multiplying Polynomials
Multiplication of polynomials: two polynomials are multiplied by multiplying each term of the multiplicand by each term of the multiplier, and then adding the like terms of the result. The multiplicand is the polynomial being multiplied; the multiplier is the polynomial it is multiplied by.
Two facts make this work. The first is the distributive law, which lets us multiply a whole bracket by one term at a time. The second is the law of indices for multiplying powers of the same base, where the powers are added:
\[ x^m \times x^n = x^{m+n} \]
So \(2x \times x^2 = 2x^3\) and \(x^2 \times x^2 = x^4\). Coefficients are multiplied as ordinary numbers, and the signs follow the usual rules: a negative times a negative gives a positive.
Worked example. If \(f(x) = x^2 + 2x - 1\) and \(g(x) = x^2 - x + 5\), find \(f(x) \times g(x)\).
Step 1: Writing the product of the two polynomials:
\[ f(x) \times g(x) = (x^2 + 2x - 1)(x^2 - x + 5) \]
Step 2: Multiplying the whole multiplier by each term of the multiplicand in turn, using the distributive law:
\[ \begin{aligned} = {} & x^2(x^2 - x + 5) + 2x(x^2 - x + 5) \\ & - 1(x^2 - x + 5) \end{aligned} \]
Step 3: Opening each bracket. Each bracket gives three terms, so nine terms appear:
\[ \begin{aligned} = {} & x^4 - x^3 + 5x^2 + 2x^3 - 2x^2 \\ & + 10x - x^2 + x - 5 \end{aligned} \]
Step 4: Adding the like terms. For \(x^3\): \(-1 + 2 = 1\). For \(x^2\): \(5 - 2 - 1 = 2\). For \(x\): \(10 + 1 = 11\). So:
\[ f(x) \times g(x) = x^4 + x^3 + 2x^2 + 11x - 5 \]
A grid is a good way to check that no product has been missed. The terms of the multiplicand go down the side, the terms of the multiplier go across the top, and each cell holds one product. Like terms fall on the same slanting line of the grid.
| \(\times\) | \(x^2\) | \(-x\) | \(+5\) |
| \(x^2\) | \(x^4\) | \(-x^3\) | \(5x^2\) |
| \(2x\) | \(2x^3\) | \(-2x^2\) | \(10x\) |
| \(-1\) | \(-x^2\) | \(x\) | \(-5\) |
The degree of a product is the sum of the degrees of the two polynomials. Here both have degree 2, so the product has degree 4. If your answer has a different highest power, a product has gone wrong.
Combining Operations
Many questions ask for more than one operation at once. The usual order of operations applies: multiplication is done before addition or subtraction. So in \(f(x) \times g(x) + h(x)\) we find the product first and then add \(h(x)\).
Worked example 1. If \(f(x) = 2x - 1\), \(g(x) = 2x + 1\) and \(h(x) = 5x^2 + 6x + 2\), find \(f(x) \times g(x) + h(x)\).
Step 1: Multiplying \(g(x)\) by each term of \(f(x)\):
\[ \begin{aligned} f(x) \times g(x) &= (2x - 1)(2x + 1) \\ &= 2x(2x + 1) - 1(2x + 1) \end{aligned} \]
Step 2: Opening the brackets and cancelling \(2x - 2x = 0\):
\[ \begin{aligned} &= 4x^2 + 2x - 2x - 1 \\ &= 4x^2 - 1 \end{aligned} \]
Step 3: Adding \(h(x)\) to the product by collecting like terms:
\[ \begin{aligned} f(x) \times g(x) + h(x) &= (4x^2 - 1) + (5x^2 + 6x + 2) \\ &= (4 + 5)x^2 + 6x + (-1 + 2) \\ &= 9x^2 + 6x + 1 \end{aligned} \]
Worked example 2. If \(f(x) = 5x + 1\), \(g(x) = 25x^2 - 5x + 1\) and \(h(x) = 128x^3 - 4x^2 + 6x + 9\), find \(h(x) - f(x) \times g(x)\).
Step 1: Finding the product first, multiplying \(g(x)\) by \(5x\) and then by 1:
\[ \begin{aligned} f(x) \times g(x) &= 5x(25x^2 - 5x + 1) \\ & \quad + 1(25x^2 - 5x + 1) \end{aligned} \]
Step 2: Opening the brackets. The \(x^2\) terms and the \(x\) terms cancel in pairs:
\[ \begin{aligned} &= 125x^3 - 25x^2 + 5x + 25x^2 - 5x + 1 \\ &= 125x^3 + 1 \end{aligned} \]
Step 3: Subtracting the product from \(h(x)\), changing the sign of each term of the product:
\[ \begin{aligned} h(x) - f(x) \times g(x) &= (128x^3 - 4x^2 + 6x + 9) - (125x^3 + 1) \\ &= (128x^3 - 4x^2 + 6x + 9) + (-125x^3 - 1) \end{aligned} \]
Step 4: Collecting like terms:
\[ \begin{aligned} &= (128 - 125)x^3 - 4x^2 + 6x + (9 - 1) \\ &= 3x^3 - 4x^2 + 6x + 8 \end{aligned} \]
Properties of the Operations
Polynomials obey the same laws that ordinary numbers obey. You can check each law by working out both sides with real polynomials and seeing that the answers match.
Commutative law: the order does not matter for addition or multiplication. \(f(x) + g(x) = g(x) + f(x)\) and \(f(x) \times g(x) = g(x) \times f(x)\).
Associative law: the grouping does not matter for addition or multiplication. \([f(x) + g(x)] + h(x) = f(x) + [g(x) + h(x)]\), and the same holds with \(\times\) in place of \(+\).
Distributive law: multiplication spreads over addition and subtraction. \(p(x)[q(x) + r(x)] = p(x)q(x) + p(x)r(x)\) and \(p(x)[q(x) - r(x)] = p(x)q(x) - p(x)r(x)\).
For example, let \(f(x) = x + 1\) and \(g(x) = x - 2\). Then \(f(x) \times g(x) = x^2 - 2x + x - 2 = x^2 - x - 2\). Working the other way, \(g(x) \times f(x) = x^2 + x - 2x - 2 = x^2 - x - 2\). The two answers are equal, which shows the commutative law for this pair.
Subtraction is not commutative. With the same pair, \(f(x) - g(x) = 3\) but \(g(x) - f(x) = -3\). Always subtract in the order the question gives.
Finding the Missing Polynomial
Some questions ask what must be added to, or subtracted from, one polynomial to turn it into another. Think of numbers first. To turn 3 into 10 we add \(10 - 3 = 7\). To turn 10 into 3 we subtract \(10 - 3 = 7\). Polynomials behave the same way.
- What must be added to A to make B? The answer is B minus A.
- What must be subtracted from A to make B? The answer is A minus B.
Worked example. What must be added to \(2x^2 - 3x + 4\) to make \(5x^2 + x - 1\)?
Step 1: Subtracting the starting polynomial from the target, and changing the signs of the one being subtracted:
\[ \begin{aligned} & (5x^2 + x - 1) - (2x^2 - 3x + 4) \\ = {} & (5x^2 + x - 1) + (-2x^2 + 3x - 4) \end{aligned} \]
Step 2: Collecting like terms:
\[ = 3x^2 + 4x - 5 \]
Check: \((2x^2 - 3x + 4) + (3x^2 + 4x - 5) = 5x^2 + x - 1\), which is the target.
Worked example. What must be subtracted from \(4x^3 + x - 2\) to make \(x^3 - 2x^2 + 5\)?
Step 1: Subtracting the target from the starting polynomial:
\[ \begin{aligned} & (4x^3 + x - 2) - (x^3 - 2x^2 + 5) \\ = {} & (4x^3 + x - 2) + (-x^3 + 2x^2 - 5) \end{aligned} \]
Step 2: Collecting like terms in descending order:
\[ = 3x^3 + 2x^2 + x - 7 \]
The Three Operations at a Glance
| Operation | What you do | What happens to the powers |
| Addition | Add the coefficients of like terms | Powers stay the same |
| Subtraction | Change every sign of the second polynomial, then add | Powers stay the same |
| Multiplication | Multiply each term of one by each term of the other, then add like terms | Powers of \(x\) are added |
The full lesson is waiting for you
The notes are free to read in full. A free account opens the rest of the practice, and tracks your progress and confidence score for every subject. Presentations and videos need approval from Learn Yeti.