Type to search lessons across every grade and subject.

MATH · GRADE 7Functions

Domain and Range

Seven dots, one smooth curve through them — what did the curve just invent?

Grade 7
(2.5, ?)?what did it invent…
In this lesson

What domain and range are

A function has two attributes that describe its scope. The domain is the set of all input values the function accepts. The range is the set of all output values the function produces over that domain.

Domain and range are attributes of a function.

Both belong to the function itself, not to the graph paper or the way someone happens to draw it. Change the function and the domain or range can change with it.

For a function with a real-world meaning, the domain is usually constrained by what the input can actually be. A school bus route's domain might be [0, 24] minutes: time can't run backwards, and the trip only lasts 24 minutes. A weekly temperature function's domain might be {Mon, Tue, …, Sun}, seven specific days, not the moments in between.

Discrete and continuous

The shape of the domain controls the shape of the graph.

A discrete-function graph is a set of separate points described by ordered pairs. The inputs are countable values (day-numbers, student counts, dice rolls); between two adjacent values, the function isn't defined. The graph is dots, not a line.

A continuous-function graph is a line that connects all points described by ordered pairs. The inputs flow without gaps (time, length, temperature, money in some contexts); between two nearby values, the function exists at every value in between.

Discrete function

A set of points described by ordered pairs.

Continuous function

A line connecting all points described by ordered pairs.

The same five ordered pairs are shown two ways: as separated dots on the left, and connected by a line on the right. Which one is right depends on what the inputs represent. Day-numbers in a week → discrete (the function doesn't exist "halfway between Monday and Tuesday"). Time in minutes during a bus ride → continuous (every moment exists, and the bus is somewhere at each one).

See it: drag the input window

The widget below lets you select a portion of a function's domain and see the corresponding portion of the range. Drag the window endpoints along the x-axis (the input axis). The widget highlights the matching part of the graph and reads off the domain and range, both as numeric intervals and in plain words, since the curriculum requires both representations.

Domain and range

Drag the input window along the x-axis. The widget highlights the matching part of the graph and reads off the domain and range — first as numeric intervals, then in plain words.

A function plot with two draggable endpoints on the x-axis that bound an 'input window.' The widget highlights the portion of the function inside that window and computes the corresponding domain (selected x-interval) and range (corresponding y-interval), displaying both as numeric intervals AND as plain-English descriptions. Two presets cycle through a continuous bus-route function (time vs. distance) and a discrete week-of-temperatures function (day-number vs. high temperature).
Graph:
Time minDistance km

Domain (selected x)

[0, 24] min

In words: All times from 0.0 min up to 24.0 min.

Range (matching y)

[0, 12] km

In words: All values from 0.0 km up to 12.0 km.

About this graph: A school bus route. Distance from home grows over time, then levels off when the bus reaches school. Time cannot run backward, so the domain only includes values from 0 to 24 minutes.

Use the bus-route preset first. The full domain is [0, 24] min and the full range is [0, 12] km. Slide the window narrower and the highlighted range shrinks too. Then switch to the daily-highs preset: the domain is now a SET of seven day-numbers, not an interval, and the range is a SET of seven temperature values. The widget changes its readout to match. Same widget, two different readouts for the two kinds of function.

Communicating in words

Numeric intervals like [0, 24] min are precise, but they're not the only way to describe a domain. The curriculum specifically asks students to communicate domain and range in words as well.

For the bus route:

  • In intervals: domain [0, 24] min, range [0, 12] km.
  • In words: "All times from 0 minutes up to 24 minutes" / "All distances from 0 km up to 12 km."

For the week of daily highs:

  • In intervals (or sets): domain {1, 2, …, 7}, range {−8, −6, −3, −2, 1, 2, 5}.
  • In words: "The seven day numbers (Mon = 1 through Sun = 7)" / "The set of recorded daily-high temperatures, ranging from −8 °C to 5 °C."

Both forms describe the same domain and range. The "in words" form is what you'd write in a sentence; the interval form is what fits on a graph axis.

Restrictions for real-world models

Functions in the abstract often have unrestricted domains. The formula y = 2x + 1 works for every real x. But functions that model something in the real world usually inherit restrictions from what the inputs can physically be.

  • A school-bus route has domain [0, 24] min, not (−∞, ∞): time runs forward and the route ends.
  • A puppy's weight as a function of weeks since birth has domain starting at week 0, not week −5.
  • A water-tank fill function has domain ending when the tank is full.

The math doesn't care; the model does. When you describe a function's domain in words, mention the constraints that the real-world setting forces.

From a table to a graph

When the function comes as a table of values, plotting the points is a small but important step. Each row of the table is one ordered pair (x, y); each pair is one dot on the graph.

The next decision is whether to connect the dots — and this decision has a name, because getting it wrong is one of this unit's classic errors. The connect-the-dots reflex joins any plotted points with a line because "that's what graphs look like." Connect only if the function is continuous between the tabled values; leave them as dots if it's discrete.

A table of week-of-temperature readings stays as 7 dots: there's no temperature for "halfway between Monday and Tuesday." A table of bus-distance readings every 5 minutes can be connected, since the bus is somewhere at every instant between readings. Same table-to-graph process; the connect-or-not decision depends on what the inputs mean.

The plotter below ends on exactly that decision, and it doesn't decide for you. Plot the five rows, then make the call — and if you join the dots, watch what the line claims happened at 2.5 bookmarks.

Table to graph

School fundraiser: bookmarks sold and dollars raised

Each table row is one ordered pair. Plot the rows, then read the domain and range from the points.

Bookmarks soldDollars raisedPlot
00
13
26
39
412
01234036912bookmarksdollars
Domain: { }
Range: { }

Plot every row to complete the graph.

An interactive coordinate grid paired with a table for a school fundraiser: bookmarks sold vs dollars raised. Students plot each table row as an ordered pair and read the domain and range from the plotted points. Once all five rows are plotted, the widget asks whether the dots should be joined with a line; choosing to join draws the line in red along with the phantom point it invents at 2.5 bookmarks and $7.50, and the feedback names the connect-the-dots reflex. Choosing separate dots is confirmed as the discrete reading.

Where it shows up in real life

A school-bus route time-vs-distance plot is the lesson's running example. Time runs from 0 to about 24 minutes (the trip's length); distance runs from 0 km at home up to about 12 km at the school. The domain reflects time's forward arrow and the trip's length; the range reflects how far the bus actually travels.

A freezer temperature log (say, the temperature inside a walk-in cooler at an Alberta grocery store, recorded every 15 minutes over a week) has a discrete domain (the time stamps the sensor wrote) and a continuous-looking range (a real-valued temperature reading). The plot is dots, even though the temperature itself was continuously varying. The graph is discrete because the measurements were taken at discrete times.

A prairie wheat-yield function of fertilizer applied per hectare has a domain restricted to non-negative rates (you can't apply negative fertilizer) and a practical upper bound where adding more stops increasing yield. Range covers the resulting bushels per hectare. The shape of both depends on real agronomic limits.

Worksheet

These aren't graded. Get them right, get them wrong. The goal is fluency with domain and range: in intervals, in words, and in the discrete-vs-continuous distinction.

Practice · Not graded

MA.7.FUN.1

Practice the idea

01 / 11

A school bus route lasts 24 minutes. Describe its domain in words.

Multiple choice: describe the domain of the bus route in words.
Show common mistakes

Student says

Connects the dots of a discrete-function graph to 'make it look like a real graph.'

What it reveals

Treating 'graph' as synonymous with 'connected curve.' For discrete functions, dots ARE the right picture; connecting them implies values where none exist.

Targeted response

Check whether the function is defined between recorded inputs. If the input is something like a day-number, no value exists at 'day 2.5,' so connecting Monday's dot to Tuesday's would invent data. The discrete-vs-continuous distinction in the inline strip above is the rule: dots for discrete, line for continuous.

Student says

Reports the domain of a real-world function as (−∞, ∞) because 'mathematically the formula works for any number.'

What it reveals

Ignored the real-world restriction. The formula's mathematical domain isn't the function's MODELLED domain. A bus-time function uses formulas internally, but the function itself is only defined where the bus is actually running.

Targeted response

The domain belongs to the function, including the real-world constraints. A bus route from 0 to 24 minutes has domain [0, 24], even if the underlying formula would extend further. When you describe a domain, mention the constraints the real situation imposes; the math has to respect them.

Student says

Confuses domain and range. 'The domain is the y-values; the range is the x-values.'

What it reveals

Reversed input and output. The domain is the INPUT set (x-axis side); the range is the OUTPUT set (y-axis side).

Targeted response

Pin the words to the axes: domain on the x-axis side (inputs), range on the y-axis side (outputs). The InputWindowExplorer above labels both clearly: the window slides along the x-axis (selecting a domain interval), and the readout shows the matching range on the y-axis side.

Going further

Domain and range come back every time a function appears. In Grade 8 you'll formalize linear functions (y = mx + b); the default domain is all real numbers, but real-world restrictions often narrow it down. In Grade 9 you'll start drawing systems of two equations, where two functions intersect; the domain of the system is the overlap of the two individual domains.

The discrete-vs-continuous distinction you saw here returns later this strand under a different name. In the next Statistics lesson on Mean, Median, Mode, and Range, the same distinction applies to data: counts are discrete, measurements are continuous. The same idea, two different settings.