Lesson 28 of 46 · Algebra

Inequalities and absolute value

Solve linear inequalities, flip the sign only when you should, combine ranges correctly, and treat absolute value as distance on the number line.

About 22 minutes

In this lesson

  • Solve a linear inequality, reversing the sign exactly when multiplying or dividing by a negative number.
  • Combine two ranges to find the possible values of a sum or a difference.
  • Solve ∣x−a∣<b|x - a| < b and ∣x−a∣>b|x - a| > b by reading them as distances.
  • Solve an absolute value equation in two cases and reject any solution that fails the check.

The idea

Inequalities behave like equations, with one exception

You may add or subtract the same number on both sides of an inequality, and you may multiply or divide both sides by the same positive number, without changing the direction of the sign. The exception: multiplying or dividing by a negative number reverses the sign.

Why? Multiplying by −1-1 reflects every number across zero on the number line, so the order of any two numbers flips. 2<52 < 5, but −2>−5-2 > -5.

7−3x≥19  ⇒  −3x≥12  ⇒  x≤−47 - 3x \ge 19 \;\Rightarrow\; -3x \ge 12 \;\Rightarrow\; x \le -4

The sign flipped at the division by −3-3, and only there. Subtracting 7 did not flip it. To check the direction, test one value on each side of the boundary in the original inequality: x=−5x = -5 gives 22≥1922 \ge 19 (true) and x=0x = 0 gives 7≥197 \ge 19 (false), so the solution really is x≤−4x \le -4.

Never multiply by a variable of unknown sign

From 6x>2\frac{6}{x} > 2 you cannot simply write 6>2x6 > 2x, because if xx is negative the sign should flip. Unless the stem tells you the sign of xx, treat the cases separately or test values. Here, a negative xx makes 6x\frac{6}{x} negative, which is never greater than 2, so xx must be positive, and then 6>2x6 > 2x gives 0<x<30 < x < 3.

Compound inequalities

An inequality such as −3<2x+1≤9-3 < 2x + 1 \le 9 is two inequalities at once. Do the same thing to all three parts: subtract 1 to get −4<2x≤8-4 < 2x \le 8, then divide by 2 to get −2<x≤4-2 < x \le 4. Keep track of which ends are strict (<<) and which include the endpoint (≤\le); a question that asks for the number of integers in a range turns on this.

Combining ranges

If −3<x<2-3 < x < 2 and 1<y<51 < y < 5, what values can x+yx + y and x−yx - y take?

  • Sum: add the lower ends and add the upper ends: −2<x+y<7-2 < x + y < 7.
  • Difference: the smallest x−yx - y uses the smallest xx and the largest yy; the largest uses the largest xx and the smallest yy. So −3−5<x−y<2−1-3 - 5 < x - y < 2 - 1, that is −8<x−y<1-8 < x - y < 1.

Subtracting the lower ends from each other (−3−1=−4-3 - 1 = -4) and the upper ends from each other (2−5=−32 - 5 = -3) gives a range that is too narrow and is a frequent wrong answer. Products are harder still, because signs interact; with mixed signs, test the four corner products.

Absolute value is distance

∣x∣|x| is the distance from xx to 00 on the number line, so it is never negative. More usefully, ∣x−a∣|x - a| is the distance from xx to aa. That reading turns absolute value inequalities into pictures:

Statement Meaning Solution
∣x−a∣<b\lvert x - a \rvert < b within bb of aa a−b<x<a+ba - b < x < a + b
∣x−a∣>b\lvert x - a \rvert > b more than bb from aa x<a−bx < a - b or x>a+bx > a + b
∣x−a∣=b\lvert x - a \rvert = b exactly bb from aa x=a−bx = a - b or x=a+bx = a + b

For ∣x+4∣≤3|x + 4| \le 3, rewrite x+4x + 4 as x−(−4)x - (-4): the points within 3 of −4-4, so −7≤x≤−1-7 \le x \le -1. If the inside has a coefficient, as in ∣2x−5∣≤9|2x - 5| \le 9, write the compound form −9≤2x−5≤9-9 \le 2x - 5 \le 9 and solve all three parts.

Absolute value equations: two cases and a check

∣E∣=k|E| = k means E=kE = k or E=−kE = -k. When kk is a plain number, both cases are genuine solutions as long as k≥0k \ge 0; if kk is negative, there is no solution at all. When the right side contains the variable, as in ∣x+1∣=2x−4|x + 1| = 2x - 4, solve both cases and then substitute each answer into the original: a case can produce a value that makes the right side negative, and an absolute value can never equal a negative number. Such a value is extraneous and must be thrown out.

Worked examples

Example 1: Dividing by a negative

Solve 7−3x≥197 - 3x \ge 19.

  1. Subtract 7 from both sides. Subtraction never flips the sign: −3x≥12-3x \ge 12.

  2. Divide by −3-3. Dividing by a negative flips the sign: x≤−4x \le -4.

  3. Check the boundary and one point on each side: x=−4x = -4 gives 19≥1919 \ge 19 (true), x=−5x = -5 gives 22≥1922 \ge 19 (true), x=0x = 0 gives 7≥197 \ge 19 (false).

Answer

x≤−4x \le -4. Forgetting to flip gives x≥−4x \ge -4, which x=0x = 0 shows to be wrong.

Example 2: Counting integers in an absolute value range

How many integers xx satisfy ∣2x−5∣≤9|2x - 5| \le 9?

  1. Write the compound form: −9≤2x−5≤9-9 \le 2x - 5 \le 9.

  2. Add 5 to all three parts: −4≤2x≤14-4 \le 2x \le 14. Divide by 2: −2≤x≤7-2 \le x \le 7.

  3. Both ends are included, so the integers are −2,−1,0,…,7-2, -1, 0, \dots, 7. Count them as 7−(−2)+1=107 - (-2) + 1 = 10.

  4. Check the ends: x=7x = 7 gives ∣9∣=9|9| = 9 and x=−2x = -2 gives ∣−9∣=9|-9| = 9, both allowed; x=8x = 8 gives 1111, too big.

Answer

10 integers. Subtracting the endpoints, 7−(−2)=97 - (-2) = 9, forgets that both endpoints are counted.

Example 3: An absolute value equation with a false case

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

  1. Case 1, inside non-negative: x+1=2x−4x + 1 = 2x - 4, so x=5x = 5.

  2. Case 2, inside negative: x+1=−(2x−4)=−2x+4x + 1 = -(2x - 4) = -2x + 4, so 3x=33x = 3 and x=1x = 1.

  3. Check x=5x = 5: ∣6∣=6|6| = 6 and 2(5)−4=62(5) - 4 = 6. It works.

  4. Check x=1x = 1: ∣2∣=2|2| = 2, but 2(1)−4=−22(1) - 4 = -2. An absolute value cannot equal −2-2, so x=1x = 1 is extraneous.

Answer

The only solution is x=5x = 5. Reporting both values, or their sum 6, is the trap.

Example 4: The range of a difference

If −3<x<2-3 < x < 2 and 1<y<51 < y < 5, what are the possible values of x−yx - y?

  1. To make x−yx - y as small as possible, take xx near its lowest value and yy near its highest: −3−5=−8-3 - 5 = -8.

  2. To make it as large as possible, take xx near its highest and yy near its lowest: 2−1=12 - 1 = 1.

  3. Both original inequalities are strict, so the ends are not reached: −8<x−y<1-8 < x - y < 1.

  4. Second route: −y-y lies between −5-5 and −1-1, so add −3<x<2-3 < x < 2 and −5<−y<−1-5 < -y < -1 end to end: −8<x−y<1-8 < x - y < 1.

Answer

−8<x−y<1-8 < x - y < 1. Subtracting end from matching end gives −4<x−y<−3-4 < x - y < -3, which wrongly excludes values such as x−y=0x - y = 0 (from x=y=1.5x = y = 1.5).

Common traps

  • Flipping at the wrong moment

    The sign flips only when you multiply or divide by a negative number. Subtracting a number, or dividing by a positive one, leaves it alone. Test a value in the original inequality whenever you are unsure.

  • Multiplying by a variable

    From ab>1\frac{a}{b} > 1 you may write a>ba > b only if bb is known to be positive. If the sign of bb is unknown, the direction is unknown, and in a comparison that usually means the answer cannot be determined.

  • Subtracting ranges end to end

    For a difference x−yx - y, pair the small end of xx with the large end of yy, and the large end of xx with the small end of yy. Rewriting −y-y as its own range and then adding makes this automatic.

  • Keeping an extraneous solution

    When the variable appears outside the absolute value, one case may give a value that makes the other side negative. Substitute every candidate into the original equation and throw out any that fail.

  • Strict or not strict when counting

    −1<n<7-1 < n < 7 contains the integers 0 to 6, which is 7 integers; −1≤n≤7-1 \le n \le 7 contains 9. Read each sign before you count.

Check yourself

Answer each question before you open its answer.

Question 1: Within a distance

Algebra

How many integers nn satisfy ∣n−3∣<4|n - 3| < 4?

  1. A.66
  2. B.77
  3. C.88
  4. D.99
  5. E.Infinitely many
Show the answer

Answer: B. 77

Working

∣n−3∣<4|n - 3| < 4 means nn is less than 4 away from 3: −1<n<7-1 < n < 7. The integers are 0,1,2,3,4,5,60, 1, 2, 3, 4, 5, 6, which is 7 of them.

Why the other options are wrong

  • A. Counts only the positive integers 1 to 6 and leaves out 0.
  • C. Subtracts the endpoints, 7−(−1)=87 - (-1) = 8; with strict signs the integers run from 0 to 6.
  • D. Includes both endpoints −1-1 and 77, as if the sign were ≤\le; at those values ∣n−3∣=4|n - 3| = 4, which is not less than 4.
  • E. Solves only n−3<4n - 3 < 4 and forgets the lower bound n−3>−4n - 3 > -4.

What carries over

Read an absolute value inequality as a distance, then check whether each endpoint is included before counting.

Question 2: How large can the difference be?

Quantitative Comparison

−2<a<3-2 < a < 3 and −4<b<1-4 < b < 1

Quantity A Quantity B
a−ba - b 77
  1. A.Quantity A is greater.
  2. B.Quantity B is greater.
  3. C.The two quantities are equal.
  4. D.The relationship cannot be determined from the information given.
Show the answer

Answer: B. Quantity B is greater.

Working

The largest a−ba - b pairs the largest aa with the smallest bb: it approaches 3−(−4)=73 - (-4) = 7 but never reaches it, because a<3a < 3 and b>−4b > -4. So −3<a−b<7-3 < a - b < 7, and every value is less than 7.

Why the other options are wrong

  • A. Adds the upper ends, 3+43 + 4, and then forgets that neither end can be reached; a−ba - b never reaches 7, let alone exceeds it.
  • C. 77 is the boundary 3−(−4)3 - (-4), but both inequalities are strict, so a−ba - b can only approach 7.
  • D. a−ba - b does vary, but every possible value lies below 7, so the comparison is fixed.

What carries over

For a difference, pair opposite ends of the two ranges, and keep strict inequalities strict.

Question 3: Two cases, two checks

Algebra

What is the sum of all values of xx that satisfy ∣3x−6∣=x+2|3x - 6| = x + 2?

  1. A.11
  2. B.44
  3. C.55
  4. D.66
  5. E.88
Show the answer

Answer: C. 55

Working

Case 1: 3x−6=x+23x - 6 = x + 2, so x=4x = 4; check ∣6∣=6=4+2|6| = 6 = 4 + 2. Case 2: 3x−6=−(x+2)3x - 6 = -(x + 2), so 4x=44x = 4 and x=1x = 1; check ∣−3∣=3=1+2|-3| = 3 = 1 + 2. Both work, and their sum is 55.

Why the other options are wrong

  • A. This is only the solution from the negative case; x=4x = 4 also works.
  • B. This is only the solution from the positive case; x=1x = 1 also works, since ∣−3∣=3=1+2|-3| = 3 = 1 + 2.
  • D. Writes the negative case as 3x−6=−x+23x - 6 = -x + 2, negating only part of the right side, which gives x=2x = 2 and the sum 4+24 + 2; but x=2x = 2 fails the check, since ∣0∣≠4|0| \neq 4.
  • E. Stops at 2x=82x = 8 in the first case and reports 2x2x, not xx.

What carries over

Solve both cases of an absolute value equation, check each in the original, and keep only those that pass.

Key points

  • Flip the inequality sign only when multiplying or dividing by a negative number.

  • Do not multiply an inequality by a variable unless you know its sign.

  • For the range of a difference, pair opposite ends.

  • ∣x−a∣|x - a| is the distance from xx to aa.

  • Check every case of an absolute value equation in the original equation.

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.

Practica este tema

Preguntas nuevas sobre esta habilidad, con explicaciones resueltas. La práctica requiere un Single Exam Pass o Plus.