Graph Absolute Value Functions- Complete Guide
What Is an Absolute Value Function?
An absolute value function contains an expression wrapped in absolute value bars (| |). The function returns the distance a number is from zero, so it's always non-negative.
The most basic form is f(x) = |x|. Graph this and you get a V-shape that opens upward, with its vertex sitting right at the origin (0, 0).
That's the foundation. Everything else in graphing absolute value functions is just variations of this basic shape.
The Basic Shape: Why It Looks Like a V
Here's what you need to understand about |x|: it equals x when x is positive, and it equals -x when x is negative. The graph reflects across the y-axis at x = 0.
For f(x) = |x|:
- When x = -3, f(x) = 3
- When x = -1, f(x) = 1
- When x = 0, f(x) = 0
- When x = 1, f(x) = 1
- When x = 3, f(x) = 3
Plot these points and you get that distinctive V shape. The point where the two lines meet is called the vertex — in this case, (0, 0).
Transformations That Change Everything
Once you know the basic shape, you can graph any absolute value function by understanding how transformations affect it. There are four types to know.
Vertical Shifts
Adding or subtracting a number outside the absolute value moves the graph up or down.
f(x) = |x| + 3 shifts the graph up 3 units. The vertex moves from (0, 0) to (0, 3).
f(x) = |x| - 2 shifts the graph down 2 units. The vertex moves to (0, -2).
Horizontal Shifts
Adding or subtracting a number inside the absolute value moves the graph left or right. Watch out — the direction is counterintuitive.
f(x) = |x - 4| shifts the graph right 4 units. The vertex moves to (4, 0).
f(x) = |x + 2| shifts the graph left 2 units. The vertex moves to (-2, 0).
Why does x + 2 shift left? Because the expression inside equals zero when x = -2. That's where the vertex sits.
Vertical Stretch and Compression
Multiplying the entire function by a number changes how "steep" the V is.
For f(x) = a|x|:
- If |a| > 1, the graph gets thinner (vertical stretch)
- If 0 < |a| < 1, the graph gets wider (vertical compression)
- If a is negative, the graph flips upside down (reflection over x-axis)
Example: f(x) = 2|x| is narrower than f(x) = |x|. f(x) = 0.5|x| is wider.
Horizontal Stretch and Compression
Multiplying the input by a number before taking absolute value compresses or stretches horizontally.
For f(x) = |bx|:
- If |b| > 1, the graph gets thinner (horizontal compression)
- If 0 < |b| < 1, the graph gets wider (horizontal stretch)
Example: f(x) = |2x| has a vertex at (0, 0) but the arms close in faster. The V is narrower.
General Form: f(x) = a|bx - h| + k
Every absolute value function you'll encounter can be written in this form. Here's what each parameter controls:
| Parameter | What It Does | Where Vertex Moves |
|---|---|---|
| a | Vertical stretch/compression, reflection | Vertical position |
| b | Horizontal stretch/compression | Horizontal position |
| h | Horizontal shift (opposite sign) | Vertex x-coordinate = h/b |
| k | Vertical shift | Vertex y-coordinate |
How to Graph Absolute Value Functions
Here's the straightforward process:
Step 1: Find the Vertex
Set the expression inside absolute value equal to zero and solve. That x-value is your vertex x-coordinate. Plug it back in to find the y-value.
For f(x) = |2x - 6| + 3:
Set 2x - 6 = 0, so x = 3. Then f(3) = |0| + 3 = 3. Vertex is at (3, 3).
Step 2: Determine the Slope
The slope of each arm comes from the coefficient a and b. For f(x) = a|bx - h| + k:
- Slope of right arm = a/b
- Slope of left arm = -a/b
For f(x) = |2x - 6| + 3, the slopes are 1/2 and -1/2.
Step 3: Plot Points and Draw
Start at the vertex. Use the slope to find another point on each arm. Draw two lines meeting at the vertex.
From (3, 3), go right 2, up 1 to get (5, 4). Go left 2, up 1 to get (1, 4). Connect these to (3, 3).
Common Mistakes to Avoid
- Confusing inside and outside shifts — inside moves opposite to what you expect, outside moves exactly as written
- Forgetting to set inside equal to zero — that's how you find the vertex, not guesswork
- Ignoring the sign of a — negative a flips the whole graph upside down
- Mixing up stretch vs. compression — bigger coefficient inside = thinner graph, bigger coefficient outside = thinner graph
Examples: From Simple to Complex
Example 1: f(x) = |x - 2| + 1
Vertex at (2, 1). Opens upward (a = 1). Slopes are 1 and -1. Graph is the basic V shifted right 2, up 1.
Example 2: f(x) = -|x + 3|
Vertex at (-3, 0). Opens downward (a = -1). The negative sign flips it. Slopes are -1 and 1.
Example 3: f(x) = 3|x - 1| - 4
Vertex at (1, -4). Vertical stretch by factor of 3. Slopes are 3 and -3. Graph is steeper than the basic V, shifted right 1, down 4.
Example 4: f(x) = |0.5x + 2| - 3
Rewrite as |0.5(x + 4)| - 3. Vertex at (-4, -3). Horizontal stretch by factor of 2. Slopes are 0.5 and -0.5. Graph is wider, shifted left 4, down 3.
When You're Given Points Instead
Sometimes you get a table of values or points and need to write the function. Here's how:
Find the vertex — the point where the y-values stop decreasing and start increasing (or vice versa). That's your (h, k).
Pick one other point. Calculate the slope from vertex to that point. That's your a-value.
For points (2, 5) as vertex and (4, 9) as another point: slope = (9-5)/(4-2) = 2. So a = 2. Function is f(x) = 2|x - 2| + 5.
Quick Reference
| Function Form | Vertex | Opens | Width |
|---|---|---|---|
| f(x) = |x| | (0, 0) | Up | Standard |
| f(x) = |x| + k | (0, k) | Up | Standard |
| f(x) = |x - h| | (h, 0) | Up | Standard |
| f(x) = a|x| | (0, 0) | Up if a > 0, Down if a < 0 | Thinner if |a| > 1, Wider if |a| < 1 |
| f(x) = |bx| | (0, 0) | Up | Thinner if |b| > 1, Wider if |b| < 1 |
| f(x) = a|bx - h| + k | (h/b, k) | Up if a > 0, Down if a < 0 | Determined by a and b |
Bottom Line
Graphing absolute value functions comes down to one thing: finding the vertex, then understanding how your coefficients affect slope and direction. The basic V is your template. Everything else is just shifting, stretching, and flipping that V.
Master the vertex formula and the four transformation types, and you can graph any absolute value function on sight.