A heater keeps a room between 19 and 22 degrees. You will be able to solve rules like this, where one number must meet two conditions. Then you will find the largest or smallest whole number that fits.
Core idea
Three parts at once
Take . It says is above and at most . It is an "and" written on one line.
Solve it like an ordinary inequality, but do each step to all three parts. Subtracting everywhere gives . Dividing everywhere by gives .
The right sign is , so itself is allowed. Whole numbers, including negative ones and zero, are called integers. The largest integer that fits is .
A fraction in the middle
Now take . Get rid of the fraction first by multiplying all three parts by .
That gives . Subtracting everywhere then gives .
A sign like is strict: the end is not allowed. So does not fit, and the smallest integer that does is .
"Or" keeps two rays
Draw a number line and put marks at and . "And" keeps the numbers between the marks. "Or" keeps the numbers outside them.
Take " or ". It describes two rays pointing away from each other. Solve each piece on its own.
The right-hand ray starts just after . Its sign is strict, so its smallest integer is .
Dividing by a negative
Take . Subtracting everywhere gives .
Now you divide by . Dividing by a negative number turns both signs round. That gives , the same as .
Most people turn only one sign round, or none. Both signs face the same middle part, which is why both must turn.
Worked example
Solve . Give the largest integer in the solution.
Do each step to all three parts.
The right sign is , so itself is allowed. That is a whole number, so the largest integer is .
Problems
Solve . Give the largest integer that satisfies it.
Hint
Subtract 12 from all three parts.
Solve . Give the smallest integer that satisfies it.
Hint
Multiply all three parts by 5 to clear the fraction.
Solve or . What is the smallest integer on the right-hand ray?
Hint
Solve each piece on its own.
Solve . Give the largest integer that satisfies it.
Hint
Subtract 18 from all three parts first.