What can go in? What can come out?
We have been talking about inputs and outputs. Domain and range are the names mathematicians use when they want to describe all the possible inputs and all the possible outputs.
Domain
The domain is the set of values that are allowed to go into the relation or function. (All values)
Range
The range is the set of values that can come out after the relation or function has done its job. (All values)
Key idea
Domain is what can go in. Range is what can come out.
Analogy: a vending machine
Imagine a standard vending machine. The domain is the list of buttons you are allowed to press, like A1, B2, or C3. If you press Z12 and there is no Z12 button, nothing happens because Z12 is outside the domain.
The range is the set of snacks the machine can actually give you, like chips, drinks, or chocolate bars. You cannot press a button and get a luxury watch from a snack machine, so a luxury watch is outside the range.
Domain and range from ordered pairs
Ordered pairs are the easiest place to start. The first values are the inputs, so they form the domain. The second values are the outputs, so they form the range.
Example 1
Domain
Range
Important: sets do not repeat values
For , the range is , not . The output happened twice, but we only list it once.
From a table
A table is the same idea in a different format. Find the input row or column for the domain. Find the output row or column for the range.
| Input | ||||
|---|---|---|---|---|
| Output |
Domain
Range
The output 3 appears twice, we list it only once.
From a graph
Graphs give the same information visually. Domain is the left-to-right spread of the graph. Range is the bottom-to-top spread of the graph.
Separate points
Domain
Range
Line segment
Domain
Range
Starts then continues
Domain
Range
Restrictions can come from context
Sometimes the rule might work algebraically, but the real situation limits what inputs make sense.
Time
If a model starts now, negative time usually does not make sense.
Tickets
You can sell , , or tickets, but not tickets.
Length
A side length cannot be negative, so the domain may need to start at .
Summary
- Domain means all possible inputs.
- Range means all possible outputs.
- From ordered pairs, domain uses the first values and range uses the second values.
- From a graph, domain is left-to-right and range is bottom-to-top.
- Sets do not repeat values.