Algebra
How to Solve Inequalities and Write the Answer in Interval Notation
By MathSolver Pro Editorial Team · Published
Inequalities are solved almost exactly like equations, with one extra rule and a different kind of answer: a range of values instead of a single number. This guide covers every common type.
Inequality symbols and what the answer looks like
An inequality compares two expressions with one of four symbols: (less than), (greater than), (less than or equal to) and (greater than or equal to). Its solution is usually an infinite set of numbers, so the answer is written as an inequality, a number line graph or an interval.
- is the interval ; the round bracket means 5 is not included, shown by an open circle on a number line.
- is ; the square bracket means 3 is included, shown by a filled circle.
- is .
- Infinity always gets a round bracket, because it is not a number that can be included.
The one rule that differs from equations
You may add or subtract any number on both sides, and multiply or divide both sides by a positive number, exactly as with equations. But multiplying or dividing both sides by a negative number reverses the direction of the inequality.
To see why, start with the true statement and multiply both sides by . You get and , and . Multiplying by a negative number reflects the number line, which swaps which side is larger. The same applies if you swap the two sides of an inequality: means the same as .
Linear inequalities
Example 1:
- Add 5 to both sides: .
- Divide by 3, which is positive, so the sign stays: .
- Interval: .
Example 2:
- Subtract 7: .
- Divide by and reverse the sign: .
- Test a value inside the answer, : is true. Test one outside, : is false. The answer is .
Testing one value on each side of the boundary takes ten seconds and catches a forgotten sign flip every time.
Compound inequalities: and, or
A double inequality such as means both conditions hold. Solve it by doing the same operation to all three parts at once.
The answer is , the overlap of the two conditions. An or statement, such as or , is the union of two pieces and is written .
Absolute value inequalities
The absolute value is the distance of from zero. A distance less than means being close to zero, which gives one interval; a distance greater than means being far away, which gives two pieces. For :
Example 3:
- Rewrite as a double inequality: .
- Add 4 to all parts: , so the answer is : every number within 3 units of 4.
Example 4:
- Split into two cases: or .
- Solve each: or .
- Answer: .
If is negative, has no solution and is true for every real number, since an absolute value is never negative.
Quadratic inequalities with a sign chart
Do not try to take square roots across an inequality. Instead, move everything to one side, find where the expression equals zero, and test the sign between those points.
Example 5:
- Factor: . The critical points are and .
- They split the number line into three intervals. Test one value in each: gives ; gives ; gives .
- Keep the positive intervals: . The endpoints are excluded because the inequality is strict.
Graphically, is an upward parabola that is above the x-axis outside its roots, which matches the sign chart. The quadratic calculator finds the roots if they are not easy to factor.
Rational inequalities
For an inequality with the variable in a denominator, never multiply both sides by that denominator: you do not know whether it is positive or negative. Use a sign chart with the zeros of the numerator and of the denominator instead.
Example 6:
- Critical points: the numerator is zero at and the denominator is zero at .
- Test: gives (positive); gives (negative); gives (positive).
- Keep the negative interval and include , where the expression equals zero. Exclude , where it is undefined.
- Answer: .
Inequalities in two variables
An inequality such as describes a region of the plane. Draw the boundary line , dashed for a strict inequality and solid for or , then shade the side that satisfies it. Testing the origin is quickest: is false, so shade the side that does not contain . The graphing calculator shades inequalities like this directly.
Common mistakes
- Forgetting to reverse the sign after multiplying or dividing by a negative number.
- Multiplying by a variable expression whose sign is unknown.
- Writing as only, which loses the lower bound.
- Using a square bracket next to infinity, or the wrong bracket at an endpoint.
- Including a value that makes a denominator zero.
The inequality calculator shows each step and the interval notation. For the equation-solving moves used throughout, see how to solve linear equations.
A word problem with an inequality
Inequalities appear whenever a situation has a limit, a minimum or a budget. Phrases such as at least, no more than, at most and exceeds signal which symbol to use: at least means , at most and no more than mean , and exceeds or more than means .
Example: a phone plan
- A plan costs 20 dollars a month plus 0.10 dollars per text, and you want to spend no more than 35 dollars. Let be the number of texts.
- Write the inequality: .
- Subtract 20: . Divide by 0.10, which is positive: .
- The number of texts must also be a whole number that is not negative, so the answer is any whole number from 0 to 150.
The context added a restriction that the algebra alone did not give. It is common for real problems to need or a whole-number condition, so always ask what values make sense before writing the final interval.
Checking an interval answer
An inequality answer has three parts that can each go wrong: the boundary values, whether each boundary is included, and which side of the boundary is kept. Check them in that order. Substitute each boundary into the original inequality to see whether it gives equality, which tells you whether the endpoint belongs in the answer. Then test one value inside each interval of your answer and one value outside.
For the rational example, gives , and is true, so 1 is included. At the expression is undefined, so is excluded even though the inequality allows equality. These two checks confirm the brackets in .
Frequently asked questions
When do I flip the inequality sign?
Only when you multiply or divide both sides by a negative number, or swap the two sides. Adding or subtracting, even a negative number, never flips it.
What is the difference between a round and a square bracket?
A round bracket means the endpoint is not included, as with or . A square bracket means it is included, as with or . Infinity always takes a round bracket.
Is it possible for an inequality to have no solutions at all?
Yes. For example has no solution, because an absolute value is never negative. Linear inequalities can also reduce to a false statement such as .
Why can't I multiply both sides by x + 2?
Because you do not know whether is positive or negative, so you cannot tell whether the sign should flip. A sign chart avoids the problem.
How do I write all real numbers in interval notation?
Write . This is the answer when an inequality reduces to a statement that is always true, for example , or .
What does the union symbol mean in an answer?
The symbol joins two separate intervals into one solution set. It is the interval notation version of the word or, as in .