# 1.12: Functions that Describe Situations

**Basic**Created by: CK-12

**Practice**Functions that Describe Situations

What if your bank charged a monthly fee of $15 for your checking account and also charged $0.10 for each check written? How would you represent this scenario with a function? Also, what if you could only afford to spend $20 a month on fees? Could you use your function to find out how many checks you could write per month? In this Concept, you'll learn how to handle situations like these by using functions.

### Guidance

**Write a Function Rule**

In many situations, data is collected by conducting a survey or an experiment. To visualize the data, it is arranged into a table. Most often, a function rule is needed to predict additional values of the independent variable.

#### Example A

*Write a function rule for the table.*

\begin{align*}& \text{Number of CDs} && 2 && 4 && 6 && 8 && 10\\
& \text{Cost}\ (\$) && 24 && 48 && 72 && 96 && 120\end{align*}

**Solution:**

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

We can write the function rule.

\begin{align*}\text{Cost} = \$12 \times \text{number of CDs}\end{align*}

#### Example B

*Write a function rule for the table.*

\begin{align*}&&x && -3 && -2 && -1 && 0 && 1 && 2 && 3\\
&&y && \quad 3 && \quad 2 && \quad 1 && 0 && 1 && 2 && 3\end{align*}

**Solution:**

The values of the dependent variable are always the corresponding positive outcomes of the input values. This relationship has a special name, the absolute value. The function rule looks like this: \begin{align*}f(x) = |x|\end{align*}

**Represent a Real-World Situation with a Function**

Let’s look at a real-world situation 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:**

Let \begin{align*}x=\end{align*}

The total cost \begin{align*}=\end{align*}

### Guided Practice

When diving in the ocean, you must consider how much pressure you will experience from diving a certain depth. From the atmosphere, we experience 14.7 pounds per square inch (psi) and for every foot we dive down into the ocean, we experience another 0.44 psi in pressure.

a.) Write a function expressing how pressure changes depending on depth underwater.

b.) How far can you dive without experiencing more than 58.7 psi of pressure on your body?

**Solution:**

a.) We are always experiencing 14.7 psi from the atmosphere, and that pressure increases by 0.44 psi for every foot we descend into the ocean. Let \begin{align*}d\end{align*}

\begin{align*}P=P(d)=14.7+0.44d\end{align*}

b.) We want to know what our depth would be for a pressure of 58.7 psi.

\begin{align*}58.7=14.7+0.44d\end{align*}

Simplifying our equation by subtracting 14.7 from each side:

\begin{align*}44=0.44d\end{align*}

What should \begin{align*}d\end{align*}

\begin{align*}44=0.44(100)=44\end{align*}

So we do not want to dive more than 100 feet, because then we would experience more than 58.7 psi of pressure.

### Practice

- Use the following situation:
*Sheri is saving for her first car. She currently has $515.85 and is saving $62 each week.*- Write a function rule for the situation.
- Can the domain be “all real numbers"? Explain your thinking.
- How many weeks would it take Sheri to save $1,795.00?

- Write a function rule for the table.

\begin{align*}&&x && 3 && 4 && 5 && 6\\
&&y && 9 && 16 && 25 && 36\end{align*}

- Write a function rule for the table.

\begin{align*}&\text{hours} && 0 && 1 && 2 && 3\\ &\text{cost} && 15 && 20 && 25 && 30\end{align*}

- Write a function rule for the table.

\begin{align*}&&x && 0 && 1 && 2 && 3\\ &&y && 24 && 12 && 6 && 3\end{align*}

- Write a function that represents the number of cuts you need to cut a ribbon in \begin{align*}x\end{align*} number of pieces.
- Solomon charges a $40 flat rate and $25 per hour to repair a leaky pipe. Write a function that represents the total fee charged as a function of hours worked. How much does Solomon earn for a three-hour job?
- Rochelle has invested $2500 in a jewelry-making kit. She makes bracelets that she can sell for $12.50 each. How many bracelets does Rochelle need to make before she breaks even?

#### Quick Quiz

1. Write a function rule to describe the following table:

\begin{align*}&\# \ \text{of Books} && 1 && 2 && 3 && 4 && 5 && 6\\ &\text{Cost} && 4.75 && 5.25 && 5.75 && 6.25 && 6.75 && 7.25\end{align*}

2. Simplify: \begin{align*}84 \div [(18-16) \times 3]\end{align*}.

3. Evaluate the expression \begin{align*}\frac{2}{3} (y+6)\end{align*} when \begin{align*}y=3\end{align*}.

4. Rewrite using function notation: \begin{align*}y = \frac{1}{4} x^2\end{align*}.

5. You purchased six video games for $29.99 each and three DVD movies for $22.99. What is the total amount of money you spent?

dependent variable

A**is one whose values depend upon what is substituted for the other variable.**

*dependent variable*Function

A function is a relation where there is only one output for every input. In other words, for every value of , there is only one value for .independent variable

The**is the variable which is not dependent on another variable. The dependent variable is dependent on the independent variable.**

*independent variable*Function Rule

A function rule describes how to convert an input value () into an output value () for a given function. An example of a function rule is .### Image Attributions

Here you'll learn how to interpret situations that occur in everyday life and use functions to represent them. You'll also use these functions to answer questions that come up.