7.7: Functions
Introduction
A Day at the Amusement Park
The month has flown by and in two days Marc and Kara will head home. They have had a terrific time in Boston and while they are happy to be heading home, they are also sad to leave. For a final trip, Grandma and Grandpa decide to go to the amusement park. Everyone is excited.
At the amusement park, different rides take a different number of tickets. Kara and Marc figure out that there are 9 rides that they would like to ride. These are their favorites and any others are just a bonus. Most often the teens will need three tickets for each ride. Each ride is a function of the number of tickets needed. Marc and Kara go up to the ticket booth and come back with 21 tickets each. If they each have 21 tickets, how many rides can they go on for those tickets?
Because each ride is a function of the number of tickets, you will need to know about functions to figure out this problem. Pay attention to this lesson and at the end you will be able to help with the day at the amusement park.
What You Will Learn
In this lesson, you will learn to demonstrate the following skills:
 Identify the domain and range of a simple linear function.
 Evaluate a given function rule using an inputoutput table.
 Write a function rule from an inputoutput table.
 Model and solve realworld problems involving patterns of change.
Teaching Time
I. Identify the Domain and Rangle of a Simple Linear Function
We use the word “function” all the time in everyday speech. We say things like “It’s a function of time” or “It’s a function of price.” This is a real life application of a mathematical concept called a function. You will learn how to apply functions to realworld examples, but first let’s look at what a function is and how we can understand it better.
What is a function?
A function is a set of ordered pairs in which the first element in any pair corresponds to exactly one second element.
For example, look at this set of ordered pairs. Notice that braces, {}, are used to surround the set of ordered pairs.
In (1, 6), 1 is the first element and
6 is the second element.
Each of the first elements––0, 1, 2, and 3––corresponds to exactly one second element. So, this set of ordered pairs represents a function.
Let's take a look at another set of ordered pairs.
The first element, 2, corresponds
to two different second elements––4 and 8.
Since one of the first elements corresponds to two different second elements, the set of ordered pairs above does not represent a function.
We can use these criteria to determine whether or not a series of ordered pairs forms a function.
Now that you know how to identify a function, let’s look at some of the key words associated with functions.
 Domain
 Range
The domain of a function is the set of all the first elements in a function. The range is the set of all the second elements in a function.
Let’s look at an example and identify the domain and range of the series of ordered pairs.
Example
The ordered pairs below represent a function
{(0, 10), (2, 8), (4, 6), (6, 4)}
a. Identify the domain of the function.
b. Identify the range of the function.
Consider part first.
The domain is the set of all the first elements in the function. These first elements are underlined below.
The domain of this function is {0, 2, 4, 6}.
Next, consider part .
The range is the set of all the second elements in the function. These second elements are underlined below.
The range of this function is {10, 8, 6, 4}.
7P. Lesson Exercises
Identify the domain and range of each function.
 (1, 3) (2, 4) (5, 7) (9, 11)
 (8, 12) (9, 22) (4, 7) (2, 5)
Take a few minutes to check your work with a friend.
There are different ways to show a function. Ordered pairs are one way to illustrate a function. Let’s look at another way.
II. Evaluate a Given Function Rule Using an InputOutput Table
An inputoutput table, like the one shown below, can also be used to represent a function. Because of that, we can also call this kind of a table a function table.
Input number  Output number 

0  0 
1  3 
2  6 
3  9 
Each pair of numbers in the table is related by the same function rule. That rule is: multiply each input number (value) by 3 to find each output number (value). You can use a rule like this to find other values for this function, too.
Working with function tables and function rules is a lot like being a detective! You have to use the clue of the function rule to complete a table! Patterns are definitely involved in this work.
Now let’s look at how we can use a function rule to complete a table.
Example
The rule for the inputoutput table below is: add 1.5 to each input number to find its corresponding output number. Use this rule to find the corresponding output numbers for the given input numbers in the table.
Input number  Output number 

0  
1  
2.5  
5  
10 
To find each missing output number, add 1.5 to each input number. Then write that output number in the table.
Input number  Output number  

0  1.5  
1  2.5  
2.5  4  
5  6.5  
10  11.5 
The table above shows five ordered pairs that match the given function rule. Let’s write the answer in ordered pairs.
The answer is (0, 1.5) (1, 2.5) (2.5, 4) (5, 6.5) (10, 11.5).
Now let’s look at how to create a function table given a rule.
Example
The rule for a function is: multiply each value by 4 and then subtract 2 to find each value. Make a function table that shows three ordered pairs of values for a function that follows this rule.
First, choose three values for the table. You may choose any numbers, but let's select some small numbers that will be easy to work with, such as 1, 2, and 3. Then, to find the values, multiply each of those values by 4 and subtract 2 from that product.
1  2 

2  6 

3  10 

The table above shows five ordered pairs that match the given function rule.
The answer is (1, 2) (2, 6) (3, 10).
We can also write a function rule in the form of an equation. Just like an equation shows the relationship between values, the function table does too. Let’s look at an example.
Example
The equation describes a function. Use this rule to find the missing values in the table below.
0  1 
3  2 
9  
8 
The table requires you to find the value of when . To find the missing value, substitute the given value, 9, for into the equation. Then solve for .
So, when . This means that (9, 4) is an ordered pair for this function.
The table also requires you to find the value of when . To find the missing value, substitute the given value, 8, into the equation. Then solve for as you would solve any twostep equation.
So, when . This means that (21, 8) is an ordered pair for this function.
The completed table will look like this.
0  1 
3  2 
9  4 
21  8 
You could say that an equation is another way of writing a function rule.
7Q. Lesson Exercises
1. Complete the table given the rule "add 2". Write the answer in ordered pairs.
Input  Output 

3  
5  
6 
2. Create a function table given the rule (input times two, plus three). Use three values.
Check your work with a peer. Did you write your answer as a set of ordered pairs?
III. Write a Function Rule From an InputOutput Table
Up until now, you have been given a function rule or an equation. Now it is time to use those detective skills and figure out the rule from a given table.
Remember, thinking like a detective looking for clues will help you write function rules.
One strategy that might be helpful in this task is to use guess and check to figure out the relationship between the values in the domain and the values in the range. Remember the values are the domain and the values are the range.
Example
Identify the rule for this inputoutput table. Describe the rule in words.
Input number  Output number 

10  1 
20  2 
30  3 
40  4 
Use guess and check to determine how to each pair of values is related.
First, notice that each output number (value) is less than its corresponding input number (value). There are two operations that help numbers become smaller. So, the rule will involve either subtraction or division.
Look for a subtraction rule first.
Consider the ordered pair (10, 1).
, so the rule could be to subtract 9 from each input number to find the corresponding output number. Check to see if that rule works for the other pairs of values in the table.
Consider the ordered pair (20, 2).
, not 2, so that rule does not work all the pairs of values in the table.
Look for a division rule next.
Consider the ordered pair (10, 1) again.
, so the rule could be to divide each input number by 10 to find the corresponding output number. Check to see if that rule works for the other pairs of values in the table.
Consider the ordered pair (20, 2).
, so the rule works for that ordered pair.
Consider the ordered pair (30, 3).
, so the rule works for that ordered pair.
Consider the ordered pair (40, 4).
, so the rule works for that ordered pair.
The rule for this function table is to divide each input number (value) by 10 to find its corresponding output number (value).
In this example, we wrote the function rule in words. We can also use an equation to express a function rule. Think about this past example.
The rule was “Divide each value by 10 and that will give you the value.”
We could write .
This would have been the same rule expressed as an equation.
Let’s look at another example where we will write an equation to represent a function rule.
Example
Identify the rule for this function table. Describe the rule in words. Then write an equation to represent the relationship between the pairs of values in the table.
1  5 
2  10 
3  15 
4  20 
Use guess and check to determine how each pair of values is related.
For example, notice that each value is greater than its corresponding value. So, the rule will involve either addition or multiplication.
Look for an addition rule first.
Consider the ordered pair (1, 5).
, so the rule could be to add 4 to each value to find the corresponding yvalue. Check to see if that rule works for the other pairs of values in the table.
Consider the ordered pair (2, 10).
, not 10, so that rule does not work all the pairs of values in the table.
Look for a multiplication rule next. Each value in the table is 5 more than the previous value, so the rule may involve multiplying by 5.
Consider the ordered pair (1, 5).
, so the rule could be to multiply each value by 5 to find the corresponding value. Check to see if that rule works for the other pairs of values in the table.
Consider the ordered pair (2, 10).
, so the rule works for that ordered pair.
Consider the ordered pair (3, 15).
, so the rule works for that ordered pair.
Consider the ordered pair (4, 20).
, so the rule works for that ordered pair.
The rule for this function table is "multiply each value by 5 to find its corresponding value".
Now that we have a rule in words, let's write an equation to show the same relationship. Remember, to find each value, you must multiply each value by 5. So, the equation would be:
or .
Yes it is. You will also become better at figuring out the rules over time.
One thing to consider is that sometimes, a function rule will involve more than one step. In other words, it will have two operations in it, not just one.
Example
Identify the rule for this function table. Describe the rule in words. Then write an equation to represent that rule.
1  6 
2  11 
3  16 
4  21 
Use guess and check to determine how to each pair of values is related.
For example, notice that each value is greater than its corresponding value. So, the rule will involve either addition or multiplication.
Since each value in the table is 5 more than the previous value, the rule may involve multiplying by 5.
Look for a twostep rule that involves multiplying by 5.
Consider the ordered pair (1, 6).
and , so the rule could be to multiply each input number by 5 and then to add 1 to find each value. Check to see if that rule works for the other pairs of values in the table.
Consider the ordered pair (2, 11).
and , so the rule works for that ordered pair.
Consider the ordered pair (3, 16).
and , so the rule works for that ordered pair.
Consider the ordered pair (4, 21).
and , so the rule works for that ordered pair.
The rule for this function table is to multiply each value by 5 and then add 1 to find its corresponding value.
Now that we have a rule in words, let's write an equation to show the same relationship. Remember, to find each value, we must multiply each value by 5 and then add 1. So, the equation would be
7R. Lesson Exercises
Look at each function table and write each rule as an equation.
1.
5  10 
7  14 
9  18 
2.
3  5 
4  7 
6  11 
3.
2  1 
4  3 
6  5 
Take a few minutes to check your answers with a friend. Correct any errors and then continue with the next section.
IV. Model and Solve RealWorld Problems Involving Patterns of Change
Functions can also help us describe realworld situations and solve realworld problems.
Example
The number of quarters needed to wash clothes in a washing machine at a laundromat is a function of the number of loads of laundry that need to be washed. This table shows the number of quarters needed to wash 1, 2, and 3 loads of laundry.
Number of Loads  Number of Quarters 

1  4 
2  8 
3  12 
4  ? 
5  ? 
a. Write an equation to describe the relationship between the pairs of values in the table above.
b. How many quarters are needed to wash 5 loads of laundry?
Consider part first.
Use guess and check to determine how to each pair of values is related.
For example, notice that each value is greater than its corresponding value. So, the rule will involve either addition or multiplication.
Since each value in the table is 4 more than its corresponding value, the rule may involve multiplying by 4.
Look for a rule that involves multiplying by 4.
Consider the ordered pair (1, 4).
, so the rule could be to multiply each value (or number of loads) by 4 to find each value (or number of quarters). Check to see if that rule works for the other pairs of values in the table.
Consider the ordered pair (2, 8).
, so the rule works for that ordered pair.
Consider the ordered pair (3, 12).
, so the rule works for that ordered pair.
So, the rule for this function table could be to multiply each value by 4 to find its corresponding value. We could also say that the rule is to multiply the number of loads of laundry by 4 to find the number of quarters needed.
Now that we have our rule written out in words, let’s write an equation that expresses the same thing.
Remember, to find each value, you must multiply each value by 4. So, the equation would be
Next, use the equation you wrote for part to solve part .
Part asks how many quarters are needed to wash 5 loads of laundry. Substitute 5 for in the equation.
20 quarters would be needed to wash 5 loads of laundry.
Now we can go back to the problem in the introduction and help with the amusement park tickets.
Real Life Example Completed
A Day at the Amusement Park
Here is the original problem once again. Reread it and underline any important information.
The month has flown by and in two days Marc and Kara will head home. They have had a terrific time in Boston and while they are happy to be heading home, they are also sad to leave. For a final trip, Grandma and Grandpa decide to go to the amusement park. Everyone is excited.
At the amusement park, different rides take a different number of tickets. Kara and Marc figure out that there are 9 rides that they would like to ride. These are their favorites and any others are just a bonus. Most often the teens will need three tickets for each ride. Each ride is a function of the number of tickets needed. Marc and Kara go up to the ticket booth and come back with 21 tickets each. If they each have 21 tickets, how many rides can they go on for those tickets?
The first thing to note is that each ride is a function of the number of tickets needed. We can call the ride and the ticket number .
You know from this lesson that one of the best ways to work with a function is through a function table. Let’s build one now.
Rides  Tickets 

We can say that 1 ride is equal to 3 tickets. Let’s choose some other ride numbers and work our way up to 21 tickets.
Rides  Tickets 

1  3 
2  6 
3  9 
21 
Look at the pattern. We can write an equation to show this pattern.
We want to figure out how many rides the teens can go on for 21 tickets. 21 is the in the equation. We can use what we have learned about solving equations to solve for . This will give us the number of rides they can go on for 21 tickets.
Rides  Tickets 

1  3 
2  6 
3  9 
7  21 
The teens can go on 7 rides each for the 21 tickets. To ride all nine rides, they will need six more tickets each.
Vocabulary
Here are the vocabulary words that are found in this lesson.
 Function
 A set of ordered pairs in which one element corresponds to exactly one other element. Functions might be expressed as a set of ordered pairs or in a table.
 Domain
 the value of an ordered pair or the values in a set of ordered pairs.
 Range
 the value of an ordered pair or the values in a set of ordered pairs.
 InputOutput Table
 a way of showing a function using a table where the value is shown to cause the value through a function rule.
 Function Table
 another name for an inputoutput table.
 Function Rule
 a written equation that shows how the domain and range of a function are related through operations.
Technology Integration
James Sousa, Introduction to Functions, Part 1
James Sousa, Introduction to Functions, Part 2
James Sousa, Write a Cost Function and Complete a Table of Values
James Sousa, Complete a Table of Values Given a Function Rule
James Sousa, Write a Function Rule Given a Table of Values
James Sousa, Another Example of How to Write a Function Rule Given a Table of Values
James Sousa, A Third Example of How to Write a Function Rule Given a Table of Values
Time to Practice
Directions: Identify whether or not each series of ordered pairs forms a function.
1. (1, 3)(2, 6)(2, 5) (3, 7)
2. (2, 5) (3, 6) (4, 7) (5, 8)
3. (6, 1) (7, 2) (8, 3)
4. (5, 2) (5, 3) (5, 4) (5, 5)
5. (81, 19)(75, 18) (76, 18) (77, 19)
Directions: Identify the domain in numbers 1 – 5.
6.
7.
8.
9.
10.
Directions: Identify the range in numbers 1 – 5.
11.
12.
13.
14.
15.
Directions: Use the given rule or equation to complete the table.
16. The rule for the inputoutput below table is: multiply each input number by 7 and then add 2 to find each output number. Use this rule to find the corresponding output numbers for the given input numbers in the table. Fill in the table with those numbers.
Input number  Output number 

0  
1  
2  
3  
4 
17. The rule for this function table is: subtract 6 from each value to find each value. Use this rule to find the missing numbers in the table. Fill in the table with those numbers.
0  
6  
7  
16 
18. The equation describes a function. Use this rule to find the missing values in the table below.
2  0 
4  1 
8  
6 
Directions: Determine the rule for each table. Use that rule to answer the questions.
19. Identify the rule for this inputoutput table. Describe the rule in words.
Input number  Output number 

1  3 
2  4 
3  5 
4  6 
20. Identify the rule for this function table.
1  2 
2  4 
3  6 
4  8 
a. Describe the rule in words.
b. Write an equation to represent the rule.
21. Identify the rule for this function table.
1  3 
2  5 
3  7 
4  9 
a. Describe the rule in words.
b. Write an equation to represent the rule.
Directions: Solve each problem.
22. The total number of cupcakes Shakir can bake, , is a function of the number of batches of cupcake batter he makes, . This table shows the total number of cupcakes Shakir will bake if he makes 1, 2 or 3 batches of cupcake batter.
Number of Batches of Batter  Total Number of Cupcakes Baked 

1  12 
2  24 
3  36 
4  ? 
5  ? 
a. Write a rule in words to describe the relationship between the pairs of values in the table above.
b. Write an equation to describe the relationship between the pairs of values in the table above.
c. What is the total number of cupcakes that Shakir will bake if he makes 5 batches of batter?
23. For a concert in the auditorium, Ms. Walsh set up 10 chairs on the stage for the performers and 20 chairs in each row for the audience. This equation shows the relationship between , the number of rows of chairs Ms. Walsh set up and , the total number of chairs set up in the auditorium:
.
a. Create a table to show the total number of chairs that would be set up in the auditorium if Ms. Walsh set up 0, 1, 2, 3, or 4 rows of chairs.
b. Identify the domain for the ordered pairs in the table.
c. Explain why the domain shown in the table is a reasonable domain for this function and why including a number less than 0 would not be reasonable.