<meta http-equiv="refresh" content="1; url=/nojavascript/">

Input-Output Tables for Function Rules

Use function rules to complete patterns in tables.
%
Progress
Practice Input-Output Tables for Function Rules
Progress
%
Input-Output Tables for Function Rules

Remember the car wash from the Domain and Range of a Function Concept? Well, here is the problem once again.

Kara and Marc decided to spend one morning helping out at a car wash to benefit a club that their grandparents have participated in for a year.

The car wash was a busy place. At the beginning there weren't any cars, but between 9 a.m. and 10 a.m. the class washed 5 cars. From 10 to 11 a.m., the class washed 10 cars, from 11 a.m. to 12 p.m. the class washed 15 cars and from 12 to 1 p.m. the class washed 20 cars.

Marc kept track of the cars washed each hour.

Hour 1 - 5 cars

Hour 2 - 10 cars

Hour 3 - 15 cars

Hour 4 - 20 cars

The number of cars washed is connected to the number of hours worked. One is a function of the other.

Look at this list and write a function rule.

Then figure out how many cars would be washed in the fifth hour of the car wash.

This Concept will show you how to accomplish this task.

Guidance

An input-output 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 $(x)$ Output number $(y)$
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 ( $x-$ value) by 3 to find each output number ( $y-$ 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.

The rule for the input-output 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 $(x)$ Output number $(y)$
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 $(x)$ Output number $(y)$
0 1.5 $\leftarrow 0+1.5=1.5$
1 2.5 $\leftarrow 1.0+1.5=2.5$
2.5 4 $\leftarrow 2.5+1.5=4.0$
5 6.5 $\leftarrow 5.0+1.5=6.5$
10 11.5 $\leftarrow 10.0+1.5=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.

The rule for a function is: multiply each $x-$ value by 4 and then subtract 2 to find each $y-$ value. Make a function table that shows three ordered pairs of values for a function that follows this rule.

First, choose three $x-$ 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 $y-$ values, multiply each of those values by 4 and subtract 2 from that product.

$x$ $y$
1 2

$\leftarrow 1 \times 4=4$

$4-2=2$

2 6

$\leftarrow 2 \times 4=8$

$8-2=6$

3 10

$\leftarrow 3 \times 4=12$

$12-2=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 one.

The equation $y=\frac{x}{3}+1$ describes a function. Use this rule to find the missing values in the table below.

$x$ $y$
0 1
3 2
9
8

The table requires you to find the value of $y$ when $x = 9$ . To find the missing $y-$ value, substitute the given $x-$ value, 9, for $x$ into the equation. Then solve for $y$ .

$y &= \frac{x}{3}+1\\y &= \frac{9}{3}+1\\y &= 3+1\\y &= 4$

So, when $x = 9, y = 4$ . This means that (9, 4) is an ordered pair for this function.

The table also requires you to find the value of $x$ when $y = 8$ . To find the missing $x-$ value, substitute the given $y-$ value, 8, into the equation. Then solve for $x$ as you would solve any two-step equation.

$y &= \frac{x}{3}+1\\8 &= \frac{x}{3}+1\\8-1 &= \frac{x}{3}+1-1\\7 &= \frac{x}{3}+0\\7 &= \frac{x}{3}\\\\7 \times 3 &= \frac{x}{3} \times 3\\21 &= \frac{x}{\cancel{3}} \times \frac{\cancel{3}}{1}\\21 &= \frac{x}{1}=x$

So, when $y = 8, x = 21$ . This means that (21, 8) is an ordered pair for this function.

The completed table will look like this.

$x$ $y$
0 1
3 2
9 4
21 8

You could say that an equation is another way of writing a function rule.

Use what you have learned to complete the following examples.

Example A

Complete the table given the rule add 2.

Input $(x)$ Output $(y)$
3
5
6

Solution: The answers are 5, 7 and 8.

Example B

Write the rule for the table.

Solution: $y = x + 2$

Example C

Create a function table given the rule $y = x \div 2 + 3$ . Use three values.

Solution: Look at the data below.

Input $(x)$ Output $(y)$
2 4
4 5
6 5

Here is the original problem once again.

Kara and Marc decided to spend one morning helping out at a car wash to benefit a club that their grandparents have participated in for year.

The car wash was a busy place. At the beginning there weren't any cars, but between 9 a.m. and 10 a.m. the class washed 5 cars. From 10 to 11 a.m., the class washed 10 cars, from 11 a.m. to 12 p.m. the class washed 15 cars and from 12 to 1 p.m. the class washed 20 cars.

Marc kept track of the cars washed each hour.

Hour 1 - 5 cars

Hour 2 - 10 cars

Hour 3 - 15 cars

Hour 4 - 20 cars

The number of cars washed is connected to the number of hours worked. One is a function of the other.

Look at this list and write a function rule.

Then figure out how many cars would be washed in the fifth hour of the car wash.

To write the rule, notice that each hour the number of cars increased by 5.

We can use multiplication to show this rule.

$y = 5x$

This rule works for all of the values.

Then we can evaluate using the fifth hour.

$5(5) = 25$

Given this rule, 25 cars will be washed in hour five.

Guided Practice

Here is one for you to try on your own.

At the amusement park, Taylor noticed that there seemed to be a pattern for people who won the dart throwing game. She was so curious that she watched people play the game for a few hours. When 12 people played, there were only 6 winners. When ten people played, there were five winners.

This is a table to represent the data that Taylor collected.

Input Output
12 6
10 5
8 4
6 3
4 2

Can you write a rule for this data?

We can accomplish this task by looking at what happened to the $x$ value to get the $y$ value.

Notice that the $x$ value was divided by 2.

$\frac{x}{2} = y$

This is our rule.

Explore More

Directions: Use the given rule or equation to complete the table.

1. The rule for the input-output 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 $(x)$ Output number $(y)$
0
1
2
3
4

2. The rule for this function table is: subtract 6 from each $x-$ value to find each $y-$ value. Use this rule to find the missing numbers in the table. Fill in the table with those numbers.

$x$ $y$
0
6
7
16

3. The equation $y=\frac{x}{2}-1$ describes a function. Use this rule to find the missing values in the table below.

$x$ $y$
2 0
4 1
8
6

Directions : Check each function rule with the table. If it works write "yes" if not, write "no".

4. $2x$

Input Output
1 3
2 5
3 7

5. $3x-1$

Input Output
1 2
2 5
3 8
4 11

6. $2x+1$

Input Output
1 3
2 4
3 6
5 10

7. $4x$

Input Output
0 0
1 4
2 8
3 12

8. $6x-3$

Input Output
1 3
2 9
3 15

9. $2x$

Input Output
0 0
1 2
2 4
3 6

10. $3x-3$

Input Output
1 0
2 3
4 9
5 12

Directions : Create a table for each rule.

11. $7x$

12. $3x+1$

13. $5x - 3$

14. $4x+3$

15. $4x- 5$

Vocabulary Language: English

domain

domain

The domain of a function is the set of $x$-values for which the function is defined.
Function

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$.
Function Rule

Function Rule

A function rule describes how to convert an input value ($x$) into an output value ($y$) for a given function. An example of a function rule is $f(x) = x^2 + 3$.
Function Table

Function Table

A function table is another name for an input-output table, a table that shows how a value changes according to a rule.
Input-Output Table

Input-Output Table

An input-output table is a table that shows how a value changes according to a rule.
Linear Function

Linear Function

A linear function is a relation between two variables that produces a straight line when graphed.
Range

Range

The range of a function is the set of $y$ values for which the function is defined.