Inequality
solver.
Solve linear, quadratic and absolute value inequalities and see each step.
- Interval notation
- (−∞, 5)
- Boundary points
- 5
The number in front of x is negative, so the sign flips when you divide. A larger x makes the left side smaller, so the answer is x < 5.
A filled dot is included in the answer and an open dot is not. An arrowhead means that piece keeps going forever.
Working
- 1Start from the inequality−3x + 6 > −9
- 2Subtract 6 from both sides−3x > −15
- 3Divide both sides by −3 and flip the sign, because it is negativex < 5
- 4Check: test one value from each piecex = 4: −6 > −9 is true, so it is inx = 6: −12 > −9 is false, so it is out
Test a value
Graph of the left side
Drag the point to test another xThe shaded x values are the answer: x < 5. The curve meets the level −9 at 5.
The same numbers with each sign
| Sign | Answer | Interval notation |
|---|---|---|
| < | x > 5(5, ∞) | (5, ∞) |
| ≤ | x ≥ 5[5, ∞) | [5, ∞) |
| > (yours) | x < 5(−∞, 5) | (−∞, 5) |
| ≥ | x ≤ 5(−∞, 5] | (−∞, 5] |
How it's worked out
The rules that keep an inequality true are close to the rules for equations. You can add or subtract any number on both sides. You can multiply or divide by a positive number. Multiplying or dividing by a negative number turns the sign around.
The sign turns because a negative multiplier mirrors the number line around 0, which swaps which side is bigger.
Quadratics. Solve the matching equation to find the critical points. They cut the number line into pieces, and the sign is the same across each piece. For the roots are 2 and 3, and the curve dips below 0 between them. A curve that opens upward is negative between its roots and positive outside them; a curve that opens downward is the reverse.
Absolute values. The bars measure distance from 0, so a less-than gives one piece and a greater-than gives two.
Worked examples
Dana stays within a budget
Dana pays a $40 delivery fee plus $12 per item, and she has $200. Subtract 40, then divide by 12. The number is positive, so the sign stays as it is.
The answer is x ≤ . Items come whole, so she can buy 13, which costs $196. A 14th item would bring it to $208, which is over.
Ravi checks a machining tolerance
A part must be within 0.1 mm of 50 mm. Written as distance from 50, that is one inequality with bars around it.
The answer is 49.9 ≤ x ≤ 50.1, or [49.9, 50.1]. Both ends have square brackets, because a part that is exactly on the limit still passes.
Mei finds when a curve stays above 0
Mei has a height formula, , and wants the times when it is at or above 0. The roots are −1 and 3, and the curve opens downward because the first number is negative.
So the curve is on or above 0 between the roots: [−1, 3]. Time cannot be negative in her story, so she keeps the part from 0 up to 3. A test at x = 0 gives 6, which is above 0, as expected.
Reading your result
Parentheses and brackets. A bracket means the end is included, and a parenthesis means it is not. Infinity always takes a parenthesis, and the smaller number goes first. The symbol ∪ joins separate pieces, as in (−∞, −3) ∪ (2, ∞). On the number line, a filled dot is included and an open dot is not.
Fractions and surds. A boundary that is a simple fraction stays one, so gives x < . When a quadratic's roots do not come out even, the boundaries are for , and the decimals are −1.192582 and 4.192582.
No answer, or every number. If a quadratic has no real roots, its sign never changes. So has no solution, while holds for all real x. A curve that only touches 0 can give a single point: holds only at x = 3.
This tool handles one variable and these three forms. Move x to one side first. Rational forms and pairs of inequalities need rearranging by hand, and the linear equation solver and quadratic solver handle the matching equations.
Common mistakes
- Flipping the sign for a negative number you only added. Adding −3 to both sides keeps the sign as it is. Only multiplying or dividing by a negative number flips it.
- Writing an "or" piece as one chain. is two pieces. Writing says x is both above 3 and below −3, which no number can do.
- Dividing by x. You cannot tell if x is positive or negative, so you cannot tell if the sign flips. Move everything to one side and find the roots.
- Forgetting which ends count. At x = 5, equals −9, which is not above −9. So 5 is left out and takes a parenthesis.