All revision notes topics

The modulus functionEdexcel A-Level Maths: Revision notes

Section 1

The modulus and its graph

The modulus ∣a∣|a| of a number is its non-negative size: ∣5∣=5|5|=5 and ∣−5∣=5|-5|=5. For a function, ∣f(x)∣|f(x)| keeps the value when f(x)≥0f(x)\ge0 and changes the sign when f(x)<0f(x)<0, so it is never negative. The graph of y=∣ax+b∣y=|ax+b| is V-shaped. Sketch y=ax+by=ax+b, then reflect the part below the xx-axis upwards. The vertex lies on the xx-axis where ax+b=0ax+b=0, at x=−bax=-\frac ba. The arms have gradients ±a\pm a. Example: y=∣2x−1∣y=|2x-1| has vertex (12,0)\left(\frac12,0\right), meets the yy-axis at (0,1)(0,1) and has f(−2)=∣−5∣=5f(-2)=|-5|=5.

Key termsmodulusvertex
Common mistake

Giving a negative value for a modulus, e.g. ∣−3∣=−3|-3|=-3. It is always 33.

Exam tip

The vertex of y=∣ax+b∣y=|ax+b| is where the expression inside is zero.

Section 2

Solving |ax+b| = c

If ∣ax+b∣=c|ax+b|=c with c>0c>0, then there are two cases: ax+b=cax+b=c or ax+b=−cax+b=-c. If c<0c<0 there is no solution, and if c=0c=0 there is one. Example: ∣2x−1∣=3|2x-1|=3 gives 2x−1=32x-1=3 so x=2x=2, or 2x−1=−32x-1=-3 so x=−1x=-1. Both lie on the line y=3y=3, which meets the V-shape twice.

Key termscase
Common mistake

Writing only 2x−1=32x-1=3 and missing the negative case.

Section 3

Solving |ax+b| = cx+d

Again there are two cases: ax+b=cx+dax+b=cx+d or ax+b=−(cx+d)ax+b=-(cx+d). Solve both, then check each answer in the original equation, since a solution is invalid if it makes the right-hand side negative. Example: ∣2x−1∣=x|2x-1|=x. Case 1: 2x−1=x2x-1=x gives x=1x=1. Case 2: 2x−1=−x2x-1=-x gives x=13x=\frac13. Check: ∣2(1)−1∣=1|2(1)-1|=1 and ∣23−1∣=13\left|\frac23-1\right|=\frac13, so both are valid. Example of a rejected answer: ∣x∣=2x−3|x|=2x-3. Case 1: x=2x−3x=2x-3 gives x=3x=3, valid. Case 2: −x=2x−3-x=2x-3 gives x=1x=1, but then ∣1∣=1≠−1|1|=1\ne-1, so it is rejected.

Key termscheckextraneous solution
Exam tip

Sketching both graphs shows how many solutions to expect.

Section 4

Inequalities with the modulus

For ∣ax+b∣<c|ax+b|<c (with c>0c>0): −c<ax+b<c-c<ax+b<c, a single interval. For ∣ax+b∣>c|ax+b|>c: ax+b>cax+b>c or ax+b<−cax+b<-c, two outer regions. Example: ∣3x+2∣<4|3x+2|<4 gives −6<3x<2-6<3x<2, so −2<x<23-2<x<\frac23. ∣3x+2∣>4|3x+2|>4 gives x<−2x<-2 or x>23x>\frac23. To compare with a line, find the intersections, then read the graph. For ∣2x−1∣>x|2x-1|>x the intersections are x=13x=\frac13 and x=1x=1 and the V is above the line outside them: x<13x<\frac13 or x>1x>1. For ∣3x−6∣<x+2|3x-6|<x+2 the intersections are x=1x=1 and x=4x=4 and the V is below the line between them: 1<x<41<x<4. Alternatively square both sides, which is safe because both sides are non-negative: (2x−1)2>x2⇒(x−1)(3x−1)>0(2x-1)^2>x^2\Rightarrow(x-1)(3x-1)>0.

Key termsinequality
Common mistake

Writing ∣3x+2∣>4|3x+2|>4 as −4>3x+2>4-4>3x+2>4, which is impossible. Use 'or'.

Section 5

Using the graph to find the number of solutions

The solutions of ∣3x−6∣=x+k|3x-6|=x+k are the intersections of a V-shape with vertex (2,0)(2,0) and the line y=x+ky=x+k. Since the line's gradient 11 is smaller than the arms' gradients ±3\pm3, the line meets the V twice when the vertex is below the line, once when the vertex is on the line, and not at all when the vertex is above it. Here the vertex is below the line when 0<2+k0<2+k, i.e. k>−2k>-2; exactly one solution when k=−2k=-2 (at x=2x=2); none when k<−2k<-2. The two case solutions are x=k+62x=\frac{k+6}{2} and x=6−k4x=\frac{6-k}{4}.

Key termsvertex
Exam tip

Use the vertex as a test point: is it above, on or below the line?

That's the notes covered.

Carry on to the next subtopic.

Exam questions on The modulus function

  1. The function ff is defined by f(x)=∣2x−1∣f(x)=|2x-1|.
    Solve f(x)=3f(x)=3.2 marks
  2. The function gg is defined by g(x)=∣3x+2∣g(x)=|3x+2|.
    State the coordinates where the graph of y=g(x)y=g(x) meets the yy-axis, and the coordinates of its vertex.2 marks
  3. Consider the graph of y=∣2x−1∣y=|2x-1| and the straight line y=xy=x.
    Solve ∣2x−1∣=x|2x-1|=x.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).