Interval notation is a compact way to write the solution set of an inequality. Instead of writing x > 3, you write (3, +∞). Instead of writing -1 < x ≤ 5, you write (-1, 5]. The notation carries the same information as the inequality — the boundary values and whether they are included — but in a shorter, more standardized form.
The conversion from inequality to interval notation follows three consistent rules. First, identify the boundary value or values. Second, choose the bracket type: a parenthesis for a strict symbol (> or <) because the boundary is excluded, and a bracket for an inclusive symbol (≥ or ≤) because the boundary is included. Third, use ±∞ for any unbounded direction, always with a parenthesis because infinity is never a reachable value.
Compound inequalities follow the same rules applied to each part. An AND inequality such as -1 < x ≤ 5 produces a single bounded interval (-1, 5] with one bracket decision on each side. An OR inequality such as x < -3 or x ≥ 4 produces a union of two intervals (-∞, -3) ∪ [4, +∞) with each part converted independently and joined with the union symbol ∪.
For a longer concept guide, see interval notation explained. For multi-boundary practice after this page, the compound inequality calculator is the natural next step.