Algebra and functions · Year 1

Polynomials and the factor theorem

A polynomial is an expression such as x3 −4x2 +x +6. This page shows you how to expand products of brackets and how to divide a polynomial by a bracket. It then shows the factor theorem, a quick test for whether a bracket is a factor. You use the test to factorise cubics and to solve cubic equations. You also work backwards, from the roots to the polynomial.

Where you will use this: in Graphs of polynomials, to sketch a cubic from its roots. Also in Differentiation, to find where a cubic has its turning points. It comes back in Algebraic fractions, for splitting a fraction into partial fractions. It helps whenever a cubic equation appears and you need its solutions.

This page builds on Quadratics. You need to expand and factorise a quadratic, and to solve one. The warm-up shows you where to look if you have forgotten any of it.

Warm-up: what do you remember?

Quick warm-up. No marks. A wrong answer shows where to look.

Skip to the lesson

Expand and simplify (x+3)(x−5). Type it like x^2+4x+4.

  1. Multiply every term in the first bracket by every term in the second.
  2. (x+3)(x−5) =x2 −5x +3x −15. Now collect the x terms.
  • You added −5x and 3x as +2x. They give −2x.
  • You multiplied the first terms and the last terms only. Multiply every term by every term, so there is an x term as well.

(x+3)(x−5) =x2 −5x +3x −15, which is x2−2x−15.

Solve x2−x−6=0. Type your answers like 1 or 5.

  1. Find two numbers that multiply to −6 and add to −1.
  2. The numbers are −3 and 2, so the brackets are (x−3)(x+2).
  3. Set each bracket equal to 0.
  • You took the signs from the numbers in the brackets. x−3=0 gives x=3.
  • Those are the numbers that multiply to the last term. Factorise, then set each bracket equal to 0.

(x−3)(x+2) =0, so x=3 or x=−2.

Work out 2x3−x+4 when x=−2. Type only the number.

  1. Put −2 in brackets in place of x each time.
  2. (−2)3=−8, so 2x3=−16. Then −x=−(−2).
  • You wrote (−2)3 as +8. An odd power of a negative number is negative: (−2)3=−8.
  • You took −x as −2. When x=−2, −x=+2.

2(−2)3 −(−2) +4 =−16+2+4 =−10.

Quick recap of earlier topics (skip it if you are confident)

Factorise x2+7x+12. Type it like (x+1)(x+2).

  1. Find two numbers that multiply to 12 and add to 7.
  2. The numbers are 3 and 4.
  • Those brackets give x2−7x+12. The middle term is +7x, so both numbers are positive.
  • Those multiply to 12 but add to 8. You need two numbers that add to 7.

3×4=12 and 3+4=7, so x2+7x+12 =(x+3)(x+4).

Simplify x2×x3. Type it like x^4.

  1. The laws of indices say what happens to the powers when you multiply.
  2. x2=x×x and x3=x×x×x. Count the x factors.
  • You multiplied the powers. When you multiply, add the powers: 2+3=5.

x2×x3 =x2+3 =x5.

Expand and simplify 3(x−4) +2x(x+1). Type it like x^2+4x+4.

  1. Expand each bracket on its own: 3(x−4) and 2x(x+1).
  2. Then collect the terms with the same power of x.
  • You multiplied only the first term of (x−4) by 3. Multiply both: 3×(−4)=−12.

3(x−4) =3x−12 and 2x(x+1) =2x2+2x. Together they make 2x2+5x−12.

1. Polynomials and expanding

A polynomial is a sum of terms. Each term is a number times a power of x, and each power is a whole number: 0, 1, 2, 3 and so on. So 3x4 −2x2 +x −7 is a polynomial. 1x+x is not, because 1x is x−1, which is not a whole-number power.

The number in front of a power of x is its coefficient. In 5x3−x2+4, the coefficient of x3 is 5 and the coefficient of x2 is −1. The coefficient of x is 0, because there is no x term. The number on its own, 4, is the constant term.

The degree of a polynomial is its highest power of x. So 5x3−x2+4 has degree 3. A polynomial of degree 3 is a cubic. A polynomial of degree 4 is a quartic. A quadratic has degree 2.

We often name a polynomial f(x). Then f(2) means the value of the polynomial when x=2. For f(x)=x3−4x, f(2)=8−8=0.

Key idea: to expand brackets, multiply every term in one bracket by every term in the other. Then collect the terms with the same power of x. When you multiply three brackets, multiply two of them first. Then multiply the result by the third.

Worked example: three brackets

Expand and simplify (x+2) (x−3) (x+1).

  1. Multiply the first two brackets: (x+2)(x−3) =x2 −3x +2x −6 =x2−x−6.
  2. Multiply the result by (x+1). Take x first: x(x2−x−6) =x3−x2−6x.
  3. Now take 1: 1×(x2−x−6) =x2−x−6.
  4. Add the two lines: x3 −x2 −6x +x2 −x −6.
  5. The x2 terms cancel, and −6x−x=−7x. So the answer is x3−7x−6.

The answer has no x2 term. Its coefficient is 0. The degree is 3: three brackets, each with an x, give x3.

Worked example: a bracket times a quadratic

Expand and simplify (2x−1) (x2+3x−4).

  1. Take 2x first: 2x(x2+3x−4) =2x3 +6x2 −8x.
  2. Take −1 next: −1×(x2+3x−4) =−x2−3x+4.
  3. Add: 2x3 +6x2 −8x −x2 −3x +4.
  4. Collect like terms: 6x2−x2 =5x2 and −8x−3x=−11x.

The answer is 2x3 +5x2 −11x +4. The degree is 1 + 2 = 3, the sum of the degrees of the two factors.

To add or subtract polynomials, collect the terms with the same power of x. When you subtract a bracket, change the sign of every term inside it.

Worked example: subtracting polynomials

Simplify (3x3−x+2) −(x3−2x2+x−5).

  1. Change every sign in the second bracket: 3x3 −x +2 −x3 +2x2 −x +5.
  2. Collect the x3 terms: 3x3−x3 =2x3. The x2 term is +2x2.
  3. Collect the x terms: −x−x=−2x. Collect the numbers: 2+5=7.

The answer is 2x3 +2x2 −2x +7.

Now you finish it

Expand and simplify (x+1) (x2−x+2).

  1. Take x first: x3−x2+2x. Take 1 next: x2−x+2.
  2. The x2 terms add to ___.
  3. The x terms are 2x−x. They add to ___x.
  4. The number term is ___.
Check my answer

(x+1) (x2−x+2) =x3+x+2. Check with x=1: the brackets give 2×2=4, and 1+1+2=4.

Check your knowledge: polynomials and expanding

State the degree of the polynomial 4x5−x2+7. Type only the number.

  1. The degree is the highest power of x.
  2. Look at the powers of x in each term.
  • That is the coefficient of x5. The degree is the power, not the coefficient.
  • That is the constant term. The degree is the highest power of x.

The powers of x are 5 and 2, and the constant has power 0. The highest is 5, so the degree is 5.

Which of these is a polynomial?

  • three x cubed, minus x, plus 5
  • x squared, plus 4 over x
  • the square root of x, plus 1
  1. Write each term as a number times a power of x.
  2. A polynomial has only whole-number powers: 0, 1, 2 and so on.

3x3−x+5 has the powers 3, 1 and 0. 4x=4x−1 and x =x12 have powers that are not whole numbers of 0 or more.

Expand and simplify (x+4) (x−1) (x+2). Type it like x^3+2x^2-x+5.

  1. Multiply the first two brackets: (x+4)(x−1) =x2+3x−4.
  2. Multiply the result by (x+2). Take x first, then 2.
  3. Collect like terms.
  • The number term is −4×2=−8. A negative number times a positive number is negative.
  • You multiplied by the x in (x+2) only. Multiply by 2 as well.

(x2+3x−4) (x+2) =x3 +3x2 −4x +2x2 +6x −8, which is x3 +5x2 +2x −8.

Expand (x−1)3. Find the coefficient of x2. Type only the number.

  1. (x−1)3 =(x−1) (x−1) (x−1). Start with (x−1)(x−1) =x2−2x+1.
  2. Multiply x2−2x+1 by (x−1). Find the two lines that give x2.
  • The signs alternate. (x−1)3 =x3 −3x2 +3x −1, so the coefficient of x2 is −3.
  • That is the constant term. The coefficient of x2 is −3.

(x2−2x+1) (x−1) =x3 −x2 −2x2 +2x +x −1, which is x3 −3x2 +3x −1. The coefficient of x2 is −3.

Simplify (4x3+x2−5) −(x3−2x2+3x). Type it like x^3+2x^2-x+5.

  1. Change the sign of every term in the second bracket.
  2. You get 4x3 +x2 −5 −x3 +2x2 −3x. Collect like terms.
  • You did not change the sign of −2x2. Subtracting −2x2 adds 2x2, so x2+2x2 =3x2.
  • You did not change the sign of 3x. Subtracting 3x gives −3x.

4x3−x3 =3x3, x2+2x2 =3x2, and the x term is −3x. The number is −5. The answer is 3x3 +3x2 −3x −5.

Expand and simplify (3x−2) (x2+x−1). Type it like x^3+2x^2-x+5.

  1. Take 3x first: 3x(x2+x−1).
  2. Take −2 next: −2(x2+x−1). Be careful with the signs.
  • You wrote −2×x2 as +2x2. It is −2x2, and 3x2−2x2 =x2.

3x(x2+x−1) =3x3 +3x2 −3x. −2(x2+x−1) =−2x2−2x+2. Together they make 3x3 +x2 −5x +2.

2. Dividing by (x ± p)

You can divide one number by another and get a quotient and a remainder. 17=5×3+2 has quotient 3 and remainder 2. You can do the same with polynomials. This is polynomial division.

When you divide a polynomial f(x) by a bracket such as (x−2), you get a quotient q(x) and a remainder r. They fit together like this.

f(x)=(x−2)×q(x)+r

The remainder r is a number, because it has a lower degree than the bracket. The quotient has degree one less than f(x). When the remainder is 0, the division is exact, and the bracket is a factor of f(x).

There are two methods. Both work for brackets such as (x−2) and (x+2).

Method 1: compare coefficients

Write the quotient with letters for its unknown coefficients. Expand the product. Then match the coefficient of each power of x.

Worked example: compare coefficients

Divide x3 +2x2 −5x −6 by (x−2). You are told the division is exact.

  1. The quotient has degree 2. Write x3 +2x2 −5x −6 =(x−2) (x2+ax+b).
  2. Expand the right side: x3 +ax2 +bx −2x2 −2ax −2b. Collect: x3 +(a−2)x2 +(b−2a)x −2b.
  3. Match x2: a−2=2, so a=4.
  4. Match x: b−2a=−5, so b−8=−5 and b=3.
  5. Check the number term: −2b=−6. This agrees with the left side.

The quotient is x2+4x+3. The check on the number term works because the remainder is 0.

Method 2: long division

Long division works like long division of numbers. At each step, divide the highest power left by x. Write the result in the quotient. Multiply it by the whole bracket. Subtract. Then repeat with what is left.

Key idea: in long division, each step has three moves. Divide the highest power left by x. Multiply the answer by the whole bracket. Subtract the product, changing every sign. Stop when what is left has a lower degree than the bracket. That is the remainder.

Worked example: long division

Divide x3 −6x2 +11x −6 by (x−1).

  1. Divide x3 by x. This gives x2. Multiply: x2(x−1) =x3−x2. Subtract: −6x2−(−x2) =−5x2. What is left is −5x2+11x−6.
  2. Divide −5x2 by x. This gives −5x. Multiply: −5x(x−1) =−5x2+5x. Subtract: 11x−5x=6x. What is left is 6x−6.
  3. Divide 6x by x. This gives 6. Multiply: 6(x−1) =6x−6. Subtract: 0.

The quotient is x2−5x+6 and the remainder is 0. Check: (x−1) (x2−5x+6) =x3 −6x2 +11x −6.

A polynomial can be missing a power. Then write the missing term with the coefficient 0, so that every power is in its place.

Worked example: a missing power, and dividing by (x + p)

Divide x3−7x−6 by (x+2).

  1. There is no x2 term. Write x3 +0x2 −7x −6.
  2. Divide x3 by x. This gives x2. Multiply: x2(x+2) =x3+2x2. Subtract: 0x2−2x2 =−2x2. What is left is −2x2−7x−6.
  3. Divide −2x2 by x. This gives −2x. Multiply: −2x(x+2) =−2x2−4x. Subtract: −7x−(−4x) =−3x. What is left is −3x−6.
  4. Divide −3x by x. This gives −3. Multiply: −3(x+2) =−3x−6. Subtract: 0.

The quotient is x2−2x−3 and the remainder is 0.

Often the remainder is not 0. Then the bracket is not a factor.

Worked example: a remainder

Divide x3 +x2 −4x +5 by (x−1).

  1. Divide x3 by x. This gives x2. Multiply: x3−x2. Subtract: x2−(−x2) =2x2. What is left is 2x2−4x+5.
  2. Divide 2x2 by x. This gives 2x. Multiply: 2x2−2x. Subtract: −4x−(−2x) =−2x. What is left is −2x+5.
  3. Divide −2x by x. This gives −2. Multiply: −2x+2. Subtract: 5−2=3.

The quotient is x2+2x−2 and the remainder is 3. So x3 +x2 −4x +5 =(x−1) (x2+2x−2) +3. The remainder is not 0, so (x−1) is not a factor.

Now you finish it

Divide x3 +4x2 +x −6 by (x+2). The division is exact.

  1. Write x3 +4x2 +x −6 =(x+2) (x2+ax+b). Expanding gives x3 +(a+2)x2 +(b+2a)x +2b.
  2. Match x2: a+2=4, so a=___.
  3. Match x: b+2a=1, so b=___.
  4. Check the number term: 2b=___. It agrees with the −6 on the left.
Check my answer

The quotient is x2+2x−3. Check: (x+2) (x2+2x−3) =x3 +2x2 −3x +2x2 +4x −6 =x3 +4x2 +x −6.

Check your knowledge: dividing by (x ± p)

Divide x3 +3x2 −4x −12 by (x−2). The division is exact. Type the quotient like x^2+3x+1.

  1. Write x3 +3x2 −4x −12 =(x−2) (x2+ax+b).
  2. Expanding gives x3 +(a−2)x2 +(b−2a)x −2b.
  3. Match x2 to find a. Then match x to find b.
  • You solved a−2=3 as a=1. Add 2 to both sides: a=5.
  • Check the number term. −2b=−12 gives b=6, not −6.

a−2=3 gives a=5. b−2a=−4 gives b=6. Check: −2b=−12. The quotient is x2+5x+6.

Divide x3 −x2 −10x −8 by (x+2). Type the quotient like x^2+3x+1.

  1. Divide x3 by x to get the first term of the quotient.
  2. Multiply it by (x+2) and subtract. Repeat.
  • After the first multiplication you subtract x3+2x2. So −x2−2x2 =−3x2, not +x2. Subtract every term.

x2(x+2) =x3+2x2. Subtract: −3x2−10x−8 is left. −3x(x+2) =−3x2−6x. Subtract: −4x−8. −4(x+2) =−4x−8. The remainder is 0, and the quotient is x2−3x−4.

Divide 2x3 +3x2 −11x −6 by (x−2). The division is exact. Type the quotient like x^2+3x+1.

  1. The quotient starts with 2x2, because 2x3 divided by x is 2x2.
  2. Write (x−2) (2x2+ax+b) =2x3 +(a−4)x2 +(b−2a)x −2b.
  3. Match the coefficients of x2 and x.
  • The first term is 2x2. Divide the 2x3 by x, and keep the 2.
  • You solved a−4=3 as a=−1. Add 4 to both sides: a=7.

a−4=3 gives a=7. b−14=−11 gives b=3. Check: −2b=−6. The quotient is 2x2+7x+3.

Divide x3 +2x2 −3x +4 by (x−1). Find the remainder. Type only the number.

  1. Divide x3 by x to get x2. Multiply by (x−1) and subtract.
  2. You get 3x2−3x+4. Continue with 3x.
  3. The remainder is what is left when the degree is lower than the bracket.
  • The remainder is not 0. After the last subtraction, the number 4 is left.
  • That is a coefficient from the polynomial. The remainder is what is left after the last subtraction.

x2(x−1) =x3−x2, so 3x2−3x+4 is left. 3x(x−1) =3x2−3x, so 4 is left. The quotient is x2+3x and the remainder is 4.

You divide x3−7x−6 by (x+2). What do you write for the x2 term before you start?

  • 0x squared, so the columns line up
  • nothing, because there is no x squared term
  • 1x squared
  1. Every power from the highest down to the constant needs a place.
  2. What is the coefficient of x2 in x3−7x−6?

The coefficient of x2 is 0, so write x3 +0x2 −7x −6. Then each step subtracts terms with the same power.

Divide x3 +6x2 +5x −12 by (x+3). The division is exact. Type the quotient like x^2+3x+1.

  1. Write (x+3) (x2+ax+b) =x3 +(a+3)x2 +(b+3a)x +3b.
  2. Match x2: a+3=6.
  3. Match x to find b. Check with the number term.
  • You solved a+3=6 as a=9. Subtract 3 from both sides: a=3.

a=3. b+9=5 gives b=−4. Check: 3b=−12. The quotient is x2+3x−4.

3. The factor theorem

Section 2 gave this fact. When you divide f(x) by (x−p), then f(x) =(x−p)q(x) +r. Put x=p in both sides. The bracket (x−p) becomes 0, so the product disappears. That leaves f(p)=r.

So the remainder is f(p). The bracket is a factor exactly when the remainder is 0. This is the factor theorem.

Key idea: the bracket (x−p) is a factor of f(x) exactly when f(p)=0. To test a bracket, find the value of x that makes it zero. Put that value into f(x). If you get 0, the bracket is a factor. If you get anything else, it is not.

Take care with the sign. For (x−2), the value that makes the bracket zero is x=2. For (x+3), it is x=−3. This value is also a root of the equation f(x)=0.

Worked example: testing brackets

The polynomial is f(x) =x3 +2x2 −5x −6. Test the brackets (x−2), (x+1) and (x−1).

  1. For (x−2), use x=2: f(2) =8+8−10−6 =0. So (x−2) is a factor.
  2. For (x+1), use x=−1: f(−1) =−1+2+5−6 =0. So (x+1) is a factor.
  3. For (x−1), use x=1: f(1) =1+2−5−6 =−8. This is not 0, so (x−1) is not a factor.

The value −8 is the remainder when you divide by (x−1). Also f(−3) =−27 +18 +15 −6 =0, so (x+3) is a third factor.

The graph of y = x cubed + 2x squared - 5x - 6 crosses the x-axis at -3, -1 and 2A cubic curve that rises from the lower left, crosses the x-axis at the marked point (-3, 0), reaches a high point, falls through (-1, 0) and (0, -6), reaches a low point below the axis, then rises through (2, 0) and keeps rising. The three x-intercepts are the roots, and each root gives a factor.xyy = x3​ + 2x2​ − 5x − 6not to scale(−3, 0)(−1, 0)(2, 0)(0, −6)
Look at the three marked points on the x-axis. They are (−3,0), (−1,0) and (2,0). At each one f(x)=0. So x=−3, x=−1 and x=2 are roots, and (x+3), (x+1) and (x−2) are factors.

A bracket such as (2x−1) works in the same way. The value that makes it zero is x=12.

Worked example: a bracket with a number in front of x

Show that (2x−1) is a factor of h(x) =2x3 +3x2 −8x +3.

  1. The bracket is zero when 2x−1=0. So x=12.
  2. Work out h(12) =2×18 +3×14 −8×12 +3.
  3. This is 14 +34 −4 +3 =1−4+3 =0.

h(12)=0, so (2x−1) is a factor. Notice that h(1) =2+3−8+3 =0 as well. So (x−1) is also a factor.

Extra: the remainder theorem

[Extra] AQA does not name this idea. You never need it to answer a factor-theorem question. The factor theorem is the special case where the remainder is 0.

The remainder theorem says that the remainder on dividing f(x) by (x−p) is f(p). You get it by substitution, with no division.

Worked example: a remainder without dividing

Find the remainder when f(x) =x3 +x2 −4x +5 is divided by (x+2).

  1. The bracket is zero when x=−2.
  2. f(−2) =−8+4+8+5 =9.

The remainder is 9. Section 2 divided this same polynomial by (x−1) and found remainder 3. Check with the theorem: f(1) =1+1−4+5 =3.

Now you finish it

Is (x+2) a factor of x3 −2x2 −5x +6?

  1. The bracket is zero when x=−2.
  2. f(−2) =(−2)3 −2(−2)2 −5(−2) +6. The four pieces are −8, ___, ___ and 6.
  3. The total is ___.
Check my answer

f(−2) =−8 −8 +10 +6 =0. The result is 0, so (x+2) is a factor.

Check your knowledge: the factor theorem

You want to test whether (x+4) is a factor of a polynomial. Which value of x do you put into the polynomial? Type only the number.

  1. Find the value of x that makes (x+4) equal to 0.
  2. Solve x+4=0.
  • That is the number in the bracket. The bracket (x+4) is zero when x=−4.

x+4=0 gives x=−4. You work out f(−4). If it is 0, then (x+4) is a factor.

Which of these is a factor of x3 −4x2 +x +6?

  • x minus 1
  • x plus 1
  • x plus 2
  1. For each bracket, find the value of x that makes it zero.
  2. Put that value into the polynomial. A factor gives 0.

For (x+1), use x=−1: −1−4−1+6 =0. So (x+1) is a factor. f(1)=4 and f(−2)=−20, so the other two are not.

For f(x) =x3 −6x2 +11x −6, you find that f(1)=0. What does this tell you?

  • The bracket (x minus 1) is a factor
  • The bracket (x plus 1) is a factor
  • The remainder on dividing by (x minus 1) is 1
  1. The factor theorem links f(p)=0 to the bracket (x−p).
  2. Here p=1.

f(1) =1−6+11−6 =0. So (x−1) is a factor, and the remainder on dividing by (x−1) is 0.

The polynomial is f(x) =2x3 −x2 −7x −3. Work out f(−12). Type only the number.

  1. (−12)3=−18 and (−12)2=14.
  2. So f(−12) =−14 −14 +72 −3.
  • That is the constant term, which is f(0). Put x=−12 into every term.
  • You took −7x as −72. When x=−12, −7x=+72.

The terms are 2×(−18) =−14, then −14, then −7×(−12) =72, then −3. They add to −14 −14 +72 −3 =0. So (2x+1) is a factor.

Find the whole numbers p from −3 to 3 for which (x−p) is a factor of x3 −2x2 −5x +6. Type your answers like 1 or 5.

  1. Work out f(p) for each whole number from −3 to 3.
  2. A factor gives f(p)=0.
  3. Try f(1), f(−2) and f(3) first.
  • You gave the number in each bracket, not p. The factor (x+2) is (x−(−2)), so p is −2.
  • That is one value. Check the others as well: there are three.

f(1) =1−2−5+6 =0. f(−2) =−8 −8 +10 +6 =0. f(3) =27 −18 −15 +6 =0. The other values give f(−3)=−24, f(−1)=8, f(0)=6 and f(2)=−4. So p is −2, 1 or 3.

[Extra] Find the remainder when x3 +3x2 −2x +5 is divided by (x−2). Type only the number.

  1. The bracket (x−2) is zero when x=2.
  2. The remainder is f(2).
  • You used x=−2. The bracket (x−2) is zero when x=2.

f(2) =8+12−4+5 =21. The remainder is 21.

[Extra] Find the remainder when 2x3−x+7 is divided by (x+1). Type only the number.

  1. The bracket (x+1) is zero when x=−1.
  2. Work out f(−1) =2(−1)3 −(−1) +7.
  • You used x=1. The bracket (x+1) is zero when x=−1, and f(1)=8.
  • You took −x as −1. When x=−1, −x=+1.

f(−1) =−2+1+7 =6. The remainder is 6.

4. Factorising and solving cubics

The factor theorem finds one factor of a cubic. Division then reduces the cubic to a quadratic. You already know how to factorise a quadratic. So the two ideas together factorise the whole cubic.

To find the first root, try the values of x that divide the constant term. For a constant term of −6, try 1, −1, 2, −2, 3, −3, 6 and −6. When the coefficient of x3 is 1, a whole-number root is always one of these. The reason is in Why it works.

Key idea: to factorise a cubic f(x), follow these steps. First, try x = 1, −1, 2, −2 and so on, using factors of the constant term, until f(x)=0. Second, write down the factor (x−p). Third, divide f(x) by (x−p) to get a quadratic. Fourth, factorise the quadratic. Last, write all three factors together.

Worked example: the first try works

Factorise x3 −7x2 +14x −8 completely. Then solve x3 −7x2 +14x −8 =0.

  1. The constant term is −8. Try x=1: f(1) =1−7+14−8 =0. So (x−1) is a factor.
  2. Divide by (x−1). Write (x−1) (x2+ax+b) =x3 +(a−1)x2 +(b−a)x −b.
  3. Match x2: a−1=−7, so a=−6. Match x: b−a=14, so b=8. Check: −b=−8.
  4. Factorise the quadratic: x2−6x+8 =(x−2)(x−4).

So x3 −7x2 +14x −8 =(x−1) (x−2) (x−4). The equation is solved when a factor is 0. So x=1, x=2 or x=4.

Worked example: more tries needed

Solve x3 −x2 −14x +24 =0.

  1. The constant term is 24. Try x=1: f(1) =1 −1 −14 +24 =10. Not 0.
  2. Try x=−1: f(−1) =−1 −1 +14 +24 =36. Not 0.
  3. Try x=2: f(2) =8 −4 −28 +24 =0. So (x−2) is a factor.
  4. Divide by (x−2). Write (x−2) (x2+ax+b) =x3 +(a−2)x2 +(b−2a)x −2b. Match: a−2=−1, so a=1. b−2=−14, so b=−12. Check: −2b=24.
  5. Factorise: x2+x−12 =(x−3)(x+4).

So (x−2) (x−3) (x+4) =0. The solutions are x=2, x=3 and x=−4.

A factor can appear twice. This is a repeated root. The graph touches the x-axis there and does not cross it.

Worked example: a repeated root

Solve x3−3x+2=0.

  1. There is no x2 term, so its coefficient is 0. Try x=1: f(1) =1−3+2 =0. So (x−1) is a factor.
  2. Divide by (x−1). Write (x−1) (x2+ax+b) =x3 +(a−1)x2 +(b−a)x −b. Match: a−1=0, so a=1. b−1=−3, so b=−2. Check: −b=2.
  3. Factorise: x2+x−2 =(x−1)(x+2).

So x3−3x+2 =(x−1)2(x+2). The solutions are x=1 and x=−2. The root x=1 is repeated, so the graph touches the x-axis there.

The graph of y = x cubed - 3x + 2 crosses the x-axis at -2 and touches it at 1A cubic curve. It crosses the x-axis at the marked point (-2, 0), rises to a high point, falls to a low point that rests exactly on the x-axis at the marked point (1, 0), then rises again. The curve touches the axis at 1 without crossing it. It meets the y-axis at (0, 2).xyy = x3​ − 3x + 2not to scale(−2, 0)(1, 0)(0, 2)
Look at the two marked points on the x-axis. The curve crosses the axis at (−2,0). At (1,0) it touches the axis and turns back. That is the repeated root.

Not every cubic has three real roots. After you divide, the quadratic may have a negative discriminant. Then it gives no more real solutions.

Worked example: only one real solution

Solve x3 −2x2 −2x −3 =0.

  1. The constant term is −3. Try x=3: f(3) =27 −18 −6 −3 =0. So (x−3) is a factor.
  2. Divide by (x−3). Write (x−3) (x2+ax+b) =x3 +(a−3)x2 +(b−3a)x −3b. Match: a−3=−2, so a=1. b−3=−2, so b=1. Check: −3b=−3.
  3. The quadratic is x2+x+1. Its discriminant is 12−4×1×1 =−3. This is negative.

The quadratic has no real roots. So x=3 is the only real solution.

The coefficient of x3 may be larger than 1. Then a root can be a fraction. The possible roots are the factors of the constant term divided by the factors of the coefficient of x3.

Worked example: the coefficient of x cubed is 2

Factorise 2x3 +3x2 −8x +3 completely.

  1. Try x=1: f(1) =2+3−8+3 =0. So (x−1) is a factor.
  2. Divide by (x−1). Write (x−1) (2x2+ax+b) =2x3 +(a−2)x2 +(b−a)x −b. Match: a−2=3, so a=5. b−5=−8, so b=−3. Check: −b=3.
  3. Factorise the quadratic: 2x2+5x−3 =(2x−1) (x+3).

So 2x3 +3x2 −8x +3 =(x−1) (2x−1) (x+3). The roots are x=1, x=12 and x=−3.

The same method works for a quartic, a polynomial of degree 4. Use the factor theorem twice. The first factor leaves a cubic. The second factor leaves a quadratic.

Worked example: a quartic

Solve x4 +x3 −7x2 −x +6 =0.

  1. Try x=1: f(1) =1 +1 −7 −1 +6 =0. So (x−1) is a factor.
  2. Divide by (x−1). Write (x−1) (x3+ax2+bx+c) =x4 +(a−1)x3 +(b−a)x2 +(c−b)x −c. Match: a−1=1, so a=2. b−2=−7, so b=−5. c+5=−1, so c=−6. Check: −c=6.
  3. The cubic is x3 +2x2 −5x −6. Try x=2: 8+8−10−6 =0. So (x−2) is a factor of the cubic.
  4. Dividing the cubic by (x−2) gives x2+4x+3 =(x+1)(x+3), as in Section 2.

So x4 +x3 −7x2 −x +6 =(x−1) (x−2) (x+1) (x+3). The solutions are x=1, x=2, x=−1 and x=−3.

Now you finish it

Solve x3 −6x2 +11x −6 =0.

  1. Try x=1: f(1) =1−6+11−6 =___. So (x−1) is a factor.
  2. Write (x−1) (x2+ax+b) =x3 +(a−1)x2 +(b−a)x −b. Match x2: a−1=−6, so a=___.
  3. The quadratic is x2−5x+6 =(x−2)(x−3). So the three solutions are 1, 2 and ___.
Check my answer

x3 −6x2 +11x −6 =(x−1) (x−2) (x−3). The solutions are x=1, x=2 and x=3.

Check your knowledge: factorising and solving cubics

Factorise x3 +2x2 −x −2 completely. Type it like (x-1)(x+2)(x+3).

  1. The constant term is −2. Try x=1, −1, 2 and −2.
  2. Divide by the factor you find, then factorise the quadratic that is left.
  • Check the signs. f(−2)=0, so the factor is (x+2), not (x−2).

f(1) =1+2−1−2 =0, so (x−1) is a factor. Dividing gives x2+3x+2 =(x+1)(x+2). So x3 +2x2 −x −2 =(x−1) (x+1) (x+2).

Solve x3 +x2 −14x −24 =0. Type your answers like 1 or 5.

  1. The constant term is −24. Try −2, −3 and 4 among the factors of 24.
  2. Find one factor. Divide to get a quadratic.
  • You took the signs from the brackets. (x+2)=0 gives x=−2.

f(4) =64 +16 −56 −24 =0, so (x−4) is a factor. Dividing gives x2+5x+6 =(x+2)(x+3). The solutions are 4, −2 and −3.

Factorise x3−7x+6 completely. Type it like (x-1)(x+2)(x+3).

  1. There is no x2 term. Its coefficient is 0.
  2. Try x=1. Then divide by the factor and factorise the quadratic.
  • Those brackets give roots −1, −2 and 3. Test f(1) =1−7+6 =0: 1 is a root, so (x−1) is a factor.

f(1) =1−7+6 =0. Dividing by (x−1) gives x2+x−6 =(x−2)(x+3). So x3−7x+6 =(x−1) (x−2) (x+3).

How many different real solutions does x3 −x2 −x −2 =0 have? Type only the number.

  1. Try x=2: f(2) =8−4−2−2.
  2. Divide by (x−2) to get x2+x+1. Find its discriminant.
  • A cubic has at most three real roots, not always three. Here the quadratic factor has a negative discriminant.
  • The quadratic factor x2+x+1 has discriminant 1−4=−3. It gives no real solutions, so there is only one.

f(2)=0, so (x−2) is a factor. Dividing gives x2+x+1. Its discriminant is 1−4=−3, which is negative. So the only real solution is x=2.

Factorise 2x3 −3x2 −11x +6 completely. Type it like (x-1)(x+2)(2x+3).

  1. Try x=3: f(3) =54 −27 −33 +6.
  2. Divide by (x−3) to get 2x2+3x−2. Factorise that.
  • The quadratic is 2x2+3x−2, with a 2 in front. Its factors are (2x−1)(x+2).

f(3)=0, so (x−3) is a factor. Dividing gives 2x2+3x−2 =(2x−1) (x+2). So 2x3 −3x2 −11x +6 =(x−3) (x+2) (2x−1).

You try the numbers 1, 2, 3 and 6 and their negatives as roots of x3 −6x2 +11x −6. Why these numbers?

  • They are the numbers that divide the constant term
  • They are the coefficients of the polynomial
  • They are the roots, which you already know
  1. Look at the constant term, −6.
  2. List the whole numbers that divide it.

A whole-number root of a polynomial with first coefficient 1 divides the constant term. −6 is divisible by 1, 2, 3 and 6, with either sign.

Solve the quartic equation x4 +x3 −7x2 −x +6 =0. Type your answers like 1 or 5.

  1. The constant term is 6. Try x=1, −1, 2 and so on.
  2. Divide by the factor you find. The cubic that is left needs a second factor.
  • You took the signs from the brackets. (x+3)=0 gives x=−3.
  • A quartic can have four solutions. Find a second factor of the cubic, then factorise the quadratic.

f(1)=0, so (x−1) is a factor. Dividing gives x3 +2x2 −5x −6, and f(2)=0 for this cubic. Dividing again gives x2+4x+3 =(x+1)(x+3). So x4 +x3 −7x2 −x +6 =(x−1) (x−2) (x+1) (x+3), with solutions 1, 2, −1 and −3.

Solve x3 −5x2 +8x −4 =0. Give each different solution once. Type your answers like 1 or 5.

  1. Try x=1: f(1) =1−5+8−4.
  2. Divide by (x−1) to get x2−4x+4. Factorise it.
  • Each different solution is written once. The root 2 is repeated, but it is one solution.
  • x2−4x+4 =(x−2)2. The bracket (x−2) gives x=2, not x=−2.

f(1)=0, so (x−1) is a factor. Dividing gives x2−4x+4 =(x−2)2. So x3 −5x2 +8x −4 =(x−1)(x−2)2. The solutions are x=1 and x=2, with 2 repeated.

5. Finding an unknown coefficient

A question may give a factor and leave a coefficient unknown. The factor theorem gives an equation for it. Put the value that makes the bracket zero into the polynomial. Set the result equal to 0. Then solve for the unknown.

Key idea: if (x−p) is a factor of f(x), then f(p)=0. Put x=p into f(x) with the unknown letter still in it. Set the result equal to 0 and solve. With two unknown letters, use two factors to get two equations.

Worked example: one unknown

(x−2) is a factor of x3 +kx2 −x −10. Find the value of k.

  1. Put x=2 into the polynomial: 8+4k−2−10.
  2. Set it equal to 0: 4k−4=0. So k=1.

Check: x3 +x2 −x −10 at x=2 is 8+4−2−10 =0.

Worked example: a bracket with a number in front of x

(2x+1) is a factor of 2x3 +kx2 −7x −6. Find k.

  1. The bracket is zero when x=−12.
  2. Put it in: 2×(−18) +k×14 +72 −6 =0.
  3. This is −14 +k4 +72 −6 =0. Multiply by 4: −1+k+14−24 =0.
  4. So k−11=0, and k=11.

Check: (2x+1) (x2+5x−6) =2x3 +10x2 −12x +x2 +5x −6 =2x3 +11x2 −7x −6.

Worked example: two unknowns

(x−1) and (x+2) are both factors of x3 +ax2 +bx +6. Find a and b.

  1. Put x=1 in: 1+a+b+6 =0. So a+b=−7.
  2. Put x=−2 in: −8+4a−2b+6 =0. So 4a−2b=2, which is 2a−b=1.
  3. Add the two equations: 3a=−6, so a=−2. Then b=−7−a=−5.

The polynomial is x3 −2x2 −5x +6. Check: this equals (x−1) (x+2) (x−3).

Now you finish it

(x+2) is a factor of x3 +kx2 −4x −12. Find k.

  1. The bracket is zero when x=−2.
  2. Put it in: −8 +k(−2)2 −4(−2) −12 =−8+___k+8−12.
  3. So 4k−___=0, which gives k=___.
Check my answer

k=3. Check: x3 +3x2 −4x −12 at x=−2 is −8+12+8−12 =0.

Check your knowledge: unknown coefficients

(x−1) is a factor of x3 +kx2 −x −3. Find the value of k. Type only the number.

  1. Put x=1 into the polynomial.
  2. You get 1+k−1−3. Set it equal to 0.
  • The equation is k−3=0. Add 3 to both sides to get k=3.

1+k−1−3 =k−3 =0, so k=3. Check: x3 +3x2 −x −3 at x=1 is 1+3−1−3 =0.

(x+2) is a factor of x3 −x2 +kx +6. Find the value of k. Type only the number.

  1. The bracket (x+2) is zero when x=−2.
  2. Put x=−2 in: −8−4−2k+6. Set it equal to 0.
  • The equation is −6−2k=0. So −2k=6 and k=−3. Watch the sign when you divide.
  • You used x=2. The bracket (x+2) is zero when x=−2.

(−2)3 −(−2)2 +k(−2) +6 =−8 −4 −2k +6 =−6−2k. Set it to 0: k=−3. Check: x3 −x2 −3x +6 at x=−2 is −8−4+6+6 =0.

(x−3) is a factor of 2x3 −5x2 +kx +6. Find the value of k. Type only the number.

  1. Put x=3 into the polynomial.
  2. 2×27 −5×9 +3k +6 =54 −45 +3k +6.
  • The equation is 15+3k=0. So 3k=−15 and k=−5.
  • That is 3k. Divide by 3 to get k.

54−45+3k+6 =15+3k. Set it to 0: 3k=−15, so k=−5.

(2x−1) is a factor of 2x3 +kx2 −5x +2. Find the value of k. Type only the number.

  1. The bracket is zero when x=12.
  2. Put it in: 14 +k4 −52 +2 =0. Multiply every term by 4.
  • Multiplying by 4 gives 1+k−10+8 =k−1, so k−1=0. Add 1 to both sides: k=+1.
  • That is the denominator. Solve k−1=0 for k.

2×18 +k×14 −5×12 +2 =0. Multiply by 4: 1+k−10+8 =0, so k=1. Check: (2x−1) (x2+x−2) =2x3 +x2 −5x +2.

(x−1) and (x+2) are factors of x3 +ax2 +bx −6. Find a and b. Type your answer with a first, like (1,2).

  1. Put x=1 in: 1+a+b−6 =0, so a+b=5.
  2. Put x=−2 in: −8+4a−2b−6 =0, so 2a−b=7.
  3. Add the two equations to find a. Then find b.
  • Your pair has b before a. Write a first.
  • That is a. The question asks for a and b, so find b as well.

Adding a+b=5 and 2a−b=7 gives 3a=12, so a=4. Then b=1. Check: x3 +4x2 +x −6 =(x−1) (x+2) (x+3).

(x−2) is a factor of f(x). Which statement must be true?

  • f(2)=0
  • f(−2)=0
  • f(0)=2
  1. Which value of x makes (x−2) equal to 0?
  2. The factor theorem puts that value into f(x).

x−2=0 gives x=2. The factor theorem says f(2)=0.

Flip it: run it backwards

So far you started with a polynomial and found its factors and roots. You can also go the other way. You start with the roots and build the polynomial.

Forwards

From a polynomial to its factors. Find a root with the factor theorem, divide, and factorise what is left.

x3 −4x2 +x +6 has f(−1)=0, so (x+1) is a factor. Dividing gives (x+1) (x−2) (x−3).

Backwards

From the roots to a polynomial. Each root p gives a factor (x−p). Multiply the factors together.

The roots −1, 2 and 3 give (x+1) (x−2) (x−3). Expanding gives x3 −4x2 +x +6.

The cubic with roots -1, 2 and 3 meets the y-axis at 6A cubic curve that rises through the marked point (-1, 0) on the x-axis, reaches a high point close to the right of the y-axis, passes through the marked point (0, 6) on the y-axis, falls through (2, 0), dips below the axis, and rises again through (3, 0). The three marked x-intercepts are the roots. The factors are built from them.xyy = (x + 1)(x − 2)(x − 3)not to scale(−1, 0)(2, 0)(3, 0)(0, 6)
Look at the three marked points on the x-axis. The roots are −1, 2 and 3. Each root gives one factor. The curve also meets the y-axis at (0,6), which is the constant term.

Worked example: from the roots to the cubic

A cubic has x3 coefficient 1 and roots −1, 2 and 3. Write it in expanded form.

  1. The factors are (x+1), (x−2) and (x−3).
  2. Multiply the last two: (x−2)(x−3) =x2−5x+6.
  3. Multiply by (x+1): x3 −5x2 +6x +x2 −5x +6.
  4. Collect like terms: x3 −4x2 +x +6.

Check: at x=0, the factors give 1×(−2)×(−3) =6. This matches the constant term.

The roots alone do not fix the polynomial. Any number times it has the same roots. So 2(x+1) (x−2) (x−3) has the same roots too. A point on the curve fixes the number.

Worked example: a cubic through a point

A cubic curve crosses the x-axis at −2, 1 and 4. It passes through (0,16). Find its equation.

  1. Write y =k(x+2) (x−1) (x−4), with k to find.
  2. Put x=0 and y=16. The brackets give 2×(−1)×(−4) =8. So 16=8k and k=2.
  3. Expand (x+2) (x−1) (x−4). First (x+2)(x−1) =x2+x−2. Then (x2+x−2) (x−4) =x3 −3x2 −6x +8.
  4. Multiply by 2.

The curve is y =2x3 −6x2 −12x +16. Check at x=0: y=16.

Worked example: a repeated root

A cubic with x3 coefficient 1 touches the x-axis at x=1 and crosses it at x=−3. Find it.

  1. The touching root is repeated, so the factor (x−1) appears twice. The factors are (x−1)2 and (x+3).
  2. Expand (x−1)2 =x2−2x+1. Multiply by (x+3): x3 +3x2 −2x2 −6x +x +3.

The cubic is x3 +x2 −5x +3.

Check your knowledge: flip it

A cubic has x3 coefficient 1 and roots 1, 2 and 3. Write it in expanded form. Type it like x^3+2x^2-x+5.

  1. The factors are (x−1), (x−2) and (x−3).
  2. Multiply two of them, then multiply by the third.
  • You used (x+1) (x+2) (x+3). A root of 1 gives the factor (x−1).

(x−1)(x−2) =x2−3x+2. Then (x2−3x+2) (x−3) =x3 −3x2 −3x2 +9x +2x −6 =x3 −6x2 +11x −6.

A cubic has x3 coefficient 1 and roots −1, 1 and 4. Write it in expanded form. Type it like x^3+2x^2-x+5.

  1. The factors are (x+1), (x−1) and (x−4).
  2. Start with (x+1)(x−1) =x2−1.
  • You used (x−4) with the wrong sign. The root 4 gives (x−4).

(x2−1)(x−4) =x3 −4x2 −x +4.

A cubic has x3 coefficient 1 and roots 0, 2 and −5. Write it in expanded form. Type it like x^3+2x^2-x.

  1. The root 0 gives the factor (x−0), which is x.
  2. The other factors are (x−2) and (x+5).
  • You left out the factor x from the root 0. The cubic is x times this quadratic.

(x−2)(x+5) =x2+3x−10. Multiply by x: x3+3x2−10x.

A curve y =k(x+1) (x−2) (x−3) passes through the point (0,12). Find the value of k. Type only the number.

  1. Put x=0 and y=12 into the equation.
  2. Work out (0+1) (0−2) (0−3).
  • That is y. Divide by the value of the three brackets to find k.
  • The three brackets give 1×(−2)×(−3) =+6, because two negatives multiply to a positive. So 6k=12.

12 =k×1×(−2)×(−3) =6k, so k=2.

A cubic with x3 coefficient 1 touches the x-axis at x=2 and crosses it at x=−1. Which is its equation?

  • y =(x−2)2(x+1)
  • y =(x−2)(x+1)
  • y =(x−2) (x+2) (x+1)
  1. A touching root is a repeated root. Its factor appears twice.
  2. Count the factors. A cubic has three.

The factor (x−2) appears twice, and (x+1) once. So y =(x−2)2(x+1).

Spot the mistake

Finding an error in someone else’s working helps you learn. For each one, decide what went wrong.

Ben says: dividing x3 +x2 −4x +5 by (x−1) gives the quotient x2+2x−2 and remainder 5, because 5 is the last number in the polynomial. What went wrong?

  • The remainder is what is left after the last subtraction, and that is 3
  • The remainder should be −2, the last term of the quotient
  • The remainder is always 0 when the quotient is a quadratic
  1. The last step is −2x +5 −(−2x+2).
  2. Work out what is left.

5−2=3. So x3 +x2 −4x +5 =(x−1) (x2+2x−2) +3. A quick check: f(1) =1+1−4+5 =3.

Cara says: f(x) =x3 −6x2 +11x −6 has f(1)=0 and f(2)=0. So f(x) =(x−1)(x−2). What went wrong?

  • A cubic has three linear factors, and (x−1)(x−2) has only two
  • f(2)=0 does not give a factor
  • She should have tested f(−1) as well
  1. Expand (x−1)(x−2). What is its degree?
  2. Divide f(x) by (x−1)(x−2) =x2−3x+2.

(x−1)(x−2) =x2−3x+2 has degree 2, but f(x) has degree 3. Dividing gives the third factor (x−3). So f(x) =(x−1) (x−2) (x−3).

Dev says: (x−2) (x2+x+3) =x3 −x2 +x +6. What went wrong?

  • He wrote −2×3 as +6. It is −6
  • The x term should be 5x
  • The x2 term should be +x2
  1. Multiply each term of (x2+x+3) by x, then by −2.
  2. Check each sign, especially the last one.

x(x2+x+3) =x3+x2+3x and −2(x2+x+3) =−2x2−2x−6. Together they make x3 −x2 +x −6.

Eve says: to test whether (2x−1) is a factor of f(x) =2x3 +3x2 −8x +3, I work out f(2)=15. So it is not a factor. What went wrong?

  • She should have used x=12, the value that makes 2x−1 zero
  • She should have used x=−1
  • She worked out f(2) wrongly, and it is 0
  1. Solve 2x−1=0.
  2. Put that value of x into f(x).

2x−1=0 gives x=12. f(12) =14 +34 −4 +3 =0. So (2x−1) is a factor.

Check your knowledge: mixed review

These questions mix the ideas from every section, in no fixed order.

Expand and simplify (x+1) (x−4) (x+3). Type it like x^3+2x^2-x+5.

  1. Multiply the first two brackets: (x+1)(x−4) =x2−3x−4.
  2. Multiply by (x+3). Look at the x2 terms.
  • The number term is −4×3=−12. A negative number times a positive number is negative.

(x2−3x−4) (x+3) =x3 +3x2 −3x2 −9x −4x −12, which is x3−13x−12.

Solve x3 −4x2 −11x +30 =0. Type your answers like 1 or 5.

  1. The constant term is 30. Try small factors of 30, such as 1, 2 and −2.
  2. Divide by the factor you find to get a quadratic. Factorise it.
  • You took the signs from the brackets. (x+3)=0 gives x=−3.

f(2) =8 −16 −22 +30 =0, so (x−2) is a factor. Dividing gives x2−2x−15 =(x−5)(x+3). The solutions are 2, 5 and −3.

Divide 2x3 +x2 −8x −4 by (x+2). The division is exact. Type the quotient like x^2+3x+1.

  1. Write (x+2) (2x2+ax+b) =2x3 +(a+4)x2 +(b+2a)x +2b.
  2. Match x2: a+4=1. Match x to find b.
  • You solved a+4=1 as a=5. Subtract 4 from both sides: a=−3.

a+4=1 gives a=−3. b−6=−8 gives b=−2. Check: 2b=−4. The quotient is 2x2−3x−2.

(x+1) is a factor of x3 +kx2 +2x −4. Find the value of k. Type only the number.

  1. The bracket (x+1) is zero when x=−1.
  2. Put x=−1 in: −1+k−2−4.
  • The equation is k−7=0. Add 7 to both sides: k=7.

(−1)3 +k(−1)2 +2(−1) −4 =−1+k−2−4 =k−7. Set it to 0: k=7.

How many real solutions does x3+x=0 have?

  • One solution
  • Three solutions
  • Two solutions
  1. Take out the common factor x.
  2. Can x2+1 equal 0 for a real number x?

x3+x =x(x2+1). The factor x gives x=0. x2+1 is at least 1, so it never gives a real solution. There is one real solution.

Factorise x3 −3x2 −4x +12 completely. Type it like (x-1)(x+2)(x+3).

  1. Try x=2: 8−12−8+12.
  2. Divide by (x−2) to get a quadratic. Factorise the quadratic.
  • Check the last factor. f(3) =27 −27 −12 +12 =0, so the factor is (x−3).

f(2)=0, so (x−2) is a factor. Dividing gives x2−x−6 =(x−3)(x+2). Check: (x−2) (x2−x−6) =x3 −x2 −6x −2x2 +2x +12 =x3 −3x2 −4x +12. So the factors are (x−2) (x+2) (x−3).

Find the quotient when x3−2x2+3 is divided by (x+1). The division is exact. Type it like x^2+3x+1.

  1. There is no x term. Its coefficient is 0.
  2. Write (x+1) (x2+ax+b) =x3 +(a+1)x2 +(b+a)x +b.
  • You solved a+1=−2 as a=3. Subtract 1 from both sides: a=−3.

a+1=−2 gives a=−3. b+a=0 gives b=3. Check: the number term is b=3. The quotient is x2−3x+3.

A cubic with x3 coefficient 1 has a repeated root at x=1 and a root at x=−2. Write it in expanded form. Type it like x^3+2x^2-x+5.

  1. The repeated root gives (x−1)2.
  2. Multiply by (x+2).
  • That cubic has the factor (x+3), which gives the root −3. The root −2 gives the factor (x+2).

(x−1)2(x+2) =(x2−2x+1) (x+2) =x3 +2x2 −2x2 −4x +x +2 =x3−3x+2.

Exam style

Use these like a real paper. The marks tell you how much to write. Write your working on paper, then type the answer. The mark scheme appears in the worked solution. In a mark scheme, M1 is a mark for a correct method. A1 is a mark for a correct answer. B1 is a mark for a correct fact or value.

[4 marks] f(x) =x3 +4x2 −11x −30. Given that (x−3) is a factor of f(x), solve f(x)=0. Type your answers like 1 or 5.

  1. Divide f(x) by (x−3). Write (x−3) (x2+ax+b).
  2. Match coefficients to find a and b.
  3. Factorise the quadratic. Then use every factor.
  • That is the solution from the given factor. A cubic can have more. Factorise the quadratic that is left.
  • You took the signs from the brackets. (x−3)=0 gives x=3, and (x+2)=0 gives x=−2.

(x−3) (x2+ax+b) =x3 +(a−3)x2 +(b−3a)x −3b. So a−3=4 gives a=7, and b−21=−11 gives b=10. Check: −3b=−30. The quadratic x2+7x+10 =(x+2)(x+5). The solutions are 3, −2 and −5.

  • M1 for dividing f(x) by (x−3), or comparing coefficients
  • A1 for the quadratic x2+7x+10
  • M1 for factorising the quadratic
  • A1 for all three solutions: 3, −2 and −5

(a) [2 marks] (x−2) is a factor of f(x) =2x3 +ax2 −7x −6. Find the value of a. Type only the number.

  1. Put x=2 into f(x). Keep the letter a.
  2. You get 16+4a−14−6. Set it equal to 0.
  • The equation is 4a−4=0. Add 4 to both sides: 4a=4, so a=1.
  • That is 4a. Divide by 4 to get a.

f(2) =16 +4a −14 −6 =4a−4. Set it to 0: 4a=4, so a=1.

  • M1 for putting x=2 into f(x) and setting it equal to 0
  • A1 for a=1

(b) [4 marks] Now take a=1, so f(x) =2x3 +x2 −7x −6. Factorise f(x) completely. Type it like (x-1)(x+2)(2x+3).

  1. Write f(x) =(x−2) (2x2+bx+c).
  2. Expanding gives 2x3 +(b−4)x2 +(c−2b)x −2c. Match to find b and c.
  3. Factorise the quadratic.
  • The quadratic is 2x2+5x+3, with a 2 in front. Its factors are (2x+3)(x+1).

b−4=1 gives b=5. c−10=−7 gives c=3. Check: −2c=−6. Then 2x2+5x+3 =(2x+3) (x+1). So f(x) =(x−2) (2x+3) (x+1).

  • M1 for dividing by (x−2), or comparing coefficients
  • A1 for the quadratic 2x2+5x+3
  • M1 for factorising the quadratic
  • A1 for (x−2) (2x+3) (x+1)

[5 marks] (x−2) and (x+3) are both factors of x3 +ax2 +bx +12. Find a and b. Type your answer with a first, like (1,2).

  1. Put x=2 in: 8+4a+2b+12 =0, so 2a+b=−10.
  2. Put x=−3 in: −27 +9a −3b +12 =0, so 3a−b=5.
  3. Add the two equations to find a. Then find b.
  • Your pair has b before a. Write a first.
  • That is a. The question asks for a and b, so find b as well.

Adding 2a+b=−10 and 3a−b=5 gives 5a=−5, so a=−1. Then b =−10−2a =−8. Check: x3 −x2 −8x +12 =(x−2)2(x+3).

  • M1 for putting x=2 into the cubic and setting it equal to 0
  • A1 for 2a+b=−10
  • M1 for putting x=−3 into the cubic and setting it equal to 0
  • A1 for 3a−b=5
  • A1 for a=−1 and b=−8

(a) [3 marks] f(x) =x3 +x2 +x −3. Divide f(x) by (x−1). The quotient is a quadratic. Find the value of its discriminant. Type only the number.

  1. Check that f(1)=0. Then write (x−1) (x2+ax+b).
  2. Match coefficients to find a and b.
  3. The discriminant of x2+ax+b is a2−4b.
  • The sign is lost. 4−12=−8.
  • That is the number term b, not the discriminant. Work out a2−4b.

(x−1) (x2+ax+b) =x3 +(a−1)x2 +(b−a)x −b. So a−1=1 gives a=2, and b−2=1 gives b=3. Check: −b=−3. The quadratic is x2+2x+3. Its discriminant is 22−4×1×3 =−8.

  • B1 for f(1)=0, so (x−1) is a factor
  • M1 for dividing, or comparing coefficients
  • A1 for the discriminant −8

(b) [2 marks] Use your answer to part (a). How many real solutions does x3 +x2 +x −3 =0 have? Type only the number.

  1. The solutions come from the factors (x−1) and (x2+2x+3).
  2. A negative discriminant means no real solutions from the quadratic.
  • A cubic has at most three real roots. Here the quadratic factor has a negative discriminant, so it gives none.
  • The factor (x−1) gives the real solution x=1. The quadratic gives none, so there is one in total.

The discriminant −8 is negative, so x2+2x+3=0 has no real solutions. The only real solution is x=1. There is 1.

  • M1 for using the negative discriminant to say the quadratic has no real solutions
  • A1 for 1

[4 marks] A cubic curve crosses the x-axis at x=−2, x=1 and x=3. It crosses the y-axis at (0,−12). Find its equation in the form y =ax3 +bx2 +cx +d. Type only the right side, like x^3+2x^2-x+5.

  1. Write y =k(x+2) (x−1) (x−3).
  2. Put x=0 and y=−12 to find k.
  3. Expand and multiply by k.
  • That is the cubic with x3 coefficient 1. It passes through (0,6). Multiply by k to pass through (0,−12).
  • The sign of k is wrong. At x=0, the brackets give 2×(−1)×(−3) =6, so 6k=−12.

y =k(x+2) (x−1) (x−3). At x=0: −12 =k×2×(−1)×(−3) =6k, so k=−2. (x+2) (x−1) (x−3) =x3 −2x2 −5x +6. Multiply by −2: y =−2x3 +4x2 +10x −12.

  • M1 for y =k(x+2) (x−1) (x−3)
  • M1 for using (0,−12) to find k
  • A1 for k=−2
  • A1 for y =−2x3 +4x2 +10x −12

[5 marks] f(x) =x3 −5x2 −2x +24. Show that (x+2) is a factor of f(x). Hence solve f(x)=0. Type your solutions like 1 or 5.

  1. Work out f(−2). A result of 0 shows that (x+2) is a factor.
  2. Divide by (x+2): (x+2) (x2+ax+b). Match coefficients.
  3. Factorise the quadratic and use every factor.
  • You took the signs from the brackets. (x−3)=0 gives x=3.
  • That is the solution from the given factor. Factorise the quadratic that is left for the other two.

f(−2) =−8 −20 +4 +24 =0, so (x+2) is a factor. (x+2) (x2+ax+b) =x3 +(a+2)x2 +(b+2a)x +2b. So a+2=−5 gives a=−7, and b−14=−2 gives b=12. Check: 2b=24. The quadratic x2−7x+12 =(x−3)(x−4). The solutions are −2, 3 and 4.

  • B1 for f(−2)=0, with the working shown
  • M1 for dividing, or comparing coefficients
  • A1 for the quadratic x2−7x+12
  • M1 for factorising the quadratic
  • A1 for all three solutions: −2, 3 and 4

Why it works

  • Expanding. Multiplying every term by every term is the distributive law used twice. It keeps the value the same for every x, so the expanded form is another way to write the same polynomial.
  • Division. f(x) =(x−p)q(x) +r is the same fact as 17=5×3+2. You can always check a division by multiplying back and adding the remainder.
  • The remainder is a number. You stop dividing when what is left has a lower degree than the bracket. The bracket has degree 1, so what is left has degree 0. That is a number.
  • The factor theorem. Put x=p into f(x) =(x−p)q(x) +r. The product (p−p)q(p) is 0 times a number, which is 0. So f(p)=r. A remainder of 0 means (x−p) divides f(x) exactly, so it is a factor. If (x−p) is a factor, the remainder is 0.
  • Trying the factors of the constant term. Take x3 +ax2 +bx +c with whole-number coefficients, and suppose a whole number p is a root. Then p3 +ap2 +bp +c =0, so c =−p(p2+ap+b). So p divides c. When the coefficient of x3 is not 1, a fraction can be a root. It then has the form (a divisor of c) over (a divisor of the leading coefficient).
  • At most three roots. Each root gives one linear factor. A cubic has degree 3, so it has at most three linear factors. A repeated root uses up two of the three factors. The graph touches the axis there, so the cubic has fewer than three different roots.
  • Building from roots. The product of (x−p) for each root p is zero at each root and nowhere else. Any number times it has the same roots. A point on the curve fixes that number.

Common traps

  • Testing (x+3) with f(3). The bracket (x+3) is zero when x=−3, so test f(−3).
  • Forgetting the missing power. Write x3 +0x2 −7x −6 before you divide.
  • Losing a sign when you subtract in long division. Change every sign of the line you subtract.
  • Stopping after the first factor. A cubic needs three factors, and the quadratic left over needs factorising too.
  • Dropping a repeated root. For (x−1)2(x+2), the solutions are x=1 and x=−2, and the first is repeated.
  • Taking the signs of the solutions from the brackets. (x+2)=0 gives x=−2.
  • Thinking a cubic always has three real roots. After you divide, the quadratic may have a negative discriminant.
  • Testing (2x−1) with x=2. Solve 2x−1=0 and use x=12.
  • Forgetting the number in front when you build a polynomial from its roots. The roots fix the factors, not the size. A point on the curve fixes k.

I can…

Come back in a week and tick again, without looking.

Back to the pyramid Glossary