Scribe logoScribeNotes & practice
Sign inStart free
  1. Notes
  2. ›IB Mathematics: Analysis and Approaches
  3. ›2 Functions
  4. ›2.16 Modulus and reciprocal graphs

IB Mathematics: Analysis and Approaches · Topic 2 · Functions

2.16 Modulus and reciprocal graphs

Sketch modulus and reciprocal graphs, solve modulus equations and identify the key features of these graphs.

  • 4 min read
  • 6 parts
  • 10 questions
  • Draft
  • HL only
Start a Quick 5 on this topic→Jump to the 10 questions
1/6The modulus of a number is its distance from zero
  1. 1The modulus of a number is its distance from zero
  2. 2Modulus graphs reflect any part below the axis upwards
  3. 3Putting the modulus inside a function mirrors the right-hand side
  4. 4Equations with a modulus split into two cases
  5. 5Reciprocal graphs turn zeros into vertical asymptotes
  6. 6Transformed reciprocal graphs move their asymptotes with the shifts
  7. Check your recall
  8. Practice: 10 questions
1

Part 1 of 6: The modulus of a number is its distance from zero

On a number line, -3 and 3 are both 3 units from zero. The modulus records that distance and ignores direction. It is written ∣x∣|x|∣x∣.

So ∣3∣=3|3|=3∣3∣=3 and ∣−3∣=3|-3|=3∣−3∣=3. In general, ∣x∣=x|x|=x∣x∣=x when x≥0x\ge0x≥0, and ∣x∣=−x|x|=-x∣x∣=−x when x<0x<0x<0. The second case turns a negative number into a positive one.

The graph of y=∣x∣y=|x|y=∣x∣ is a V shape with its corner at the origin. It never lies below the xxx-axis. It is symmetric about the yyy-axis.

Common mistake

The modulus is not always equal to xxx. When xxx is negative, ∣x∣=−x|x|=-x∣x∣=−x, which is positive.

Key term

modulus

The modulus of a real number xxx, written ∣x∣|x|∣x∣, is its distance from zero and is never negative.

Part 1 done

2

Part 2 of 6: Modulus graphs reflect any part below the axis upwards

Now apply the modulus to a whole function. The graph of y=∣f(x)∣y=|f(x)|y=∣f(x)∣ starts from the graph of y=f(x)y=f(x)y=f(x). Any part above the xxx-axis stays where it is. This works because the modulus removes the negative sign from every output.

Any part below the xxx-axis is reflected in the xxx-axis. Negative outputs become positive. Points on the axis do not move.

Figure 1. The part of the parabola below the x-axis is reflected upwards. The modulus graph has sharp corners at the x-intercepts.

The new graph never goes below the axis. Sharp corners often appear at the xxx-intercepts. For f(x)=x2−4f(x)=x^2-4f(x)=x2−4, the dip between x=−2x=-2x=−2 and x=2x=2x=2 flips upwards, giving a peak at (0,4)(0,4)(0,4).

Part 2 done

Quick check

One question on the part you just read

Easy

Calculate ∣−7∣+∣3∣|-7|+|3|∣−7∣+∣3∣.
Show answer and explanation

Answer: D · Worked explanation

The modulus gives distance from zero, so ∣−7∣=7|-7|=7∣−7∣=7 and ∣3∣=3|3|=3∣3∣=3. The sum is 7+3=107+3=107+3=10. The value -4 comes from keeping the sign of -7 inside the sum, and 4 comes from subtracting 3 from 7. The value -10 treats both moduli as negative, which is impossible. Distances are never negative.
3

Part 3 of 6: Putting the modulus inside a function mirrors the right-hand side

A different transformation puts the modulus inside the function. The graph of y=f(∣x∣)y=f(|x|)y=f(∣x∣) uses only the part of y=f(x)y=f(x)y=f(x) where x≥0x\ge0x≥0. The part for x<0x<0x<0 is discarded.

The kept part is then reflected in the yyy-axis. The new graph is symmetric about the yyy-axis. The left-hand part of the original graph plays no role.

Two modulus transformations compared

GraphWhat happensResult
y=∣f(x)∣y=|f(x)|y=∣f(x)∣Parts below the xxx-axis reflect in the xxx-axisNever below the xxx-axis
y=f(∣x∣)y=f(|x|)y=f(∣x∣)Right-hand part is kept and reflected in the yyy-axisSymmetric about the yyy-axis
Graph
y=∣f(x)∣y=|f(x)|y=∣f(x)∣
What happens
Parts below the xxx-axis reflect in the xxx-axis
Result
Never below the xxx-axis
Graph
y=f(∣x∣)y=f(|x|)y=f(∣x∣)
What happens
Right-hand part is kept and reflected in the yyy-axis
Result
Symmetric about the yyy-axis

In ∣f(x)∣|f(x)|∣f(x)∣, the outputs change. In f(∣x∣)f(|x|)f(∣x∣), the inputs change. For f(x)=x−2f(x)=x-2f(x)=x−2, the graph of f(∣x∣)=∣x∣−2f(|x|)=|x|-2f(∣x∣)=∣x∣−2 is a V with its corner at (0,−2)(0,-2)(0,−2). It crosses the xxx-axis at -2 and 2.

Part 3 done

4

Part 4 of 6: Equations with a modulus split into two cases

A modulus equation asks which inputs give a stated distance. For ∣f(x)∣=k|f(x)|=k∣f(x)∣=k with k>0k>0k>0, the quantity f(x)f(x)f(x) can equal kkk or −k-k−k. So solve two equations. Each case removes the modulus sign and leaves an ordinary equation.

If both sides contain a modulus, ∣f(x)∣=∣g(x)∣|f(x)|=|g(x)|∣f(x)∣=∣g(x)∣ means f(x)=g(x)f(x)=g(x)f(x)=g(x) or f(x)=−g(x)f(x)=-g(x)f(x)=−g(x). If only one side does, check every answer in the original equation. Some answers fail.

Exam tip

A modulus cannot equal a negative number. Always substitute back, because one case may give an invalid solution.

Worked example

Solving a modulus equation

Solve ∣x−3∣=2x|x-3|=2x∣x−3∣=2x.
  1. 1
    The right side equals a modulus, so it must satisfy 2x≥02x\ge02x≥0, which means x≥0x\ge0x≥0.
  2. 2
    Case 1: x−3=2xx-3=2xx−3=2x gives x=−3x=-3x=−3. This fails x≥0x\ge0x≥0, so reject it.
  3. 3
    Case 2: x−3=−2xx-3=-2xx−3=−2x gives 3x=33x=33x=3, so x=1x=1x=1.
  4. 4
    Check: ∣1−3∣=2|1-3|=2∣1−3∣=2 and 2(1)=22(1)=22(1)=2.

Answer: The only solution is x=1x=1x=1.

Part 4 done

Quick check

One question on the part you just read

Easy

Identify a property that is true of the graph of y=∣f(x)∣y=|f(x)|y=∣f(x)∣ for every function fff.
Show answer and explanation

Answer: A · Worked explanation

The modulus is never negative, so every output of ∣f(x)∣|f(x)|∣f(x)∣ is zero or positive. The graph is symmetric about the yyy-axis only when fff itself is, so that is not guaranteed. Zeros of fff remain as xxx-intercepts. Reflection in the yyy-axis describes f(∣x∣)f(|x|)f(∣x∣), not ∣f(x)∣|f(x)|∣f(x)∣.
5

Part 5 of 6: Reciprocal graphs turn zeros into vertical asymptotes

Now consider y=1f(x)y=\frac{1}{f(x)}y=f(x)1​. This is a reciprocal function of fff. At each zero of fff, the new graph has a vertical asymptote. This happens because division by zero is undefined.

  • The sign stays the same: positive outputs stay positive.
  • Large values of f(x)f(x)f(x) become values close to zero.
  • Values of f(x)f(x)f(x) close to zero become very large.
Figure 2. The reciprocal graph has a vertical asymptote where the line crosses the axis. The two graphs meet at the invariant points.

Where f(x)=1f(x)=1f(x)=1 or f(x)=−1f(x)=-1f(x)=−1, the value does not change, since 11=1\frac{1}{1}=111​=1 and 1−1=−1\frac{1}{-1}=-1−11​=−1. Each of these points is an invariant point. Both graphs pass through them. Near an asymptote the reciprocal is hugely positive or hugely negative, depending on the sign of f(x)f(x)f(x).

Key terms · tap one for its definition

reciprocal function

A reciprocal function has the form y=1f(x)y=\frac{1}{f(x)}y=f(x)1​ and is undefined wherever f(x)=0f(x)=0f(x)=0.

vertical asymptote

A vertical asymptote is a vertical line x=ax=ax=a that the graph approaches while the outputs grow without bound.

invariant point

An invariant point is a point whose coordinates do not change under a transformation.

Part 5 done

6

Part 6 of 6: Transformed reciprocal graphs move their asymptotes with the shifts

The basic graph y=1xy=\frac{1}{x}y=x1​ has asymptotes x=0x=0x=0 and y=0y=0y=0. Now take y=ax−h+ky=\frac{a}{x-h}+ky=x−ha​+k. The horizontal shift hhh moves the vertical asymptote to x=hx=hx=h. The vertical shift kkk moves the horizontal asymptote to y=ky=ky=k.

The constant aaa stretches the graph. If aaa is negative, the branches are reflected. The domain, the set of allowed inputs, excludes x=hx=hx=h. No output equals kkk.

Use the asymptotes, the intercepts and a test point to sketch each branch. There are always two branches, one on each side of the vertical asymptote.

Worked example

Features of a transformed reciprocal graph

Find the asymptotes and intercepts of y=2x−1+3y=\frac{2}{x-1}+3y=x−12​+3.
  1. 1
    The asymptotes are x=1x=1x=1 and y=3y=3y=3.
  2. 2
    Put x=0x=0x=0: y=2−1+3=1y=\frac{2}{-1}+3=1y=−12​+3=1.
  3. 3
    Put y=0y=0y=0: 2x−1=−3\frac{2}{x-1}=-3x−12​=−3, so x−1=−23x-1=-\frac{2}{3}x−1=−32​ and x=13x=\frac{1}{3}x=31​.

Answer: The asymptotes are x=1x=1x=1 and y=3y=3y=3. The intercepts are (0,1)(0,1)(0,1) and (13,0)\left(\frac{1}{3},0\right)(31​,0).

Key term

horizontal asymptote

A horizontal asymptote is a horizontal line y=by=by=b that the graph approaches as xxx becomes very large or very negative.

Note read

Check your recall[15 marks]

6 written questions. Answer each one in your head or on paper, then open the mark scheme.

  1. 1.Define[2 marks]

    Define the modulus of a real number xxx.

    Show mark schemeHide mark scheme

    Model answer

    The modulus ∣x∣|x|∣x∣ is the distance of xxx from zero. It equals xxx when x≥0x\ge0x≥0 and −x-x−x when x<0x<0x<0.

    • 1 mark for stating that ∣x∣|x|∣x∣ is the distance from zero, or never negative
    • 1 mark for stating ∣x∣=x|x|=x∣x∣=x for x≥0x\ge0x≥0 and ∣x∣=−x|x|=-x∣x∣=−x for x<0x<0x<0
  2. 2.Describe[3 marks]

    Describe how the graph of y=∣f(x)∣y=|f(x)|y=∣f(x)∣ is obtained from the graph of y=f(x)y=f(x)y=f(x).

    Show mark schemeHide mark scheme

    Model answer

    Keep the parts on or above the xxx-axis unchanged. Reflect the parts below the xxx-axis in the xxx-axis. The new graph never lies below the axis.

    • 1 mark for keeping the parts on or above the xxx-axis unchanged
    • 1 mark for reflecting the parts below the xxx-axis in the xxx-axis
    • 1 mark for stating that the new graph never lies below the xxx-axis
  3. 3.Determine[3 marks]

    Determine the solutions of ∣3x−2∣=7|3x-2|=7∣3x−2∣=7.

    Show mark schemeHide mark scheme

    Model answer

    The two cases are 3x−2=73x-2=73x−2=7 and 3x−2=−73x-2=-73x−2=−7. These give x=3x=3x=3 and x=−53x=-\frac{5}{3}x=−35​.

    • 1 mark for forming the cases 3x−2=73x-2=73x−2=7 and 3x−2=−73x-2=-73x−2=−7
    • 1 mark for obtaining x=3x=3x=3
    • 1 mark for obtaining x=−53x=-\frac{5}{3}x=−35​
  4. 4.Write down[2 marks]

    Write down the equations of the asymptotes of y=4x+2−5y=\frac{4}{x+2}-5y=x+24​−5.

    Show mark schemeHide mark scheme

    Model answer

    The vertical asymptote is x=−2x=-2x=−2 and the horizontal asymptote is y=−5y=-5y=−5.

    • 1 mark for writing x=−2x=-2x=−2
    • 1 mark for writing y=−5y=-5y=−5
  5. 5.Explain[2 marks]

    Explain why the graph of y=1f(x)y=\frac{1}{f(x)}y=f(x)1​ has a vertical asymptote wherever f(x)=0f(x)=0f(x)=0.

    Show mark schemeHide mark scheme

    Model answer

    The reciprocal is undefined where f(x)=0f(x)=0f(x)=0. Close to such an input, f(x)f(x)f(x) is tiny, so 1f(x)\frac{1}{f(x)}f(x)1​ becomes very large in size.

    • 1 mark for stating that 1f(x)\frac{1}{f(x)}f(x)1​ is undefined where f(x)=0f(x)=0f(x)=0
    • 1 mark for stating that near this input f(x)f(x)f(x) is close to zero, so the outputs grow without bound
  6. 6.Determine[3 marks]

    Determine all solutions of ∣2x−1∣=x+4|2x-1|=x+4∣2x−1∣=x+4.

    Show mark schemeHide mark scheme

    Model answer

    The cases are 2x−1=x+42x-1=x+42x−1=x+4 and 2x−1=−(x+4)2x-1=-(x+4)2x−1=−(x+4). These give x=5x=5x=5 and x=−1x=-1x=−1. Both satisfy the original equation.

    • 1 mark for forming the cases 2x−1=x+42x-1=x+42x−1=x+4 and 2x−1=−(x+4)2x-1=-(x+4)2x−1=−(x+4)
    • 1 mark for obtaining x=5x=5x=5 and x=−1x=-1x=−1
    • 1 mark for checking both in the original equation

Practice this topic

10 quick-fire multiple-choice questions, easy to hard. Tap an answer to see if you're right and the worked explanation. (The written questions with mark schemes are under “Check your recall” above.)

0 right0 of 10 answered

Includes the 2 quick checks in the note above.

3.

Easy·Identify[1 mark]

Identify the vertical asymptote of the graph of y=1x−4y=\frac{1}{x-4}y=x−41​.
Show answer and explanation

Answer: B · Worked explanation

The denominator x−4x-4x−4 is zero when x=4x=4x=4, so the vertical asymptote is x=4x=4x=4. The line x=−4x=-4x=−4 comes from a sign error. The line y=4y=4y=4 is horizontal, and this graph has horizontal asymptote y=0y=0y=0 instead. A reciprocal graph has a vertical asymptote at each zero of the denominator.
4.

Medium·State[2 marks]

State the coordinates of the lowest point of the graph of y=∣x−2∣−3y=|x-2|-3y=∣x−2∣−3.
Show answer and explanation

Answer: C · Worked explanation

The graph of ∣x−2∣|x-2|∣x−2∣ is a V with its corner at (2,0)(2,0)(2,0). Subtracting 3 moves the corner down to (2,−3)(2,-3)(2,−3), which is the lowest point. The point (−2,−3)(-2,-3)(−2,−3) shifts in the wrong horizontal direction. The point (2,3)(2,3)(2,3) shifts upwards instead of downwards.
5.

Medium·Determine[2 marks]

Determine the solutions of ∣2x+1∣=9|2x+1|=9∣2x+1∣=9.
Show answer and explanation

Answer: D · Worked explanation

The two cases are 2x+1=92x+1=92x+1=9 and 2x+1=−92x+1=-92x+1=−9. The first gives x=4x=4x=4 and the second gives x=−5x=-5x=−5. Both satisfy the equation, since ∣9∣=9|9|=9∣9∣=9 and ∣−9∣=9|-9|=9∣−9∣=9. Using only the positive case gives the incomplete answer x=4x=4x=4. Each case should be checked in the original equation.
6.

Medium·Determine[2 marks]

Determine the yyy-intercept of the graph of y=3x+1+2y=\frac{3}{x+1}+2y=x+13​+2.
Show answer and explanation

Answer: A · Worked explanation

Put x=0x=0x=0: y=31+2=5y=\frac{3}{1}+2=5y=13​+2=5, so the intercept is (0,5)(0,5)(0,5). The value 2 is the horizontal asymptote, not an intercept. The value -1 is where the vertical asymptote lies, and 3 ignores the vertical shift. This is the same as evaluating the whole expression at x=0x=0x=0.
7.

Medium·Predict[2 marks]

The graph of y=f(x)y=f(x)y=f(x) has a minimum point at (2,−3)(2,-3)(2,−3). Predict the corresponding point on the graph of y=∣f(x)∣y=|f(x)|y=∣f(x)∣.
Show answer and explanation

Answer: B · Worked explanation

The modulus reflects parts below the xxx-axis upwards, so the yyy-coordinate changes sign while the xxx-coordinate stays the same. This gives (2,3)(2,3)(2,3). The point (−2,3)(-2,3)(−2,3) would come from a reflection in the yyy-axis. The point (2,−3)(2,-3)(2,−3) stays below the axis, which cannot happen after taking a modulus.
8.

Hard·Determine[2 marks]

Determine all solutions of ∣x+1∣=3x−5|x+1|=3x-5∣x+1∣=3x−5.
Show answer and explanation

Answer: C · Worked explanation

Case 1: x+1=3x−5x+1=3x-5x+1=3x−5 gives x=3x=3x=3, and ∣4∣=4|4|=4∣4∣=4 matches 3(3)−5=43(3)-5=43(3)−5=4. Case 2: x+1=−(3x−5)x+1=-(3x-5)x+1=−(3x−5) gives x=1x=1x=1. But then 3(1)−5=−23(1)-5=-23(1)−5=−2, which cannot equal a modulus. So x=1x=1x=1 is rejected, and only x=3x=3x=3 remains. A modulus is never negative. Checking x=3x=3x=3 gives ∣4∣=4|4|=4∣4∣=4 and 3(3)−5=43(3)-5=43(3)−5=4.
9.

Hard·Identify[2 marks]

Identify the correct description of the graph of y=1x2−9y=\frac{1}{x^2-9}y=x2−91​.
Show answer and explanation

Answer: D · Worked explanation

The denominator x2−9x^2-9x2−9 is zero at x=±3x=\pm3x=±3, giving two vertical asymptotes. At x=0x=0x=0, y=1−9=−19y=\frac{1}{-9}=-\frac{1}{9}y=−91​=−91​, so there is a yyy-intercept. The value -9 is the value of f(0)f(0)f(0), not its reciprocal. The graph is defined at x=0x=0x=0, so it does have a yyy-intercept.
10.

Hard·Identify[2 marks]

The graph of y=f(x)y=f(x)y=f(x) passes through (3,5)(3,5)(3,5) and (−2,1)(-2,1)(−2,1). Identify the pair of points that must lie on the graph of y=f(∣x∣)y=f(|x|)y=f(∣x∣).
Show answer and explanation

Answer: A · Worked explanation

The graph of f(∣x∣)f(|x|)f(∣x∣) keeps the right-hand part of fff and reflects it in the yyy-axis. So (3,5)(3,5)(3,5) stays, and its mirror image (−3,5)(-3,5)(−3,5) is added. The left-hand part of fff, including (−2,1)(-2,1)(−2,1), is discarded. The point (3,−5)(3,-5)(3,−5) would come from reflecting in the xxx-axis.

Keep going

Next topic3.1 3D distance, volume and surface areaPrevious topic2.15 Solving inequalities

More in Topic 2 · Functions

  1. 2.8Reciprocal and rational functionsNotes · 10 questions
  2. 2.9Exponential and logarithmic functionsNotes · 10 questions
  3. 2.10Solving equationsNotes · 10 questions
  4. 2.11Transformations of graphsNotes · 10 questions
  5. 2.12Polynomial functionsNotes · 10 questions· HL only
  6. 2.13Rational functionsNotes · 10 questions· HL only
  7. 2.14Odd, even and self-inverse functionsNotes · 10 questions· HL only
  8. 2.15Solving inequalitiesNotes · 10 questions· HL only
  9. 2.16Modulus and reciprocal graphsNotes · 10 questions· HL only

All IB Mathematics: Analysis and Approaches topics →

Draft: written by Scribe and checked automatically, not yet by a subject reviewer.

Practice questions are original, written by Scribe and checked automatically for correctness.

Topic codes follow the official numbering. Not endorsed by IB Diploma Programme or any exam board.

On this page

0/6 read

  1. 1The modulus of a number is its distance from zero
  2. 2Modulus graphs reflect any part below the axis upwards
  3. 3Putting the modulus inside a function mirrors the right-hand side
  4. 4Equations with a modulus split into two cases
  5. 5Reciprocal graphs turn zeros into vertical asymptotes
  6. 6Transformed reciprocal graphs move their asymptotes with the shifts
  7. Check your recall
  8. Practice: 10 questions
All coursesScribeHow it worksPricingPrivacyTerms

Notes and questions are written by Scribe in our own words. Topic codes follow the official course numbering so you can find your place. Not produced or endorsed by the IB, College Board, AQA, OCR, Pearson Edexcel or any exam board.

© 2026 Scribe

A function and its modulus graph

y-4-3-2-101234-4-202468x
  • f(x)
  • |f(x)|
  • (0, −4)
  • (0, 4)

A linear function and its reciprocal

y-20246-4-2024x
  • f(x) = x − 2
  • 1/f(x)
  • Vertical asymptote
  • (1, −1)
  • (3, 1)