Lesson 1 of 8 · 18 min
Absolute value and its graphs
Use as distance from zero, solve absolute value equations, and sketch and from the graph of .
What you will be able to do
- Use the definition of and read as the distance between and .
- Sketch and transformations such as .
- Solve equations such as .
- Sketch and from the graph of , and tell them apart.
Ask how far is from and the answer is , not . Distance does not care about direction. The absolute value is exactly that: the distance of from zero on the number line. So , and .
That one idea gives you a new function, a new kind of equation, and two new ways to transform any graph.
Definition
Absolute value
For , is positive: . Also is the distance between and , and .
The graph of is two straight half-lines: to the right of the origin and to the left. It is a V with its vertex at the origin, gradient on the right and on the left. Transform it exactly as you would any function.
The vertex of is ; sets the steepness of the two arms and flips the V when negative.
Equations. says " is 5 units from 0", so or . In the same way means or . An equation such as has no solutions, because a distance is never negative.
Solve .
The graph of . The absolute value is applied to the output. Wherever nothing changes. Wherever , the value is made positive, so that part of the graph is reflected in the -axis. Nothing is ever below the axis, and the -intercepts stay put.
The faint curve is . The part below the -axis flips up; the turning point becomes when .
The graph of . Now the absolute value is applied to the input. For , , so the graph is the same as . For , , which is the right-hand half mirrored. So: delete the left half of and reflect the right half in the -axis. The result is always symmetric about the -axis (an even function).
Set negative. The turning point of is now left of the axis, so it disappears from .
Worked example
Sketch and for
Let . Sketch (a) and (b) , labelling all intercepts and turning points.
(solid) and (dashed).
Step 1: Find the key features of
, so the -intercepts are and . Completing the square, : turning point . The -intercept is .
Step 2: For , reflect the negative part up
for . That section flips above the axis: the turning point becomes a maximum and the -intercept becomes . The intercepts and stay, now as sharp corners.
Taking the absolute value changes each output to , which is the reflection in the -axis for negative and no change for positive .
Step 3: For , keep the right half
For the graph is : from down to and up through .
Step 4: Reflect it in the -axis
The left half is the mirror image: a minimum at and an -intercept at . The two halves meet at in a sharp peak. The original intercept at is gone.
For , , which is reflected in the -axis.
Try it yourself first, then check the working one step at a time.
Answer
(a) : intercepts , , , local maximum . (b) : intercepts , , , minima , a corner at .
Method
Find the intercepts and turning point of first.
: reflect the parts below the -axis up.
: delete the left half, reflect the right half in the -axis.
Watch out for
Rounding off the corners where a reflected piece meets the axis.
Keeping the original left-hand -intercept on the graph of .
y = |f(x)|: absolute value outside
Acts on . Reflect the parts below the -axis up.
Keeps the -intercepts. All outputs are non-negative; the exact range depends on .
y = f(|x|): absolute value inside
Acts on . Keep the part right of the -axis, then mirror it to the left.
Keeps the -intercept. Symmetric about the -axis.
Let . How many solutions does have?
Common mistake
Inside or outside?
and look alike and behave completely differently. A quick test is the -intercept: for the first, for the second. If , the graph of crosses the -axis at , but still crosses at .
Exam tip
Sketching marks
Draw lightly first, then transform it. Label every intercept and turning point with coordinates. Where a reflection meets the axis the graph usually has a sharp corner (a "cusp"); draw it sharp, not rounded.
Summary
is the distance of from ; is the distance between and .
with means or ; with there are no solutions.
is a V with vertex and arms of gradient .
: reflect everything below the -axis up into the upper half.
: keep the right half of and reflect it in the -axis.
Finished the lesson?
Try the 2 quick checks above and the lesson completes itself, or mark it complete now.