Solving Modulus Equations and Inequalities Graphically | OCR A Level Maths notes

Free preview: Solving Modulus Equations and Inequalities Graphically

Using a Sketch to Solve Modulus Equations

Year 2 (A level only)

Watch: 1-minute explainer

Imagine two people walking along a road, each one tracing out a V on a distance graph. Where do their paths cross? You could grind through algebra and hope, or you could draw a quick picture first and see how many crossings there are and roughly where. That picture is the whole secret of this note.

  • This note builds on the note on the modulus function and y=|ax+b|. Here you solve modulus equations and inequalities, including graphically.
  • A modulus graph of a linear expression is made of two straight pieces (also called arms) joined at the vertex, the sharp point of the V.
  • Each crossing point of two graphs comes from one particular pair of pieces.
  • A sketch tells you which pieces meet, so you know which equation to solve.

The two pieces of |ax + b|

  • For y=|2x−1|, the vertex is where 2x−1=0, at x=12.
  • To the right of the vertex the inside is positive, so the graph is y=2x−1.
  • To the left the inside is negative, so the modulus changes its sign: y=−(2x−1).

💡 In plain words

  • Every V is really two straight lines glued together at the vertex.
  • Right of the vertex: drop the bars. Left of the vertex: drop the bars and put a minus sign in front of the whole inside.

Two V shapes, y = |2x − 1| with vertex (1/2, 0) and y = |x + 3| with vertex (−3, 0), crossing at (−2/3, 7/3) and (4, 7)

Following the graph

  • The blue V y=|2x−1| has vertex (12,0); the pink V y=|x+3| has vertex (−3,0).
  • The right-hand crossing is where both are on their right-hand pieces: 2x−1=x+3, so x=4.
  • The left-hand crossing is where the blue V is on its left piece and the pink V on its right piece: −(2x−1)=x+3, so −2x+1=x+3, −3x=2 and x=−23.
  • The blue V is steeper, so it is above the pink V outside the two crossings.

|2x−1|=|x+3|⟺x=−23 or x=4

The recipe: solving by sketch

  1. Find each vertex by setting each inside equal to zero. Why: the vertex is where a graph switches from one piece to the other.
  2. Sketch both graphs on the same axes, marking vertices and y-intercepts. Why: the number of crossings is the number of solutions.
  3. For each crossing, decide which piece of each graph you are on (left or right of its vertex). Why: each piece is an ordinary straight line with no bars.
  4. Solve the straight-line equation for that pair of pieces. Why: two lines meet at one point, which is easy to find.
  5. Check each answer lies in the right place on your sketch and satisfies the original equation. Why: a mistake in choosing the pieces shows up here.

👀 Watch me do it: solve |x−1|=|2x+4|

What I writeWhy I do it
Vertices: x=1 and x=−2.Step 1: set each inside to zero.
Sketch: y=|2x+4| is steeper. Its y-intercept is 4, above the other V's y-intercept of 1, so they cross twice: once left of x=−2, once between the vertices.Step 2: two crossings, two answers.
Left crossing: both on left pieces. −(x−1)=−(2x+4), so −x+1=−2x−4.Steps 3 and 4: x=−5.
Middle crossing: y=|x−1| on its left piece, y=|2x+4| on its right piece. −(x−1)=2x+4.Steps 3 and 4: −3x=3, x=−1.
Check: x=−5 gives |−6|=6 and |−6|=6. x=−1 gives |−2|=2 and |2|=2.Step 5: both valid.

✏️ YOUR TURN 1

Try this first:

Use a sketch to solve |x+2|=|3x−6|.

Answer:

  • Vertices at x=−2 and x=2. The V y=|3x−6| is steeper, so they cross twice.
  • Both right pieces: x+2=3x−6, so x=4.
  • Between the vertices, |x+2| is on its right piece and |3x−6| on its left piece: x+2=−(3x−6), so 4x=4, x=1.
  • Check: x=4: 6 and 6. x=1: 3 and 3. So x=1 or x=4.

✏️ YOUR TURN 2

Try this first:

Sketch y=|x−4| and y=13x+2, and hence solve |x−4|=13x+2.

Answer:

  • The V has vertex (4,0) and y-intercept 4. The line has y-intercept 2 and is less steep than either arm, so it crosses both arms.
  • Right arm: x−4=13x+2, so 23x=6, x=9.
  • Left arm: 4−x=13x+2, so 43x=2, x=32.
  • Check: x=9: 5 and 5. x=32: 52 and 52. Both valid.

Squaring Both Sides and Checking for False Roots

Sketching is reliable but slow to make exact. When both sides are moduli there is a neat algebra shortcut that makes every bar vanish at once. When only one side is a modulus, there is a trap waiting, and this page shows you how to spot it.

Method 2: squaring

  • When both sides are moduli, you can square both sides.
  • Why? Because |A|2=A2, so the bars disappear.
  • And squaring two non-negative numbers keeps them in the same order, so nothing is gained or lost.

|A|=|B|⟺A2=B2

💡 In plain words

  • Two numbers have the same size exactly when their squares are equal.
  • So |A|=|B| means A=B or A=−B, and squaring catches both at once.

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.

Log in · Subscribe · Start free trial

All notes in Functions and Graphs

  1. Sketching Cubic and Quartic Graphs from Their Factors
  2. Solving Modulus Equations and Inequalities Graphically
  3. Reciprocal Graphs y = a/x and y = a/x² and Their Asymptotes
  4. Using Points of Intersection to Solve Equations
  5. Direct and Inverse Proportion and Their Graphs
  6. Translating Graphs: y = f(x) + a and y = f(x + a)
  7. Stretching and Reflecting Graphs: y = af(x), y = f(ax), y = −f(x) and y = f(−x)
  8. Combining Transformations of Graphs
  9. What Makes a Function: Domain, Range, One-One and Many-One
  10. Composite Functions: Finding fg(x) and Its Domain
  11. Inverse Functions and Their Graphs: Reflecting in y = x
  12. The Modulus Function and the Graph of y = |ax + b|
  13. Modelling with Functions: Limitations and Refinements
  14. Move Up a Grade: A Level Maths Functions and Graphs
  15. Tricky Bits: A Level Maths Functions and Graphs

Video

What's inside for this topic

15 teacher notes, 225 practice questions, 64 flashcards, 7 quizzes.

Get the full notes, every practice question, flashcards, quizzes and mock papers.

Start your free 7-day trial

Questions? Chat with us on WhatsApp · Try one live lesson

Previous note: Sketching Cubic and Quartic Graphs from Their Factors Next note: Reciprocal Graphs y = a/x and y = a/x² and Their Asymptotes

Solving Modulus Equations and Inequalities Graphically on other exam boards

All OCR A Level Maths topics · A Level Maths