Equations & Inequalities

Solving Absolute Value Equations, Step by Step

To solve an absolute value equation, get the bars alone so the equation reads ∣A∣=k|A| = k, then solve the two equations A=kA = k and A=−kA = -k. A positive kk gives two answers, k=0k = 0 gives one, and a negative kk gives none.

∣A∣=k  ⟺  A=k or A=−k(k≥0)|A| = k \iff A = k \text{ or } A = -k \quad (k \ge 0)

Try it with your numbers

Show every step

The split itself is quick. Points are lost around it: bars that are not isolated yet, a variable on the right side that produces fake answers, and equations with two bars that look harder than they are. Each of those has a fast check below.

How do you solve absolute value equations?

The bars ask for a number’s distance from zero, and one distance can come from two numbers, such as 77 and −7-7. Solving the equation means finding every input that lands on either number. The routine is the same every time:

  1. Isolate the bars using inverse operations, exactly as in two-step equations.
  2. Read the number on the other side. If it is negative, stop: there is no solution. If it is zero, drop the bars. If it is positive, continue.
  3. Write both cases, A=kA = k and A=−kA = -k.
  4. Solve each case as an ordinary linear equation, the same moves used in one-step equations.
  5. Substitute each answer into the original equation.

Take ∣x+3∣=7|x+3| = 7. The two cases are

x+3=7orx+3=−7,x + 3 = 7 \quad \text{or} \quad x + 3 = -7,

so x=4x = 4 or x=−10x = -10. Check: ∣4+3∣=7|4+3| = 7 and ∣−10+3∣=∣−7∣=7|-10+3| = |-7| = 7. The word “or” matters. The solution set contains both numbers, and each one works on its own.

Why does an absolute value equation split into two cases?

The split comes straight from the definition of absolute value:

∣A∣={Aif A≥0−Aif A<0|A| = \begin{cases} A & \text{if } A \ge 0 \\ -A & \text{if } A < 0 \end{cases}

If AA is not negative, ∣A∣=A|A| = A, so ∣A∣=k|A| = k becomes A=kA = k. If AA is negative, ∣A∣=−A|A| = -A, so −A=k-A = k and therefore A=−kA = -k. The equation cannot know in advance which situation applies, so both are tested.

The distance picture is faster. The statement ∣x−a∣=k|x - a| = k says that xx is kk units away from aa, which gives

x=a±k.x = a \pm k.

So ∣x−5∣=10|x - 5| = 10 is solved by 5±105 \pm 10, which gives 1515 and −5-5, with no cases written at all. For ∣x+2∣=5|x + 2| = 5, rewrite the inside as x−(−2)x - (-2) and the center is −2-2, not 22. That one sign flip is the most common slip in this method.

Center and radius

Read ∣x−a∣=k|x-a|=k as "xx is kk units from aa." The center is aa, the radius is kk, and the two answers sit on opposite sides of the center.

The usual written trap is negating the wrong side. In ∣x−5∣=10|x - 5| = 10 the second case is x−5=−10x - 5 = -10, because the minus sign goes on the number kk. Writing −x−5=10-x - 5 = 10 drops the sign from the 5, gives x=−15x = -15, and fails the check: ∣−15−5∣=20|-15 - 5| = 20. Put the minus on the right side and leave the left side alone.

Quick check

Use the distance idea, without writing cases, to solve ∣x+2∣=5|x+2|=5.

Solving absolute value equations when the bars are not alone

Splitting is only legal after the bars stand alone, so the first job is cleanup. Take 3∣2x−5∣+4=193|2x - 5| + 4 = 19. Subtract 4, then divide by 3:

3∣2x−5∣=15⟹∣2x−5∣=5.3|2x-5| = 15 \quad \Longrightarrow \quad |2x-5| = 5.

Now split. From 2x−5=52x - 5 = 5 comes 2x=102x = 10, so x=5x = 5. From 2x−5=−52x - 5 = -5 comes 2x=02x = 0, so x=0x = 0. Check x=5x = 5: 3∣5∣+4=193|5| + 4 = 19. Check x=0x = 0: 3∣−5∣+4=3(5)+4=193|-5| + 4 = 3(5) + 4 = 19. Both work.

Splitting too early gives a bad second case such as 3(2x−5)+4=−193(2x-5) + 4 = -19. That yields x=−43x = -\frac{4}{3}, and the check collapses: 3∣ ⁣−233∣+4=273\left|\!-\frac{23}{3}\right| + 4 = 27, not 1919. When more terms crowd around the bars, the cleanup is a multi-step equation in disguise, so work outward one operation at a time.

A negative coefficient is handled the same way. For −2∣x+1∣+3=−5-2|x+1| + 3 = -5, subtract 3 to get −2∣x+1∣=−8-2|x+1| = -8, then divide by −2-2 to get ∣x+1∣=4|x+1| = 4. The cases are x+1=4x + 1 = 4 and x+1=−4x + 1 = -4, so x=3x = 3 or x=−5x = -5. Check x=3x = 3: −2(4)+3=−5-2(4) + 3 = -5. The negative number is divided out during cleanup and does not change the two cases.

Try this: Solve 2∣x−1∣+6=142|x-1| + 6 = 14. Before checking, predict one thing: the two answers should sit the same distance from 11 on opposite sides.

When does an absolute value equation have no solution?

Once the bars are isolated, the number on the other side decides everything.

After isolating Cases Solutions
∣A∣=k\lvert A\rvert = k with k>0k > 0 A=kA = k or A=−kA = -k two
∣A∣=0\lvert A\rvert = 0 A=0A = 0 one
∣A∣=k\lvert A\rvert = k with k<0k < 0 none none, written ∅\varnothing

Take ∣4x+8∣+3=3|4x + 8| + 3 = 3. Subtract 3 to get ∣4x+8∣=0|4x + 8| = 0, so only 4x+8=04x + 8 = 0 matters and x=−2x = -2. Check: ∣−8+8∣+3=3|-8 + 8| + 3 = 3. Zero is its own negative, so the two cases merge into one.

Now take ∣2x−1∣+5=2|2x - 1| + 5 = 2. Subtracting 5 gives ∣2x−1∣=−3|2x - 1| = -3, and the work stops there. Solving the cases anyway would produce x=2x = 2 and x=−1x = -1, which look like answers, yet ∣2(2)−1∣+5=8|2(2) - 1| + 5 = 8, not 22. Read the sign of kk right after isolating the bars, and you save the algebra and the false hope.

A minus sign in front of the bars is not the warning sign. The equation −∣x∣=−4-|x| = -4 simplifies to ∣x∣=4|x| = 4 and has two solutions. Only a negative number on the other side, after isolating, means no solution.

What are extraneous solutions in absolute value equations?

Trouble starts when the variable also appears outside the bars. Solve ∣x−3∣=2x|x - 3| = 2x:

x−3=2xorx−3=−2x.x - 3 = 2x \quad \text{or} \quad x - 3 = -2x.

The first case gives x=−3x = -3. The second gives 3x=33x = 3, so x=1x = 1. Now check. At x=−3x = -3 the left side is ∣−6∣=6|-6| = 6 and the right side is 2(−3)=−62(-3) = -6, so the equation fails. At x=1x = 1 the left side is ∣−2∣=2|-2| = 2 and the right side is 22, so it works. The only solution is x=1x = 1, and x=−3x = -3 is extraneous.

The reason is that ∣A∣=k|A| = k requires k≥0k \ge 0, and the case-splitting quietly forgets that. Each branch solves a nearby equation that allows a negative right side, and sometimes its answer lands in that forbidden zone.

Screen before you solve

If the right side is an expression mm, demand m≥0m \ge 0 first. Here 2x≥02x \ge 0 means x≥0x \ge 0, so x=−3x = -3 was ruled out before any algebra.

Each branch here, such as x−3=−2xx - 3 = -2x, is an equation with variables on both sides, so the algebra stays routine. The same plug-back discipline appears in radical equations, where squaring creates the fake answers. Different mechanism, same habit.

Quick check

Without solving, which values of xx could possibly satisfy ∣x−7∣=3x+6|x-7|=3x+6?

How do you solve an equation with two absolute values?

Number line showing x = −1 and x = 5 have distances to 0 and 4 summing to 6
Inside the gap from 0 to 4 the distances always add to 4, so each answer sits 1 unit outside.

If the equation has the form ∣A∣=∣B∣|A| = |B|, the two quantities have the same distance from zero, so they are equal or opposite: A=BA = B or A=−BA = -B. It looks like four cases, but −A=−B-A = -B is the same as A=BA = B, so only two remain.

Solve ∣2x−1∣=∣x+4∣|2x - 1| = |x + 4|:

2x−1=x+4or2x−1=−(x+4).2x - 1 = x + 4 \quad \text{or} \quad 2x - 1 = -(x + 4).

The first gives x=5x = 5. The second becomes 2x−1=−x−42x - 1 = -x - 4, so 3x=−33x = -3 and x=−1x = -1. Check x=5x = 5: ∣9∣=9|9| = 9 and ∣9∣=9|9| = 9. Check x=−1x = -1: ∣−3∣=3|-3| = 3 and ∣3∣=3|3| = 3. Both hold. The usual error is writing −x+4-x + 4 instead of −(x+4)-(x + 4), so keep the parentheses.

When both coefficients of xx are 1, skip the algebra. In ∣x−2∣=∣x+4∣|x - 2| = |x + 4|, the point xx is equally far from 22 and from −4-4, so it is the midpoint:

x=2+(−4)2=−1.x = \frac{2 + (-4)}{2} = -1.

Check: ∣−3∣=3|-3| = 3 and ∣3∣=3|3| = 3. The case x−2=x+4x - 2 = x + 4 collapses to −2=4-2 = 4, which is false, so a single solution is correct.

A sum of bars is different. In ∣x∣+∣x−4∣=6|x| + |x - 4| = 6 there is no way to isolate one bar, so the two-case rule does not apply. Think distances: the sum of the distances from xx to 00 and to 44 equals 66. Anywhere between 00 and 44 that sum is exactly 44, and stepping dd units outside an end makes it 4+2d4 + 2d. Setting 4+2d=64 + 2d = 6 gives d=1d = 1, so x=−1x = -1 or x=5x = 5. For messier expressions, split the number line at the points where each inside expression is zero and solve region by region.

Absolute value equations with fractions and quadratics inside

Fractions inside the bars are fine. For ∣x2−3∣=4\left|\frac{x}{2} - 3\right| = 4, split into x2−3=4\frac{x}{2} - 3 = 4 and x2−3=−4\frac{x}{2} - 3 = -4. The first gives x2=7\frac{x}{2} = 7, so x=14x = 14. The second gives x2=−1\frac{x}{2} = -1, so x=−2x = -2. A faster route is to factor out the fraction: ∣x2−3∣=∣x−6∣2\left|\frac{x}{2} - 3\right| = \frac{|x - 6|}{2}, so the equation becomes ∣x−6∣=8|x - 6| = 8, which gives 6±86 \pm 8, the same 1414 and −2-2.

Bars in a denominator work like any rational equation: clear the denominator, then split. For 6∣x−1∣=2\frac{6}{|x - 1|} = 2, multiply to get ∣x−1∣=3|x - 1| = 3, so x=4x = 4 or x=−2x = -2. Both are allowed, because the only forbidden value is x=1x = 1, where the denominator is zero. Check x=4x = 4: 63=2\frac{6}{3} = 2.

A quadratic inside the bars can give up to four answers. Solve ∣x2−5∣=4|x^2 - 5| = 4:

x2−5=4orx2−5=−4.x^2 - 5 = 4 \quad \text{or} \quad x^2 - 5 = -4.

The first gives x2=9x^2 = 9, so x=±3x = \pm 3. The second gives x2=1x^2 = 1, so x=±1x = \pm 1. Check x=1x = 1: ∣1−5∣=∣−4∣=4|1 - 5| = |-4| = 4. When the inside does not factor neatly, each case is a standard quadratic that the formula handles, and quadratic formula practice problems build that fluency.

Quick check

Solve ∣x2−10∣=6|x^2-10|=6.

How do absolute value equations connect to graphs and inequalities?

The graph of y=∣x−3∣y = |x - 3| is a V with its vertex at (3,0)(3, 0) and arms of slope 11 and −1-1. Solving ∣x−3∣=5|x - 3| = 5 means finding where the horizontal line y=5y = 5 meets that V, which happens at x=−2x = -2 and x=8x = 8. Check: ∣−5∣=5|-5| = 5 and ∣5∣=5|5| = 5.

The picture also explains the table from earlier. A line above the vertex cuts the V twice, a line through the vertex touches it once, and a line below the vertex misses it entirely. Counting solutions is the same as watching a horizontal line move.

The equation’s answers become the boundaries for the matching inequalities:

  • ∣x−3∣=5|x - 3| = 5 gives the points −2-2 and 88.
  • ∣x−3∣<5|x - 3| < 5 gives everything between them, (−2,8)(-2, 8) in interval notation.
  • ∣x−3∣>5|x - 3| > 5 gives everything outside, (−∞,−2)∪(8,∞)(-\infty, -2) \cup (8, \infty).

Solving the equation first is a reliable way into absolute value inequalities, which rewrite as compound inequalities joined by “and” or “or”.

Where are absolute value equations used in real life?

Any situation phrased as “off by exactly this much” is an absolute value equation. A machined shaft is specified at 12.5012.50 mm with an allowed error of 0.050.05 mm. The limits are the solutions of ∣d−12.50∣=0.05|d - 12.50| = 0.05, so d=12.45d = 12.45 mm and d=12.55d = 12.55 mm. A thermostat set to 70∘70^\circF that switches on when the room is 2∘2^\circ off satisfies ∣T−70∣=2|T - 70| = 2, so it acts at 68∘68^\circF and 72∘72^\circF.

Equal-distance problems use two bars. If two houses stand at mile markers 22 and 1010 and a shop should be equally far from both, solve ∣x−2∣=∣x−10∣|x - 2| = |x - 10|. The midpoint shortcut gives x=6x = 6, and the check works: ∣4∣=4|4| = 4 and ∣−4∣=4|-4| = 4.

The translation skill is the one used in linear equation word problems: identify the target value, identify the allowed error, and write ∣actual−target∣=error|\text{actual} - \text{target}| = \text{error}. The answer is always a pair of limits, one on each side of the target.

Practice problems

0 of 5 solved

  1. Solve ∣x−4∣=9|x-4|=9.

  2. Solve 2∣x+3∣−5=72|x+3|-5=7.

  3. Solve ∣3x−1∣+4=4|3x-1|+4=4.

  4. Solve ∣x+5∣=3x−1|x+5|=3x-1 and reject any extraneous answer.

  5. Solve ∣x−1∣+∣x+3∣=6|x-1|+|x+3|=6.

Common questions

How many solutions can an absolute value equation have?

A linear equation of the form ∣A∣=k|A|=k has two solutions if k>0k>0, one if k=0k=0 and none if k<0k<0. Equations with a quadratic inside the bars can have up to four, and equations with several bars can have more than two.

Can an absolute value equal a negative number?

No. Absolute value measures distance from zero, which is never negative, so an equation such as ∣x−2∣=−3|x-2|=-3 has no solution. Write the answer as no solution or ∅\varnothing.

Do I always have to check my answers?

When the bars are isolated and equal a plain number, both cases are guaranteed to work. When a variable sits on the other side, or when two bars are involved, check every answer in the original equation.

How do you solve an absolute value equation with absolute values on both sides?

For ∣A∣=∣B∣|A|=|B|, solve A=BA=B and A=−BA=-B. Put the minus sign in front of the entire expression BB, using parentheses, then solve both linear equations.

What is the difference between an absolute value equation and an inequality?

An equation such as ∣x−3∣=5|x-3|=5 asks for exact points, here −2-2 and 88. An inequality such as ∣x−3∣<5|x-3|<5 asks for every value in an interval, here everything between −2-2 and 88.

What do you do if the absolute value is not alone?

Undo everything around the bars first: subtract added terms, then divide by the coefficient, including a negative one. Only split into two cases once the equation reads ∣A∣=k|A|=k.

Up next