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

# Functions that Describe Situations

%
Progress
Practice Functions that Describe Situations
Progress
%
Functions that Describe Situations

What if you were given a table of x and y values? How could you write a rule to describe the relationship between the two variables? After completing this Concept, you'll be able to write a function rule for tables like this.

### Guidance

In many situations, we collect data by conducting a survey or an experiment, and then organize the data in a table of values. Most often, we want to find the function rule or formula that fits the set of values in the table, so we can use the rule to predict what could happen for values that are not in the table.

#### Example A

Write a function rule for the following table:

$& \text{Number of CDs} \qquad 2 \qquad 4 \qquad 6 \qquad 8 \qquad 10\\& \text{Cost in} \ \ \qquad \qquad \ \ 24 \quad \ \ 48 \quad \ \ 72 \quad \ 96 \quad \ \ 120$

Solution

You pay $24 for 2 CDs,$48 for 4 CDs, $120 for 10 CDs. That means that each CD costs$12.

We can write a function rule:

Cost $= \12 \ \times$ (number of CDs) or $f(x) = 12x$

#### Example B

Write a function rule for the following table:

$& x \quad -3 \quad -2 \quad -1 \quad 0 \quad 1 \quad 2 \quad 3\\& y \qquad 3 \ \qquad 2 \qquad \ 1 \quad 0 \quad 1 \quad 2 \quad 3$

Solution

You can see that a negative number turns into the same number, only positive, while a non-negative number stays the same. This means that the function being used here is the absolute value function: $f(x) = \mid x \mid$ .

Coming up with a function based on a set of values really is as tricky as it looks. There’s no rule that will tell you the function every time, so you just have to think of all the types of functions you know and guess which one might be a good fit, and then check if your guess is right. In this book, though, we’ll stick to writing functions for linear relationships, which are the simplest type of function.

Represent a Real-World Situation with a Function

Let’s look at a few real-world situations that can be represented by a function.

#### Example C

Maya has an internet service that currently has a monthly access fee of $11.95 and a connection fee of$0.50 per hour. Represent her monthly cost as a function of connection time.

Solution

Define

Let $x =$ the number of hours Maya spends on the internet in one month

Let $y =$ Maya’s monthly cost

Translate

The cost has two parts: the one-time fee of $11.95 and the per-hour charge of$0.50. So the total cost is the flat fee $+$ the charge per hour $\times$ the number of hours.

The function is $y = f(x) = 11.95 + 0.50x$ .

#### Example D

Alfredo wants a deck build around his pool. The dimensions of the pool are $12 \ feet \times 24 \ feet$ and the decking costs $3 per square foot. Write the cost of the deck as a function of the width of the deck. Solution Define Let $x =$ width of the deck Let $y =$ cost of the deck Make a sketch and label it Translate You can look at the decking as being formed by several rectangles and squares. We can find the areas of all the separate pieces and add them together: $\text{Area} &= 12x + 12x + 24x + 24x + x^2 + x^2 + x^2 + x^2 \\ &= 72x + 4x^2$ To find the total cost, we then multiply the area by the cost per square foot ($3).

$f(x) = 3(72x + 4x^2) = 216x + 12x^2$

Watch this video for help with the Examples above.

### Vocabulary

• Most often, we want to find the function rule or formula that fits the set of values in the table, so we can use the rule to predict what could happen for values that are not in the table.

### Guided Practice

A cell phone company sells two million phones in their first year of business. The number of phones they sell doubles each year. Write a function that gives the number of phones that are sold per year as a function of how old the company is.

Solution

Define

Let $x =$ age of company in years

Let $y =$ number of phones that are sold per year

Make a table

$& \text{Age (years)} \qquad \qquad 1 \quad 2 \quad 3 \quad 4 \quad \ 5 \quad \ \ 6 \quad \ \ 7\\& \text{Millions of phones} \quad 2 \quad 4 \quad 8 \quad 16 \quad 32 \quad 64 \quad 128$

Write a function rule

The number of phones sold per year doubles every year, so the first year the company sells 2 million phones, the next year it sells $2 \times 2$ million, the next year it sells $2 \times 2 \times 2$ million, and so on. You might remember that when we multiply a number by itself several times we can use exponential notation: $2 = 2^1, \ 2 \times 2 = 2^2, \ 2 \times 2 \times 2 = 2^3,$ and so on. In this problem, the exponent just happens to match the company’s age in years, which makes our function easy to describe.

$y = f(x) = 2^x$

### Explore More

1. Write a function rule for the following table: $& x \quad 3 \quad 4 \quad \ \ 5 \quad \ 6\\& y \quad 9 \quad 16 \quad 15 \quad 36$
2. Write a function rule for the following table: $& \text{Hours} \quad 0 \quad \ 1 \quad \ 2 \quad \ \ 3\\& \text{Cost} \quad \ 15 \quad 20 \quad 25 \quad 30$
3. Write a function rule for the following table: $& x \quad 0 \quad \ \ 1 \quad \ 2 \quad 3\\& y \quad 24 \quad 12 \quad 6 \quad 3$
4. Write a function that represents the number of cuts you need to cut a ribbon into $x$ pieces.
5. Write a function that represents the number of cuts you need to divide a pizza into $x$ slices.

For 6-8, suppose Solomon charges a $40 flat rate plus$25 per hour to repair a leaky pipe.

1. Write a function that represents the total fee charged as a function of hours worked.
2. How much does Solomon earn for a 3-hour job?
3. How much does he earn for three separate 1-hour jobs?

For 9-12, suppose Rochelle has invested $2500 in a jewelry making kit. She makes bracelets that she can sell for$12.50 each.

1. Write a function that shows how much money Rochelle makes from selling $b$ bracelets.
2. Write a function that shows how much money Rochelle has after selling $b$ bracelets, minus her investment in the kit.
3. How many bracelets does Rochelle need to make before she breaks even?
4. If she buys a \$50 display case for her bracelets, how many bracelets does she now need to sell to break even?

### Vocabulary Language: English

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

### Explore More

Sign in to explore more, including practice questions and solutions for Functions that Describe Situations.