How to Solve Linear Inequalities

Why does 2x + 3 > 11 feel easy, while -3x + 5 <= 14 trips up so many students? One small rule explains the gap, and it is simple once you see why it works.

Quick Answer

To solve a linear inequality, isolate the variable with the same steps you use for an equation. The one change: when you multiply or divide both sides by a negative number, reverse the inequality sign. Then write the answer as an inequality or in interval notation, and test one value to confirm it.

Solving Linear Inequalities Step by Step

You solve a linear inequality the same way you solve a linear equation: undo each operation until the variable stands alone. Adding or subtracting the same number on both sides never changes the sign. Multiplying or dividing by a positive number never changes it either.

Take 2x + 3 > 11. Subtract 3 from both sides to get 2x > 8. Divide both sides by 2, and the sign stays put, so x > 4. Every number above 4 works.

A good habit is to write each step on its own line and do the same move to both sides. That keeps signs and numbers from slipping as the work gets longer.

Variables on both sides are fine too. For 5x – 2 >= 3x + 6, subtract 3x from both sides to get 2x – 2 >= 6. Add 2 to get 2x >= 8, then divide by 2 to reach x >= 4.

Need a refresher on the equation version first? Read our guide to linear equations explained. When you want to check your own work, the inequality calculator shows the solution, the interval, and a test value.

Why the Sign Flips for Negative Numbers

The sign flips because multiplying by a negative number mirrors every value across zero. That mirror reverses the order of the numbers. Start with the true statement 2 < 3.

Multiply both sides by -1, and you get -2 and -3. On the number line, -2 sits to the right of -3, so the true statement is now -2 > -3. The diagram shows the mirror at work.

Multiplying by negative one mirrors numbers across zero Two number lines with a dashed mirror line at zero. On the top line, the dots for 2 and 3 show that 2 is less than 3. Dashed lines cross to the bottom line, where 3 becomes negative 3 and 2 becomes negative 2. Now negative 2 sits to the right of negative 3, so the sign reads greater than. Multiplying by -1 mirrors numbers across zero mirror at 0 2 3 -2 -3 2 < 3 -2 > -3 -2 sits to the right of -3 Multiply both sides by -1 and the order reverses.
Multiplying by -1 swaps the left and right positions of two numbers.

Only multiplying or dividing by a negative number flips the sign. Adding or subtracting never does. Dividing by a positive number never does either, even when the answer turns out negative. OpenStax teaches the same rule in its intermediate algebra text.

A Worked Example With a Check

Solving -3x + 5 <= 14 gives x >= -3, and the flip happens in the last step. Here is the full path, plus two quick tests.

  1. Subtract 5 from both sides. That leaves -3x <= 9.
  2. Divide both sides by -3. The divisor is negative, so the sign reverses: x >= -3.
  3. Test a value inside the answer. Try x = 0. Then -3(0) + 5 equals 5, and 5 <= 14 is true.
  4. Test a value outside the answer. Try x = -4. Then -3(-4) + 5 equals 17, and 17 <= 14 is false.
Solving -3x + 5 less than or equal to 14 in three boxes Three boxes joined by arrows. The first box reads negative 3x plus 5 is at most 14. After subtracting 5 from both sides, the second box reads negative 3x is at most 9. After dividing by negative 3 and flipping the sign, the third box reads x is at least negative 3. Two moves, and the second one flips the sign -3x + 5 <= 14 -3x <= 9 x >= -3 Start here Subtract 5 from both sides Divide by -3 and flip the sign <= becomes >=
The same example in three boxes, with the flip in the final step.

The endpoint is worth one more check. At x = -3, the left side is -3(-3) + 5, which equals 14, and 14 <= 14 is true. So -3 belongs in the answer, which is why the interval uses a bracket.

The second test matters. It shows why x <= -3, the classic wrong answer, fails: a value on that side gives a false statement.

Interval Notation and Number Lines

Interval notation writes the solution as a range of numbers. A parenthesis means the endpoint is not included, and a square bracket means it is. Infinity is not an actual number, so it always gets a parenthesis.

How inequality signs map to dots and brackets
Type Endpoint included? Number line dot Interval symbol Example
Strict (< or >) No Open dot Parenthesis x > 4 is (4, infinity)
Inclusive (<= or >=) Yes Closed dot Square bracket x >= -3 is [-3, infinity)
Unbounded side Never a number Arrow, no dot Parenthesis x <= -5 is (-infinity, -5]

Intervals that mix a parenthesis and a bracket, like (-1, 3], are called half-open. Wikipedia describes the same pattern for intervals that include only one end.

Open dot with parenthesis, closed dot with bracket Two number lines from negative 5 to 8. The first shows x greater than 4 with an open dot at 4 and shading to the right, written (4, infinity). The second shows x greater than or equal to negative 3 with a closed dot at negative 3 and shading to the right, written [-3, infinity). Open dot goes with a parenthesis, closed dot with a bracket x > 4 is written (4, ∞) -5 -4 -3 -2 -1 0 1 2 3 4 5 6 7 8 x >= -3 is written [-3, ∞) -5 -4 -3 -2 -1 0 1 2 3 4 5 6 7 8 Infinity is not a number, so it always takes a parenthesis.
Two common answers drawn on a number line and written as intervals.

The last row comes from OpenStax: solving -13m >= 65 means dividing by -13, which flips the sign to m <= -5. Graphs use the same ideas, as you can see in functions and graphs explained.

Compound Inequalities With Three Parts

A compound inequality has three parts, and you do each step to all three at once. Take -2 < 3x + 1 <= 10. Subtract 1 from every part to get -3 < 3x <= 9. Divide every part by 3 for -1 < x <= 3, which is the interval (-1, 3].

A negative coefficient flips both signs. In 4 <= -2x <= 10, divide every part by -2 to get -2 >= x >= -5. Rewrite it with the smaller number first: -5 <= x <= -2, or [-5, -2].

Some compound inequalities have no answer. For 5 < x < 3, no number is above 5 and also below 3. Always scan the final range to confirm it makes sense.

You can test the endpoints too. For the second example, x = -5 gives -2(-5) = 10, and 4 <= 10 <= 10 is true. That is why both ends of [-5, -2] use brackets.

Special Cases: All Real Numbers or No Solution

Sometimes the variable cancels out. Then the leftover statement is either always true or always false, and that tells you the whole answer.

  • Always true. In x + 1 < x + 2, subtract x from both sides. You get 1 < 2, which is true. Every real number works, so the answer is (-infinity, infinity).
  • Always false. In x + 1 > x + 2, subtract x from both sides. You get 1 > 2, which is false. There is no solution, also called the empty set.

OpenStax calls the first case an identity and the second a contradiction. Neither one needs a flip, because no division by a negative number happened.

Common Mistakes to Avoid

Most errors come from the sign or the notation, not the arithmetic. Watch for these four, and use a test value to catch each one.

  • Forgetting the flip. Dividing by -3 and keeping <= gives x <= -3, which is wrong.
  • Flipping by habit. Subtracting a number or dividing by a positive number never reverses the sign.
  • Mixing dots and brackets. An open dot pairs with a parenthesis, and a closed dot pairs with a bracket.
  • Writing a compound answer backward. Write -1 < x < 3, never 3 < x < -1, which has no answer.

For a one-line equation, try the linear equation solver. If your variable is squared, the steps change, so start with how to solve a quadratic equation.

Want to check your own inequality?

Type it into the inequality calculator to see the solution, the interval notation, whether the sign flipped, and a test value check.

FAQs About Linear Inequalities

When do you flip the inequality sign?

Flip it only when you multiply or divide both sides by a negative number. Adding, subtracting, or dividing by a positive number never changes the sign.

Does subtracting a negative number flip the sign?

No. Adding or subtracting never flips the sign, even when the number is negative. Only multiplying or dividing by a negative number reverses it.

What is the difference between a parenthesis and a bracket in interval notation?

A parenthesis means the endpoint is not included, and a square bracket means it is. Infinity always takes a parenthesis because it is not an actual number.

How do you solve a compound inequality like -2 < 3x + 1 <= 10?

Do every step to all three parts. Subtract 1 to get -3 < 3x <= 9, then divide by 3. The answer is -1 < x <= 3, or (-1, 3] in interval notation.

What does it mean when the variable cancels out?

Look at the leftover statement. If it is true, like 1 < 2, every real number works. If it is false, like 1 > 2, there is no solution.

How can I check my answer quickly?

Pick one number inside your solution and plug it into the original inequality. It should give a true statement. A number outside your solution should give a false one.

Why is x <= -3 the wrong answer for -3x + 5 <= 14?

Dividing by -3 must flip the sign, so the right answer is x >= -3. Testing x = -4 shows the problem: -3(-4) + 5 equals 17, which is not 14 or less.

Sources and Further Reading

References Used in This Article

This article is general education. Always check your answer by plugging a test value back into the original inequality. Reviewed for accuracy by Prof. Dr. Khalil Mudassar, PhD. Last updated 2026-10-14.


Author

shakeel-Muzaffar
Founder & Editor-in-Chief at  ~ Web ~ More Posts

Shakeel Muzaffar is the Founder and Editor-in-Chief of MultiCalculators.com, bringing over 15 years of experience in digital publishing, product strategy, and online tool development. He leads the platform's editorial vision, ensuring every calculator meets strict standards for accuracy, usability, and real-world value. Shakeel personally oversees content quality, formula verification workflows, and the platform's commitment to publishing tools that are genuinely useful for students, professionals, and everyday users worldwide.