Understanding how to enter your answer using interval notation is a fundamental skill in algebra, precalculus, and calculus. Whether you are solving inequalities, defining domains and ranges, or describing solution sets on the real number line, this standardized format communicates infinite sets of numbers with precision and brevity. Mastering the syntax—specifically the distinction between parentheses and brackets, and the handling of infinity—ensures your answers are graded correctly in automated homework systems and understood universally by mathematicians.
What Is Interval Notation?
Interval notation is a method of writing subsets of the real number line. Worth adding: instead of listing every number in a set (which is impossible for infinite sets) or writing an inequality statement like $x > 3$, we use a pair of endpoints enclosed by specific symbols. These symbols tell the reader exactly whether the endpoints are part of the set.
The core components are:
- Endpoints: The numbers that bound the interval (e.g., $a$ and $b$).
- Delimiters: Parentheses
()or brackets[]that wrap the endpoints. - Order: Always written from left to right (smallest to largest), separated by a comma.
The Critical Distinction: Parentheses vs. Brackets
The most common source of errors when students enter their answer using interval notation is confusing parentheses with brackets. The difference is mathematical, not stylistic.
Parentheses ( ) — Exclusive (Open Interval)
Parentheses indicate that the endpoint is not included in the set. This corresponds to strict inequality symbols: ${content}lt;$ or ${content}gt;$ And it works..
- Visual: On a number line, this is represented by an open circle (○) at the endpoint.
- Example: $(2, 5)$ means all real numbers $x$ such that $2 < x < 5$. The numbers 2 and 5 are boundaries, but they are not members of the set.
Brackets [ ] — Inclusive (Closed Interval)
Brackets indicate that the endpoint is included in the set. This corresponds to inclusive inequality symbols: $\le$ or $\ge$ Practical, not theoretical..
- Visual: On a number line, this is represented by a closed (filled) circle (●) at the endpoint.
- Example: $[2, 5]$ means all real numbers $x$ such that $2 \le x \le 5$. Both 2 and 5 are part of the solution.
Mixed Intervals (Half-Open/Half-Closed)
Intervals frequently include one endpoint but exclude the other. You simply mix the symbols The details matter here..
- $[2, 5)$: $2 \le x < 5$ (Includes 2, excludes 5).
- $(2, 5]$: $2 < x \le 5$ (Excludes 2, includes 5).
Pro Tip: Think of brackets
[ ]as solid walls that hold the number in, and parentheses( )as open gates that let the number slip out Simple, but easy to overlook..
Handling Infinity: Always Use Parentheses
When an interval extends forever in the positive or negative direction, we use the infinity symbols: $\infty$ (positive infinity) and $-\infty$ (negative infinity) That alone is useful..
Golden Rule: Infinity is not a number; it is a concept of unboundedness. Because of this, you can never "reach" it or "include" it.
As a result, you must always use a parenthesis next to $\infty$ or $-\infty$. Writing $[3, \infty]$ is mathematically incorrect.
- Correct: $[3, \infty)$ — All numbers $x \ge 3$.
- Correct: $(-\infty, 5)$ — All numbers $x < 5$.
- Correct: $(-\infty, \infty)$ — All real numbers (denoted as $\mathbb{R}$).
Unions and Intersections: Combining Intervals
Solution sets are not always a single continuous chunk. When solving absolute value inequalities or rational inequalities, the solution often consists of two or more separate pieces. We join these using the union symbol: $\cup$ That's the whole idea..
The Union Symbol ($\cup$)
The union represents "or." The solution set includes numbers from the first interval or the second interval (or both, though intervals in a union are typically disjoint).
- Inequality: $x < -2$ or $x \ge 3$
- Interval Notation: $(-\infty, -2) \cup [3, \infty)$
Formatting Rules for Unions:
- Write intervals in order from left to right (negative to positive).
- Place a space before and after the $\cup$ symbol for readability (though some auto-graders accept
Uoruif the symbol isn't on the keyboard). - Do not overlap intervals. If you write $(-\infty, 5) \cup [3, \infty)$, it simplifies to $(-\infty, \infty)$.
The Intersection Symbol ($\cap$)
Less common for final answers but vital for logic, intersection ($\cap$) means "and." The solution must satisfy both intervals simultaneously The details matter here..
- $(-\infty, 5) \cap [3, \infty) = [3, 5)$
Step-by-Step Guide: Converting Inequalities to Interval Notation
Follow this workflow every time you need to enter your answer using interval notation.
Step 1: Solve the Inequality Completely
Isolate the variable. Ensure you have a simple statement like $x > a$, $x \le b$, or a compound statement like $a < x < b$.
- Watch for sign flips: If you multiply or divide by a negative number, reverse the inequality symbol.
Step 2: Identify the Endpoints and Direction
Determine the boundary numbers. Are they included ($\le, \ge$) or excluded (${content}lt;, >$)? Does the graph go left (toward $-\infty$) or right (toward $\infty$)?
Step 3: Choose Your Delimiters
- Included endpoint $\rightarrow$ Bracket
[or] - Excluded endpoint / Infinity $\rightarrow$ Parenthesis
(or)
Step 4: Write the Endpoints in Order
Smallest value first (left), largest value second (right). Separate with a comma.
Step 5: Check for "Or" Statements (Unions)
If the solution has a gap (e.g., $x < -1$ or $x > 2$), write two separate intervals joined by $\cup$ Most people skip this — try not to..
Worked Examples: From Simple to Complex
Example 1: Simple Linear Inequality
Problem: Solve $3x - 6 \ge 0$ and write in interval notation. Solution:
- $3x \ge 6$
- $x \ge 2$
- Endpoint: 2. Included? Yes ($\ge$). Direction: Right toward $\infty$.
- Answer: $[2, \infty)$
Example 2: Compound "And" Inequality
Problem: Write $-4 < x \le 10$ in interval notation. Solution:
- Left endpoint: -4. Excluded? Yes (${content}lt;$). Symbol:
(. - Right endpoint: 10. Included? Yes ($\le$). Symbol:
]. - Answer: $(-4, 10]$
Example 3: Absolute Value Inequality (Creates a Union)
Problem: Solve $|x - 1| > 3$. Solution:
- Split: $x - 1 > 3$ or $x - 1 < -3$.
- Solve: $x > 4$ or $x < -2$. 3
Example 3: Absolute‑Value Inequality (Produces a Union)
Problem: Solve (|x-1|>3) and express the solution in interval notation That alone is useful..
Solution:
-
The absolute‑value inequality splits into two separate statements:
[ x-1>3 \quad\text{or}\quad x-1<-3. ] -
Solve each part:
[ x>4 \quad\text{or}\quad x<-2. ] -
Identify the endpoints: (-2) and (4). Both are excluded because the original inequality is strict ((>)).
-
Write the intervals from left to right, joining them with a space‑surrounded union symbol:
[ (-\infty,-2);\cup;(4,\infty). ]
Answer: ((-\infty,-2)\cup(4,\infty))
Example 4: Quadratic Inequality
Problem: Write the solution for (x^{2}-5x+6<0) in interval notation.
Solution:
-
Factor the quadratic: ((x-2)(x-3)<0) And that's really what it comes down to..
-
The critical points are (x=2) and (x=3). Because the inequality is strict, both points are excluded.
-
Test the sign of the product in the three regions:
- For (x<2): both factors are negative → product positive.
- For (2<x<3): one factor negative, the other positive → product negative.
- For (x>3): both factors positive → product positive.
-
The region where the product is negative is ((2,3)) It's one of those things that adds up. That's the whole idea..
Answer: ((2,3))
Example 5: Rational Inequality
Problem: Solve (\dfrac{x+2}{x-1}\ge 0) and give the answer in interval notation.
Solution:
-
Determine where the numerator and denominator are zero:
- Numerator zero at (x=-2) (makes the fraction equal to 0).
- Denominator zero at (x=1) (undefined, so exclude this point).
-
Create a sign chart using the critical points (-2) and (1):
- ((-\infty,-2)): numerator negative, denominator negative → fraction positive.
- ((-2,1)): numerator positive, denominator negative → fraction negative.
- ((1,\infty)): numerator positive, denominator positive → fraction positive.
-
Because the inequality is “≥ 0”, include the point where the fraction equals 0 ((x=-2)) but exclude the point where it is undefined ((x=1)) Simple, but easy to overlook..
-
Combine the acceptable intervals, using a space‑surrounded union symbol:
[ (-\infty,-2];\cup;(1,\infty). ]
Answer: ((-\infty,-2]\cup(1,\infty))
Quick Reference Checklist
- Solve completely – isolate the variable; flip signs when multiplying/dividing by a negative.
- Mark endpoints – note whether each boundary is included (use
[or]) or excluded (use(or)). - Order correctly – smallest value first, largest second.
- Union for gaps – when the solution set has a break, write two intervals separated by
∪. - Infinity – always use a parenthesis with
∞or‑∞.
Conclusion
Interval notation is a concise, standardized way to describe sets of real