Allday Education

Absolute Value Functions

The graph of an absolute value function is a V shape. The parent function f(x)=xf(x) = |x| makes the simplest V: it sits with its corner at the origin, falling with slope 1-1 on the left and rising with slope 11 on the right, because absolute value turns every input into a non-negative output.

Every absolute value function in this lesson can be written as f(x)=axh+kf(x) = a|x - h| + k. Three numbers, three jobs: (h,k)(h, k) is the corner of the V — called the vertex — and aa controls whether the V opens up or down and how narrow it is.

Reading the vertex from the equation

Match the equation to the form axh+ka|x - h| + k and the vertex is (h,k)(h, k). Watch the sign on hh: the form has a minus sign built in, so x3+2|x - 3| + 2 has h=3h = 3 and the vertex (3,2)(3, 2), while x+54|x + 5| - 4 is really x(5)4|x - (-5)| - 4, putting the vertex at (5,4)(-5, -4).

The value of hh shifts the V left or right, and kk shifts it up or down — the same translation rules that move linear functions. The graph below shows f(x)=x12f(x) = |x - 1| - 2, a V with its vertex at (1,2)(1, -2).

-3-2-112345-3-2-112345xy

What aa does

The sign of aa sets the direction: positive aa opens the V upward, negative aa opens it downward. So f(x)=2x1+7f(x) = -2|x - 1| + 7 is an upside-down V with its vertex at (1,7)(1, 7) — and since it opens down, that vertex is the highest point on the graph.

The size of aa sets the steepness of the two arms. With a>1|a| > 1 the V is narrower than the parent function; with a<1|a| < 1 it is wider. The arms are straight lines with slopes aa and a-a.

Sketching in three moves

Plot the vertex (h,k)(h, k) first. Decide the direction from the sign of aa. Then step out from the vertex using the slope: for a=1a = 1, move right 11 and up 11 for the right arm, and mirror it for the left arm. Three points — the vertex and one point on each arm — pin down the whole graph.

The table below lists points on that same f(x)=x12f(x) = |x - 1| - 2: the outputs are symmetric around the vertex at x=1x = 1, which is exactly what makes the graph a V.

f(x)=x12f(x) = |x - 1| - 2
xxf(x)f(x)
1-100
001-1
112-2
221-1
3300

Worked examples

Example 1: vertex from the equation

Find the vertex of g(x)=x3+2g(x) = |x - 3| + 2 and tell which way it opens.

Match the form axh+ka|x - h| + kh=3,k=2h = 3,\quad k = 2
Read the vertex(3,2)(3, 2)
a=1a = 1 is positive, so the V opens up

Answer: Vertex (3,2)(3, 2), opening up

Example 2: watch the sign of hh

Find the vertex of f(x)=x+54f(x) = |x + 5| - 4.

Rewrite to match the formf(x)=x(5)4f(x) = |x - (-5)| - 4
Read off hh and kkh=5,k=4h = -5,\quad k = -4
Write the vertex(5,4)(-5, -4)

Answer: Vertex (5,4)(-5, -4)

Example 3: a downward V

Describe the graph of f(x)=2x1+7f(x) = -2|x - 1| + 7.

Read the vertex(1,7)(1, 7)
a=2a = -2 is negative, so the V opens down
a=2>1|a| = 2 > 1, so the V is narrower than x|x|

Answer: A narrow V opening down from the vertex (1,7)(1, 7).

Try one yourself

Common questions

Why does x3|x - 3| move the graph right instead of left?

The vertex sits where the inside of the absolute value equals zero. For x3|x - 3| that happens at x=3x = 3, so the corner lands at x=3x = 3 — to the right. Inside the bars, the shift always runs opposite to the sign you see.

How do I find the vertex of x+25|x + 2| - 5?

Rewrite the inside as x(2)x - (-2), so h=2h = -2 and k=5k = -5: the vertex is (2,5)(-2, -5). Whenever you see a plus inside the bars, hh is negative.

Is the vertex the highest or the lowest point?

It depends on the direction. If the V opens up (a>0a > 0), the vertex is the lowest point. If it opens down (a<0a < 0), the vertex is the highest point.

Why is the graph a V and not a line?

Absolute value flips the sign of negative inputs, so the left half of the graph is the mirror image of what a line would do. Two straight arms meeting at a corner make the V.

Want the video version?

Allday Everyday Math has video lessons, practice, and an AI tutor for every topic, Pre-Algebra through Algebra 2.

Try it for $1