Absolute value measures distance
Imagine your home at 0 on a straight road. You can walk six blocks right to 6 or six blocks left to −6. Your direction changes, but your trip is six blocks long either way. Absolute value asks for that length. The two upright marks in |x| are called absolute value bars. Read |x| aloud as the absolute value of x. They ask for the distance from x to zero on a number line, a road of numbered positions. A distance can be zero if you stay home. It cannot be negative. Finish every operation inside the bars before measuring that distance. Then do the operations outside them.
- Order of operations. Grouping first, multiplication next, addition last: 2|3 − 5| + 1 = 2|−2| + 1 = 2 × 2 + 1 = 5.
- A number beside bars. 3|x + 2| means 3 × |x + 2|, so at x = 0 it is 3 × |2| = 6.
Say the absolute value of x.
Absolute value measures how far x is from zero, without its direction.
- |x|
- |x| = x when x ≥ 0
- |x| = −x when x < 0
- |x| ≥ 0
An address says which side of home; a measuring tape says how far.
A sign says which side of zero you are on. Absolute value counts how many unit gaps separate the destination from zero.
A measuring tape reads the length between two spots. Turning the tape around does not change a six-unit length: |−6| = |6| = 6.
A piecewise function selects an instruction using a condition on the input. For x ≥ 0, keep x. For x < 0, use −x. These instructions cover every real input and both give zero or a positive distance.
The column under −5 shows output 5 because −(−5) = 5. The column under 5 also shows 5. The column under 0 shows 0 because no movement separates zero from itself.
.1Nonnegative input
On the right side of home, your position already says how far you walked. Zero stays zero.
- For x ≥ 0, |x| = x.
- Nonnegative means positive or zero.
Find |4| and |0|.
- Zero uses the first piecewise line.
- Four unit gaps separate 4 from 0.
- |4| = 4.4 is already four units to the right of zero.
- |0| = 0.Zero is no distance from itself.
- |4| = 4.
- |0| = 0.
- The equals bar in x ≥ 0 includes zero in this instruction.
.2Negative input
On the left side of home, your position includes direction. Its opposite gives the length of the trip.
- For x < 0, |x| = −x.
- −x means the opposite of x.
Find |−5| using the piecewise rule.
- −5 is negative, so use the second line.
- The opposite of a negative is positive.
- x = −5 < 0, so use −x.The negative-input instruction applies to positions left of zero.
- −x = −(−5) = 5.Taking the opposite of the negative input −5 gives positive 5, the length from −5 to zero.
- Use parentheses around a negative substituted number.
.3Multipliers and minus signs outside the bars
A sign or number outside the bars waits for the distance to be calculated. Think of measuring a length before doubling it or assigning its opposite. The measured length itself stays nonnegative, even when the completed expression becomes negative.
- 3|x + 2| means 3 × |x + 2|.
- −|u| is the opposite of the completed distance |u|; u here names the inside number.
- Outside multiplication comes before outside addition.
Find 2|3 − 5| + 1.
- 3 − 5 is −2.
- Only the distance is doubled.
- 3 − 5 = −2, so 2|3 − 5| + 1 = 2|−2| + 1.The inside subtraction must finish first.
- |−2| = 2, so the expression is 2 × 2 + 1.The distance from −2 to zero is 2.
- 2 × 2 + 1 = 4 + 1 = 5.Outside multiplication comes before addition.
- Underline the entire inside before doing anything outside.
- Calculate the entire expression inside the bars without changing its individual signs.
- If the result is zero or positive, keep it.
- If it is negative, use its opposite, the positive number the same distance from zero.
- Finish outside operations afterward. A number beside the bars multiplies: 3|x + 2| means 3 × |x + 2|.
Evaluate an expression with absolute value bars
- Find the one number inside the bars.
- Use its distance from zero.
- Complete outside multiplication, then outside addition or subtraction.
Find |−3 − 4| and then −|−3 − 4|.
- The first minus sign is part of the input −3. The second asks you to subtract 4.
- An outside minus sign acts after the bars.
- −3 − 4 = −7.Starting three blocks left and moving four more left puts you at −7.
- |−3 − 4| = |−7| = 7.The location −7 is seven blocks from zero.
- −|−3 − 4| = −7.The minus sign outside the bars acts after the distance has been found.
- |−3 − 4| = 7.
- −|−3 − 4| = −7.
- Inside first, distance second, outside last.
- For a piecewise function, test the input against the conditions and use only the instruction it satisfies.
- A distance has size, while its original sign tells direction. Zero is an allowed distance.