A-Level Mathematics – Chapter 10: Proof and Further Functions

Edexcel · AQA · OCR  ·  A-Level Mathematics  ·  Updated March 2026

Proof is the bedrock of mathematics: it transforms plausible observations into certainties. This chapter develops three key proof methods — deduction, exhaustion, and contradiction — and applies them to classic results. The second half of the chapter extends your understanding of functions to include the modulus function and the construction of composite and inverse functions.

Specification Note

Content labelled Year 2 is A2-level only and is not required for the AS qualification. The proof methods in Sections 10.1 and 10.2 are required for both AS and A-Level.

Contents

  1. 10.1 Types of Proof
  2. 10.2 Proof by Contradiction
  3. 10.3 The Modulus Function Year 2
  4. 10.4 Composite and Inverse Functions Year 2
  5. Practice Problems

10.1 Types of Proof

A mathematical proof is a sequence of logical steps that establishes the truth of a statement beyond all doubt. There are three methods you need for A-Level.

Definition — Proof by Deduction

Start from known facts and axioms, then apply logical rules step by step to reach the desired conclusion. This is the most common proof method and applies to all algebraic identities, divisibility results, and inequalities.

Example 10.1.1 — Prove that the product of two odd integers is odd.

Let $m$ and $n$ be odd integers. Then $m = 2a + 1$ and $n = 2b + 1$ for some integers $a, b$.

$$mn = (2a+1)(2b+1) = 4ab + 2a + 2b + 1 = 2(2ab + a + b) + 1$$

Since $2ab + a + b$ is an integer, $mn$ is of the form $2k + 1$, which is odd. $\square$

Example 10.1.2 — Prove that $n^2 - n$ is even for all integers $n$.

$n^2 - n = n(n-1)$. This is the product of two consecutive integers. One of any two consecutive integers must be even, so their product is even. $\square$

Alternatively by deduction: Either $n = 2k$ (even), giving $n(n-1) = 2k(2k-1)$, which is even; or $n = 2k+1$ (odd), giving $n(n-1) = (2k+1)(2k) = 2k(2k+1)$, which is even. $\square$

Definition — Proof by Exhaustion

Check every possible case individually. This method is only practical when the number of cases is finite and small. It is important to ensure that the cases are exhaustive (they cover all possibilities) and mutually exclusive.

Example 10.1.3 — Prove that $n^2 + n + 41$ is prime for all integers $1 \le n \le 5$.

Check each case in turn:

All five cases yield a prime, so the statement holds for $1 \le n \le 5$. $\square$

Exam Tip

Proof by exhaustion proves a statement only for the finite set of cases checked — not in general. Note that $n = 40$ gives $40^2 + 40 + 41 = 41 \times 41 = 1681$, which is not prime. Always state the range to which your exhaustion applies.

Definition — Disproof by Counterexample

To disprove a universal statement ("for all $n$, …"), it suffices to find a single value of $n$ for which the statement is false. This is called a counterexample. You only need one counterexample, but it must be valid and clearly stated.

Example 10.1.4 — Disprove the claim: "For all real $x$, $x^2 > x$."

Let $x = \frac{1}{2}$. Then $x^2 = \frac{1}{4}$ and $x = \frac{1}{2}$, so $x^2 = \frac{1}{4} < \frac{1}{2} = x$.

This is a counterexample, so the claim is false. $\square$

Example 10.1.5 — Disprove: "If $p$ is prime then $p^2 + 2$ is prime."

Let $p = 3$. Then $p^2 + 2 = 9 + 2 = 11$, which is prime — so this case does not disprove it.

Let $p = 5$. Then $p^2 + 2 = 25 + 2 = 27 = 3 \times 9$, which is not prime.

Therefore $p = 5$ is a counterexample, and the claim is false. $\square$

Example 10.1.6 — Prove that if $n$ is an integer, then $n^3 - n$ is divisible by 6.

Factorise: $n^3 - n = n(n^2-1) = (n-1)n(n+1)$.

This is the product of three consecutive integers. Among any three consecutive integers, at least one is divisible by 2 and at least one by 3, so their product is divisible by $2 \times 3 = 6$. $\square$

10.2 Proof by Contradiction

In a proof by contradiction (also called reductio ad absurdum), you assume the negation of what you wish to prove and deduce a logical contradiction. Since the contradiction shows the assumption is impossible, the original statement must be true.

Method — Proof by Contradiction

  1. State clearly what you wish to prove.
  2. Assume the opposite (the negation) is true.
  3. Use logical deduction to reach a statement that is false (a contradiction — often of the original assumption or a known fact).
  4. Conclude that the assumption must be false, so the original statement is true.

Theorem — $\sqrt{2}$ is irrational

Proof. Assume for contradiction that $\sqrt{2}$ is rational. Then $\sqrt{2} = \frac{p}{q}$ where $p, q$ are integers with no common factor (the fraction is in its lowest terms), and $q \ne 0$.

Squaring: $2 = \frac{p^2}{q^2}$, so $p^2 = 2q^2$. This means $p^2$ is even, so $p$ must be even (since if $p$ were odd, $p^2$ would be odd). Write $p = 2k$.

Then $p^2 = 4k^2 = 2q^2$, giving $q^2 = 2k^2$, so $q^2$ is even, hence $q$ is even.

But now both $p$ and $q$ are even, contradicting the assumption that $\frac{p}{q}$ is in its lowest terms. Therefore $\sqrt{2}$ is irrational. $\square$

Example 10.2.1 — Prove that $\sqrt{3}$ is irrational.

Assume $\sqrt{3} = \frac{p}{q}$ in lowest terms. Then $p^2 = 3q^2$, so $3 \mid p^2$. Since 3 is prime, $3 \mid p$; write $p = 3k$.

Then $9k^2 = 3q^2 \Rightarrow q^2 = 3k^2$, so $3 \mid q$. Both $p$ and $q$ are divisible by 3, contradicting lowest terms. $\square$

Theorem — There are infinitely many prime numbers

Proof (Euclid). Assume for contradiction that there are only finitely many primes: $p_1, p_2, \ldots, p_n$.

Consider $N = p_1 p_2 \cdots p_n + 1$. Dividing $N$ by any $p_i$ leaves remainder 1, so $N$ is not divisible by any $p_i$.

Either $N$ is prime itself (a prime not in our list — contradiction), or $N$ has a prime factor not in $\{p_1, \ldots, p_n\}$ (also a contradiction).

In either case we have a contradiction, so there must be infinitely many primes. $\square$

Example 10.2.2 — Prove: there is no greatest even integer.

Assume for contradiction that there exists a greatest even integer $N$. Then $N + 2$ is also an even integer, and $N + 2 > N$, contradicting the assumption that $N$ is greatest. $\square$

Example 10.2.3 — Prove: $\log_2 3$ is irrational.

Assume $\log_2 3 = \frac{p}{q}$ for positive integers $p, q$. Then $2^{p/q} = 3$, so $2^p = 3^q$.

But $2^p$ is even and $3^q$ is odd, so they cannot be equal — a contradiction. Therefore $\log_2 3$ is irrational. $\square$

Exam Tip

Always begin a proof by contradiction with the phrase "Assume for contradiction that…" and end by explicitly identifying the contradiction and stating the conclusion. Marks are often awarded for clearly articulating these steps.

10.3 The Modulus Function Year 2

Definition — Modulus Function

The modulus (or absolute value) of a real number $x$ is defined as: $$|x| = \begin{cases} x & \text{if } x \ge 0 \\ -x & \text{if } x < 0 \end{cases}$$ Geometrically, $|x|$ is the distance of $x$ from the origin on the number line. Key properties:

Figure 10.1 — Graph of $y = |x - 2|$ (blue) and $y = 3$ (red). The intersections show the solutions to $|x-2| = 3$.

Solving Modulus Equations

To solve $|f(x)| = g(x)$, use the fact that $|A| = B$ (with $B \ge 0$) gives $A = B$ or $A = -B$.

Example 10.3.1 — Solve $|x - 2| = 3$.

Case 1: $x - 2 = 3 \Rightarrow x = 5$

Case 2: $x - 2 = -3 \Rightarrow x = -1$

Solutions: $x = 5$ or $x = -1$. (Both can be seen in Figure 10.1 where $y = |x-2|$ meets $y = 3$.)

Example 10.3.2 — Solve $|3x + 1| = 5$.

Case 1: $3x + 1 = 5 \Rightarrow 3x = 4 \Rightarrow x = \frac{4}{3}$

Case 2: $3x + 1 = -5 \Rightarrow 3x = -6 \Rightarrow x = -2$

Solutions: $x = \frac{4}{3}$ or $x = -2$.

Example 10.3.3 — Solve $|2x - 1| = x + 3$.

Note: we require $x + 3 \ge 0$, i.e., $x \ge -3$.

Case 1: $2x - 1 = x + 3 \Rightarrow x = 4$ ✓ (since $4 + 3 = 7 \ge 0$)

Case 2: $2x - 1 = -(x + 3) \Rightarrow 2x - 1 = -x - 3 \Rightarrow 3x = -2 \Rightarrow x = -\frac{2}{3}$ ✓ (since $-\frac{2}{3} + 3 = \frac{7}{3} \ge 0$)

Solutions: $x = 4$ or $x = -\frac{2}{3}$.

Example 10.3.4 — Solve $|x^2 - 4| = 5$.

Case 1: $x^2 - 4 = 5 \Rightarrow x^2 = 9 \Rightarrow x = \pm 3$

Case 2: $x^2 - 4 = -5 \Rightarrow x^2 = -1$, which has no real solutions.

Solutions: $x = 3$ or $x = -3$.

Sketching Modulus Graphs

To sketch $y = |f(x)|$: draw $y = f(x)$ first, then reflect any portion below the $x$-axis upwards (since the modulus makes everything non-negative).

Example 10.3.5 — Describe the graph of $y = |2x - 4|$.

Start with $y = 2x - 4$, a straight line with gradient 2, crossing the $x$-axis at $x = 2$.

For $x \ge 2$: $y = 2x - 4$ (unchanged, since $2x-4 \ge 0$).

For $x < 2$: $y = -(2x - 4) = -2x + 4$ (reflected upwards).

The graph is a V-shape with vertex at $(2, 0)$, with gradient $-2$ to the left and $+2$ to the right.

Exam Tip

When solving modulus equations graphically, sketch both sides of the equation as separate curves. The number of intersections gives the number of solutions. Always verify any solution by substituting back into the original equation.

10.4 Composite and Inverse Functions Year 2

Definition — Composite Function

Given functions $f$ and $g$, the composite function $fg$ (also written $f \circ g$) is defined by: $$fg(x) = f(g(x))$$ Apply $g$ first, then $f$. The domain of $fg$ is the set of $x$ in the domain of $g$ such that $g(x)$ lies in the domain of $f$.

Example 10.4.1 — Given $f(x) = 2x + 1$ and $g(x) = x^2$, find $fg(x)$ and $gf(x)$.

$fg(x) = f(g(x)) = f(x^2) = 2x^2 + 1$

$gf(x) = g(f(x)) = g(2x+1) = (2x+1)^2 = 4x^2 + 4x + 1$

Note that $fg(x) \ne gf(x)$ in general — composition is not commutative.

Example 10.4.2 — Find $ff(x)$ where $f(x) = \frac{1}{x+1}$, $x \ne -1$.

$ff(x) = f\!\left(\frac{1}{x+1}\right) = \frac{1}{\dfrac{1}{x+1} + 1} = \frac{1}{\dfrac{1 + x + 1}{x+1}} = \frac{x+1}{x+2}$, provided $x \ne -1$ and $x \ne -2$.

Definition — Inverse Function

The inverse function $f^{-1}$ of $f$ is the function satisfying $f^{-1}(f(x)) = x$ and $f(f^{-1}(x)) = x$. The inverse exists if and only if $f$ is a one-to-one (bijective) function on its domain. The domain of $f^{-1}$ equals the range of $f$, and vice versa.

The graph of $y = f^{-1}(x)$ is the reflection of $y = f(x)$ in the line $y = x$.

Figure 10.2 — A function $f(x) = 2^x$ (blue) and its inverse $f^{-1}(x) = \log_2 x$ (red), reflected in the line $y = x$ (dashed).

Example 10.4.3 — Find the inverse of $f(x) = 3x - 7$.

Step 1 Write $y = 3x - 7$.

Step 2 Rearrange for $x$: $x = \frac{y + 7}{3}$.

Step 3 Replace $y$ with $x$: $f^{-1}(x) = \frac{x + 7}{3}$.

Example 10.4.4 — Find the inverse of $f(x) = \frac{2x + 1}{x - 3}$, $x \ne 3$.

Let $y = \frac{2x+1}{x-3}$. Then $y(x-3) = 2x+1 \Rightarrow xy - 3y = 2x + 1 \Rightarrow xy - 2x = 3y + 1 \Rightarrow x(y-2) = 3y+1$.

So $x = \frac{3y+1}{y-2}$, giving $f^{-1}(x) = \frac{3x+1}{x-2}$, $x \ne 2$.

Restricting the Domain

A function that is not one-to-one (e.g., $f(x) = x^2$) does not have an inverse on its full natural domain. However, by restricting the domain to a region where $f$ is one-to-one, we can define an inverse on that restricted domain.

Example 10.4.5 — Find the inverse of $f(x) = x^2 + 3$ with domain $x \ge 0$.

On $x \ge 0$, $f$ is strictly increasing, hence one-to-one. The range of $f$ is $[3, \infty)$.

Let $y = x^2 + 3$. Then $x^2 = y - 3$, so $x = \sqrt{y-3}$ (positive square root since $x \ge 0$).

Therefore $f^{-1}(x) = \sqrt{x - 3}$, with domain $x \ge 3$.

Example 10.4.6 — Given $f(x) = (x-1)^2 - 4$ with domain $x \ge 1$, find $f^{-1}(x)$ and its domain.

Range of $f$: minimum value at $x = 1$ gives $f(1) = -4$, so range is $[-4, \infty)$.

Let $y = (x-1)^2 - 4$. Then $(x-1)^2 = y + 4$, so $x - 1 = \sqrt{y+4}$ (taking positive root).

$f^{-1}(x) = 1 + \sqrt{x + 4}$, domain $x \ge -4$.

Exam Tip

Always state the domain and range of the inverse function. A common error is forgetting to restrict the domain when dealing with quadratics or trigonometric functions. The domain of $f^{-1}$ must equal the range of $f$.

Practice Problems

Problem 1

Prove by deduction that the sum of three consecutive integers is divisible by 3.

Show Solution

Let the three consecutive integers be $n-1$, $n$, $n+1$. Their sum is $(n-1) + n + (n+1) = 3n$. Since $3n = 3 \times n$, it is divisible by 3. $\square$

Problem 2

Disprove the claim: "For all positive integers $n$, the expression $2n^2 - 1$ is prime."

Show Solution

Let $n = 4$: $2(16) - 1 = 31$, prime. Let $n = 5$: $2(25) - 1 = 49 = 7 \times 7$, not prime. So $n = 5$ is a counterexample. $\square$

Problem 3

Prove by contradiction that $\sqrt{5}$ is irrational.

Show Solution

Assume $\sqrt{5} = p/q$ in lowest terms. Then $p^2 = 5q^2$, so $5 \mid p^2$. Since 5 is prime, $5 \mid p$; write $p = 5k$. Then $25k^2 = 5q^2 \Rightarrow q^2 = 5k^2$, so $5 \mid q$. Both $p$ and $q$ are divisible by 5, contradicting lowest terms. $\square$

Problem 4

Solve $|4x - 3| = 9$.

Show Solution

Case 1: $4x - 3 = 9 \Rightarrow 4x = 12 \Rightarrow x = 3$.

Case 2: $4x - 3 = -9 \Rightarrow 4x = -6 \Rightarrow x = -\frac{3}{2}$.

Solutions: $x = 3$ or $x = -\frac{3}{2}$.

Problem 5

Solve $|2x + 5| = x + 4$.

Show Solution

Require $x + 4 \ge 0$, i.e. $x \ge -4$.

Case 1: $2x + 5 = x + 4 \Rightarrow x = -1$ ✓

Case 2: $2x + 5 = -(x+4) \Rightarrow 2x + 5 = -x - 4 \Rightarrow 3x = -9 \Rightarrow x = -3$ ✓

Solutions: $x = -1$ or $x = -3$.

Problem 6

Given $f(x) = x^2 - 1$ and $g(x) = 3x + 2$, find (a) $fg(x)$, (b) $gf(x)$, (c) $f^2(x) = ff(x)$.

Show Solution

(a) $fg(x) = f(3x+2) = (3x+2)^2 - 1 = 9x^2 + 12x + 4 - 1 = 9x^2 + 12x + 3$

(b) $gf(x) = g(x^2-1) = 3(x^2-1) + 2 = 3x^2 - 3 + 2 = 3x^2 - 1$

(c) $ff(x) = f(x^2-1) = (x^2-1)^2 - 1 = x^4 - 2x^2 + 1 - 1 = x^4 - 2x^2$

Problem 7

Find $f^{-1}(x)$ where $f(x) = \frac{x + 5}{2x - 1}$, $x \ne \frac{1}{2}$.

Show Solution

Let $y = \frac{x+5}{2x-1}$. Then $y(2x-1) = x+5 \Rightarrow 2xy - y = x + 5 \Rightarrow 2xy - x = y + 5 \Rightarrow x(2y-1) = y + 5$.

So $f^{-1}(x) = \frac{x+5}{2x-1}$, domain $x \ne \frac{1}{2}$. (This function is its own inverse.)

Problem 8

The function $f(x) = (2x + 3)^2 - 1$ has domain $x \ge -\frac{3}{2}$. Find $f^{-1}(x)$ and state its domain and range.

Show Solution

Range of $f$: minimum at $x = -\frac{3}{2}$: $f(-\frac{3}{2}) = 0 - 1 = -1$. Range: $[-1, \infty)$.

Let $y = (2x+3)^2 - 1$. Then $(2x+3)^2 = y+1$, so $2x+3 = \sqrt{y+1}$ (positive root since $x \ge -\frac{3}{2}$ means $2x + 3 \ge 0$).

$x = \frac{\sqrt{y+1} - 3}{2}$, so $f^{-1}(x) = \frac{\sqrt{x+1} - 3}{2}$.

Domain: $x \ge -1$. Range: $x \ge -\frac{3}{2}$.

Problem 9

Prove by exhaustion that for all integers $n$ with $0 \le n \le 4$, the value $6n^2 + 6n + 2$ is even.

Show Solution

$n=0$: $0 + 0 + 2 = 2$ ✓ even
$n=1$: $6 + 6 + 2 = 14$ ✓ even
$n=2$: $24 + 12 + 2 = 38$ ✓ even
$n=3$: $54 + 18 + 2 = 74$ ✓ even
$n=4$: $96 + 24 + 2 = 122$ ✓ even

All cases yield an even number. $\square$

Note: This can also be proved in general by deduction, since $6n^2 + 6n + 2 = 2(3n^2 + 3n + 1)$, which is always even.

Problem 10

Prove by contradiction: if $ab$ is odd, then both $a$ and $b$ are odd.

Show Solution

Assume for contradiction that $ab$ is odd but at least one of $a$, $b$ is even. Without loss of generality, suppose $a$ is even, so $a = 2k$ for some integer $k$.

Then $ab = 2k \cdot b = 2(kb)$, which is even. But this contradicts the assumption that $ab$ is odd. $\square$