3B, 3C - Factorising and solving cubics

3B, 3C - Factorising and solving cubics

How can one known root unlock a cubic equation? In 3B you will use a supplied factor and divide to factorise a cubic; in 3C you will find a simple rational root when needed and solve for every real root. You will also see why a cubic need not have three different real solutions.

Using a supplied linear factor

Suppose x−2x-2 is a factor of x3+2x2−5x−6x^3+2x^2-5x-6. How much work is left before the whole expression is factorised?

Dividing a cubic by a linear factor leaves a quadratic. You can then use the quadratic factorisation methods you already know. Keep the supplied factor in the final product: it is one part of the complete factorisation.

Worked example 1: a supplied monic factor

Question. Given that x−2x-2 is a factor of f(x)=x3+2x2−5x−6f(x)=x^3+2x^2-5x-6, factorise f(x)f(x) completely.

Plan. Divide by x−2x-2, then factorise the quadratic quotient.

f(x)−x2(x−2)=4x2−5x−6(4x2−5x−6)−4x(x−2)=3x−6(3x−6)−3(x−2)=0\begin{aligned} f(x)-x^2(x-2)&=4x^2-5x-6\\ (4x^2-5x-6)-4x(x-2)&=3x-6\\ (3x-6)-3(x-2)&=0 \end{aligned}

Therefore f(x)=(x−2)(x2+4x+3)f(x)=(x-2)(x^2+4x+3). The quadratic needs two numbers with sum 44 and product 33: 11 and 33.

x2+4x+3=(x+1)(x+3).x^2+4x+3=(x+1)(x+3).

Answer. f(x)=(x−2)(x+1)(x+3)f(x)=(x-2)(x+1)(x+3).

Check. Expanding the last two factors gives x2+4x+3x^2+4x+3. Multiplying by x−2x-2 gives x3+2x2−5x−6x^3+2x^2-5x-6, including the original leading coefficient and constant.

Now make the supplied factor non-monic. Division must retain its leading coefficient, but the quadratic step is unchanged.

Worked example 2: a supplied non-monic factor

Question. Given that 2x−12x-1 is a factor of f(x)=2x3+3x2−8x+3f(x)=2x^3+3x^2-8x+3, factorise f(x)f(x) completely.

Plan. Divide by the whole factor 2x−12x-1, then factorise the quotient.

f(x)−x2(2x−1)=4x2−8x+3(4x2−8x+3)−2x(2x−1)=−6x+3(−6x+3)−(−3)(2x−1)=0\begin{aligned} f(x)-x^2(2x-1)&=4x^2-8x+3\\ (4x^2-8x+3)-2x(2x-1)&=-6x+3\\ (-6x+3)-(-3)(2x-1)&=0 \end{aligned}

The quotient is x2+2x−3x^2+2x-3. Since 3+(−1)=23+(-1)=2 and 3(−1)=−33(-1)=-3,

f(x)=(2x−1)(x+3)(x−1).f(x)=(2x-1)(x+3)(x-1).

Answer. (2x−1)(x+3)(x−1)(2x-1)(x+3)(x-1).

Check. Expanding the product gives 2x3+3x2−8x+32x^3+3x^2-8x+3. The leading term is 2x32x^3, as required.

The factors 2x−12x-1 and x−1/2x-1/2 have the same zero, but their values differ by a factor of two.

Watch out

Replacing 2x−12x-1 by x−1/2x-1/2 in a factorisation loses a factor of 22. If you use the latter form, write 2(x−1/2)2(x-1/2). Check the leading coefficient as well as the roots.

Use the supplied factor to reduce the next cubic.

Finding a rational root

When a factor is not supplied, try a small set of sensible values and use the factor theorem to test them.

Start with 11 and −1-1, which are quick to evaluate. For a monic polynomial with integer coefficients, any integer root must divide the constant term. If the constant term is zero, first take out a factor of xx.

More generally, if an integer-coefficient polynomial has a rational root p/qp/q in lowest terms, then pp divides its constant term and qq divides its leading coefficient. This gives a finite candidate list, rather than random guesses. For a monic polynomial q=1q=1, so any rational root is an integer. Candidates are possibilities, not guaranteed roots: test each one before declaring a factor.

Worked example 3: finding an integer root

Question. Find a rational root of f(x)=x3−4x2−x+4f(x)=x^3-4x^2-x+4, then express f(x)f(x) as a linear factor times a quadratic.

Plan. Try 11, a divisor of the constant 44, and divide if the result is zero.

f(1)=1−4−1+4=0.f(1)=1-4-1+4=0.

Therefore x−1x-1 is a factor. Long division gives

f(x)−x2(x−1)=−3x2−x+4(−3x2−x+4)−(−3x)(x−1)=−4x+4(−4x+4)−(−4)(x−1)=0\begin{aligned} f(x)-x^2(x-1)&=-3x^2-x+4\\ (-3x^2-x+4)-(-3x)(x-1)&=-4x+4\\ (-4x+4)-(-4)(x-1)&=0 \end{aligned}

Answer. A rational root is 11, and f(x)=(x−1)(x2−3x−4)f(x)=(x-1)(x^2-3x-4).

Check. Expanding this product gives x3−4x2−x+4x^3-4x^2-x+4, independently confirming the factor and quotient.

The next leading coefficient is 22. The rational root may now be a half-integer, so integer tests alone are insufficient.

Worked example 4: finding a fractional root

Question. Find a rational root of f(x)=2x3+x2−7x+3f(x)=2x^3+x^2-7x+3, then express f(x)f(x) as a linear factor times a quadratic.

Plan. Test candidates whose numerator divides 33 and whose denominator divides 22, then divide by the corresponding linear factor.

The candidates in lowest terms are ±1\pm1, ±3\pm3, ±1/2\pm1/2 and ±3/2\pm3/2. First,

f(1)=−1≠0,f(−1)=9≠0.f(1)=-1\ne0,\qquad f(-1)=9\ne0.

Trying the small positive fraction gives

f ⁣(12)=14+14−72+3=0.f\!\left(\frac12\right)=\frac14+\frac14-\frac72+3=0.

Hence 2x−12x-1 is a factor. Divide:

f(x)−x2(2x−1)=2x2−7x+3(2x2−7x+3)−x(2x−1)=−6x+3(−6x+3)−(−3)(2x−1)=0\begin{aligned} f(x)-x^2(2x-1)&=2x^2-7x+3\\ (2x^2-7x+3)-x(2x-1)&=-6x+3\\ (-6x+3)-(-3)(2x-1)&=0 \end{aligned}

Answer. A rational root is 1/21/2, and f(x)=(2x−1)(x2+x−3)f(x)=(2x-1)(x^2+x-3).

Check. Expanding gives 2x3+x2−7x+32x^3+x^2-7x+3. At x=2x=2, both the original polynomial and the product give 99, a further arithmetic check.

You need only one root to start the reduction. The remaining quadratic may have rational roots, irrational roots or no real roots; the next part handles those possibilities.

Problem-solving

Test cheap candidates first, record the substitution that gives zero, then divide once. A rounded calculator value close to zero is not a proof of an exact factor.

Find one exact root before forming the quotient.

All real solutions

Once the cubic is written as a product, solve by setting each factor equal to zero.

You already know

For real numbers, a product is zero if and only if at least one factor is zero. A quadratic can be solved by factorisation, completing the square or the quadratic formula.

For a remaining quadratic Ax2+Bx+C=0Ax^2+Bx+C=0, where A≠0A\ne0, the discriminant B2−4ACB^2-4AC tells you whether it gives two distinct real roots, one repeated real root or no real roots. Keep irrational roots exact. The quadratic formula is in Appendix 5's formulae to learn; it is not on the supplied formulae sheet.

Worked example 5: irrational roots from the quadratic

Question. Solve x3−5x−2=0x^3-5x-2=0, given that x+2x+2 is a factor. Give all real solutions exactly.

Plan. Divide by x+2x+2, then solve both the linear and quadratic factors.

Division gives

x3−5x−2=(x+2)(x2−2x−1).x^3-5x-2=(x+2)(x^2-2x-1).

The linear factor gives x=−2x=-2. Complete the square in the quadratic:

x2−2x−1=0(x−1)2=2x=1±2\begin{aligned} x^2-2x-1&=0\\ (x-1)^2&=2\\ x&=1\pm\sqrt2 \end{aligned}

Answer. x=−2x=-2, x=1+2x=1+\sqrt2 or x=1−2x=1-\sqrt2.

Check. At x=−2x=-2, the original cubic is −8+10−2=0-8+10-2=0. For either x=1±2x=1\pm\sqrt2, the relation x2=2x+1x^2=2x+1 gives x3=5x+2x^3=5x+2, so the original cubic is again zero. This checks both irrational roots without rounding.

Keep the supplied factor x+2x+2, but change the quadratic so that its two roots coincide. The number of distinct solutions will change.

Worked example 6: a repeated root

Question. Solve x3−3x+2=0x^3-3x+2=0, given that x+2x+2 is a factor. State any repeated root.

Plan. Divide, factorise the quotient and apply the zero-product rule.

x3−3x+2=(x+2)(x2−2x+1)=(x+2)(x−1)2\begin{aligned} x^3-3x+2&=(x+2)(x^2-2x+1)\\ &=(x+2)(x-1)^2 \end{aligned}

Thus x+2=0x+2=0 or x−1=0x-1=0.

Answer. The distinct real solutions are x=−2x=-2 and x=1x=1. The root 11 is repeated, because its factor occurs twice.

Check. Direct substitution gives (−2)3−3(−2)+2=0(-2)^3-3(-2)+2=0 and 13−3(1)+2=01^3-3(1)+2=0. The quadratic discriminant is (−2)2−4(1)(1)=0(-2)^2-4(1)(1)=0, confirming its repeated root.

A repeated root is one value, not two different solutions. There can also be just one real solution: for example,

(x−1)(x2+1)=0(x-1)(x^2+1)=0

has only x=1x=1, because x2+1≥1x^2+1\ge1 for every real xx. Do not manufacture extra real roots to make a total of three.

Key idea

One linear factor unlocks the cubic, but the remaining quadratic determines whether the other roots are distinct real values, a repeated value or non-real. State every real value once and identify repetition when asked.

Complete the reduction and describe the repeated root in the next equation.

Quick Recap

  • Use a supplied linear factor, or find one by testing exact rational candidates.
  • Divide to reduce the cubic to a quadratic.
  • Keep the full leading coefficient when factorising.
  • Solve every factor; retain exact irrational values and recognise repeated roots.

One root unlocks a cubic because it provides a linear factor, leaving a quadratic you already know how to solve.