A phone plan costs 20 dollars a month plus 5 dollars per gigabyte, and you want the bill to stay under 45 dollars. With gigabytes the bill is , and holds exactly when , that is when . So the answer is not one number but a whole stretch, every amount of data from up to but not including gigabytes. Inequalities describe stretches like that, and calculus uses them constantly, from saying how close is to a point to saying where a function is increasing.
Key terms
Inequality
Definition An inequality is a statement that compares two real expressions with one of the order symbols , , or . For real numbers, means that is positive, and means the same as . An inequality in a variable may be true for some real values of and false for others, so it makes sense to ask exactly which values make it true.
In plain words An inequality says which of two quantities is bigger. On a number line, means sits to the left of .
Example The inequality is true at , since . It is false at , since is not less than .
Strict and weak inequalities
Definition The inequalities and are strict, and they exclude equality. The inequalities and are weak (also called non-strict). The statement means or .
In plain words A strict inequality leaves the boundary number out. A weak one lets it in. On a number line the boundary gets an open circle when it is left out and a filled dot when it is included.
Example The solutions of are every number to the left of , drawn with an open circle at . The solutions of are the same numbers together with itself, drawn with a filled dot at . The only difference between the two sets is the single number .
Solution set
Definition The solution set of an inequality in is the set of all real numbers in the domain of both sides that make the inequality true. Two inequalities are equivalent when they have the same solution set. Solving an inequality means replacing it by simpler equivalent inequalities until the solution set can be read off.
In plain words The solution set is the complete list of numbers that work, nothing missing and nothing extra. Each step of a solution must keep exactly the same set.
Example Solve . Subtracting from both sides gives , and dividing by the positive number gives . A quick test agrees. At the left side is , which satisfies , and at it is , which does not.
Operations that keep the order
Definition For all real numbers , and ,
and if ,
The same holds with in place of . Each of these steps can be undone by subtracting or by multiplying by , so they turn an inequality into an equivalent one.
In plain words Sliding both numbers the same distance along the line does not change which is on the left. Stretching the line by a positive factor does not change it either.
Example Solve . Adding to both sides gives , and dividing by gives . The solution set is every real number less than .
Order reversal
Definition If and , then
So multiplying or dividing both sides of an inequality by a negative number reverses the direction of the inequality sign, and becomes in the same way. The reason is that and give , which is . Because of this, never multiply an inequality by an expression such as or unless you know its sign. If the sign can change, split into cases where it is positive and where it is negative, and leave out the values where it is zero.
In plain words Multiplying by a negative number mirrors the number line around , so left and right trade places. Since but , the sign has to flip.
Example Solve . Subtracting gives . Dividing by reverses the sign,
Check a number on each side. At the left side is , true. At it is , false. The solution set is all .
Now the warning about variable factors. In you may not just multiply by . For the sign stays and you get . For it flips, giving , which every negative satisfies. The solution set is , and multiplying blindly would have lost every negative solution.
Compound inequality
Definition A compound inequality such as is shorthand for two comparisons joined by “and”, here and . A number is a solution exactly when it satisfies both, so the solution set is the intersection of the two separate solution sets. The same goes for mixed forms like . Such a chain is only written when , since a chain like has no solutions at all.
In plain words A compound inequality traps between two walls. You can apply the same legal step to all three parts at once, as long as you flip both signs when you multiply or divide by a negative number.
Example Solve . Subtract from all three parts and then divide all three by .
The left end is included and the right end is not. At the middle is , which satisfies , and at it is , which fails .
Interval notation
Definition For real numbers , interval notation names these sets.
| Interval | Meaning | Endpoints |
|---|---|---|
| both excluded | ||
| both included | ||
| included | ||
| included | ||
| excluded | ||
| included | ||
| excluded | ||
| included |
A parenthesis marks an open endpoint that is left out, and a square bracket marks a closed endpoint that is included. The symbols and are not real numbers, so they always get a parenthesis. The whole real line is , and a union of separate pieces is written with .
In plain words An interval is a shorthand for a stretch of the number line. Round brackets match open circles in the picture and square brackets match filled dots.
Example The solution of was , which is the interval . The solution of was , which is .
Check yourself
- Solve and write the answer in interval notation.
Show the answer
Subtracting gives . Dividing by reverses the sign, so . The solution set is . As a check, at the left side is exactly .
- Solve the compound inequality and draw the solution on a number line.
Show the answer
Subtract from all parts to get . Dividing by flips both signs,
which reads . The solution set is , with a filled dot at and an open circle at . At the middle equals , and is false.
- Solve .
Show the answer
Expanding gives . Subtracting and adding gives , and dividing by reverses the sign, so . The solution set is .