Modulus Transformations (DP IB Analysis & Approaches (AA): HL): Revision Note

Dan Finlay

Written by: Dan Finlay

Reviewed by: Mark Curtis

Updated on

Modulus transformations

How do I sketch the modulus of a function y = |f(x)|?

  • To sketch y=|f(x)|

    • STEP 1
      Sketch the parts of y=f(x) that are on or above the x-axis

    • STEP 2
      Sketch the reflections in the x-axis of any parts below

Graph showing the function y=f(x) in black, with steps to create y=|f(x)| in green. Step 1: Draw y=f(x). Step 2: Reflect below x-axis.

Examiner Tips and Tricks

No part of the graph y=|f(x)| should be below the x-axis.

How do I sketch a function of mod x, y = f(|x|)?

  • To sketch y=f(|x|)

    • STEP 1
      Keep the part of y=f(x) on, or to the right of, the y-axis

      • get rid of any part that is to the left

    • STEP 2

      Reflect the right-hand side in the y-axis to create a left-hand side

      • This will create a symmetric graph about the y-axis

What are some differences between y = |f(x)| or y = f(|x|)?

  • It helps to remember that

    • y=|f(x)| can never go below the x-axis

      • whereas y=f(|x|) can

    • y=f(|x|) is always symmetric about the y-axis

      • whereas y=|f(x)| does not have to have any lines of symmetry

How do I sketch transformations of y = |f(x)|?

  • To sketch y=|af(x)+b|

    • first sketch y=f(x) without modulus signs

    • then apply a vertical stretch of scale factor a

      • y=af(x)

    • followed by a vertical translation of b

      • y=af(x)+b

    • then take the modulus (using the rules above)

      • y=|af(x)+b|

  • To sketch y=a|f(x)|+b

    • sketch y=|f(x)| (as above)

    • then apply a vertical stretch of scale factor a

      • y=a|f(x)|

    • followed by a vertical translation of b

      • y=a|f(x)|+b

How do I sketch transformations of y = f(|x|)?

  • To sketch y=af(|x|)+b

    • sketch y=f(|x|) (using the rules above)

    • then apply a vertical stretch of scale factor a

      • y=af(|x|)

    • followed by a vertical translation of b

      • y=af(|x|)+b

How do I sketch y = |f(ax+b)| or y = f(|ax+b|)?

  • To sketch y=|f(ax+b)|

    • first sketch y=f(ax+b) which factorises to y=f(a(x+ba))

      • i.e. first apply a horizontal stretch to y=f(x) of scale factor 1a

      • y=f(x) becomes y=f(ax)

      • followed by a horizontal translation of ba to the left, (ba0)

      • i.e. y=f(ax) becomes y=f(a(x+ba)) which is y=f(ax+b)

    • then take the modulus of y=f(ax+b) using the rules above

      • y=|f(ax+b)|

  • To sketch y=f(|ax+b|)

    • factorise it to f(|a||x+ba|)

      • i.e. first apply a horizontal stretch of scale factor 1|a| to y=f(|x|)

      • y=f(|x|) becomes y=f(|a||x|)

      • followed by a horizontal translation of ba to the left, (ba0)

      • i.e. y=f(|a||x|) becomes f(|a||x+ba|) which is y=f(|ax+b|)

Examiner Tips and Tricks

When sketching transformed modulus graphs, make sure the corners (cusps) where parts of the graph have been reflected are drawn sharply.

Worked Example

The diagram below shows the graph of y=f(x) .

2-9-1-we-diagram

(a) Sketch the graph of  y=|f(x)|.

Answer:

2-9-1-ib-aa-hl-modulus-trans-a-we-solution

(b) Sketch the graph of  y=f(|x|)  .

Answer:

2-9-1-ib-aa-hl-modulus-trans-b-we-solution

Unlock more, it's free!

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Build on this topic

Dan Finlay

Author: Dan Finlay

Expertise: Portfolio Lead

Dan graduated from the University of Oxford with a First class degree in mathematics. As well as teaching maths for over 8 years, Dan has marked a range of exams for Edexcel, tutored students and taught A Level Accounting. Dan has a keen interest in statistics and probability and their real-life applications.

Mark Curtis

Reviewer: Mark Curtis

Expertise: Maths Content Creator

Mark graduated twice from the University of Oxford: once in 2009 with a First in Mathematics, then again in 2013 with a PhD (DPhil) in Mathematics. He has had nine successful years as a secondary school teacher, specialising in A-Level Further Maths and running extension classes for Oxbridge Maths applicants. Alongside his teaching, he has written five internal textbooks, introduced new spiralling school curriculums and trained other Maths teachers through outreach programmes.