Before you get started, take this readiness quiz.

Add: $\frac{x}{4}+\frac{1}{4}.$

If you missed this problem, review Example 1.77.

Find the reciprocal of $\frac{3}{7}.$

If you missed this problem, review Example 1.70.

Solve $2x-3y=12\phantom{\rule{0.2em}{0ex}}\text{for}\phantom{\rule{0.2em}{0ex}}y$.

If you missed this problem, review Example 2.63.

### 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 4.24. 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:

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

Notice, the line has:

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-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,

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

### Example 4.40

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$.

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$.

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$.

### 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 4.41

Identify the slope and *y*-intercept of the line with equation $y=\mathrm{-3}x+5$.

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

Identify the slope and *y*-intercept of the line $y=-\frac{4}{3}x+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 4.42

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

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

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

### 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 4.43

#### How to Graph a Line Using its Slope and Intercept

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

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

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

### How To

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

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

### Example 4.44

Graph the line of the equation $y=\text{\u2212}x+4$ using its slope and *y*-intercept.

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

Graph the line of the equation $y=\text{\u2212}x-1$ using its slope and *y*-intercept.

### Example 4.45

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

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

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

### Example 4.46

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

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

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

We have used a grid with $x$ and $y$ both going from about $\mathrm{-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 4.47

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

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

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

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 4.25.

### 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 sections 4.3, 4.4, 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.

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$.

- $x=a$ is a vertical line passing through the
- 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.

- Identify the slope and
- 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.

- Find the

### Example 4.48

Determine the most convenient method to graph each line.

ⓐ $y=\mathrm{-6}$ ⓑ $5x-3y=15$ ⓒ $x=7$ ⓓ $y=\frac{2}{5}x-1$.

Determine the most convenient method to graph each line: ⓐ $3x+2y=12$ ⓑ $y=4$ ⓒ $y=\frac{1}{5}x-4$ ⓓ $x=\mathrm{-7}$.

Determine the most convenient method to graph each line: ⓐ $x=6$ ⓑ $y=-\frac{3}{4}x+1$ ⓒ $y=\mathrm{-8}$ ⓓ $4x-3y=\mathrm{-1}$.

### Graph and Interpret Applications of Slope–Intercept

Many real-world 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 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 4.49

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 *F*-intercept of the equation.

ⓓ Graph the equation.

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
*h*-intercept of the equation. - ⓓ Graph the equation.

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
*T*-intercept of the equation. - ⓓ Graph the equation.

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 labor needed to produce each item.

### Example 4.50

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 *C*-intercept of the equation.

ⓓ Graph the equation.

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 *C*-intercept of the equation.

ⓓ Graph the equation.

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
*C*-intercept of the equation. - ⓓ Graph the equation.

### 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 4.27.

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 4.28.

### 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=\mathrm{-2}x+3$ and $2x+y=\mathrm{-1}$ on the same grid. The first equation is already in slope–intercept form: $y=\mathrm{-2}x+3$. We solve the second equation for $y$:

Graph the lines.

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

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 4.51

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

Use slopes and *y*-intercepts to determine if the lines $2x+5y=5\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}y=-\frac{2}{5}x-4$ are parallel.

Use slopes and *y*-intercepts to determine if the lines $4x-3y=6\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}y=\frac{4}{3}x-1$ are parallel.

### Example 4.52

Use slopes and *y*-intercepts to determine if the lines $y=\mathrm{-4}$ and $y=3$ are parallel.

Use slopes and *y*-intercepts to determine if the lines $y=8\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}y=\mathrm{-6}$ are parallel.

Use slopes and *y*-intercepts to determine if the lines $y=1\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}y=\mathrm{-5}$ are parallel.

### Example 4.53

Use slopes and *y*-intercepts to determine if the lines $x=\mathrm{-2}$ and $x=\mathrm{-5}$ are parallel.

Use slopes and *y*-intercepts to determine if the lines $x=1$ and $x=\mathrm{-5}$ are parallel.

Use slopes and *y*-intercepts to determine if the lines $x=8$ and $x=\mathrm{-6}$ are parallel.

### Example 4.54

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

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

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

### Use Slopes to Identify Perpendicular Lines

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

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=\mathrm{-4}x+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}=\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}\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}{m}_{2}$ are the slopes of two perpendicular lines, then:

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 $\mathrm{-1}$, the lines are perpendicular. Perpendicular lines may have the same *y*-intercepts.

### Example 4.55

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

Use slopes to determine if the lines $y=\mathrm{-3}x+2$ and $x-3y=4$ are perpendicular.

Use slopes to determine if the lines $y=2x-5$ and $x+2y=\mathrm{-6}$ are perpendicular.

### Example 4.56

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

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

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

### Media Access Additional Online Resources

Access this online resource for additional instruction and practice with graphs.

### Section 4.5 Exercises

#### Practice Makes Perfect

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

In the following exercises, use the graph to find the slope and y-intercept of each line. Compare the values to the equation $y=mx+b$.

$y=3x-5$

$y=\text{\u2212}x+4$

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

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

In the following exercises, identify the slope and y-intercept of each line.

$y=\mathrm{-7}x+3$

$y=6x-8$

$3x+y=5$

$6x+4y=12$

$5x-2y=6$

**Graph a Line Using Its Slope and Intercept**

In the following exercises, graph the line of each equation using its slope and y-intercept.

$y=x+3$

$y=3x-1$

$y=\text{\u2212}x+2$

$y=\text{\u2212}x-4$

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

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

$3x-4y=8$

$y=0.1x+15$

**Choose the Most Convenient Method to Graph a Line**

In the following exercises, determine the most convenient method to graph each line.

$x=2$

$y=5$

$y=\mathrm{-3}x+4$

$x-y=5$

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

$y=\mathrm{-3}$

$3x-2y=\mathrm{-12}$

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

**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
*P*-intercept of the equation. - ⓓ Graph the equation.

The equation $P=28+2.54w$ models the relation between the amount of Randy’s monthly water bill payment, *P*, in dollars, and the number of units of water, *w*, used.

- ⓐ Find the payment for a month when Randy used 0 units of water.
- ⓑ Find the payment for a month when Randy used 15 units of water.
- ⓒ Interpret the slope and
*P*-intercept 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
*R*-intercept 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
*C*–intercept 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 3600.
- ⓒ Interpret the slope and
*S*–intercept 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
*S*-intercept 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
*C*-intercept 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
*C*–intercept of the equation. - ⓓ Graph the equation.

**Use Slopes to Identify Parallel Lines**

In the following exercises, use slopes and y-intercepts to determine if the lines are parallel.

$y=\frac{3}{4}x-3;\phantom{\rule{0.5em}{0ex}}3x-4y=-2$

$2x-5y=-3;\phantom{\rule{0.5em}{0ex}}y=\frac{2}{5}x+1\phantom{\rule{0.5em}{0ex}}$

$2x-4y=6;\phantom{\rule{0.5em}{0ex}}x-2y=3$

$4x+2y=6;\phantom{\rule{0.5em}{0ex}}6x+3y=3$

$x=5;\phantom{\rule{0.5em}{0ex}}x=-6$

$x=-4;\phantom{\rule{0.5em}{0ex}}x=-1$

$y=2;\phantom{\rule{0.5em}{0ex}}y=6$

$y=-4;\phantom{\rule{0.5em}{0ex}}y=3$

$x-y=2;\phantom{\rule{0.5em}{0ex}}2x-2y=4$

$x-3y=6;\phantom{\rule{0.5em}{0ex}}2x-6y=12$

$3x-6y=12;\phantom{\rule{0.5em}{0ex}}6x-3y=3$

$9x-3y=6;\phantom{\rule{0.5em}{0ex}}3x-y=2$

$7x-4y=8;\phantom{\rule{0.5em}{0ex}}4x+7y=14$

**Use Slopes to Identify Perpendicular Lines**

In the following exercises, use slopes and y-intercepts to determine if the lines are perpendicular.

$3x-2y=8;2x+3y=6$

$2x+5y=3;5x-2y=6$

$3x-2y=1;2x-3y=2$

$5x+2y=6;2x+5y=8$

$4x-2y=5;3x+6y=8$

$6x-4y=5;8x+12y=3$

#### Everyday Math

The equation $C=\frac{5}{9}F-17.8$ can be used to convert temperatures *F*, on the Fahrenheit scale to temperatures, *C*, on the Celsius scale.

- ⓐ Explain what the slope of the equation means.
- ⓑ Explain what the
*C*–intercept of the equation means.

The equation $n=4T-160$ is used to estimate the number of cricket chirps, *n*, in one minute based on the temperature in degrees Fahrenheit, *T*.

- ⓐ Explain what the slope of the equation means.
- ⓑ Explain what the
*n*–intercept of the equation means. Is this a realistic situation?

#### Writing Exercises

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 looking at the checklist, do you think you are well-prepared for the next section? Why or why not?