Lemma
← All topics
Pure mathematics

Algebraic methods

The grammar every other topic is written in.

Introduction

This topic collects the algebraic skills that the rest of A level takes for granted: the laws of indices, surds, quadratics (completing the square and the discriminant), simultaneous equations with one linear and one quadratic, and linear and quadratic inequalities.

Very few exam questions are labelled "algebra", but almost every mark you lose elsewhere is lost here: a sign error, a wrongly cancelled fraction, a missed solution. Fluency in this topic is the single best investment you can make.

Why it matters

A quadratic models anything that speeds up or slows down steadily: a thrown ball, a profit curve, the area of a pen. Solving the quadratic answers the real question: when does the ball land? what price maximises profit?

The discriminant tells you how many answers there are before you solve. That is what lets you decide whether a line hits a curve, misses it, or just touches it as a tangent. You will use it in coordinate geometry, calculus and Further Maths.

Intuitive explanation

IntuitionCompleting the square shows you the shape

y=x2−6x+5y = x^2 - 6x + 5 hides its shape. Rewrite it as y=(x−3)2−4y = (x - 3)^2 - 4 and you can read off everything: the graph is y=x2y = x^2 moved right 3 and down 4, so the vertex is (3,−4)(3, -4) and the minimum value is −4-4.

IntuitionThe discriminant counts crossings

The roots of ax2+bx+c=0ax^2 + bx + c = 0 are where the parabola crosses the xx-axis. The quantity b2−4acb^2 - 4ac sits under a square root in the formula. Positive: two crossings. Zero: the parabola just touches the axis. Negative: it misses entirely.

Formal definitions

DefinitionIndex laws

For a>0a > 0 and any real m,nm, n:  am×an=am+n\ a^m \times a^n = a^{m+n},  am÷an=am−n\ a^m \div a^n = a^{m-n},  (am)n=amn\ (a^m)^n = a^{mn},  a0=1\ a^0 = 1,  a−n=1an\ a^{-n} = \dfrac{1}{a^n},  amn=amn=(an)m\ a^{\frac mn} = \sqrt[n]{a^m} = \left(\sqrt[n]a\right)^m.

DefinitionSurd

A surd is an irrational root such as 2\sqrt 2 or 53\sqrt[3]{5}. A surd is in simplest form when the number under the root has no square factor: 50=52\sqrt{50} = 5\sqrt2.

DefinitionDiscriminant

For ax2+bx+cax^2 + bx + c with a≠0a \ne 0, the discriminant is Δ=b2−4ac\Delta = b^2 - 4ac.

Notation

  • Set notation for inequalities: {x:x<−1}∪{x:x>3}\{x : x < -1\} \cup \{x : x > 3\} means "x<−1x < -1 or x>3x > 3"; {x:−1<x<3}\{x : -1 < x < 3\} means both at once.
  • Interval notation is sometimes used: (−1,3)(-1, 3) for −1<x<3-1 < x < 3, [−1,3][-1, 3] for −1≤x≤3-1 \le x \le 3.
  • On graphs, a solid line is included (≤,≥\le, \ge) and a dashed line is not (<,><, >).

Key identities

IdentitiesMust-know algebra
(a+b)2=a2+2ab+b2a2−b2=(a−b)(a+b)ab=ab,ab=ab(a+b)(a−b)=a−bax2+bx+c=a(x+b2a)2+c−b24a\begin{aligned} (a + b)^2 &= a^2 + 2ab + b^2 \\ a^2 - b^2 &= (a - b)(a + b) \\ \sqrt{ab} &= \sqrt a\sqrt b, \quad \sqrt{\tfrac ab} = \tfrac{\sqrt a}{\sqrt b} \\ (\sqrt a + \sqrt b)(\sqrt a - \sqrt b) &= a - b \\ ax^2 + bx + c &= a\left(x + \tfrac{b}{2a}\right)^2 + c - \tfrac{b^2}{4a} \end{aligned}

Key results

TheoremThe quadratic formula

The solutions of ax2+bx+c=0ax^2 + bx + c = 0 (a≠0a \ne 0) are x=−b±b2−4ac2a.\displaystyle x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}.

TheoremNature of the roots
  • b2−4ac>0b^2 - 4ac > 0: two distinct real roots
  • b2−4ac=0b^2 - 4ac = 0: one repeated real root
  • b2−4ac<0b^2 - 4ac < 0: no real roots
PropositionLine meets curve

Substitute the line into the curve to get a quadratic. Two distinct roots: the line cuts the curve twice. Repeated root: the line is a tangent. No real roots: the line misses the curve.

Proofs

ProofThe quadratic formula, by completing the square

Divide ax2+bx+c=0ax^2 + bx + c = 0 by aa:  x2+bax=−ca\ x^2 + \frac ba x = -\frac ca. Add (b2a)2\left(\frac{b}{2a}\right)^2 to both sides:

(x+b2a)2=b24a2−ca=b2−4ac4a2.\left(x + \frac{b}{2a}\right)^2 = \frac{b^2}{4a^2} - \frac ca = \frac{b^2 - 4ac}{4a^2}.

Take square roots: x+b2a=±b2−4ac2ax + \frac{b}{2a} = \pm\frac{\sqrt{b^2 - 4ac}}{2a}, which rearranges to the formula.

∎

This proof also shows why the discriminant decides the number of roots: we can only take the square root if b2−4ac≥0b^2 - 4ac \ge 0.

Methods

MethodRationalising a denominator
  • ka\dfrac{k}{\sqrt a}: multiply top and bottom by a\sqrt a.
  • ka+b\dfrac{k}{a + \sqrt b}: multiply top and bottom by the conjugate a−ba - \sqrt b, using (a+b)(a−b)=a2−b(a + \sqrt b)(a - \sqrt b) = a^2 - b.
MethodSolving a quadratic inequality
  1. Rearrange to (quadratic)>0(\text{quadratic}) > 0 (or <<, ≤\le, ≥\ge).
  2. Find the critical values (the roots).
  3. Sketch the parabola.
  4. Read off where the graph is above (or below) the axis.
MethodLinear and quadratic simultaneous equations

Rearrange the linear equation for one variable, substitute into the quadratic, solve, and then substitute back to find the other variable. Give answers in pairs.

Deriving the quadratic formula

Start from ax2+bx+c=0ax^2 + bx + c = 0 with a≠0a \ne 0. Divide by aa and complete the square:

x2+bax=−ca ⟹ (x+b2a)2=b24a2−ca=b2−4ac4a2.x^2 + \frac bax = -\frac ca \ \Longrightarrow\ \left(x + \frac{b}{2a}\right)^2 = \frac{b^2}{4a^2} - \frac ca = \frac{b^2 - 4ac}{4a^2}.

Take square roots (possible for real xx only if b2−4ac≥0b^2 - 4ac \ge 0):

x+b2a=±b2−4ac2a ⟹ x=−b±b2−4ac2a.x + \frac{b}{2a} = \pm\frac{\sqrt{b^2 - 4ac}}{2a} \ \Longrightarrow\ x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}.

So the formula is completing the square, done once and for all. The discriminant Δ=b2−4ac\Delta = b^2 - 4ac decides everything: two real roots (Δ>0\Delta > 0), one repeated root (Δ=0\Delta = 0) or none (Δ<0\Delta < 0).

Why the roots sum to −b/a

If the roots are α\alpha and β\beta, then ax2+bx+c=a(x−α)(x−β)=a(x2−(α+β)x+αβ)ax^2 + bx + c = a(x - \alpha)(x - \beta) = a\big(x^2 - (\alpha + \beta)x + \alpha\beta\big). Comparing coefficients: α+β=−ba\alpha + \beta = -\frac ba and αβ=ca\alpha\beta = \frac ca. Adding the two roots from the formula confirms it: the ±Δ\pm\sqrt\Delta parts cancel.

Why the index laws are forced

am⋅an=am+na^m\cdot a^n = a^{m+n} is obvious for whole numbers (count the factors). Every other definition is chosen to keep this law true:

  • a0⋅an=ana^0\cdot a^n = a^n forces a0=1a^0 = 1;
  • a−n⋅an=a0=1a^{-n}\cdot a^n = a^0 = 1 forces a−n=1ana^{-n} = \frac1{a^n};
  • (a1/n)n=a1\left(a^{1/n}\right)^n = a^1 forces a1/n=ana^{1/n} = \sqrt[n]a.

Examples

ExampleDiscriminant with a parameter

Find the values of kk for which x2+kx+9=0x^2 + kx + 9 = 0 has equal roots.

Equal roots: k2−4(1)(9)=0k^2 - 4(1)(9) = 0, so k2=36k^2 = 36 and k=±6k = \pm 6.

More examples, fully worked, are in the Worked examples tab.

Common mistakes

Common mistakeDividing an inequality by a negative

−2x>6-2x > 6 gives x<−3x < -3: the sign flips. Also never multiply an inequality by an expression whose sign you do not know (such as xx).

Common mistakeSquare root of a sum

9+16=5\sqrt{9 + 16} = 5, not 3+43 + 4. Similarly (a+b)2≠a2+b2(a + b)^2 \ne a^2 + b^2.

Common mistakeQuadratic inequality answers

For (x−1)(x−4)>0(x - 1)(x - 4) > 0 the answer is x<1x < 1 or x>4x > 4, never "4<x<14 < x < 1".

Common mistakeLosing a negative index

(18)−23=823=4\left(\frac{1}{8}\right)^{-\frac23} = 8^{\frac23} = 4. Deal with the minus sign (flip the fraction) first.

Applications

  • Projectiles: height h=ut−4.9t2h = ut - 4.9t^2; solving h=0h = 0 gives the flight time.
  • Economics: profit is often quadratic in price; completing the square finds the maximum profit.
  • Engineering: surds appear in exact lengths (2\sqrt 2 for diagonals, 3\sqrt 3 in equilateral triangles).

Connections

Summary

  • Index laws, including a−n=1/ana^{-n} = 1/a^n and am/n=(an)ma^{m/n} = (\sqrt[n]a)^m.
  • Simplify surds using square factors; rationalise using the conjugate.
  • Completed square a(x+p)2+qa(x + p)^2 + q gives the vertex (−p,q)(-p, q).
  • Discriminant b2−4acb^2 - 4ac: >0>0 two roots, =0=0 repeated, <0<0 none.
  • Linear and quadratic simultaneous equations: substitute, solve, pair up the answers.
  • Quadratic inequalities: critical values, sketch, read off; use "or" for two separate regions.

Worked examples

Try each one yourself first, then open the solution.

Example 1A fractional negative index

Evaluate (278)−23\left(\dfrac{27}{8}\right)^{-\frac23}.

Show the solution
  1. 1Deal with the minus sign

    A negative index means reciprocal: (278)−23=(827)23\left(\frac{27}{8}\right)^{-\frac23} = \left(\frac{8}{27}\right)^{\frac23}.

  2. 2Take the root first

    The denominator 33 is a cube root: 8273=23\sqrt[3]{\frac{8}{27}} = \frac23.

  3. 3Then the power

    (23)2=49\left(\frac23\right)^2 = \frac49.

Answer

49\dfrac49

Root first, then power: the numbers stay small.

Example 2Writing in the form $ax^n$

Write 4−3x2x2\dfrac{4 - 3\sqrt x}{2x^2} as a sum of terms of the form axnax^n.

Show the solution
  1. 1Split the fraction
    42x2−3x2x2.\frac{4}{2x^2} - \frac{3\sqrt x}{2x^2}.
  2. 2Convert roots to powers

    x=x12\sqrt x = x^{\frac12}, so the second term is 32x12−2\frac32 x^{\frac12 - 2}.

  3. 3Simplify each term
    2x−2−32x−32.2x^{-2} - \tfrac32 x^{-\frac32}.
Answer

2x−2−32x−322x^{-2} - \tfrac32 x^{-\frac32}

This is the standard first step before differentiating or integrating.

Example 3Simplifying surds

Simplify 75−12+27\sqrt{75} - \sqrt{12} + \sqrt{27}.

Show the solution
  1. 1Find square factors

    75=25×375 = 25 \times 3, 12=4×312 = 4 \times 3, 27=9×327 = 9 \times 3.

  2. 2Simplify each surd

    53−23+335\sqrt3 - 2\sqrt3 + 3\sqrt3.

  3. 3Collect like surds

    =63= 6\sqrt3.

Answer

636\sqrt3

Example 4Rationalising with the conjugate

Write 5+32−3\dfrac{5 + \sqrt 3}{2 - \sqrt 3} in the form a+b3a + b\sqrt 3.

Show the solution
  1. 1Multiply by the conjugate
    (5+3)(2+3)(2−3)(2+3).\frac{(5 + \sqrt3)(2 + \sqrt3)}{(2 - \sqrt3)(2 + \sqrt3)}.
  2. 2Denominator

    (2−3)(2+3)=4−3=1(2 - \sqrt3)(2 + \sqrt3) = 4 - 3 = 1.

  3. 3Numerator

    10+53+23+3=13+7310 + 5\sqrt3 + 2\sqrt3 + 3 = 13 + 7\sqrt3.

Answer

13+7313 + 7\sqrt3

Example 5Completing the square with $a \ne 1$

Write 2x2−12x+72x^2 - 12x + 7 in the form a(x+p)2+qa(x + p)^2 + q, and state the coordinates of the turning point of y=2x2−12x+7y = 2x^2 - 12x + 7.

Show the solution
  1. 1Factor out aa from the xx terms

    2(x2−6x)+72(x^2 - 6x) + 7.

  2. 2Complete the square inside

    x2−6x=(x−3)2−9x^2 - 6x = (x - 3)^2 - 9, so we have 2[(x−3)2−9]+72\left[(x - 3)^2 - 9\right] + 7.

  3. 3Expand the outer bracket

    2(x−3)2−18+7=2(x−3)2−112(x - 3)^2 - 18 + 7 = 2(x - 3)^2 - 11.

  4. 4Read off the turning point

    The minimum is when x−3=0x - 3 = 0: turning point (3,−11)(3, -11).

Answer

2(x−3)2−112(x - 3)^2 - 11; turning point (3,−11)(3, -11)

Example 6Using the discriminant

The equation kx2+4x+(k−3)=0kx^2 + 4x + (k - 3) = 0 has two distinct real roots. Show that k2−3k−4<0k^2 - 3k - 4 < 0 and hence find the range of values of kk.

Show the solution
  1. 1Write the condition

    Two distinct real roots: b2−4ac>0b^2 - 4ac > 0, with a=ka = k, b=4b = 4, c=k−3c = k - 3.

  2. 2Substitute

    16−4k(k−3)>0⇒16−4k2+12k>016 - 4k(k - 3) > 0 \Rightarrow 16 - 4k^2 + 12k > 0.

  3. 3Rearrange

    Divide by −4-4 (flip the sign): k2−3k−4<0k^2 - 3k - 4 < 0.

  4. 4Critical values

    (k−4)(k+1)=0⇒k=−1,4(k - 4)(k + 1) = 0 \Rightarrow k = -1, 4.

  5. 5Read off the region

    The parabola is below the axis between the roots: −1<k<4-1 < k < 4. We also need k≠0k \ne 0 for a quadratic.

Answer

−1<k<4-1 < k < 4, k≠0k \ne 0

Watch for the hidden condition a≠0a \ne 0 when the leading coefficient depends on kk.

Example 7A line and a curve

Solve the simultaneous equations  x+y=5,  x2+y2=13\ x + y = 5,\ \ x^2 + y^2 = 13.

Show the solution
  1. 1Rearrange the linear equation

    y=5−xy = 5 - x.

  2. 2Substitute

    x2+(5−x)2=13⇒2x2−10x+25=13⇒x2−5x+6=0x^2 + (5 - x)^2 = 13 \Rightarrow 2x^2 - 10x + 25 = 13 \Rightarrow x^2 - 5x + 6 = 0.

  3. 3Solve

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

  4. 4Find the matching yy values

    x=2⇒y=3x = 2 \Rightarrow y = 3;  x=3⇒y=2\ x = 3 \Rightarrow y = 2.

Answer

(2,3)(2, 3) and (3,2)(3, 2)

Example 8Tangent condition

Find the values of cc for which the line y=2x+cy = 2x + c is a tangent to the curve y=x2+4x+5y = x^2 + 4x + 5.

Show the solution
  1. 1Set equal

    x2+4x+5=2x+c⇒x2+2x+(5−c)=0x^2 + 4x + 5 = 2x + c \Rightarrow x^2 + 2x + (5 - c) = 0.

  2. 2Tangent means a repeated root

    b2−4ac=0b^2 - 4ac = 0:  4−4(5−c)=0\ 4 - 4(5 - c) = 0.

  3. 3Solve

    4−20+4c=0⇒c=44 - 20 + 4c = 0 \Rightarrow c = 4.

Answer

c=4c = 4

Example 9A quadratic inequality

Solve x2−x−12≥0x^2 - x - 12 \ge 0, giving your answer in set notation.

Show the solution
  1. 1Critical values

    (x−4)(x+3)=0⇒x=−3,4(x - 4)(x + 3) = 0 \Rightarrow x = -3, 4.

  2. 2Sketch

    A U-shaped parabola crossing the xx-axis at −3-3 and 44.

  3. 3Read off

    The graph is on or above the axis outside the roots: x≤−3x \le -3 or x≥4x \ge 4.

Answer

{x:x≤−3}∪{x:x≥4}\{x : x \le -3\} \cup \{x : x \ge 4\}

Example 10Combining two inequalities

Find the set of values of xx for which both 3x−2>43x - 2 > 4 and x2−7x+10<0x^2 - 7x + 10 < 0.

Show the solution
  1. 1Linear inequality

    3x>6⇒x>23x > 6 \Rightarrow x > 2.

  2. 2Quadratic inequality

    (x−2)(x−5)<0⇒2<x<5(x - 2)(x - 5) < 0 \Rightarrow 2 < x < 5.

  3. 3Intersect on a number line

    Both hold where they overlap: 2<x<52 < x < 5.

Answer

{x:2<x<5}\{x : 2 < x < 5\}

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.

Polynomial equations, from Babylon to Galois (university)

The quadratic formula was known, in words, to Babylonian scribes around 1800 BC. What about higher degrees?

TheoremFundamental theorem of algebra

Every non-constant polynomial with complex coefficients has a complex root. Hence a polynomial of degree nn factorises completely as a(x−r1)(x−r2)⋯(x−rn)a(x - r_1)(x - r_2)\cdots(x - r_n) over C\mathbb C.

First proved convincingly by Gauss (1799) and Argand (1806). One proof idea: for large ∣z∣|z|, p(z)p(z) behaves like znz^n and winds nn times round the origin as zz goes round a big circle. Shrink the circle to a point and the winding number must drop to 00, which can only happen by passing through a zero of pp.

Vieta's formulas

Expanding (x−r1)⋯(x−rn)(x - r_1)\cdots(x - r_n) shows the coefficients are the elementary symmetric functions of the roots:

x3−e1x2+e2x−e3,e1=∑ri,  e2=∑i<jrirj,  e3=r1r2r3.x^3 - e_1x^2 + e_2x - e_3, \qquad e_1 = \sum r_i,\ \ e_2 = \sum_{i<j}r_ir_j,\ \ e_3 = r_1r_2r_3.

Every symmetric polynomial in the roots (like r12+r22+r32=e12−2e2r_1^2 + r_2^2 + r_3^2 = e_1^2 - 2e_2) can be written in terms of these. That is what questions Q37, Q47 and Q60 use.

The cubic and quartic

In 16th-century Italy, solving cubics was a matter of public contests and guarded secrets. Del Ferro and Tartaglia found the method; Cardano published it in 1545:

x3+px+q=0 ⇒ x=−q2+q24+p3273+−q2−q24+p3273.x^3 + px + q = 0 \ \Rightarrow\ x = \sqrt[3]{-\frac q2 + \sqrt{\frac{q^2}{4} + \frac{p^3}{27}}} + \sqrt[3]{-\frac q2 - \sqrt{\frac{q^2}{4} + \frac{p^3}{27}}}.

Ferrari solved the quartic soon after.

ParadoxReal roots through imaginary numbers

For x3−15x−4=0x^3 - 15x - 4 = 0, Cardano's formula needs −121\sqrt{-121}, yet the equation has the real root x=4x = 4. Bombelli (1572) showed that (2±i)3=2±11i(2 \pm i)^3 = 2 \pm 11i, so the formula gives (2+i)+(2−i)=4(2 + i) + (2 - i) = 4. This forced mathematicians to take complex numbers seriously, centuries before they had any geometric picture of them.

TheoremAbel–Ruffini (1824)

There is no general formula for the roots of a polynomial of degree 55 or more using only +,−,×,÷+, -, \times, \div and roots.

Galois (who died in a duel at 20, in 1832) explained exactly why. Each polynomial has a symmetry group of its roots. The equation is solvable by radicals precisely when that group is "solvable". For degree 55 the full symmetry group S5S_5 is not solvable. x5−x−1=0x^5 - x - 1 = 0 has a real root (≈1.1673\approx 1.1673) that cannot be written with radicals at all. Galois theory became one of the foundations of modern algebra.

The great inequalities (university)

Almost every inequality in this topic comes from one fact: a square is never negative. Three classical inequalities organise the whole subject.

TheoremAM–GM

For non-negative a1,…,ana_1, \ldots, a_n:

a1+⋯+ann≥a1a2⋯ann,\frac{a_1 + \cdots + a_n}{n} \ge \sqrt[n]{a_1a_2\cdots a_n},

with equality iff all the aia_i are equal.

ProofBy induction on n (Pólya's smoothing idea)

If the numbers are not all equal, some aia_i is above the mean AA and some aja_j below it. Replace aia_i by AA and aja_j by ai+aj−Aa_i + a_j - A. The sum, and so the mean, is unchanged, but the product increases, because

A(ai+aj−A)−aiaj=(ai−A)(A−aj)>0.A(a_i + a_j - A) - a_ia_j = (a_i - A)(A - a_j) > 0.

Each such step makes one more number equal to AA, so after at most n−1n - 1 steps all equal AA and the product is AnA^n. Since the product only ever increased, the original product was at most AnA^n. ■\blacksquare

∎
TheoremCauchy–Schwarz
(∑aibi)2≤(∑ai2)(∑bi2).\left(\sum a_ib_i\right)^2 \le \left(\sum a_i^2\right)\left(\sum b_i^2\right).

Proof: the quadratic ∑(ait+bi)2=t2∑ai2+2t∑aibi+∑bi2\sum(a_it + b_i)^2 = t^2\sum a_i^2 + 2t\sum a_ib_i + \sum b_i^2 is ≥0\ge 0 for all real tt, so its discriminant is ≤0\le 0. That is the inequality. A discriminant argument, exactly as in questions Q30 and Q51.

TheoremJensen's inequality

If ff is convex (curving upwards, f′′≥0f'' \ge 0), then f(x1+⋯+xnn)≤f(x1)+⋯+f(xn)nf\left(\frac{x_1 + \cdots + x_n}{n}\right) \le \frac{f(x_1) + \cdots + f(x_n)}{n}.

Taking f(x)=−ln⁡xf(x) = -\ln x gives AM–GM. Taking f(x)=x2f(x) = x^2 gives "the mean of the squares is at least the square of the mean", which is why a variance is never negative.

ExampleThe chain of means

For positive a,ba, b:

21a+1b⏟harmonic≤ab⏟geometric≤a+b2⏟arithmetic≤a2+b22⏟quadratic,\underbrace{\frac{2}{\frac1a + \frac1b}}_{\text{harmonic}} \le \underbrace{\sqrt{ab}}_{\text{geometric}} \le \underbrace{\frac{a + b}{2}}_{\text{arithmetic}} \le \underbrace{\sqrt{\frac{a^2 + b^2}{2}}}_{\text{quadratic}},

with equality throughout iff a=ba = b. There is a classic picture: in a semicircle on a segment of length a+ba + b, all four appear as lengths.

What numbers are: building the number systems (university)

Each time an equation had no solution, mathematicians built a bigger number system.

EquationNeedsSystem
x+3=1x + 3 = 1negativesintegers Z\mathbb Z
3x=13x = 1fractionsrationals Q\mathbb Q
x2=2x^2 = 2irrationalsreals R\mathbb R
x2=−1x^2 = -1iicomplex numbers C\mathbb C

The fundamental theorem of algebra says the process stops at C\mathbb C: every polynomial equation already has its solutions there.

DefinitionField

A set with ++ and ×\times obeying the usual rules (associative, commutative, distributive, with 00, 11, negatives and, for non-zero elements, reciprocals). Q\mathbb Q, R\mathbb R and C\mathbb C are fields; Z\mathbb Z is not (12∉Z\frac12 \notin \mathbb Z).

Surds as a number system

The numbers a+b2a + b\sqrt2 with a,b∈Qa, b \in \mathbb Q form a field, written Q(2)\mathbb Q(\sqrt2). Rationalising the denominator is exactly the proof that reciprocals stay inside:

1a+b2=a−b2a2−2b2.\frac{1}{a + b\sqrt2} = \frac{a - b\sqrt2}{a^2 - 2b^2}.

The denominator is never 00 (unless a=b=0a = b = 0), because 2\sqrt2 is irrational. The "conjugate" a−b2a - b\sqrt2 is the image of a+b2a + b\sqrt2 under a symmetry of this field that swaps 2\sqrt2 and −2-\sqrt2. That symmetry is the simplest example of a Galois group.

What makes ℝ different from ℚ: completeness

The decimals 1,1.4,1.41,1.414,…1, 1.4, 1.41, 1.414, \ldots get ever closer together, but in Q\mathbb Q there is nothing for them to converge to. The real numbers are defined to fill every such gap.

TheoremCompleteness axiom

Every non-empty set of reals that is bounded above has a least upper bound.

In Q\mathbb Q, the set {x:x2<2}\{x : x^2 < 2\} has upper bounds but no least one. Completeness is what makes calculus work: it guarantees the intermediate value theorem, the existence of limits like e=lim⁡(1+1n)ne = \lim\left(1 + \frac1n\right)^n, and the convergence of 6+6+⋯\sqrt{6 + \sqrt{6 + \cdots}} (question Q59).

Mathematical curiosityConstructing the reals

Dedekind (1872) defined a real number as a "cut": a way of splitting Q\mathbb Q into a lower and an upper part. Thus 2\sqrt2 is the pair {x:x<0 or x2<2}\{x : x < 0 \text{ or } x^2 < 2\} and the rest. Cantor instead used sequences of rationals that bunch together. Both constructions give the same R\mathbb R, and both make precise something the Greeks first noticed with 2\sqrt2: that rational numbers alone leave gaps.

Why does this work?

Why does this work?Why does completing the square find the minimum?

a(x+p)2+qa(x + p)^2 + q is a square multiplied by a>0a > 0, plus a constant. A square is never negative and equals 00 only when x=−px = -p. So the smallest value is qq, reached exactly at x=−px = -p. Every quadratic can be written this way because (x+p)2=x2+2px+p2(x + p)^2 = x^2 + 2px + p^2 can match any x2+bxx^2 + bx by choosing p=b2p = \frac b2 and correcting with −p2-p^2.

Why does this work?Why does the conjugate rationalise?

(a+b)(a−b)=a2−(b)2=a2−b(a + \sqrt b)(a - \sqrt b) = a^2 - (\sqrt b)^2 = a^2 - b, a difference of two squares in which the square root disappears.

Beyond the syllabus

Beyond the syllabusThe AM–GM and Cauchy–Schwarz inequalities

For non-negative reals, x1+⋯+xnn≥x1⋯xnn\dfrac{x_1 + \dots + x_n}{n} \ge \sqrt[n]{x_1\cdots x_n}, with equality only when all the xix_i are equal. The two-variable case is (a−b)2≥0(\sqrt a - \sqrt b)^2 \ge 0.

Cauchy–Schwarz: (∑aibi)2≤(∑ai2)(∑bi2)\left(\sum a_ib_i\right)^2 \le \left(\sum a_i^2\right)\left(\sum b_i^2\right).

Proof. The quadratic ∑(ait+bi)2=(∑ai2)t2+2(∑aibi)t+∑bi2\sum(a_it + b_i)^2 = \left(\sum a_i^2\right)t^2 + 2\left(\sum a_ib_i\right)t + \sum b_i^2 is never negative, so its discriminant is ≤0\le 0: 4(∑aibi)2−4∑ai2∑bi2≤04(\sum a_ib_i)^2 - 4\sum a_i^2\sum b_i^2 \le 0. ■\blacksquare

The same argument works in any inner product space, which is why Cauchy–Schwarz appears in geometry, probability (∣Cov⁡(X,Y)∣≤σXσY|\operatorname{Cov}(X, Y)| \le \sigma_X\sigma_Y) and quantum mechanics (the uncertainty principle).

Beyond the syllabusQuadratic forms

Completing the square works in several variables. For example x2+4xy+5y2=(x+2y)2+y2>0x^2 + 4xy + 5y^2 = (x + 2y)^2 + y^2 > 0 unless x=y=0x = y = 0: the form is positive definite. Deciding the sign of a quadratic form is the same as studying the eigenvalues of a symmetric matrix, a key idea in optimisation and in classifying stationary points of surfaces.

Mathematical curiosities

Mathematical curiosityThe golden ratio

x2=x+1x^2 = x + 1 has positive root φ=1+52\varphi = \frac{1 + \sqrt5}{2}. Then φ=1+1φ=1+11+11+⋯\varphi = 1 + \frac1\varphi = 1 + \cfrac{1}{1 + \cfrac{1}{1 + \cdots}}, and φ=1+1+1+⋯\varphi = \sqrt{1 + \sqrt{1 + \sqrt{1 + \cdots}}}. Ratios of consecutive Fibonacci numbers tend to φ\varphi.

Mathematical curiosityInfinite power towers

222⋯=2\sqrt2^{\sqrt2^{\sqrt2^{\cdots}}} = 2: if the tower converges to TT then T=2 TT = \sqrt2^{\,T}, which has solutions 22 and 44; starting from 2\sqrt 2 the iterates increase towards 22.

Further exploration

Further explorationInvestigations
  • Prove a2+b2+c2≥ab+bc+caa^2 + b^2 + c^2 \ge ab + bc + ca for all reals. (Hint: double it and write as a sum of squares.)
  • For which kk is x2+kxy+y2≥0x^2 + kxy + y^2 \ge 0 for all real x,yx, y?
  • Use AM–GM to find the box of largest volume made from a square sheet by cutting out corners.

Reading pathway: Inequalities (Hardy, Littlewood and Pólya) for the classics; The Cauchy–Schwarz Master Class (Steele) for problem solving.

Now practise65 questions from Very easy to Extreme →