Knaph

Functions and Their Graphs18 of 1002 min read

Domain and Range

Omar's graph of a function starts at x=−3x = -3 and stops just before x=5x = 5. Some inputs are allowed and some are not, and only some outputs ever happen. Which inputs and outputs belong to a function?

Inputs along the bottom, outputs up the side

The domain of a function is the inputs it accepts. The range is the outputs it really gives. On a graph, the domain is the shadow the graph throws on the xx-axis, and the range is its shadow on the yy-axis.

A closed dot at an end means that point is on the graph, and an open dot means it is not. Omar's graph has a closed dot at (−3,1)(-3, 1) and an open dot at (5,3)(5, 3), so its domain is −3≤x<5-3 ≤ x < 5.

A graph from x equals minus 3, closed dot at height 1, up to a top at (minus 1, 4), down to a bottom at (2, minus 2), then up to an open dot at (5, 3). A blue band on the x-axis from minus 3 to 5 shows the domain, and an orange band on the y-axis from minus 2 to 4 shows the range.

The range is set by the highest and lowest points

To find the range, look for the lowest and highest points, not the ends. Omar's graph climbs to y=4y = 4 and falls to y=−2y = -2, so its range is −2≤y≤4-2 ≤ y ≤ 4. The open end at height 3 changes nothing here.

Domains from a rule and from a story

A rule can forbid inputs. In f(x)=6x−2f(x) = \dfrac{6}{x - 2}, the input 2 would mean dividing by 0, so the domain is every number except 2. In g(x)=xg(x) = \sqrt{x}, the domain is x≥0x ≥ 0.

A story can forbid inputs too. A school bus has 40 seats and each rider pays $3, so the money is M(n)=3nM(n) = 3n. Here nn is a whole number from 0 to 40. The range is 0, 3, 6, up to 120: only those amounts can happen.

Careful

The range comes from the highest and lowest points of the graph, which are not always its ends.

Try it at home

  1. Draw a graph that starts with a closed dot and ends with an open dot.
  2. Shade its shadow on the xx-axis in one color and on the yy-axis in another.
  3. Write the domain and the range as inequalities. Check the dots.

Words in this lesson

  • domain - all the inputs a function accepts.
  • range - all the outputs a function really gives.

Big idea

The domain is the inputs a function accepts and the range is the outputs it gives. Read them as the graph's shadows on the two axes, and let the rule or the story rule out inputs.

Test your understanding

Sign in to test your understanding of this lesson and track your progress.