A linear inequality is a comparison between two linear expressions, such as , where the goal is to find every value of the variable that makes the statement true. Unlike a linear equation, which has a single solution, a linear inequality describes a whole range of numbers along the number line.
What a Linear Inequality Is
A linear inequality uses one of four comparison symbols in place of the equals sign:
| Symbol | Meaning | Example |
|---|---|---|
| strictly less than | ||
| strictly greater than | ||
| less than or equal to | ||
| greater than or equal to |
The variable appears only to the first power (no , no , no ), which is what makes the inequality linear. A solution such as is not one number but an interval: every value below works, including , , and , while itself does not.
You reach for linear inequalities whenever a problem sets a limit, a cutoff, or a constraint instead of an exact target: a budget you must stay under, a minimum score you need to pass, a safe temperature range, or the domain of a function.
The Sign-Flip Rule (and Why It Holds)
Solving a linear inequality uses the same moves as solving a linear equation, with one extra rule:
Adding or subtracting the same quantity, or multiplying and dividing by a positive number, never changes the direction. Only a negative factor flips it. To see why, watch a true statement on the number line:
On the number line sits to the right of , so . Multiplying by reflected both numbers across zero, which reversed their order. The comparison stays true only because the symbol turned from into .
More generally, if and is negative, then . The magnitudes scale the same way they would with a positive factor; it is purely the direction that reverses. Keeping the statement true is the whole point, so the flip is mandatory, not optional.
Worked Example 1:
Treat the first steps exactly as you would an equation. Add to both sides:
Now divide both sides by . Because is positive, the sign does not change:
The solution set is every number up to and including . On a number line you draw a closed dot at (because of the ) and shade everything to the left:
<====●----+----+----+--->
5
Check with a value inside the set, : , and is true. Check the boundary, : , and is true, confirming the closed endpoint.
Worked Example 2: (the flip case)
Subtract from both sides — no flip, since this is subtraction:
Now divide both sides by . This is the moment the rule applies: dividing by a negative number reverses into :
The solution is every number strictly less than . The dot at is open (hollow) because the symbol is strict, and you shade to the left:
<====○----+----+----+--->
-4
Test a value inside, : , and is true. Test a value outside, : , and is false. Both tests confirm the boundary at and prove the flip was necessary — without it you would have written the wrong half of the line.
Reading the Answer on a Number Line
The endpoint marker encodes the symbol, and the shading encodes the direction:
| Inequality | Endpoint dot | Shade toward |
|---|---|---|
| open at | left | |
| closed at | left | |
| open at | right | |
| closed at | right |
In interval notation, is written — a square bracket for "or equal to," a parenthesis for infinity and for strict inequalities. So becomes .
A Quick Two-Sided Example
Constraints often arrive as a chain, such as . Operate on all three parts at once. Subtract everywhere:
Divide everything by (positive, so no flip):
The solution is the interval : closed on the left, open on the right. If the middle coefficient had been negative, the same flip rule would apply to every part of the chain simultaneously, and the order of and would swap.
Common Calculation Traps
- Forgetting the flip. The single most common error is dividing or multiplying by a negative number and leaving the symbol unchanged. If a quick test value contradicts your answer, suspect this first.
- Flipping for the wrong reason. Adding or subtracting a negative number does not flip the sign — only multiplying or dividing by a negative does. becomes , with no flip.
- Treating the answer as one number. means infinitely many values, not just . Always read the result as a range.
- Open vs. closed endpoints. A strict symbol () gives an open dot and a parenthesis; an "or equal" symbol () gives a closed dot and a bracket. Mixing these up changes the answer.
- Dividing by a variable of unknown sign. Never divide both sides by an expression like unless you know whether it is positive or negative, because the direction would depend on that sign. Rearrange to compare against zero instead.
When you need a worked solution with the number line drawn for you, paste the inequality into the GPAI Solver and it isolates the variable, flags any sign flip, and shades the interval step by step — a fast way to check your own work and build the instinct for when the symbol turns.
Frequently Asked Questions
- When do you flip the inequality sign?
- Only when you multiply or divide both sides by a negative number. Adding, subtracting, or multiplying and dividing by a positive number never changes the direction.
- How is a linear inequality different from a linear equation?
- An equation has a single solution, while a linear inequality has a whole range of solutions described as an interval on the number line.
- What is the difference between an open and a closed dot?
- A strict symbol (< or >) uses an open dot and a parenthesis because the endpoint is excluded; an "or equal" symbol (<= or >=) uses a closed dot and a square bracket because the endpoint is included.
- How do you solve a two-sided inequality like -1 <= 2x + 3 < 9?
- Apply each operation to all three parts at once. Subtract 3 from every part, then divide every part by 2, giving -2 <= x < 3.
- How can I check my inequality answer?
- Substitute a value from inside the solution set and confirm the original inequality is true, then test a value outside it to confirm it is false.
Need help with a problem?
Upload your question and get a verified, step-by-step solution in seconds.
Open GPAI Solver →