Solving Linear Inequalities

Learning goals

  • Isolate the variable with the same inverse moves as an equation
  • Flip the symbol only when scaling by a negative
  • Collect the variable where its coefficient stays positive
  • Operate on all three parts of an and compound at once
  • Union the pieces of an or compound
  • Read a canceled variable as all reals or no solution

Isolating the variable, one step at a time

For x+7>3x+7 > 3, subtract 77 from both sides to get x>−4x > -4. The answer is an open circle at −4-4 shaded right, or the interval (−4,∞)(-4,\infty). The parentheses exclude −4-4 and mark the unbounded end.

For a longer expression, undo the operations in reverse order: remove an added constant before dividing by the coefficient. Each allowed move is reversible, so a value solves the original inequality exactly when it solves the final one.

Worked example 1 Solve 3x+4<193x + 4 < 19

Undo the operations from the outside in. First subtract 44 from both sides, which does not change the direction:

3x+4−4<19−4⟹3x<15.3x + 4 - 4 < 19 - 4 \quad\Longrightarrow\quad 3x < 15.

Now divide both sides by 33. The divisor is positive, so the symbol stays put:

3x3<153⟹x<5.\frac{3x}{3} < \frac{15}{3} \quad\Longrightarrow\quad x < 5.

Read the answer three matching ways. As an inequality it is x<5x < 5. On a number line it is an open circle on 55 (strict, so 55 is excluded) with the shading running left toward the smaller numbers. In interval notation it is (−∞,5)(-\infty, 5).

Number-line graph of x less than 5A number line with an open circle at 5 and shading extending left, representing all numbers less than 5.12345678
The graph of x < 5. The open circle on 5 excludes it, and the shaded ray runs left over every number below 5, matching the interval (-∞, 5).

Confirm the direction by testing one value inside the solution set and one outside it, always against the original inequality. The value x=0x = 0 should be inside, since 0<50 < 5: the original gives 3(0)+4=43(0) + 4 = 4, and 4<194 < 19 is true. The value x=6x = 6 should be outside, since 6<56 < 5 is false: the original gives 3(6)+4=223(6) + 4 = 22, and 22<1922 < 19 is false, exactly as the solution predicts.

The negative flip in action

The true comparison 2<52 < 5 becomes −2>−5-2 > -5 when both sides are multiplied by −1-1. Multiplying by −1-1 reflects every number across zero, reversing left and right. Any negative scale combines that reflection with a positive stretch or shrink, so it reverses the order too.

Watch the operation, not the signs already on the page. Only multiplying or dividing both sides by a negative reverses the direction. Subtracting 77, or adding a negative number, keeps it; dividing both sides by −3-3 reverses it.

Worked example 2 Solve 5−3x≥115 - 3x \ge 11

Start by moving the constant. Subtract 55 from both sides, which does not touch the direction:

5−3x−5≥11−5⟹−3x≥6.5 - 3x - 5 \ge 11 - 5 \quad\Longrightarrow\quad -3x \ge 6.

Now isolate xx by dividing both sides by −3-3. The divisor is negative, so reverse ≥\ge to ≤\le:

−3x−3≤6−3⟹x≤−2.\frac{-3x}{-3} \le \frac{6}{-3} \quad\Longrightarrow\quad x \le -2.

The flip happened at the divide-by-negative step, not at the earlier subtraction. As an inequality the answer is x≤−2x \le -2. On a number line it is a filled circle on −2-2 (inclusive, so −2-2 is included) with the shading running left; in interval notation it is (−∞,−2](-\infty, -2].

Number-line graph of x less than or equal to negative 2A number line with a filled circle at negative 2 and shading extending left, representing negative 2 and all numbers below it.-6-5-4-3-2-101
The graph of x is less than or equal to -2. The filled circle on -2 includes it, and the shaded ray runs left, matching the interval (-∞, -2].

Test a value on each side. Inside, x=−5x = -5 satisfies x≤−2x \le -2: the original gives 5−3(−5)=5+15=205 - 3(-5) = 5 + 15 = 20, and 20≥1120 \ge 11 is true. Outside, x=0x = 0 fails x≤−2x \le -2: the original gives 5−3(0)=55 - 3(0) = 5, and 5≥115 \ge 11 is false. Both checks agree with x≤−2x \le -2.

You can also obtain the reversal without dividing by a negative: move the variable term to the other side and divide by a positive number. That way, the flip comes from moves you already use.

Why dividing by a negative reverses the symbol#

Start with −5x>15-5x > 15. Add 5x5x to both sides:

0>15+5x.0 > 15+5x.

Reading from the other end gives 15+5x<015+5x < 0. Subtract 1515, then divide by positive 55:

5x<−15⟹x<−3.5x < -15 \quad\Longrightarrow\quad x < -3.

That is the same answer as dividing the original by −5-5 and reversing its symbol.

For the general version, let kk be positive and start with −kx>c-kx > c. Add kxkx to both sides and read from the other end:

0>c+kx⟺c+kx<0.0 > c+kx \quad\Longleftrightarrow\quad c+kx < 0.

Subtract cc and divide by positive kk:

kx<−c⟹x<−ck.kx < -c \quad\Longrightarrow\quad x < -\frac{c}{k}.

Dividing −kx>c-kx > c by −k-k and reversing the symbol gives x<c/(−k)x < c/(-k). Since c/(−k)=−c/kc/(-k)=-c/k, this agrees with the safe route’s answer, x<−c/kx < -c/k. Every step can be undone, so neither route gains or loses solutions. The same rearrangement applies to an inclusive comparison, preserving equality as well.

Check your understanding

Solve −4x+1≥9-4x + 1 \ge 9.

Answer choices

Variables on both sides

Gather variable terms on one side and constants on the other using addition and subtraction. Choosing the side with the larger variable coefficient (for example, −2-2 is larger than −5-5) leaves a positive coefficient, unless the terms cancel. That can avoid a negative division. Either side is valid: if your final divisor is negative, reverse the symbol.

Worked example 3 Solve 4x−3>7x+94x - 3 > 7x + 9, two ways

The variable terms are 4x4x and 7x7x. Collecting on the side with the larger coefficient, the right, keeps that coefficient positive and avoids any flip. Subtract 4x4x from both sides:

4x−3−4x>7x+9−4x⟹−3>3x+9.4x - 3 - 4x > 7x + 9 - 4x \quad\Longrightarrow\quad -3 > 3x + 9.

Subtract 99 from both sides, then divide by the positive number 33:

−12>3x⟹−4>x,-12 > 3x \quad\Longrightarrow\quad -4 > x,

which reads x<−4x < -4 from the other end. No flip was ever needed.

Collecting on the left instead reaches the same place through a flip. Subtract 7x7x from both sides to get −3x−3>9-3x - 3 > 9, add 33 to get −3x>12-3x > 12, then divide by −3-3 and reverse the symbol:

−3x−3<12−3⟹x<−4.\frac{-3x}{-3} < \frac{12}{-3} \quad\Longrightarrow\quad x < -4.

Both routes give x<−4x < -4, the interval (−∞,−4)(-\infty, -4). A quick check confirms it: x=−5x = -5 is inside, and the original reads 4(−5)−3=−234(-5) - 3 = -23 against 7(−5)+9=−267(-5) + 9 = -26, where −23>−26-23 > -26 is true; x=0x = 0 is outside, and −3>9-3 > 9 is false.

Distributing first

Distribute over parentheses before collecting terms. Expanding a negative factor already on one side does not reverse the symbol: you are rewriting the same expression. The reversal is needed when you multiply or divide both sides by a negative.

Worked example 4 Solve −2(x−4)<10-2(x - 4) < 10

Distribute the −2-2 across the parentheses, being careful with signs: −2⋅x=−2x-2 \cdot x = -2x and −2⋅(−4)=+8-2 \cdot (-4) = +8, so

−2x+8<10.-2x + 8 < 10.

Subtract 88 from both sides to get −2x<2-2x < 2. Now divide both sides by −2-2; the divisor is negative, so reverse << to >>:

−2x−2>2−2⟹x>−1.\frac{-2x}{-2} > \frac{2}{-2} \quad\Longrightarrow\quad x > -1.

The answer is x>−1x > -1, an open circle on −1-1 with the shading running right, the interval (−1,∞)(-1, \infty).

Number-line graph of x greater than negative 1A number line with an open circle at negative 1 and shading extending right, representing all numbers greater than negative 1.-4-3-2-10123
The graph of x > -1. The open circle on -1 excludes it, and the shaded ray runs right over every number above -1, matching the interval (-1, ∞).

As a check, x=0x = 0 is inside and gives −2(0−4)=8-2(0 - 4) = 8, with 8<108 < 10 true, while x=−2x = -2 is outside and gives −2(−2−4)=12-2(-2 - 4) = 12, with 12<1012 < 10 false.

Check your understanding

Solve 3(x−2)≥5x+23(x - 2) \ge 5x + 2.

Answer choices

Compound inequalities

A compound inequality states two conditions at once, and it comes in two kinds: an “and” compound, where both conditions must hold together, and an “or” compound, where either one is enough.

”And” compounds

Solve −1≤2x+3<9-1 \le 2x+3 < 9 by subtracting 33 from each part:

−4≤2x<6.-4 \le 2x < 6.

Dividing all three parts by positive 22 gives −2≤x<3-2 \le x < 3, or [−2,3)[-2,3). Doing the same thing to all three parts keeps both comparisons true. In general, a chain a<expression<ba < \text{expression} < b works the same way: apply each operation to all three parts. A negative scale reverses both comparisons; then read the result with its smaller bound on the left.

Worked example 5 Solve −7<−2x+1≤5-7 < -2x + 1 \le 5

Work on all three parts together. First subtract 11 from each part, which does not change either symbol:

−7−1<−2x+1−1≤5−1⟹−8<−2x≤4.-7 - 1 < -2x + 1 - 1 \le 5 - 1 \quad\Longrightarrow\quad -8 < -2x \le 4.

Now divide all three parts by −2-2. The divisor is negative, so reverse both symbols. Dividing −8-8 by −2-2 gives 44, dividing −2x-2x by −2-2 gives xx, and dividing 44 by −2-2 gives −2-2:

4>x≥−2.4 > x \ge -2.

Rewrite it with the smaller number on the left, which is the standard reading:

−2≤x<4.-2 \le x < 4.

On a number line this is a filled circle on −2-2, an open circle on 44, and a shaded band between them; in interval notation it is [−2,4)[-2, 4).

Number-line graph of a compound inequality between negative 2 and 4A number line with a filled circle at negative 2, an open circle at 4, and shading covering the numbers between them.-3-2-101234
The graph of -2 ≤ x < 4. A filled circle on -2 and an open circle on 4 bound a shaded band covering the numbers between, matching the interval [-2, 4).

Test the endpoints. At x=−2x = -2 the expression is −2(−2)+1=5-2(-2) + 1 = 5, and −7<5≤5-7 < 5 \le 5 holds, so −2-2 is in, matching the filled circle. At x=4x = 4 the expression is −2(4)+1=−7-2(4) + 1 = -7, and −7<−7-7 < -7 is false, so 44 is out, matching the open circle.

Check your understanding

Solve the compound inequality −3≤2x−1<5-3 \le 2x - 1 < 5 and write the solution as an interval.

Answer choices

”Or” compounds

An “or” compound is a pair of separate inequalities joined by the word “or”. Solve each one on its own, then combine the two solution sets. A value counts when it satisfies at least one piece, including when it satisfies both.

Worked example 6 Solve x+4<3x + 4 < 3 or 2x≥42x \ge 4

Solve each inequality by itself. The first gives

x+4<3⟹x<−1,x + 4 < 3 \quad\Longrightarrow\quad x < -1,

and the second gives

2x≥4⟹x≥2.2x \ge 4 \quad\Longrightarrow\quad x \ge 2.

The solution set is every number that is below −1-1 or at least 22. The two pieces do not overlap, so the graph is two separate rays: an open circle on −1-1 shaded left, and a filled circle on 22 shaded right. In interval notation the two rays are joined by the union symbol ∪\cup, read “union” and meaning every number that belongs to either piece, giving (−∞,−1)∪[2,∞)(-\infty, -1) \cup [2, \infty).

Number-line graph of x less than negative 1 or x at least 2A number line with an open circle at negative 1 shaded left and a filled circle at 2 shaded right, representing the union of two rays.-4-3-2-10123
The graph of x < -1 or x ≥ 2. An open circle on -1 shaded left and a filled circle on 2 shaded right leave the numbers between -1 and 2 unshaded, matching (-∞, -1) ∪ [2, ∞).

A spot check confirms the reading: x=−2x = -2 satisfies the first piece, x=5x = 5 satisfies the second, and x=0x = 0 satisfies neither, so it is correctly left out of the shading.

Check your understanding

Solve −2x>6-2x > 6 or x+1≥5x + 1 \ge 5, and write the union in interval notation.

Answer choices

When the variable disappears

Subtracting matching variable terms may leave no variable at all. Then look at the statement that is left. If it is false, it cannot hold for any xx; if it is true, it holds for every xx allowed in the original problem. Here the original linear expressions allow all real numbers.

Worked example 7 Two inequalities where the variable cancels

Solve 2x+5<2x+12x + 5 < 2x + 1. Subtract 2x2x from both sides, and the variable disappears:

5<1.5 < 1.

That leftover is false, and there is no xx left to change it, so the inequality has no solution. Likewise, x<x−1x < x-1 cannot hold: no number is less than one below itself.

Now solve 3x−4≤3x+23x - 4 \le 3x + 2. Subtract 3x3x from both sides:

−4≤2.-4 \le 2.

That leftover is true and free of xx, so the original was true for every value of xx. The solution is all real numbers, the interval (−∞,∞)(-\infty, \infty). Likewise, x≤x+1x \le x+1 holds for every real number.

Check your understanding

Solve x+5<x+2x + 5 < x + 2.

Answer choices

Common mistakes

Practice

Multiple Choice Questions (MCQ)

Progressively harder sets of questions. Each opens on its own page.

Core practice

Practice problems at the level of the course, to be worked out on paper. Hints one at a time, then the answer or the full worked solution, with your progress kept in this browser.

Core practice Work it out on paper 10 problems Start →
More practice (optional)

Extra sets, as hard as the Challenge set. Each one opens on its own page.

More resources (optional)

Other explanations of this lesson, if you want a second take.

A bit of history (optional)

In 16671667, the French scholar Antoine Arnauld published a geometry book containing an objection to negative numbers. Consider the proportion ”11 is to −1-1 as −1-1 is to 11.” In the first pair, the larger number comes first; in the second, the smaller one does. How could these ratios be equal?

For positive quantities, that objection fits familiar experience: the ratio of a larger quantity to a smaller one exceeds the reverse ratio. Arnauld expected the same comparison to work with negatives. But the algebra gives

1−1=−1=−11.\frac{1}{-1}=-1=\frac{-1}{1}.

The trouble was that a rule that works for positive quantities does not fit calculations with signed numbers. Leibniz later discussed the puzzle too. He accepted the divisions as symbolic calculations, even though the older picture of a ratio did not fit them.

A historical study from Ghent University describes Arnauld’s objection and Leibniz’s response.

Your progress

See all your progress →