Two hikers stand on a straight trail, one at the 3 kilometer marker and one at the 10 kilometer marker. The distance between them is 7 kilometers, and it stays 7 no matter which hiker you measure from. Absolute value is the tool that turns a signed difference like into that distance. Calculus uses it constantly to say how close one number is to another.
Key terms
Absolute value
Definition For a real number , the absolute value of is
In plain words A nonnegative number stays as it is. A negative number has its sign flipped, so the result is positive.
Example The definition gives , and . For an expression, work out the inside first, so .
Nonnegative values
Definition For every real ,
and exactly when . Also and for every real . A number is nonnegative when it is greater than or equal to .
In plain words An absolute value can be zero or positive, never negative. Removing a minus sign is the right picture for numbers, but not for letters, since is positive whenever is negative.
Example Take . The second line of the definition gives . Here the formula produces a positive number. Also , not . An equation such as has no solution at all.
Distance on the number line
Definition The number line pairs every real number with a point on a line, with at a chosen origin, positive numbers to the right and equal steps for equal differences. For real numbers and , the distance between them on the number line is
In particular is the distance from to , and is the distance from to .
In plain words Subtract the two numbers in either order and drop the sign. What remains is how far apart they sit on the line.
Example The distance between and is
and in the other order as well. Count the steps from to on a number line and you also get .
Solving a distance equation
Definition Let and be real numbers. The equation asks for every at distance from . If it has exactly two solutions, and . If it has exactly one solution, . If it has no solution, since a distance is never negative.
In plain words Stand at and step units to the left and units to the right. Those two landing spots are the answers, unless is zero or negative.
Example Solve . The numbers at distance from are and . Both check, since and . For an equation like , first write as . The center is , so the solutions are and .
Graph of absolute value
Definition The graph of is the set of points for all real . It is made of two rays that start at the origin, the ray for and the ray for . Its domain is all real numbers and its range is . More generally, the graph of consists of the ray for and the ray for . The range holds for the full real domain. On a smaller domain the range can be smaller.
In plain words The height of the graph above is the distance from to . The farther you go from in either direction, the higher the graph, and it rises one unit for each unit you move.
Example A table of distances gives the points to plot.
The points on the left lie on the line and those on the right lie on . Joined up they make a V. If you keep only the inputs in , the outputs fill instead of all of .
Vertex
Definition The vertex of the graph of is the point where its two rays meet. It is the lowest point of the graph. To its left the graph is a straight piece with slope , and to its right a straight piece with slope . These slopes belong to the separate sides. The two rays meet at the vertex with different directions, forming a corner, so no single slope describes the graph at the vertex itself.
In plain words The vertex is the tip of the V, where the distance is zero. It is a sharp corner, not a smooth turn.
Example The graph of has its vertex at . Going right from the vertex the points and rise with slope . Going left the points and rise as you move left, so that side has slope . That corner is exactly the kind of point where calculus later finds that a graph has no tangent line.
Symmetry
Definition For every real , , so the graph of is symmetric about the axis. More generally, the graph of is symmetric about the vertical line , because for every real
In plain words Fold the picture along the vertical line through the vertex and the two sides land on each other. Points the same distance to the left and right of have the same height.
Example For , the inputs and both give height . Once you have plotted the right side of the V, you get the left side for free by mirroring it across .
Check yourself
- Solve .
Show the answer
Write as . The equation asks for the numbers at distance from , which are and .
- How many solutions does each equation have? First , then .
Show the answer
The first has exactly one solution, , because only is at distance from . The second has none, because an absolute value is never negative.
- Find the vertex of and its range when the domain is only .
Show the answer
The vertex is , and lies in , so the smallest output is . The largest distance from within the interval is at , where the height is , while gives only . The range is .