The Modulus Function and the Graph of y = |ax + b| | Analysis and Approaches IB Maths notes
Free preview: The Modulus Function and the Graph of y = |ax + b|
The Modulus and the V-Shaped Graph
Analysis and approaches: HL only (AHL 2.16 graphs of y = |f(x)| and y = f(|x|); modulus equations and inequalities)
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 .
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 HL: Function properties and modulus graphs (AHL 2.14, 2.16)
- Odd, Even and Self-Inverse Functions
- The Modulus Function and the Graph of y = |ax + b|
- Solving Modulus Equations and Inequalities Graphically
- Modulus Inequalities: Graphs, Squaring and Critical Values
- Graphs of y = [f(x)]² and Combined Transformations
Video
What's inside for this topic
5 teacher notes, 57 practice questions, 30 flashcards, 2 quizzes.
Get the full notes, every practice question, flashcards, quizzes and mock papers.
Previous note: Odd, Even and Self-Inverse Functions Next note: Solving Modulus Equations and Inequalities Graphically