Inequality Solver
Linear · Compound · Quadratic · Rational · Polynomial
Solve any inequality step by step. Get interval notation, sign chart, and a number line diagram — instantly.
Quick Examples
Form: ax + b OP c (e.g. 2x + 3 > 7)
Form: lo OP1 bx + c OP2 hi (e.g. -3 < 2x-1 ≤ 5)
Form: ax² + bx + c OP 0 (e.g. x²-5x+6 < 0)
Form: (ax + b) / (cx + d) OP 0 (e.g. (x-1)/(x+2) > 0)
Form: ax³ + bx² + cx + d OP 0 (e.g. x³-4x < 0)
Number Line
Filled circle = included endpoint (≤, ≥) • Open circle = excluded endpoint (<, >) • Green shading = solution set
Step-by-Step Solution
Verify Solution (Test Point)
What Is an Inequality?
An inequality is a mathematical statement that compares two expressions using one of the relational operators: < (less than), > (greater than), ≤ (less than or equal to), or ≥ (greater than or equal to). Unlike equations, inequalities typically have infinitely many solutions, described as an interval or union of intervals on the number line.
Inequalities appear everywhere in real life: a budget constraint says your spending must be less than or equal to your income; a speed limit says your speed must be less than or equal to the posted limit; an engineering tolerance specifies a part's dimension must stay within a range. Mastering inequality solving is essential for algebra, calculus, and applied mathematics.
Types of Inequalities
Linear Inequalities
A linear inequality has the form ax + b > c (or with any other relational operator). The solution is always a single ray on the number line. Solve by isolating x exactly as you would in a linear equation, remembering to flip the inequality sign when multiplying or dividing by a negative number.
Compound (Two-Sided) Inequalities
A compound inequality such as a < bx + c ≤ d places two constraints on x simultaneously. Solve by performing identical operations on all three parts. The solution is a bounded interval, either open, closed, or half-open depending on the strictness of each side.
Quadratic Inequalities
A quadratic inequality has the form ax² + bx + c > 0. The key steps are: find the roots of the corresponding quadratic equation, use those roots to divide the number line into intervals, and test a point in each interval to determine the sign. The discriminant D = b² − 4ac determines the number of real roots and shapes the solution.
| Discriminant | Roots | ax²+bx+c > 0 solution (a>0) |
|---|---|---|
| D > 0 | Two distinct real roots r₁, r₂ | (-∞, r₁) ∪ (r₂, +∞) |
| D = 0 | One repeated root r | (-∞, r) ∪ (r, +∞) |
| D < 0 | No real roots | All real numbers (-∞, +∞) |
Rational Inequalities
A rational inequality involves a fraction with x in the denominator, such as (ax+b)/(cx+d) > 0. Critical points come from both the numerator roots (where the expression equals zero) and denominator roots (where it is undefined and must be excluded). Build a sign chart across all intervals to determine where the fraction is positive or negative.
Polynomial Inequalities
A polynomial inequality of degree 3 or higher is solved by finding all real roots, building a sign chart, and determining which intervals satisfy the inequality. The sign alternates between consecutive roots for polynomials with single roots, and stays the same across a repeated root.
Interval Notation Guide
- ( ) parenthesis — endpoint is excluded (strict inequality < or >)
- [ ] bracket — endpoint is included (non-strict ≤ or ≥)
- ∞ always uses a parenthesis — infinity is never reached
- ∪ union — joins two or more disjoint solution intervals
- ∅ empty set — the inequality has no solution
- (-∞, +∞) — all real numbers
Real-World Applications
- Budget constraints: If you earn $50/hr and need at least $200 for the week, 50h ≥ 200 means h ≥ 4 hours.
- Speed limits: A car must stay within 0 ≤ v ≤ 60 mph on a highway — a compound inequality.
- Engineering tolerances: A bolt's diameter must satisfy |d − 10| ≤ 0.05 mm, an absolute-value (compound) inequality.
- Profit analysis: Profit = −x² + 100x − 1200 > 0 determines the production range where a business is profitable.
- Physics (projectile range): −16t² + 64t > 0 gives the time interval when a projectile is above the ground.