Lesson 10 of 42 · Algebra

Equations and inequalities with absolute values

Read absolute value as distance, solve equations and inequalities by splitting into cases, and check the conditions that remove false solutions.

About 22 minutes

In this lesson

  • Interpret an absolute value as a distance on the number line.
  • Solve equations of the forms ∣A∣=k|A| = k, ∣A∣=∣B∣|A| = |B| and ∣A∣=B|A| = B, checking the condition each case needs.
  • Solve inequalities of the forms ∣A∣<k|A| < k and ∣A∣>k|A| > k, and sums of absolute values by splitting at critical points.

The idea

Definition and meaning

The absolute value of a number is its distance from zero:

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

So ∣5∣=5|5| = 5, ∣−5∣=5|-5| = 5 and ∣0∣=0|0| = 0. An absolute value is never negative. The second line looks odd at first: if x=−5x = -5, then −x=5-x = 5, which is positive.

More useful still: ∣x−a∣|x - a| is the distance between xx and aa on the number line. Then ∣x−2∣=3|x - 2| = 3 asks for the points at distance 3 from 2, which are −1-1 and 55, and ∣x+4∣<1|x + 4| < 1 asks for the points within 1 of −4-4, because x+4=x−(−4)x + 4 = x - (-4).

Useful properties: ∣ab∣=∣a∣⋅∣b∣|ab| = |a| \cdot |b|, ∣ab∣=∣a∣∣b∣\left|\frac{a}{b}\right| = \frac{|a|}{|b|}, ∣−a∣=∣a∣|{-a}| = |a| and x2=∣x∣\sqrt{x^2} = |x|. But ∣a+b∣|a + b| is not ∣a∣+∣b∣|a| + |b| in general: ∣3+(−5)∣=2|3 + (-5)| = 2, while ∣3∣+∣−5∣=8|3| + |-5| = 8.

Equations

Form 1: ∣A∣=k|A| = k, with kk a number. If k>0k > 0, then A=kA = k or A=−kA = -k: two equations. If k=0k = 0, then A=0A = 0. If k<0k < 0, there is no solution, since an absolute value cannot be negative.

Form 2: ∣A∣=∣B∣|A| = |B|. Two numbers with the same absolute value are equal or opposite, so A=BA = B or A=−BA = -B.

Form 3: ∣A∣=B|A| = B, where BB contains the unknown. Now the right side might be negative for some xx, and those xx cannot be solutions. Either:

  • solve A=BA = B and A=−BA = -B, then keep only the solutions with B≥0B \ge 0; or
  • split by the sign of AA: where A≥0A \ge 0 solve A=BA = B; where A<0A < 0 solve −A=B-A = B; and keep each solution only if it lies in its own case.

Both routes give the same answer. The check is not optional: this form is built to produce false solutions.

Inequalities

For k>0k > 0:

∣A∣<k  ⟺  −k<A<k∣A∣>k  ⟺  A<−k  or  A>k|A| < k \iff -k < A < k \qquad\qquad |A| > k \iff A < -k \ \text{ or } \ A > k

The first says "within kk of zero", one interval; the second says "farther than kk from zero", two separate pieces. The same holds with ≤\le and ≥\ge, endpoints included.

If k≤0k \le 0, think instead of solving: ∣A∣<−2|A| < -2 has no solution; ∣A∣>−2|A| > -2 holds for every xx where AA is defined; ∣A∣≤0|A| \le 0 holds only where A=0A = 0.

More than one absolute value: split at critical points

For an expression such as ∣x−1∣+∣x+2∣|x - 1| + |x + 2|, each absolute value changes formula where its inside is zero, here at x=1x = 1 and x=−2x = -2. These critical points cut the line into intervals. In each interval every absolute value has a fixed sign, so you can drop the bars, solve an ordinary equation and keep the solution only if it lies in that interval.

Interval x−1x - 1 x+2x + 2 Expression
x<−2x < -2 negative negative −(x−1)−(x+2)=−2x−1-(x - 1) - (x + 2) = -2x - 1
−2≤x<1-2 \le x < 1 negative non-negative −(x−1)+(x+2)=3-(x - 1) + (x + 2) = 3
x≥1x \ge 1 non-negative non-negative (x−1)+(x+2)=2x+1(x - 1) + (x + 2) = 2x + 1

The middle row has a distance meaning too: for any xx between −2-2 and 11, the distances to −2-2 and to 11 add up to the gap between them, which is 3.

The graph in one sentence

The graph of y=∣x−a∣y = |x - a| is a V with its corner at (a,0)(a, 0). The functions unit draws it in detail; for now, the V shape explains why ∣A∣=k|A| = k (a horizontal line meeting the V) has two, one or no solutions.

Worked examples

Example 1: An equation with a number on the right

Solve ∣2x−3∣=7|2x - 3| = 7.

  1. The right side is positive, so 2x−3=72x - 3 = 7 or 2x−3=−72x - 3 = -7.

  2. First case: 2x=102x = 10, x=5x = 5. Second case: 2x=−42x = -4, x=−2x = -2.

  3. Check: ∣10−3∣=7|10 - 3| = 7 and ∣−4−3∣=∣−7∣=7|-4 - 3| = |-7| = 7.

Answer

x=5x = 5 or x=−2x = -2. Solving only 2x−3=72x - 3 = 7 misses half the answer.

Example 2: The unknown on both sides

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

  1. The right side must be non-negative: 2x+1≥02x + 1 \ge 0, so x≥−12x \ge -\frac{1}{2}.

  2. Case x−4=2x+1x - 4 = 2x + 1: x=−5x = -5. This fails x≥−12x \ge -\frac{1}{2} (the right side would be −9-9), so reject it.

  3. Case x−4=−(2x+1)x - 4 = -(2x + 1): x−4=−2x−1x - 4 = -2x - 1, so 3x=33x = 3 and x=1x = 1, which satisfies x≥−12x \ge -\frac{1}{2}.

  4. Check x=1x = 1: ∣1−4∣=3|1 - 4| = 3 and 2(1)+1=32(1) + 1 = 3.

Answer

Only x=1x = 1. Keeping x=−5x = -5 is the trap: ∣−5−4∣=9|-5 - 4| = 9, but the right side is −9-9.

Example 3: An absolute value inequality

Solve ∣3x+1∣≤5|3x + 1| \le 5.

  1. "At most 5 from zero": −5≤3x+1≤5-5 \le 3x + 1 \le 5.

  2. Subtract 1 from all three parts: −6≤3x≤4-6 \le 3x \le 4.

  3. Divide by 3 (positive, no flip): −2≤x≤43-2 \le x \le \frac{4}{3}.

  4. Check the ends: ∣−6+1∣=5|-6 + 1| = 5 and ∣4+1∣=5|4 + 1| = 5; at x=0x = 0, ∣1∣≤5|1| \le 5.

Answer

−2≤x≤43-2 \le x \le \frac{4}{3}. Solving only 3x+1≤53x + 1 \le 5 gives x≤43x \le \frac{4}{3}, which wrongly includes values such as x=−3x = -3, where ∣−8∣=8|{-8}| = 8.

Example 4: Two absolute values

Solve ∣x−1∣+∣x+2∣=5|x - 1| + |x + 2| = 5.

  1. Critical points: x=1x = 1 and x=−2x = -2. Use the three formulas from the table above.

  2. For x≥1x \ge 1: 2x+1=52x + 1 = 5, so x=2x = 2, which lies in x≥1x \ge 1. Keep it.

  3. For −2≤x<1-2 \le x < 1: the expression is 33, and 3=53 = 5 is false, so there is no solution in this interval.

  4. For x<−2x < -2: −2x−1=5-2x - 1 = 5, so x=−3x = -3, which lies in x<−2x < -2. Keep it.

  5. Check: ∣1∣+∣4∣=5|1| + |4| = 5 and ∣−4∣+∣−1∣=5|-4| + |-1| = 5.

Answer

x=−3x = -3 or x=2x = 2. As distances: the points whose distances to 11 and −2-2 add to 5 lie 1 unit outside each end of the segment from −2-2 to 11.

Common traps

  • Forgetting the negative case

    ∣A∣=k|A| = k with k>0k > 0 always gives two equations, A=kA = k and A=−kA = -k. Writing only the first loses a solution.

  • Accepting a solution that makes the right side negative

    In ∣A∣=B|A| = B with BB depending on xx, every solution must give B≥0B \ge 0. Check each one; this is where the false solutions hide.

  • Reading the distance from the wrong point

    ∣x+3∣|x + 3| is the distance from xx to −3-3, not to 33. Rewrite x+3x + 3 as x−(−3)x - (-3) if in doubt.

  • Swapping the two inequality shapes

    "Less than" gives one interval in the middle (−k<A<k-k < A < k); "greater than" gives two outer pieces (A<−kA < -k or A>kA > k). A test value outside your answer should fail.

  • Treating absolute value as distributive over sums

    ∣a+b∣≤∣a∣+∣b∣|a + b| \le |a| + |b|, with equality only when aa and bb do not have opposite signs. You cannot split ∣x−1+2x∣|x - 1 + 2x| into ∣x−1∣+∣2x∣|x - 1| + |2x|.

Check yourself

Answer each question before you open its answer.

Question 1: Within a distance

Algebra: absolute values

Which set is the solution of ∣x+3∣<2|x + 3| < 2?

  1. A.x<−1x < -1
  2. B.1<x<51 < x < 5
  3. C.x<−5x < -5 or x>−1x > -1
  4. D.−5<x<−1-5 < x < -1
Show the answer

Answer: D. −5<x<−1-5 < x < -1

Working

∣x+3∣<2|x + 3| < 2 means −2<x+3<2-2 < x + 3 < 2; subtract 3: −5<x<−1-5 < x < -1. As a distance: the points within 2 of −3-3. Test x=−3x = -3: 0<20 < 2, true; x=0x = 0: 3<23 < 2, false.

Why the other options are wrong

  • A. This solves only x+3<2x + 3 < 2 and drops the other side. Test x=−10x = -10: ∣−7∣=7|{-7}| = 7, not less than 2.
  • B. This measures distance from +3+3; ∣x+3∣|x + 3| is the distance from −3-3.
  • C. This is the solution of ∣x+3∣>2|x + 3| > 2, the points farther than 2 from −3-3.

What carries over

An absolute value less than k gives one interval centred on the point where the inside is zero.

Question 2: Two cases, both checked

Algebra: absolute values

What are all the real solutions of ∣2x−1∣=x+4|2x - 1| = x + 4?

  1. A.x=5x = 5 only
  2. B.x=−53x = -\frac{5}{3} or x=5x = 5
  3. C.x=−1x = -1 or x=5x = 5
  4. D.x=−5x = -5 or x=1x = 1
Show the answer

Answer: C. x=−1x = -1 or x=5x = 5

Working

The right side must be non-negative: x≥−4x \ge -4. Case 2x−1=x+42x - 1 = x + 4: x=5x = 5. Case 2x−1=−(x+4)=−x−42x - 1 = -(x + 4) = -x - 4: 3x=−33x = -3, x=−1x = -1. Both satisfy x≥−4x \ge -4. Check: ∣9∣=9=5+4|9| = 9 = 5 + 4 and ∣−3∣=3=−1+4|-3| = 3 = -1 + 4.

Why the other options are wrong

  • A. This solves only 2x−1=x+42x - 1 = x + 4. The case 2x−1=−(x+4)2x - 1 = -(x + 4) also gives a valid solution, x=−1x = -1.
  • B. This writes −(2x−1)-(2x - 1) as −2x−1-2x - 1, forgetting to change the sign of the −1-1. Check x=−53x = -\frac{5}{3}: the left side is 133\frac{13}{3}, the right side 73\frac{7}{3}.
  • D. Every sign is flipped. Check x=1x = 1: the left side is ∣1∣=1|1| = 1, the right side is 55.

What carries over

Solve both cases, then keep only the solutions that make the right side non-negative.

Question 3: Farther than a distance

Algebra: absolute values

Which set is the solution of ∣x−2∣≥3|x - 2| \ge 3?

  1. A.−1≤x≤5-1 \le x \le 5
  2. B.x≤−5x \le -5 or x≥1x \ge 1
  3. C.x≤−1x \le -1 or x≥5x \ge 5
  4. D.x≥5x \ge 5
Show the answer

Answer: C. x≤−1x \le -1 or x≥5x \ge 5

Working

∣x−2∣≥3|x - 2| \ge 3 means x−2≤−3x - 2 \le -3 or x−2≥3x - 2 \ge 3, so x≤−1x \le -1 or x≥5x \ge 5: the points at least 3 away from 2. Test x=2x = 2: 0≥30 \ge 3, false, as it should be.

Why the other options are wrong

  • A. This is the solution of ∣x−2∣≤3|x - 2| \le 3: the points within 3 of 2, the opposite of what is asked.
  • B. This measures distance from −2-2; ∣x−2∣|x - 2| is the distance from +2+2.
  • D. This keeps only x−2≥3x - 2 \ge 3. The other piece, x−2≤−3x - 2 \le -3, adds x≤−1x \le -1; for example x=−4x = -4 is at distance 6 from 2.

What carries over

An absolute value greater than k gives two outer pieces, not one interval.

Key points

  • ∣x−a∣|x - a| is the distance from xx to aa; an absolute value is never negative.

  • ∣A∣=k|A| = k with k>0k > 0: A=±kA = \pm k. With k<0k < 0: no solution.

  • ∣A∣=B|A| = B with the unknown in BB: solve both cases and keep only solutions with B≥0B \ge 0.

  • ∣A∣<k|A| < k is one interval, −k<A<k-k < A < k; ∣A∣>k|A| > k is two pieces, A<−kA < -k or A>kA > k.

  • With several absolute values, split at the points where each inside is zero and check each solution against its interval.

All questions here are original and written for UniExamer; none comes from the test maker.

Written by the UniExamer team with AI assistance. Every worked example and check question was re-solved by an independent checker before publication. No subject expert has reviewed this lesson yet. If you find a mistake, write to support@uniexamer.com.

Bu konuyu çalış

Bu beceride çözümlü açıklamalarla yeni sorular. Çalışma için Single Exam Pass veya Plus gerekir.