Algebra 2 · F.BF.B.3 · A.REI.D.11

Transforming the absolute value graph

The V-shaped graph of the absolute value can be slid, flipped and stretched. Where does its corner land, how steep are its arms, and which heights does it reach?

Where you are 4 in Piecewise and absolute value functions

When you reach for it

The absolute value graph is a V with its corner at the origin and arms of slope -1 and 1. The unit’s general moves, shifting, flipping and stretching, put into one rule by Combining transformations and the general form, work on it exactly as on any parent. Applied to |x| they give the family

y = a|x - h| + k, \qquad a \ne 0

Reach for this lesson when such a rule has to be drawn, when a V on a grid needs its rule, or when an absolute value equation or inequality is easier to see than to solve. A V is also the simplest model for a quantity that rises at a steady rate up to one point and falls at the same rate after it, such as a made-up signal meter that reads higher as you drive toward a transmitter and lower after you pass it. Real radio signals do not fade in straight lines; the V is a simplified model.

The procedure

The vertex is (h, k)

The bars |x - h| are 0 at x = h and positive at every other input. So at x = h the output is a \cdot 0 + k = k, and the corner, the vertex, sits at (h, k). The sign inside the bars works as for every parent in Graphing by transforming a parent graph: |x + 2| is |x - (-2)|, so h = -2.

The arms have slopes a and -a

To the right of the vertex x - h \ge 0, so |x - h| = x - h and the rule is the line y = a(x - h) + k, with slope a. To the left x - h < 0, so |x - h| = -(x - h) and the rule is y = -a(x - h) + k, with slope -a. Each arm is a ray. One step to either side of the vertex the height changes by a, so (h - 1, k + a) and (h + 1, k + a) are on the graph, and those three points are enough to draw it.

  • a > 0: the V opens upward.
  • a < 0: the V is flipped and opens downward.
  • |a| > 1: narrower than |x|. |a| < 1: wider.

Domain and range

Any real number can go inside the bars, so the domain is all real numbers. Every output other than the vertex’s differs from k by a times a positive number, so:

the vertex isrange
a > 0the lowest pointy \ge k
a < 0the highest pointy \le k

The vertex is the graph’s only turning point, and it is the minimum or maximum of the whole function.

A factor inside the bars

A rule such as y = |2x + 6| has a factor inside. Since |mn| = |m|\,|n|, the factor comes out: |2x + 6| = |2(x + 3)| = 2|x + 3|. So for |x| a horizontal compression draws the same graph as a vertical stretch, and every V can be put in the form a|x - h| + k before anything is read.

Reading the rule from a V

The vertex gives h and k directly, as in finding the rule of a transformed graph. Any other point (x, y) on the V then gives a, since y - k = a|x - h|:

a = \frac{y - k}{|x - h|}

Equations and inequalities off the graph

The solutions of a|x - h| + k = c are the inputs where the horizontal line y = c meets the V, which is solving with graphs when one side is a constant. The line crosses both arms (two solutions), touches only the vertex when c = k (one solution), or misses the V (none). Two crossings sit at the same distance from h, one on each side, because the arms are mirror images in the line x = h; Symmetry about the vertical axis and the origin studies that kind of fold.

An inequality such as a|x - h| + k \le c asks where the V is on or below the line. For an upward V that is the stretch between the crossings; for a downward V it is the two pieces outside them. Absolute value equations and Absolute value inequalities reach the same answers by algebra, which is the check whenever a crossing does not land on a grid point.

Worked examples

Example 1

A flipped and narrowed V

Graph y = -3|x - 4| + 5. Give its vertex, the slopes of its arms, its domain and range, and where it crosses the axes.

Solution

Matching with a|x - h| + k gives a = -3, h = 4 and k = 5, so the vertex is (4, 5). Since a < 0 the V opens downward, the vertex is the highest point, and the range is y \le 5. The domain is all real numbers.

The right arm has slope a = -3 and the left arm slope -a = 3. One step from the vertex the height drops by 3, giving (3, 2) and (5, 2); two steps, by 6, giving (2, -1) and (6, -1).

x
y
(4,\,5)
(3,\,2)
(5,\,2)
y = 2
Figure 1The graph of y = -3|x - 4| + 5. The vertex (4, 5) is the highest point, and the line y = 2 meets the V once on each arm.

At x = 0, y = -3|-4| + 5 = -12 + 5 = -7, so the graph crosses the y-axis at (0, -7). It crosses the x-axis where -3|x - 4| + 5 = 0, that is where \displaystyle |x - 4| = \frac{5}{3}: at \displaystyle x = 4 - \frac{5}{3} = \frac{7}{3} and \displaystyle x = 4 + \frac{5}{3} = \frac{17}{3}.

Example 2

A wider V moved left and down

Graph \displaystyle y = \frac{1}{2}|x + 2| - 1 and describe how it is built from y = |x|. Give the range and the intercepts.

Solution

Writing x + 2 as x - (-2) gives \displaystyle a = \frac{1}{2}, h = -2 and k = -1. From |x|: shift left 2, compress vertically by the factor \displaystyle \frac{1}{2}, then shift down 1. The vertex is (-2, -1), and since a > 0 it is the lowest point, so the range is y \ge -1.

The arms have slopes \displaystyle \frac{1}{2} and \displaystyle -\frac{1}{2}, so each step away from the vertex climbs only \displaystyle \frac{1}{2} and the V is wider than |x|. Two steps away the height is -1 + 1 = 0, at x = -4 and x = 0; four steps away it is 1, at x = -6 and x = 2.

x
y
(-2,\,-1)
y = |x|
\displaystyle y = \frac{1}{2}|x + 2| - 1
Figure 2\displaystyle y = \frac{1}{2}|x + 2| - 1 is the V of y = |x| moved left 2 and down 1, with arms half as steep.

So the x-intercepts are (-4, 0) and (0, 0), and the y-intercept is the origin as well: \displaystyle \frac{1}{2}|0 + 2| - 1 = 0.

Example 3

A rule out of shape

Find the vertex, the slopes of the arms and the range of y = 7 - |2x + 6|.

Solution

First take the factor out of the bars: 2x + 6 = 2(x + 3), and |2(x + 3)| = |2|\,|x + 3| = 2|x + 3|. Reordering the sum (the commutative property),

y = -2|x + 3| + 7

So a = -2, h = -3 and k = 7. The vertex is (-3, 7), the left arm has slope 2 and the right arm slope -2, and since a < 0 the range is y \le 7.

Check at x = 0: the original rule gives 7 - |6| = 1, and the new one -2 \cdot 3 + 7 = 1.

Example 4

Writing the rule from a graph

A V has its vertex at (-1, 6) and crosses the x-axis at (-4, 0) and (2, 0). Write its rule and give its range.

x
y
(-1,\,6)
(-4,\,0)
(2,\,0)
Figure 3The vertex gives h and k; one crossing gives a.
Solution

The vertex gives h = -1 and k = 6, so y = a|x + 1| + 6. The point (2, 0) is on the V, so

a = \frac{0 - 6}{|2 - (-1)|} = \frac{-6}{3} = -2

The rule is y = -2|x + 1| + 6, and since a < 0 the range is y \le 6. Check with the other crossing: -2|-4 + 1| + 6 = -6 + 6 = 0.

Example 5

Solving by reading the graph

Use the graph of y = -3|x - 4| + 5 from Example 1 to solve -3|x - 4| + 5 = 2, -3|x - 4| + 5 = 5 and -3|x - 4| + 5 = 8, and then the inequality -3|x - 4| + 5 \ge 2.

Solution

The dashed line y = 2 in the figure meets the V at (3, 2) and (5, 2), so the first equation has the solutions x = 3 and x = 5. Algebra agrees: -3|x - 4| = -3 gives |x - 4| = 1.

The line y = 5 touches only the vertex, so the second equation has the one solution x = 4. The line y = 8 lies above the highest point of the V and misses it, so the third has no solution.

The V is on or above the line y = 2 from x = 3 to x = 5: it is flipped, so its top lies between the crossings. So -3|x - 4| + 5 \ge 2 exactly when 3 \le x \le 5, with both ends included because equality is allowed.

Example 6

Signal strength along a road

Aino drives a straight road 12 km long. A transmitter stands beside the road at the 7 km mark, and in a simplified model her radio’s signal meter shows the reading (a number with no unit) S = 30 - 4|x - 7|, where x is her distance in kilometers from the start, 0 \le x \le 12. Where is the signal strongest, and how strong is it? The radio plays clearly when S \ge 18: on which stretch of road? What readings does the meter show on the drive?

Solution

Rewritten, S = -4|x - 7| + 30, a downward V with vertex (7, 30). The strongest reading is 30, beside the transmitter at the 7 km mark.

2
4
6
8
10
12
6
12
18
24
30
x
S
(7,\,30)
(4,\,18)
(10,\,18)
Figure 4Aino’s signal meter, S = 30 - 4|x - 7| on 0 \le x \le 12. The radio plays clearly where the graph is on or above the dashed line S = 18.

The line S = 18 meets the V where -4|x - 7| = -12, so |x - 7| = 3: at x = 4 and x = 10. The V is on or above the line between them, so the radio plays clearly for 4 \le x \le 10, the 6 km of road centered on the transmitter.

The domain is only 0 \le x \le 12, so the range is not all of S \le 30. At the start S = 30 - 4 \cdot 7 = 2 and at the end S = 30 - 4 \cdot 5 = 10. The reading falls steadily away from the vertex on both sides, so the lowest is 2, at the end farther from the transmitter, and the meter shows 2 \le S \le 30.

Boundaries

  • a \ne 0. With a = 0 the rule is y = k, a horizontal line with no vertex.
  • (h, k) is read only from the form a|x - h| + k, with x alone inside the bars. In |2x + 6| the corner is at x = -3, not x = -6, so take the factor out first.
  • The arms are straight because what sits inside the bars is linear. A rule such as |x^2 - 4| is not a V.
  • A situation can limit the domain, as on Aino’s road, and the range then shrinks to the heights reached there, which need not be balanced about h.
  • A crossing read off a graph is exact only when it lands on a grid point; otherwise confirm it by algebra.

Where this goes next

The V is the plainest piecewise function: two linear rules, one on each side of x = h, the pattern behind graphing any piecewise rule. Reading a vertex as (h, k) carries straight over to the vertex of a parabola in vertex form, a(x - h)^2 + k, where the sign of a again decides minimum or maximum. Meeting a V with a slanted line instead of a level one, as in Exercise 17, is the general picture of solving an equation with graphs.

Exercises

Reading the rule

For Exercises 1 to 6, give the vertex, the slopes of the left and right arms, and the range.

  1. y = 2|x + 6| - 3
  2. y = -|x - 2| + 8
  3. \displaystyle y = -\frac{1}{4}|x| + 3
  4. y = 1.5|x - 8| - 6
  5. y = |4x - 12| + 2
  6. y = 9 - |3x + 3|

Graphing

  1. Graph y = -2|x - 1| + 4. Mark the vertex, the points one and two steps either side of it, and the intercepts.
  2. Graph \displaystyle y = \frac{1}{3}|x + 3| - 2, marking the vertex and the intercepts.
  3. Describe, in order, the moves that turn y = |x| into \displaystyle y = -\frac{1}{2}|x - 6| + 1. Give the vertex and the range.

Writing the rule

  1. A V has its vertex at (3, -4) and passes through (5, 2). Write its rule.
  2. A V has its vertex at (-4, 1) and passes through (0, -1). Write its rule.
  3. A V has its vertex at (0, 6) and crosses the x-axis at x = -2 and x = 2. Write its rule.
  4. A V passes through (-1, 7), (0, 5), (1, 3), (2, 1), (3, 3), (4, 5) and (5, 7). Write its rule.
  5. A V has its vertex on the x-axis at x = -7, its range is y \le 0, and its arms have slopes \displaystyle \frac{2}{3} and \displaystyle -\frac{2}{3}. Write its rule.

Equations and inequalities from the graph

  1. Use your graph from Exercise 7 to solve -2|x - 1| + 4 = 0, -2|x - 1| + 4 = 4, -2|x - 1| + 4 = 6 and -2|x - 1| + 4 > 0.
  2. Use your graph from Exercise 8 to solve \displaystyle \frac{1}{3}|x + 3| - 2 \le 1 and \displaystyle \frac{1}{3}|x + 3| - 2 > -1.
  3. Sketch y = |x + 1| and y = 2x - 4 on one grid. Solve |x + 1| = 2x - 4 and |x + 1| < 2x - 4.

Signal along a road

  1. Maksim’s radio meter reads S = 24 - 2|x - 5| along a road, for 0 \le x \le 15 km. Where is the signal strongest, and how strong is it? Where is S \ge 16? What readings occur on the whole road?
  2. On another road, Ilkka’s meter reads 12 at the 2 km mark and again at the 10 km mark, and it is strongest, at 20, somewhere between. Assuming the readings follow a V, write a rule for S.

Reasoning

  1. Explain why the vertex of y = a|x - h| + k is the lowest point of the graph when a > 0 and the highest when a < 0.
  2. Fotini says y = |-2x + 8| and y = 2|x - 4| draw the same graph. Is she right? Explain.
  3. Explain how to tell from a, k and c, without solving, whether a|x - h| + k = c has two, one or no solutions. Then decide for \displaystyle \frac{1}{2}|x - 1| + 3 = 2.
Answers
  1. Vertex (-6, -3); slopes -2 (left) and 2 (right); range y \ge -3. Here h = -6 because x + 6 = x - (-6).
  2. Vertex (2, 8); slopes 1 (left) and -1 (right); range y \le 8, since a = -1 < 0.
  3. Vertex (0, 3); slopes \displaystyle \frac{1}{4} (left) and \displaystyle -\frac{1}{4} (right); range y \le 3. The V is flipped and wider than |x|.
  4. Vertex (8, -6); slopes -1.5 (left) and 1.5 (right); range y \ge -6.
  5. |4x - 12| = 4|x - 3|, so y = 4|x - 3| + 2. Vertex (3, 2); slopes -4 (left) and 4 (right); range y \ge 2.
  6. |3x + 3| = 3|x + 1|, so y = -3|x + 1| + 9. Vertex (-1, 9); slopes 3 (left) and -3 (right); range y \le 9.
  7. Vertex (1, 4), opening downward. One step away: (0, 2) and (2, 2); two steps: (-1, 0) and (3, 0). So the x-intercepts are (-1, 0) and (3, 0), the y-intercept is (0, 2), and the range is y \le 4.
  8. Vertex (-3, -2), opening upward with slopes \displaystyle \pm\frac{1}{3}. At x = 0, \displaystyle \frac{1}{3} \cdot 3 - 2 = -1, so the y-intercept is (0, -1). The x-intercepts are where |x + 3| = 6: (3, 0) and (-9, 0). Range y \ge -2.
  9. Shift right 6, compress vertically by the factor \displaystyle \frac{1}{2}, reflect across the x-axis, then shift up 1. Vertex (6, 1), range y \le 1.
  10. y = 3|x - 3| - 4, since \displaystyle a = \frac{2 - (-4)}{|5 - 3|} = \frac{6}{2} = 3.
  11. \displaystyle y = -\frac{1}{2}|x + 4| + 1, since \displaystyle a = \frac{-1 - 1}{|0 - (-4)|} = -\frac{2}{4} = -\frac{1}{2}.
  12. y = -3|x| + 6. Here h = 0, k = 6 and \displaystyle a = \frac{0 - 6}{|2 - 0|} = -3.
  13. y = 2|x - 2| + 1. The lowest point is (2, 1), and the heights match in pairs either side of x = 2, so it is the vertex; then \displaystyle a = \frac{3 - 1}{|3 - 2|} = 2.
  14. \displaystyle y = -\frac{2}{3}|x + 7|. Here h = -7 and k = 0, and the range y \le 0 needs a < 0, so \displaystyle a = -\frac{2}{3}.
  15. x = -1 or x = 3; x = 1 only, the vertex; no solution, since 6 is above the highest height 4; and -1 < x < 3, where the flipped V is above the x-axis, ends excluded.
  16. -12 \le x \le 6: the line y = 1 meets the V where |x + 3| = 9, and the V is on or below it between. And x < -6 or x > 0: the line y = -1 meets the V where |x + 3| = 3, and the V is above it outside those points.
  17. x = 5 only, and x > 5. On the right arm, x + 1 = 2x - 4 gives x = 5, the point (5, 6). On the left arm (x \le -1), -x - 1 = 2x - 4 gives x = 1, which is not on that arm, so the line misses it. Right of x = 5 the line, slope 2, climbs faster than the arm, slope 1, so it stays above the V; left of x = 5 it stays below (at x = 0 the line is at -4, the V at 1).
  18. Strongest at x = 5, where S = 24. S \ge 16 where |x - 5| \le 4, that is 1 \le x \le 9. At the ends S = 14 and S = 4, so the readings are 4 \le S \le 24.
  19. S = -2|x - 6| + 20. Equal readings sit at equal distances from the vertex, so \displaystyle h = \frac{2 + 10}{2} = 6; then k = 20 and \displaystyle a = \frac{12 - 20}{|2 - 6|} = -2.
  20. At x = h the output is k. At every other input |x - h| > 0, so a|x - h| is positive when a > 0 and negative when a < 0. Every other output is therefore above k in the first case and below k in the second.
  21. Yes. -2x + 8 = -2(x - 4), and |-2(x - 4)| = |-2|\,|x - 4| = 2|x - 4| for every x. Both rules draw the V with vertex (4, 0) and slopes \pm 2.
  22. The equation says \displaystyle |x - h| = \frac{c - k}{a}. A distance that is positive belongs to two inputs, the distance 0 to one, and a negative distance to none. So there are two solutions if \displaystyle \frac{c - k}{a} > 0, one if c = k, and none if \displaystyle \frac{c - k}{a} < 0. Here \displaystyle \frac{2 - 3}{1/2} = -2 < 0: no solution, since the line y = 2 lies below the vertex (1, 3) of an upward V.
kg1128 · updated 2026-10-14 · CC-BY-SA-4.0