Lemma
← All topics
Pure mathematics

Polynomials

Divide, factorise, sketch.

Introduction

A polynomial is a sum of terms axna x^n with whole-number powers, such as 2x3−5x2+x+22x^3 - 5x^2 + x + 2. You can already factorise quadratics. This topic gives you the tools to factorise cubics and quartics: the factor theorem finds a factor, and algebraic division finds what is left. Once a polynomial is factorised you can solve it and sketch it.

Why it matters

There is no simple formula for the roots of a cubic that you would want to use in an exam. Instead, you guess one root using the factor theorem, divide it out, and are left with a quadratic you can solve. This "find one, divide, finish" strategy is used throughout A level, including in partial fractions, integration and Further Maths.

Intuitive explanation

IntuitionRoots and factors are the same thing

If f(2)=0f(2) = 0, the graph of y=f(x)y = f(x) crosses the xx-axis at x=2x = 2. Factorised, f(x)=(x−2)×(something)f(x) = (x - 2)\times(\text{something}), and putting x=2x = 2 makes the first bracket zero. So "aa is a root" and "(x−a)(x - a) is a factor" say the same thing.

IntuitionPolynomial division is long division

Dividing x3+2x2−5x−6x^3 + 2x^2 - 5x - 6 by (x+1)(x + 1) works like dividing 12361236 by 1111: find the leading term of the answer, multiply back, subtract, bring down, repeat.

Formal definitions

DefinitionPolynomial and degree

A polynomial of degree nn is f(x)=anxn+an−1xn−1+⋯+a1x+a0f(x) = a_n x^n + a_{n-1}x^{n-1} + \dots + a_1 x + a_0 with an≠0a_n \ne 0. Degree 3 is a cubic, degree 4 a quartic.

DefinitionDivision

Dividing f(x)f(x) by g(x)g(x) gives a quotient Q(x)Q(x) and remainder r(x)r(x) with f(x)=g(x)Q(x)+r(x)f(x) = g(x)Q(x) + r(x), where the degree of rr is less than the degree of gg.

Notation

  • f(x)≡(x−2)(x2+x−3)f(x) \equiv (x - 2)(x^2 + x - 3): the identity sign ≡\equiv means "true for every xx".
  • "(x−a)(x - a) is a factor of f(x)f(x)" is sometimes written (x−a)∣f(x)(x - a) \mid f(x).
  • A root of multiplicity 2 is a repeated root; the graph touches the axis there.

Useful identities

IdentitiesFactorisations to recognise
a3−b3=(a−b)(a2+ab+b2)a3+b3=(a+b)(a2−ab+b2)x4−y4=(x−y)(x+y)(x2+y2)\begin{aligned} a^3 - b^3 &= (a - b)(a^2 + ab + b^2) \\ a^3 + b^3 &= (a + b)(a^2 - ab + b^2) \\ x^4 - y^4 &= (x - y)(x + y)(x^2 + y^2) \end{aligned}

Key results

TheoremFactor theorem

For a polynomial f(x)f(x):  f(a)=0  ⟺  (x−a)\ f(a) = 0 \iff (x - a) is a factor of f(x)f(x).

More generally, f ⁣(ba)=0  ⟺  (ax−b)f\!\left(\tfrac ba\right) = 0 \iff (ax - b) is a factor.

TheoremRemainder theorem

When f(x)f(x) is divided by (x−a)(x - a), the remainder is f(a)f(a). When divided by (ax−b)(ax - b), the remainder is f ⁣(ba)f\!\left(\tfrac ba\right).

The remainder theorem is on the AQA and OCR specifications and is a useful check for everyone.

Proofs

ProofRemainder and factor theorems

Divide f(x)f(x) by (x−a)(x - a). The remainder has lower degree than x−ax - a, so it is a constant rr:

f(x)≡(x−a)Q(x)+r.f(x) \equiv (x - a)Q(x) + r.

Put x=ax = a:  f(a)=0⋅Q(a)+r=r\ f(a) = 0\cdot Q(a) + r = r. This is the remainder theorem. In particular, (x−a)(x - a) is a factor exactly when the remainder is 00, i.e. when f(a)=0f(a) = 0: the factor theorem.

∎

The division algorithm, and why the remainder theorem is true

TheoremDivision algorithm

For polynomials ff and gg with g≠0g \ne 0, there are unique polynomials QQ (quotient) and rr (remainder) with

f(x)=g(x)Q(x)+r(x),deg⁡r<deg⁡g  (or r=0).f(x) = g(x)Q(x) + r(x), \qquad \deg r < \deg g \ \ (\text{or } r = 0).
Proof

Existence. If deg⁡f<deg⁡g\deg f < \deg g, take Q=0Q = 0, r=fr = f. Otherwise, with leading terms axnax^n of ff and bxmbx^m of gg, the polynomial f1=f−abxn−mgf_1 = f - \frac ab x^{n - m}g has smaller degree than ff (the leading terms cancel). Repeat; the degree drops each time, so the process stops. This is exactly long division.

Uniqueness. If gQ1+r1=gQ2+r2gQ_1 + r_1 = gQ_2 + r_2 then g(Q1−Q2)=r2−r1g(Q_1 - Q_2) = r_2 - r_1. The right side has degree <deg⁡g< \deg g, but a non-zero left side has degree ≥deg⁡g\ge \deg g. So both sides are 00.

∎

With g(x)=x−ag(x) = x - a the remainder is a constant rr, and putting x=ax = a into f(x)=(x−a)Q(x)+rf(x) = (x - a)Q(x) + r gives r=f(a)r = f(a): the remainder theorem. The factor theorem is the case r=0r = 0.

TheoremA degree-nn polynomial has at most nn roots
Proof

Induction on nn. If f(a)=0f(a) = 0 then f(x)=(x−a)Q(x)f(x) = (x - a)Q(x) with deg⁡Q=n−1\deg Q = n - 1. Any other root b≠ab \ne a satisfies (b−a)Q(b)=0(b - a)Q(b) = 0, so Q(b)=0Q(b) = 0; by induction QQ has at most n−1n - 1 roots.

∎

Consequence: if two polynomials of degree ≤n\le n agree at n+1n + 1 points, they are identical. This is why "comparing coefficients" is valid, and why the answer to "find the cubic through these four points" is unique.

Methods

MethodFully factorising a cubic
  1. Search for a root. Try factors of the constant term: ±1,±2,±3,…\pm1, \pm2, \pm3, \dots
  2. Divide out the factor (long division, or by comparing coefficients).
  3. Factorise the quadratic quotient.
MethodComparing coefficients (quick division)

To divide x3−7x−6x^3 - 7x - 6 by (x+1)(x + 1), write x3+0x2−7x−6≡(x+1)(x2+bx+c)x^3 + 0x^2 - 7x - 6 \equiv (x + 1)(x^2 + bx + c). Matching x2x^2: 0=b+10 = b + 1, so b=−1b = -1. Matching constants: −6=c-6 = c. Hence x2−x−6x^2 - x - 6.

MethodSketching a polynomial
  • The leading term fixes the ends: a positive cubic goes from bottom-left to top-right.
  • Roots: single roots cross the axis; repeated (squared) roots touch it; cubed roots cross with a flat point.
  • yy-intercept: put x=0x = 0.

Examples

ExampleA quick factor test

Is (x−3)(x - 3) a factor of x3−4x2+x+6x^3 - 4x^2 + x + 6?

f(3)=27−36+3+6=0f(3) = 27 - 36 + 3 + 6 = 0. Yes.

The Worked examples tab has fully worked factorisations, divisions and sketches.

Common mistakes

Common mistakeWrong sign in the factor test

(x+2)(x + 2) is a factor if f(−2)=0f(-2) = 0, not f(2)f(2).

Common mistakeMissing terms in long division

Write in zero coefficients: x3−7x−6x^3 - 7x - 6 is x3+0x2−7x−6x^3 + 0x^2 - 7x - 6.

Common mistakeStopping too early

"Fully factorise" means factorise the quadratic quotient too, if it factorises.

Common mistakeRepeated roots in sketches

At a repeated root the curve touches the axis and turns back; it does not cross.

Applications

  • Volume problems: a box made from a sheet of card has a cubic volume. Solving V(x)=kV(x) = k is a cubic equation.
  • Error-correcting codes in QR codes and phones are built on polynomial division.
  • Computer graphics: curves in fonts and animations are polynomial pieces.

Connections

Summary

  • f(a)=0  ⟺  (x−a)f(a) = 0 \iff (x - a) is a factor; f(b/a)=0  ⟺  (ax−b)f(b/a) = 0 \iff (ax - b) is a factor.
  • Remainder on dividing by (x−a)(x - a) is f(a)f(a).
  • Factorise a cubic: find a root, divide, factorise the quadratic.
  • Sketch using the leading term, roots (cross or touch) and the yy-intercept.

Worked examples

Try each one yourself first, then open the solution.

Example 1Fully factorising a cubic

Fully factorise f(x)=x3−2x2−5x+6f(x) = x^3 - 2x^2 - 5x + 6.

Show the solution
  1. 1Search for a root

    Try factors of 66. f(1)=1−2−5+6=0f(1) = 1 - 2 - 5 + 6 = 0, so (x−1)(x - 1) is a factor.

  2. 2Divide out the factor

    x3−2x2−5x+6≡(x−1)(x2+bx+c)x^3 - 2x^2 - 5x + 6 \equiv (x - 1)(x^2 + bx + c). Matching x2x^2: −2=b−1-2 = b - 1, so b=−1b = -1. Matching constants: 6=−c6 = -c, so c=−6c = -6.

  3. 3Factorise the quadratic

    x2−x−6=(x−3)(x+2)x^2 - x - 6 = (x - 3)(x + 2).

  4. 4Write the answer

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

Answer

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

Example 2Long division

Divide 2x3+3x2−8x+32x^3 + 3x^2 - 8x + 3 by (x+3)(x + 3).

Show the solution
  1. 1First term

    2x3÷x=2x22x^3 \div x = 2x^2. Multiply: 2x2(x+3)=2x3+6x22x^2(x + 3) = 2x^3 + 6x^2. Subtract: −3x2−8x-3x^2 - 8x.

  2. 2Second term

    −3x2÷x=−3x-3x^2 \div x = -3x. Multiply: −3x2−9x-3x^2 - 9x. Subtract: x+3x + 3.

  3. 3Third term

    x÷x=1x \div x = 1. Multiply: x+3x + 3. Subtract: 00.

  4. 4Read off

    Quotient 2x2−3x+12x^2 - 3x + 1, remainder 00, so (x+3)(x + 3) is a factor.

Answer

2x2−3x+12x^2 - 3x + 1

Example 3A non-monic factor

Show that (2x−1)(2x - 1) is a factor of f(x)=2x3−7x2+7x−2f(x) = 2x^3 - 7x^2 + 7x - 2, and hence solve f(x)=0f(x) = 0.

Show the solution
  1. 1Use the factor theorem

    f ⁣(12)=14−74+72−2=0f\!\left(\tfrac12\right) = \tfrac14 - \tfrac74 + \tfrac72 - 2 = 0, so (2x−1)(2x - 1) is a factor.

  2. 2Divide

    2x3−7x2+7x−2≡(2x−1)(x2+bx+c)2x^3 - 7x^2 + 7x - 2 \equiv (2x - 1)(x^2 + bx + c). Matching x2x^2: −7=2b−1⇒b=−3-7 = 2b - 1 \Rightarrow b = -3. Constants: −2=−c⇒c=2-2 = -c \Rightarrow c = 2.

  3. 3Factorise and solve

    x2−3x+2=(x−1)(x−2)x^2 - 3x + 2 = (x - 1)(x - 2), so f(x)=(2x−1)(x−1)(x−2)=0f(x) = (2x - 1)(x - 1)(x - 2) = 0.

Answer

x=12, 1, 2x = \tfrac12,\ 1,\ 2

Example 4Finding an unknown coefficient

(x+2)(x + 2) is a factor of x3+ax2−4x−12x^3 + ax^2 - 4x - 12. Find aa.

Show the solution
  1. 1Factor theorem

    f(−2)=0f(-2) = 0.

  2. 2Substitute

    −8+4a+8−12=0-8 + 4a + 8 - 12 = 0.

  3. 3Solve

    4a=12⇒a=34a = 12 \Rightarrow a = 3.

Answer

a=3a = 3

Example 5Two conditions, two unknowns

f(x)=x3+px2+qx+6f(x) = x^3 + px^2 + qx + 6. When f(x)f(x) is divided by (x−1)(x - 1) the remainder is 44, and (x+2)(x + 2) is a factor. Find pp and qq.

Show the solution
  1. 1Remainder condition

    f(1)=1+p+q+6=4⇒p+q=−3f(1) = 1 + p + q + 6 = 4 \Rightarrow p + q = -3.

  2. 2Factor condition

    f(−2)=−8+4p−2q+6=0⇒2p−q=1f(-2) = -8 + 4p - 2q + 6 = 0 \Rightarrow 2p - q = 1.

  3. 3Solve simultaneously

    Adding: 3p=−2⇒p=−233p = -2 \Rightarrow p = -\tfrac23, then q=−3−p=−73q = -3 - p = -\tfrac73.

Answer

p=−23, q=−73p = -\tfrac23,\ q = -\tfrac73

Example 6Sketching with a repeated root

Sketch y=(x−1)2(x+3)y = (x - 1)^2(x + 3), showing where the curve meets the axes.

Show the solution
  1. 1Shape

    Expanding gives a positive x3x^3 term, so the curve goes from bottom-left to top-right.

  2. 2Roots

    x=−3x = -3 (single: crosses) and x=1x = 1 (repeated: touches and turns).

  3. 3yy-intercept

    x=0x = 0: y=(1)(3)=3y = (1)(3) = 3, so (0,3)(0, 3).

  4. 4Put it together

    Rise from bottom-left, cross at (−3,0)(-3, 0), pass a maximum, come down through (0,3)(0, 3), touch the axis at (1,0)(1, 0) and rise again.

Answer

Crosses at (−3,0)(-3, 0), touches at (1,0)(1, 0), yy-intercept (0,3)(0, 3).

Example 7Division with a remainder

Find the quotient and remainder when x3+4x2−3x^3 + 4x^2 - 3 is divided by (x−2)(x - 2).

Show the solution
  1. 1Remainder first

    By the remainder theorem, remainder =f(2)=8+16−3=21= f(2) = 8 + 16 - 3 = 21.

  2. 2Set up the identity

    x3+4x2+0x−3≡(x−2)(x2+bx+c)+21x^3 + 4x^2 + 0x - 3 \equiv (x - 2)(x^2 + bx + c) + 21.

  3. 3Compare coefficients

    x2x^2: 4=b−2⇒b=64 = b - 2 \Rightarrow b = 6. xx: 0=c−2b⇒c=120 = c - 2b \Rightarrow c = 12.

Answer

Quotient x2+6x+12x^2 + 6x + 12, remainder 2121

Example 8Equation from a sketch

A cubic curve crosses the xx-axis at x=−1x = -1, touches it at x=2x = 2, and crosses the yy-axis at (0,8)(0, 8). Find its equation.

Show the solution
  1. 1Write the factor form

    Crossing at −1-1 gives a single factor (x+1)(x + 1). Touching at 22 gives a squared factor (x−2)2(x - 2)^2. So y=k(x+1)(x−2)2y = k(x + 1)(x - 2)^2.

  2. 2Use the yy-intercept

    At x=0x = 0: y=k(1)(4)=4k=8y = k(1)(4) = 4k = 8.

  3. 3Solve

    k=2k = 2.

Answer

y=2(x+1)(x−2)2y = 2(x + 1)(x - 2)^2

Always check the sign: here k>0k > 0, so the curve rises to the right, matching a positive yy-intercept between the roots.

Beyond the specification

University-level ideas and the deeper mathematics behind this topic. Not needed for exams, but this is where the subject really opens up.

Rational roots, irreducibility and Eisenstein (university)

Over C\mathbb C every polynomial splits into linear factors (the fundamental theorem of algebra). Over R\mathbb R it splits into linear and quadratic factors. Over Q\mathbb Q the story is much richer, and it underlies number theory and Galois theory.

DefinitionIrreducible

A non-constant polynomial with rational coefficients is irreducible over Q\mathbb Q if it cannot be written as a product of two non-constant polynomials with rational coefficients.

x2−2x^2 - 2 is irreducible over Q\mathbb Q (its roots ±2\pm\sqrt2 are irrational) but factors over R\mathbb R. x4+4=(x2+2x+2)(x2−2x+2)x^4 + 4 = (x^2 + 2x + 2)(x^2 - 2x + 2) has no rational roots at all, yet it is reducible: for degree ≥4\ge 4, "no rational roots" is not enough.

TheoremGauss's lemma

If a polynomial with integer coefficients factors over Q\mathbb Q, then it factors over Z\mathbb Z (into factors of the same degrees).

So to show irreducibility over Q\mathbb Q it is enough to rule out integer factorisations. The sharpest everyday tool is:

TheoremEisenstein's criterion

Let f(x)=anxn+⋯+a0f(x) = a_nx^n + \cdots + a_0 have integer coefficients, and let pp be a prime with p∤anp \nmid a_n,  p∣ai\ p \mid a_i for all i<ni < n, and p2∤a0p^2 \nmid a_0. Then ff is irreducible over Q\mathbb Q.

Proof

Suppose f=ghf = gh over Z\mathbb Z with g=brxr+⋯+b0g = b_rx^r + \cdots + b_0 and h=csxs+⋯+c0h = c_sx^s + \cdots + c_0, both of positive degree. Since p∣a0=b0c0p \mid a_0 = b_0c_0 but p2∤a0p^2 \nmid a_0, exactly one of b0,c0b_0, c_0 is divisible by pp; say p∣b0p \mid b_0, p∤c0p \nmid c_0. Not every bib_i is divisible by pp (otherwise p∣an=brcsp \mid a_n = b_rc_s). Let k≤r<nk \le r < n be the first index with p∤bkp \nmid b_k. Then ak=bkc0+bk−1c1+⋯+b0cka_k = b_kc_0 + b_{k-1}c_1 + \cdots + b_0c_k. Every term but the first is divisible by pp, and the first is not, so p∤akp \nmid a_k, contradicting k<nk < n.

∎
ExampleUsing Eisenstein
  • xn−2x^n - 2 is irreducible for every nn (p=2p = 2). So 2n\sqrt[n]2 is not a root of any rational polynomial of lower degree.
  • x5+6x3−9x+12x^5 + 6x^3 - 9x + 12: p=3p = 3 divides 6,−9,126, -9, 12, and 9∤129 \nmid 12. Irreducible.
  • The cyclotomic polynomial Φp(x)=xp−1+⋯+x+1\Phi_p(x) = x^{p-1} + \cdots + x + 1 (for prime pp) is irreducible: substitute x=y+1x = y + 1 and Eisenstein applies with that prime. This is behind the result that a regular pp-gon can be constructed with ruler and compasses only when pp is a Fermat prime.

Vieta, symmetric polynomials and Newton’s identities (university)

If xn+cn−1xn−1+⋯+c0=(x−α1)⋯(x−αn)x^n + c_{n-1}x^{n-1} + \cdots + c_0 = (x - \alpha_1)\cdots(x - \alpha_n), expanding the right-hand side gives Vieta's formulas:

e1=∑αi=−cn−1,e2=∑i<jαiαj=cn−2,…,en=α1⋯αn=(−1)nc0.e_1 = \sum\alpha_i = -c_{n-1},\quad e_2 = \sum_{i<j}\alpha_i\alpha_j = c_{n-2},\quad \ldots,\quad e_n = \alpha_1\cdots\alpha_n = (-1)^nc_0.

The eke_k are the elementary symmetric polynomials in the roots.

TheoremFundamental theorem of symmetric polynomials

Every polynomial in α1,…,αn\alpha_1, \ldots, \alpha_n that is unchanged by every permutation of the αi\alpha_i can be written uniquely as a polynomial in e1,…,ene_1, \ldots, e_n.

So any symmetric expression in the roots (such as ∑α2\sum\alpha^2 or ∑1α\sum\frac1{\alpha}) can be computed from the coefficients alone, without finding the roots. This is the engine behind many Further Maths "roots of polynomials" questions.

TheoremNewton's identities

Let pk=α1k+⋯+αnkp_k = \alpha_1^k + \cdots + \alpha_n^k (the power sums). Then

p1=e1,p2=e1p1−2e2,p3=e1p2−e2p1+3e3,p_1 = e_1,\quad p_2 = e_1p_1 - 2e_2,\quad p_3 = e_1p_2 - e_2p_1 + 3e_3,

and in general pk=e1pk−1−e2pk−2+⋯+(−1)k−2ek−1p1+(−1)k−1kekp_k = e_1p_{k-1} - e_2p_{k-2} + \cdots + (-1)^{k-2}e_{k-1}p_1 + (-1)^{k-1}ke_k for k≤nk \le n.

ProofFor k≥nk \ge n (the easy case)

Each root satisfies αn=e1αn−1−e2αn−2+⋯+(−1)n−1en\alpha^n = e_1\alpha^{n-1} - e_2\alpha^{n-2} + \cdots + (-1)^{n-1}e_n. Multiply by αk−n\alpha^{k-n} and sum over the roots: pk=e1pk−1−e2pk−2+⋯+(−1)n−1enpk−np_k = e_1p_{k-1} - e_2p_{k-2} + \cdots + (-1)^{n-1}e_np_{k-n}. This is exactly what question Q52 did for k=n=3k = n = 3.

∎
ExampleThe discriminant

For a quadratic with roots α,β\alpha, \beta: (α−β)2=(α+β)2−4αβ=e12−4e2(\alpha - \beta)^2 = (\alpha + \beta)^2 - 4\alpha\beta = e_1^2 - 4e_2, i.e. b2−4acb^2 - 4ac (divided by a2a^2). For a cubic x3+px+qx^3 + px + q, the symmetric expression ∏i<j(αi−αj)2\prod_{i<j}(\alpha_i - \alpha_j)^2 equals −4p3−27q2-4p^3 - 27q^2. It is positive for three distinct real roots and negative for one real root. (Check with Q39: x3−12x+kx^3 - 12x + k gives 6912−27k2>0  ⟺  ∣k∣<166912 - 27k^2 > 0 \iff |k| < 16.)

Interpolation, finite differences and approximation (university)

Lagrange interpolation

Given n+1n + 1 points (x0,y0),…,(xn,yn)(x_0, y_0), \ldots, (x_n, y_n) with distinct xix_i, there is exactly one polynomial of degree ≤n\le n through them:

L(x)=∑i=0nyi∏j≠ix−xjxi−xj.L(x) = \sum_{i=0}^{n} y_i\prod_{j \ne i}\frac{x - x_j}{x_i - x_j}.

Each product is 11 at xix_i and 00 at the other xjx_j, so L(xi)=yiL(x_i) = y_i. Uniqueness comes from "degree ≤n\le n with n+1n + 1 roots means zero". Questions Q47 and Q57 are interpolation problems in disguise.

Finite differences

For a sequence of values f(0),f(1),f(2),…f(0), f(1), f(2), \ldots define Δf(x)=f(x+1)−f(x)\Delta f(x) = f(x + 1) - f(x).

Theorem

ff is a polynomial of degree nn if and only if Δnf\Delta^nf is a non-zero constant (and Δn+1f=0\Delta^{n+1}f = 0). Moreover

f(x)=∑k=0n(xk)Δkf(0)(Newton’s forward difference formula).f(x) = \sum_{k=0}^{n}\binom{x}{k}\Delta^kf(0) \qquad (\text{Newton's forward difference formula}).

This is how you find the formula for a sequence like 1,5,14,30,55,…1, 5, 14, 30, 55, \ldots: the third differences are constant, so it is a cubic (here n(n+1)(2n+1)6\frac{n(n + 1)(2n + 1)}{6}). It is also the discrete version of Taylor's theorem, with (xk)\binom xk playing the role of xkk!\frac{x^k}{k!}.

Why polynomials are everywhere: approximation

TheoremWeierstrass approximation theorem (1885)

Every continuous function on a closed interval [a,b][a, b] can be approximated uniformly by polynomials: for every ε>0\varepsilon > 0 there is a polynomial pp with ∣f(x)−p(x)∣<ε|f(x) - p(x)| < \varepsilon for all x∈[a,b]x \in [a, b].

One beautiful proof (Bernstein, 1912) uses probability: on [0,1][0, 1], Bn(x)=∑k=0nf(kn)(nk)xk(1−x)n−kB_n(x) = \sum_{k=0}^{n} f\left(\frac kn\right)\binom nk x^k(1 - x)^{n-k} is the expected value of f(Xˉ)f(\bar X) when Xˉ\bar X is the proportion of successes in nn trials with success probability xx. As n→∞n \to \infty, Xˉ\bar X concentrates at xx (the law of large numbers), so Bn→fB_n \to f. The same Bernstein polynomials define the Bézier curves used in every font and drawing program.

Common mistakeInterpolation is not approximation

Forcing a high-degree polynomial through many equally spaced points can go badly wrong. For f(x)=11+25x2f(x) = \frac{1}{1 + 25x^2} on [−1,1][-1, 1] the interpolants oscillate wildly near the ends as the degree grows (Runge's phenomenon). The cure is to bunch the points near the ends (Chebyshev nodes cos⁡(2k+1)π2n+2\cos\frac{(2k + 1)\pi}{2n + 2}).

Why does this work?

Why does this work?Why does the factor theorem need f(a)=0f(a) = 0 exactly?

Dividing by (x−a)(x - a) always leaves a constant remainder rr, and substituting x=ax = a shows r=f(a)r = f(a). So (x−a)(x - a) divides ff exactly when that remainder is zero. It is the polynomial version of "7 divides 91 because 91=7×1391 = 7 \times 13 with nothing left over".

Beyond the syllabus

Beyond the syllabusThe fundamental theorem of algebra

Every non-constant polynomial with complex coefficients has a complex root. Applying the factor theorem repeatedly, a polynomial of degree nn factorises completely into nn linear factors over C\mathbb C. Real polynomials factorise into real linear and quadratic factors, because non-real roots come in conjugate pairs. The first complete proof is usually credited to Gauss; a modern proof uses Liouville's theorem from complex analysis.

Beyond the syllabusWhy there is no quintic formula: a glimpse of Galois theory

Quadratics, cubics and quartics have formulae using +,−,×,÷+, -, \times, \div and roots. In 1824 Abel proved there is no such formula for general polynomials of degree 5 or more. Galois explained why: each polynomial has a group of symmetries permuting its roots. A polynomial is solvable by radicals exactly when this group can be broken down into a chain of simple abelian pieces (it is "solvable"). The symmetric group S5S_5, the symmetry group of a general quintic, is not solvable. For example, x5−x−1=0x^5 - x - 1 = 0 has a root near 1.16731.1673 that cannot be written using radicals. This was the birth of abstract algebra.

Mathematical curiosities

Mathematical curiosityLagrange interpolation

Through any n+1n + 1 points with distinct xx-coordinates passes exactly one polynomial of degree at most nn. So "find the next term of 1,2,4,8,16,…1, 2, 4, 8, 16, \dots" has infinitely many polynomial answers, including 3131.

Further exploration

Further explorationInvestigations
  • Show that if a polynomial with integer coefficients has a rational root pq\frac pq (lowest terms), then pp divides the constant term and qq divides the leading coefficient.
  • Find the cubic formula (Cardano) by substituting x=u+vx = u + v into x3+px+q=0x^3 + px + q = 0.

Reading pathway: Galois Theory (Ian Stewart), which starts from quadratics and builds to the quintic.

Now practise60 questions from Very easy to Extreme →