All revision notes topics

The modulus functionAQA A-Level Maths: Revision notes

Section 1

What the modulus does

The modulus of a number is its distance from zero, so it is never negative: ∣a∣=a|a|=a if a≥0a\ge0 and ∣a∣=−a|a|=-a if a<0a<0. For example ∣5∣=5|5|=5 and ∣−5∣=5>0|-5|=5>0. For a linear function, y=∣ax+b∣y=|ax+b| means y=ax+by=ax+b when ax+b≥0ax+b\ge0 and y=−(ax+b)y=-(ax+b) when ax+b<0ax+b<0. The output of a modulus function is therefore always ≥0\ge0, so the range of y=∣ax+b∣y=|ax+b| is y≥0y\ge0.

Key termsmodulusrange
Common mistake

Writing ∣−6∣=−6|{-6}|=-6. A modulus is never negative: ∣−6∣=6|{-6}|=6.

Section 2

Sketching y=∣ax+b∣y=|ax+b|

Method:

  1. Sketch the straight line y=ax+by=ax+b, marking where it crosses both axes.
  2. Keep every part that is on or above the xx-axis.
  3. Reflect every part below the xx-axis in the xx-axis. The result is a V-shape whose lowest point, the vertex, lies on the xx-axis at (−ba,0)\left(-\frac ba,0\right). The two branches have gradients aa and −a-a.
Key termsvertexreflection in the x-axis
Exam tip

Label the vertex and the yy-intercept on your sketch. These are the two features an examiner expects to see.

Section 3

Key features of y=∣ax+b∣y=|ax+b|

  • Vertex: solve ax+b=0ax+b=0, giving (−ba,0)\left(-\frac ba,0\right).
  • yy-intercept: put x=0x=0 to get y=∣b∣y=|b|, always positive.
  • Line of symmetry: the vertical line x=−bax=-\frac ba through the vertex.
  • Piecewise form: one branch is y=ax+by=ax+b, the other is y=−(ax+b)y=-(ax+b), joined at the vertex. Example: y=∣2x−6∣y=|2x-6| has vertex (3,0)(3,0), yy-intercept 66, symmetry line x=3x=3, and equals 2x−62x-6 for x≥3x\ge3, 6−2x6-2x for x<3x<3.
Key termsline of symmetrypiecewise
Common mistake

Using the yy-intercept of y=ax+by=ax+b (which is bb) instead of ∣b∣|b|.

Section 4

Worked example: a curve and a line

The curve y=∣2x−5∣y=|2x-5| has vertex (52,0)\left(\frac52,0\right) and yy-intercept (0,5)(0,5). To find where it meets y=x+1y=x+1, solve each branch separately:

  • Right branch (x≥52x\ge\frac52): 2x−5=x+12x-5=x+1, so x=6x=6. Valid, since 6≥526\ge\frac52.
  • Left branch (x<52x<\frac52): 5−2x=x+15-2x=x+1, so x=43x=\frac43. Valid, since 43<52\frac43<\frac52. Always check that each solution lies in the interval for its branch.
Key termsbranch
Exam tip

A rough sketch tells you in advance how many intersections to expect, so you can spot a missing or spurious solution.

Section 5

Using the shape to count intersections

The horizontal line y=ky=k meets y=∣ax+b∣y=|ax+b| twice if k>0k>0, once if k=0k=0 (at the vertex) and never if k<0k<0. For a sloping line y=mx+cy=mx+c, compare gradients. If ∣m∣<∣a∣|m|<|a| the line is shallower than both branches, so it meets the V twice when it passes above the vertex, once when it passes through the vertex and never when it passes below. Substituting the vertex into the line gives the boundary value. Example: y=x+ky=x+k against y=∣2x−5∣y=|2x-5| passes through the vertex when 0=52+k0=\frac52+k, so k=−52k=-\frac52.

Key termsintersection
Common mistake

Forgetting that the line y=ky=k with k<0k<0 never meets a modulus graph.

That's the notes covered.

Carry on to the next subtopic.

Exam questions on The modulus function

  1. The graph of y=∣2x−6∣y=|2x-6| is considered.
    Write y=∣2x−6∣y=|2x-6| without modulus signs, stating the values of xx for which each form applies.2 marks
  2. The curve y=∣x+4∣y=|x+4| and the horizontal line y=ky=k, where kk is a constant, are considered.
    Find the coordinates of the points where the curve y=∣x+4∣y=|x+4| meets the axes.2 marks
  3. The curve CC has equation y=∣4−3x∣y=|4-3x|.
    Find the coordinates of the vertex of CC and of the point where CC meets the yy-axis, and state the equation of the line of symmetry of CC.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).