Allday Education

Domain and Range of Continuous Functions

A continuous function is one you can draw without lifting your pencil — a solid line or curve instead of separate dots. For a graph like that, the domain is every xx-value the graph covers, and the range is every yy-value it reaches. Because the graph is unbroken, both come out as whole stretches of numbers, not lists.

Reading them is a scanning job. For the domain, scan the graph left to right and note where it starts and stops horizontally. For the range, scan bottom to top and note the lowest and highest heights. Everything else in this topic is just how to write those stretches down.

Domain: scan left to right

Imagine flattening the whole graph down onto the xx-axis. The shadow it casts is the domain. A segment that starts above x=3x = -3 and ends above x=4x = 4 has domain 3x4-3 \leq x \leq 4 — every xx-value in between is used, because the graph is unbroken.

For the range, flatten the graph sideways onto the yy-axis instead. If the lowest point of the graph sits at height 1-1 and the highest at height 44, the range is 1y4-1 \leq y \leq 4.

-4-3-2-112345-3-2-1123456xy

Open and closed endpoints

A closed (filled-in) endpoint means that value is included. An open (hollow) endpoint means the graph gets arbitrarily close to that value but does not include it. In inequalities, included endpoints get \leq and excluded ones get <<. The segment above runs from a closed endpoint at x=3x = -3 to an open one at x=4x = 4, so its domain is 3x<4-3 \leq x < 4.

Interval notation says the same thing with brackets: a square bracket includes the endpoint and a parenthesis leaves it out. That domain is [3,4)[-3, 4).

Arrows mean forever

An arrow on the end of a graph means it continues in that direction without stopping. If a graph has arrows carrying it left and right forever, the domain is all real numbers, written (,)(-\infty, \infty). Infinity always gets a parenthesis, never a bracket — the graph never arrives at infinity, so there is no endpoint to include.

The line below runs off both ends with arrows, so it covers every xx-value and climbs through every yy-value: domain and range are both all real numbers, (,)(-\infty, \infty).

-4-3-2-11234-4-3-2-11234xy

Worked examples

Example 1: a segment with two closed endpoints

A segment runs from (2,1)(-2, 1) to (3,6)(3, 6), both endpoints filled in. Find the domain and range.

Scan left to right: the graph starts at x=2x = -2 and ends at x=3x = 32x3-2 \leq x \leq 3
Scan bottom to top: the lowest point is y=1y = 1, the highest is y=6y = 61y61 \leq y \leq 6
Both endpoints are filled in, so both use square brackets[2,3] and [1,6][-2, 3] \text{ and } [1, 6]

Answer: Domain [2,3][-2, 3], range [1,6][1, 6]

Example 2: one open endpoint

A segment runs from a closed endpoint at (1,2)(-1, -2) up to an open endpoint at (2,4)(2, 4). Find the domain and range.

Left to right: starts at x=1x = -1 (included), stops just before x=2x = 2 (excluded)1x<2-1 \leq x < 2
Bottom to top: starts at y=2y = -2 (included), stops just before y=4y = 4 (excluded)2y<4-2 \leq y < 4
Bracket on the included side, parenthesis on the excluded side[1,2) and [2,4)[-1, 2) \text{ and } [-2, 4)

Answer: Domain [1,2)[-1, 2), range [2,4)[-2, 4)

Example 3: arrows on both ends

A line passes through (0,2)(0, 2) with arrows on both ends. Find the domain and range.

The arrows carry the line left and right forever, so every xx-value is covered
A slanted line with arrows also climbs and drops forever, so every yy-value is reached
Write both in interval notation(,)(-\infty, \infty)

Answer: Domain: all real numbers. Range: all real numbers.

Try one yourself

Common questions

How do I remember which one is domain and which is range?

Domain goes with xx and range goes with yy — the pairing is alphabetical: dd before rr, xx before yy. Domain is read left to right along the horizontal axis; range is read bottom to top along the vertical axis.

When do I use a bracket and when do I use a parenthesis?

A square bracket means the endpoint is included, matching a filled-in dot and a \leq sign. A parenthesis means the endpoint is not included, matching a hollow dot and a << sign. Infinity always takes a parenthesis.

What if the graph has an arrow on only one end?

Then only that direction goes on forever. A graph starting at a closed point at x=0x = 0 with an arrow to the right has domain x0x \geq 0, or [0,)[0, \infty) — closed bracket at the start, parenthesis at infinity.

Want the video version?

Allday Everyday Math has video lessons, practice, and an AI tutor for every topic, Pre-Algebra through Algebra 2.

Try it for $1