2.1PureCore

The Modulus Function

The modulus (or absolute value) of a number is its size, ignoring sign — written ∣x∣|x|. It is never negative, and its graph is the distinctive V-shape that underpins the rest of this chapter.

25 min Functions and Graphs
Edexcel A level Maths: 2.1 The Modulus FunctionCurated by Kepler, not produced by us. Watch it before the notes below.
Open on YouTube

What you'll be able to do

  • Understand modulus as “distance from zero”
  • Evaluate the modulus of expressions
  • Sketch y = |x| and y = |ax + b|
  • Read values off a modulus graph
1

What modulus means

The modulus ∣x∣|x| is the non-negative\textbf{non-negative} value of xx: it strips the sign. So ∣5∣=5|5| = 5 and ∣−5∣=5|-5| = 5. Formally it is xx if x≥0x \ge 0 and −x-x if x<0x < 0.

∣x∣={xx≥0−xx<0|x| = \begin{cases} x & x \ge 0 \\ -x & x < 0 \end{cases}
Always non-negative — the “size” of xx.
Example 1Evaluate ∣3−7∣|3 - 7|.
13−7=−43 - 7 = -4, and ∣−4∣=4|-4| = 4.
Answer
44
2

The graph of y = |x|

The graph of y=∣x∣y = |x| is a V\textbf{V} with its vertex at the origin: it is y=xy = x for x≥0x \ge 0 and the reflection y=−xy = -x for x<0x < 0. It never goes below the xx-axis.

Tip — Any modulus graph sits entirely on or above the x-axis — the output is never negative.

3

y = |ax + b|

To sketch y=∣ax+b∣y = |ax + b|, draw the line y=ax+by = ax + b, then reflect\textbf{reflect} the part below the xx-axis up above it. The graph touches the xx-axis where ax+b=0ax + b = 0.

Example 1Where does y=∣2x−6∣y = |2x - 6| meet the x-axis, and what is its minimum value?
12x−6=0⇒x=32x - 6 = 0 \Rightarrow x = 3.
2Minimum of a modulus is 0.
Answer
touches x-axis at (3,0)(3, 0); minimum value 00

Formula recap

∣x∣≥0|x| \ge 0
Modulus is never negative.
∣x∣=x (x≥0), −x (x<0)|x| = x \ (x \ge 0), \ -x \ (x < 0)
Piecewise definition.
y=∣ax+b∣:reflect below-axis part upy = |ax+b|: \text{reflect below-axis part up}
Sketching rule.

Common mistakes to avoid

Thinking |−5| = −5.
Modulus removes the sign: |−5| = 5.
Drawing a modulus graph dipping below the x-axis.
It is reflected up; the graph is always ≥ 0.

Key takeaways

  • |x| is the size of x, always ≥ 0.
  • y = |x| is a V-shape with vertex at the origin.
  • For y = |ax + b|, reflect the part of the line below the x-axis upwards.

Test yourself

Answer a few questions, then review anything you missed.

Prefer paper? Open the written self-check

Answer each question before opening its answer. This self-check does not record a quiz score.

  1. ∣−8∣|-8| equals:

    • 88
    • −8-8
    • 00
    • 1616
    Show answer and explanation

    Answer: 88

    Modulus removes the sign.

  2. ∣3−10∣|3 - 10| equals:

    • 77
    • −7-7
    • 1313
    • 33
    Show answer and explanation

    Answer: 77

    |−7| = 7.

  3. The graph of y=∣x∣y = |x| is:

    • A V-shape
    • A straight line
    • A parabola
    • A circle
    Show answer and explanation

    Answer: A V-shape

    Vertex at the origin.

  4. A modulus graph is always:

    • On or above the x-axis
    • Below the x-axis
    • Symmetric about the y-axis only
    • Negative
    Show answer and explanation

    Answer: On or above the x-axis

    Output ≥ 0.

  5. y=∣2x−6∣y = |2x - 6| touches the x-axis at:

    • x=3x = 3
    • x=6x = 6
    • x=−3x = -3
    • x=0x = 0
    Show answer and explanation

    Answer: x=3x = 3

    2x − 6 = 0.

  6. The minimum value of y=∣ax+b∣y = |ax + b| is:

    • 00
    • bb
    • −b-b
    • aa
    Show answer and explanation

    Answer: 00

    Modulus bottoms out at 0.

Next step

Keep practising

Start with the quiz above to check the key ideas. You can also choose another topic from the practice library.

Browse practice topics

Related lessons

All 7 lessons

Put the methods into practice: see how A-Level maths duels work. An account is required to play; the overview and sample are public.