IB Maths AA HLTopic 2 โ FunctionsPaper 1 & 2HL 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
Definition: |x| = x if x โฅ 0; |x| = โx if x < 0. Equivalently, |x| = โ(x2).
Domain and range: domain is all real x; range is y โฅ 0.
Basic graph: y = |x| is a V-shape with vertex at (0, 0). Continuous everywhere; not differentiable at x = 0.
Standard form: y = a|x + p| + q has vertex at (โp, q).
Shape: a > 0 โ V-shape (opens upward); a < 0 โ โง-shape (opens downward). Larger |a| means steeper sides.
Two key identities for rearranging: |ab| = |a||b| and |a โ b| = |b โ a|.
Watch the sign of p: vertex x-coordinate is โp, not p. Sign-flip is the most common slip.
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|
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 formy = 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)
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
Make sure x appears first inside the modulus, using |a โ b| = |b โ a| if needed.
Factor out the coefficient of x inside the modulus.
Apply |ab| = |a||b| to bring the coefficient outside as a positive number.
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| + qa = 1, p = 5, q = โ3Step 2: Vertex is (โp, q)vertex: (โ5, โ3)Step 3: Shape โ a > 0 โ V-shapeStep 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 = โ8vertex (โ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 forma = โ2, p = โ1, q = 4Step 2: Vertex is (โp, q)vertex: (1, 4)Step 3: Shape โ a < 0 โ โง-shape (steeper than basic since |a| = 2)Step 4: y-intercepty = โ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 = 3vertex (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 outsidey = 5|x โ 2| + 2y = 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 = 1y = a|x + 3| + 1Step 2: Substitute (0, 4) to find a4 = a|0 + 3| + 14 = 3a + 1 โ 3a = 3 โ a = 1Step 3: V-shape requires a > 0 โ confirm a = 1 โy = |x + 3| + 1a = 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 = 5y = a|x โ 2| + 5Step 2: Substitute (0, 1) to find a1 = a|0 โ 2| + 51 = 2a + 5 โ 2a = โ4 โ a = โ2Step 3: โง-shape requires a < 0 โ confirm a = โ2 โy = โ2|x โ 2| + 5always 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 inputdomain: x โ โStep 2: Identify shape and vertexa = โ3 โ โง-shape (max at vertex)vertex (โp, q) = (โ4, 7) โ maximum value y = 7Step 3: Range follows from the vertexโง-shape opens downward with maximum 7 โ y โค 7domain: โ; range: y โค 7V-shape (a > 0) gives range y โฅ q; โง-shape (a < 0) gives range y โค q
๐ก Top tips
Vertex’s x-coordinate is โp, not p. Always flip the sign of whatever’s inside the modulus.
Sign of a determines shape: positive V, negative โง. Confirm against the picture before finalising.
Modulus identities are exam shortcuts: |ab| = |a||b| and |a โ b| = |b โ a| handle most rearrangements.
The coefficient that comes out is always positive: |โ3| = 3, never โ3.
Check the y-intercept by substituting x = 0 โ useful for verifying the equation when reverse-engineering.
Two x-intercepts if the vertex is on the opposite side of the x-axis to the opening; none if the vertex is on the same side; one if the vertex is on the axis.
Draw the corner sharp โ the V (or โง) point isn’t a smooth turning point; it’s a cusp where the gradient jumps.
โ Common mistakes
Reading p as the vertex’s x-coordinate instead of โp. Marker’s favourite slip.
Forgetting to apply the symmetry identity when the coefficient of x is negative inside the modulus.
Bringing a coefficient out as negative โ |โ4| = 4 always; the coefficient outside the modulus must be positive in the standard form.
Drawing a smooth curve at the vertex instead of a sharp cusp. Makes the answer look like a parabola or worse.
Confusing range with domain. Domain is always all real numbers for modulus functions; range depends on shape and vertex.
Forgetting that modulus is non-differentiable at the vertex. The gradient changes abruptly โ important for calculus questions later.
Substituting x = 0 carelessly when finding the y-intercept, especially with negative p: check that |0 โ 1| = 1, not 0.
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.