Learning Objectives
 Find the slope of a line
 Graph a line given a point and the slope
 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 and perpendicular lines
Be Prepared 3.2
Before you get started, take this readiness quiz.
 Simplify: $\frac{\left(1\u20134\right)}{\left(82\right)}.$
If you missed this problem, review Example 1.30.  Divide: $\frac{0}{4},\frac{4}{0}.$
If you missed this problem, review Example 1.49.  Simplify: $\frac{15}{\mathrm{3}},\frac{\mathrm{15}}{3},\frac{\mathrm{15}}{\mathrm{3}}.$
If you missed this problem, review Example 1.30.
Find the Slope of a Line
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.
In mathematics, the measure of the steepness of a line is called the slope of the line.
The concept of slope has many applications in the real world. In construction the pitch of a roof, the slant of the plumbing pipes, and the steepness of the stairs are all applications of slope. and as you ski or jog down a hill, you definitely experience slope.
We can assign a numerical value to the slope of a line by finding the ratio of the rise and run. The rise is the amount the vertical distance changes while the run measures the horizontal change, as shown in this illustration. Slope is a rate of change. See Figure 3.5.
Slope of a Line
The slope of a line is $m=\frac{\text{rise}}{\text{run}}.$
The rise measures the vertical change and the run measures the horizontal change.
To find the slope of a line, we locate two points on the line whose coordinates are integers. Then we sketch a right triangle where the two points are vertices and one side is horizontal and one side is vertical.
To find the slope of the line, we measure the distance along the vertical and horizontal sides of the triangle. The vertical distance is called the rise and the horizontal distance is called the run,
How To
Find the slope of a line from its graph using $m=\frac{\text{rise}}{\text{run}}.$
 Step 1. Locate two points on the line whose coordinates are integers.
 Step 2. Starting with one point, 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.
 Step 4. Take the ratio of rise to run to find the slope: $m=\frac{\text{rise}}{\text{run}}.$
Example 3.12
Find the slope of the line shown.
Solution
Locate two points on the graph whose coordinates are integers. 
$\left(0,5\right)$ and $\left(3,3\right)$ 
Starting at $\left(0,5\right),$ sketch a right triangle to $\left(3,3\right)$ as shown in this graph. 

Count the rise— since it goes down, it is negative.  The rise is $\mathrm{2}.$ 
Count the run.  The run is 3. 
Use the slope formula.  $m=\frac{\text{rise}}{\text{run}}$ 
Substitute the values of the rise and run.  $m=\frac{\mathrm{2}}{3}$ 
Simplify.  $m=\frac{2}{3}$ 
The slope of the line is $\frac{2}{3}.$  
So y decreases by 2 units as x increases by 3 units. 
Try It 3.23
Find the slope of the line shown.
Try It 3.24
Find the slope of the line shown.
How do we find the slope of horizontal and vertical lines? To find the slope of the horizontal line, $y=4,$ we could graph the line, find two points on it, and count the rise and the run. Let’s see what happens when we do this, as shown in the graph below.
$\begin{array}{cc}\text{What is the rise?}\hfill & \text{The rise is 0.}\hfill \\ \text{What is the run?}\hfill & \text{The run is 3.}\hfill \\ \text{What is the slope?}\hfill & m=\frac{\text{rise}}{\text{run}}\hfill \\ & m=\frac{0}{3}\hfill \\ & m=0\hfill \\ & \text{The slope of the horizontal line}\phantom{\rule{0.2em}{0ex}}y=4\phantom{\rule{0.2em}{0ex}}\text{is 0.}\hfill \end{array}$
Let’s also consider a vertical line, the line $x=3,$ as shown in the graph.
$\begin{array}{cc}\text{What is the rise?}\hfill & \text{The rise is 2.}\hfill \\ \\ \text{What is the run?}\hfill & \text{The run is 0.}\hfill \\ \\ \text{What is the slope?}\hfill & m=\frac{\text{rise}}{\text{run}}\hfill \\ & m=\frac{2}{0}\hfill \end{array}$
The slope is undefined since division by zero is undefined. So we say that the slope of the vertical line $x=3$ is undefined.
All horizontal lines have slope 0. When the ycoordinates are the same, the rise is 0.
The slope of any vertical line is undefined. When the xcoordinates of a line are all the same, the run is 0.
Slope of a Horizontal and Vertical Line
The slope of a horizontal line, $y=b,$ is 0.
The slope of a vertical line, $x=a,$ is undefined.
Example 3.13
Find the slope of each line: ⓐ $x=8$ ⓑ $y=\mathrm{5}.$
Solution
ⓐ $x=8$
This is a vertical line. Its slope is undefined.
ⓑ $y=\mathrm{5}$
This is a horizontal line. It has slope 0.
Try It 3.25
Find the slope of the line: $x=\mathrm{4}.$
Try It 3.26
Find the slope of the line: $y=7.$
Quick Guide to the Slopes of Lines
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 $\left(x,y\right)$ gives the coordinates of a point. But when we work with slopes, we use two points. How can the same symbol $\left(x,y\right)$ be used to represent two different points? Mathematicians use subscripts to distinguish the points.
We will use $\left({x}_{1},{y}_{1}\right)$ to identify the first point and $\left({x}_{2},{y}_{2}\right)$ to identify the second point.
If we had more than two points, we could use $\left({x}_{3},{y}_{3}\right),$$\left({x}_{4},{y}_{4}\right),$ 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 $\left(2,3\right)$ and $\left(7,6\right),$ as shown in this graph.
$\begin{array}{cccc}\text{Since we have two points, we will use subscript notation.}\hfill & & & \left(\stackrel{{x}_{1},}{2,}\stackrel{{y}_{1}}{3}\right)\phantom{\rule{0.2em}{0ex}}\left(\stackrel{{x}_{2},{y}_{2}}{7,6}\right)\hfill \\ & & & m=\frac{\text{rise}}{\text{run}}\hfill \\ \text{On the graph, we counted the rise of 3 and the run of 5.}\hfill & & & m=\frac{3}{5}\hfill \\ \text{Notice that the rise of 3 can be found by subtracting the}\hfill & & & \\ y\text{coordinates, 6 and 3, and the run of 5 can be found by}\hfill & & & \\ \text{subtracting the}\phantom{\rule{0.2em}{0ex}}x\text{coordinates 7 and 2.}\hfill & & & \\ \text{We rewrite the rise and run by putting in the coordinates.}\hfill & & & m=\frac{63}{72}\hfill \\ \\ \\ \text{But 6 is}\phantom{\rule{0.2em}{0ex}}{y}_{2},\phantom{\rule{0.2em}{0ex}}\text{the}\phantom{\rule{0.2em}{0ex}}y\text{coordinate of the second point and 3 is}\phantom{\rule{0.2em}{0ex}}{y}_{1},\phantom{\rule{0.2em}{0ex}}\text{the}\phantom{\rule{0.2em}{0ex}}y\text{coordinate}\hfill & & & \\ \text{of the first point. So we can rewrite the slope using subscript notation.}\hfill & & & m=\frac{{y}_{2}{y}_{1}}{72}\hfill \\ \\ \\ \text{Also 7 is the}\phantom{\rule{0.2em}{0ex}}x\text{coordinate of the second point and 2 is the}\phantom{\rule{0.2em}{0ex}}x\text{coordinate}\hfill & & & \\ \text{of the first point. So again we rewrite the slope using subscript notation.}\hfill & & & m=\frac{{y}_{2}{y}_{1}}{{x}_{2}{x}_{1}}\hfill \\ \\ \end{array}$
We’ve shown that $m=\frac{{y}_{2}{y}_{1}}{{x}_{2}{x}_{1}}$ is really another version of $m=\frac{\text{rise}}{\text{run}}.$ We can use this formula to find the slope of a line when we have two points on the line.
Slope of a line between two points
The slope of the line between two points $({x}_{1},{y}_{1})$ and $({x}_{2},{y}_{2})$ is:
The slope is:
Example 3.14
Use the slope formula to find the slope of the line through the points $\left(\mathrm{2},\mathrm{3}\right)$ and $\left(\mathrm{7},4\right).$
Solution
$\begin{array}{cc}\text{We\u2019ll call}\phantom{\rule{0.2em}{0ex}}\left(\mathrm{2},\mathrm{3}\right)\phantom{\rule{0.2em}{0ex}}\text{point}\phantom{\rule{0.2em}{0ex}}\text{\#}1\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}\left(\mathrm{7},4\right)\phantom{\rule{0.2em}{0ex}}\text{point}\phantom{\rule{0.2em}{0ex}}\text{\#}2.\hfill & \phantom{\rule{4em}{0ex}}\left(\begin{array}{cc}{x}_{1},\hfill & {y}_{1}\hfill \\ 2,\hfill & 3\hfill \end{array}\right)\phantom{\rule{0.2em}{0ex}}\left(\begin{array}{cc}{x}_{2},\hfill & {y}_{2}\hfill \\ 7,\hfill & 4\hfill \end{array}\right)\hfill \\ \text{Use the slope formula.}\hfill & \phantom{\rule{4em}{0ex}}m=\frac{{y}_{2}{y}_{1}}{{x}_{2}{x}_{1}}\hfill \\ \text{Substitute the values.}\hfill & \\ y\phantom{\rule{0.2em}{0ex}}\text{of the second point minus}\phantom{\rule{0.2em}{0ex}}y\phantom{\rule{0.2em}{0ex}}\text{of the first point}\hfill \\ x\phantom{\rule{0.2em}{0ex}}\text{of the second point minus}\phantom{\rule{0.2em}{0ex}}x\phantom{\rule{0.2em}{0ex}}\text{of the first point}\hfill & \phantom{\rule{4em}{0ex}}m=\frac{4(\mathrm{3})}{\mathrm{7}(\mathrm{2})}\hfill \\ \text{Simplify.}\hfill & \phantom{\rule{4em}{0ex}}\begin{array}{c}m=\frac{7}{\mathrm{5}}\hfill \\ m=\frac{7}{5}\hfill \end{array}\hfill \end{array}$
Let’s verify this slope on the graph shown.
Try It 3.27
Use the slope formula to find the slope of the line through the pair of points: $\left(\mathrm{3},4\right)$ and $\left(2,\mathrm{1}\right).$
Try It 3.28
Use the slope formula to find the slope of the line through the pair of points: $\left(\mathrm{2},6\right)$ and $\left(\mathrm{3},\mathrm{4}\right).$
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.
We can also graph a line 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.15
How to graph a Line Given a Point and the Slope
Graph the line passing through the point $\left(1,\mathrm{1}\right)$ whose slope is $m=\frac{3}{4}.$
Solution
You can check your work by finding a third point. Since the slope is $m=\frac{3}{4},$ it can also be written as $m=\frac{\mathrm{3}}{\mathrm{4}}$ (negative divided by negative is positive!). Go back to $\left(1,\mathrm{1}\right)$ and count out the rise, $\mathrm{3},$ and the run, $\mathrm{4}.$
Try It 3.29
Graph the line passing through the point $\left(2,\mathrm{2}\right)$ with the slope$m=\frac{4}{3}.$
Try It 3.30
Graph the line passing through the point $\left(\mathrm{2},3\right)$ with the slope $m=\frac{1}{4}.$
How To
Graph a line given a point and the slope.
 Step 1. Plot the given point.
 Step 2. Use the slope formula $m=\frac{\text{rise}}{\text{run}}$ to identify the rise and the run.
 Step 3. Starting at the given point, count out the rise and run to mark the second point.
 Step 4. Connect the points with a line.
Graph a Line Using its Slope and Intercept
We have graphed linear equations by plotting points, using intercepts, recognizing horizontal and vertical lines, and using one point and the slope of the line. 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.
See Figure 3.6. Let’s look at the graph of the equation $y=\frac{1}{2}x+3$ and find its slope and yintercept.
The red lines in the graph show us the rise is 1 and the run is 2. Substituting into the slope formula:
The yintercept is $\left(0,3\right).$
Look at the equation of this line.
Look at the slope and yintercept.
When a linear equation is solved for y, the coefficient of the x term is the slope and the constant term is the ycoordinate of the yintercept. We say that the equation $y=\frac{1}{2}x+3$ is in slope–intercept form. Sometimes the slope–intercept form is called the “yform.”
Slope Intercept Form of an Equation of a Line
The slope–intercept form of an equation of a line with slope m and yintercept, $\left(0,b\right)$ is $y=mx+b.$
Let’s practice finding the values of the slope and yintercept from the equation of a line.
Example 3.16
Identify the slope and yintercept of the line from the equation:
ⓐ $y=\frac{4}{7}x2$ ⓑ $x+3y=9$
Solution
ⓐ We compare our equation to the slope–intercept form of the equation.
Write the slope–intercept form of the equation of the line.  
Write the equation of the line.  
Identify the slope.  
Identify the yintercept. 
ⓑ When an equation of a line is not given in slope–intercept form, our first step will be to solve the equation for y.
Solve for y.  $x+3y=9$ 
Subtract x from each side.  
Divide both sides by 3.  
Simplify.  
Write the slope–intercept form of the equation of the line.  
Write the equation of the line.  
Identify the slope.  
Identify the yintercept. 
Try It 3.31
Identify the slope and yintercept from the equation of the line.
ⓐ $y=\frac{2}{5}x1$ ⓑ $x+4y=8$
Try It 3.32
Identify the slope and yintercept from the equation of the line.
ⓐ $y=\frac{4}{3}x+1$ ⓑ $3x+2y=12$
We have graphed a line using the slope and a point. Now that we know how to find the slope and yintercept of a line from its equation, we can use the yintercept as the point, and then count out the slope from there.
Example 3.17
Graph the line of the equation $y=\text{\u2212}x+4$ using its slope and yintercept.
Solution
$y=mx+b$  
The equation is in slope–intercept form.  $y=\text{\u2212}x+4$ 
Identify the slope and yintercept.  $m=\mathrm{1}$ yintercept is $\left(0,4\right)$ 
Plot the yintercept.  See the graph. 
Identify the rise over the run.  $m=\frac{\mathrm{1}}{1}$ 
Count out the rise and run to mark the second point.  rise $\mathrm{1}$, run 1 
Draw the line as shown in the graph.
Try It 3.33
Graph the line of the equation $y=\text{\u2212}x3$ using its slope and yintercept.
Try It 3.34
Graph the line of the equation$y=\text{\u2212}x1$ using its slope and yintercept.
Now that we have graphed lines by using the slope and yintercept, let’s summarize all the methods we have used to graph lines.
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. Let’s look for some patterns to help determine the most convenient method to graph a line.
Here are five equations we graphed in this chapter, and the method we used to graph each of them.
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 yintercept, and then found a third point by choosing another value for x or y.
Equation #5 is written in slope–intercept form. After identifying the slope and yintercept 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 xaxis at a.
 $y=b$ is a horizontal line passing through the yaxis at b.
 If y is isolated on one side of the equation, in the form $y=mx+b,$ graph by using the slope and yintercept.
 Identify the slope and yintercept and then graph.
 If the equation is of the form $Ax+By=C,$ find the intercepts.
 Find the x and yintercepts, a third point, and then graph.
Example 3.18
Determine the most convenient method to graph each line:
ⓐ $y=5$ ⓑ $4x5y=20$ ⓒ $x=\mathrm{3}$ ⓓ $y=\frac{5}{9}x+8$
Solution
ⓐ $y=5$
This equation has only one variable, y. Its graph is a horizontal line crossing the yaxis at $5$.
ⓑ $4x5y=20$
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.
ⓒ $x=\mathrm{3}$
There is only one variable, x. The graph is a vertical line crossing the xaxis at$\mathrm{3}.$
ⓓ $y=\frac{5}{9}x+8$
Since this equation is in $y=mx+b$ form, it will be easiest to graph this line by using the slope and yintercepts.
Try It 3.35
Determine the most convenient method to graph each line:
ⓐ $3x+2y=12$ ⓑ $y=4$ ⓒ $y=\frac{1}{5}x4$ ⓓ $x=\mathrm{7}.$
Try It 3.36
Determine the most convenient method to graph each line:
ⓐ $x=6$ ⓑ $y=\frac{3}{4}x+1$ ⓒ $y=\mathrm{8}$ ⓓ $4x3y=\mathrm{1}.$
Graph and Interpret Applications of Slope–Intercept
Many realworld applications are modeled 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 uses realworld data, different letters are used for the variables, instead of using only x and y. The variable names remind us of what quantities are being measured.
Also, we often will need to extend the axes in our rectangular coordinate system to bigger positive and negative numbers to accommodate the data in the application.
Example 3.19
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.
ⓐ Find the Fahrenheit temperature for a Celsius temperature of 0.
ⓑ Find the Fahrenheit temperature for a Celsius temperature of 20.
ⓒ Interpret the slope and Fintercept of the equation.
ⓓ Graph the equation.
Solution
ⓐ
$\begin{array}{cc}\text{Find the Fahrenheit temperature for a Celsius temperature of 0.}\hfill & \phantom{\rule{4.6em}{0ex}}F=\frac{9}{5}C+32\hfill \\ \text{Find}\phantom{\rule{0.2em}{0ex}}F\phantom{\rule{0.2em}{0ex}}\text{when}\phantom{\rule{0.2em}{0ex}}C=0.\hfill & \phantom{\rule{4.6em}{0ex}}F=\frac{9}{5}\left(0\right)+32\hfill \\ \text{Simplify.}\hfill & \phantom{\rule{4.6em}{0ex}}F=32\hfill \end{array}$
ⓑ
$\begin{array}{cc}\text{Find the Fahrenheit temperature for a Celsius temperature of 20.}\hfill & \phantom{\rule{4em}{0ex}}F=\frac{9}{5}C+32\hfill \\ \text{Find}\phantom{\rule{0.2em}{0ex}}F\phantom{\rule{0.2em}{0ex}}\text{when}\phantom{\rule{0.2em}{0ex}}C=20.\hfill & \phantom{\rule{4em}{0ex}}F=\frac{9}{5}\left(20\right)+32\hfill \\ \text{Simplify.}\hfill & \phantom{\rule{4em}{0ex}}F=36+32\hfill \\ \text{Simplify.}\hfill & \phantom{\rule{4em}{0ex}}F=68\hfill \end{array}$
ⓒ
Interpret the slope and Fintercept of the equation.
Even though this equation uses F and C, it is still in slope–intercept form.
The slope, $\frac{9}{5},$ means that the temperature Fahrenheit (F) increases 9 degrees when the temperature Celsius (C) increases 5 degrees.
The Fintercept means that when the temperature is $0\text{\xb0}$ on the Celsius scale, it is $32\text{\xb0}$ on the Fahrenheit scale.
ⓓ Graph the equation.
We’ll need to use a larger scale than our usual. Start at the Fintercept $\left(0,32\right)$, and then count out the rise of 9 and the run of 5 to get a second point as shown in the graph.
Try It 3.37
The equation $h=2s+50$ is used to estimate a woman’s height in inches, h, based on her shoe size, s.
ⓐ Estimate the height of a child who wears women’s shoe size 0.
ⓑ Estimate the height of a woman with shoe size 8.
ⓒ Interpret the slope and hintercept of the equation.
ⓓ Graph the equation.
Try It 3.38
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.
ⓐ Estimate the temperature when there are no chirps.
ⓑ Estimate the temperature when the number of chirps in one minute is 100.
ⓒ Interpret the slope and Tintercept of the equation.
ⓓ Graph the equation.
The cost of running some types business have 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 labor needed to produce each item.
Example 3.20
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.
ⓐ Find Sam’s cost for a week when he drives 0 miles.
ⓑ Find the cost for a week when he drives 250 miles.
ⓒ Interpret the slope and Cintercept of the equation.
ⓓ Graph the equation.
Solution
ⓐ
$\begin{array}{cccc}\text{Find Sam\u2019s cost for a week when he drives 0 miles.}\hfill & & & C=0.5m+60\hfill \\ \text{Find}\phantom{\rule{0.2em}{0ex}}C\phantom{\rule{0.2em}{0ex}}\text{when}\phantom{\rule{0.2em}{0ex}}m=0.\hfill & & & C=0.5\left(0\right)+60\hfill \\ \text{Simplify.}\hfill & & & C=60\hfill \\ & & & \text{Sam\u2019s costs are \$60 when he drives 0 miles.}\hfill \end{array}$
ⓑ
$\begin{array}{cccc}\text{Find the cost for a week when he drives 250 miles.}\hfill & & & C=0.5m+60\hfill \\ \text{Find}\phantom{\rule{0.2em}{0ex}}C\phantom{\rule{0.2em}{0ex}}\text{when}\phantom{\rule{0.2em}{0ex}}m=250.\hfill & & & C=0.5\left(250\right)+60\hfill \\ \text{Simplify.}\hfill & & & C=185\hfill \\ & & & \text{Sam\u2019s costs are \$185 when he drives 250 miles.}\hfill \end{array}$
ⓒ Interpret the slope and Cintercept of the equation.
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 Cintercept means that when the number of miles driven is 0, the weekly cost is $60.
ⓓ Graph the equation.
We’ll need to use a larger scale than our usual. Start at the Cintercept $\left(0,60\right)$.
To count out the slope m = 0.5, we rewrite it as an equivalent fraction that will make our graphing easier.
$\begin{array}{cccc}& & & \phantom{\rule{2em}{0ex}}m=0.5\hfill \\ \text{Rewrite as a fraction.}\hfill & & & \phantom{\rule{2em}{0ex}}m=\frac{0.5}{1}\hfill \\ \text{Multiply numerator and}\hfill & & & \\ \text{denominator by}\phantom{\rule{0.2em}{0ex}}100.\hfill & & & \phantom{\rule{2em}{0ex}}m=\frac{0.5\left(100\right)}{1\left(100\right)}\hfill \\ \text{Simplify.}\hfill & & & \phantom{\rule{2em}{0ex}}m=\frac{50}{100}\hfill \end{array}$
So to graph the next point go up 50 from the intercept of 60 and then to the right 100. The second point will be (100, 110).
Try It 3.39
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.
ⓐ Find Stella’s cost for a week when she sells no pizzas.
ⓑ Find the cost for a week when she sells 15 pizzas.
ⓒ Interpret the slope and Cintercept of the equation.
ⓓ Graph the equation.
Try It 3.40
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.
ⓐ Find Loreen’s cost for a week when she writes no invitations.
ⓑ Find the cost for a week when she writes 75 invitations.
ⓒ Interpret the slope and Cintercept of the equation.
ⓓ Graph the equation.
Use Slopes to Identify Parallel and Perpendicular Lines
Two lines that have the same slope are called parallel lines. Parallel lines have the same steepness and never intersect.
We say this more formally in terms of the rectangular coordinate system. Two lines that have the same slope and different yintercepts are called parallel lines. See Figure 3.7.
Verify that both lines have the same slope, $m=\frac{2}{5},$ and different yintercepts.
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 xintercepts are parallel, like the lines shown in this graph.
Parallel Lines
Parallel lines are lines in the same plane that do not intersect.
 Parallel lines have the same slope and different yintercepts.
 If ${m}_{1}$ and ${m}_{2}$ are the slopes of two parallel lines then ${m}_{1}={m}_{2}.$
 Parallel vertical lines have different xintercepts.
Since parallel lines have the same slope and different yintercepts, we can now just look at the slope–intercept form of the equations of lines and decide if the lines are parallel.
Example 3.21
Use slopes and yintercepts to determine if the lines are parallel:
ⓐ $3x2y=6$ and $y=\frac{3}{2}x+1$ ⓑ $y=2x3$ and $\mathrm{6}x+3y=\mathrm{9}.$
Solution
ⓐ
$\begin{array}{cccc}& \begin{array}{cc}\hfill \phantom{\rule{0.7em}{0ex}}3x2y& =6\hfill \end{array}\hfill & \phantom{\rule{3em}{0ex}}\text{and}\hfill & \phantom{\rule{3em}{0ex}}\begin{array}{cc}\hfill y& =\frac{3}{2}x+1\hfill \end{array}\hfill \\ \text{Solve the first equation for}\phantom{\rule{0.2em}{0ex}}y.\hfill & \phantom{\rule{1.85em}{0ex}}\begin{array}{cc}\hfill 2y& =3x+6\hfill \\ \hfill \frac{2y}{2}& =\frac{3x+6}{2}\hfill \end{array}\hfill & & \\ \text{The equation is now in slope\u2013intercept form}.\hfill & \phantom{\rule{3.3em}{0ex}}\begin{array}{cc}\hfill y& =\frac{3}{2}x3\hfill \end{array}\hfill & & \\ \begin{array}{c}\text{The equation of the second line is already}\hfill \\ \text{in slope\u2013intercept form}.\hfill \end{array}\hfill & & & \phantom{\rule{3em}{0ex}}\begin{array}{cc}\hfill y& =\frac{3}{2}x+1\hfill \end{array}\hfill \\ \\ \\ \text{Identify the slope and}y\text{intercept of both lines}.\hfill & \phantom{\rule{3em}{0ex}}\begin{array}{cc}\hfill y& =\frac{3}{2}x3\hfill \\ \hfill y& =mx+b\hfill \\ \hfill m& =\frac{3}{2}\hfill \end{array}\hfill & & \phantom{\rule{3em}{0ex}}\begin{array}{cc}\hfill y& =\frac{3}{2}x+1\hfill \\ \hfill y& =mx+b\hfill \\ \hfill y& =\frac{3}{2}\hfill \end{array}\hfill \\ & y\text{intercept is}\phantom{\rule{0.2em}{0ex}}\left(0,\mathrm{3}\right)\hfill & & \phantom{\rule{2em}{0ex}}y\text{intercept is}\phantom{\rule{0.2em}{0ex}}\left(0,1\right)\hfill \end{array}$
The lines have the same slope and different yintercepts and so they are parallel.
You may want to graph the lines to confirm whether they are parallel.
ⓑ
$\begin{array}{cccc}& \phantom{\rule{2em}{0ex}}\begin{array}{cc}\hfill y& =2x3\hfill \end{array}\hfill & \text{and}\hfill & \phantom{\rule{1.5em}{0ex}}\begin{array}{cc}\hfill 6x+3y& =9\hfill \end{array}\hfill \\ \text{The first equation is already in slope\u2013intercept form}.\hfill & \phantom{\rule{2em}{0ex}}\begin{array}{cc}\hfill y& =2x3\hfill \end{array}\hfill & & \\ \text{Solve the second equation for}\phantom{\rule{0.2em}{0ex}}y.\hfill & & & \phantom{\rule{1.5em}{0ex}}\begin{array}{cc}\hfill 6x+3y& =9\hfill \\ \hfill 3y& =6x9\hfill \\ \hfill \frac{3y}{3}& =\frac{6x9}{3}\hfill \\ \hfill y& =2x3\hfill \end{array}\hfill \\ \text{The second equation is now in slope\u2013intercept form}.\hfill & & & \phantom{\rule{4.85em}{0ex}}\begin{array}{cc}\hfill y& =2x3\hfill \end{array}\hfill \\ \\ \\ \text{Identify the slope and}y\text{intercept of both lines}.\hfill & \phantom{\rule{2em}{0ex}}\begin{array}{cc}\hfill y& =2x3\hfill \\ \hfill y& =mx+b\hfill \\ \hfill m& =2\hfill \end{array}\hfill & & \phantom{\rule{4.5em}{0ex}}\begin{array}{cc}\hfill y& =2x3\hfill \\ \hfill y& =mx+b\hfill \\ \hfill m& =2\hfill \end{array}\hfill \\ & y\text{intercept is}\phantom{\rule{0.2em}{0ex}}\left(0,\mathrm{3}\right)\hfill & & \phantom{\rule{3em}{0ex}}y\text{intercept is}\phantom{\rule{0.2em}{0ex}}\left(0,\mathrm{3}\right)\hfill \end{array}$
The lines have the same slope, but they also have the same yintercepts. Their equations represent the same line and we say the lines are coincident. They are not parallel; they are the same line.
Try It 3.41
Use slopes and yintercepts to determine if the lines are parallel:
ⓐ $2x+5y=5$ and $y=\frac{2}{5}x4$ ⓑ $y=\frac{1}{2}x1$ and $x+2y=\mathrm{2}.$
Try It 3.42
Use slopes and yintercepts to determine if the lines are parallel:
ⓐ $4x3y=6$ and $y=\frac{4}{3}x1$ ⓑ $y=\frac{3}{4}x3$ and $3x4y=12.$
Example 3.22
Use slopes and yintercepts to determine if the lines are parallel:
ⓐ $y=\mathrm{4}$ and $y=3$ ⓑ $x=\mathrm{2}$ and $x=\mathrm{5}.$
Solution
ⓐ $y=\mathrm{4}$ and $y=3$
We recognize right away from the equations that these are horizontal lines, and so we know their slopes are both 0.
Since the horizontal lines cross the yaxis at $y=\mathrm{4}$ and at $y=3,$ we know the yintercepts are $(0,\mathrm{4})$ and $\left(0,3\right).$
The lines have the same slope and different yintercepts and so they are parallel.
ⓑ $x=\mathrm{2}$ and $x=\mathrm{5}$
We recognize right away from the equations that these are vertical lines, and so we know their slopes are undefined.
Since the vertical lines cross the xaxis at $x=\mathrm{2}$ and $x=\mathrm{5},$ we know the yintercepts are $(\mathrm{2},0)$ and $\left(\mathrm{5},0\right).$
The lines are vertical and have different xintercepts and so they are parallel.
Try It 3.43
Use slopes and yintercepts to determine if the lines are parallel:
ⓐ $y=8$ and $y=\mathrm{6}$ ⓑ $x=1$ and $x=\mathrm{5}.$
Try It 3.44
Use slopes and yintercepts to determine if the lines are parallel:
ⓐ $y=1$ and $y=\mathrm{5}$ ⓑ $x=8$ and $x=\mathrm{6}.$
Let’s look at the lines whose equations are $y=\frac{1}{4}x1$ and $y=\mathrm{4}x+2,$ shown in Figure 3.9.
These lines lie in the same plane and intersect in right angles. We call these lines perpendicular.
If we look at the slope of the first line, ${m}_{1}=\frac{1}{4},$ and the slope of the second line, ${m}_{2}=\mathrm{4},$ we can see that they are negative reciprocals of each other. If we multiply them, their product is $\mathrm{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:
 their slopes are negative reciprocals of each other, ${m}_{1}=\frac{1}{{m}_{2}}.$
 the product of their slopes is $\mathrm{1}$, ${m}_{1}\xb7{m}_{2}=\mathrm{1}.$
 A vertical line and a horizontal line 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 opposite reciprocals. If the product of the slopes is $\mathrm{1},$ the lines are perpendicular.
Example 3.23
Use slopes to determine if the lines are perpendicular:
ⓐ $y=\mathrm{5}x4$ and $x5y=5$ ⓑ $7x+2y=3$ and $2x+7y=5$
Solution
ⓐ
$\begin{array}{ccc}\text{The first equation is in slope\u2013intercept form}.\hfill & \phantom{\rule{1.2em}{0ex}}y=5x4\hfill & \\ \text{Solve the second equation for}\phantom{\rule{0.2em}{0ex}}y.\hfill & & \phantom{\rule{4em}{0ex}}\begin{array}{cc}\hfill x5y& =5\hfill \\ \hfill 5y& =x+5\hfill \\ \hfill \frac{5y}{5}& =\frac{x+5}{5}\hfill \\ \hfill y& =\frac{1}{5}x1\hfill \end{array}\hfill \\ \\ \\ \text{Identify the slope of each line}.\hfill & \begin{array}{cc}\hfill y& =5x4\hfill \\ \hfill y& =mx+b\hfill \\ \hfill {m}_{1}& =5\hfill \end{array}\hfill & \phantom{\rule{5.3em}{0ex}}\begin{array}{cc}\hfill y& =\frac{1}{5}x1\hfill \\ \hfill y& =mx+b\hfill \\ \hfill {m}_{2}& =\frac{1}{5}\hfill \end{array}\hfill \end{array}$
The slopes are negative reciprocals of each other, so the lines are perpendicular. We check by multiplying the slopes, Since $\mathrm{5}\left(\frac{1}{5}\right)=\mathrm{1},$ it checks.
ⓑ
$\begin{array}{ccc}\text{Solve the equations for}\phantom{\rule{0.2em}{0ex}}y\text{.}\hfill & \begin{array}{cc}\hfill 7x+2y& =3\hfill \\ \hfill 2y& =7x+3\hfill \\ \hfill \frac{2y}{2}& =\frac{7x+3}{2}\hfill \\ \hfill y& =\frac{7}{2}x+\frac{3}{2}\hfill \end{array}\hfill & \phantom{\rule{4em}{0ex}}\begin{array}{cc}\hfill 2x+7y& =5\hfill \\ \hfill 7y& =2x+5\hfill \\ \hfill \frac{7y}{7}& =\frac{2x+5}{7}\hfill \\ \hfill y& =\frac{2}{7}x+\frac{5}{7}\hfill \end{array}\hfill \\ \hfill \text{Identify the slope of each line}.& \phantom{\rule{1.9em}{0ex}}\begin{array}{cc}\hfill y& =mx+b\hfill \\ \hfill {m}_{1}& =\frac{7}{2}\hfill \end{array}\hfill & \phantom{\rule{5.9em}{0ex}}\begin{array}{cc}\hfill y& =mx+b\hfill \\ \hfill {m}_{1}& =\frac{2}{7}\hfill \end{array}\hfill \end{array}$
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 3.45
Use slopes to determine if the lines are perpendicular:
ⓐ $y=\mathrm{3}x+2$ and $x3y=4$ ⓑ $5x+4y=1$ and $4x+5y=3.$
Try It 3.46
Use slopes to determine if the lines are perpendicular:
ⓐ $y=2x5$ and $x+2y=\mathrm{6}$ ⓑ $2x9y=3$ and $9x2y=1.$
Section 3.2 Exercises
Practice Makes Perfect
Find the Slope of a Line
In the following exercises, find the slope of each line shown.
In the following exercises, find the slope of each line.
$y=\mathrm{2}$
$x=4$
In the following exercises, use the slope formula to find the slope of the line between each pair of points.
$\left(3,6\right),\left(8,0\right)$
$\left(\mathrm{2},4\right),\left(3,\mathrm{1}\right)$
$\left(\mathrm{2},\mathrm{1}\right),\left(6,5\right)$
$\left(3,\mathrm{6}\right),\left(2,\mathrm{2}\right)$
Graph a Line Given a Point and the Slope
In the following exercises, graph each line with the given point and slope.
$\left(1,4\right)$; $m=\frac{1}{2}$
$\left(\mathrm{3},\mathrm{5}\right)$; $m=\frac{3}{2}$
xintercept $\mathrm{2}$; $m=\frac{3}{4}$
$\left(1,5\right)$; $m=\mathrm{3}$
Graph a Line Using Its Slope and Intercept
In the following exercises, identify the slope and yintercept of each line.
$y=4x10$
$4x+y=8$
$8x+3y=12$
$7x3y=9$
In the following exercises, graph the line of each equation using its slope and yintercept.
$y=2x3$
$y=\text{\u2212}x4$
$y=\frac{3}{5}x+2$
$3x4y=8$
Choose the Most Convenient Method to Graph a Line
In the following exercises, determine the most convenient method to graph each line.
$y=5$
$xy=5$
$y=\frac{2}{3}x1$
$2x5y=\mathrm{10}$
Graph and Interpret Applications of Slope–Intercept
The equation $P=31+1.75w$ models the relation between the amount of Tuyet’s monthly water bill payment, P, in dollars, and the number of units of water, w, used.
ⓐ Find Tuyet’s payment for a month when 0 units of water are used.
ⓑ Find Tuyet’s payment for a month when 12 units of water are used.
ⓒ Interpret the slope and Pintercept of the equation.
ⓓ Graph the equation.
The equation $P=28+2.54w$ models the relation between the amount of R and y’s monthly water bill payment, P, in dollars, and the number of units of water, w, used.
ⓐ Find the payment for a month when R and y used 0 units of water.
ⓑ Find the payment for a month when R and y used 15 units of water.
ⓒ Interpret the slope and Pintercept of the equation.
ⓓ Graph the equation.
Bruce drives his car for his job. The equation $R=0.575m+42$ models the relation between the amount in dollars, R, that he is reimbursed and the number of miles, m, he drives in one day.
ⓐ Find the amount Bruce is reimbursed on a day when he drives 0 miles.
ⓑ Find the amount Bruce is reimbursed on a day when he drives 220 miles.
ⓒ Interpret the slope and Rintercept of the equation.
ⓓ Graph the equation.
Janelle is planning to rent a car while on vacation. The equation $C=0.32m+15$ models the relation between the cost in dollars, C, per day and the number of miles, m, she drives in one day.
ⓐ Find the cost if Janelle drives the car 0 miles one day.
ⓑ Find the cost on a day when Janelle drives the car 400 miles.
ⓒ Interpret the slope and Cintercept of the equation.
ⓓ Graph the equation.
Cherie works in retail and her weekly salary includes commission for the amount she sells. The equation $S=400+0.15c$ models the relation between her weekly salary, S, in dollars and the amount of her sales, c, in dollars.
ⓐ Find Cherie’s salary for a week when her sales were $0.
ⓑ Find Cherie’s salary for a week when her sales were $3,600.
ⓒ Interpret the slope and Sintercept of the equation.
ⓓ Graph the equation.
Patel’s weekly salary includes a base pay plus commission on his sales. The equation $S=750+0.09c$ models the relation between his weekly salary, S, in dollars and the amount of his sales, c, in dollars.
ⓐ Find Patel’s salary for a week when his sales were 0.
ⓑ Find Patel’s salary for a week when his sales were 18,540.
ⓒ Interpret the slope and Sintercept of the equation.
ⓓ Graph the equation.
Costa is planning a lunch banquet. The equation $C=450+28g$ models the relation between the cost in dollars, C, of the banquet and the number of guests, g.
ⓐ Find the cost if the number of guests is 40.
ⓑ Find the cost if the number of guests is 80.
ⓒ Interpret the slope and Cintercept of the equation.
ⓓ Graph the equation.
Margie is planning a dinner banquet. The equation $C=750+42g$ models the relation between the cost in dollars, C of the banquet and the number of guests, g.
ⓐ Find the cost if the number of guests is 50.
ⓑ Find the cost if the number of guests is 100.
ⓒ Interpret the slope and Cintercept of the equation.
ⓓ Graph the equation.
Use Slopes to Identify Parallel and Perpendicular Lines
In the following exercises, use slopes and yintercepts to determine if the lines are parallel, perpendicular, or neither.
$3x4y=2;\phantom{\rule{1em}{0ex}}y=\frac{3}{4}x3$
$8x+6y=6;\phantom{\rule{1em}{0ex}}12x+9y=12$
$x=3;\phantom{\rule{1em}{0ex}}x=2$
$8x2y=7;\phantom{\rule{1em}{0ex}}3x+12y=9$
$9x5y=4;\phantom{\rule{1em}{0ex}}5x+9y=1$
$5x2y=11;\phantom{\rule{1em}{0ex}}5xy=7$
$2x+3y=5;\phantom{\rule{1em}{0ex}}3x2y=7$
$2x+4y=3;\phantom{\rule{1em}{0ex}}6x+3y=2$
$y=1;\phantom{\rule{1em}{0ex}}y=2$
Writing Exercises
How does the graph of a line with slope $m=\frac{1}{2}$ differ from the graph of a line with slope $m=2?$
Why is the slope of a vertical line “undefined”?
Explain in your own words how to decide which method to use to graph a line.
Self Check
ⓐ After completing the exercises, use this checklist to evaluate your mastery of the objectives of this section.
ⓑ After reviewing this checklist, what will you do to become confident for all objectives?