Understanding Interval Notation and Inequalities

An interval represents a continuous set of real numbers between two fixed values, known as endpoints. Intervals and inequalities describe identical mathematical relationships—both specify which numbers satisfy a given condition. For example, the inequality 2 < x < 5 defines exactly the same set as the interval (2, 5): all real numbers strictly between 2 and 5.

The relationship is direct and mechanical. Every inequality statement maps to a unique interval, and every interval corresponds to an inequality. Mastering this translation is essential for graphing, solving systems, and communicating mathematical constraints.

The Three Categories of Intervals

Intervals are classified by whether their endpoints are included in the set:

  • Open intervals exclude both endpoints. Represented with parentheses: (a, b). Corresponds to a < x < b.
  • Closed intervals include both endpoints. Represented with square brackets: [a, b]. Corresponds to a ≤ x ≤ b.
  • Half-open intervals include exactly one endpoint. Written as (a, b] or [a, b). Correspond to a < x ≤ b or a ≤ x < b.

Unbounded intervals extend to infinity in one or both directions. For instance, [3, ∞) includes all numbers greater than or equal to 3, and (−∞, −2) includes all numbers less than −2.

Inequality to Interval Conversion Reference

Use this systematic table to convert any standard inequality into interval notation. The left column shows the inequality form, and the right shows its interval equivalent:

Inequality Interval

a < x < b (a, b)

a ≤ x ≤ b [a, b]

a < x ≤ b (a, b]

a ≤ x < b [a, b)

x ≥ a [a, ∞)

x > a (a, ∞)

x < a (−∞, a)

x ≤ a (−∞, a]

Working with Compound Inequalities

Compound inequalities connect two separate conditions using logical operators:

  • "And" compounds (conjunction): Both conditions must be true simultaneously. The solution is the intersection of the two sets. For example, x > 1 AND x < 5 yields (1, 5).
  • "Or" compounds (disjunction): At least one condition must be true. The solution is the union of the two sets, often requiring multiple interval notation segments. For instance, x < −2 OR x > 3 writes as (−∞, −2) ∪ (3, ∞).

When combining inequalities of the same direction (both > or both ≤), the stricter condition determines the result. When directions oppose, you typically obtain a bounded interval from the "and" case or a union of unbounded intervals from the "or" case.

Common Pitfalls and Best Practices

Avoid these frequent mistakes when converting between inequality and interval forms:

  1. Confusing Bracket and Parenthesis Symbols — Parentheses (a, b) always exclude endpoints and match strict inequalities (<, >). Square brackets [a, b] always include endpoints and match inclusive inequalities (≤, ≥). Reversing these symbols inverts your solution set, leading to incorrect answers.
  2. Forgetting the Union Symbol in "Or" Compounds — When inequalities are connected by "or" and the sets do not overlap, write the interval union explicitly: (−∞, 0) ∪ (5, ∞). Omitting the union symbol suggests a single connected interval, which is mathematically incorrect.
  3. Misidentifying Boundary Types — Double-check which inequality operator appears at each boundary. An inequality with a ≤ at the lower bound and < at the upper bound, like 2 ≤ x < 7, must be written as [2, 7)—mixing bracket types intentionally, not by mistake.
  4. Overlooking Infinity's Never-Closed Status — Infinity is never included in any interval; always use a parenthesis, never a bracket. Write (5, ∞) and (−∞, 3), never [5, ∞] or [−∞, 3]. Infinity is not a real number, only a direction.

Frequently Asked Questions

How do I convert a simple two-sided inequality into interval notation?

Identify the lower and upper bounds of your variable. If the variable is bounded by a ≤ x ≤ b (both inclusive), write [a, b]. If a < x < b (both strict), write (a, b). For mixed cases like 3 ≤ x < 8, use [3, 8). The key is matching each boundary operator to the correct bracket type: ≤ or ≥ uses square brackets, while < or > uses parentheses.

What does an open interval actually represent mathematically?

An open interval (a, b) contains every real number strictly between a and b, but excludes a and b themselves. For example, (1, 3) includes 1.0001, 2, 2.999, and infinitely many other values, but not 1 or 3. This corresponds to the inequality 1 < x < 3. Open intervals are commonly used in calculus and analysis when boundary points must be excluded for logical or physical reasons.

How do I handle compound inequalities with opposite-direction conditions?

If you have x < 2 AND x > 8, these conditions cannot both be true simultaneously—the solution is empty. If you have x < 2 OR x > 8, you write (−∞, 2) ∪ (8, ∞), showing two separate intervals connected by the union symbol. Opposite-direction "and" compounds yield empty sets, while opposite-direction "or" compounds yield unions of unbounded intervals separated by a gap.

Can I convert the interval [−5, 10) back to an inequality?

Yes. The square bracket on −5 means ≤, and the parenthesis on 10 means <. Therefore, [−5, 10) converts to −5 ≤ x < 10. Always read brackets as inclusive (≤ or ≥) and parentheses as exclusive (< or >), applying them in order from left endpoint to right endpoint.

Why does infinity never use a square bracket in interval notation?

Infinity is not a real number; it is a concept representing unboundedness. Since infinity cannot be a reachable endpoint, it is never included in any interval and always uses a parenthesis. [a, ∞) means all numbers ≥ a extending infinitely upward. The parenthesis at ∞ is mandatory by mathematical convention across all textbooks and formal systems.

What happens when I convert an inequality with a negative infinity bound?

Intervals with −∞ follow the same rule: always use a parenthesis. The inequality x < 5 becomes (−∞, 5), and x ≤ 5 becomes (−∞, 5]. Parentheses at −∞ reflect that there is no actual lower boundary—just endless numbers extending downward. Never write [−∞, a] or [−∞, a); the left side must always be (−∞.

More math calculators (see all)