Loading…

Interval Notation Converter

Math Algebra • Inequalities

View all topics

Convert between inequality notation, interval notation, and set-builder form. Supports unions, intersections, chained inequalities, open/closed endpoints, and a number-line visualization.

Inequality: x < -2 or 1 < x ≤ 5 Interval: (-∞, -2) ∪ (1, 5] Set-builder: {x ∈ ℝ | x < -2 or 1 < x ≤ 5} Endpoint rule: <, > → open; ≤, ≥, = → closed

Notation input

Examples: x < -2 or 1 < x <= 5, (-∞, -2) ∪ (1, 5], {x ∈ R | x < -2 or 1 < x ≤ 5}, -3 ≤ 2x + 1 < 7, and x ≥ 4 AND x < 12.

Converter settings

Use OR or for unions. Use AND or for intersections. Infinity may be typed as , inf, or infinity.

Quick examples

Ready
Enter notation and click “Convert notation”.

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

How do you convert x < -2 or 1 < x <= 5 to interval notation?

The part x < -2 becomes (-∞, -2). The part 1 < x <= 5 becomes (1, 5]. Since the word is or, use union: (-∞, -2) ∪ (1, 5].

What is the difference between parentheses and brackets in interval notation?

Parentheses mean an endpoint is excluded. Brackets mean an endpoint is included.

Why does infinity always use parentheses?

Infinity is not a real number, so it cannot be included as an endpoint. Therefore, intervals with ∞ or -∞ always use parentheses on that side.

What does union mean in interval notation?

Union, written ∪, means values from either interval are included. It corresponds to OR in inequality notation.

What does intersection mean in inequality notation?

Intersection means overlap. It corresponds to AND, so a value must satisfy both conditions.

Can this converter handle set-builder notation?

Yes. It can convert set-builder forms such as {x ∈ R | x < -2 or 1 < x <= 5} into interval and inequality notation.

Can this converter solve linear chained inequalities?

Yes. It can solve chained linear inequalities such as -3 <= 2x + 1 < 7 before converting them to interval notation.

Can I click the number line?

Yes. Clicking the number line places a test value and reports whether that value belongs to the converted set.

Can I pan and zoom the number line?

Yes. You can drag to pan, use the mouse wheel or trackpad to zoom, or use the graph control buttons.