Alfred is getting ready to decorate the yard for Halloween. He always lights both sides of the driveway with carved jack-o-lanterns. Alfred knows that Jacob, a local farmer sells his smaller pumpkins for $2.75 each. He needs to write some type of a function rule to determine the cost of 25, 35, 45 and 50 pumpkins. How can Alfred use the information he knows to write the function rule?
In this concept, you will learn to write function rules.
Function Rule
A function rule expresses the output value in terms of all operations performed on the input value. A function rule can be expressed either using words or symbols. When a function rule is written from the information given in an input/output table, the pattern represented in the table must be represented by the function rule.
Let’s write a function rule for each of the following input/output tables:
Input () | Output () |
2 | 7 |
3 | 10 |
4 | 13 |
5 | 16 |
First, look for a pattern between the input numbers and the output numbers.
The values of the output numbers are very close to the input number times three.
Next, try the function rule to see if it works.
Next, if the function rule does not give the output number, determine what value could be added or subtracted from the original function rule to give the desired output number.
Each of the given output numbers is one greater than the output values found by .
Next, write a new function rule to satisfy the values given in the table.
Next, try the new function rule to see if it works.
The function rule gives the output values shown in the table when the given input values are used.
Input () | Output () |
-3 | -2 |
-1 | 2 |
1 | 6 |
3 | 10 |
First, look for a pattern between the input numbers and the output numbers.
The pattern between the values of the output numbers and the input number is not obvious. Perhaps trial and error may work to get started. Begin by doubling each of the input numbers.
Next, try the function rule to see if it works.
Next, if the function rule does not give the output number, determine what value could be added or subtracted from the original function rule to give the desired output number.
When in the function rule , the output number was . If 4 were added to this, then the value of ‘’ would be 6 which is the given output number in the table.
Next, write a new function rule to satisfy the values given in the table.
Next, try the new function rule to see if it works.
The function rule gives the output values shown in the table when the given input values are used.
Input ( | )Output () |
2 | 7 |
3 | 10 |
4 | 13 |
5 | 16 |
The above input/output table can also be written as
2 | 7 |
3 | 10 |
4 | 13 |
5 | 16 |
The input values are now represented by ‘’ and the output numbers ‘’ are represented by .
Therefore, the function rule can also be written as . This way of writing a function rule is known as function notation.
The above function notation can be read as:
There is a function ‘’ written in terms of the variable ‘’ such that it equals or
of equals .If a function written in function notation form were given then to find the value of the function for the input value ‘3’ the function notation could be written as.
If find .
First, substitute ‘3’ for the value of ‘.’
Next, perform the multiplication to clear the parenthesis.
Then, perform the addition on the right side of the function.
The answer is -4.
If then .
Examples
Example 1
Earlier, you were given a problem about Alfred and the pumpkins.
Alfred needs to buy small pumpkins that cost $2.75 each. Alfred needs to write a function rule to figure out the cost of 25, 35, 45 and 50 pumpkins. What function rule can Alfred write using function notation?
First, he can create a table to represent the information from the problem.
25 | |
35 | |
45 | |
60 |
Next, write a function rule, using function notation that can be used to complete the table.
Next, use the function rule to determine the value of for each of the given ‘’ values.
If find .
Next, substitute 25 for ‘’ in the function rule.
Then, perform the multiplication on the right side of the function rule.
The answer is 68.75.
Twenty-five pumpkins will cost $68.75.
If find .
Next, substitute 35 for ‘’ in the function rule.
Then, perform the multiplication on the right side of the function rule.
The answer is 96.25.
Thirty-five pumpkins will cost $96.25.
If find .
Next, substitute 45 for ‘’ in the function rule.
Then, perform the multiplication on the right side of the function rule.
The answer is 123.75.
Forty-five pumpkins will cost $123.75.
If find .
Next, substitute 50 for ‘’ in the function rule.
Then, perform the multiplication on the right side of the function rule.
The answer is 137.50.
Fifty pumpkins will cost $137.50.
Example 2
For the given table, write a function rule using function notation to represent the information given in the table.
9 | 8 |
11 | 10 |
15 | 14 |
17 | 16 |
Remember, the input numbers have been replaced with ‘’ and the output numbers have been replaced with .
First, look at the two columns of given numbers to determine a pattern between the values.
The numbers in the second column are one less than those in the first column.
Next, write a function rule, using function notation, to represent the pattern.
Next, test the function rule for each of the given ‘’ values.
If find .
Next, substitute 9 for ‘’ in the function rule.
Then, perform the subtraction on the right side of the function rule.
The answer is 8.
If find .
Next, substitute 11 for ‘’ in the function rule.
Then, perform the subtraction on the right side of the function rule.
The answer is 10.
If find .
Next, substitute 15 for ‘’ in the function rule.
Then, perform the subtraction on the right side of the function rule.
The answer is 14.
If find .
Next, substitute 17 for ‘’ in the function rule.
Then, perform the subtraction on the right side of the function rule.
The answer is 16.
All of the values calculated using the function rule match the values given in the table.
The function rule represents the information given in the table.
Example 3
Write a function rule using function notation to represent the information given in the following table.
12 | 6 |
9 | 4.5 |
7 | 3.5 |
4 | 2 |
First, look at the two columns of given numbers to determine a pattern between the values.
The numbers in the second column are one-half the numbers in the first column.
Next, write a function rule, using function notation, to represent the pattern.
Next, test the function rule for each of the given ‘’ values.
If find .
Next, substitute 12 for ‘’ in the function rule.
Then, perform the multiplication on the right side of the function rule.
The answer is 6.
If find .
Next, substitute 9 for ‘’ in the function rule.
Then, perform the multiplication on the right side of the function rule.
The answer is 4.5.
If find .
Next, substitute 7 for ‘’ in the function rule.
Then, perform the multiplication on the right side of the function rule.
The answer is 3.5.
If find .
Next, substitute 4 for ‘’ in the function rule.
Then, perform the multiplication on the right side of the function rule.
The answer is 2.
All of the values calculated using the function rule match the values given in the table.
The function rule represents the information given in the table.
Example 4
Write a function rule using function notation to represent the information given in the following table.
9 | -27 |
11 | -33 |
15 | -45 |
16 | -48 |
First, look at the two columns of given numbers to determine a pattern between the values.
The numbers in the second column are negative three times the numbers in the first column.
Next, write a function rule, using function notation, to represent the pattern.
Next, test the function rule for each of the given ‘’ values.
If find .
Next, substitute 9 for ‘’ in the function rule.
Then, perform the multiplication on the right side of the function rule.
The answer is -27.
If find .
Next, substitute 11 for ‘’ in the function rule.
Then, perform the multiplication on the right side of the function rule.
The answer is -33.
If find .
Next, substitute 15 for ‘’ in the function rule.
Then, perform the multiplication on the right side of the function rule.
The answer is -45.
If find
.Next, substitute 16 for ‘’ in the function rule.
Then, perform the multiplication on the right side of the function rule.
The answer is -48.
All of the values calculated using the function rule match the values given in the table.
The function rule represents the information given in the table.
Example 5
1 | 4 |
2 | 7 |
3 | 10 |
4 | 13 |
First, look at the two columns of given numbers to determine a pattern between the values.
The numbers in the second column are one greater than three times the values in the first column.
Next, write a function rule, using function notation, to represent the pattern.
Next, test the function rule for each of the given ‘’ values.
If find .
Next, substitute 1 for ‘’ in the function rule.
Then, perform the multiplication on the right side of the function rule.
The answer is 4.
If find .
Next, substitute 2 for ‘’ in the function rule.
Then, perform the multiplication on the right side of the function rule.
The answer is 7.
If find .
Next, substitute 3 for ‘’ in the function rule.
Then, perform the multiplication on the right side of the function rule.
The answer is 10.
If find .
Next, substitute 4 for ‘’ in the function rule.
Then, perform the multiplication on the right side of the function rule.
The answer is 13.
All of the values calculated using the function rule match the values given in the table.
The function rule represents the information given in the table.
Review
1. Write a function rule for the following data.
9 | 12 |
11 | 9 |
15 | 7 |
16 | 4 |
2. Write a function rule for the following data.
-2 | -6 |
0 | -4 |
2 | -2 |
4 | 0 |
3. Write a function rule for the following data.
0 | 0 |
1 | 2 |
4 | 8 |
5 | 10 |
4. Write a function rule for the following data.
1 | 0 |
2 | 2 |
4 | 6 |
8 | 14 |
5. Write a function rule for the following data.
2 | 1 |
4 | 2 |
8 | 4 |
10 | 5 |
18 | 9 |
6. Write a function rule for the following data.
6 | 2 |
9 | 3 |
15 | 5 |
21 | 7 |
30 | 10 |
7. Write a function rule for the following data.
2 | 3 |
9 | 10 |
15 | 16 |
21 | 22 |
30 | 31 |
8. Write a function rule for the following data.
3 | -6 |
9 | -18 |
15 | -30 |
20 | -40 |
24 | -48 |
Solve the following problem.
9. Sandwiches cost $3.45 each. Write a function rule for the cost, , for a number of sandwiches, .
10. Now, find the cost of 3 sandwiches.
11. Find the cost of 6 sandwiches.
12. Find the cost of 9 sandwiches.
13. Find the cost of 2 sandwiches.
14. Find the cost of 8 sandwiches.
15. Find the cost of a dozen sandwiches.
Review (Answers)
To see the Review answers, open this PDF file and look for section 9.3.
Resources