Algebra • Sets, Intervals & Real Number Lines

Interval Notation to Inequality Converter

Convert bounded intervals, infinite rays, and disjoint unions into standard algebraic inequalities and set-builder notation a < x ≤ b with interactive auto-scaling number lines and step-by-step mathematical proofs.

|
Last Updated: September 2026
|
Verified Accurate: Real Analysis & Set Theory
Standard Interval Scenarios

Input Method

Type interval notation directly or construct using guided bracket selectors

Quick insert:
Inequality Notation Result
(-3, 7]
⇒
-3 < x ≤ 7
Set-Builder Notation
{ x ∈ ℝ | -3 < x ≤ 7 }
Formal set specification
Interval Classification
Half-Open (Left-Open)
Geometric topology
Interval Length / Span
Δ = 10.000
Distance between boundaries
Real Number Line Visualization Auto-Scaling
Open Circle (Parenthesis) Closed Circle (Bracket)
← −∞ (Negative Infinity) Interval Span +∞ (Positive Infinity) →
Left Boundary
-3 (Excluded ‘(’)
Right Boundary
7 (Included ‘]’)
Boundedness
Bounded Interval
Inequality Operators
< and ≤
Step-by-Step Conversion Derivation Rules of Enclosure
The 8 Fundamental Conversion Rules Universal Reference
Interval Notation Inequality Form Classification Bracket Rule
(a, b) a < x < b Open Interval Both parentheses ⇒ strict <
[a, b] a ≤ x ≤ b Closed Interval Both brackets ⇒ inclusive ≤
(a, b] a < x ≤ b Half-Open (Left-Open) Left <, right ≤
[a, b) a ≤ x < b Half-Open (Right-Open) Left ≤, right <
(a, ∞) x > a Right-Ray (Open) Strict lower bound, no upper cap
[a, ∞) x ≥ a Right-Ray (Closed) Inclusive lower bound, no upper cap
(−∞, b) x < b Left-Ray (Open) No lower limit, strict upper bound
(−∞, b] x ≤ b Left-Ray (Closed) No lower limit, inclusive upper bound
Direct Answer & Overview
Verified Educational Guide

How to Convert Interval Notation to Inequalities

To convert interval notation into an inequality, replace round parentheses ( or ) with strict inequalities (< or >) and square brackets [ or ] with non-strict inequalities (≤ or ≥). Bounded intervals like (a, b] become compound sandwich inequalities a < x ≤ b, while unbounded rays like (-∞, b] become single inequalities x ≤ b.

Primary Mathematical Formula Boundary Inclusion & Real Number Line Mapping Model
Standard Equation
ƒ(x)
Q.E.D.
(a,b]impliesa<xlebquadextandquad(−infty,b]impliesxleb(a, b] implies a < x le b quad ext{and} quad (-infty, b] implies x le b
Round parentheses denote open boundaries (strict <); square brackets denote closed boundaries (inclusive ≤).
Exact Formula
Input Parameters
Required
1
Lower Bound: Left endpoint with ( (excluded) or [ (included), or -∞ (unbounded below).
2
Upper Bound: Right endpoint with ) (excluded) or ] (included), or +∞ (unbounded above).
Expected Outputs
Calculated
Algebraic Inequality: Single ray (x ≤ b) or compound sandwich (a < x ≤ b).
Set-Builder Notation: { x ∈ ℝ | condition } formal mathematical definition.
Worked Numerical Example
Instant Verification
Convert the interval (-3, 7] to inequality notation
→ Left bound -3 with '(' ⟹ -3 < x; Right bound 7 with ']' ⟹ x ≤ 7
-3 < x ≤ 7

The Translation Code: From Brackets to Inequalities

Translating mathematical intervals into inequalities requires decoding two fundamental pieces of information from each expression: boundary values (the numbers listed inside) and enclosure symbols (parentheses versus square brackets).

Parentheses: ( or )

Represents an open, excluded boundary point. When converting to inequality form, use strict operators: < for upper bounds or lower sandwich bounds, and > for unbounded lower bounds.

Square Brackets: [ or ]

Represents a closed, included boundary point. When converting to inequality form, use inclusive "or equal to" operators: ≤ or ≥.

The 8 Canonical Conversion Patterns

Every finite or infinite single interval maps to one of eight standard mathematical inequality templates:

Interval Notation Inequality Equivalent Set-Builder Form Classification
(a, b) a < x < b { x ∈ ℝ | a < x < b } Open Interval
[a, b] a ≤ x ≤ b { x ∈ ℝ | a ≤ x ≤ b } Closed Interval
(a, b] a < x ≤ b { x ∈ ℝ | a < x ≤ b } Half-Open (Left-Open)
[a, b) a ≤ x < b { x ∈ ℝ | a ≤ x < b } Half-Open (Right-Open)
(a, ∞) x > a { x ∈ ℝ | x > a } Infinite Right-Ray (Open)
[a, ∞) x ≥ a { x ∈ ℝ | x ≥ a } Infinite Right-Ray (Closed)
(−∞, b) x < b { x ∈ ℝ | x < b } Infinite Left-Ray (Open)
(−∞, b] x ≤ b { x ∈ ℝ | x ≤ b } Infinite Left-Ray (Closed)

Translating Disjoint Unions (∪) to "OR"

In set theory, the union symbol ∪ joins sets of elements together. In logic and algebra, membership in A ∪ B means an element belongs to set A or set B.

Conversion Rule for Unions:
(−∞, a) ∪ [b, ∞)  ⇒  x < a  or  x ≥ b

Never combine disjoint intervals with "and". Writing x < -2 and x ≥ 3 is mathematically impossible because no single real number can be simultaneously less than -2 and greater than 3.

Entire Real Line and Punctured Intervals

Two special cases frequently occur in calculus domain problems:

All Real Numbers: (-∞, ∞)

The interval extends without limit across the entire continuum. In inequality notation, this represents the condition that holds for every number: −∞ < x < ∞ or simply x ∈ ℝ.

Punctured Real Line: (-∞, c) ∪ (c, ∞)

Represents all real numbers except a single excluded point c. This translates into x < c or x > c, commonly written as the exclusion constraint x ≠ c.

Step-by-Step Worked Conversion Examples

Example 1 • Half-Open Bounded Interval Sandwich Inequality

Convert (-3, 7] to Inequality Notation

1. Left bracket is round "(" at -3 ⇒ Excluded lower bound ⇒ -3 < x
2. Right bracket is square "]" at 7 ⇒ Included upper bound ⇒ x ≤ 7
3. Combine into continuous sandwich inequality: -3 < x ≤ 7
Inequality: -3 < x ≤ 7  |  Set-Builder: { x ∈ ℝ | -3 < x ≤ 7 }
Example 2 • Infinite Left-Ray Single Upper Bound

Convert (-∞, 4] to Inequality Notation

1. Left endpoint is -∞ ⇒ No lower restriction on x
2. Right endpoint is 4 with square bracket "]" ⇒ Included upper bound (≤ 4)
3. Discard -∞ and write single inequality: x ≤ 4
Inequality: x ≤ 4  |  Set-Builder: { x ∈ ℝ | x ≤ 4 }
Example 3 • Disjoint Union Split Branches

Convert (-∞, -2) ∪ [3, ∞) to Inequality Notation

1. Left interval (-∞, -2) ⇒ x < -2
2. Right interval [3, ∞) ⇒ x ≥ 3
3. Translate union ∪ to logical "or": x < -2 or x ≥ 3
Inequality: x < -2 or x ≥ 3  |  Set-Builder: { x ∈ ℝ | x < -2 or x ≥ 3 }

Common Pitfalls and Reversal Errors

Flipping Inequality Signs on Upper Bounds

Misinterpreting (-∞, 5] as x ≥ 5. Numbers to the left of 5 are less than 5, so the correct inequality is x ≤ 5.

Writing "and" Instead of "or" for Unions

Writing x < -1 and x > 4. This represents an impossible intersection ∅. Always use "or" when translating disjoint intervals with ∪.

Inverting Sandwich Inequalities

Writing 7 ≤ x < -3. Inequalities must progress from lowest to highest from left to right: -3 < x ≤ 7.

Confusing Strict (<) with Non-Strict (≤)

Double-check the bracket shape: a smooth curve ( indicates strict inequality; a square angle [ indicates "or equal to".

Fact-Checked & Verified • Computational Accuracy Standards
Updated September 2026 • Editorial Policy
Authored By
Sanjay Samanta

Lead Developer & Founder of Basic Math Tools. Specializes in browser-native computational algorithms and applied mathematics.

Reviewed & Verified By
Academic Review Board

Mathematics & curriculum specialists. Audited against standard algebraic and arithmetic principles.

Found an error or have an improvement suggestion? Report a calculation issue

Frequently Asked Questions

How do you convert interval notation into an inequality?
To convert interval notation to an inequality: (1) Identify whether each boundary uses a round parenthesis ( or a square bracket [. (2) Replace round parentheses with strict inequality symbols (< or >). Replace square brackets with non-strict symbols (≤ or ≥). (3) For bounded intervals like (a, b], place the variable x between the bounds: a < x ≤ b. (4) For infinite rays like (-∞, b] or (a, ∞), omit infinity and write a single inequality: x ≤ b or x > a.
What is the difference between round parentheses ( ) and square brackets [ ] in interval notation?
Round parentheses ( ) denote open boundaries where the endpoint value is strictly excluded from the set (corresponding to <, >, -∞, or +∞). Square brackets [ ] denote closed boundaries where the endpoint value is included in the solution set (corresponding to ≤ or ≥).
How do you convert a union symbol ∪ to an inequality?
The union symbol ∪ represents logical disjunction ("OR"). When an interval has multiple disconnected branches, such as (-∞, -2) ∪ [3, ∞), translate each interval piece independently and connect them with the word "or": x < -2 or x ≥ 3.
What inequality corresponds to (-∞, ∞)?
The interval (-∞, ∞) encompasses the entire continuum of real numbers without upper or lower bound. In inequality notation, it is written as -∞ < x < ∞, or more formally expressed in set-builder notation as { x ∈ ℝ } (all real numbers).
Why can infinity never take a square bracket in interval notation?
Infinity (±∞) is not a discrete number that can be contained, reached, or included in a set. It denotes an unbounded direction of limitless growth. Because an endpoint must be a real finite number to be included, infinity must always be enclosed with a round parenthesis.
How do you represent a single excluded point like (-∞, 5) ∪ (5, ∞)?
The union (-∞, 5) ∪ (5, ∞) covers every real number except the single value 5. In inequality notation, this is written as x < 5 or x > 5, or simply as the exclusion constraint x ≠ 5.