Linear Inequality Solver

Solve linear inequalities of the form ax + b < c, ax + b > c, etc.

Solution
Enter coefficients and click solve

What Is an Inequality?

An inequality is a mathematical statement that compares two expressions using a relational symbol instead of an equals sign. Rather than saying two values are the same, an inequality says one is greater than, less than, greater than or equal to, or less than or equal to another. The result is not a single point but a range of values that satisfy the condition.

What Is a Linear Expression?

A linear expression is an algebraic expression where every variable has an exponent of exactly 1 and no variables are multiplied together — for example, 3x + 7 or −2y + 5. There are no x², xy, or other non-linear terms. When a linear expression is compared to another value using an inequality symbol, the result is a linear inequality.

What Is a Linear Inequality?

A linear inequality uses a linear expression on one or both sides and replaces the equals sign with <, ≤, >, or ≥. The standard forms are:

ax + b < c  |  ax + b ≤ c  |  ax + b > c  |  ax + b ≥ c

The solution is always an interval or a set of intervals on the number line — every value of x that makes the statement true.

Everyday Inequality Examples

Inequalities appear in real life constantly, even when we don't write them symbolically:

  • A speed limit sign says you must drive at most 60 mph — that's v ≤ 60
  • A minimum age requirement of 18 years — age ≥ 18
  • A bag can hold less than 10 kg — weight < 10
  • A store requires a purchase of more than $50 for free shipping — total > 50

Equalities vs. Inequalities: Knowing the Difference

FeatureEquality (=)Inequality (<, ≤, >, ≥)
Solution typeOne specific valueA range of values
Graph on number lineA single pointA ray or segment
Effect of ÷ by negativeNo change neededInequality sign reverses
Notationx = 4x > 4 or x ≤ 4

Types of Inequalities

1. Linear Inequalities in One Variable

The form is ax + b < c (or ≤, >, ≥). The solution is a single ray on the number line. Example: 2x − 3 > 7 → x > 5, written in interval notation as (5, ∞). This is the type handled by the calculator above.

2. Linear Inequalities in Two Variables

The form is ax + by < c. The solution is a half-plane on the coordinate grid — one side of the boundary line ax + by = c. If the symbol is strict (< or >), the boundary line is dashed; if inclusive (≤ or ≥), it is solid.

3. Quadratic and Polynomial Inequalities

These involve terms with exponents greater than 1, such as x² − 5x + 6 > 0. The solution is found by factoring, locating the roots, then testing sign intervals. The answer often consists of two separate intervals (e.g., x < 2 or x > 3).

4. Compound Inequalities

Two inequalities joined by and or or. An "and" compound (e.g., −3 < x ≤ 5) requires both conditions to hold — the solution is an intersection. An "or" compound (e.g., x < −1 or x ≥ 4) accepts either condition — the solution is a union.

5. Absolute Value Inequalities

These involve |ax + b| compared to a constant. Two rules apply:

  • |expression| < k → −k < expression < k (a bounded interval)
  • |expression| > k → expression < −k or expression > k (two separate rays)

Example: |x − 3| ≤ 4 → −4 ≤ x − 3 ≤ 4 → −1 ≤ x ≤ 7, written as [−1, 7].

How to Solve Inequalities Manually

The process mirrors solving equations, with one critical rule difference:

  1. Simplify both sides — distribute, combine like terms
  2. Move variable terms to one side by adding or subtracting
  3. Move constants to the other side by adding or subtracting
  4. Divide by the coefficient — if the coefficient is negative, reverse the inequality sign
  5. Write the solution in inequality notation or interval notation

Example: Solve −3x + 9 ≥ 0

Subtract 9: −3x ≥ −9 → Divide by −3 (reverse sign): x ≤ 3 → Solution: (−∞, 3]

Common Mistakes When Solving Inequalities

  • Forgetting to flip the sign when multiplying or dividing by a negative number — the most frequent error
  • Treating the solution like an equation — writing x = 3 instead of x ≤ 3
  • Mixing up open and closed brackets in interval notation — use ( ) for strict < or >, and [ ] for ≤ or ≥
  • Swapping the direction of a compound inequality — −2 < x < 5 means x is between −2 and 5, not outside that range
  • Applying absolute value rules backwards — |x| < k is a bounded interval, not two rays

Linear Inequalities Examples

Example 1 — Basic one-variable: 4x + 8 < 20
Subtract 8: 4x < 12 → Divide by 4: x < 3 → Interval: (−∞, 3)

Example 2 — Negative coefficient: −5x ≥ 25
Divide by −5 (flip sign): x ≤ −5 → Interval: (−∞, −5]

Example 3 — Compound "and": −1 ≤ 2x + 3 ≤ 9
Subtract 3 throughout: −4 ≤ 2x ≤ 6 → Divide by 2: −2 ≤ x ≤ 3 → Interval: [−2, 3]

Example 4 — Absolute value: |2x − 1| > 5
Split: 2x − 1 > 5 or 2x − 1 < −5 → x > 3 or x < −2 → Interval: (−∞, −2) ∪ (3, ∞)

Frequently Asked Questions

What are the 4 inequalities?
The four inequality symbols are: less than (<), less than or equal to (≤), greater than (>), and greater than or equal to (≥). Each describes a different relationship between two expressions and produces a different solution set on the number line.
What is an inequality in math?
An inequality is a statement that two expressions are not necessarily equal — one is larger, smaller, or at least as large as the other. Unlike an equation, which yields one specific value, an inequality yields a range of values. For example, x > 5 means any number greater than 5 is a valid solution.
How do you solve inequalities?
Solve inequalities the same way you solve equations — isolate the variable by performing the same operation on both sides — with one extra rule: whenever you multiply or divide both sides by a negative number, reverse the direction of the inequality sign. Express the final answer as an inequality or in interval notation.
What are the 2 rules of inequalities?
The two essential rules are: (1) You may add or subtract any value from both sides, and multiply or divide both sides by any positive number, without changing the inequality direction. (2) If you multiply or divide both sides by a negative number, you must reverse the inequality sign (e.g., < becomes >).
How do I solve linear inequalities?
Simplify both sides, move all variable terms to one side and constants to the other by adding or subtracting, then divide by the variable's coefficient. If that coefficient is negative, flip the inequality sign. Write the answer as an inequality (x < 3) or in interval notation (−∞, 3).