On this concept: Formula

Not sure which lesson to do first? Find your level and get a plan →

Math · Algebra Fundamentals · Grade 9-12

Absolute Value Equations

An absolute-value equation like ∣x−2∣=5 asks which values are a given distance from a center, giving two cases.

∣A∣=k  ⟺  A=±k  (k≥0)

Quick Answer

An absolute-value equation like ∣x−2∣=5 asks which values are a given distance from a center, giving two cases. Use it when the unknown sits inside absolute-value bars that are set equal to a number, as when a value must be exactly a given amount away from a target. Isolate the bars first, then split ∣A∣=k into A=k or A=−k and solve both. If k is negative there is no solution, since a distance cannot be negative, and if k=0 there is exactly one.

Why This Matters

Absolute-value equations answer "which values are exactly this far from a target?": the two temperatures 3 degrees from a set point, or the two marks on a track exactly 150 m from a water station. The distance meaning tells you to expect two answers, one on each side. Solving only A=k loses half the answers, and splitting before isolating the bars, as in 2∣x+3∣−4=6, produces wrong ones.

Intuitive Explanation

∣x∣ is the distance from x to 0, so ∣x∣=4 asks which numbers are 4 units from 0: both 4 and −4. Moving the centre works the same way. ∣x−2∣=5 says the distance from x to 2 is 5. Walk 5 to the right of 2 and you reach 7; walk 5 to the left and you reach −3. Those are the two solutions.

Algebraically, whatever is inside the bars must be 5 or −5, so split into two ordinary equations: x−2=5 gives x=7, and x−2=−5 gives x=−3. With a coefficient inside, ∣2x+1∣=9 splits into 2x+1=9 and 2x+1=−9, so x=4 or x=−5.

Isolate the bars before splitting. In 3∣x−1∣+2=14, subtract 2 and divide by 3 to get ∣x−1∣=4, and only then split: x=5 or x=−3. Look at the number on the other side, too: ∣x+6∣=−2 has no solution at all, because no distance is −2, while ∣x+6∣=0 has just one, x=−6.

An absolute-value inequality looks almost the same but asks for a whole range: ∣x−2∣≤5 is every number within 5 of 2, the interval [−3,7], not just its two endpoints. A quadratic such as (x−2)2=25 has the same two answers, 7 and −3, because squaring also hides the sign; the distance picture just reaches them faster.

Think of it like this. Solving ∣x−c∣=r is like setting a compass to radius r and placing its point at c on a number line: the pencil touches the line in exactly two places, c−r and c+r. Close the compass to zero and it touches one place; there is no way to open it to a negative width.

Core idea. An absolute-value equation asks which values sit a fixed distance from a center, which usually splits into two cases.


When to Use

Use it when an unknown is inside absolute-value bars and the bars are set equal to a number, or when a story says a value is exactly some distance from a target, in either direction. Get the bars alone on one side first. If the bars are compared with <, ≤, > or ≥, solve an absolute-value inequality instead and expect a range. If there are no bars, it is an ordinary linear equation with one answer.

Tip. Ask: Is an expression inside absolute-value bars set equal to a constant, asking which values are that distance away?

How to Recognize It

Before splitting into cases, look at what stands alone on each side of the equals sign once the bars are isolated.

  1. After isolating the bars, is the other side a negative number?

    Then there is no solution, and you can stop. If it is 0 there is one solution, and if it is positive there are two cases to solve.

  2. Is the other side an expression with x in it, like ∣2x−1∣=x+4?

    Split into cases as usual, but check every answer in the original, because a case can produce a value that makes the right side negative. Here both x=5 and x=−1 survive the check.

  3. Are there bars on both sides, as in ∣x−3∣=∣x+1∣?

    Then the two insides are equal or opposite, so solve x−3=x+1 and x−3=−(x+1). The first has no solution and the second gives x=1, the point halfway between 3 and −1.

  4. Is the relation an equals sign rather than < or >?

    Equals gives a few exact points. An inequality sign gives whole ranges of answers, which is an absolute-value inequality and is solved and graphed differently.

Absolute Value Equations compared with Absolute-value inequality, Linear equation, and Quadratic equation

All four rows can produce two answers or two conditions, so they get mixed up. Ask whether there are absolute-value bars and, if so, whether they are set equal to something or compared with < or >; a squared variable without bars is a quadratic.

Absolute Value Equations

Meaning
Use this when an unknown inside absolute-value bars is set equal to a fixed amount (a distance equals a value).
Key test
Is an expression inside absolute-value bars set equal to a constant, asking which values are that distance away?
Formula
∣A∣=k  ⟺  A=±k  (k≥0)
Example
Solve ∣x−2∣=5.

Absolute-value inequality

Meaning
Describes a range within or outside a distance, not exact distances.
Key test
Use when the bars are set < or > a value, giving an interval.
Formula
∣A∣<k  ⟺  −k<A<k
Example
∣x−2∣<5 means −3<x<7

Linear equation

Meaning
One absolute-free equation with a single solution.
Key test
Use when there are no absolute-value bars.
Formula
ax+b=c
Example
2x+1=7⇒x=3

Quadratic equation

Meaning
Also yields two solutions, but via squaring, not distance.
Key test
Use when the variable is squared, not inside bars.
Formula
ax2+bx+c=0
Example
x2=25⇒x=±5

Formula & Notation

∣A∣=k  ⟺  A=±k  (k≥0)
Absolute Value Equations can be formalized with precise domain conditions and rule-based inference.

How to read it: ∣⋅∣ denotes absolute value.

Worked Examples

Example 1 — Solve a distance equation

Easy

Solve ∣x−2∣=5.
Show the steps and the answer
  1. Read the bars as distance: the distance from x to 2 is 5.

    That tells you to expect two answers, one on each side of 2.

  2. Split: x−2=5 or x−2=−5.

    The expression inside the bars must be 5 or −5, the two numbers whose absolute value is 5.

  3. Solve each: x=7 or x=−3.

    Adding 2 to both sides of each equation isolates x.

  4. Check: ∣7−2∣=5 and ∣−3−2∣=∣−5∣=5.

    Both values sit exactly 5 units from 2.

Answer: x=7, x=−3

Takeaway: An absolute value equal to a positive number gives two cases, one on each side of the centre.

Example 2 — A range, not exact points

Standard

Solve ∣x−2∣≤5.
Show the steps and the answer
  1. Read the sign: ≤ asks for every number within 5 of 2, not exactly 5 away.

    An inequality describes a range, so two points cannot be the whole answer.

  2. Write it as a compound inequality: −5≤x−2≤5.

    Being within 5 of 2 means x−2 lies between −5 and 5.

  3. Add 2 to all three parts: −3≤x≤7.

    Adding 2 to the middle and to both bounds shifts the whole band back to centre 2.

  4. Test a value: x=0 gives ∣0−2∣=2≤5, true, and 0 lies in [−3,7].

    A point inside the range should satisfy the original inequality.

Answer: −3≤x≤7, i.e. [−3,7]

Takeaway: Equals gives the two endpoints; less than or equal gives everything between them.

Example 3 — Find the mistake: isolate the bars first

Application

Solve 2∣x+3∣−4=6. Dan writes: "2(x+3)−4=6 or 2(x+3)−4=−6, so x=2 or x=−4." Find the mistake and correct it.
Show the steps and the answer
  1. Test Dan's answers: x=2 gives 2∣5∣−4=6, true; x=−4 gives 2∣−1∣−4=−2, not 6.

    One of his answers fails, so the method went wrong somewhere.

  2. Isolate the bars: add 4 to get 2∣x+3∣=10, then divide by 2 to get ∣x+3∣=5.

    The rule ∣A∣=k means A=±k applies only when the bars stand alone; Dan's second case changed the sign of the 6 but not of the −4 outside the bars.

  3. Split: x+3=5 or x+3=−5, so x=2 or x=−8.

    Now both cases are about the expression inside the bars.

  4. Check x=−8: 2∣−8+3∣−4=2(5)−4=6.

    Both corrected answers satisfy the original equation.

Answer: x=2 or x=−8

Takeaway: Get the absolute value alone before splitting into cases, then check both answers in the original.

Where You'll See It

  • Greenhouse temperature alarms

    A greenhouse alarm sounds when the temperature is 3°C away from the 22°C set point, in either direction. Solving ∣T−22∣=3 gives the two alarm thresholds: T=19°C, too cold, and T=25°C, too hot.

  • Marks on a running track

    On a straight 1 km path with a water station at the 400 m mark, the points exactly 150 m from the station satisfy ∣x−400∣=150. That gives x=550 m or x=250 m, one after the station and one before it.

  • Checking cereal box weights

    A machine fills boxes to a 500 g target, and a box sits exactly at the tolerance limit when it is 8 g off. ∣w−500∣=8 gives w=492 g or w=508 g, the two boundary weights an inspector tests against.

Common Mistakes

  1. The slip: Keeping only the positive case

    Instead: ∣A∣=k means A=k or A=−k; solve both

  2. The slip: Solving when the right side is negative

    Instead: ∣A∣=−3 has no solution because distance can't be negative

  3. The slip: Splitting before isolating the bars

    Instead: first get ∣A∣ alone (e.g. ∣x∣+1=4→∣x∣=3), then split into the two cases


Mini Practice

Try these on your own. Tap Reveal when you want to check.

  1. Solve the absolute value equation ∣x∣=9.

    Hint: Which numbers are 9 units from 0?

  2. Solve the absolute value equation ∣x+4∣=6.

    Hint: Write two equations: x+4=6 and x+4=−6.

  3. Solve the absolute value equation 2∣x−1∣+3=11.

    Hint: Get the absolute value alone before splitting.

  4. Solve the absolute value equation ∣3x−2∣=7.

    Hint: Solve 3x−2=7 and 3x−2=−7.

  5. A thermostat keeps a room within 2 degrees of 20∘C. To find the coldest and warmest allowed temperatures, use ∣T−20∣=2 or ∣T−20∣≤2?

    Hint: Do you want the two limits or every allowed value?

  6. A student solves ∣x−3∣+5=2 and gets x=0 or x=6. Find the mistake.

    Hint: Isolate the absolute value and look at the sign of the right side.

Want the full set?

50 practice questions for this concept — free to try, every one with a complete worked solution showing the why, not just the answer.

Frequently Asked Questions

Can an absolute-value equation have infinitely many solutions?

Yes, when the two sides agree over a whole range. For example, ∣x∣=x|x|=x is true for every x≥0x\ge0, because the absolute value of a nonnegative number is the number itself, and false for every negative xx. Likewise ∣x−1∣+∣x−5∣=4|x-1|+|x-5|=4 holds for every xx from 1 to 5, since the distances to 1 and to 5 then add up to the gap between them.

Is ∣x∣2 the same as x2?

Yes, for every real number, because squaring removes the sign anyway: ∣−3∣2=9=(−3)2|-3|^2=9=(-3)^2. This gives another way to solve: ∣x−2∣=5|x-2|=5 can be squared to (x−2)2=25(x-2)^2=25, which leads to x−2=±5x-2=\pm5 again. The related fact that x2=∣x∣\sqrt{x^2}=|x|, not xx, is a common trap, since (−4)2=4\sqrt{(-4)^2}=4.

Where do absolute-value equations show up outside class?

Anywhere a distance counts but the direction does not. A thermostat set to 21∘21^\circC that switches the heating or cooling on once the room drifts 1.5∘1.5^\circ away is described by ∣T−21∣=1.5|T-21|=1.5, so it acts at 19.5∘19.5^\circC or 22.5∘22.5^\circC. In measurement, a reading exactly at the edge of its allowed error, too high or too low, solves the same kind of equation.

Can I check a solution by drawing a graph?

Yes. Graph y=∣2x−1∣y=|2x-1|, a V shape with its corner at x=12x=\frac12, and the horizontal line y=5y=5. The solutions are the xx-values where they cross, here x=3x=3 and x=−2x=-2. A horizontal line below the corner of the V never touches it, which is the picture of a negative right side having no solution, and a line through the corner touches once.

Learning Path

Absolute Value Equations

You are here

Next →

Nothing after this yet
You need Absolute Value (distance from zero), Equations, and Solving Linear Equations first. This concept adds splitting ∣A∣=k into the cases A=k and A=−k after isolating the bars, and spotting when there is no solution. It prepares you for absolute-value inequalities, which describe whole ranges within or beyond a distance, and for graphs of y=∣x−h∣+k, whose V shape meets a horizontal line in two, one or no points.

See Also