Graphs of Modulus Functions
Sketch y = |f(x)| for straight lines, quadratics, cubics and trig curves by reflecting the part below the x-axis, and label every intercept.
- 6 steps
- 9 min
- 1 syllabus
Try a real exam question on this
0606/23 · May/Jun 2026 · Q1 · 5 marks · Solve it step by step, the way the examiner marks it.
Loading the animated solution…
See the solution as textText version of the solution
On a grid spanning x from −3 to 3 and y from −6 to 8, plot y = |2x + 1| for −3 ≤ x ≤ 3, then use a second graph to solve |2x + 1| > x + 2.
(a) 2 marks
Draw the graph of y = |2x + 1| on the grid for values of x from −3 to 3.
- 2x + 1 = 0 at x = −0.5, so the vertex is (−0.5, 0)
- x = −3: y = |−5| = 5; x = 0: y = 1; x = 3: y = 7
- Draw straight lines from (−3, 5) to (−0.5, 0) and from (−0.5, 0) to (3, 7)
Answer V-shaped graph with vertex at (−0.5, 0), passing through (−3, 5), (0, 1) and (3, 7)
(b) 3 marks
Draw a suitable line on the grid and use it to find the x values where |2x + 1| exceeds x + 2.
- Understand the question. The V shaped graph of the modulus of 2x plus 1 is drawn on the grid, and we must find the values of x where it lies above the straight line x plus 2.
- Key words. Gradient means a number that measures how steep a line is.
- Use a graphical inequality method. The graph of y equals |2x+1| is already drawn, so add the straight line y equals x+2 and see where the V is above the line.
- Draw the line y equals x plus 2. It has gradient 1 and intercept 2, so plot it on the same grid.
- Draw the line y = x + 2
- Find where the graphs meet. Solve |2x+1| equals x+2 by taking the positive and negative cases of the modulus.
- Intersections: 2x + 1 = x + 2 ⇒ x = 1; −(2x + 1) = x + 2 ⇒ x = −1
- Read off the inequality from the graph. The V lies above the straight line outside the two crossing points.
- The V-graph is above the line to the left of x = −1 and to the right of x = 1
- State the solution. The V is above the line when x is less than −1 or greater than 1.
- x < −1 or x > 1
Answer x < −1, x > 1
The lesson, step by step
Step 1 of 6
What the modulus does
A taxi charges you for distance, not direction. Drive 5 km north or 5 km south, and you pay for 5 km. The modulus does the same to a number: it keeps the size and drops the sign.
Rule
is read “mod x”. It is the size of x, so it is never negative: , and .
Formula
— any number. If it is already positive or zero, it stays. If it is negative, the minus sign in makes it positive: .
Now do this to a whole function. For each x, work out f(x) first. Then take its size.
Worked example
- 1
Let . Find at , and .
- 2
— The line is below the x-axis here. The modulus turns −6 into 6.
- 3
— On the x-axis, nothing changes.
- 4
— Above the x-axis, nothing changes either.
Rule
To draw : keep every part of that is on or above the x-axis. Reflect every part below the x-axis up, using the x-axis as a mirror.
Key idea
The two straight bars for modulus were introduced by the German mathematician Karl Weierstrass in 1841. Mathematicians still use his notation today.
Key idea
The graph of never goes below the x-axis. Every point on it has .
Step 2 of 6
Modulus of a straight line
Start with the simplest case, a straight line. The part of the line below the x-axis flips up, so the graph becomes a V.
Steps
- 1
Find where the line crosses the x-axis: solve . This is the corner of the V.
Find the y-intercept: put , then take the modulus. It is .
Draw the line above the axis. Reflect the part below the axis. Label both intercepts on the sketch.
Worked example
- 1
Sketch .
- 2
— The corner of the V sits on the x-axis at this point.
- 3
— The y-intercept. The line was at −5, so the modulus makes it 5.
- 4
— One more point on the right arm, to check the direction.
- 5
— Draw the V through these points and write both coordinates on the sketch.
The right arm has gradient 2. The left arm is its mirror image, so it has gradient −2. The two arms are equally steep.
Common mistake
Drawing a rounded bottom. The modulus of a straight line has a sharp corner on the x-axis, not a curve.
Common mistake
Labelling the y-intercept as . The modulus makes every y-value positive, so it is .
Key idea
For : the corner is at the root of the line, and the y-intercept is .
Step 3 of 6
Modulus of a quadratic
When the term is positive, the curve is a U and only the part between the roots is below the x-axis. That part flips up, so the bottom of the U becomes a hump.
Worked example
- 1
Sketch and label the intercepts.
- 2
— Factorise to find the roots.
- 3
— The graph meets the x-axis here. These points stay where they are.
- 4
— The y-intercept. The curve was at −8, so after the flip it is at 8.
- 5
— Complete the square: the lowest point of the U is (1, −9).
- 6
— The modulus reflects the lowest point up. It becomes the top of the hump.
Rule
At each root, the graph has a sharp point on the x-axis, called a cusp. Mark schemes look for these sharp points and for the labelled intercepts.
The sketch also tells you how many solutions has. Draw the flat line and count where it meets the graph. For :
: 2 solutions, at the two cusps.
: 4 solutions. The line cuts both outer arms and both sides of the hump.
: 3 solutions. The line just touches the top of the hump.
: 2 solutions, on the outer arms only.
Common mistake
Drawing smooth, round bottoms at the roots. The graph changes direction suddenly there, so draw sharp points.
Common mistake
Leaving the y-intercept at −8. It was below the axis, so it flips to 8.
Key idea
For : the roots become cusps and the lowest point of the U becomes a hump. If the term is negative, the two outer arms are below the axis and they flip up instead.
Step 4 of 6
Modulus of a cubic
Cubics are given as a product of three brackets. Sketch the cubic first. Then reflect every part below the x-axis.
Steps
- 1
Set each bracket to 0 to find the three roots.
Put to find the y-intercept.
Find the sign of the term. Positive: the curve starts bottom left and ends top right. Negative: it starts top left and ends bottom right.
Reflect the parts below the x-axis. Label all four intercepts.
Worked example
- 1
Sketch .
- 2
— The three roots. They become cusps on the x-axis.
- 3
— The y-intercept is 6. It is already positive, so it stays.
- 4
— The x terms of the brackets multiply to plus x cubed, so the cubic starts bottom left.
- 5
— Here the cubic is below the x-axis, so these two parts are reflected.
- 6
— Label all four intercepts. The left arm now comes down from the top left to the cusp at −2, and between 1 and 3 there is a new hump.
Common mistake
Stopping the reflected left arm at the axis. It keeps going up to the top left of the sketch, because grows large as x goes far left.
Common mistake
Missing a minus inside a bracket. In the x term is , which changes the sign of . Count the minus signs before you decide where the curve starts.
Key idea
Cubic first, modulus second. Both ends of point upwards.
Step 5 of 6
Modulus of a trig graph
Trig curves work the same way. Here f(x) will look like , or .
First find the highest and lowest values of the curve before the modulus. For , sin goes from −1 to 1, so the curve goes from up to .
Worked example
- 1
Sketch for .
- 2
— The lowest value is negative, so part of the curve is below the x-axis.
- 3
— The y-intercept. It is above the axis, so it stays.
- 4
— Where the curve crosses the x-axis. These become cusps.
- 5
— The lowest point flips up. Between the cusps there is now a small hump of height 1.
- 6
— The big peak was above the axis, so it is unchanged.
Rule
If the lowest value is 0 or more, the curve never goes below the axis and the modulus changes nothing. For example, is the same graph as .
For , the parts below the axis flip up as usual. The vertical asymptotes stay exactly where they were.
Common mistake
Reflecting the whole curve, or shifting it up. Only the parts below the x-axis move, and they are reflected.
Key idea
Find the top and bottom of the curve first. If the bottom is negative, that part flips up into a new hump.
Step 6 of 6
Which sketch? Read the question
Every modulus sketch uses one idea. The question tells you which curve to draw first.
| You see | You do |
| Sketch | V shape. Corner at the root, y-intercept |
| Sketch | Roots become cusps, the lowest point flips into a hump |
| Sketch | Cubic shape from the sign of , then reflect |
| Sketch | Find and , then reflect what is below |
| “State the intercepts” | Write the coordinates of every axis crossing on the sketch |
| How many solutions of ? | Draw and count the crossings |
Common mistake
Forgetting to label the intercepts. A correct shape with no values written on it loses marks.
Key idea
Draw lightly first. Then keep the top, flip the bottom, and press hard on the final graph.
More real exam questions on this
Solve one in Lemmara and see where every mark goes.
- 0606/12Feb/Mar 2026 · Q26 marksSketch y = |x² − 2x − 3| on the given axes, giving axis intercepts, then find an expression for the inverse of g(x) = 4e^(x−2) − 1.Solve it →
- 0606/22May/Jun 2026 · Q47 marksSketch y = |x² − 5| on the given axes, giving axis intercepts, then find possible expressions for f(x) = ax + b given the solutions of |f(x)| = 4.Solve it →
- 0606/12Feb/Mar 2025 · Q17 marksSketch two modulus graphs on given axes, marking axis intercepts, then solve the inequality comparing 4|x − 1| with |3x + 2|.Solve it →
- 0606/23May/Jun 2025 · Q48 marksFor f(x) = 2x − 1 on ℝ, justify composing f with itself, sketch the modulus of that composite, and find a and b so that |f²(x)| ≤ ax + b exactly on −1 ≤ x ≤ 3.Solve it →
- 0606/23Oct/Nov 2025 · Q39 marksComplete the square for x² − x − 6, find the stationary point, sketch y = |x² − x − 6| for −4 ≤ x ≤ 4, and solve |x² − x − 6| < 4 from the graph.Solve it →
- 0606/21May/Jun 2024 · Q15 marksSketch y = |4x − 6| on axes marking axis intercepts, then solve |4x − 6| = |2x|.Solve it →
Lemmara is an independent study tool, not affiliated with or endorsed by Cambridge International Education or Pearson Edexcel. The lessons and worked examples are Lemmara’s own.