<meta http-equiv="refresh" content="1; url=/nojavascript/"> Linear Function Graphs | CK-12 Foundation
You are reading an older version of this FlexBook® textbook: CK-12 Algebra I Go to the latest version.

# 4.7: Linear Function Graphs

Difficulty Level: At Grade Created by: CK-12

## Learning Objectives

• Recognize and use function notation.
• Graph a linear function.
• Change slope and intercepts of function graphs.
• Analyze graphs of real-world functions.

## Introduction - Functions

So far we have used the term function to describe many of the equations we have been graphing, but the concept of a function is extremely important in mathematics. Not all equations are functions. In order to be a function, the relationship between two variables, $x$ and $y$, must map each $x-$value to exactly one $y-$value.

Visually this means the graph of $y$ versus $x$ must pass the vertical line test meaning that a vertical line drawn through the graph of the function must never intersect the graph in more than one place.

## Use Function Notation

When we write functions we often use the notation ‘$f(x)=$’ in place of ‘$y=$’. $f(x)=$ is read “$f$ of $x$”.

Example 1

Rewrite the following equations so that $y$ is a function of $x$ and written $f(x)$.

a. $y = 2x + 5$

b. $y = -0.2x + 7$

c. $x = 4y- 5$

d. $9x + 3y = 6$

Solution

a. Simply replace $y$ with $f(x)$. $f(x)=2x+5$

b. $f(x)=-0.2x+7$

c. Rearrange to isolate $y$.

$x & = 4y - 5 && \text{Add}\ 5\ \text{to both sides}. \\x + 5 & = 4y && \text{Divide by}\ 4. \\\frac{x + 5} {4} & = y \\f(x) & = \frac{x + 5} {4}$

d. Rearrange to isolate $y$.

$9x + 3y & = 6 && \text{Subtract}\ 9x\ \text{from both sides}.\\3y & = 6 - 9x && \text{Divide by}\ 3.\\y & = \frac{6 -x} {3} = 2 - 3x \\f(x) & = 2 - 3x$

You can think of a function as a machine made up from a number of separate processes. For example, you can look at the function $3x + 2$ and break it down to the following instructions.

• Take a number
• Multiply it by 3

We can visualize these processes like this:

In this case, the number we chose was 2. Multiplied by 3 it becomes 6. When we add 2 our output is 8.

Let's try that again. This time we will put -3 through our machine to get 7.

On the bottom of this process tree you can see what happens when we put the letter $n$ (the variable used to represent any number) through the function. We can write the results of these processes.

• $f(2) = 8$
• $f(-3) = -7$
• $f(n) = 3n + 2$

Example 2

A function is defined as $f(x)=6x-36$. Evaluate the following:

a. $f(2)$

b. $f(0)$

c. $f(36)$

d. $f(z)$

e. $f(p)$

Solution

a. Substitute $x= 2$ into the function $f(x)$ $f(2) = 6\cdot 2 - 36 = 12 - 36 = - 24$

b. Substitute $x = 0$ into the function $f(x)$ $f(0) = 6\cdot 0 - 36 = 0 - 36 = - 36$

c. Substitute $x = 36$ into the function $f(x)$ $f(36) = 6\cdot 36 - 36 = 216 - 36 = 180$

d. Substitute $x = z$ into the function $f(x)$ $f(z) = 6z + 36$

e. Substitute $x = p$ into the function $f(x)$ $f(p) = 6p + 36$

## Graph a Linear Function

You can see that the notation ‘$f(x)=$’ and ‘$y=$’ are interchangeable. This means that we can use all the concepts we have learned so far to graph functions.

Example 3

Graph the function $f(x) = \frac{3x + 5} {4}$

Solution

We can write this function in slope intercept form ($y=mx+b$ form).

$f(x) = \frac{3} {4} x + \frac{5} {4} = 0.75x + 1.25$

So our graph will have a $y-$intercept of (0, 1.25) and a slope of 0.75.

• Remember that this slope rises by 3 units for every 4 units we move right.

Example 4

Graph the function $f(x) = \frac{7(5 - x)} {5}$

Solution

This time we will solve for the $x$ and $y$ intercepts.

To solve for $y-$intercept substitute $x = 0.$

$f(0) = \frac{7(5 - 0)} {5} = \frac{35} {5} = 7$

To solve for $x-$intercept substitute use $f(x) = 0$.

$0 & = \frac{7(5 - x)} {5} && \text{Multiply by}\ 5\ \text{and distribute}\ 7.\\5.0 & = 35 -7x && \text{Add}\ 7x\ \text{to both sides:}\\7x & = 35 \\x & = 5$

Our graph has intercepts (0, 7) and (5, 0).

## Arithmetic Progressions

You may have noticed that with linear functions, when you increase the $x$ value by one unit, the $y$ value increases by a fixed amount. This amount is equal to the slope. For example, if we were to make a table of values for the function $f(x) = 2x + 3$ we might start at $x =0$ then add one to $x$ for each row.

$x$ $f(x)$
0 3
1 5
2 7
3 9
4 11

Look at the values for $f(x)$. They go up by two (the slope) each time. When we consider continually adding a fixed value to numbers, we get sequences like $\{ 3, 5, 7, 9, 11 \ldots \}$. We call these arithmetic progressions. They are characterized by the fact that each number is greater than (or lesser than) than the preceding number by a fixed amount. This amount is called the common difference. The common difference can be found by taking two consecutive terms in a sequence and subtracting the first from the second.

Example 5

Find the common difference for the following arithmetic progressions:

a. $\{7, 11, 15, 19\ldots \}$

b. $\{12, 1, -10, -21\ldots \}$

c. $\{7, 12, 17\ldots \}$

Solution

a. $11 - 7 = 4\! \\15 - 11 = 4\! \\19 - 15 = 4.$

The common difference is 4.

b. $1- 12 = -11$. The common difference is -11.

c. There are not two consecutive terms here, but we know that to get the term after 7, we would add the common difference. Then to get to 12, we would add the common difference again. Twice the common difference is $12 - 7 = 5$. So the common difference is 2.5.

Arithmetic sequences and linear functions are very closely related. You just learned that to get to the next term in a arithmetic sequence you add the common difference to last term. We have seen that with linear functions the function increases by the value of the slope every time the $x-$value is increased by one. As a result, arithmetic sequences and linear functions look very similar.

The graph to the right shows the arithmetic progression $\{-2, 0, 2, 4, 6\ldots \}$ with the function $y = 2x - 4$. The fundamental difference between the two graphs is that an arithmetic sequence is discrete while a linear function is continuous.

• Discrete means that the sequence has $x$ values only at distinct points (the $1^{st}$ term, $2^{nd}$ term, etc). The domain is not all real numbers (often it is whole numbers).
• Continuous means that the function has values for all possible values of $x$, the integers and also all of the numbers in between. The domain is all real numbers.

We can write a formula for an arithmetic progression. We will define the first term as $a_1$ and $d$ as the common difference. The sequence becomes the following.

$a_1, a_1 +d, a_1 +2d, a_1 +3d, \ldots, a_1 + n \cdot d$

• To find the second term $(a_2)$ we take the first term $(a_1)$ and add $d$.
• To find the third term $(a_3)$ we take the first term $(a_1)$ and add $2d$.
• To find the $n$th term $(a_n)$ we take the first term $(a_1)$ and add $(n-1)d$.

## Analyze Graphs of Real-World Functions

Example 6

Use the diagram below to determine the three decades since 1940 in which the infant mortality rate decreased most.

Let's make a table of the infant mortality rate in the years 1940, 1950, 1960, 1970, 1980, 1990, 2000.

Infant Mortality Rates: United States, 1940-2004
Year Mortality rate (per 100,000) change over decade
1940 47 N/A
1950 30 -17
1960 26 -4
1970 20 -6
1980 13 -7
1990 9 -4
2000 7 -2

Solution

The best performing decades were the 1940s (1940-1950) with a drop of 17 deaths per 100000. The 1970s (1970-1980) with a drop of 7 deaths per 100000. The 1960s (1960-1970) with a drop of 6 deaths per 100000.

## Lesson Summary

• In order for an equation to be a function, the relationship between the two variables, $x$ and $y$, must map each $x-$value to exactly one $y-$value, or $y=f(x)$.
• The graph of a function of $y$ versus $x$ must pass the vertical line test. Any vertical line will only cross the graph of the function in one place.
• The sequence of $f(x)$ values for a linear function form an arithmetic progression. Each number is greater than (or less than) the preceding number by a fixed amount, or common difference.

## Review Questions

1. When an object falls under gravity, it gains speed at a constant rate of 9.8 m/s every second. An item dropped from the top of the Eiffel Tower, which is 300 meters tall, takes 7.8 seconds to hit the ground. How fast is it moving on impact?
2. A prepaid phone card comes with $20 worth of calls on it. Calls cost a flat rate of$0.16 per minute. Write the value of the card as a function of minutes per calls. Use a function to determine the number of minutes you can make with the card.
3. For each of the following functions evaluate:
1. $f(x) = -2x + 3$
2. $f(x) = 0.7x + 3.2$
3. $f(x) = \frac{5 (2 - x)} {11}$
1. $f(-3)$
2. $f(7)$
3. $f(0)$
4. $f(z)$
4. Determine whether the following could be graphs of functions.
5. The roasting guide for a turkey suggests cooking for 100 minutes plus an additional 8 minutes per pound.
1. Write a function for the roasting time the given the turkey weight in pounds $(x)$.
2. Determine the time needed to roast a 10 lb turkey.
3. Determine the time needed to roast a 27 lb turkey.
4. Determine the maximum size turkey you could roast in $4\frac{1}{2}\ \text{hours}$.
6. Determine the missing terms in the following arithmetic progressions.
1. $\left \{-11, 17, \underline{\;\;\;\;}, 73\right \}$
2. $\left \{2, \underline{\;\;\;\;}, -4\right \}$
3. $\left \{13, \underline{\;\;\;\;}, \underline{\;\;\;\;}, \underline{\;\;\;\;}, 0 \right \}$

1. 76.44 m/s
2. $f(x) = 2000 - 16x;$ 125 minutes
1. 9
2. -11
3. 3
4. $f(z) = -2z + 3$
1. 1.1
2. 8.1
3. 3.2
4. $f(z) = 0.7z + 3.2$
1. 2.27
2. -2.27
3. 0.909
4. $f(z) = \frac{10} {11} - \frac{5} {11}z$
1. yes
2. no
3. no
4. yes
1. $f(x) = 8x + 100$
2. $180 \ min = 3 \ hrs$
3. $316 \ min = 5 \ hrs \ 16 \ min$
4. 21.25 lbs.
1. 45
2. -1
3. 9.75, 6.5, 3.25

Feb 22, 2012

Oct 08, 2014