Most absolute value problems come down to one move: turn something|\,\text{something}\,| into two ordinary cases. The reason that move is allowed is worth understanding before you use it, because it also tells you when there is no solution at all.

The Formula and Its Symbols

For a real number xx,

x={x,x0x,x<0|x| = \begin{cases} x, & x \ge 0 \\ -x, & x < 0 \end{cases}

Here x|x| is read "the absolute value of xx," and it means the distance from xx to 00 on the number line. That distance is never negative, which is why 5=5|5| = 5 and 5=5|-5| = 5: the two numbers sit on opposite sides of 00 but the same distance from it. Absolute value does not "make everything positive" — it leaves nonnegative numbers alone and flips the sign of negative ones.

The properties you will use most:

  1. x0|x| \ge 0 for every real xx.
  2. x=0|x| = 0 only when x=0x = 0.
  3. x=x|-x| = |x|.
  4. ab=ab|ab| = |a||b| for real aa and bb.
  5. If b0b \ne 0, then ab=ab\left|\frac{a}{b}\right| = \frac{|a|}{|b|}.

The condition b0b \ne 0 matters in the last property because division by 00 is undefined.

Why the Two-Case Method Works

The two-case rule is not an arbitrary trick — it falls straight out of the distance meaning. An expression like ab|a-b| is the distance between aa and bb, so x3=5|x-3| = 5 literally asks: which numbers sit a distance of 55 from 33? On a number line, exactly two points satisfy that — one 55 units to the right, one 55 units to the left. That geometric fact is what guarantees two cases (and what tells you there are none if the required distance is negative). For example,

27=5=5|2 - 7| = |-5| = 5

so the distance between 22 and 77 is 55. Holding onto "distance from 00" is the most reliable way to read any absolute value expression.

Worked Example: Solve x3=5|x - 3| = 5

This asks for numbers whose distance from 33 is 55. A point 55 units to the right of 33:

x3=5x=8x - 3 = 5 \quad\Rightarrow\quad x = 8

A point 55 units to the left of 33:

x3=5x=2x - 3 = -5 \quad\Rightarrow\quad x = -2

So the solutions are

x=8orx=2x = 8 \quad \text{or} \quad x = -2

The general pattern: if u=k|u| = k and k>0k > 0, solve both u=ku = k and u=ku = -k.

Practice It Yourself

Solve x+4=9|x + 4| = 9, reading it as "distance from 4-4 is 99." Write the two matching cases:

x+4=9x=5x + 4 = 9 \quad\Rightarrow\quad x = 5 x+4=9x=13x + 4 = -9 \quad\Rightarrow\quad x = -13

so x=5x = 5 or x=13x = -13. Check your answers by substituting back: 5+4=9=9|5 + 4| = |9| = 9 and 13+4=9=9|-13 + 4| = |-9| = 9. Both work.

Calculation Traps to Watch

  • Thinking x|x| can be negative. For real numbers it is always at least 00; an equation like u=k|u| = k with k<0k < 0 has no real solution.
  • Solving only one case. Stopping at x=8x = 8 in the worked example misses the second point that is also 55 units from 33.
  • Confusing x|-x| with x-|x|. They are different: x=x|-x| = |x| is zero or positive, while x-|x| is zero or negative.

A Quick Pre-Check for u=k|u| = k

Before solving, look at the right side. If k<0k < 0, stop — no real solution, because a distance cannot be negative. If k=0k = 0, the inside must be 00. If k>0k > 0, expect two cases unless both lead to the same value.

Absolute value shows up wherever size matters more than direction: distance on a number line, error or deviation from a target, equations and inequalities, and formulas where only magnitude should remain. It returns later in coordinate geometry, calculus, and complex numbers, though the exact meaning shifts with the setting — but the two-case method, grounded in distance, stays the workhorse.

Frequently Asked Questions

What is the absolute value of a number?
Absolute value is a number's distance from 0 on the number line, so it is always nonnegative. That is why both 5 and -5 have an absolute value of 5. It leaves nonnegative numbers alone and changes the sign of negative numbers, which is different from simply making everything positive.
Can the absolute value of a number be negative?
No. For real numbers, absolute value is always at least 0, and it equals 0 only when the number itself is 0. That is also why an equation like an absolute value expression set equal to a negative number has no real solution: a distance cannot be negative.
How do you solve an equation like the absolute value of x minus 3 equals 5?
Read it as asking for numbers whose distance from 3 is 5, then split it into two cases: x minus 3 equals 5, giving x equals 8, and x minus 3 equals negative 5, giving x equals negative 2. Solving only one case is a common mistake that misses half the answer.
What does the absolute value of a minus b mean?
It is the distance between a and b on the number line. For example, the absolute value of 2 minus 7 equals the absolute value of negative 5, which is 5, so the points 2 and 7 are exactly 5 units apart. Thinking in terms of distance is the most reliable mental model.
What is the difference between the absolute value of negative x and negative absolute value of x?
They are not the same. The absolute value of negative x always equals the absolute value of x, so it is zero or positive. Negative absolute value of x flips that result, so it is zero or negative. Mixing these two expressions up is one of the most common absolute value mistakes.

Need help with a problem?

Upload your question and get a verified, step-by-step solution in seconds.

Open GPAI Solver →