The Modulus Function and the Graph of y = |ax + b| | AQA A Level Maths notes
Free preview: The Modulus Function and the Graph of y = |ax + b|
The Modulus and the V-Shaped Graph
Year 2 (A level only)
Watch: 1-minute explainer
Let's start with an idea you know: distance is never negative. Walk 5 m left or 5 m right, you have still walked 5 m. A thermometer reading of −5 °C is 5 degrees away from freezing, just like +5 °C. Maths has a symbol for "how far, ignoring direction".
- The modulus of a number is its size without its sign. (It is also called the absolute value.)
- It is written with vertical bars: and .
- Think of as the distance of from 0 on the number line. So it is never negative.
💡 In plain words
- If is positive (or zero), leave it alone.
- If is negative, change its sign. The second line looks odd, but is positive when is negative: .
✏️ YOUR TURN 1
Try this first:
Evaluate.
Answer:
- 7
- . Work out the inside first.
- . The answer can be negative here, because the subtraction is outside the bars.
The recipe: sketching y = |ax + b|
- Sketch the line lightly. Why: the modulus graph is built from it.
- Find where it crosses the x-axis: solve . This will be the vertex.
- Reflect up any part below the x-axis (where is negative) in the x-axis. Why: the modulus turns negative outputs into positive ones of the same size.
- Label the vertex and the y-intercept.
- The result is a V shape with its vertex (the sharp point) on the x-axis.
👀 Watch me do it: sketch
| What I write | Why I do it |
|---|---|
| Line : gradient 2, y-intercept . | Step 1. |
| Step 2: vertex . | |
| For the line is negative; flip it to . | Step 3: . |
| y-intercept , so . | Step 4. |

Following the graph
- The line crosses the x-axis at . For it is negative (dashed).
- That part is flipped up, so for the graph is .
- The vertex is . The y-intercept is , so .
- The horizontal line meets the V twice, at and . These give the two solutions of .
💡 In plain words
- The vertex is where the inside is zero: solve to get .
- The y-intercept is , because putting leaves .
✏️ YOUR TURN 2
Try this first:
Give the vertex and y-intercept of each graph.
Answer:
- Vertex: , . y-intercept .
- Vertex: , . y-intercept . (The V points the same way: a modulus graph always opens upwards.)
The Graphs y = |f(x)| and y = f(|x|)
The same idea works for any graph. There is also a second, different way to use a modulus. Notice where the bars go.
y = |f(x)|: modulus outside
- The bars are round the output, so they act on .
- Draw , then reflect every part below the x-axis up in the x-axis.
- Parts above the axis are unchanged. The graph never goes below the x-axis.

Following the graph
- is negative between its roots and (dashed).
- That section is reflected up: the minimum becomes a peak at , and the y-intercept becomes .
- The graph has sharp corners at the roots and .
y = f(|x|): modulus inside
- The bars are round the input, so they act on .
- For , , so the graph is the same as .
- For , , which is the reflection in the y-axis.
- So: keep the right-hand half of , delete the left-hand half, and replace it with the mirror image of the right-hand half.

Unlock the full note: start 7 days free.
Log in or subscribe to read the rest of this note. Members also get the AI tutor, practice quizzes, mock exams and flashcards for this topic.
All notes in Functions and Graphs
- Sketching Cubic and Quartic Graphs from Their Factors
- Reciprocal Graphs y = a/x and y = a/x² and Their Asymptotes
- Using Points of Intersection to Solve Equations
- Direct and Inverse Proportion and Their Graphs
- Translating Graphs: y = f(x) + a and y = f(x + a)
- Stretching and Reflecting Graphs: y = af(x), y = f(ax), y = −f(x) and y = f(−x)
- Combining Transformations of Graphs
- What Makes a Function: Domain, Range, One-One and Many-One
- Composite Functions: Finding fg(x) and Its Domain
- Inverse Functions and Their Graphs: Reflecting in y = x
- The Modulus Function and the Graph of y = |ax + b|
- Modelling with Functions: Limitations and Refinements
- Move Up a Grade: A Level Maths Functions and Graphs
- Tricky Bits: A Level Maths Functions and Graphs
Video
What's inside for this topic
14 teacher notes, 223 practice questions, 60 flashcards, 7 quizzes.
Get the full notes, every practice question, flashcards, quizzes and mock papers.
Previous note: Inverse Functions and Their Graphs: Reflecting in y = x Next note: Modelling with Functions: Limitations and Refinements