IB Maths AA HL Topic 2 โ€” Functions Paper 1 & 2 HL only ~7 min read

Modulus Functions

The modulus (or absolute value) function strips the sign off any input โ€” so |3| = 3 and |โˆ’2| = 2. Its graph is a clean V-shape with vertex at the origin. Once you know how the basic y = |x| transforms via the standard form y = a|x + p| + q, you can sketch any modulus graph by reading off the vertex and the steepness directly from the equation.

๐Ÿ“˜ What you need to know

The modulus function and its graph

Definition |x| = { x if x โ‰ฅ 0;   โˆ’x if x < 0 }

The modulus gives the unsigned distance of x from zero. Geometrically, the graph of y = |x| is the line y = x reflected upward whenever it would otherwise dip below the x-axis.

The basic graph y = |x|
x y vertex (0, 0) y = โˆ’x  (x < 0) y = x  (x โ‰ฅ 0)
Why the V? When x < 0, the modulus flips the sign โ€” so the graph below the x-axis is reflected upward. The two half-lines meet sharply at the origin, where the gradient changes from โˆ’1 to +1 instantly.

The standard form: y = a|x + p| + q

Vertex from standard form y = a|x + p| + q   โ†’   vertex at (โˆ’p, q)

Reading off the vertex is just inspection โ€” flip the sign of the number inside the modulus, and pair it with the constant added at the end.

a > 0
V-shape (opens up)
vertex is the minimum; range is y โ‰ฅ q
a < 0
โˆง-shape (opens down)
vertex is the maximum; range is y โ‰ค q
y = a|x + p| + q โ€” vertex at (โˆ’p, q)
x y (โˆ’p, q) a > 0 โ€” V-shape x y (โˆ’p, q) a < 0 โ€” โˆง-shape

Rearranging into standard form

Equations like y = |10 โˆ’ 5x| + 2 don’t look like the standard form, but two short identities convert them in seconds:

Product identity
|ab| = |a| ยท |b|
factor out coefficients of x
Symmetry identity
|a โˆ’ b| = |b โˆ’ a|
flip the order to get x first

๐Ÿงญ Recipe โ€” convert to standard form

  1. Make sure x appears first inside the modulus, using |a โˆ’ b| = |b โˆ’ a| if needed.
  2. Factor out the coefficient of x inside the modulus.
  3. Apply |ab| = |a||b| to bring the coefficient outside as a positive number.
  4. Read off vertex (โˆ’p, q) and shape from the standard form.

Worked examples

WE 1

Identify vertex, shape, and intercepts from standard form

State the vertex, shape, y-intercept, and x-intercepts of y = |x + 5| โˆ’ 3.

Step 1: Match standard form y = a|x + p| + q a = 1, p = 5, q = โˆ’3 Step 2: Vertex is (โˆ’p, q) vertex: (โˆ’5, โˆ’3) Step 3: Shape โ€” a > 0 โ†’ V-shape Step 4: y-intercept (sub x = 0) y = |0 + 5| โˆ’ 3 = 5 โˆ’ 3 = 2 โ†’ (0, 2) Step 5: x-intercepts (set y = 0) |x + 5| = 3 โ†’ x + 5 = ยฑ3 โ†’ x = โˆ’2 or x = โˆ’8 vertex (โˆ’5, โˆ’3); V-shape; y-int (0, 2); x-ints (โˆ’8, 0) and (โˆ’2, 0) flip the sign of p to get the vertex’s x-coordinate โ€” the most common slip is keeping +5
WE 2

Modulus graph with a negative leading coefficient

State the vertex, shape, y-intercept, and x-intercepts of y = โˆ’2|x โˆ’ 1| + 4.

Step 1: Match standard form a = โˆ’2, p = โˆ’1, q = 4 Step 2: Vertex is (โˆ’p, q) vertex: (1, 4) Step 3: Shape โ€” a < 0 โ†’ โˆง-shape (steeper than basic since |a| = 2) Step 4: y-intercept y = โˆ’2|0 โˆ’ 1| + 4 = โˆ’2 + 4 = 2 โ†’ (0, 2) Step 5: x-intercepts (set y = 0) โˆ’2|x โˆ’ 1| + 4 = 0 โ†’ |x โˆ’ 1| = 2 โ†’ x = โˆ’1 or x = 3 vertex (1, 4); โˆง-shape; y-int (0, 2); x-ints (โˆ’1, 0) and (3, 0) โˆง-shape with a vertex above the x-axis always has two x-intercepts โ€” symmetric about the vertex’s x-coordinate
WE 3

Rearrange into standard form

Express y = |10 โˆ’ 5x| + 2 in the form y = a|x + p| + q, and state the vertex.

Step 1: Get x first inside the modulus |10 โˆ’ 5x| = |5x โˆ’ 10| (using |a โˆ’ b| = |b โˆ’ a|) Step 2: Factor out the coefficient of x |5x โˆ’ 10| = |5(x โˆ’ 2)| Step 3: Apply |ab| = |a||b| |5(x โˆ’ 2)| = 5|x โˆ’ 2| Step 4: Combine with the +2 outside y = 5|x โˆ’ 2| + 2 y = 5|x โˆ’ 2| + 2; vertex (2, 2) a = 5 always comes out positive even if the original coefficient was negative inside โ€” that’s what |a||b| guarantees
WE 4

Find the equation of a V-shaped graph

The graph of y = a|x + p| + q is V-shaped, with vertex at (โˆ’3, 1) and passes through (0, 4). Find the equation.

Step 1: Vertex (โˆ’p, q) = (โˆ’3, 1) โ†’ p = 3, q = 1 y = a|x + 3| + 1 Step 2: Substitute (0, 4) to find a 4 = a|0 + 3| + 1 4 = 3a + 1 โ†’ 3a = 3 โ†’ a = 1 Step 3: V-shape requires a > 0 โ€” confirm a = 1 โœ“ y = |x + 3| + 1 a = 1 is the basic V โ€” both branches have gradients ยฑ1
WE 5

Find the equation of a โˆง-shaped graph

The graph of y = a|x + p| + q is โˆง-shaped, with vertex at (2, 5) and passes through (0, 1). Find the equation.

Step 1: Vertex (โˆ’p, q) = (2, 5) โ†’ p = โˆ’2, q = 5 y = a|x โˆ’ 2| + 5 Step 2: Substitute (0, 1) to find a 1 = a|0 โˆ’ 2| + 5 1 = 2a + 5 โ†’ 2a = โˆ’4 โ†’ a = โˆ’2 Step 3: โˆง-shape requires a < 0 โ€” confirm a = โˆ’2 โœ“ y = โˆ’2|x โˆ’ 2| + 5 always check the sign of a against the shape โ€” if it doesn’t match, you’ve slipped a sign somewhere
WE 6

Domain and range of a transformed modulus

State the domain and range of f(x) = โˆ’3|x + 4| + 7.

Step 1: Domain โ€” modulus accepts any real input domain: x โˆˆ โ„ Step 2: Identify shape and vertex a = โˆ’3 โ†’ โˆง-shape (max at vertex) vertex (โˆ’p, q) = (โˆ’4, 7) โ†’ maximum value y = 7 Step 3: Range follows from the vertex โˆง-shape opens downward with maximum 7 โ†’ y โ‰ค 7 domain: โ„; range: y โ‰ค 7 V-shape (a > 0) gives range y โ‰ฅ q; โˆง-shape (a < 0) gives range y โ‰ค q

๐Ÿ’ก Top tips

โš  Common mistakes

Now you can sketch y = |x| and any of its standard transformations confidently. The next note, Modulus Transformations, takes a step further: applying modulus to any function โ€” y = |f(x)| reflects the negative parts upward, and y = f(|x|) makes the graph symmetric about the y-axis. Two simple transformation rules with rich exam applications.

Need help with Modulus Functions?

Get 1-on-1 help from an IB examiner who knows exactly what Paper 1 & 2 are looking for.

Book Free Session โ†’