### Graphs of Linear Functions

The highly exclusive Fellowship of the Green Mantle allows in only a limited number of new members a year. In its third year of membership it has 28 members, in its fourth year it has 33, and in its fifth year it has 38. How many members are admitted a year, and how many founding members were there?

**Functions**

So far we’ve used the term **function** to describe many of the equations we’ve been graphing, but in mathematics it’s important to remember that not all equations are functions. In order to be a function, a relationship between two variables, **exactly one**

Visually this means the graph of ** 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 “

#### Writing Equations as Functions of x

Rewrite the following equations so that

a)

Simply replace

b)

Again, replace

c)

First we need to solve for

d)

Solve for

Using the functional notation in an equation gives us more information. For instance, the expression ** plug in** values of

We can also plug in expressions rather than just numbers. For example, if our function is

#### Evaluating Functions

A function is defined as

a)

Substitute

b)

Substitute

c) \begin{align*}f(z)\end{align*}

Substitute \begin{align*}x = z\end{align*} into the function \begin{align*}f(x): \ f(z) = 6z + 36\end{align*}

d) \begin{align*}f(x + 3)\end{align*}

Substitute \begin{align*}x = (x + 3)\end{align*} into the function \begin{align*}f(x): \ f(x + 3) = 6(x + 3) + 36 = 6x + 18 + 36 = 6x + 54\end{align*}

e) \begin{align*}f(2r - 1)\end{align*}

Substitute \begin{align*}x = (2r + 1)\end{align*} into the function \begin{align*}f(x): \ f(2r + 1) = 6(2r + 1) + 36 = 12r + 6 + 36 = 12r + 42\end{align*}

**Graphing a Linear Function**

Since the notations “\begin{align*}f(x) =\end{align*}” and “\begin{align*}y =\end{align*}” are interchangeable, we can use all the concepts we have learned so far to graph functions.

Graph the function \begin{align*}f(x) =\frac {3x+5}{4}\end{align*}.

We can write this function in **slope-intercept** form:

\begin{align*}f(x) = \frac{3}{4}x + \frac {5}{4} = 0.75x+1.25\end{align*}

So our graph will have a \begin{align*}y-\end{align*}intercept of (0, 1.25) and a slope of 0.75.

**Arithmetic Progressions**

You may have noticed that with linear functions, when you increase the \begin{align*}x-\end{align*}value by 1 unit, the \begin{align*}y-\end{align*}value increases by a fixed amount, equal to the slope. For example, if we were to make a table of values for the function \begin{align*}f(x) = 2x + 3\end{align*}, we might start at \begin{align*}x = 0\end{align*} and then add 1 to \begin{align*}x\end{align*} for each row:

\begin{align*}x\end{align*} |
\begin{align*}f(x)\end{align*} |
---|---|

0 | 3 |

1 | 5 |

2 | 7 |

3 | 9 |

4 | 11 |

Notice that the values for \begin{align*}f(x)\end{align*} go up by 2 (the slope) each time. When we repeatedly add a fixed value to a starting number, we get a sequence like {3, 5, 7, 9, 11....}. We call this an ** arithmetic progression**, and it is characterized by the fact that each number is bigger (or smaller) than the preceding number by a fixed amount. This amount is called the

**common difference**. We can find the common difference for a given sequence by taking 2 consecutive terms in the sequence and subtracting the first from the second.

#### Finding Common Differences

Find the common difference for the following arithmetic progressions:

a) {7, 11, 15, 19, ...}

\begin{align*}11 - 7 = 4; \ 15 - 11 = 4; \ 19 - 15 = 4\end{align*}. The common difference is **4**.

b) {12. 1, -10, -21}

\begin{align*}1 - 12 = -11\end{align*}. The common difference is **-11**.

c) {7, __, 12, __. 17, ...}

There are not 2 consecutive terms here, but we know that to get the term after 7 we would add the common difference, and then to get to 12 we would add the common difference again. So *twice* the common difference is \begin{align*}12 - 7 = 5\end{align*}, and so the common difference is **2.5.**

Arithmetic sequences and linear functions are very closely related. To get to the next term in a arithmetic sequence, you add the *common difference* to the last term; similarly, when the \begin{align*}x-\end{align*}value of a linear function increases by one, the \begin{align*}y-\end{align*}value increases by the amount of the *slope*. So arithmetic sequences are very much like linear functions, with the common difference playing the same role as the slope.

The graph below shows the arithmetic progression {-2, 0, 2, 4, 6...} along with the function \begin{align*}y = 2x - 4\end{align*}. The only major difference between the two graphs is that an arithmetic sequence is **discrete** while a linear function is **continuous.**

We can write a formula for an arithmetic progression: if we define the first term as \begin{align*}a_1\end{align*} and \begin{align*}d\end{align*} as the common difference, then the other terms are as follows:

\begin{align*}& a_1 \qquad \quad a_2 \qquad \qquad a_3 \qquad \qquad a_4 \qquad \qquad \ a_5 \qquad \qquad \qquad \qquad a_n\\ & a_1 \qquad a_1+d \qquad a_1+2d \qquad a_1+3d \qquad a_1+4d \quad \ldots \quad a_1+(n-1) \cdot d\end{align*}

### Example

#### Example 1

Graph the function \begin{align*}f(x) = \frac{7(5-x)}{5}\end{align*}.

This time we’ll solve for the \begin{align*}x-\end{align*} and \begin{align*}y-\end{align*}intercepts.

To solve for the \begin{align*}y-\end{align*}intercept, plug in \begin{align*}x = 0: f(0) = \frac{7(5-0)}{5} = \frac{35}{5} = 7\end{align*}, so the \begin{align*}x-\end{align*}intercept is **(0, 7)**.

To solve for the \begin{align*}x-\end{align*}intercept, set \begin{align*}f(x) = 0: 0 = \frac {7(5-x)}{5}\end{align*}, so \begin{align*}0 = 35 -7x\end{align*}, therefore \begin{align*}7x =35\end{align*} and \begin{align*}x=5\end{align*}. The \begin{align*}y-\end{align*}intercept is **(5, 0)**.

We can graph the function from those two points:

### Review

- 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?
- 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 left on the card as a function of minutes used so far.
- Use the function to determine how many minutes of calls you can make with the card.

For questions 3-5, evaluate the function for \begin{align*} f(-3)\end{align*}, \begin{align*} f(0)\end{align*}, \begin{align*} f(z)\end{align*}, \begin{align*}f(x + 3)\end{align*}, \begin{align*}f(2n)\end{align*}, \begin{align*}f(3y + 8)\end{align*}, and \begin{align*}f\left ( \frac{q}{2} \right )\end{align*}.

- \begin{align*}f(x) = -2x+3\end{align*}
- \begin{align*}f(x) = 0.7x+3.2\end{align*}
- \begin{align*}f(x) = \frac {5(2-x)} {11}\end{align*}

For questions 6-9, determine whether the graph could be a **function.**

- The roasting guide for a turkey suggests cooking for 100 minutes plus an additional 8 minutes per pound.
- Write a function for the roasting time the given the turkey weight in pounds \begin{align*}(x)\end{align*}.
- Determine the time needed to roast a 10 lb turkey.
- Determine the time needed to roast a 27 lb turkey.
- Determine the maximum size turkey you could roast in 4.5 hours.

For questions 11-13, determine the missing terms in the following arithmetic progressions.

- {-11, 17, __, 73}
- {2, __, -4}
- {13, __, __, __, 0}

### Review (Answers)

To view the Review answers, open this PDF file and look for section 4.10.