All revision notes topics

The modulus functionEdexcel International A Level Maths: Revision notes

Section 1

The modulus function

The modulus (absolute value) of a number is its distance from zero, so it is never negative: ∣x∣={x,x⩾0−x,x<0|x|=\begin{cases}x,&x\geqslant0\\-x,&x<0\end{cases} The function y=∣ax+b∣y=|ax+b| gives a V-shaped graph. The vertex is where ax+b=0ax+b=0, at x=−bax=-\frac{b}{a}, with y=0y=0. For y=∣2x−1∣y=|2x-1| the vertex is (12,0)\left(\frac12,0\right) and the yy-intercept is (0,1)(0,1). Each side of the vertex is a straight line with gradient ±a\pm a.

Key termsmodulusvertex
Common mistake

Writing ∣x∣=−x|x|=-x as a general rule. It holds only when x<0x<0.

Section 2

Graphs of y = |f(x)| and y = f(|x|)

y=∣f(x)∣y=|f(x)|: keep every part of the graph of y=f(x)y=f(x) that lies on or above the xx-axis, and reflect the parts below it in the xx-axis. For f(x)=x2−4x+3f(x)=x^2-4x+3 the minimum (2,−1)(2,-1) becomes a local maximum (2,1)(2,1). y=f(∣x∣)y=f(|x|): keep the graph for x⩾0x\geqslant0, discard the part for x<0x<0, and reflect the x⩾0x\geqslant0 part in the yy-axis. The graph is symmetrical about the yy-axis. For p(x)=x2−x−6p(x)=x^2-x-6, p(∣x∣)p(|x|) has xx-intercepts ±3\pm3 and yy-intercept −6-6.

Key termsreflection
Common mistake

Mixing up the two. ∣f(x)∣|f(x)| changes yy-values (reflect in the xx-axis); f(∣x∣)f(|x|) changes the left side (copies the right side).

Section 3

Solving equations with a modulus

To solve ∣f(x)∣=g(x)|f(x)|=g(x), split into two cases: f(x)=g(x)f(x)=g(x) and f(x)=−g(x)f(x)=-g(x). Then check each answer, because g(x)g(x) must be non-negative. Example: ∣2x−1∣=x+5|2x-1|=x+5. Case 1: 2x−1=x+52x-1=x+5, so x=6x=6. Case 2: 2x−1=−(x+5)2x-1=-(x+5), so x=−43x=-\frac43. Both give a positive right-hand side, so both are valid. Alternatively square both sides: (2x−1)2=(x+5)2(2x-1)^2=(x+5)^2 gives 3x2−14x−24=03x^2-14x-24=0, with the same roots, but still check them in the original equation.

Key termscase method
Exam tip

Sketching the V and the line first tells you how many solutions to expect.

Section 4

Solving inequalities with a modulus

Find the boundary values by solving the equation, then use a sketch or a test value to decide which regions satisfy the inequality. For ∣2x−1∣>x+5|2x-1|>x+5 the boundaries are x=−43x=-\frac43 and x=6x=6. The V lies above the line outside them, so x<−43x<-\frac43 or x>6x>6. For ∣3x−2∣<2x+1|3x-2|<2x+1 the boundaries are 15\frac15 and 33 and the V lies below the line between them, so 15<x<3\frac15<x<3. Squaring both sides is also valid for ∣a∣<∣b∣|a|<|b|, giving a2<b2a^2<b^2.

Key termsboundary value
Common mistake

Writing 15<x<3\frac15<x<3 when the inequality is >>. Check with a test value such as x=0x=0.

Section 5

Counting solutions and exam technique

For ∣f(x)∣=k|f(x)|=k, imagine the horizontal line y=ky=k crossing the graph of y=∣f(x)∣y=|f(x)|. With p(x)=x2−x−6p(x)=x^2-x-6, the local maximum of ∣p(x)∣|p(x)| is 254\frac{25}{4}, so ∣p(x)∣=k|p(x)|=k has exactly four solutions when 0<k<2540<k<\frac{25}{4}. Always give the coordinates of vertices and intercepts, and show both cases when solving.

Key termslocal maximum

That's the notes covered.

Carry on to the next subtopic.

Exam questions on The modulus function

  1. Consider the function f(x)=∣2x−1∣f(x)=|2x-1|, x∈Rx\in\mathbb{R}, and the line y=x+5y=x+5.
    State the coordinates of the vertex of the graph of y=f(x)y=f(x) and the coordinates of its yy-intercept.2 marks
  2. Let f(x)=x2−4x+3f(x)=x^2-4x+3, x∈Rx\in\mathbb{R}.
    Solve ∣f(x)∣=3|f(x)|=3.2 marks
  3. Consider the equation ∣3x−2∣=2x+1|3x-2|=2x+1 and the inequality ∣3x−2∣<2x+1|3x-2|<2x+1.
    Solve the equation ∣3x−2∣=2x+1|3x-2|=2x+1.3 marks
See the full worksheet

Written by the Exaim team, led by Shaun Daswani (Head of Upper Secondary, Improve ME Institute; MSc Financial Mathematics, Imperial College London; BSc, UCL) and Jason Daswani (operational lead, Improve ME Institute; LSE).