A ticket is for ages 3 to 12, both included. How many ages is that? You will be able to write a solved inequality with brackets and count the whole numbers it allows.
Core idea
Interval notation
The last lesson solved and got .
On a number line this is one stretch from to . You can write it with brackets as . This way of writing is called interval notation.
A round bracket means the end is not included. A square bracket means it is included. Next to the bracket is always round, because you can never reach infinity.
Counting the integers
The whole numbers in are . Whole numbers, including negative ones and zero, are called integers.
Take first, with both ends included. It holds six integers, which is .
Now drop one for each round bracket, since that end is left out. has one round bracket, so it holds five. has two, so it holds four.
Two rays
Now take " or ". It is two rays pointing away from each other.
In brackets it is . The sign means "together with".
The integers it leaves out are the ones in the gap between the rays. Both signs are strict, so and sit in the gap too. The gap holds six integers.
Most people count the integers from to as . The difference counts the steps between the numbers, which is why it misses one.
Worked example
Solve . Write the solution in interval notation and say how many integers it holds.
Do each step to all three parts.
Both ends are included, so the set is . The integers run from to . The difference is , and both ends count, so there are integers.
Problems
How many integers are in the interval ?
Hint
Look at each bracket and decide if that end counts.
Solve . Write the solution in interval notation and say how many integers it holds.
Hint
Subtract 6 from all three parts.
Solve or . Write the solution in interval notation and say how many integers it leaves out.
Hint
Solve each piece on its own.