Suppose you have a function that allows you to input the number of years you have until retirement and which outputs the amount of money you should have saved. How would you go about determining the domain of such a function? How would you decide on the range?
The Domain and Range of a Function
Using Tables to Represent Functions
A function really is an equation. Therefore, a table of values can be created by choosing values to represent the independent variable. The answers to each substitution represent .
Recall from the previous concept that Joseph and his friends decided to go to a theme park where each ride costs $2.00. Joseph can represent the cost of rides at a theme park by the function .
Let's use Joseph’s function to generate a table of values. Because the variable represents the number of rides Joseph will pay for, negative values do not make sense and are not included in the list of values of the independent variable.
As you can see, the list cannot include every possibility. A table allows for precise organization of data. It also provides an easy reference for looking up data and offers a set of coordinate points that can be plotted to create a graphical representation of the function. A table does have limitations; namely it cannot represent infinite amounts of data and it does not always show the possibility of fractional values for the independent variable.
Domain and Range
The set of all possible input values for the independent variable is called the domain. The domain can be expressed in words, as a set, or as an inequality. The values resulting from the substitution of the domain represent the range of a function.
Let's once again take a look at Joseph's function about the cost of the rides at the theme park.
The domain of the function representing Joseph’s situation will not include negative numbers because it does not make sense to ride negative rides. He also cannot ride a fraction of a ride, so decimals and fractional values do not make sense as input values. Therefore, the values of the independent variable r will be whole numbers beginning at zero.
Domain: All whole numbers
The values resulting from the substitution of whole numbers are whole numbers times two. Therefore, the range of the function representing Joseph’s situation is still whole numbers, just twice as large.
Range: All even whole numbers
Let's find the domain and range of the following situations:
- A tennis ball is bounced from a height and bounces back to 75% of its previous height.
The function representing this situation is , where represents the previous bounce height.
Domain: The previous bounce height can be any positive number, so .
Range: The new height is 75% of the previous height, and therefore will also be any positive number (decimal or whole number), so the range is all positive real numbers.
- when the domain is .
Domain: The domain is given to be 0, 1, 2, 3
Since the range is the output, we plug in the values in the domain to see what values we will get out.
Notice that we used function notation to keep track of which input value gave us which output value. This will be useful later.
Earlier, you were asked to pretend that you had a function that allows you to input the number of years you have until retirement and which outputs the amount of money you should have saved. How would you go about determining the domain of such a function? How would you decide on the range?
Since input is the number of years until retirement, the domain should not include negative numbers and the numbers should be whole numbers. Theoretically, the domain is all positive whole numbers but due to the lifespan of humans, the domain is more likely to be all positive whole numbers below 100. The range will all positive numbers since the amount you have saved should be positive and there can be decimals when talking about money. Depending on how much you make, the amount you have saved can be large.
For Examples 2-4, use the following information: Eli makes $20 an hour tutoring math.
Write a function expressing the amount of money Eli earns.
Let represent money earned for hours. Then the function is .
What are the domain and range of the function from Example 2?
Since hours worked can only be zero or positive, is the domain. If Eli works for zero hours, she will earn zero dollars. She could also earn any positive amount of money, so the range is also all non-negative real numbers. That is, .
Suppose Eli will only work for either 1, 1.5 or 2 hours. Express this domain and the corresponding range in a table.
First we plug the domain into our function:
Putting this into a table, we get:
- Define domain.
- True or false? Range is the set of all possible inputs for the independent variable.
- Generate a table from for .
In 4-8, identify the domain and range of the function.
- Dustin charges $10 per hour for mowing lawns.
- Maria charges $25 per hour for math tutoring, with a minimum charge of $15.
- Make up a situation in which the domain is all real numbers but the range is all whole numbers.
- What is the range of the function when the domain is , , 0, 1, 2?
- What is the range of the function when the domain is , 1.5, 5?
- Angie makes $6.50 per hour working as a cashier at the grocery store. Make a table of values that shows her earnings for the input values 5, 10, 15, 20, 25, 30.
- The area of a triangle is given by: . If the base of the triangle is 8 centimeters, make a table of values that shows the area of the triangle for heights 1, 2, 3, 4, 5, and 6 centimeters.
- Make a table of values for the function for the input values , 0, 1, 2, 3, 4, 5.
To see the Review answers, open this PDF file and look for section 1.11.