# Graphs of Linear Functions

## Graph f(x) = ax +b

%
Progress

MEMORY METER
This indicates how strong in your memory this concept is
Progress
%
Use Function Notation to Graph Functions

Therese has just decided to plant a cherry tree in the backyard of her summer cottage. A worker at Farmer Clem’s sold her one that was 30 inches tall. He also sold her the name of a fertilizer that would make the tree grow at a rate of 3 inches a day. How tall will the cherry tree be at the end of three weeks?

Therese does not want to wait for the tree to grow to measure its height. How can she use a graph to predict the height of the tree?

In this concept, you will learn to use function notation to graph functions.

### Graphing Functions

The equation of a straight line can be written in slope-intercept form such that  are the coordinates of a point on the line, ‘’ is the slope of the line and ‘’ is the -intercept of the line. The equation is . For this function, the -value can be represented using function notation . When function notation is used to name a function, then the function will be expressed as:

When the function expressed in function notation is used for graphing, the -axis should be labeled as the  axis. The dependent variable is ‘’  and the independent variable is ‘’. This means that the value for the independent variable is the ‘input’ number and the value for the dependent variable is the ‘output’ number. The value of ‘’ depends upon the value of ‘’.

Let’s look at an example.

Rewrite the following graph using function notation and graph the new function on a Cartesian grid.

First, replace the ‘’ with the function notation .

Next, plot the function on the Cartesian grid. Plot the point  on the  axis. From this point move horizontally 3 units right, downward 2 units and plot a point.

Then, join the two plotted points with a straight line.

A linear function can also be used to represent the ordered pairs given in a t-table. Joey works for a call center where he is paid $30.00 a day plus a fixed bonus for each new internet contract he sells. The following t-table shows the number of internet contracts he sold for the first five days he worked and the amount of money he earned.  (contracts sold) (money earned$) 10 77.50 15 101.25 20 125.00 25 148.75 30 172.50

First, choose and name two ordered pairs from the table and use them to calculate the equation of the line.

Next, using the two named points substitute the values into the formula to calculate the slope of the line.

Next, evaluate the formula to determine the value of the slope ‘’.

Next, substitute into the equation of a line written in slope-intercept form, the value of the slope.

Next, substitute the value of the -intercept into the equation. The value of ‘’ is 30.00 per day.

Then, express the equation of the line using function notation and graph it.

### Examples

#### Example 1

Earlier, you were given a problem about Therese and the cherry tree. She wants to show the height of the tree using a graph. How can Therese do this?

Therese can use a function expressed in function notation and plot the function on a Cartesian grid.

First, write down the given information.

= height of the tree at the end of three weeks

= rate the tree grows each day

= number of days

= height of tree when purchased

Next, write an equation, in slope-intercept form, to represent the given information.

Next, express the equation using function notation. Replace ‘’ using  notation.

Then, graph the function

From the graph it can be seen that the height of the tree at the end of three weeks will be slightly greater than 90 inches. Remember three weeks is equivalent to 21 days.

#### Example 2

Rewrite the linear function using function notation and graph the line.

First, replace the ‘’ using function notation .

Then, graph the function.

#### Example 3

Identify the slope and the -intercept for the following linear function.

First, name the form in which the function is written.

Slope-intercept form

Next, write the general form for a function written in slope-intercept form.

Then, state the slope and -intercept of the line.

The slope of the line is  and the -intercept is .

#### Example 4

Express the following equation using function notation.

First, replace the ‘’ with function notation.

#### Example 5

Identify the slope and the -intercept for the following linear function.

First, name the form in which the function is written.

Slope-intercept form using function notation.

Next, write the general form for a function written in slope-intercept form.

Then, state the slope and -intercept of the line.

The slope of the line is  and the -intercept is -8.

### Review

Graph each function.

1.

2.

3.

4.

5.

6.

7.

8.

9.

10.

Use what you have learned to solve each problem.

11. A migrating monarch butterfly travels 1100 miles. If it flies 30 miles per day, the distance  it still has to travel is a function of days  it has traveled. Write a function rule for the situation.

12. What is the slope of the situation?

13. A writer gets paid a writer’s fee of $3000 plus$1.50 for each copy of the book that is sold. Create a function rule for this situation.

14. What is the slope of this situation?

15. How many books does the writer need to sell to earn \$10,000 total?

### Notes/Highlights Having trouble? Report an issue.

Color Highlighted Text Notes

### Vocabulary Language: English

TermDefinition
dependent variable The dependent variable is the output variable in an equation or function, commonly represented by $y$ or $f(x)$.
independent variable The independent variable is the input variable in an equation or function, commonly represented by $x$.