01 · Learn the idea
The V-shaped graph
The absolute value of a number is its distance from 0, so it is never negative. The simplest absolute value function is f(x) = |x|. Its table is x: −3, −2, −1, 0, 1, 2, 3 and y: 3, 2, 1, 0, 1, 2, 3.
Plot those points and you get a V. The left side is a straight piece that falls with slope −1. The right side is a straight piece that rises with slope 1. They meet at (0, 0), the lowest point. The point where the two sides meet is called the vertex.
The V is a mirror image of itself across the vertical line through the vertex. That line is the axis of symmetry. For f(x) = |x| it is the y-axis, the line x = 0. You can see it in the table: x = −3 and x = 3 both give 3.
02 · Build understanding
Reading f(x) = a|x − h| + k
Most absolute value functions you meet are written f(x) = a|x − h| + k. Three numbers tell you almost everything.
The vertex is (h, k). The expression inside the bars is 0 when x = h, and then the output is k. Watch the sign: in |x − 5| the vertex has x = 5, and in |x + 5|, which is |x − (−5)|, the vertex has x = −5. The axis of symmetry is the line x = h.
The number a sets the direction and the steepness. If a is positive, the V opens upward and the vertex is the lowest point, so k is the minimum value. If a is negative, the V opens downward and the vertex is the highest point, so k is the maximum value. The two sides have slopes a and −a.
The domain is always all real numbers, {x | x is a real number}, because you can take the absolute value of anything. The range depends on the direction: {y | y ≥ k} when the V opens upward and {y | y ≤ k} when it opens downward.
f(x) = a|x − h| + k has its vertex at (h, k)
03 · Build understanding
Worked example: a V that opens upward
Graph f(x) = 2|x − 1| − 4 and find its key features.
Step 1: Find the vertex. Here h = 1 and k = −4, so the vertex is (1, −4). The axis of symmetry is x = 1.
Step 2: Decide the direction. Since a = 2 is positive, the V opens upward and −4 is the minimum value.
Step 3: Make a table around the vertex. For x: −1, 0, 1, 2, 3 the outputs are y: 0, −2, −4, −2, 0. Plot the points and join them with two straight sides. The sides have slopes −2 and 2.
Step 4: Find the intercepts. The y-intercept is f(0) = 2|0 − 1| − 4 = −2, the point (0, −2). For the x-intercepts set 2|x − 1| − 4 = 0, so |x − 1| = 2, which gives x − 1 = 2 or x − 1 = −2. The x-intercepts are (3, 0) and (−1, 0).
Step 5: State the domain and range. The domain is all real numbers. The range is {y | y ≥ −4}.
Step 6: Describe the behavior. The function is decreasing for x < 1 and increasing for x > 1. It is negative between the x-intercepts, for −1 < x < 3, and positive for x < −1 or x > 3. For end behavior, as x increases without bound and as x decreases without bound, f(x) increases without bound.
Step 7: Check the symmetry. The x-intercepts −1 and 3 are each 2 units from the axis x = 1, and f(−1) = f(3) = 0.
04 · Build understanding
Worked example: a V that opens downward
Find the key features of g(x) = −|x + 2| + 3.
Step 1: Find the vertex. Rewrite x + 2 as x − (−2), so h = −2 and k = 3. The vertex is (−2, 3).
Step 2: Decide the direction. Here a = −1, which is negative, so the V opens downward and 3 is the maximum value. The range is {y | y ≤ 3}.
Step 3: Find the intercepts. The y-intercept is g(0) = −|0 + 2| + 3 = 1, the point (0, 1). For the x-intercepts set −|x + 2| + 3 = 0, so |x + 2| = 3, which gives x = 1 or x = −5.
Step 4: Describe the behavior. The function is increasing for x < −2 and decreasing for x > −2. It is positive for −5 < x < 1 and negative for x < −5 or x > 1. As x increases without bound and as x decreases without bound, g(x) decreases without bound.
Step 5: Check. The x-intercepts −5 and 1 are each 3 units from the axis of symmetry x = −2, and g(−5) = g(1) = 0.
05 · Build understanding
Worked example: distance from a bridge
Kai rides a bike along a straight trail at 12 miles per hour and passes a bridge 2 hours after starting. The ride lasts 5 hours. Kai’s distance from the bridge, in miles, is d(t) = 12|t − 2|, where t is hours since the start.
Step 1: Find the vertex. It is (2, 0). At t = 2 the distance is 0 miles, which is the moment Kai is at the bridge.
Step 2: Find the vertical intercept. d(0) = 12|0 − 2| = 24, so Kai starts 24 miles from the bridge.
Step 3: Describe the behavior. For 0 ≤ t < 2 the function is decreasing: Kai is getting closer. For 2 < t ≤ 5 it is increasing: Kai is riding away.
Step 4: Find the domain and range for this situation. The ride runs from t = 0 to t = 5, so the domain is 0 ≤ t ≤ 5. The distance is 0 at the bridge and largest at the end, d(5) = 12|5 − 2| = 36. The range is 0 ≤ d(t) ≤ 36.
06 · Build understanding
Three mistakes to watch for
Taking the sign of h from what you see. In g(x) = −|x + 2| + 3 the vertex is not at x = 2. The inside is 0 when x = −2, so the vertex is (−2, 3).
Stopping at one x-intercept. Solving 2|x − 1| − 4 = 0 leads to |x − 1| = 2. That has two answers, x = 3 and x = −1, one on each side of the axis of symmetry. If the vertex is on the x-axis there is one x-intercept, and a V such as y = |x| + 2, whose lowest point is at height 2, has none.
Giving the range of a line. A V does not cover every y-value. For f(x) = 2|x − 1| − 4 no output is below −4, so the range is {y | y ≥ −4}, not all real numbers.
Apply and explain
Your turn
Explain, without solving an equation, why the graph of f(x) = |x − 4| + 3 has no x-intercepts. Then give its vertex, its range and its y-intercept.
Use paper or explain your thinking aloud before opening the solution.
Check your reasoning
The vertex is (4, 3), and the V opens upward because the number in front of the bars is positive 1. So 3 is the lowest output, and the graph never comes down to the x-axis, where the output would be 0. The range is {y | y ≥ 3}. The y-intercept is f(0) = |0 − 4| + 3 = 7, the point (0, 7).
- Names the vertex (4, 3) and says the V opens upward.
- Uses the minimum value 3 to explain why the output is never 0.
- Gives the range {y | y ≥ 3} and the y-intercept (0, 7).
Ready to practice?
Try the questions, get feedback, and review your reasoning.
Absolute value functions: practice →