Mathovia

Algebra / Solving Equations and Inequalities

Linear Inequalities

Solving a linear inequality uses the exact steps of solving a linear equation, with a single added rule: whenever you multiply or divide both sides by a negative number, the inequality symbol reverses direction. This lesson covers that rule and why it exists, the two other outcomes an inequality can have (all real numbers or no solution), and how to present the answer as a number-line graph and in interval notation.

Practice Problems
M
Written by
Mathovia Team
Editorial Team

A linear inequality is what you get by replacing the equals sign in a linear equation with , , , or : , . Its solution is not a single number but a range of numbers — usually everything on one side of a boundary value.

The good news is that almost every technique from Linear Equations transfers unchanged. There is exactly one new rule, and it is the thing to get right: multiplying or dividing both sides by a negative number flips the inequality symbol.

The Linear Inequality Formula

Linear Inequalities — key formula
Key formula

The steps mirror solving . The only difference is the direction of the symbol in the answer, which depends on the sign of — because dividing by a negative reverses the inequality.

The One New Rule

Adding or subtracting any number leaves the symbol alone:

Multiplying or dividing by a positive number leaves the symbol alone:

Multiplying or dividing by a negative number reverses the symbol:

Why: on the number line, is true, but multiplying both sides by gives and , and now . Multiplying by a negative reflects every number across zero, which reverses their order. The inequality symbol has to reverse with it, or the statement becomes false. Test it on any pair: , multiply by , and .

The flip is tied to the operation you perform on the whole inequality, not to whether a negative sign appears somewhere. has a negative-looking , but you solve it by adding — no flip, so . requires multiplying both sides by — flip, so .

Graphing the Solution

Every solution is a ray on the number line: everything on one side of a single boundary value.

  • or : open circle at the boundary (the boundary itself is not a solution), shade the ray toward the solutions.
  • or : filled circle at the boundary (the boundary is included), shade toward the solutions.
  • shades to the right (toward larger numbers); shades to the left.

The graph and the interval notation carry the same information: an open circle is a parenthesis, a filled circle is a bracket, and the shaded direction is the unbounded side of the interval.

Solving an Inequality with Fractions

Clear the denominators exactly as you would in an equation — multiply every term by the LCD of all the fractions. Because the LCD is a positive number, the symbol does not flip at that step.

The only place the flip rule can come up in a fraction problem is if a negative coefficient appears after clearing, and you have to divide by it at the end.

Interval Notation

InequalityInterval
all reals
no solution

A parenthesis means “not included”; a bracket means “included.” Infinity always takes a parenthesis. Full detail is in Interval Notation.

Worked Example A: A Positive Coefficient

Solve and give the answer in interval notation.

Step 1 — add to both sides:

Step 2 — divide by (positive — symbol stays):

Answer: , which is . Filled circle at , shaded left.

Worked Example B: Dividing by a Negative

Solve .

Step 1 — subtract :

Step 2 — divide by — the symbol flips:

Answer: , or . Open circle at , shaded left.

Worked Example C: Variables on Both Sides

Solve .

Step 1 — move the variable terms left, constants right:

Step 2 — divide by — the symbol flips:

Answer: , or .

Alternatively, moving the variable terms to the right (, then divide by positive ) gives , the same answer with no flip needed — moving variables to the side that keeps the coefficient positive avoids the flip entirely.

Worked Example D: All Reals or No Solution

Solve .

Step 1 — distribute and simplify:

The variable cancelled and left a true statement. Every real number satisfies the inequality.

Answer: all real numbers, . (Had it left , a false statement, the answer would be no solution, .)

Worked Example E: Clearing Fractions

Solve and give the answer in interval notation.

Step 1 — multiply every term by the LCD, (positive, so no flip):

Step 2 — distribute:

Step 3 — gather variable terms left, constants right:

Step 4 — divide by (positive, no flip):

Answer: , which is .

Worked Example F: Translating a Real-World Condition

A phone plan costs \$30 plus \$0.10 per text. For what number of texts does the monthly bill stay under \$45?

Step 1 — translate “bill stays under \$45”:

Step 2 — subtract :

Step 3 — divide by (positive, no flip):

Answer: fewer than texts, or if you note that cannot be negative. Word problems often add a natural lower bound like that the algebra alone would not produce.

Common Mistakes to Avoid

  • Forgetting to flip when dividing by a negative. gives , not .
  • Flipping when adding or subtracting a negative. gives ; no flip, because you added , you did not multiply by a negative.
  • Flipping twice by mistake. Only the multiply/divide-by-negative step flips it. Doing it once per such step.
  • Wrong bracket in interval notation. and get brackets; and get parentheses; infinity always a parenthesis.
  • Shading the wrong way. shades right (toward larger numbers); shades left.
  • Treating “all reals” or “no solution” as an error. Both are complete, correct answers.

Where This Shows Up Later

  • Compound Inequalities. Two linear inequalities joined by “and” or “or”, each solved with this method.
  • Absolute Value Inequalities. becomes the compound inequality .
  • Polynomial and Rational Inequalities. These reduce to sign analysis, but each interval’s test is a linear inequality check.
  • Linear programming. Systems of linear inequalities define feasible regions in two variables.
  • Domain restrictions. “The radicand must be ” is a linear inequality you solve to find a function’s domain.

Practice Problems

Work each problem yourself before opening the answer. Give solutions in interval notation.

Problem 1. Solve .

Show answer

Problem 2. Solve .

Show answer

Problem 3. Solve .

Show answer

Problem 4. Solve .

Show answer

Problem 5. Solve .

Show answer

Problem 6. Solve .

Show answer

Problem 7. Solve .

Show answer

Problem 8. Solve .

Show answer

Problem 9. Solve .

Show answer

True for all . Answer: .

Problem 10. Solve .

Show answer

False for all . Answer: no solution, .

Problem 11. Solve .

Show answer

Multiply every term by : , so , i.e. . Answer: .

Problem 12. Solve .

Show answer

Answer: .

Problem 13. Solve .

Show answer

Subtract : . Multiply both sides by (negative — flip): . Answer: .

Problem 14. A parking garage charges \$4 plus \$2 per hour. For how many hours is the total at most \$20?

Show answer

Answer: at most hours, or .

Quick Reference

Operation on both sidesEffect on the symbol
add or subtract any numberno change
multiply or divide by a positiveno change
multiply or divide by a negativereverse the symbol
variable cancels, true statement remainsall reals,
variable cancels, false statement remainsno solution,
/ /
/ /

The solving steps are Linear Equations; the answer format is Interval Notation. Two of these joined together make a Compound Inequality. More Algebra lessons are available too.

Frequently Asked Questions

How is solving a linear inequality different from solving a linear equation?+

The steps are identical — distribute, combine like terms, isolate the variable — with one exception: multiplying or dividing both sides by a negative number flips the inequality symbol. becomes , becomes , and vice versa.

Why does the inequality flip when I divide by a negative?+

Multiplying by a negative reverses order on the number line. is true, but is false — the correct statement is . To keep an inequality true after multiplying or dividing both sides by a negative, its direction must reverse.

Do I flip the symbol when I just add or subtract a negative?+

No. Adding or subtracting any number, positive or negative, never changes the direction of an inequality. The flip rule applies only to multiplication and division by a negative.

What does a solution like x > 3 look like on a number line?+

An open circle at (because itself is not included) with the line shaded to the right toward larger values. A would use a filled circle instead. In interval notation, is .

Can a linear inequality have no solution or all real numbers as its solution?+

Yes. If the variable cancels and leaves a false statement like , there is no solution (). If it leaves a true statement like , every real number is a solution ().

Which direction does the interval-notation infinity go?+

Toward the unbounded side. is ; is . Infinity always gets a parenthesis, and the included endpoint (for or ) gets a bracket.

How do I clear fractions from an inequality?+

Multiply every term by the least common denominator, exactly as with an equation — but the LCD is a positive number, so the symbol does not flip. If you ever multiply an inequality by a negative LCD (which you would only do by choice), remember to reverse the symbol.

Can I check the solution to an inequality?+

Yes, and it is the fastest way to catch a missed flip. Pick any number inside your answer region and substitute it into the original inequality; it should make a true statement. Then pick a number outside; it should make a false one. If is your answer, test (should work) and (should fail).

Related lessons