Interval notation

区间及其表示

How do interval notations work?

Square brackets include the endpoint and round brackets exclude it; infinity always takes a round bracket; and a filled dot on a number line means included.

SkillKP000190

Sign in to read the whole lesson, with 1 interactive aid, 3 exercises

Sign in / Sign up

Mastery goals

  • Can describe closed, open and half-open intervals and write a set of real numbers given by inequalities (including unbounded ones such as x ≥ a or x < b) in interval notation using −∞ and +∞
  • Can show an interval on the number line, with a solid dot for an included endpoint and a hollow dot for an excluded one

When studying functions we often say “ lies in a certain stretch”. Such a stretch can be written as an interval, which is short and hard to get wrong.

Let and be real numbers with . We define:

  1. the set of real numbers satisfying is called a closed interval, written ;
  2. the set of real numbers satisfying is called an open interval, written ;
  3. the set of real numbers satisfying or is called a half-open (half-closed) interval, written and respectively.

The real numbers and are called the endpoints of the interval. On the number line, a filled dot marks an endpoint that belongs to the interval and a hollow dot marks an endpoint that does not:

IntervalInequalityNumber line
both dots filled
both dots hollow
left filled, right hollow
left hollow, right filled

The set of real numbers can be written as the interval ; “” is read “infinity”, “” “negative infinity” and “” “positive infinity”.

The sets of real numbers with , , , are written as intervals , , , . Remember: infinity is not a number, so the bracket next to it is always round.

Try it: drag the sliders to change the endpoints and watch the interval notation change.

The interval now is : the left endpoint is included, so it is a solid dot and a square bracket; the right endpoint is not included, so it is an open dot and a round bracket. As you drag the sliders, the endpoints and the thick segment move and the two numbers in the notation change, but the brackets and the solid or open dots stay the same, because whether each endpoint is included has not changed.

Example 1

Write each set as an interval and draw it on the number line:

(1) ; (2) ; (3) .

Solution: (1) : a filled dot at , a hollow dot at , and a line between.

(2) : a filled dot at and a line going right.

(3) means every real number except , so it needs two pieces: .

Related points

All points in this topic

Cite this page: Interval notation · KnowledgeTree (知识树), https://www.knowledgetree.world/en/kp/KP000190