Intervals
An interval is shorthand for infinitely many numbers — all the ones lying between two ends. Learn open and closed intervals, unbounded intervals with the infinity symbol, the union and intersection of two intervals, and how the condition |x − a| < r becomes a single interval.
Before you start
This topic builds on earlier ideas. Before you start, it's worth working through the lessons below — they'll make everything click:
- Number setsNatural, integer, rational and real numbers — four families, each one contained in the next. Learn the symbols ℕ, ℤ, ℚ, ℝ, the membership signs ∈ and ∉, the empty set ∅, the proof that √2 is irrational, and the 2k / 2k+1 notation every divisibility proof is built on.
- Absolute valueThe absolute value of a number is its distance from zero — never negative, because a distance has no direction. Learn the case-by-case definition, the distance between two numbers written as |a − b|, the properties of the modulus and equations with absolute value.
Where this is used
Real situations where you count exactly the way this lesson teaches:
- Clothing sizesA size chart assigns size M to a chest measurement of [96, 104) cm. A chest of 104 cm is already an L — and that is what the round bracket on the right end says, not the small print under the table.
- Tax bracketsThe first tax band covers an annual income of [0, 120,000] units and the second starts at (120,000, +∞). An income of exactly 120,000 is still in the first band — a closed end is real money, not a formality.
- Control systemsA boiler controller holds the temperature in [19.5, 20.5] °C, which is written as the single condition |t − 20| ≤ 0.5. Going above 20.5 °C switches the heating off and dropping below 19.5 °C switches it on.
- Pharmacy and dosingThe dose for an 18 kg child is [10, 15] mg per kilogram, that is between 180 and 270 mg a day. Both ends belong to the interval, so 270 mg is an allowed dose and 275 mg is not.
All formulas
Closed interval
both endpoints belong to the set
Open interval
neither endpoint belongs to the set
Half-closed interval
the left end belongs, the right one does not
Unbounded interval
infinity always takes a round bracket
Intersection
the numbers belonging to both intervals at once
Union
the numbers belonging to at least one of the intervals
Modulus as an interval
the numbers less than r away from a
The condition describes infinitely many numbers: , , and everything in between. They cannot be listed, but they can be bounded from either side — and then only the bounds need writing down. That notation is called an interval, and it is to a set of numbers what a street address is to a street: shorter than a list of all the houses, and pointing at exactly the same thing.
The four bounded intervals
An interval has two ends, and at each of them one question has to be settled: does that end belong to the set? The shape of the bracket carries the answer — square when the end belongs, round when it does not:
On the number line an interval is drawn as a band, and each of its ends as a circle: filled when the end belongs to the interval, hollow when it does not.
The interval contains , contains and contains every number in between. It does not contain — and that is the whole difference between the two brackets.
Unbounded intervals
When there is a bound on one side only, the other side gets the infinity symbol:
At infinity the bracket is always round, because is not a number and cannot belong to a set of numbers. That is not a matter of house style — the notation is simply wrong.
The whole set of real numbers is an interval too: .
Intervals and inequalities
An interval and an inequality say the same thing in two notations, and it pays to move between them in both directions:
| Inequality | Interval |
|---|---|
A strict sign (, ) gives a round bracket, a non-strict one (, ) gives a square bracket. That rule is enough to convert either form into the other.
Union and intersection
Two intervals can be combined in two ways. The intersection is the numbers belonging to both at once, and the union is the numbers belonging to at least one:
The safest method is a drawing: put both intervals one under the other on the same axis and read the answer off the shared band (intersection) or off the whole covered stretch (union).
The left end of the intersection comes from the interval that starts later and the right end from the one that finishes earlier; each bracket travels with the end it came from. When two intervals share no stretch, their intersection is the empty set .
The modulus as an interval
Absolute value measures a distance and an interval describes a set — which is why one turns into the other. The condition reads as the numbers less than away from , that is:
A strict sign gives an open interval and a non-strict one a closed interval: is . That single formula describes every tolerance: 20 °C to within half a degree is , which is the interval .
Practice
Work through a set of exercises — they get harder as you go. At the end you'll see your score and the mistakes worth reviewing.
Common mistakes
- Mixing up the brackets — contains and does not contain . Square means the end belongs, round means it does not.
- Closing infinity — the notation is wrong; at the bracket is always round.
- Writing a union of disjoint intervals as one interval — is not an interval and has to stay as it is.
- Taking the intersection from the wrong ends — the left end comes from the interval that starts later, not from the one lying further left.
- Forgetting the empty set — intervals with no shared stretch have as their intersection, not a missing answer.
Formula card
Topic: Intervals
Closed interval
both endpoints belong to the set
Open interval
neither endpoint belongs to the set
Half-closed interval
the left end belongs, the right one does not
Unbounded interval
infinity always takes a round bracket
Intersection
the numbers belonging to both intervals at once
Union
the numbers belonging to at least one of the intervals
Modulus as an interval
the numbers less than r away from a
