<img src="https://d5nxst8fruw4z.cloudfront.net/atrk.gif?account=iA1Pi1a8Dy00ym" style="display:none" height="1" width="1" alt="" />

# Function Rules based on Graphs

## Compose functions to describe data from x/y graphs

Estimated9 minsto complete
%
Progress
Practice Function Rules based on Graphs
Progress
Estimated9 minsto complete
%
Function Rules based on Graphs

What if you were given the coordinate graph of a function and you wanted to find the function rule shown by the graph? How could you write that rule? After completing this Concept, you'll be able to create a table of values from a graph to help you write function rules like this one.

### Watch This

CK-12 Foundation: 0114S Write a Function Rule from a Graph

### Guidance

In the last two Concepts, you learned how to graph a function from a table and from a function rule. Now, you will learn how to find coordinate points on a graph and to interpret the meaning. Recall that each point on the graph has an x-value and y-value. When given an x-value, you will be asked to find its y-value.

#### Example A

The students at a local high school took The Youth Risk Behavior Survey. The graph below shows the percentage of high school students who reported that they were current smokers. (A current smoker is anyone who has smoked one or more cigarettes in the past 30 days.) What percentage of high-school students were current smokers in the following years?

1. 1991
2. 2004

Solution:

1. First, find the value 1991 on the x-axis. This appears to be the first red point on the left side of the graph. By looking at the y-axis, it looks like this point has a y-value of approximately 27. This means that in 1991, approximately 27% of high school students reported that they were current smokers.

2. Find the value 2004 on the x-axis, which appears to be between the two red points on the right. This has an approximate y-value of 22.5. This means that in 2004, approximately 22.5% of high school students reported that they were current smokers.

Write a Function Rule from a Graph

Sometimes you’ll need to find the equation or rule of a function by looking at the graph of the function. Points that are on the graph can give you values of dependent and independent variables that are related to each other by the function rule. However, you must make sure that the rule works for all the points on the curve. In this course you will learn to recognize different kinds of functions and discover the rules for all of them. For now we’ll look at some simple examples and find patterns that will help us figure out how the dependent and independent variables are related.

#### Example B

The graph to the right shows the distance that an ant covers over time. Find the function rule that shows how distance and time are related to each other.

Solution

Let’s make a table of values of several coordinate points to see if we can spot how they are related to each other.

We can see that for every second the distance increases by 1.5 feet. We can write the function rule as

The equation of the function is \begin{align*}f(x) = 1.5x\end{align*}.

#### Example C

Find the function rule that describes the function shown in the graph.

Solution

Again, we can make a table of values of several coordinate points to identify how they are related to each other.

Notice that the values of \begin{align*}y\end{align*} are half of perfect squares: 8 is half of 16 (which is 4 squared), 4.5 is half of 9 (which is 3 squared), and so on. So the equation of the function is \begin{align*}f(x) = \frac{1}{2} x^2 \end{align*}.

Watch this video for help with the Examples above.

CK-12 Foundation: Write a Function Rule from a Graph

### Guided Practice

Find the function rule that shows the volume of a balloon at different times, based on the following graph:

(Notice that the graph shows negative time. The negative time can represent what happened on days before you started measuring the volume.)

Solution

Once again, we make a table to spot the pattern:

We can see that every day, the volume of the balloon is half what it was the previous day. On day 0, the volume is 5; on day 1, the volume is \begin{align*}5 \times \frac{1}{2}\end{align*}; on day 2, it is \begin{align*}5 \times \frac{1}{2} \times \frac{1}{2}\end{align*}, and in general, on day \begin{align*}x\end{align*} it is \begin{align*}5 \times \left ( \frac{1}{2} \right )^x\end{align*}. The equation of the function is \begin{align*}f(x) = 5 \times \left ( \frac{1}{2} \right )^x\end{align*}.

### Explore More

For 1-4, the graph below shows the average life-span of people based on the year in which they were born. This information comes from the National Vital Statistics Report from the Center for Disease Control.

1. What is the average life-span of a person born in 1940?
2. What is the average life-span of a person born in 1955?
3. What is the average life-span of a person born in 1980?
4. What is the average life-span of a person born in 1995?

For 5-8, the graph below shows the median income of an individual based on his/her number of years of education. The top curve shows the median income for males and the bottom curve shows the median income for females. (Source: US Census, 2003.)

1. What is the median income of a male that has 10 years of education?
2. What is the median income of a male that has 17 years of education
3. What is the median income of a female that has 10 years of education?
4. What is the median income of a female that has 17 years of education?

For 9-11, write the function rule for each graph.

### Answers for Explore More Problems

To view the Explore More answers, open this PDF file and look for section 1.14.

### Vocabulary Language: English

coordinate point

coordinate point

A coordinate point is the description of a location on the coordinate plane. Coordinate points are written in the form (x, y) where x is the horizontal distance from the origin, and y is the vertical distance from the origin.
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$.