FreeMathCamp
Course Articles

Free Math Camp

A free course in the maths you need before calculus. Short lessons, interactive visuals, practice that adapts to you, and a record of progress on your account.

freemathcamp.app

Made by Adam Richard Turner

hello@adamrichardturner.dev

Course

  • Foundations
  • Articles
  • Start free
  • Sign in

Legal

  • Privacy
  • Terms
  • Do not sell or share

Copyright © Adam Richard Turner. All rights reserved.

  1. Articles
  2. /
  3. Algebra
Algebra

Interval Notation Explained: Brackets, Infinity and Unions

How to read and write intervals like [a,b)[a, b)[a,b) and (−∞,3)(-\infty, 3)(−∞,3), how they match inequalities and number-line pictures, how to solve compound inequalities, and how to join pieces with a union.

3 min read Supports 3 lessons
In short

Interval notation writes a range of numbers using its endpoints: a square bracket includes an endpoint and a round bracket excludes it. So −2<x≤5-2 < x \le 5−2<x≤5 is written (−2,5](-2, 5](−2,5].

Calculus constantly describes where things happen: where a function is defined, where it is increasing, where it is positive. Writing "all numbers between −2-2−2 and 555, including 555 but not −2-2−2" every time would be exhausting. Interval notation says it in five characters: (−2,5](-2, 5](−2,5].

-4-3-2-101234567

−2<x≤5-2 < x \le 5−2<x≤5 is the interval (−2,5](-2, 5](−2,5].

The brackets

Brackets
a≤x≤b  ⇔  [a,b]a<x<b  ⇔  (a,b)a \le x \le b \;\Leftrightarrow\; [a, b] \qquad a < x < b \;\Leftrightarrow\; (a, b)a≤x≤b⇔[a,b]a<x<b⇔(a,b)

A square bracket means the endpoint is included (a filled dot). A round bracket means it is excluded (an open dot). They can be mixed: [a,b)[a, b)[a,b).

Tip

A square bracket has corners that "hold on" to the endpoint. A round bracket curves away from it.

Infinity

When a range goes on for ever, use ∞\infty∞ or −∞-\infty−∞ as the endpoint. Infinity is not a number you can reach, so it always gets a round bracket.

Unbounded intervals
x≥3  ⇔  [3,∞)x<1  ⇔  (−∞,1)x \ge 3 \;\Leftrightarrow\; [3, \infty) \qquad x < 1 \;\Leftrightarrow\; (-\infty, 1)x≥3⇔[3,∞)x<1⇔(−∞,1)

All real numbers is (−∞,∞)(-\infty, \infty)(−∞,∞).

Watch out

Never write [3,∞][3, \infty][3,∞]. You cannot include infinity, because there is nothing there to include.

Compound inequalities

A compound inequality like −3≤2x+1<7-3 \le 2x + 1 < 7−3≤2x+1<7 squeezes xxx from both sides. Solve it by doing the same thing to all three parts at once.

  1. −3≤2x+1<7-3 \le 2x + 1 < 7−3≤2x+1<7

    Three parts. Whatever you do, do it to all of them.

1/4
Watch out

Dividing by a negative flips both signs, so the ends swap over: −4<−2x≤6-4 < -2x \le 6−4<−2x≤6 becomes −3≤x<2-3 \le x < 2−3≤x<2, which is [−3,2)[-3, 2)[−3,2).

Unions: "or"

Sometimes the answer is two separate pieces, such as x<−1x < -1x<−1 or x≥4x \ge 4x≥4. Join them with the union symbol ∪\cup∪.

-4-3-2-101234567

x<−1x < -1x<−1 or x≥4x \ge 4x≥4 is (−∞,−1)∪[4,∞)(-\infty, -1) \cup [4, \infty)(−∞,−1)∪[4,∞).

(−∞,−1)∪[4,∞)(-\infty, -1) \cup [4, \infty)(−∞,−1)∪[4,∞)
Key idea

You will use intervals to state domains and ranges, to describe where a graph rises or falls, and to say how close xxx must be to a point in the definition of a limit.

Common questions

What is the difference between ( and [ in interval notation?

A square bracket [[[ includes the endpoint; a round bracket ((( excludes it. So [2,5)[2, 5)[2,5) includes 222 but not 555.

Why does infinity always get a round bracket?

Infinity is not a number that can be reached or included, so an interval can never contain it. The round bracket shows the range goes on without end.

Practise interval notation

The Compound Inequalities & Interval Notation lesson has worked examples and unlimited practice that adapts to you.

Open the lesson

On this page

  1. The brackets
  2. Infinity
  3. Compound inequalities
  4. Unions: "or"
  5. Common questions
Lessons on this
  • Compound Inequalities & Interval NotationAlgebra Foundations
  • Domain & RangeFunctions
  • Linear InequalitiesAlgebra Foundations
Related reading6
Ideas this article builds on or leads to.
  • Algebra
    Solving Linear Inequalities: Why the Sign Flips with Negatives

    An inequality such as x>2x > 2x>2 describes a range of values rather than a single one. It is solved like an equation, except that multiplying or dividing both sides by a negative number reverses the inequality sign.

  • Graphs & Functions
    Domain and Range of a Function: How to Find Them

    The domain of a function is the set of inputs it accepts. The range is the set of outputs it actually produces.

  • Number & Arithmetic
    Absolute Value: Distance from Zero, Equations and Inequalities

    The absolute value of a number, written ∣x∣|x|∣x∣, is its distance from zero on the number line. Distances are never negative, so ∣−4∣=∣4∣=4|-4| = |4| = 4∣−4∣=∣4∣=4.

  • Graphs & Functions
    What Is a Function? Inputs, Outputs, f(x) and the Vertical Line Test

    A function is a rule that gives exactly one output for each input. Writing f(x)f(x)f(x) means "the output of the function fff when the input is xxx".

  • Algebra
    How to Solve Linear Equations: The Balance Method

    A linear equation like 3x−4=113x - 4 = 113x−4=11 is solved by doing the same inverse operation to both sides until the variable is alone. Each step keeps the equation balanced, like a pair of scales.

  • Ready for Calculus
    What Is a Limit in Maths? Limits Explained for Beginners

    A limit describes the value a function approaches as its input gets closer and closer to some number, whether or not the function is defined there. We write lim⁡x→af(x)=L\lim_{x \to a} f(x) = Llimx→a​f(x)=L.