<img src="https://d5nxst8fruw4z.cloudfront.net/atrk.gif?account=iA1Pi1a8Dy00ym" style="display:none" height="1" width="1" alt="" />

# 4.5: Graphs Using Slope-Intercept Form

Difficulty Level: At Grade Created by: CK-12

## Learning Objectives

• Identify the slope and y\begin{align*}y-\end{align*}intercept of equations and graphs.
• Graph an equation in slope-intercept form.
• Understand what happens when you change the slope or intercept of a line.
• Identify parallel lines from their equations.

## Identify Slope and y-intercept

One of the most common ways of writing linear equations prior to graphing them is called slope-intercept form. We have actually seen several slope-intercept equations so far. They take the following form:

y=mx+b\begin{align*}y = mx + b\end{align*} where m\begin{align*}m\end{align*} is the slope and the point (0,b)\begin{align*}(0, b)\end{align*} is the y\begin{align*}y-\end{align*}intercept.

We know that the y\begin{align*}y-\end{align*}intercept is the point at which the line passes through the y\begin{align*}y-\end{align*}axis. The slope is a measure of the steepness of the line. Hopefully, you can see that if we know one point on a line and the slope of that line, we know what the line is. Being able to quickly identify the y\begin{align*}y-\end{align*}intercept and slope will aid us in graphing linear functions.

Example 1

Identify the slope and y\begin{align*}y-\end{align*}intercept of the following equations.

a) y=3x+2\begin{align*}y= 3x + 2 \end{align*}

b) y=0.5x3\begin{align*}y = 0.5x- 3 \end{align*}

c) y=7x\begin{align*}y = -7x\end{align*}

d) y=4\begin{align*}y = -4\end{align*}

Solution

a) Comparing, we see that m=3\begin{align*}m = 3\end{align*} and b=2\begin{align*}b = 2\end{align*}.

y=3x+2\begin{align*}y = 3x + 2\end{align*} has a slope of 3 and a y\begin{align*}y-\end{align*}intercept of (0, 2)

b) has a slope of 0.5 and a y\begin{align*}y-\end{align*}intercept of (0, -3).

Note that the y\begin{align*}y-\end{align*}intercept is negative. The b\begin{align*}b\end{align*} term includes the sign of the operator in front of the number. Just remember that y=0.5x3\begin{align*}y = 0.5x- 3\end{align*} is identical to y=0.5x+(3)\begin{align*}y = 0.5x + (-3)\end{align*} and is in th eform y=mx+b\begin{align*}y = mx + b\end{align*}.

c) At first glance, this does not appear to fit the slope-intercept form. To illustrate how we deal with this, let us rewrite the equation.

We now see that we get a slope of -7 and a y\begin{align*}y-\end{align*}intercept of (0, 0).

Note that the slope is negative. The (0, 0) intercept means that the line passes through origin.

d) Rewrite as y=0x4\begin{align*}y = 0x -4\end{align*}, giving us a slope of 0 and an intercept of (0, -4).

Remember:

• When m<0\begin{align*}m <0\end{align*} the slope is negative.

For example, y=3x+2\begin{align*}y = -3x + 2\end{align*} has a slope of -3.

• When b<0\begin{align*}b<0\end{align*} the intercept is below the x\begin{align*}x\end{align*} axis.

For example, y=4x2\begin{align*}y=4x- 2\end{align*} has a y\begin{align*}y-\end{align*}intercept of (0, -2).

• When m=0\begin{align*}m = 0\end{align*} the slope is zero and we have a horizontal line.

For example, y=3\begin{align*}y = 3\end{align*} can be written as y=0x+3\begin{align*}y = 0 x + 3\end{align*}.

• When b=0\begin{align*}b = 0\end{align*} the graph passes through the origin.

For example, y=4x\begin{align*}y = 4x\end{align*} can be written as =4x+0\begin{align*} = 4x + 0\end{align*}.

Example 2

Identify the slope and y\begin{align*}y-\end{align*}intercept of the lines on the graph shown to the right.

The intercepts have been marked, as have a number of lattice points that lines pass through.

a. The y\begin{align*}y-\end{align*}intercept is (0, 5). The line also passes through (2, 3).

slope m=ΔyΔx=22=1\begin{align*}\text{slope}\ m = \frac{\Delta y} {\Delta x} = \frac{-2} {2} = -1\end{align*}

b. The y\begin{align*}y-\end{align*}intercept is (0, 2). The line also passes through (1, 5).

slope m=ΔyΔx=31=3\begin{align*}\text{slope}\ m = \frac{\Delta y} {\Delta x} = \frac{3} {1} = 3\end{align*}

c. The y\begin{align*}y-\end{align*}intercept is (0, -1). The line also passes through (2, 3).

slope m=ΔyΔx=42=2\begin{align*}\text{slope}\ m = \frac{\Delta y} {\Delta x} = \frac{4} {2} = 2\end{align*}

d. The y\begin{align*}y-\end{align*}intercept is (0, -3). The line also passes through (4, -4).

slope m=ΔyΔx=14=14 or 0.25\begin{align*}\text{slope}\ m = \frac{\Delta y} {\Delta x} = \frac{-1} {4} = \frac{-1} {4}\ \text{or}\ -0.25\end{align*}

## Graph an Equation in Slope-Intercept Form

Once we know the slope and intercept of a line it is easy to graph it. Just remember what slope means. Let's look back at this example from Lesson 4.1.

Example 3

Ahiga is trying to work out a trick that his friend showed him. His friend started by asking him to think of a number. Then double it. Then add five to what he got. Ahiga has written down a rule to describe the first part of the trick. He is using the letter x\begin{align*}x\end{align*} to stand for the number he thought of and the letter y\begin{align*}y\end{align*} to represent the result of applying the rule. His rule is:

y=2x+5\begin{align*}y = 2x+ 5\end{align*}

Help him visualize what is going on by graphing the function that this rule describes.

In that example, we constructed the following table of values.

x\begin{align*}x\end{align*} \begin{align*}y\end{align*}
0 \begin{align*}2.0 + 5 = 0 + 5 = 5\end{align*}
1 \begin{align*}2.1+ 5 = 2 + 5 = 7\end{align*}
2 \begin{align*}2.2 + 5 = 4 + 5 = 9\end{align*}
3 \begin{align*}2.3 + 5 = 6 + 5 = 11\end{align*}

The first entry gave us our \begin{align*}y\end{align*} intercept (0, 5). The other points helped us graph the line.

We can now use our equation for slope, and two of the given points.

Slope between \begin{align*}(x_1, y_1 ) = (0, 5)\end{align*} and \begin{align*}(x_2, y_2 ) = (3, 11)\end{align*}.

\begin{align*} m = \frac{y_2 - y_1} {x_2 - x_1} = \frac{11 - 5} {3 - 0} = \frac{6} {3} = 2\end{align*}

Thus confirming that the slope, \begin{align*}m=2\end{align*}.

An easier way to graph this function is the slope-intercept method. We can now do this quickly, by identifying the intercept and the slope.

Look at the graph we drew, the line intersects the \begin{align*}y-\end{align*}axis at 5, and every time we move to the right by one unit, we move up by two units.

So what about plotting a function with a negative slope? Just remember that a negative slope means the function decreases as we increase \begin{align*}x\end{align*}.

Example 4

Graph the following function. \begin{align*}y = -3x + 5\end{align*}

• Identify \begin{align*}y-\end{align*}intercept \begin{align*}b = 5 \end{align*}
• Plot intercept (0, 5)
• Identify slope \begin{align*}m = -3\end{align*}
• Draw a line through the intercept that has a slope of -3.

To do this last part remember that \begin{align*}\text{slope} = \frac{\text{rise}}{\text{run}}\end{align*} so for every unit we move to the right the function increases by -3 (in other words, for every square we move right, the function comes down by 3).

## Changing the Slope of a Line

Look at the graph on the right. It shows a number of lines with different slopes, but all with the same \begin{align*}y-\end{align*}intercept (0, 3).

You can see all the positive slopes increase as we move from left to right while all functions with negative slopes fall as we move from left to right.

Notice that the higher the value of the slope, the steeper the graph.

The graph of \begin{align*}y = 2x + 3\end{align*} appears as the mirror image of \begin{align*}y=-2x + 3\end{align*}. The two slopes are equal but opposite.

Fractional Slopes and Rise Over Run

Look at the graph of \begin{align*}y=0.5x + 3\end{align*}. As we increase the \begin{align*}x\end{align*} value by 1, the \begin{align*}y\end{align*} value increases by 0.5. If we increase the \begin{align*}x\end{align*} value by 2, then the \begin{align*}y\end{align*} value increases by 1. In fact, if you express any slope as a fraction, you can determine how to plot the graph by looking at the numerator for the rise (keep any negative sign included in this term) and the denominator for the run.

Example 5

Find integer values for the rise and run of following slopes then graph lines with corresponding slopes.

a. \begin{align*}m = 3 \end{align*}

b. \begin{align*}m = -2 \end{align*}

c. \begin{align*}m = 0.75 \end{align*}

d. \begin{align*}m = -0.375\end{align*}

Solution:

a.

b.

c.

d.

## Changing the Intercept of a Line

When we take an equation (such as \begin{align*}y=2x\end{align*}) and change the \begin{align*}y\end{align*} intercept (leaving the slope intact) we see the following pattern in the graph on the right.

Notice that changing the intercept simply translates the graph up or down. Take a point on the graph of \begin{align*}y=2x\end{align*}, such as (1, 2). The corresponding point on \begin{align*}y = 2x + 3\end{align*} would be (1, 4). Similarly the corresponding point on the \begin{align*}y = 2x- 3\end{align*} line would be (1, -1).

Will These Lines Ever Cross?

To answer that question, let us take two of the equations \begin{align*}y=2x\end{align*} and \begin{align*}y=2x+3\end{align*} and solve for values of \begin{align*}x\end{align*} and \begin{align*}y\end{align*} that satisfy both equations. This will give us the \begin{align*}(x,y)\end{align*} coordinates of the point of intersection.

\begin{align*}2x & = 2x + 3c &&&& \text{Subtract}\ 2x\ \text{from both sides.}\\ 0 & = 0 + 3 && \text{or} && 0 = 3\ \text{This statement is FALSE!}\end{align*}

When we get a false statement like this, it means that there are no \begin{align*}(x, y)\end{align*} values that satisfy both equations simultaneously. The lines will never cross, and so they must be parallel.

## Identify Parallel Lines

In the previous section, when we changed the intercept but left the slope the same, the new line was parallel to the original line. This would be true whatever the slope of the original line, as changing the intercept on a \begin{align*}y = mx + b\end{align*} graph does nothing to the slope. This idea can be summed up as follows.

Any two lines with identical slopes are parallel.

## Lesson Summary

• A common form of a line (linear equation) is slope-intercept form:
\begin{align*}y=mx+b\end{align*} where \begin{align*}m\end{align*} is the slope and the point \begin{align*}(0, b)\end{align*} is the \begin{align*}y-\end{align*}intercept
• Graphing a line in slope-intercept form is a matter of first plotting the \begin{align*}y-\end{align*}intercept \begin{align*}(0, b)\end{align*}, then plotting more points by moving a step to the right (adding 1 to \begin{align*}x\end{align*}) and moving the value of the slope vertically (adding \begin{align*}m\end{align*} to \begin{align*}y\end{align*}) before plotting each subsequent point.
• Any two lines with identical slopes are parallel.

## Review Questions

1. Identify the slope and \begin{align*}y-\end{align*}intercept for the following equations.
1. \begin{align*}y = 2x + 5 \end{align*}
2. \begin{align*}y = -0.2x + 7 \end{align*}
3. \begin{align*}y = x \end{align*}
4. \begin{align*}y = 3.75\end{align*}
2. Identify the slope of the following lines.
3. Identify the slope and \begin{align*}y-\end{align*}intercept for the following functions.
4. Plot the following functions on a graph.
1. \begin{align*}y = 2x + 5 \end{align*}
2. \begin{align*}y = -0.2x + 7 \end{align*}
3. \begin{align*}y = -x \end{align*}
4. \begin{align*}y = 3.75\end{align*}
5. Which two of the following lines are parallel?
1. \begin{align*}y = 2x + 5\end{align*}
2. \begin{align*}y = -0.2x + 7 \end{align*}
3. \begin{align*}y = -x\end{align*}
4. \begin{align*}y = 3.75\end{align*}
5. \begin{align*} y = -\frac{1}{5}x-11 \end{align*}
6. \begin{align*}y = -5x + 5 \end{align*}
7. \begin{align*}y = -3x + 11 \end{align*}
8. \begin{align*}y = 3x + 3.5\end{align*}

1. \begin{align*}m = 2, (0, 5)\end{align*}
2. \begin{align*}m = -0.2, (0, 7) \end{align*}
3. \begin{align*}m = 1, (0, 0)\end{align*}
4. \begin{align*}m = 0, (0, 3.75)\end{align*}
1. \begin{align*}m = -2 \end{align*}
2. \begin{align*}m = -\frac{4}{3}\end{align*}
3. \begin{align*}m = 0 \end{align*}
4. \begin{align*}m = \frac{2}{5} \end{align*}
5. \begin{align*}m = -0.25 \end{align*}
6. \begin{align*}m = -0.5\end{align*}
7. \begin{align*}m = 4\end{align*}
1. \begin{align*}y = -\frac{2}{3}x+ 1.5\end{align*}
2. \begin{align*}y = 3x+ 1\end{align*}
3. \begin{align*}y = 0.5x- 2\end{align*}
4. \begin{align*}y = -x\end{align*}
5. \begin{align*}y = 3\end{align*}
6. \begin{align*}y = -0.2x - 1\end{align*}
1. b and e

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

Color Highlighted Text Notes

Show Hide Details
Description
Tags:
Subjects: