<meta http-equiv="refresh" content="1; url=/nojavascript/"> Graphs of Linear Functions ( Read ) | Algebra | CK-12 Foundation
You are viewing an older version of this Concept. Go to the latest version.

# Graphs of Linear Functions

%
Best Score
Practice Graphs of Linear Functions
Best Score
%
Use Function Notation to Graph Functions
0  0  0

Have you ever thought about how to represent a function with a graph? Take a look at this dilemma about banana plants.

Let's say that you buy a banana tree that is 8 inches tall. It grows 4 inches per day. Its height (in inches) $h$ is a function of time (in days) $d$ .

We can write that linear equation as $h = 4d+8$ .

Can you graph this function?

You will learn how to use function notation to graph functions like this one.

### Guidance

In science, an independent variable is a parameter that is manipulated or chosen by a scientist while the dependent variable is a parameter that is measured. Scientists oftentimes look for a correlation between an independent variable and a dependent variable—they want to know if the dependent variable depends on the independent variable. For example, a scientist might measure the speed at which a car is moving and the force upon impact when the car hits a wall. The scientist can manipulate the speed of the car—she can make the car move slower or faster. She would then measure the force of impact related to the given speed. Then, a conclusion can be drawn about their relatedness and cars, in this case, might be designed based on that relation.

The independent variable will be shown in the left column of a t-table and on the $x$ -axis of a graph. The dependent variable will be shown in the right column of a t-table and on the $y$ -axis of a graph.

If you think about this it makes perfect sense. The function of $y$ depends on the rest of the equation. Then we can use function notation to represent this situation.

$f(x)=4x+1$

Here we know that the function of $x$ is dependent on 4 times that value, $x$ and one.

Once you understand the connection between independent variables and dependent variables, we can move on to graphing these linear equations.

As with any other linear equation, functions can be graphed using a t-table or using the slope-intercept form. It is important to place the independent variable on the $x$ -axis and the dependent variable on the $y$ -axis or the results can be misinterpreted. Let’s look at how to do this.

A group of students measure the length of their classmates’ arms and legs and found the following data:

arm(in) legs(in)
25 30
27 33.2
26 31.6

Assume there is a linear relationship. Write and graph the linear function that describes this data.

Use the table to determine ordered pairs. Then you can find the slope. Find the slope using the slope formula for $x_1=25, y_1 = 30, x_2 = 27, y_2 = 33.2$ .

$m &=\frac{{y_2}-{y_1}}{{x_2}-{x_1}}\\m &=\frac{33.2-30}{27-25}\\m &=\frac{3.2}{2}\\m &=1.6 \\m &=\frac{8}{5}$

Now substitute in our known values of $m, x_1,$ and $y_1$ .

$m &=\frac{{y}-{y_1}}{{x}-{x_1}}\\\frac{8}{5} &=\frac{y-30}{x-25}\\5(y-30) &=8(x-25)\\5y-150 &=8x-200 \\5 &=8x-50\\y &=\frac{8}{5}x-10$

Now we can graph the data.

Determine each slope and y-intercept by using the given information.

#### Example A

$f(x)=3x+2$

Solution: Slope = 3, y-intercept = 2

#### Example B

$f(x)=-2x-9$

Solution: Slope = -2, y-intercept = -9

#### Example C

$f(x)=-x+3$

Solution: Slope = -1, y-intercept = 3

Now let's go back to the dilemma from the beginning of the Concept.

Here is the equation that we are going to graph. This equation describes the situation with the banana plant.

$h=4d+8$

Let’s use slope-intercept form to show its graph.

$m=4,b=8$

Notice that we only need the first quadrant of the coordinate plane because negative values would not make sense.

### Vocabulary

Independent Variable
a value that is not dependent on another value. It is the $x$ value in a table.
Dependent Variable
a value that is dependent on the equation. It is the $y$ value in a table.
Function Notation
an equation where the value of $x$ is dependent on the equation involving $x$ .

### Guided Practice

Here is one for you to try on your own.

Do you have enough information to graph this situation?

You buy a orange tree that is 12 inches tall. It grows 3 inches per day. Its height (in inches) $h$ is a function of time (in days) $d$ .

$h=3d+12$

Let’s use slope-intercept form to show its graph. We know that the slope is 3 and the $y$ – intercept is 12. That gives us enough information to graph this line.

### Practice

Directions: Graph each function.

1. $f(x)=3x+1$
2. $f(x)=2x+2$
3. $f(x)=5x-1$
4. $f(x)=x-3$
5. $f(x)=-2x+1$
6. $f(x)=-2x-5$
7. $f(x)=-4x+9$
8. $f(x)=4x+8$
9. $f(x)=x-10$
10. $f(x)=2x+6$

Directions: Use what you have learned to solve each problem.

1. A migrating monarch butterfly travels 1100 miles. If it flies 30 miles per day, the distance $d$ it still has to travel is a function of days $t$ it has traveled. Write a function rule for the situation.
2. What is the slope of the situation?
3. 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.
4. What is the slope of this situation?
5. How many books does the writer need to sell to earn \$10,000 total?