Chalk−1

Math · College algebra · Concept

Absolute value equations and inequalities

To solve an absolute value equation, isolate the absolute value, then split ∣⁢A⁢∣=c into two equations, A=c or A=−c, and solve both. For an inequality with c>0, ∣⁢A⁢∣<c becomes the single interval −c<A<c, and ∣⁢A⁢∣>c becomes two pieces, A<−c or A>c.

Try one — Chalk checks each line

A concrete case

Five miles from marker 12

You stand at mile marker 12 on a straight trail. A friend says she is exactly 5 miles from you. She could be ahead of you at marker 17 or behind you at marker 7. One distance gives two places, one on each side.

Now ask for every marker within 5 miles of you. The answer is no longer two points. It is the whole stretch from marker 7 to marker 17. Ask for every marker more than 5 miles away and the answer is everything outside that stretch, below 7 or above 17.

The distance from marker x to marker 12 is written ∣⁢x−12⁢∣, the absolute value of x−12. The three questions are ∣⁢x−12⁢∣=5, ∣⁢x−12⁢∣≤5 and ∣⁢x−12⁢∣>5.

∣⁢x−12⁢∣=5x=7 or x=17
∣⁢x−12⁢∣=5x=7 or x=17
Markers and their distance from marker 12
Marker xx−12Distance ∣⁢x−12⁢∣
5−77
7−55
10−22
1200
1533
1755
2088

The rule

Absolute value is distance

∣⁢x⁢∣ is the distance from x to 0 on the number line. A distance is never negative, so ∣5⁢∣=5 and ∣−5⁢∣=5. As a formula, ∣⁢x⁢∣ is x itself when x is 0 or positive, and −x when x is negative. Read −x as “the opposite of x”. When x=−5, −x is 5, a positive number.

The distance between two numbers x and a is ∣⁢x−a⁢∣. It does not matter which comes first, since ∣3−8⁢∣=∣−5⁢∣=5 and ∣8−3⁢∣=5.

∣⁢x⁢∣={x,x≥0−x,x<0

Equations: two answers, one or none

Let A stand for whatever is inside the bars and c for a number. For c>0, ∣⁢A⁢∣=c says A is c units from zero, so A=c or A=−c. Each of those is an ordinary equation, and the two usually give two answers.

When c=0, the two cases are the same equation, A=0, and there is one answer. When c<0 there is no answer at all, because no distance is negative.

∣⁢A⁢∣=cA=c or A=−c(c>0)
∣⁢A⁢∣=cA=c or A=−c(c>0)

Inequalities: between, or outside

For c>0, ∣⁢A⁢∣<c says A is less than c units from zero. That puts A between −c and c, one stretch written as a three-part inequality.

∣⁢A⁢∣>c says A is more than c units from zero, on either side. That puts A below −c or above c, two rays joined by “or”. With ≤ or ≥ the ends −c and c are included as well.

∣⁢A⁢∣<c−c<A<c∣⁢A⁢∣>cA<−c or A>c
∣⁢A⁢∣<c−c<A<c∣⁢A⁢∣>cA<−c or A>c

Why it works

Why one condition splits in two

The definition does the splitting. If A is 0 or positive, ∣⁢A⁢∣ is A itself, and ∣⁢A⁢∣=c says A=c. If A is negative, ∣⁢A⁢∣ is −A, and ∣⁢A⁢∣=c says −A=c, which is A=−c. Every number falls in one of the two cases, so the two equations together catch every answer.

The graph tells the inequalities apart. Draw the V of y=∣⁢x⁢∣ and the flat line y=c. They meet at x=−c and x=c. Between those points the V is below the line, which is ∣⁢x⁢∣<c. Outside them the V is above it, which is ∣⁢x⁢∣>c. The table shows the same thing for c=2.

The graph also shows why a negative c has no answer. The V never goes below the x-axis, so it never meets a line under the axis.

Comparing ∣⁢x⁢∣ with 2
x∣⁢x⁢∣∣⁢x⁢∣<2?
−33No
−22No (equal)
−11Yes
00Yes
11Yes
22No (equal)
33No

The method

Solving an equation

Isolate first and split second. The table works through ∣2⁢x−3⁢∣+4=11, the first worked example below.

The bars hold the 2⁢x−3 together. Nothing outside them may be moved inside until they are gone.

The steps on ∣2⁢x−3⁢∣ +4 =11
StepWhat to doFor ∣2⁢x−3⁢∣+4 =11
1Get the absolute value alone on one side∣2⁢x−3⁢∣ =7
2Read the number on the other side, cc =7 >0, so expect two answers
3Split into A=c or A=−c2⁢x−3 =7 or 2⁢x−3 =−7
4Solve each equationx=5 or x=−2
5Check each answer in the original equation7+4 =11 both times

Solving an inequality

Isolate the absolute value exactly as for an equation. Then look at the sign. “Less than” turns into one three-part inequality and “greater than” into two pieces joined by “or”.

Take 2⁢∣⁢x+1⁢∣−3≤7. Add 3 and halve both sides to get ∣⁢x+1⁢∣≤5. That is a “less than”, so −5≤x+1≤5. Subtract 1 from all three parts to get −6≤x≤4, which is [−6,4]. Test numbers check it, though they cannot prove it. Try one inside, one outside and an endpoint. x=0 gives 2⋅1−3=−1≤7, true. x=5 gives 2⋅6−3=9, and 9≤7 is false. x=4 gives exactly 7, true. The inside number alone would also pass a slip such as [−4,6].

2⁢∣⁢x+1⁢∣−3≤7∣x+1⁢∣≤5−6≤x≤4
2⁢∣⁢x+1⁢∣−3≤7∣x+1⁢∣≤5−6≤x≤4

Two absolute values

Two numbers with the same distance from zero are either equal or opposite. ∣⁢A⁢∣=∣⁢B⁢∣ therefore splits into A=B or A=−B.

For ∣⁢x−1⁢∣=∣2⁢x+4⁢∣, the first case x−1=2⁢x+4 gives x=−5. The second, x−1=−(2⁢x+4), gives 3⁢x=−3 and x=−1. Both check. At x=−5 the two sides are ∣−6⁢∣=6 and ∣−6⁢∣=6. At x=−1 they are ∣−2⁢∣=2 and ∣2⁢∣=2.

∣⁢A⁢∣=∣⁢B⁢∣A=B or A=−B
∣⁢A⁢∣=∣⁢B⁢∣A=B or A=−B

Where it breaks

Where it breaks

The split needs a plain number on the other side. When x also sits outside the bars, as in ∣⁢x−2⁢∣=2⁢x−1, splitting can produce an answer that fails. The two cases give x−2=2⁢x−1, so x=−1, and x−2=−(2⁢x−1), so x=1. At x=−1 the left side is ∣−3⁢∣=3 but the right side is −3. Only x=1 checks. The right side stands for a distance, so it must not be negative, and every answer has to be tested.

A negative number on the other side settles the question at once. ∣2⁢x−5⁢∣+3<1 isolates to ∣2⁢x−5⁢∣<−2, which has no solution. ∣⁢x+1⁢∣>−2 holds for every real number, since every distance is greater than −2.

Absolute value does not split over a sum. ∣⁢x+3⁢∣ is not ∣⁢x⁢∣+3. At x=−3 the first is 0 and the second is 3.

“Greater than” is never one stretch. ∣⁢x⁢∣>3 is x<−3 or x>3. Writing −3>x>3 claims −3>3, so it describes no number at all.

Check your answer

Check your answer

An absolute value is a distance, and that gives several ways to test an answer.

Substitute every answer into the original equation, not the split one. A wrong answer shows up there even when the split looked right.

Read the problem as a distance. ∣⁢x−12⁢∣=5 asks for the numbers 5 away from 12, and 7 and 17 are each 5 away. For an inequality with a linear expression in the bars and a number on the other side, the middle of your interval, or of the gap between your rays, is where the inside is zero.

Draw the V and the line. The answers to an equation are where they meet. A “less than” answer is where the V is below the line.

To have Chalk check the work, write it in a Math box with each step on its own row. Put the isolated form on one row, the split on the next with “or” between the two equations, and the answers below. The Checker compares each row with the one above, and an answer that fails reads ✗ with a message such as “x = −7 doesn’t satisfy row 1”.

When x also sits outside the bars, as in ∣⁢x−2⁢∣=2⁢x−1, the split row reads ⇒. It names the value it adds, “The cases add x = −1.” Then x=−1 or x=1 reads ✗ “x = −1 doesn’t satisfy row 1.”, and x=1 reads ✓. Two absolute values set equal, ∣⁢x+3⁢∣=∣⁢x−9⁢∣, split into x+3=x−9 or x+3=−(x−9) and read ✓. An isolated inequality with a negative bound, ∣2⁢x−5⁢∣<−2, reads ✓ too. A split Chalk can’t follow reads ?, and a ? is not a ✗, so check those rows by substituting.

Without splitting, what are the solutions of ∣⁢x+6⁢∣=2?

−8 and −4. x+6 is x−(−6), so ∣⁢x+6⁢∣ is the distance from x to −6, and the two numbers 2 away from −6 are −8 and −4. Reading it as the distance from 6 gives 4 and 8, the right distance from the wrong center. Substituting 4 shows the slip, since ∣10⁢∣=10.

Distance, square roots and tolerances

For every real x, ∣⁢x⁢∣=x2. Squaring removes the sign and the square root, which is never negative, does not bring it back. (−5)2=25=5. That is why x2 is not always x.

Distance obeys the triangle inequality, ∣⁢a+b⁢∣≤∣⁢a⁢∣+∣⁢b⁢∣. With a=3 and b=−5 the left side is ∣−2⁢∣=2 and the right side is 8. The two sides are equal only when a and b do not have opposite signs.

Engineers write tolerances this way. A rod meant to be 50 mm long, allowed to be off by 0.2 mm, must satisfy ∣⁢L−50⁢∣≤0.2. Calculus uses the same form for “x is within a small distance of a” when it defines a limit.

Common mistakes

  • Splitting before isolating. In 2⁢∣⁢x−1⁢∣+3=11, splitting at once gives x=5 or x=−6, and −6 fails. Isolate first to get ∣⁢x−1⁢∣=4, which gives x=5 or x=−3, because the bars hold only x−1.
  • Solving only A=c. ∣⁢x+4⁢∣=6 gives x=2 and also x=−10, because x+4 can be 6 units from zero on either side.
  • Writing ∣⁢A⁢∣>c as one interval. ∣⁢x⁢∣>3 written as −3>x>3 claims −3>3 and describes no number. Write x<−3 or x>3, two rays joined by “or”.
  • Treating ∣⁢x+3⁢∣ as ∣⁢x⁢∣+3. At x=−3, ∣⁢x+3⁢∣ is 0 but ∣⁢x⁢∣+3 is 3. Absolute value does not split over a sum, so isolate the whole ∣⁢x+3⁢∣ and split that.
  • Going on when the number on the other side is negative. ∣⁢x−5⁢∣=−2 has no solution, because a distance cannot be negative. Splitting it anyway gives 3 and 7, and neither one checks.
  • Keeping every candidate when x is also outside the bars. ∣⁢x−2⁢∣=2⁢x−1 gives the candidates −1 and 1, but only x=1 checks, because the right side must not be negative.

Key terms

Absolute value
A number’s distance from zero, so it is never negative: ∣−3⁢∣=3 and ∣3⁢∣=3. In general, ∣⁢x⁢∣=x when x≥0 and ∣⁢x⁢∣=−x when x<0.
Absolute value equation
An equation with the variable inside absolute value bars. Once the absolute value is alone on one side, ∣⁢A⁢∣=c with c>0 splits into A=c or A=−c. ∣⁢A⁢∣=0 gives A=0, and ∣⁢A⁢∣=c with c<0 has no solution.
Absolute value inequality
An inequality with the variable inside absolute value bars. For c>0, ∣⁢A⁢∣<c means −c<A<c, which is one interval. ∣⁢A⁢∣>c means A<−c or A>c, which is two pieces.
Compound inequality
Two inequalities joined by “and” or “or”. “And” keeps the values that satisfy both, such as −2≤x<3. “Or” keeps the values that satisfy either, such as x<−3 or x>3.
Solution set
All the allowed values that make an equation or inequality true, such as {−2,3}. Equivalent equations have the same solution set.
Interval
An unbroken stretch of the number line, such as all x from 2 to 5. A bracket [ ] includes an endpoint and a parenthesis ( ) leaves it out.

Work through an example

Solve ∣2⁢x−3⁢∣+4=11 and check both solutions.

Solve an absolute value equation →

Solve an absolute value inequality →

Sources and scope

Authored study material. Tool results depend on the stated inputs and model assumptions.

After reading

Try it, then study it

Open the example in its tool to check steps or change values, then review the key terms as flashcards.

Graph both sides in Graph Check each step in Math Study the 6 key terms Open worked example on a board Absolute value rules in Math Reference

Your existing work stays on this device. Examples open as editable copies.