An inequality is solved much like an equation, except the answer is a range of values. The one rule that catches people out is that multiplying or dividing by a negative number reverses the inequality sign.
On this page
Before you start
This page is easier if you are comfortable with:
What this topic covers
Solve linear inequalities like equations, but reverse the sign when you multiply or divide by a negative. Show answers on a number line. Quadratic and rational inequalities need a sketch or a sign diagram (quadratic inequalities , sign diagram for quadratics ).
Each part of this topic has its own page with the formula, worked examples and a solver: Inequalities: sign diagram for quadratics, Linear inequalities, Quadratic inequalities, Linear inequalities on a number line.
Closely related topics: Quadratic equations , Linear equations, Trigonometric equation solver .
What is it used for? An inequality compares two expressions with <, >, ≤ or ≥. Its solution is a range of values rather than one number.
Describing limits , such as a minimum score or a maximum budget. Finding where a function is positive or negative. Setting up the region in a linear programming problem.
How to solve it
Treat the inequality like an equation and rearrange to get the unknown on one side. Reverse the sign if you multiply or divide both sides by a negative number. For a quadratic, find the roots first, then decide which regions satisfy the inequality. For a rational inequality, include the values that make the bottom zero as boundaries, but never as solutions. Test a value from each region to confirm the answer.
Worked examples
The examples marked with a button were worked out by the solver on this page. You can try each one yourself.
Example 1: 3x + 2 < 14 Worked out by the solver on this page. Press the button to try it yourself.
Try this in the solver: 3x + 2 < 14
Inequality
Answer
( − ∞ , 4 ) (-\infty,\; 4) ( − ∞ , 4 ) x < 4
The inequality
3 x + 2 < 14
Move everything to one side
3 x − 12 < 0
Find the critical values (solve f = 0 )
x = 4
Test a value in each region
Try x = 3 : f = − 3 → true<br>Try x = 5 : f = 3 → false
Example 2: 5 - 2x >= 9 Worked out by the solver on this page. Press the button to try it yourself.
Try this in the solver: 5 - 2x >= 9
Inequality
Answer
( − ∞ , − 2 ] (-\infty,\; -2] ( − ∞ , − 2 ] x ≤ − 2
The inequality
− 2 x + 5 ≥ 9
Move everything to one side
− 2 x − 4 ≥ 0
Find the critical values (solve f = 0 )
x = − 2
Test a value in each region
Try x = − 3 : f = 2 → true<br>Try x = − 1 : f = − 2 → false
Example 3: x^2 - 4 > 0 Worked out by the solver on this page. Press the button to try it yourself.
Try this in the solver: x^2 - 4 > 0
Inequality
Answer
( − ∞ , − 2 ) ∪ ( 2 , ∞ ) (-\infty,\; -2) \cup (2,\; \infty) ( − ∞ , − 2 ) ∪ ( 2 , ∞ ) x < − 2 or 2 < x
The inequality
x 2 − 4 > 0
Move everything to one side
x 2 − 4 > 0
Find the critical values (solve f = 0 )
x = − 2 , x = 2
Test a value in each region
Try x = − 3 : f = 5 → true<br>Try x = 0 : f = − 4 → false<br>Try x = 3 : f = 5 → true
Example 4: x^2 - 3x - 10 <= 0 Worked out by the solver on this page. Press the button to try it yourself.
Try this in the solver: x^2 - 3x - 10 <= 0
Inequality
Answer
[ − 2 , 5 ] [-2,\; 5] [ − 2 , 5 ] − 2 ≤ x ≤ 5
The inequality
x 2 − 3 x − 10 ≤ 0
Move everything to one side
x 2 − 3 x − 10 ≤ 0
Find the critical values (solve f = 0 )
x = − 2 , x = 5
Test a value in each region
Try x = − 3 : f = 8 → false<br>Try x = 1.5 : f = − 12.25 → true<br>Try x = 6 : f = 8 → false
Example 5: (x-1)/(x+2) > 0 Worked out by the solver on this page. Press the button to try it yourself.
Try this in the solver: (x-1)/(x+2) > 0
Rational inequality Answer checked
Answer
x < − 2 or x > 1 x < -2 \quad\text{or}\quad x > 1 x < − 2 or x > 1 Never multiply by an expression that could be negative. Move everything to one side and make a single fraction
x + 2 x − 1 − ( 0 ) > 0
Simplify to one fraction (top and bottom as products of factors)
x + 2 x − 1 > 0
Critical values: where the top is zero (the fraction is zero) and where the bottom is zero (the fraction is undefined, so never included)
z = 1 ; excluded: x = − 2
Test the sign of the fraction in each interval
− ∞ < x < − 2 : + , − 2 < x < 1 : - , 1 < x < ∞ : +
Choose the intervals where the fraction is positive
x < − 2 or x > 1
Check: test sample values across the number line against the original inequality
109 sample points agree with the answer
Special cases
A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.
Linear 3x + 2 < 14: x < 4
Solve like an equation.
Dividing by a negative 5 − 2x ≥ 9: x ≤ −2
The sign flips.
Quadratic x² − 4 > 0: x < −2 or x > 2
Outside the roots.
Between the roots x² − 3x − 10 ≤ 0: −2 ≤ x ≤ 5
Inside the roots.
Word problems
Solve like an equation, but reverse the inequality sign when multiplying or dividing by a negative number.
Linear Solve 3x + 2 < 14.
Subtract 2 3x < 12 Divide by 3 x < 4 Check: x = 3 gives 11 < 14 ✓ 4
Negative coefficient Solve 5 − 2x ≥ 9.
Subtract 5 −2x ≥ 4 Divide by −2 and flip x ≤ −2 Check: x = −3 gives 11 ≥ 9 ✓ -2
Quadratic Higher Solve x² − 3x − 10 ≤ 0.
Factorise (x − 5)(x + 2) ≤ 0 Roots −2 and 5 Below the axis between them −2 ≤ x ≤ 5 Check: x = 0 gives −10 ≤ 0 ✓ 5
Outside the roots Higher Solve x² − 4 > 0.
Roots −2 and 2 Above the axis outside them x < −2 or x > 2 Check: x = 3 gives 5 > 0 ✓ 5
Common mistakes
Not flipping the sign −2x ≥ 4 gives x ≥ −2 ✗
x ≤ −2 ✓
Dividing by a negative reverses it.
Writing one inequality for outside the roots −2 > x > 2 ✗
x < −2 or x > 2 ✓
The two parts are separate.
Dividing both sides by x x² > 4x gives x > 4 ✗
x(x − 4) > 0 ✓
x may be negative.
Using a closed circle for < closed ✗
open ✓
Strict inequalities exclude the end.
Exam tips
Flip the sign for a negative multiplier.
Sketch the quadratic.
Strict: open circle.
Test a value.
Never divide by an unknown.
Practice questions
Try each one on paper, then open the answer. Use the solver above to see the full working.
1. Solve 2x − 3 > 7: the boundary Foundation 5
2. Solve 4 − x ≤ 1: the boundary Foundation 3
3. Solve x² − 9 < 0: the upper bound Foundation 3
4. Solve x² − 5x + 6 > 0: the larger root Higher 3
5. Solve 6 − 3x < 0: the boundary Higher 2
6. Solve x² − x − 12 ≤ 0: the upper bound Higher 4
Practice generator Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.
Foundation Higher Mixed New question
Solve: …
The practice generator needs JavaScript.
Key terms
Inequality A comparison using <, >, ≤ or ≥. Solution set All values that work. Number line A line to show the range. Critical value Where the expression is zero. Strict inequality < or >. Interval A range of values.
Frequently asked questions
When do I flip the inequality sign? When you multiply or divide by a negative number.
How do I solve a quadratic inequality? Find the roots, sketch the graph and read off where it is above or below the axis.
Which page covers linear inequalities? linear inequalities.
Which page covers quadratic ones? quadratic inequalities.
Which page covers the number line? number line representation.
Which page covers the sign diagram? sign diagram for quadratics.