math-concepts

Absolute Value Equations: Solve Them by Thinking in Distance

September 22, 20267 min read
Absolute Value Equations: Solve Them by Thinking in Distance

The two bars in x|x| often look like another instruction to memorize. Read them as a question instead: how far is this number from zero?

Five is five steps from zero. Negative five is also five steps from zero, just in the other direction. That is why 5=5|5| = 5 and 5=5|-5| = 5. Absolute value keeps the distance and drops the direction.

Once that picture is clear, solving an absolute value equation becomes a search for positions at a specified distance. The familiar two cases are a consequence of the number line, not a trick added to algebra.

Distance can be zero, but it cannot be negative

Absolute value gives a nonnegative result. "Nonnegative" matters: zero is allowed, so saying it always makes a number positive is slightly wrong.

For a real number xx, the definition is:

x={xx0xx<0|x| = \begin{cases}x & x \geq 0 \\ -x & x < 0\end{cases}

The second line does not say the answer is negative. If x=7x = -7, then x=(7)=7-x = -(-7) = 7. The minus sign reverses the direction of an already negative number. Our negative numbers guide explains that reversal in more detail.

Evaluate the expression inside the bars before applying absolute value:

38=5=5|3 - 8| = |-5| = 5

You cannot generally distribute the bars over subtraction. Here 38=5|3| - |8| = -5, which is different. The bars surround one complete expression, and its value is what becomes a distance.

Why two answers appear

Consider:

x=6|x| = 6

Which points are six units from zero? There are two: x=6x = 6 and x=6x = -6. Both satisfy the equation, and neither is more correct than the other.

Now move the reference point:

x4=6|x - 4| = 6

The expression x4x - 4 measures the signed difference between xx and 4. Taking its absolute value gives the distance between those two points. Starting at 4, move six units right or six units left:

x=4+6=10orx=46=2x = 4 + 6 = 10 \quad \text{or} \quad x = 4 - 6 = -2

Check both directly: 104=6|10 - 4| = 6 and 24=6|-2 - 4| = 6.

The reference point need not be positive. In x+3=2|x + 3| = 2, rewrite the inside mentally as x(3)x - (-3). The center is -3, so the solutions are -1 and -5.

Isolate the bars before splitting

The basic rule for a positive constant cc is:

A=cA=c  or  A=c|A| = c \quad \Longleftrightarrow \quad A = c \;\text{or}\; A = -c

Here AA means the whole expression inside the bars. Before using the rule, isolate that absolute value with the same balance-preserving operations used in ordinary algebra.

Solve this example:

32x1+4=253|2x - 1| + 4 = 25

Subtract 4:

32x1=213|2x - 1| = 21

Divide by 3:

2x1=7|2x - 1| = 7

Now split into two equations:

2x1=7or2x1=72x - 1 = 7 \quad \text{or} \quad 2x - 1 = -7

The first gives 2x=82x = 8, so x=4x = 4. The second gives 2x=62x = -6, so x=3x = -3.

Checking in the original equation gives 381+4=253|8 - 1| + 4 = 25 and 361+4=253|-6 - 1| + 4 = 25. Both work.

Do not split the original equation by simply changing 25 to -25. The absolute value rule changes the sign of the isolated distance, not the sign of every term in the problem. Paul's Online Math Notes also emphasizes isolation and checking in its treatment of these equations.

Check for no solution before doing more algebra

Suppose the equation is:

2x+1+5=12|x + 1| + 5 = 1

Subtracting 5 and dividing by 2 gives:

x+1=2|x + 1| = -2

Stop. No real number has a distance of negative two. Splitting into x+1=2x + 1 = -2 and x+1=2x + 1 = 2 would manufacture answers to a different question.

Zero is a separate case:

3x9=0|3x - 9| = 0

The inside must be zero, so 3x9=03x - 9 = 0 and x=3x = 3. Writing positive zero and negative zero gives the same answer twice.

For an isolated absolute value of a nonconstant linear expression, a positive constant gives two solutions, zero gives one, and a negative constant gives none. Do not extend that shortcut to every possible absolute value equation: the inside might be quadratic, or the right-hand side might contain a variable.

A variable on the right needs a sign check

Now solve:

x2=2x+1|x - 2| = 2x + 1

The left side cannot be negative, so a solution must satisfy 2x+102x + 1 \geq 0, or x12x \geq -\frac{1}{2}.

Use the two candidate equations:

x2=2x+1orx2=(2x+1)x - 2 = 2x + 1 \quad \text{or} \quad x - 2 = -(2x + 1)

The first gives x=3x = -3. It fails the sign restriction. Checking the original equation makes the problem visible: the left side is 5, while the right side is -5.

The second gives 3x=13x = 1, so x=13x = \frac{1}{3}. Substitution gives 53\frac{5}{3} on both sides. This is the only solution.

Checking is especially useful when an operation can introduce candidates that do not satisfy the original equation. Squaring both sides can do that too: it erases the distinction between a positive and a negative right-hand side.

Two absolute values compare two distances

An equation with bars on both sides can still be simple:

x1=x+5|x - 1| = |x + 5|

This asks for the point equally far from 1 and -5. On the number line, that point is their midpoint, x=2x = -2.

Algebra reaches the same answer. Equal absolute values mean the insides are equal or opposite:

x1=x+5orx1=(x+5)x - 1 = x + 5 \quad \text{or} \quad x - 1 = -(x + 5)

The first equation reduces to 1=5-1 = 5, so it has no solution. The second becomes 2x=42x = -4, giving x=2x = -2. Its distance from each reference point is 3.

This is different from an equation containing a sum such as x1+x+5=10|x - 1| + |x + 5| = 10. You cannot remove all the bars with one two-case split. Such problems usually need intervals based on where each inside changes sign.

The graph makes the solution count visible

The graph of y=xy = |x| is a V. To the right of zero it follows y=xy = x. To the left it follows y=xy = -x. The point of the V is the vertex.

For y=x4y = |x - 4|, the vertex moves to (4,0)(4, 0). Solving x4=6|x - 4| = 6 means finding where that V meets the horizontal line y=6y = 6. There are two intersections, at x=2x = -2 and x=10x = 10.

A horizontal line at zero touches the vertex once. A horizontal line below zero misses the graph entirely. That is the two, one, or zero pattern drawn on a page.

Changing the equality to an inequality asks for a region rather than just intersection points. For example, x4<6|x - 4| < 6 means the distance from 4 is less than 6, so 2<x<10-2 < x < 10. Our inequalities guide develops that next step.

A short solving routine

First evaluate anything numerical inside the bars. Then isolate one absolute value, inspect the sign of the other side, and split only when that sign permits it. Solve each case and substitute every candidate into the original equation.

Practice the process in Math Zen's Algebra topic, which includes Absolute Value. Begin with the distance picture before reaching for the two-case rule. If you can explain where the reference point is and what distance the equation demands, the algebra has a clear job to do.

Common Questions

What does absolute value mean?
For a real number, absolute value is its distance from zero on the number line. Distance is never negative, so both 5 and -5 have absolute value 5. Zero has absolute value zero.
Do absolute value equations always have two solutions?
No. An equation such as |x| = 5 has two solutions, |x| = 0 has one, and |x| = -5 has none. More complicated expressions inside or outside the bars can produce other solution counts.
Why must I isolate the absolute value first?
The two-case rule applies to the expression inside one isolated pair of bars. In 2|x - 3| + 1 = 9, first subtract 1 and divide by 2 to obtain |x - 3| = 4. Only then write x - 3 = 4 or x - 3 = -4.

Put This Into Practice