ALGEBRAAlgebraMathematics Calculator
[]

Interval Notation

Intervals express solution sets: (a,b) open, [a,b] closed, [a,b) half-open. [ ] = include endpoint, ( ) = exclude. Union ∪ combines, intersection ∩ overlaps. |x−a|<b → (a−b,a+b).

Concept Fundamentals
Open
(a,b)
Closed
[a,b]
Union
Intersection

Did our AI summary help? Let us know.

[ ] = include endpoint, ( ) = exclude. (−∞,∞)=ℝ. Union of disjoint intervals: (−∞,2]∪[5,∞). |x−a|<b means distance from a is less than b.

Key quantities
Open
(a,b)
Key relation
Closed
[a,b]
Key relation
Union
Key relation
Intersection
Key relation

Ready to run the numbers?

Why: Interval notation compactly describes solution sets of inequalities. Used in calculus (domain, convergence), optimization (feasible regions), and real analysis.

How: (a,b): a<x<b. [a,b]: a≤x≤b. [a,b): a≤x<b. (−∞,a]: x≤a. Union: A∪B = all in A or B. Intersection: A∩B = all in both. |x−a|<b → (a−b,a+b).

[ ] = include endpoint, ( ) = exclude. (−∞,∞)=ℝ.Union of disjoint intervals: (−∞,2]∪[5,∞).

Run the calculator when you are ready.

Convert Interval NotationInterval, inequality, set-builder

Interval Notation — Convert & Operate

Interval, inequality, set-builder. Union, intersection, complement, |x−a|<b.

interval.sh
CALCULATED
$ interval --notation
Interval notation
[2, 5]
Inequality
2 ≤ x ≤ 5
Set-builder
{x ∈ ℝ : 2 ≤ x ≤ 5}
Number line
Closed interval: 2 and 5 included. Solid dots on number line.
Length
3

Endpoint Values

Included vs Excluded Portion

Calculation Steps

Interval[2, 5]
Inequality2 ≤ x ≤ 5
Set-builder{x ∈ ℝ : 2 ≤ x ≤ 5}
Length3
Number lineClosed interval: 2 and 5 included. Solid dots on number line.

For educational and informational purposes only. Verify with a qualified professional.

🧮 Fascinating Math Facts

📐

|x−3|<5 → x∈(−2,8): all points within 5 of 3.

— Absolute value

🔢

ℝ = (−∞,∞). Empty set: ∅.

— Special

Key Takeaways

  • Parentheses ( ) mean the endpoint is not included (open). Brackets [ ] mean the endpoint is included (closed).
  • Infinity always gets parentheses: (−∞, 3) and [5, ∞) — we never "include" infinity.
  • Empty set ∅: when two intervals have no overlap, their intersection is ∅.
  • Universal set: (−∞, ∞) or ℝ denotes all real numbers.
  • De Morgan's laws for intervals: complement of (A ∪ B) = (complement of A) ∩ (complement of B).
  • |x − a| < b is equivalent to the open interval (a−b, a+b).

Did You Know?

📐Interval notation was popularized in the 19th century. The bracket convention ( ] for closed, ) for open) is now standard in real analysis.Source: History
We always use parentheses with ±∞ because infinity is not a real number—it cannot be "included" in a set.Source: Convention
∪∩Union (∪) combines sets; intersection (∩) takes the overlap. For intervals, intersection can be empty if they don't overlap.Source: Set Theory
The empty set ∅ has no elements. When [1,2] ∩ [3,4] = ∅, there is no number in both intervals.Source: Empty Set
📏The length of [a,b] or (a,b) is b−a. For unbounded intervals like (−∞,3), length is undefined.Source: Measure
🔢Set-builder notation {x ∈ ℝ : a ≤ x ≤ b} explicitly describes the condition for membership.Source: Notation

How It Works

Interval notation uses brackets [ ] for closed endpoints (included) and parentheses ( ) for open endpoints (excluded). [2,5] means 2 ≤ x ≤ 5; (2,5) means 2 < x < 5; [2,5) means 2 ≤ x < 5. For union, we write A ∪ B; for intersection, A ∩ B. The complement of an interval in ℝ is everything outside it. |x−a|<b means a−b < x < a+b.

Notation Conventions

(a,b) open   [a,b] closed   (a,b] half-open   [a,b) half-open   (−∞,a) x<a   [a,∞) x≥a

Expert Tips

Parentheses vs Brackets

Remember: ( = open = excluded; [ = closed = included. On a number line, closed = filled dot, open = hollow dot.

Infinity Always Open

Always use ( with ±∞: (−∞,3), [5,∞). We never write ]∞ or [−∞ because infinity is not a number.

Empty Set

If two intervals don't overlap, their intersection is ∅. Example: [0,1] ∩ [2,3] = ∅.

De Morgan for Intervals

Complement of (A ∪ B) = (complement of A) ∩ (complement of B). Useful for simplifying compound intervals.

Reference Table — Interval Types

NotationInequalityEndpoints
(a,b)a < x < bBoth excluded
[a,b]a ≤ x ≤ bBoth included
(a,b]a < x ≤ bLeft open, right closed
[a,b)a ≤ x < bLeft closed, right open
(-∞,a)x < aUnbounded left
[a,∞)x ≥ aUnbounded right

FAQ

What is the difference between ( and [ ?

( means open—endpoint not included. [ means closed—endpoint included. So (2,5) excludes 2 and 5; [2,5] includes both.

Why do we use parentheses with infinity?

Infinity is not a real number, so we cannot "include" it. We always write (−∞,a) or (a,∞) with parentheses.

What is the empty set?

∅ denotes a set with no elements. When two intervals don't overlap, their intersection is ∅.

How do I convert |x−2| < 3 to interval notation?

|x−2| < 3 means −3 < x−2 < 3, so −1 < x < 5. In interval notation: (−1, 5).

What is set-builder notation?

Set-builder notation describes a set by a condition: {x ∈ ℝ : a ≤ x ≤ b} means "all real x such that a ≤ x ≤ b".

What are De Morgan's laws for intervals?

Complement of (A∪B) = (complement of A)∩(complement of B), and similarly for intersection. Useful for simplifying complements.

Quick Reference

( )
Open
[ ]
Closed
Union
Intersection

Disclaimer: This calculator is for educational use. Interval notation conventions may vary slightly in different mathematical contexts.

AI
NumberVibe

Related Calculators

Absolute Value Inequalities Calculator

Solve absolute value inequalities |ax+b| < c, > c, ≤ c, ≥ c. Get solution intervals, interval notation, set builder notation, number line visualization...

Mathematics

Linear Inequality Calculator

Solve linear inequalities ax+b op c, compound inequalities (a < bx+c < d), and absolute value |x−a| < b. Get solution in inequality form, interval notation...

Mathematics

Absolute Value Equation Calculator

Solve absolute value equations and inequalities including |ax+b|=c, |ax+b|=|cx+d|, and |ax+b|≤c forms. Features solution verification, number line...

Mathematics

Bessel Function Calculator

Calculate Bessel functions J_n(x), Y_n(x), I_n(x), and K_n(x) with series approximation. Supports first kind (J), second kind/Neumann (Y), and modified Bessel functions (I, K). Applications include vibrating drum modes, electromagnetic waveguides, heat conduction in cylinders, and Bessel filter design in signal processing. Uses the power series J_n(x) = Σ (-1)^m/(m!(m+n)!)·(x/2)^(2m+n). Includes convergence info, Bar chart comparing values at different x, Doughnut chart showing series term contributions, and educational content on Bessel's differential equation and cylindrical harmonics.

Mathematics

Binomial Coefficient Calculator

Calculate binomial coefficients C(n,k) = n!/(k!(n-k)!) — the number of ways to choose k items from n without regard to order. Also known as n choose k or ⁿCₖ. Features Pascal's triangle row generation, factorial breakdown, Bar chart of full row C(n,0)..C(n,n), Doughnut chart showing k vs n−k. Applications: lottery (C(49,6)), poker hands (C(52,5)), committee selection, DNA combinations, binary strings. Educational content on combinatorics, binomial theorem (x+y)ⁿ expansion, and Pascal's identity.

Mathematics

Box Method Calculator

Multiply polynomials visually using the box method (area model). Step-by-step solutions for binomials, trinomials, and factoring. Interactive grid...

Mathematics