# 2.1.7: Function Rules for Input-Output Tables

- Page ID
- 4351

## Function Rules for Input-Output Tables

Geri is getting ready to go through the automatic car wash with her mom. Geri’s mom gives her several dollar bills and tells her to use it to get quarters for the car wash. Geri puts a dollar in the change machine and the machine gives her 4 quarters. She puts another dollar in the machine and it gives her 4 more quarters. Geri continues until she has 26 quarters. As she walks back to the car, she begins to think about what she put into the change machine and what came out.

This is a table to represent the change machine’s input and output.

Input (dollars) |
Output (quarters) |

6 | 24 |

5 | 20 |

4 | 16 |

3 | 12 |

What rule could Geri write to represent what happened to the input to equal the output?

In this concept, you will learn to evaluate and write **function** rules for an **input-output table**.

### Writing Function Rules for Input-Output Tables

A **function** is when one variable or term depends on another according to a rule. There is a special relationship between the two variables of the function where each value in the input applies to only one value in the output. These rules are called **function rules**, because they explain how the function operates. The function rule is the same thing as the expression. Here are some hints for writing function rules:

- Decipher the
**pattern**of the function by asking, “What happened to the input to get the output?” - Write the rule as an expression.

Take a look at the following function rule and determine if it is a rule for the data in the table below.

x+4

Input |
Output |

2 | 5 |

3 | 6 |

4 | 7 |

5 | 8 |

First, substitute the input values in for x to see if you get the corresponding output value.

x+4

2+4

6

This does not equal the corresponding output value of 5.

Look at the other input values. Each term in the input became the term in the output when 3 was added to it. The rule states that four was added. Therefore, this is not a viable rule.

Here is another function.

5x

Determine if 5x is a function rule for the data in the table below.

Input |
Output |

20 | 100 |

10 | 50 |

5 | 25 |

1 | 5 |

First, substitute the input values in for x to see if you get the corresponding output value.

5x

5(20)

100

Substitute another input value.

5x

5(10)

50

5x

5(5)

25

5x

5(1)

5

So, yes it is. In this case, each term in the input was multiplied by five to get the term in the output. Therefore this rule does work for this table.

### Examples

Example 1.7.1

Earlier, you were given a problem about Geri and the change machine.

Geri knows that there are 4 quarters in a dollar, and that is why she put 6 dollars in the machine and received 24 quarters. How can Geri write this as a function rule?

This is a table to represent the change machine’s input and output.

Input (dollars) |
Output (quarters) |

6 | 24 |

5 | 20 |

4 | 16 |

3 | 12 |

**Solution**

First, look at the table and ask yourself, “What happened to x (input) to get y (output)?”

What happened to 5 to get 50? What happened to 6 to get 60 and so forth? If you look carefully, you will see that the input value (x) is multiplied by 10 to get the output value.

Next, use a variable for the input and write the rule.

You can write it as an expression, x(10) or 10x. This is the function rule, 10x.

Then, see if the function rule 10x works for each term in the table by plugging the input into the expression and seeing if it equals the listed output?

10x

10(5)

50

10x

10(6)

60

10x

10(7)

70

10x

10(8)

80

The answer is yes, this rule works for this table.

Example 1.7.2

Write a function rule to represent the data in this table.

Input |
Output |

3 | 5 |

5 | 9 |

7 | 13 |

8 | 15 |

10 | 19 |

**Solution**

First, look at the table and ask yourself, “What happened to x (input) to get y (output)?”

Here two operations were performed. The input value was multiplied by two and then one was subtracted.

Next, use a variable for the input and write the rule.

2(x)−1

The answer or function rule is 2x−1.

Then, see if the function rule 2x−1 works for each term in the table by plugging the input into the expression and seeing if it equals the listed output.

Substitute the input values in for x in the function 2x−1 to see if you get the results in the output column.

2x−1

2(3)−1

6−1

5 (output)

2x−1

2(5)−1

10−1

9 (output)

2x−1

2(7)−1

14−1

13 (output)

2x−1

2(8)−1

16−1

15 (output)

2x−1

2(10)−1

20−1

19 (output)

The answer is correct.

Example 1.7.3

Determine whether the following rule makes sense for the input-output table.

Rule: 4x

Input |
Output |

2 | 10 |

3 | 15 |

5 | 25 |

6 | 30 |

**Solution**

First, let the input value be the variable x.

Next, substitute the input values in the expression for x.

4x=10 (output)

4(2)=10

8≠10

The answer is no, this rule does not work for this table.

Example 1.7.4

Determine whether the following rule makes sense for the input-output table.

Rule: 2x−1

Input |
Output |

2 | 3 |

3 | 5 |

4 | 7 |

6 | 11 |

**Solution**

First, let the input value be the variable x.

Next, substitute the input values in the expression for x.

2x−1=3 (output)

2(2)−1=3

4−1=3

3=3

2x−1=5

2(3)−1=5

6−1=5

5=5

2x−1=7

2(4)−1=7

8−1=7

7=7

2x−1=11

2(6)−1=11

12−1=11

11=11

The answer is yes, this rule does work for this table.

Example 1.7.5

Determine whether the following rule makes sense for the input-output table.

Rule: 3x

Input |
Output |

2 | 6 |

3 | 9 |

4 | 12 |

6 | 18 |

**Solution**

First, let the input value be the variable x.

Next, substitute the input values in the expression for x.

3x=6 (output)

3(2)=6

6=6

3x=9

3(3)=9

9=9

3x=12

3(4)=12

12=12

3x=18

3(6)=18

18=18

The answer is yes, this rule does work for this table.

### Review

Evaluate each given function rule to determine if the rule works for the data in the table.

- 2x+2

Input |
Output |

2 | 6 |

3 | 8 |

4 | 10 |

5 | 12 |

- 3x

Input |
Output |

1 | 4 |

2 | 6 |

3 | 10 |

- 5x+1

Input |
Output |

1 | 6 |

2 | 11 |

3 | 16 |

4 | 21 |

- 2x

Input |
Output |

1 | 3 |

2 | 5 |

3 | 7 |

- 3x−1

Input |
Output |

1 | 2 |

2 | 5 |

3 | 8 |

4 | 11 |

- 2x+1

Input |
Output |

1 | 3 |

2 | 4 |

3 | 6 |

5 | 10 |

- 4x

Input |
Output |

0 | 0 |

1 | 4 |

2 | 8 |

3 | 12 |

- 6x−3

Input |
Output |

1 | 3 |

2 | 9 |

3 | 15 |

- 2x

Input |
Output |

0 | 0 |

1 | 2 |

2 | 4 |

3 | 6 |

- 3x−3

Input |
Output |

1 | 0 |

2 | 3 |

4 | 9 |

5 | 12 |

Create a table for each rule.

- 5x
- 6x+1
- 2x−3
- 3x+3
- 4x+1

### Review (Answers)

To see the Review answers, open this PDF file and look for section 12.11.

### Vocabulary

Term | Definition |
---|---|

Function |
A function is a relation where there is only one output for every input. In other words, for every value of x, there is only one value for y. |

Input-Output Table |
An input-output table is a table that shows how a value changes according to a rule. |

Pattern |
A pattern is a series of pictures, numbers or other symbols that repeat in some way according to a rule. |

### Additional Resources

Video:

PLIX: Play, Learn, Interact, eXplore: **Function Rules for Input-Output Tables: Soda Sugar Function Table**

Practice: **Function Rules for Input-Output Tables**