Unit 2, lesson 18

Solving Linear Inequalities

How to solve a linear inequality step by step, why the sign flips when you multiply or divide by a negative number, and how to read its boundary, endpoints and whole number answers.

  • Theory part 35
  • Practice part 36
  • Linear Inequalities

Theory, part 35

Practice, part 36

An elevator holds at most 1000 kilograms. The operator weighs 80 kilograms and each box weighs 25 kilograms, so with bb boxes the load is 80+25b80 + 25b, and you need 80+25b≤100080 + 25b \le 1000. There is no single right answer here, only a range of allowed values, and the SAT asks about such ranges in plain algebra and in word problems alike. Solving an inequality means finding that range exactly, edges included.

See also Solving Inequalities on a Number Line in Foundations for Calculus and Sets, Intervals, and Inequalities in Precalculus.

Key terms

Inequality

Definition An inequality compares two real expressions with one of the symbols <<, ≤\le, >> or ≥\ge. For real numbers, a<ba < b means that b−ab - a is positive, and a>ba > b means the same as b<ab < a. A linear inequality in xx is one that can be written as mx+c<0mx + c < 0 with m≠0m \ne 0, or the same with ≤\le, >> or ≥\ge.

In plain words An inequality says which side is bigger. Unlike an equation, it is usually true for a whole stretch of numbers.

Example The inequality 4x−3≤94x - 3 \le 9 is true at x=1x = 1, since 4−3=1≤94 - 3 = 1 \le 9. It is false at x=5x = 5, since 20−3=1720 - 3 = 17 is greater than 99.

Solution set

Definition The solution set of an inequality in xx is the set of all real numbers that make it true. Two inequalities with the same solution set are equivalent, and solving means replacing the inequality by simpler equivalent ones. These steps keep the solution set.

  • Adding or subtracting the same number on both sides.
  • Multiplying or dividing both sides by the same positive number.
  • Multiplying or dividing both sides by the same negative number and reversing the symbol, so << becomes >> and ≤\le becomes ≥\ge.

The reversal is needed because, for a<ba < b and c<0c < 0, the number (b−a)c(b - a)c is negative, which gives bc<acbc < ac.

In plain words Do the same thing to both sides, as with equations. The one new rule is that a negative multiplier flips the symbol, because 2<52 < 5 but −2>−5-2 > -5.

Example Solve −2x+1>7-2x + 1 > 7. Subtracting 11 gives −2x>6-2x > 6, and dividing by −2-2 reverses the symbol,

x<6−2=−3.x < \frac{6}{-2} = -3.

Compare a positive coefficient. In 3x−4≥53x - 4 \ge 5 you add 44 and divide by 33 to get x≥3x \ge 3, and the symbol stays as it is.

Boundary

Definition The boundary of a linear inequality in xx is the number where its two sides are equal, the solution of the related equation. For a linear inequality the boundary splits the number line into two pieces, the solutions lie entirely in one of them, and the boundary itself is a solution exactly when the symbol is ≤\le or ≥\ge.

In plain words Find the place where the two sides tie. Then decide which side of it works and whether the tie point counts.

Example For −2x+1>7-2x + 1 > 7 the related equation −2x+1=7-2x + 1 = 7 gives the boundary x=−3x = -3. Test one value on each side. At x=−4x = -4 the left side is 99, and 9>79 > 7 is true, so −4-4 is included. At x=0x = 0 it is 11, and 1>71 > 7 is false, so 00 is excluded. At the boundary the left side is exactly 77, and 7>77 > 7 is false. The solution set is all x<−3x < -3.

Strict and inclusive inequalities

Definition The inequalities a<ba < b and a>ba > b are strict, and equality makes them false. The inequalities a≤ba \le b and a≥ba \ge b are inclusive, where a≤ba \le b means a<ba < b or a=ba = b. Every legal solving step keeps strict as strict and inclusive as inclusive, even when the symbol reverses.

In plain words The phrases “less than” and “more than” leave the boundary out. The phrases “at most”, “at least”, “no more than” and “no fewer than” let it in.

Example Solve 5−2x≤15 - 2x \le 1. Subtracting 55 gives −2x≤−4-2x \le -4, and dividing by −2-2 gives x≥2x \ge 2. The symbol reversed, but it is still inclusive, and x=2x = 2 works, since 5−4=1≤15 - 4 = 1 \le 1.

Context adds one more condition that the algebra does not see. In the elevator problem, 80+25b≤100080 + 25b \le 1000 gives

b≤92025=36.8.b \le \frac{920}{25} = 36.8.

A number of boxes must be a whole number, and it cannot be negative, so the allowed values are 0,1,2,…,360, 1, 2, \ldots, 36 and the most the elevator can take is 3636 boxes, a load of 80+900=98080 + 900 = 980 kilograms. Ordinary rounding would turn 36.836.8 into 3737, but the inequality decides the direction here. Since bb must stay at or below 36.836.8, you go down to the nearest whole number, and 3737 boxes would give 80+925=100580 + 925 = 1005 kilograms, over the limit.

Number line

Definition The number line pictures the real numbers in order, with smaller numbers to the left. The solution set of a linear inequality in one variable is drawn as a ray that starts at the boundary and is shaded on the side of the solutions. An open circle at the boundary means it is excluded, and a filled dot means it is included.

In plain words The picture shows the whole answer at once, which side and whether the edge is in.

Example The solution x<−3x < -3 is drawn with an open circle at −3-3 and shading to the left. The solution x≥2x \ge 2 gets a filled dot at 22 and shading to the right. In interval notation these are (−∞,−3)(-\infty, -3) and [2,∞)[2, \infty).

Compound inequality

Definition A compound inequality joins two inequalities with “and” or “or”. The chain a<x<ba < x < b is shorthand for a<xa < x and x<bx < b. A chain is solved by applying each step to all three parts at once, reversing both symbols when you multiply or divide by a negative number.

In plain words The word “and” means both conditions must hold. The word “or” means at least one of them must.

Example Solve −7≤3x−1<5-7 \le 3x - 1 < 5. Adding 11 to all three parts and then dividing by 33 gives

−6≤3x<6so−2≤x<2.-6 \le 3x < 6 \quad \text{so} \quad -2 \le x < 2.

Check the edges. At x=−2x = -2 the middle is −7-7, and −7≤−7-7 \le -7 holds. At x=2x = 2 the middle is 55, and 5<55 < 5 fails.

Intersection

Definition The intersection A∩BA \cap B of two sets is the set of numbers that belong to both. The solution set of two inequalities joined by “and” is the intersection of their separate solution sets. It can be empty, as in x<1x < 1 and x>4x > 4.

In plain words Shade each condition and keep only the part where the shadings overlap.

Example Solve 2x+1>−32x + 1 > -3 and x−4≤0x - 4 \le 0. The first gives x>−2x > -2 and the second gives x≤4x \le 4. The intersection is −2<x≤4-2 < x \le 4, the interval (−2,4](-2, 4]. A value like 55 satisfies the first condition but not the second, so it is out.

Union

Definition The union A∪BA \cup B of two sets is the set of numbers that belong to at least one of them. The solution set of two inequalities joined by “or” is the union of their separate solution sets.

In plain words Shade each condition and keep everything that is shaded at all.

Example Solve x+3<1x + 3 < 1 or 2x≥62x \ge 6. The first gives x<−2x < -2 and the second gives x≥3x \ge 3. The union is (−∞,−2)∪[3,∞)(-\infty, -2) \cup [3, \infty). The number 00 satisfies neither part, so it is not a solution, and −5-5 satisfies the first, which is enough.

Check yourself

  1. Which of the following is the solution set of 5−2x≥115 - 2x \ge 11? (A) x≥−3x \ge -3 (B) x≤−3x \le -3 (C) x≤−8x \le -8 (D) x≥3x \ge 3
Show the answer

The answer is (B). Subtracting 55 gives −2x≥6-2x \ge 6, and dividing by −2-2 reverses the symbol, so x≤−3x \le -3. Choice (A) forgets to reverse the symbol. Choice (C) adds 55 instead of subtracting it, and choice (D) loses the sign of −2-2. As a check, x=−4x = -4 gives 13≥1113 \ge 11, true, while x=0x = 0 gives 5≥115 \ge 11, false.

  1. A club has 250 dollars for a trip. The bus costs 40 dollars, and each T-shirt costs 12 dollars. What is the greatest number of T-shirts the club can buy without going over its budget?
Show the answer

The answer is 1717. The condition is 40+12s≤25040 + 12s \le 250, so 12s≤21012s \le 210 and s≤17.5s \le 17.5. The number of shirts is a whole number, so the greatest is 1717, which costs 40+204=24440 + 204 = 244 dollars. Buying 1818 would cost 256256 dollars.

  1. Which value of xx satisfies 2x+1<−12x + 1 < -1 or 3x−4≥53x - 4 \ge 5? (A) −1-1 (B) 00 (C) 22 (D) 33
Show the answer

The answer is (D). The first inequality gives x<−1x < -1 and the second gives x≥3x \ge 3, and “or” means the union of the two. The value 33 is in the second piece, since 9−4=5≥59 - 4 = 5 \ge 5. Choice (A) is tempting, but −1-1 is the boundary of a strict inequality, and −2+1=−1-2 + 1 = -1 is not less than −1-1. Choices (B) and (C) lie in the gap between the two pieces.

How this lesson connects