Half Open and Half Closed Intervals

Left Open Right Closed Interval
(a < x ≤ b]

Example: < x ≤

Interval Notation:
( < x ≤ ]

Left Closed Right Open Interval
[a ≤ x < b)

Example: ≤ x <

Interval Notation:
[ ≤ x < )