<img src="https://d5nxst8fruw4z.cloudfront.net/atrk.gif?account=iA1Pi1a8Dy00ym" style="display:none" height="1" width="1" alt="" />
You are viewing an older version of this Concept. Go to the latest version.

# Graphs of Linear Functions

## Graph f(x) = ax +b

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

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\begin{align*}h\end{align*} is a function of time (in days) d\begin{align*}d\end{align*}.

We can write that linear equation as h=4d+8\begin{align*}h = 4d+8\end{align*}.

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\begin{align*}x\end{align*}-axis of a graph. The dependent variable will be shown in the right column of a t-table and on the y\begin{align*}y\end{align*}-axis of a graph.

If you think about this it makes perfect sense. The function of y\begin{align*}y\end{align*} depends on the rest of the equation. Then we can use function notation to represent this situation.

f(x)=4x+1\begin{align*}f(x)=4x+1\end{align*}

Here we know that the function of x\begin{align*}x\end{align*} is dependent on 4 times that value, x\begin{align*}x\end{align*} 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\begin{align*}x\end{align*}-axis and the dependent variable on the y\begin{align*}y\end{align*}-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 x1=25,y1=30,x2=27,y2=33.2\begin{align*}x_1=25, y_1 = 30, x_2 = 27, y_2 = 33.2\end{align*}.

mmmmm=y2y1x2x1=33.2302725=3.22=1.6=85

Now substitute in our known values of m,x1,\begin{align*}m, x_1,\end{align*} and y1\begin{align*}y_1\end{align*}.

m855(y30)5y1505y=yy1xx1=y30x25=8(x25)=8x200=8x50=85x10

Now we can graph the data.

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

#### Example A

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

Solution: Slope = 3, y-intercept = 2

#### Example B

f(x)=2x9\begin{align*}f(x)=-2x-9\end{align*}

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

#### Example C

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

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\begin{align*}h=4d+8\end{align*}

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

m=4,b=8\begin{align*}m=4,b=8\end{align*}

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\begin{align*}x\end{align*} value in a table.
Dependent Variable
a value that is dependent on the equation. It is the y\begin{align*}y\end{align*} value in a table.
Function Notation
an equation where the value of x\begin{align*}x\end{align*} is dependent on the equation involving x\begin{align*}x\end{align*}.

### 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\begin{align*}h\end{align*} is a function of time (in days) d\begin{align*}d\end{align*}.

h=3d+12\begin{align*}h=3d+12\end{align*}

Let’s use slope-intercept form to show its graph. We know that the slope is 3 and the y\begin{align*}y\end{align*} – intercept is 12. That gives us enough information to graph this line.

### Practice

Directions:Graph each function.

1. f(x)=3x+1\begin{align*}f(x)=3x+1\end{align*}
2. f(x)=2x+2\begin{align*}f(x)=2x+2\end{align*}
3. f(x)=5x1\begin{align*}f(x)=5x-1\end{align*}
4. f(x)=x3\begin{align*}f(x)=x-3\end{align*}
5. f(x)=2x+1\begin{align*}f(x)=-2x+1\end{align*}
6. f(x)=2x5\begin{align*}f(x)=-2x-5\end{align*}
7. f(x)=4x+9\begin{align*}f(x)=-4x+9\end{align*}
8. f(x)=4x+8\begin{align*}f(x)=4x+8\end{align*}
9. f(x)=x10\begin{align*}f(x)=x-10\end{align*}
10. f(x)=2x+6\begin{align*}f(x)=2x+6\end{align*}

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\begin{align*}d\end{align*} it still has to travel is a function of days t\begin{align*}t\end{align*} 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?

### Vocabulary Language: English

dependent variable

dependent variable

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

independent variable

The independent variable is the input variable in an equation or function, commonly represented by $x$.