# 3.10 Slope of a Line

## Learning Objectives

By the end of this section, you will be able to:

• Use $m=\frac{rise}{run}$ to find the slope of a line from its graph
• Find the slope of horizontal and vertical lines
• Use the slope formula to find the slope of a line between two points
• Graph a line given a point and the slope
• Solve slope applications
• Recognize the relation between the graph and the slope–intercept form of an equation of a line
• Identify the slope and $y$-intercept form of an equation of a line
• Graph a line using its slope and intercept
• Choose the most convenient method to graph a line
• Graph and interpret applications of slope–intercept
• Use slopes to identify parallel lines
• Use slopes to identify perpendicular lines

### Try It

Before you get started, take this readiness quiz:

1) Simplify: $\frac{1–4}{8-2}$
2) Divide: $\frac{0}{4},\frac{4}{0}$
3) Simplify: $\frac{15}{-3},\frac{-15}{3},\frac{-15}{-3}$
4) Add: $\frac{x}{4}+\frac{1}{4}$
5) Find the reciprocal of $\frac{3}{7}$
6) Solve $2x-3y=12$

When you graph linear equations, you may notice that some lines tilt up as they go from left to right and some lines tilt down. Some lines are very steep and some lines are flatter. What determines whether a line tilts up or down or if it is steep or flat?

In mathematics, the ‘tilt’ of a line is called the slope of the line. The concept of slope has many applications in the real world. The pitch of a roof, grade of a highway, and a ramp for a wheelchair are some examples where you literally see slopes. And when you ride a bicycle, you feel the slope as you pump uphill or coast downhill.

In this section, we will explore the concept of slope.

## Use $m=\frac{rise}{run}$ to Find the Slope of a Line from its Graph

Now, we’ll look at some graphs on the $xy$-coordinate plane and see how to find their slopes. The method we will use here will be similar to how one would use geoboards.

To find the slope, we must count out the rise and the run. But where do we start?

We locate two points on the line whose coordinates are integers. We then start with the point on the left and sketch a right triangle, so we can count the rise and run.

### Example 3.10.1

How to Use $m=\frac{rise}{run}$ to Find the Slope of a Line from its Graph

Find the slope of the line shown.

Solution

Step 1: Locate two points whose coordinates are integers.
Mark $(0-,3)(5,1)$

Step 2: Starting with the point on the left, sketch a right triangle, going from the first point to the second point.

Step 3: Count the rise and the run on the legs of the triangle.
Count the rise.
Count the run.

Step 4: Take the ration of rise to run to find the slope.

\begin{align*} &\text{Use the slope formula.}\;&m&=\frac{rise}{run}\\ &\text{Substitute the values of the rise and run.}\;&m&=\frac45\end{align*}
The slope of the line is $\frac45$.

### Try It

7) Find the slope of the line shown.

Solution

$\frac{2}{5}$

8) Find the slope of the line shown.

Solution

$\frac{3}{4}$

### HOW TO

#### Find the slope of a line from its graph using $m=\frac{rise}{run}$

1. Locate two points on the line whose coordinates are integers.
2. Starting with the point on the left, sketch a right triangle, going from the first point to the second point.
3. Count the rise and the run on the legs of the triangle.
4. Take the ratio of rise to run to find the slope, $m=\frac{rise}{run}$

### Example 3.10.2

Find the slope of the line shown.

Solution

$m=\frac{rise}{run}$

Step 1. Locate two points on the graph whose coordinates are integers.

$(0,5)$ and $(3,3)$

Step 2: Which point is on the left?

$(0,5)$

Step 3: Starting at $(0,5)$, sketch a right triangle to $(3,3)$.

Step 4: Count the rise—it is negative.

The rise is $-2$.

Step 5: Count the run.

The run is $3$.

Step 6: Use the slope formula.

$m=\frac{rise}{run}$

Step 7: Substitute the values of the rise and run.

\begin{align*}&\;&m&=\frac{-2}{3}\\&\text{Simplify.}\;&m&=-\frac{2}{3}\end{align*}

The slope of the line is $-\frac{2}{3}$.

So y increases by $3$ units as $x$ decreases by $2$ units. What if we used the points left $(-3,7)$ and $(6,1)$ to find the slope of the line?The rise would be $-6$ and the run would be $9$. Then $m=\frac{-6}{9}$, and that simplifies to $m=-\frac{2}{3}$. Remember, it does not matter which points you use—the slope of the line is always the same.

### Try It

9) Find the slope of the line shown.

Solution

$-\frac{4}{3}$

10) Find the slope of the line shown.

Solution

$-\frac{3}{5}$

In the last two examples, the lines had $y$-intercepts with integer values, so it was convenient to use the $y$-intercept as one of the points to find the slope. In the next example, the $y$-intercept is a fraction. Instead of using that point, we’ll look for two other points whose coordinates are integers. This will make the slope calculations easier.

### Example 3.10.3

Find the slope of the line shown.
Solution

Step 1: Locate two points on the graph whose coordinates are integers.

$(2,3)$ and $(7,6)$

Step 2: Which point is on the left?

$(2,3)$

Step 3: Starting at $(2,3)$, sketch a right triangle to $(7,6)$.

Step 4: Count the rise.

The rise is $3$.

Step 5: Count the run.

The run is $5$.

Step 6: Use the slope formula.

$m=\frac{rise}{run}$

Step 7: Substitute the values of the rise and run.

The slope of the line is $\frac{3}{5}$

This means that $y$ increases $5$ units as $x$ increases $3$ units. If you used a geoboard to introduce the concept of slope, you would always start with the point on the left and count the rise and the run to get to the point on the right. That way the run was always positive and the rise determined whether the slope was positive or negative. What would happen if we started with the point on the right? Let’s use the points $(2,3)$ and $(7,6)$ again, but now we’ll start at $(7,6)$.

Step 1: Count the rise.

The rise is $-3$.

Step 2: Count the run. It goes from right to left, so it is negative.

The run is $-5$.

Step 3: Use the slope formula.

$m=\frac{rise}{run}$

Step 4: Substitute the values of the rise and run.

$m=\frac{-3}{-5}$

Step 5: The slope of the line is $\frac{3}{5}$.
It does not matter where you start—the slope of the line is always the same.

### Try It

11) Find the slope of the line shown.

Solution

$\frac{5}{4}$

12) Find the slope of the line shown.

Solution

$\frac{3}{2}$

## Find the Slope of Horizontal and Vertical Lines

Do you remember what was special about horizontal and vertical lines? Their equations had just one variable.

 Horizontal line $y = b$ Vertical line $x = a$ $y$-coordinates are the same. $x$-coordinates are the same.

So how do we find the slope of the horizontal line $y=4$? One approach would be to graph the horizontal line, find two points on it, and count the rise and the run. Let’s see what happens when we do this.

Step 1: What is the rise?

The rise is $0$.

Step 2: Count the run.

The run is $3$.

Step 3: What is the slope?

\begin{align*}m&=\frac{rise}{run}\\m&=\frac{0}{3}\\m&=0\end{align*}

The slope of the horizontal line $y=4$ is $0$.

All horizontal lines have slope $0$. When the $y$-coordinates are the same, the rise is $0$.

### Slope of a Horizontal Line

The slope of a horizontal line, $y=b$, is $0$.

The floor of your room is horizontal. Its slope is $0$. If you carefully placed a ball on the floor, it would not roll away.

Now, we’ll consider a vertical line, the line.

Step 1: What is the rise?

The rise is $2$.

Step 2: Count the run.

The run is $0$.

Step 3: What is the slope?

\begin{align*}m&=\frac{rise}{run}\\m&=\frac{2}{0}\end{align*}

But we can’t divide by $0$. Division by $0$ is not defined. So we say that the slope of the vertical line $x=3$ is undefined.

The slope of any vertical line is undefined. When the $x$-coordinates of a line are all the same, the run is $0$.

### Slope of a Vertical Line

The slope of a vertical line, $x=a$, is undefined.

### Example 3.10.4

Find the slope of each line:

a. $x=8$
b. $y=-5$

Solution

a. $x=8$
This is a vertical line.
Its slope is undefined.

b. $y=-5$
This is a horizontal line.
It has slope $0$.

### Try It

13) Find the slope of the line: $x=-4$.

Solution

undefined

14) Find the slope of the line: $y=7$.

Solution

$0$

### Quick Guide to the Slopes of Lines

Remember, we ‘read’ a line from left to right, just like we read written words in English.

## Use the Slope Formula to find the Slope of a Line Between Two Points

Sometimes we’ll need to find the slope of a line between two points when we don’t have a graph to count out the rise and the run. We could plot the points on grid paper, then count out the rise and the run, but as we’ll see, there is a way to find the slope without graphing. Before we get to it, we need to introduce some algebraic notation.

We have seen that an ordered pair $(x,y)$ gives the coordinates of a point. But when we work with slopes, we use two points. How can the same symbol $(x,y)$ be used to represent two different points? Mathematicians use subscripts to distinguish the points.

 $(x_1,y_1)$ read ‘ $x$ sub 1, $y$ sub 1 ‘ $(x_2,y_2)$ read ‘ $x$ sub 2, $y$ sub 2 ‘

The use of subscripts in math is very much like the use of last name initials in elementary school. Maybe you remember Laura C. and Laura M. in your third grade class?

We will use $(x_1,y_1)$ to identify the first point and $(x_2,y_2)$ to identify the second point.

If we had more than two points, we could use $(x_3,y_3)$, $(x_4,y_4)$, and so on.

Let’s see how the rise and run relate to the coordinates of the two points by taking another look at the slope of the line between the points $(2,3)$ and $(7,6)$.

Since we have two points, we will use subscript notation,

$\begin{pmatrix}x_1&y_1\\2&3\end{pmatrix}$      $\begin{pmatrix}x_2&y_2\\7&6\end{pmatrix}$

On the graph, we counted the rise of $3$ and the run of $5$.

Notice that the rise of $3$ can be found by subtracting the $y$-coordinates $6$ and $3$.

$3=6-3$

And the run of $5$ can be found by subtracting the $x$-coordinates $7$ and $2$.

$5=7-2$

We know $m=\frac{rise}{run}$. So $m=\frac{3}{5}$.

We rewrite the rise and run by putting in the coordinates $m=\frac{6-3}{7-2}$.

But $6$ is $y_2$, the $y$-coordinate of the second point and $3$ is $y_1$ the $y$-coordinate of the first point.

So we can rewrite the slope using subscript notation. $m=\frac{y_2-y_1}{7-2}$

Also, $7$ is $x_2$, the $x$-coordinate of the second point and $2$ is $x_1$, the $x$-coordinate of the first point.

So, again, we rewrite the slope using subscript notation. $m=\frac{y_2-y_1}{x_2-x_1}$

We’ve shown that $m=\frac{y_2-y_1}{x_2-x_1}$ is really another version of $m=\frac{rise}{run}$. We can use this formula to find the slope of a line when we have two points on the line.

### Slope Formula

The slope of the line between two points $(x_1,y_1)$ and $(x_2,y_2)$ is

$m=\frac{y_2-y_1}{x_2-x_1}$

This is the slope formula.

The slope is:

$y$ of the second point minus $y$ of the first point
over
$x$ of the second points minus $x$ of the first point

### Example 3.10.5

Use the slope formula to find the slope of the line between the points $(1,2)$ and $(4,5)$.

Solution

$m=\frac{y_2-y_1}{x_2-x_1}$

Step 1: We’ll call $(1,2)$ point #1 and $(4,5)$ point #2.

$\begin{pmatrix}x_1&y_1\\1&2\end{pmatrix}$         $\begin{pmatrix}x_2&y_2\\4&5\end{pmatrix}$

Step 2: Use the slope formula.

$m=\frac{rise}{run}$

Step 3: Substitute the values.

$y$ of the second point minus $y$ of the first point.

$m=\frac{5-2}{x_2-x_1}$

$x$ of the second point minus $x$ of the first point.

$m=\frac{5-2}{4-1}$

Step 4: Simplify the numerator and the denominator.

\begin{align*} &\;&m&=\frac33\\ &\text{Simplify.}&m&=1 \end{align*}

Let’s confirm this by counting out the slope on a graph using $m=\frac{rise}{run}$.

It doesn’t matter which point you call point #1 and which one you call point #2. The slope will be the same. Try the calculation yourself.

### Try It

15) Use the slope formula to find the slope of the line through the points: $(8,5)$ and $(6,3)$.

Solution

$1$

16) Use the slope formula to find the slope of the line through the points: $(1,5)$ and $(5,9)$.

Solution

$1$

### Example 3.10.6

Use the slope formula to find the slope of the line through the points $(-2,-3)$ and $(-7,4)$.

Solution

Step 1. We’ll call $(-2,-3)$ point #1 and $(-7,4)$ point #2.

$\begin{pmatrix}x_1&y_1\\-2&-3\end{pmatrix}$         $\begin{pmatrix}x_2&y_2\\-7&4\end{pmatrix}$

Step 2. Use the slope formula.

$m=\frac{y_2-y_1}{x_2-x_1}$

Step 3. Substitute the values.

$y$ of the second point minus $y$ of the first point.

$m=\frac{4-(-3)}{x_2-x_1}$

$x$ of the second point minus $x$ of the first point.

$m=\frac{4-(-3)}{-7-(-2)}$

Step 4. Simplify.

\begin{align*}m&=\frac{7}{-5}\\m&=-\frac{7}{5}\end{align*}

Let’s verify this slope on the graph shown.

\begin{align*}m&=\frac{rise}{run}\\m&=\frac{-7}{5}\\m&=-\frac{7}{5}\end{align*}

### Try It

17) Use the slope formula to find the slope of the line through the points: $(-3,4)$ and $(2,-1)$

Solution

$-1$

18) Use the slope formula to find the slope of the line through the pair of points: $(-2,6)$ and $(-3,-4)$.

Solution

$10$

## Graph a Line Given a Point and the Slope

Up to now, in this chapter, we have graphed lines by plotting points, by using intercepts, and by recognizing horizontal and vertical lines.

One other method we can use to graph lines is called the point–slope method. We will use this method when we know one point and the slope of the line. We will start by plotting the point and then use the definition of slope to draw the graph of the line.

### Example 3.10.7

Graph the line passing through the point $(1,-1)$ whose slope is $m=\frac{3}{4}$.

Solution

Step 1: Plot the given point.
Plot $(1,-1)$.

Step 2: Use the slope formula $m=\frac{rise}{run}$ to identify the rise and the run.
Identify the rise and the run.

\begin{align*}m&=\frac34\\[2ex]\frac{rise}{run}&=\frac34\\[3ex]\text{rise}&=3\\\text{run}&=4\end{align*}

Step 3: Starting at the given point, count out the rise and run to mark the second point
Start at $(1,-1)$ and count the rise and the run. Up $3$ units, right $4$ units.

Step 4: Connect the points with a line.
Connect the two points with a line.

### Try It

19) Graph the line passing through the point $(2,-2)$ with the slope $m=\frac{4}{3}$.

Solution

20) Graph the line passing through the point $(-2,3)$ with the slope $m=\frac{1}{4}$.

Solution

### HOW TO

#### Graph a line given a point and the slope.

1. Plot the given point.
2. Use the slope formula $m=\frac{rise}{run}$ to identify the rise and the run.
3. Starting at the given point, count out the rise and run to mark the second point.
4. Connect the points with a line.

### Example 3.10.8

Graph the line with $y$-intercept $2$ whose slope is $m=-\frac{2}{3}$.
Solution

Step 1: Plot the given point, the $y$-intercept, $(0,2)$.

$m=-\frac{2}{3}$

Step 2: Identify the rise and the run.

\begin{align*}\left(\frac{rise}{run}\right)&=\frac{-2}{3}\\rise&=-2\\run&=3\end{align*}

Step 3: Count the rise and the run. Mark the second point.

Step 4: Connect the two points with a line.

You can check your work by finding a third point. Since the slope is $m=-\frac{2}{3}$, it can be written as $m=\frac{2}{-3}$. Go back to $(0,2)$ and count out the rise, $2$, and the run, $-3$

### Try It

21) Graph the line with the $y$-intercept $4$ and slope $m=-\frac{5}{2}$.

Solution

22) Graph the line with the $x$-intercept $-3$ and slope $m=-\frac{3}{4}$.

Solution

### Example 3.10.9

Graph the line passing through the point $(-1,-3)$ whose slope is $m=4$.

Solution

Step 1: Plot the given point.

Step 2: Identify the rise and the run.

$m=4$

Step 3: Write $4$ as a fraction.

\begin{align*}\frac{rise}{run}&=\frac{4}{1}\\rise&=4\\run&=1\end{align*}

Step 4: Count the rise and run and mark the second point.

Step 5: Connect the two points with a line.

You can check your work by finding a third point. Since the slope is $m=4$, it can be written as $m=\frac{-4}{-1}$. Go back to $(-1,-3)$ and count out the rise, $-4$, and the run, $-1$.

### Try It

23) Graph the line with the point $(-2,1)$ and slope $m=3$.

Solution

24) Graph the line with the point $(4,-2)$ and slope $m=-2$.

Solution

## Solve Slope Applications

At the beginning of this section, we said there are many applications of slope in the real world. Let’s look at a few now.

### Example 3.10.10

The ‘pitch’ of a building’s roof is the slope of the roof. Knowing the pitch is important in climates where there is heavy snowfall. If the roof is too flat, the weight of the snow may cause it to collapse. What is the slope of the roof shown?

Solution

Step 1: Use the slope formula.

$m=\frac{rise}{run}$

Step 2: Substitute the values for rise and run.

$m=\frac{9}{18}$

Step 3: Simplify.

$m=\frac{1}{2}$

Step 4: The slope of the roof is $\frac{1}{2}$.

The roof rises $1$ foot for every $2$ feet of horizontal run.

### Try It

25) Use Example 3.10.10, substituting the $rise = 14$ and $run = 24$.

Solution

$\frac{7}{12}$

26) Use Example 3.10.10, substituting $rise = 15$ and $run = 36$.

Solution

$\frac{5}{12}$

### Example 3.10.11

Have you ever thought about the sewage pipes going from your house to the street? They must slope down $\frac{1}{4}$ inch per foot in order to drain properly. What is the required slope?

Solution

Step 1: Use the slope formula

\begin{align*} &\;&m&=\frac{rise}{run}\\[2ex] &\;&m&=\frac{-\frac14inch}{1\;foot}\\[2ex] &\;&m&=\frac{-\frac14inch}{12\;inches}\\[2ex] &\text{Simplify.}&m&=-\frac1{48} \end{align*}

The slope of the pipe is $-\frac{1}{48}$

The pipe drops $1$ inch for every $48$ inches of horizontal run.

### Try It

27) Find the slope of a pipe that slopes down $\frac{1}{3}$ inch per foot.

Solution

$-\frac{1}{36}$

28) Find the slope of a pipe that slopes down $\frac{3}{4}$ inch per yard.

Solution

$-\frac{1}{48}$

## Recognize the Relation Between the Graph and the Slope–Intercept Form of an Equation of a Line

We have graphed linear equations by plotting points, using intercepts, recognizing horizontal and vertical lines, and using the point–slope method. Once we see how an equation in slope–intercept form and its graph are related, we’ll have one more method we can use to graph lines.

In Graph Linear Equations in Two Variables, we graphed the line of the equation $y=\frac{1}{2}x+3$ by plotting points. See Figure 3.10.40. Let’s find the slope of this line.

The red lines show us the rise is $1$ and the run is $2$. Substituting into the slope formula:

\begin{align*}m&= \frac {rise}{run}\\m&= \frac {1}{5}\end{align*}

What is the $y$-intercept of the line? The $y$-intercept is where the line crosses the $y$-axis, so $y$-intercept is $(0,3)$. The equation of this line is:

${y=}{\color{red}{\frac12}}{x+}{\color{blue}{3}}{}$

Notice, the line has:

Slope ${m=}{\color{red}{\frac12}}$

When a linear equation is solved for $y$, the coefficient of the $x$ term is the slope and the constant term is the $y$-coordinate of the $y$-intercept. We say that the equation $y=\frac{1}{2}x+3$ is in slope–intercept form.

Slope ${m=}{\color{red}{\frac12}}$

\begin{align*}y&={\color{red}{\frac12}}x+{\color{blue}{3}}\\y&={\color{red}{m}}x+{\color{blue}{b}}\end{align*}

### Slope-Intercept Form of an Equation of a Line

The slope–intercept form of an equation of a line with slope $m$ and $y$-intercept, $\left(0,b\right)$ is,

$y=mx+b$

Sometimes the slope–intercept form is called the “$y$-form.”

### Example 3.10.12

Use the graph to find the slope and $y$-intercept of the line, $y=2x+1$.

Compare these values to the equation $y=mx+b$.

Solution

To find the slope of the line, we need to choose two points on the line. We’ll use the points $(0,1)$ and $(1,3)$.

Step 1: Find the rise and run.

\begin{align*}m&=\frac{rise}{run}\\m&=\frac21\\m&=2\end{align*}

Step 2: Find the $y$-intercept of the line.

The $y$-intercept is the point $(0, 1)$.

Step 3: We found the slope $m=2$ and the y-intercept $(0,1)$.

$\begin{eqnarray*}y&=&{\color{red}{2}}x\;+\;{\color{blue}{1}}\\y&=&{\color{red}{m}}x\;+\;{\color{blue}{b}}\end{eqnarray*}$

The slope is the same as the coefficient of $x$ and the $y$-coordinate of the $y$-intercept is the same as the constant term.

### Try It

29) Use the graph to find the slope and $y$-intercept of the line $y=\frac{2}{3}x-1$. Compare these values to the equation $y=mx+b$.

Solution

slope $m=\frac{2}{3}$ and $y$-intercept $(0,-1)$

30) Use the graph to find the slope and $y$-intercept of the line $y=\frac{1}{2}x+3$. Compare these values to the equation $y=mx+b$.

Solution

slope $m=\frac{1}{2}$ and $y$-intercept $(0,3)$

## Identify the Slope and $y$-Intercept From an Equation of a Line

In Understand Slope of a Line, we graphed a line using the slope and a point. When we are given an equation in slope–intercept form, we can use the $y$-intercept as the point, and then count out the slope from there. Let’s practice finding the values of the slope and $y$-intercept from the equation of a line.

### Example 3.10.13

Identify the slope and $y$-intercept of the line with equation $y=-3x+5$.

Solution

We compare our equation to the slope–intercept form of the equation.

${y\;=\;}{\color{red}{m}}{x\;+\;}{\color{blue}{b}}$

Step 1: Write the equation of the line.

${y=}{\color{red}{-}}{{\color{red}{3}}x\;+\;}{\color{blue}{5}}$

Step 2: Identify the slope.

${m=}{\color{red}{-}}{}{\color{red}{3}}$

Step 3: Identify the $y$-intercept.

$y$-intercept is ${\color{black}{(}}{{\color{black}{0}}{\color{black}{,}}{\color{black}{\;}}{\color{blue}{5}}}{\color{black}{)}}$.

### Try It

31) Identify the slope and $y$-intercept of the line $y=\frac{2}{5}x-1$

Solution

$\frac{2}{5}$; $(0,-1)$

32) Identify the slope and $y$-intercept of the line $y=-\frac{4}{3}x+1$

Solution

$-\frac{4}{3}$; $(0,1)$

When an equation of a line is not given in slope–intercept form, our first step will be to solve the equation for $y$.

### Example 3.10.14

Identify the slope and $y$-intercept of the line with equation $x+2y=6$.
Solution

This equation is not in slope–intercept form. In order to compare it to the slope–intercept form we must first solve the equation for $y$.

Step 1: Solve for $y$.

$x+2y=6$

Step 2: Subtract $x$ from each side.

$2y\;=\;-x\;+\;6$

Step 3: Divide both sides by $2$.

\begin{align*} &\;&\frac{2y}{2}&=\frac{-x+6}2\\[2ex] &\text{Simplify.}&\frac{2y}2&=\frac{-x}2+\frac62 \end{align*}

Remember: $\frac{a+b}{c}=\frac{a}{c}+\frac{b}{c}$

$y\;=-\frac12x\;+\;3$

Step 6: Write the slope–intercept form of the equation of the line.

${y\;=\;}{\color{red}{m}}{x\;+\;}{\color{blue}{b}}{}$

Step 7: Write the equation of the line.

${y\;=\;-}{\color{red}{\frac12}}{x\;+\;}{\color{blue}{3}}$

Step 8: Identify the slope.

${\color{black}{m}}{{\color{black}{\;}}{\color{black}{=}}{\color{blue}{\;}}{\color{red}{-}}}{\color{red}{\frac12}}$

Step 9: Identify the $y$-intercept.

$y$-intercept = ${(0,\;}{\color{blue}{3}}{)}$

### Try It

33) Identify the slope and $y$-intercept of the line $x+4y=8$.

Solution

$-\frac{1}{4}$; $(0,2)$

34) Identify the slope and $y$-intercept of the line $3x+2y=12$.

Solution

$-\frac{3}{2}$; $(0,6)$

## Graph a Line Using its Slope and Intercept

Now that we know how to find the slope and $y$-intercept of a line from its equation, we can graph the line by plotting the $y$-intercept and then using the slope to find another point.

### Example 3.10.15

Graph the line of the equation $y=4x-2$ using its slope and $y$-intercept.

Solution

Step 1: Find the slope-intercept form of the equation.
This equation is in slope-intercept form

$y=4x-2$

Step 2: Identify the slope and $y$-intercept.
Use ${y=}{\color{red}{m}}{x+}{\color{blue}{b}}$
Find the slope.
Find the $y$-intercept.

\begin{align*}y&={\color{red}{m}}x+{\color{blue}{b}}\\y&={\color{red}{4}}x+({\color{blue}{-2}})\\m&=4\\b&=-2, (0,-2) \end{align*}

Step 4: Use the slope formula $m=\frac{rise}{run}$ to identify the rise and the run.
Identify the rise and the run.

\begin{align*} m&=4\\ \frac{rise}{run}&=\frac41\\ rise&=4\\ run&=1 \end{align*}

Step 5: Starting at the y-intercept, count out the rise and run to mark the second point.
Start at (0,-2) and count the rise and run.
Up 4, right 1.

Step 6: Connect the points with a line.
Connect the two points with a line.

### Try It

35) Graph the line of the equation $y=4x+1$ using its slope and $y$-intercept.

Solution

36) Graph the line of the equation $y=2x-3$ using its slope and $y$-intercept.

Solution

### HOW TO

#### Graph a line using its slope and $y$-intercept.

1. Find the slope-intercept form of the equation of the line.
2. Identify the slope and $y$-intercept.
3. Plot the $y$-intercept.
4. Use the slope formula $m=\frac{rise}{run}$ to identify the rise and the run.
5. Starting at the $y$-intercept, count out the rise and run to mark the second point.
6. Connect the points with a line.

### Example 3.10.16

Graph the line of the equation $y=−x+4$ using its slope and $y$-intercept.

Solution

$y=mx+b$

Step 1: The equation is in slope–intercept form.

$y=−x+4$

Step 2: Identify the slope and $y$-intercept.

$m=-1$

$y$-intercept is $(0, 4)$

Step 3: Plot the $y$-intercept.

See graph below.

Step 4: Identify the rise and the run.

$m=\frac{-1}{1}$

Step 5: Count out the rise and run to mark the second point.

$rise =−1$, $run=1$

Step 6: Draw the line.

Step 7: To check your work, you can find another point on the line and make sure it is a solution of the equation.

In the graph we see the line goes through $(4, 0)$.

Step 8: Check.

\begin{align*}y&=-x+4\\0&\overset?=-4+4\\0&=0\checkmark\end{align*}

### Try It

37) Graph the line of the equation $y=−x-3$ using its slope and $y$-intercept.

Solution

38) Graph the line of the equation $y=−x-1$ using its slope and $y$-intercept.

Solution

### Example 3.10.17

Graph the line of the equation $y=-\frac{2}{3}x-3$ using its slope and $y$-intercept.

Solution

$y=mx+b$

Step 1: The equation is in slope–intercept form.

$m=-\frac{2}{3}$; $y$-intercept is $(0, −3)$

Step 2: Identify the slope and $y$-intercept.

See graph below.

Step 3: Plot the $y$-intercept.

Step 4: Identify the rise and the run.

Step 5: Count out the rise and run to mark the second point.

Step 6: Draw the line.

### Try It

39) Graph the line of the equation $y=-\frac{5}{2}x+1$ using its slope and $y$-intercept.

Solution

40) Graph the line of the equation $y=-\frac{3}{4}x-2$ using its slope and $y$-intercept.

Solution

### Example 3.10.18

Graph the line of the equation $4x-3y=12$ using its slope and $y$-intercept.

Solution

$4x-3y=12$

Step 1: Find the slope–intercept form of the equation.

\begin{align*} 4x-3y&=12\\ -3y&=-4x+12\\ -\frac{3y}{3}&=\frac{-4x+12}{-3} \end{align*}

Step 2: The equation is now in slope–intercept form.

$y=\frac{4}{3}x-4$

Step 3: Identify the slope and $y$-intercept.

$m=\frac{4}{3}$

$y$-intercept is $(0, −4)$

See graph below.

Step 4: Plot the $y$-intercept.

Step 5: Identify the rise and the run; count out the rise and run to mark the second point.

Step 6: Draw the line.

### Try It

41) Graph the line of the equation $2x-y=6$ using its slope and $y$-intercept.

Solution

42) Graph the line of the equation $3x-2y=8$ using its slope and $y$-intercept.

Solution

We have used a grid with $x$ and $y$ both going from about $-10$ to $10$ for all the equations we’ve graphed so far. Not all linear equations can be graphed on this small grid. Often, especially in applications with real-world data, we’ll need to extend the axes to bigger positive or smaller negative numbers.

### Example 3.10.19

Graph the line of the equation $y=0.2x+45$ using its slope and $y$-intercept.

Solution

We’ll use a grid with the axes going from about $-80$ to $80$.

$y=mx+b$

Step 1: The equation is in slope–intercept form.

$y=0.2x+45$

Step 2: Identify the slope and $y$-intercept.

$m = 0.2$

The $y$-intercept is $(0, 45)$.

Step 3: Plot the $y$-intercept.

See graph below.

Step 4: Count out the rise and run to mark the second point.

The slope is $m = 0.2$; in fraction form this means $m=\frac{2}{10}$. Given the scale of our graph, it would be easier to use the equivalent fraction $m=\frac{10}{50}$.

Step 5: Draw the line.

### Try It

43) Graph the line of the equation $y=0.5x+25$ using its slope and $y$-intercept.

Solution

44) Graph the line of the equation $y=0.1x-30$ using its slope and $y$-intercept.

Solution
Now that we have graphed lines by using the slope and $y$-intercept, let’s summarize all the methods we have used to graph lines. See Figure 3.10.61.

## Choose the Most Convenient Method to Graph a Line

Now that we have seen several methods we can use to graph lines, how do we know which method to use for a given equation?

While we could plot points, use the slope–intercept form, or find the intercepts for any equation, if we recognize the most convenient way to graph a certain type of equation, our work will be easier. Generally, plotting points is not the most efficient way to graph a line. We saw better methods in previous sections and earlier in this section. Let’s look for some patterns to help determine the most convenient method to graph a line.

Here are six equations we graphed in this chapter, and the method we used to graph each of them.

Equation Method
#1

$x = 2$

Vertical Line
#2 $y = 4$ Horizontal Line
#3 $-x+2y =6$ Intercepts
#4 $4x-3y =12$ Intercepts
#5 $y=4x-2$ Slope-intercept
#6 $y=-x+4$ Slope-intercept

Equations #1 and #2 each have just one variable. Remember, in equations of this form the value of that one variable is constant; it does not depend on the value of the other variable. Equations of this form have graphs that are vertical or horizontal lines.

In equations #3 and #4, both $x$ and $y$ are on the same side of the equation. These two equations are of the form $Ax\;+\;By\;=\;C$. We substituted $y=0$ to find the $x$-intercept and $x=0$ to find the $y$-intercept, and then found a third point by choosing another value for $x$ or $y$.

Equations #5 and #6 are written in slope–intercept form. After identifying the slope and $y$-intercept from the equation we used them to graph the line.

This leads to the following strategy.

### Strategy for Choosing the Most Convenient Method to Graph a Line

Consider the form of the equation.

• If it only has one variable, it is a vertical or horizontal line.
• $x=a$ is a vertical line passing through the $x$-axis at $a$.
• $y=b$ is a horizontal line passing through the $y$-axis at $b$.
• If $y$ is isolated on one side of the equation, in the form $y=mx+b$, graph by using the slope and $y$-intercept.
• Identify the slope and $y$-intercept and then graph.
• If the equation is of the form $Ax\;+\;By\;=\;C$, find the intercepts.
• Find the $x$– and $y$-intercepts, a third point, and then graph.

### Example 3.10.20

Determine the most convenient method to graph each line.

a. $y=-6$
b. $5x-3y=15$
c. $x=7$
d. $y=\frac{2}{5}x-1$

Solution

a. $y=-6$
This equation has only one variable, $y$. Its graph is a horizontal line crossing the $y$-axis at $-6$.

b. $5x-3y=15$
This equation is of the form $Ax\;+\;By\;=\;C$. The easiest way to graph it will be to find the intercepts and one more point.

c. $x=7$
There is only one variable, $x$. The graph is a vertical line crossing the $x$-axis at $7$.

d. $y=\frac{2}{5}x-1$
Since this equation is in $y=mx+b$ form, it will be easiest to graph this line by using the slope and $y$-intercept.

### Try It

45) Determine the most convenient method to graph each line:

a. $3x+2y=12$
b. $y=4$
c. $y=\frac{1}{5}x-4$
d. $x=-7$

Solution

a. intercepts
b. horizontal line
c. slope–intercept
d. vertical line

46) Determine the most convenient method to graph each line:

a. $x=6$
b. $y=-\frac{3}{4}x+1$
c. $y=-8$
d. $4x-3y=-1$

Solution

a. vertical line
b. slope–intercept
c. horizontal line
d. intercepts

## Graph and Interpret Applications of Slope–Intercept

Many real-world applications are modelled by linear equations. We will take a look at a few applications here so you can see how equations written in slope–intercept form relate to real-world situations.

Usually when a linear equation models a real-world situation, different letters are used for the variables, instead of $x$ and $y$. The variable names remind us of what quantities are being measured.

### Example 3.10.21

The equation $F=\frac{9}{5}C+32$ is used to convert temperatures, $C$, on the Celsius scale to temperatures, $F$, on the Fahrenheit scale.

a. Find the Fahrenheit temperature for a Celsius temperature of $0$.
b. Find the Fahrenheit temperature for a Celsius temperature of $20$.
c. Interpret the slope and $F$-intercept of the equation.
d. Graph the equation.

Solution

a.
Step 1: Find the Fahrenheit temperature for a Celsius temperature of $0$.

Step 2: Find $F$ when $C=0$.

\begin{align*}F&=\frac9 5 C+32\\F&=\frac9 5\times 0+32\\F&= 32\end{align*}

b.
Step 1: Find the Fahrenheit temperature for a Celsius temperature of $20$.

Step 2: Find $F$ when $C=20$.

\begin{align*}F&=\frac9 5 C+32\\F&=\frac9 5 (20)+32\\F&= 36+32\\F&=68\end{align*}

c.
Interpret the slope and $F$-intercept of the equation. Even though this equation uses $F$ and $C$, it is still in slope–intercept form.

\begin{align*}{\color{red}{y}}&=m{\color{blue}{x}}+b\\{\color{red}{F}}&=m{\color{blue}{C}}+b\\F&=\frac95C+32\end{align*}

The slope, $\frac{9}{5}$, means that the temperature Fahrenheit ($F$) increases $9$ degrees when the temperature Celsius $(C)$ increases $5$ degrees. The $F$-intercept means that when the temperature is $(0)$ on the Celsius scale, it is $32^\circ$ on the Fahrenheit scale.

d.
Graph the equation. We’ll need to use a larger scale than our usual. Start at the $F$-intercept $(0,32)$ then count out the rise of $9$ and the run of $5$ to get a second point. See Figure 3.10.62

### Try It

47) The equation $h=2s+50$ is used to estimate a woman’s height in inches, $h$, based on her shoe size, $s$.

a. Estimate the height of a child who wears women’s shoe size $0$.
b. Estimate the height of a woman with shoe size $8$.
c. Interpret the slope and $h$-intercept of the equation.
d. Graph the equation.

Solution

a. $50$ inches
b. $66$ inches
c. The slope, $2$, means that the height, $h$, increases by $2$ inches when the shoe size, $s$, increases by $1$. The $h$-intercept means that when the shoe size is $0$, the height is $50$ inches.
d.

48) The equation $T=\frac{1}{4}n+40$ is used to estimate the temperature in degrees Fahrenheit, $T$, based on the number of cricket chirps, $n$, in one minute.

a. Estimate the temperature when there are no chirps.
b. Estimate the temperature when the number of chirps in one minute is $100$.
c. Interpret the slope and $T$-intercept of the equation.
d. Graph the equation.

Solution

a. $40$ degrees
b. $65$ degrees
c. The slope, $\frac{1}{4}$, means that the temperature Fahrenheit ($F$) increases $1$ degree when the number of chirps, $n$, increases by $4$. The $T$-intercept means that when the number of chirps is $0$, the temperature is $40^\circ$

d.

The cost of running some types business has two components—a fixed cost and a variable cost. The fixed cost is always the same regardless of how many units are produced. This is the cost of rent, insurance, equipment, advertising, and other items that must be paid regularly. The variable cost depends on the number of units produced. It is for the material and labour needed to produce each item.

### Example 3.10.22

Stella has a home business selling gourmet pizzas. The equation $C=4p+25$ models the relation between her weekly cost, $C$, in dollars and the number of pizzas, $p$, that she sells.

a. Find Stella’s cost for a week when she sells no pizzas.
b. Find the cost for a week when she sells $15$ pizzas.
c. Interpret the slope and $C$-intercept of the equation.
d. Graph the equation.

Solution

a.

Step 1: Find Stella’s cost for a week when she sells no pizzas.

$C=4p+25$

Step 2: Find $C$ when $p=0$.

\begin{align*} &\;&C&=4p+25\\ &\;&C&=4(0)+25\\ &\text{Simplify.}&C&=25 \end{align*}

Stella’s fixed cost is $\25$ when she sells no pizzas.

b.
Step 1: Find the cost for a week when she sells 15 pizzas.

$C=4p+25$

Step 2: Find $C$ when $p=15$.

\begin{align*} &\;&C&=4p+25\\ &\;&C&=4(15)+25\\ &\text{Simplify.}&C&=60+25\\ &\;&C&=85 \end{align*}

Stella’s costs are $\85$ when she sells $15$ pizzas.

c.
Step 1: Interpret the slope and $C$-intercept of the equation.

\begin{align*} {\color{red}{y}}&=m{\color{blue}{x}}+b\\ {\color{red}{C}}&=4{\color{blue}{p}}+25 \end{align*}

The slope, $4$, means that the cost increases by $\4$ for each pizza Stella sells. The $C$-intercept means that even when Stella sells no pizzas, her costs for the week are $\25$.

d.
Step 1: Graph the equation.
We’ll need to use a larger scale than our usual. Start at the $C$-intercept $(0, 25)$ then count out the rise of $4$ and the run of $1$ to get a second point

### Try It

49) Sam drives a delivery van. The equation $C=0.5m+60$ models the relation between his weekly cost, $C$, in dollars and the number of miles, $m$, that he drives.

a. Find Sam’s cost for a week when he drives $0$ miles.
b. Find the cost for a week when he drives $250$ miles.
c. Interpret the slope and $C$-intercept of the equation.
d. Graph the equation.

Solution

a. $\60$
b. $\185$
c. The slope, $0.5$, means that the weekly cost, $C$, increases by $\0.50$ when the number of miles driven, $n$, increases by $1$. The $C$-intercept means that when the number of miles driven is $0$, the weekly cost is $\60$.
d.

50) Loreen has a calligraphy business. The equation $C=1.8n+35$ models the relation between her weekly cost, $C$, in dollars and the number of wedding invitations, $n$, that she writes.

a. Find Loreen’s cost for a week when she writes no invitations.
b. Find the cost for a week when she writes $75$ invitations.
c. Interpret the slope and $C$-intercept of the equation.
d. Graph the equation.

Solution

a. $\35$
b. $\170$
c. The slope, $1.8$, means that the weekly cost, $C$, increases by $\1.80$ when the number of invitations, $n$, increases by $1.80$.
The $C$-intercept means that when the number of invitations is $0$, the weekly cost is $\35$.
d.

## Use Slopes to Identify Parallel Lines

The slope of a line indicates how steep the line is and whether it rises or falls as we read it from left to right. Two lines that have the same slope are called parallel lines. Parallel lines never intersect.

We say this more formally in terms of the rectangular coordinate system. Two lines that have the same slope and different $y$-intercepts are called parallel lines. See Figure 3.10.69.

Verify that both lines have the same slope, $m=\frac{2}{5}$, and different $y$-intercepts.

What about vertical lines? The slope of a vertical line is undefined, so vertical lines don’t fit in the definition above. We say that vertical lines that have different $x$-intercepts are parallel. See Figure 3.10.70.

Vertical lines with different $x$-intercepts are parallel.

### Parallel Lines

Parallel lines are lines in the same plane that do not intersect.

• Parallel lines have the same slope and different $y$-intercepts.
• If $m_1$ and $m_2$ are the slopes of two parallel lines then $m_1=m_2$.
• Parallel vertical lines have different $x$-intercepts.

Let’s graph the equations $y=-2x+3$ and $2x+y=-1$ on the same grid. The first equation is already in slope–intercept form: $y=-2x+3$. We solve the second equation for $y$:

$2x + y = -1$
$y = -2x-1$

Graph the lines.

Notice the lines look parallel. What is the slope of each line? What is the $y$-intercept of each line?

 $y = mx+b$ $y = mx+b$ $y = -2x +3$ $y = -2x-1$ $m = -2$ $m = -2$ $b = 3, (0,3)$ $b = -1, (0,-1)$

The slopes of the lines are the same and the $y$-intercept of each line is different. So we know these lines are parallel.

Since parallel lines have the same slope and different $y$-intercepts, we can now just look at the slope–intercept form of the equations of lines and decide if the lines are parallel.

### Example 3.10.23

Use slopes and $y$-intercepts to determine if the lines $3x-2y=6$ and $y=\frac{3}{2}x+1$ are parallel.

Solution

Step 1: Solve the first equation for $y$.

 \begin{align*} 3x-2y&=6\\ -2y&=-3x+6\\ \frac{-2y}{-2}&=\frac{3x+6}{-2}\\y&=\frac{3}{2}x-3\end{align*} $y=\frac32x+1$

Step 2: The equation is now in slope-intercept form.

 $y=\frac{3}{2}x-3$

Step 3: The equation of the second line is already in slope-intercept form.

 $y=\frac{3}{2}x+1$

Step 4: Identify the slope and $y$-intercept of both lines.

 \begin{align*}y&=mx+b\\m&=\frac{3}{2}\\y&= \frac{3}{2}x-3\end{align*} \begin{align*}y&=mx+b\\m&=\frac{3}{2}\\y=\frac{3}{2}x+1\\y&=\frac{3}{2}x+1\end{align*} $y$-intercept is (0, −3) $y$-intercept is $(0, 1)$

The lines have the same slope and different $y$-intercepts and so they are parallel. You may want to graph the lines to confirm whether they are parallel.

### Try It

51) Use slopes and $y$-intercepts to determine if the lines $2x+5y=5$ and $y=-\frac{2}{5}x-4$ are parallel.

Solution

parallel

52) Use slopes and $y$-intercepts to determine if the lines $4x-3y=6$ and $y=\frac{4}{3}x-1$are parallel.

Solution

parallel

### Example 3.10.24

Use slopes and $y$-intercepts to determine if the lines $y=-4$ and $y=3$ are parallel.

Solution
 $y=-4$ $y=3$

Step 1: Write each equation in slope-intercept form.
Since there is no $x$ term we write $0x$.

 $y=0x-4$ $y=0x+3$

Step 2: Identify the slope and $y$-intercept of both lines.

 $m=0$ $m=0$ $y$-intercept is $(0, 4)$ $y$-intercept is $(0, 3)$

The lines have the same slope and different $y$-intercepts and so they are parallel.

There is another way you can look at this example. If you recognize right away from the equations that these are horizontal lines, you know their slopes are both $0$. Since the horizontal lines cross the $y$-axis at $y=-4$ and at $y=3$, we know the $y$-intercepts are $(0,-4)$ and $(0,3)$. The lines have the same slope and different $y$-intercepts and so they are parallel.

### Try It

53) Use slopes and $y$-intercepts to determine if the lines $y=8$ and $y=-6$ are parallel.

Solution

parallel

54) Use slopes and $y$-intercepts to determine if the lines $y=1$ and $y=-5$ are parallel.

Solution

parallel

### Example 3.10.25

Use slopes and $y$-intercepts to determine if the lines $x=-2$ and $x=-5$ are parallel.

Solution
$x=-2$ and $x=-5$

Since there is no $y$, the equations cannot be put in slope–intercept form. But we recognize them as equations of vertical lines. Their $x$-intercepts are $-2$ and $-5$. Since their $x$-intercepts are different, the vertical lines are parallel.

### Try It

55) Use slopes and $y$-intercepts to determine if the lines $x=1$ and $x=-5$ are parallel.

Solution

parallel

56) Use slopes and $y$-intercepts to determine if the lines $x=8$ and $x=-6$ are parallel.

Solution

parallel

### Example 3.10.26

Use slopes and $y$-intercepts to determine if the lines $y=2x-3$ and $-6x+3y=-9$ are parallel. You may want to graph these lines, too, to see what they look like.

Solution
 $y=2x-3$ $-6x+3y=-9$

Step 1: The first equation is already in slope-intercept form.

 $y=2x-3$

Step 2: Solve the second equation for $y$.

 \begin{align*} -6x+3y&=-9\\ 3y&=6x-9\\ \frac{3y}{3}&=\frac{6x-9}{3}\\ y&=2x-3 \end{align*}

Step 3: The second equation is now in slope-intercept form.

 $y=2x-3$ $y=2x-3$

Step 4: Identify the slope and $y$-intercept of both lines.

 \begin{align*} y&=2x-3\\ y&=mx+b\\ m&=2 \end{align*} \begin{align*} y&=2x-3\\ y&=mx+b\\ m&=2 \end{align*} $y$-intercept is $(0, −3)$ $y$-intercept is $(0, −3)$

The lines have the same slope, but they also have the same $y$-intercepts. Their equations represent the same line. They are not parallel; they are the same line.

### Try It

57) Use slopes and $y$-intercepts to determine if the lines $y=-\frac{1}{2}x-1$ and $x+2y=2$ are parallel.

Solution

not parallel; same line

58) Use slopes and $y$-intercepts to determine if the lines $y=\frac{3}{4}x-3$ and $3x-4y=12$ are parallel.

Solution

not parallel; same line

## Use Slopes to Identify Perpendicular Lines

Let’s look at the lines whose equations are $y=\frac{1}{4}x-1$ and $y=-4x+2$, shown in Figure 3.10.72.

These lines lie in the same plane and intersect in right angles. We call these lines perpendicular.

What do you notice about the slopes of these two lines? As we read from left to right, the line $y=\frac{1}{4}x-1$ rises, so its slope is positive. The line $y=-4x+2$ drops from left to right, so it has a negative slope. Does it make sense to you that the slopes of two perpendicular lines will have opposite signs?

If we look at the slope of the first line, $m_1=\frac{1}{4}$ , and the slope of the second line, $m_2=-4$, we can see that they are negative reciprocals of each other. If we multiply them, their product is $-1$.

$m_1\cdot m_2$
$\frac{1}{4}(-4)$
$-1$

This is always true for perpendicular lines and leads us to this definition.

### Perpendicular Lines

Perpendicular lines are lines in the same plane that form a right angle.

If $m_1$ and $m_2$ are the slopes of two perpendicular lines, then:

$m_1\cdot m_2=-1$ and $m_1=-\frac{1}{m_2}$

Vertical lines and horizontal lines are always perpendicular to each other.

We were able to look at the slope–intercept form of linear equations and determine whether or not the lines were parallel. We can do the same thing for perpendicular lines.

We find the slope–intercept form of the equation, and then see if the slopes are negative reciprocals. If the product of the slopes is $-1$, the lines are perpendicular. Perpendicular lines may have the same $y$-intercepts.

### Example 3.10.27

Use slopes to determine if the lines, $y=-5x-4$ and $x-5y=5$ are perpendicular.

Solution

Step 1: The first equation is already in slope-intercept form.

 $y=-5x-4$

Step 2: Solve the second equation for $y$.

 \begin{align*} x-5y&=5\\ -5y&=x+5\\ \frac{-5y}{-5}&=\frac{x+5}{-5}\\ y&=\frac{1}{-5}x-1 \end{align*}

Step 3: Identify the slope of each line.

 \begin{align*} y&=-5x-4\\ y&=mx+b\\ m_1&=-5 \end{align*} \begin{align*} y&=\frac{1}{5}x-4\\ y&=mx+b\\ m_2&=\frac{1}{5} \end{align*}

The slopes are negative reciprocals of each other, so the lines are perpendicular. We check by multiplying the slopes,

\begin{align*}m_1\cdot m_2\\&=-5(\frac{1}{5})\\&=-1\end{align*}

### Try It

59) Use slopes to determine if the lines $y=-3x+2$ and $x-3y=4$ are perpendicular.

Solution

perpendicular

60) Use slopes to determine if the lines $y=2x-5$ and $x+2y=-6$ are perpendicular.

Solution

perpendicular

### Example 3.10.28

Use slopes to determine if the lines, $7x+2y=3$ and $2x+7y=5$ are perpendicular.

Solution

Step 1: Solve the equations for $y$.

 \begin{align*} 7x+2y&=3\\ 2y&=-7x+3\\ \frac{2y}{2}&=\frac{-7x+3}{2}\\ y&=\frac{-7}{2}x+\frac{3}{2} \end{align*} \begin{align*} 2x+7y&=5\\ 2y&=-2x+5\\ \frac{7y}{7}&=\frac{-2x+5}{7}\\ y&=\frac{-2}{7}x+\frac{5}{7} \end{align*}

Step 2: Identify the slope of each line.

 \begin{align*}y&=mx+b\\m_1&=-\frac{7}{2}\end{align*} \begin{align*}y&=mx+b\\m_2&=-\frac{2}{7}\end{align*}

The slopes are reciprocals of each other, but they have the same sign. Since they are not negative reciprocals, the lines are not perpendicular.

### Try It

61) Use slopes to determine if the lines $5x+4y=1$ and $4x+5y=3$ are perpendicular.

Solution

not perpendicular

62) Use slopes to determine if the lines $2x-9y=3$ and $9x-2y=1$ are perpendicular.

Solution

not perpendicular

## Key Concepts

• Find the Slope of a Line from its Graph using $m=\frac{rise}{run}$
1. Locate two points on the line whose coordinates are integers.
2. Starting with the point on the left, sketch a right triangle, going from the first point to the second point.
3. Count the rise and the run on the legs of the triangle.
4. Take the ratio of rise to run to find the slope.
• Graph a Line Given a Point and the Slope
1. Plot the given point.
2. Use the slope formula $m=\frac{rise}{run}$ to identify the rise and the run.
3. Starting at the given point, count out the rise and run to mark the second point.
4. Connect the points with a line.
• Slope of a Horizontal Line
• The slope of a horizontal line, $y=b$, is $0$.
• Slope of a vertical line
• The slope of a vertical line, $x=a$, is undefined

Graph a Line Using its Slope and y-Intercept

1. The slope–intercept form of an equation of a line with slope $m$ and $y$-intercept, $(0,b)$ is, $y=mx+b$.
2. Find the slope-intercept form of the equation of the line.
3. Identify the slope and $y$-intercept.
4. Plot the $y$-intercept.
5. Use the slope formula $m=\frac{rise}{run}$ to identify the rise and the run.
6. Starting at the $y$-intercept, count out the rise and run to mark the second point.
7. Connect the points with a line.
•  Strategy for Choosing the Most Convenient Method to Graph a Line: Consider the form of the equation.
• If it only has one variable, it is a vertical or horizontal line.
$x=a$ is a vertical line passing through the $x$-axis at $a$.
$y=b$ is a horizontal line passing through the $y$-axis at $b$.
• If $y$ is isolated on one side of the equation, in the form $y=mx+b$, graph by using the slope and $y$-intercept.
Identify the slope and $y$-intercept and then graph.
• If the equation is of the form $Ax\;+\;By\;=\;C$, find the intercepts.
Find the $x$-intercept and $y$-intercept, a third point, and then graph.
• Parallel lines are lines in the same plane that do not intersect.
• Parallel lines have the same slope and different $y$-intercepts.
• If $m_1$ and $m_2$ are the slopes of two parallel lines then $m_1=m_2$.
• Parallel vertical lines have different $x$-intercepts.
• Perpendicular lines are lines in the same plane that form a right angle.
• If $m_1$ and $m_2$ are the slopes of two perpendicular lines, then $m_1\cdot m_2=-1$ and $m_1=-\frac{1}{m_2}$
• Vertical lines and horizontal lines are always perpendicular to each other.

### Self Check

After completing the exercises, use this checklist to evaluate your mastery of the objectives of this section.

On a scale of 1–10, how would you rate your mastery of this section in light of your responses on the checklist? How can you improve this?

### Glossary

geoboard
A geoboard is a board with a grid of pegs on it.
negative slope
A negative slope of a line goes down as you read from left to right.
positive slope
A positive slope of a line goes up as you read from left to right.
rise
The rise of a line is its vertical change.
run
The run of a line is its horizontal change.
slope formula
The slope of the line between two points $(x_1,y_1)$ and $(x_2,y_2)$ is $m=\frac{y_2-y_1}{x_2-x_1}$
slope of a line
The slope of a line is $m=\frac{rise}{run}$. The rise measures the vertical change and the run measures the horizontal change.
parallel lines
Lines in the same plane that do not intersect.
perpendicular lines
Lines in the same plane that form a right angle.
slope-intercept form of an equation of a line
The slope–intercept form of an equation of a line with slope $m$ and $y$-intercept, $(0,b)$ is, $y=mx+b$.
definition