The Modulus Function and the Graph of y = |ax + b| | Edexcel IAL Maths notes

Free preview: The Modulus Function and the Graph of y = |ax + b|

The Modulus and the V-Shaped Graph

Unit P3 (WMA13): Pure Mathematics 3

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: |5|=5 and |−5|=5.
  • Think of |x| as the distance of x from 0 on the number line. So it is never negative.

|x|={xif x⩾0−xif x<0

💡 In plain words

  • If x is positive (or zero), leave it alone.
  • If x is negative, change its sign. The second line looks odd, but −x is positive when x is negative: |−3|=−(−3)=3.

✏️ YOUR TURN 1

Try this first:

Evaluate.

  1. |−7|
  2. |3−8|
  3. |2|−|−5|

Answer:

  1. 7
  2. |−5|=5. Work out the inside first.
  3. 2−5=−3. The answer can be negative here, because the subtraction is outside the bars.

The recipe: sketching y = |ax + b|

  1. Sketch the line y=ax+b lightly. Why: the modulus graph is built from it.
  2. Find where it crosses the x-axis: solve ax+b=0. This will be the vertex.
  3. Reflect up any part below the x-axis (where y is negative) in the x-axis. Why: the modulus turns negative outputs into positive ones of the same size.
  4. 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 y=|2x−3|

What I writeWhy I do it
Line y=2x−3: gradient 2, y-intercept −3.Step 1.
2x−3=0⇒x=32Step 2: vertex (32,0).
For x<32 the line is negative; flip it to y=3−2x.Step 3: −(2x−3)=3−2x.
y-intercept |−3|=3, so (0,3).Step 4.

Graph of y = |2x − 3|, a V shape with vertex (3/2, 0) and y-intercept (0, 3), the dashed line y = 2x − 3 below the axis, and the line y = 5 meeting the V at (−1, 5) and (4, 5)

Following the graph

  • The line y=2x−3 crosses the x-axis at x=32. For x<32 it is negative (dashed).
  • That part is flipped up, so for x<32 the graph is y=−(2x−3)=3−2x.
  • The vertex is (32,0). The y-intercept is |−3|=3, so (0,3).
  • The horizontal line y=5 meets the V twice, at (−1,5) and (4,5). These give the two solutions of |2x−3|=5.

y=|ax+b| has its vertex at (−ba,0) and y-intercept (0,|b|)

💡 In plain words

  • The vertex is where the inside is zero: solve ax+b=0 to get x=−ba.
  • The y-intercept is |b|, because putting x=0 leaves |b|.

✏️ YOUR TURN 2

Try this first:

Give the vertex and y-intercept of each graph.

  1. y=|2x+8|
  2. y=|4−x|

Answer:

  1. Vertex: 2x+8=0, (−4,0). y-intercept (0,8).
  2. Vertex: 4−x=0, (4,0). y-intercept (0,4). (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 y.
  • Draw y=f(x), 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.

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 P3.1 Algebraic Fractions, Functions and Modulus

  1. Simplifying Algebraic Fractions and Dividing by Linear Expressions
  2. What Makes a Function: Domain, Range, One-One and Many-One
  3. Composite Functions: Finding fg(x) and Its Domain
  4. Inverse Functions and Their Graphs: Reflecting in y = x
  5. The Modulus Function and the Graph of y = |ax + b|
  6. Solving Modulus Equations and Inequalities Graphically
  7. Combining Transformations of Graphs

Video

What's inside for this topic

7 teacher notes, 178 practice questions, 40 flashcards, 2 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: Inverse Functions and Their Graphs: Reflecting in y = x Next note: Solving Modulus Equations and Inequalities Graphically

The Modulus Function and the Graph of y = |ax + b| on other exam boards

All Edexcel IAL Maths topics · A Level Maths