How to Write in Interval Notation
Interval notation is a concise way to describe sets of real numbers that lie between two endpoints. It is widely used in algebra, calculus, and higher‑level mathematics to express domains, ranges, and solution sets of inequalities. Mastering this notation not only makes your work look cleaner but also helps you communicate mathematical ideas more efficiently. Below you will find a step‑by‑step guide, clear explanations, and plenty of examples to ensure you can write intervals correctly every time.
Understanding the Basics of Intervals
Before diving into the symbols, it helps to visualize what an interval represents. Worth adding: an interval selects a contiguous chunk of that line, defined by two numbers called endpoints. Imagine a number line stretching infinitely in both directions. Depending on whether the endpoints are included or excluded, the interval takes on different forms.
- Closed interval – both endpoints are part of the set.
- Open interval – neither endpoint belongs to the set.
- Half‑open (or half‑closed) interval – exactly one endpoint is included.
- Infinite interval – one or both endpoints extend indefinitely (‑∞ or ∞).
The notation uses parentheses () for excluded endpoints and brackets [] for included ones. Infinity symbols are always paired with parentheses because infinity is not a concrete number that can be “included.”
Types of Interval Notation
| Interval Type | Verbal Description | Notation | Number‑Line Sketch |
|---|---|---|---|
| Closed | a ≤ x ≤ b | [a, b] | ●———● |
| Open | a < x < b | (a, b) | ○———○ |
| Half‑Open (left‑closed, right‑open) | a ≤ x < b | [a, b) | ●———○ |
| Half‑Open (left‑open, right‑closed) | a < x ≤ b | (a, b] | ○———● |
| Infinite to the right | x ≥ a | [a, ∞) | ●————→ |
| Infinite to the left | x ≤ b | (‑∞, b] | ←————● |
| All real numbers | –∞ < x < ∞ | (‑∞, ∞) | ←————→ |
Note: The symbols ● and ○ indicate included and excluded endpoints, respectively Small thing, real impact..
Step‑by‑Step Guide to Writing Interval Notation
Follow these five steps whenever you need to convert an inequality or a description into interval notation.
-
Identify the variable and the inequality
Determine what the variable represents (usually x) and write the inequality in its simplest form. Example: 2 < x ≤ 7. -
Locate the left endpoint
Look at the number bound on the left side of the inequality.- If the inequality uses < (strictly less than), the left endpoint is excluded → use a parenthesis (.
- If it uses ≤ (less than or equal to), the left endpoint is included → use a bracket [.
-
Locate the right endpoint
Apply the same rule to the right side.- > → excluded → parenthesis ).
- ≥ → included → bracket ].
-
Write the endpoints in order, separated by a comma
The smaller number always goes first, regardless of whether it is left or right on the number line.
Example from step 1: left endpoint 2 is excluded → (, right endpoint 7 is included → ], giving (2, 7] It's one of those things that adds up. Worth knowing.. -
Handle infinity appropriately
If the interval stretches forever in one direction, replace the finite endpoint with ‑∞ or ∞ and always pair it with a parenthesis, because infinity cannot be included.
Example: x ≥ –3 → [‑3, ∞) And that's really what it comes down to..
Common Mistakes and How to Avoid Them
Even experienced students slip up when writing intervals. Below are frequent errors paired with quick fixes.
| Mistake | Why It’s Wrong | Correction |
|---|---|---|
| Using brackets with infinity, e. | Solve the inequality first, then apply notation rules. And g. , (7, 2) | The smaller number must always appear first. |
| Mixing up parentheses and brackets for the same endpoint | Each endpoint gets exactly one symbol; using both creates ambiguity. , [‑∞, 5] | Infinity is not a specific number; it cannot be “included.” |
| Reversing the order, e.g. | Write (2, 7) | |
| Forgetting to change the symbol when multiplying/dividing by a negative | Inequality direction flips, affecting inclusion/exclusion. Plus, | Choose ( for exclusion, [ for inclusion, never both. Day to day, |
| Writing a half‑open interval as [a, b] when only one side is included | This incorrectly claims both ends are included. | Use [a, b) or (a, b] as appropriate. |
Real talk — this step gets skipped all the time Less friction, more output..
A useful habit is to draw a quick number line after you write the notation. If the picture matches your intention, you’ve likely gotten it right.
Worked Examples
Example 1: Simple Compound Inequality
Problem: Express the solution set of –4 < x ≤ 1 in interval notation.
Solution:
- Left endpoint –4: inequality uses < → excluded → (.
- Right endpoint 1: inequality uses ≤ → included → ].
- Interval: (‑4, 1].
Example 2: Inequality with Variable on Both Sides
Problem: Solve 3x – 5 ≥ 7 and write the answer in interval notation.
Solution:
- Add 5: 3x ≥ 12.
- Divide by 3 (positive, so direction stays): x ≥ 4.
- Left endpoint 4: ≥ → included → [.
- Right side extends to ∞ → always (.
- Interval: [4, ∞).
Example 3: Union of Two Intervals
Problem: Write the set of numbers that satisfy x < –2 or x ≥ 5.
Solution:
- First part: x < –2 → (‑∞, –2).
- Second part: x ≥ 5 → [5, ∞).
- Because the conditions are joined by “or,”
… the union of the two sets is written as the combination of their individual intervals: (‑∞, –2) ∪ [5, ∞). This notation tells the reader that any number less than –2 or any number greater than or equal to 5 satisfies the original condition.
Some disagree here. Fair enough Most people skip this — try not to..
Example 4: Intersection of Two Intervals
Problem: Find the numbers that satisfy both x > –1 and x ≤ 4 Most people skip this — try not to. Less friction, more output..
Solution:
- The first inequality gives (‑1, ∞).
- The second gives (‑∞, 4].
- The intersection (“and”) keeps only the overlap: (‑1, 4].
Quick‑Check Checklist
Before finalizing your answer, run through this mental list:
- Direction confirmed – Is the smaller number on the left?
- Inclusion symbols match – Does each endpoint use “[” for ≤ or ≥ and “(” for < or >?
- Infinity handled – Are any ∞ symbols paired exclusively with parentheses?
- Logical connector respected – Use “∪” for “or” and the overlapping portion (or simply the more restrictive interval) for “and”.
- Number‑line sketch – A quick doodle can catch mismatched brackets or reversed order.
When these steps become routine, interval notation shifts from a memorized trick to a transparent way of visualizing solution sets on the real line.
Conclusion
Mastering interval notation hinges on three simple ideas: identify the correct endpoints, decide whether each endpoint is included or excluded, and remember that infinity always travels with a parenthesis. By pairing these rules with a quick number‑line check and staying vigilant about common pitfalls—such as reversed order or bracketing infinity—you can express any solution set of inequalities clearly and confidently. Practice with a variety of problems, and soon the notation will feel as natural as writing the inequalities themselves.