Elementary Algebra 2e — Original English

Use the Slope-Intercept Form of an Equation of a Line

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=12x+3 by plotting points. See Figure 1. Let’s find the slope of this line.

This figure shows a line graphed on the x y-coordinate plane. The x-axis of the plane runs from negative 8 to 8. The y-axis of the plane runs from negative 8 to 8. The line is labeled with the equation y equals one half x, plus 3. The points (0, 3), (2, 4) and (4, 5) are labeled also. A red vertical line begins at the point (2, 4) and ends one unit above the point. It is labeled “Rise equals 1”. A red horizontal line begins at the end of the vertical line and ends at the point (4, 5). It is labeled “Run equals 2. The red lines create a right triangle with the line y equals one half x, plus 3 as the hypotenuse.

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

m=riserunm=12

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:

The figure shows the equation y equals one half x, plus 3. The fraction one half is colored red and the number 3 is colored blue.

Notice, the line has:

The figure shows the statement “slope m equals one half and y-intercept (0, 3). The slope, one half, is colored red and the number 3 in the y-intercept is colored blue.

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=12x+3 is in slope–intercept form.

The figure shows the statement “m equals one half; y-intercept is (0, 3). The slope, one half, is colored red and the number 3 in the y-intercept is colored blue. Below that statement is the equation y equals one half x, plus 3. The fraction one half is colored red and the number 3 is colored blue. Below the equation is another equation y equals m x, plus b. The variable m is colored red and the variable b is colored blue.

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

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

Compare these values to the equationy=mx+b.

Solution

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

A graph on a coordinate plane shows the linear equation y = 2x + 1. The line, with arrows, passes through points (0, 1) and (1, 3). The x and y axes are marked from -4 to 4.
Find the rise and run. A mathematical equation for slope reads 'm = rise / run' on a plain white background.
A mathematical equation displays 'm = 2/1' on a white background, representing a slope or a ratio where m is equal to two divided by one.
A mathematical expression 'm = 2' is displayed centrally on a white background.
Find the y-intercept of the line. The y-intercept is the point (0, 1).
We found slope m = 2 and y-intercept (0, 1). Comparing y=2x+1 with the slope-intercept form y=mx+b, where m=2 (red) is the slope and b=1 (blue) is the y-intercept.

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.

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.

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

Solution

Solution

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

The image displays the linear equation y = mx + b, which is a fundamental formula in algebra representing the slope-intercept form of a straight line. The 'm' is colored red, and 'b' is colored light blue.
Write the equation of the line. The image displays a mathematical equation, 'y = -3x + 5,' written in a clear, digital font against a white background.
Identify the slope. The mathematical equation 'm = -3' is displayed against a white background, with the number '-3' highlighted in red.
Identify the y-intercept. The image displays the text 'y-intercept is (0, 5)' in a horizontal line. The number 5 is highlighted in a light blue color, while the rest of the text is in gray.

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

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

Solution

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

Solve for y. x+2y=6
Subtract x from each side. A mathematical equation is displayed on a white background, reading '2y = -x + 6' in black text.
Divide both sides by 2. A mathematical equation shows '2y divided by 2 equals the quantity of negative x plus 6, all divided by 2'.
Simplify. A mathematical equation is displayed: 2y/2 = -x/2 + 6/2, representing an algebraic step towards simplifying or rearranging a linear equation.
(Remember:a+bc=ac+bc)
Simplify. The image shows the linear equation y = -1/2x + 3, representing a line with a negative slope of -1/2 and a y-intercept of 3.
Write the slope–intercept form of the equation of the line. The slope-intercept form equation of a straight line, y = mx + b, is displayed on a white background, with 'm' highlighted in red and 'b' in light blue.
Write the equation of the line. A mathematical equation, y = -1/2x + 3, is displayed on a white background. The fraction '-1/2' is written in red, and the number '3' is in blue, while the rest of the equation is in black.
Identify the slope. The image displays the mathematical equation m = -1/2, where 'm' represents a variable and the value assigned to it is negative one half.
Identify the y-intercept. The image shows the text 'y-intercept is (0, 3)'.

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.

How to Graph a Line Using its Slope and Intercept

Graph the line of the equation y=4x2 using its slope and y-intercept.

Solution

Solution

The figure shows the steps to graph the equation y equals 4x minus 2. Step 1 is to find the slope intercept form of the equation. The equation is already in slope intercept form. Step 2 is to identify the slope and y-intercept. Use the equation y equals m x, plus b. The equation y equals m x, plus b is shown with the variable m colored red and the variable b colored blue. Below that is the equation y equals 4 x, plus -2. The number 4 is colored red and -2 is colored blue. From this equation we can see that m equals 4 and b equals -2 so the slope is 4 and the y-intercept is the point (0, negative 2). Step 3 is to plot the y-intercept. An x y-coordinate plane is shown with the x-axis of the plane running from negative 8 to 8. The y-axis of the plane runs from negative 8 to 8. The point (0, negative 2) is plotted. Step 4 is to use the slope formula m equals rise over run to identify the rise and the run. Since m equals 4, rise over run equals 4 over 1. From this we can determine that the rise is 4 and the run is 1. Step 5 is to start at they-intercept, count out the rise and run to mark the second point. So start at the point (0, negative 2) and count the rise and the run. The rise is up 4 and the run is right 1. On the x y-coordinate plane is a red vertical line starts at the point (0, negative 2) and rises 4 units at its end a red horizontal line runs 1 unit to end at the point (1, 2). The point (1, 2)  is plotted. Step 6 is to connect the points with a line. On the x y-coordinate plane the points (0, negative 2) and (1, 2) are plotted and a line runs through the two points. The line is the graph of y equals 4 x, minus 2.

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

Solution

Solution

y=mx+b
The equation is in slope–intercept form. y=x+4
Identify the slope and y-intercept. m=−1
y-intercept is (0, 4)
Plot the y-intercept. See graph below.
Identify the rise and the run. m=−11
Count out the rise and run to mark the second point. rise −1, run 1
Draw the line. A linear graph on a coordinate plane, showing a downward-sloping line that intersects the y-axis at 4 and the x-axis at 4. Points (0, 4) and (1, 3) are marked.
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).
Check.
y=x+40=?4+40=0

Graph the line of the equation y=23x3 using its slope and y-intercept.

Solution

Solution

y=mx+b
The equation is in slope–intercept form. y=23x3
Identify the slope and y-intercept. m=23; y-intercept is (0, −3)
Plot the y-intercept. See graph below.
Identify the rise and the run.
Count out the rise and run to mark the second point.
Draw the line. A Cartesian coordinate system displays a straight line with a negative slope, passing through the points (0, -3) and (3, -5).

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

Solution

Solution

4x3y=12
Find the slope–intercept form of the equation. −3y=−4x+12
3y3=−4x+12−3
The equation is now in slope–intercept form. y=43x4
Identify the slope and y-intercept. m=43
y-intercept is (0, −4)
Plot the y-intercept. See graph below.
Identify the rise and the run; count out the rise and run to mark the second point.
Draw the line. A Cartesian graph displays a linear equation as a blue line with a positive slope. The line intersects the x-axis at (3, 0) and the y-axis at (0, -4), passing through quadrants I, III, and IV.

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.

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

Solution

Solution

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

y=mx+b
The equation is in slope–intercept form. y=0.2x+45
Identify the slope and y-intercept. m=0.2
The y-intercept is (0, 45)
Plot the y-intercept. See graph below.
Count out the rise and run to mark the second point. The slope is m=0.2; in fraction form this means m=210. Given the scale of our graph, it would be easier to use the equivalent fraction m=1050.
Draw the line. A graph displays a straight line on a Cartesian coordinate system. The line passes through two distinct points: (0, 45) and (50, 55), exhibiting a positive slope as it extends across the plane.

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

The table has two rows and four columns. The first row spans all four columns and is a header row. The header is “Methods to Graph Lines”. The second row is made up of four columns. The first column is labeled “Plotting Points” and shows a smaller table with four rows and two columns. The first row is a header row with the first column labeled “x” and the second labeled “y”. The rest of the table is blank. Below the table it reads “Find three points. Plot the points, make sure they line up, then draw the line.” The Second column is labeled “Slope–Intercept” and shows the equation y equals m x, plus b. Below the equation it reads “Find the slope and y-intercept. Start at the y-intercept, then count the slope to get a second point.” The third column is labeled “Intercepts” and shows a smaller table with four rows and two columns. The first row is a header row with the first column labeled “x” and the second labeled “y”. The second row has a 0 in the “x” column and the “y” column is blank. The second row is blank in the “x” column and has a 0 in the “y” column. The third row is blank. Below the table it reads “Find the intercepts and a third point. Plot the points, make sure they line up, then draw the line.” The fourth column is labeled “Recognize Vertical and Horizontal Lines”. Below that it reads “The equation has only one variable.” The equation x equals a is a vertical line and the equation y equals b is a horizontal line.

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.

EquationMethod#1x=2Vertical line#2y=4Horizontal line#3x+2y=6Intercepts#44x3y=12Intercepts#5y=4x2Slope–intercept#6y=x+4Slope–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.

Determine the most convenient method to graph each line.

y=−6 5x3y=15 x=7 y=25x1.

Solution

Solution

  1. y=−6
    This equation has only one variable,y. Its graph is a horizontal line crossing the y-axis at −6.
  2. 5x3y=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.
  3. x=7
    There is only one variable, x. The graph is a vertical line crossing the x-axis at 7.
  4. y=25x1
    Since this equation is in y=mx+b form, it will be easiest to graph this line by using the slope and y-intercept.

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.

The equation F=95C+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.

Solution

Solution

Examples of converting Celsius temperatures to Fahrenheit, showing problem statements and step-by-step calculations.

Find the Fahrenheit temperature for a Celsius temperature of 0.
Find F when C=0.
Simplify.
F=95C+32 F=95(0)+32 F=32

Find the Fahrenheit temperature for a Celsius temperature of 20.
Find F when C=20.
Simplify.
Simplify.
F=95C+32 F=95(20)+32 F=36+32 F=68

Interpret the slope and F-intercept of the equation.

Even though this equation uses Fand C, it is still in slope–intercept form.

This image shows three lines of equations. The first line reads y equals m x plus b. The second line reads F equals m C plus b and the third line reads F equals nine fifths times C plus 32.

The slope, 95, 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° on the Fahrenheit scale.

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.

A graph with x-axis ranging from –20 to 50, and y-axis ranging from –20 to 50. A line runs upwards, intercepting at points (0, 32) and a second point which the student must find.

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.

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.

Solution

Solution

Find Stella's cost for a week when she sells no pizzas. A mathematical equation C = 4p + 25 is displayed in a digital format on a white background.
Find C when p=0. A mathematical equation is displayed on a white background: C = 4(0) + 25.
Simplify. A close-up shot of a mathematical equation displayed in black text against a white background, reading 'C = 25'.
Stella's fixed cost is $25 when she sells no pizzas.
Find the cost for a week when she sells 15 pizzas. A mathematical equation C = 4p + 25 is displayed in black text on a white background.
Find C when p=15. A mathematical equation shows C equals 4 multiplied by 15, plus 25.
Simplify. A mathematical equation shows 'C = 60 + 25' displayed on a white background.
The text 'C = 85' is displayed in a sans-serif font against a white background.
Stella's costs are $85 when she sells 15 pizzas.
Interpret the slope and C-intercept of the equation. Two linear equations are displayed: y = mx + b and C = 4p + 25. The variables 'y' and 'C' are highlighted in red, while 'x' and 'p' are highlighted in teal.
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.
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. A graph on a coordinate plane shows a linear function with axes labeled C and P. The blue line passes through the points (0, 25) and (1, 29), indicating a positive slope.

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.

The figure shows three pairs of lines side-by-side. The pair of lines on the left run diagonally rising from left to right. The pair run side-by-side, not crossing. The pair of lines in the middle run diagonally dropping from left to right. The pair run side-by-side, not crossing. The pair of lines on the right run diagonally also dropping from left to right, but with a lesser slope. The pair run side-by-side, not crossing.

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.

The figure shows two lines graphed on the x y-coordinate plane. The x-axis of the plane runs from negative 8 to 8. The y-axis of the plane runs from negative 8 to 8. One line goes through the points (negative 5,1) and (5,5). The other line goes through the points (negative 5, negative 4) and (5,0).
Verify that both lines have the same slope, m=25, 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 5.

The figure shows two vertical lines graphed on the x y-coordinate plane. The x-axis of the plane runs from negative 8 to 8. The y-axis of the plane runs from negative 8 to 8. One line goes through the points (2,1) and (2,5). The other line goes through the points (5, negative 4) and (5,0).
Vertical lines with diferent x-intercepts are parallel.

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=−1y=−2x1

Graph the lines.

The figure shows two lines graphed on the x y-coordinate plane. The x-axis of the plane runs from negative 8 to 8. The y-axis of the plane runs from negative 8 to 8. One line goes through the points (negative 4, 7) and (3, negative 7). The other line goes through the points (negative 2, 7) and (5, negative 7).

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

y=mx+by=mx+by=−2x+3y=−2x1m=−2m=−2b=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.

Use slopes and y-intercepts to determine if the lines 3x2y=6 and y=32x+1 are parallel.

Solution

Solution

Step-by-step analysis of two linear equations, demonstrating how to find their slopes and y-intercepts by converting them to slope-intercept form.
Solve the first equation for y. 3x2y=62y=−3x+6−2y−2=−3x+6−2 and y=32x+1
The equation is now in slope-intercept form. y=32x3
The equation of the second line is already in slope-intercept form. y=32x+1
Identify the slope and y-intercept of both lines. y=32x3y=mx+bm=32 y=32x+1y=mx+bm=32
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.

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

Solution

Solution

This table demonstrates converting horizontal line equations (y = -4, y = 3) to slope-intercept form and identifying their slopes and y-intercepts.
y=−4 y=0x4 and y=3 y=0x+3
Write each equation in slope-intercept form. y=0x4 y=0x+3
Since there is no x term we write 0x. y=mx+b y=mx+b
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.

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

Solution

Solution

x=−2andx=−5

Since there is noy, 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.

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

Solution

Solution

Steps to demonstrate the equivalence of y=2x-3 and -6x+3y=-9 by converting to slope-intercept form and comparing properties.
y=2x3 and −6x+3y=−9
The first equation is already in slope-intercept form. y=2x3
Solve the second equation for y. 6x+3y=−9 3y=6x9 3y3=6x93 y=2x3
The second equation is now in slope-intercept form. y=2x3
Identify the slope and y-intercept of both lines. y=2x3 y=mx+b m=2 y=2x3 y=mx+b m=2
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.

Use Slopes to Identify Perpendicular Lines

Let’s look at the lines whose equations are y=14x1 and y=−4x+2, shown in Figure 6.

The figure shows two lines graphed on the x y-coordinate plane. The x-axis of the plane runs from negative 8 to 8. The y-axis of the plane runs from negative 8 to 8. One line is labeled with the equation y equals negative 4x plus 2 and goes through the points (0,2) and (1, negative 2). The other line is labeled with the equation y equals one fourth x minus 1 and goes through the points (0, negative 1) and (4,0).

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=14x1 rises, so its slope is positive. The liney=−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, m1=14, and the slope of the second line, m2=−4, we can see that they are negative reciprocals of each other. If we multiply them, their product is −1.

m1·m214(−4)1

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

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.

Use slopes to determine if the lines, y=−5x4 and x5y=5 are perpendicular.

Solution

Solution

Steps to convert two linear equations to slope-intercept form and identify their respective slopes (m values).
The first equation is already in slope-intercept form. y=−5x4
Solve the second equation for y. x5y=5 5y=x+5 −5y−5=x+5−5 y=15x1
Identify the slope of each line. y=−5x4 y=mx+b m1=−5 y=15x1 y=mx+b m2=15

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

m1·m25(15)1

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

Solution

Solution

This table demonstrates the step-by-step process of solving two linear equations for y and identifying their respective slopes.
Solve the equations for y. 7x+2y=3 2y=−7x+3 2y2=−7x+32 y=72x+32 2x+7y=5 7y=−2x+5 7y7=−2x+57 y=27x+57
Identify the slope of each line. y=mx+b m1=72 y=mx+b m2=27

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

Key Concepts

  • The slope–intercept form of an equation of a line with slope m and y-intercept, (0,b) is, y=mx+b.
  • 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=riserun 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.



  • 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.
  • Parallel lines are lines in the same plane that do not intersect.
    • Parallel lines have the same slope and different y-intercepts.
    • If m1 and m2 are the slopes of two parallel lines then m1=m2.
    • Parallel vertical lines have different x-intercepts.
  • Perpendicular lines are lines in the same plane that form a right angle.
    • If m1andm2 are the slopes of two perpendicular lines, then m1·m2=−1 and m1=−1m2.
    • Vertical lines and horizontal lines are always perpendicular to each other.

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.

The figure shows a line graphed on the x y-coordinate plane. The x-axis of the plane runs from negative 10 to 10. The y-axis of the plane runs from negative 10 to 10. The line goes through the points (0, negative 5) and (1, negative 2).

y=3x5

The figure shows a line graphed on the x y-coordinate plane. The x-axis of the plane runs from negative 10 to 10. The y-axis of the plane runs from negative 10 to 10. The line goes through the points (0, negative 2) and (1,2).

y=4x2

Solution

slope m=4 and y-intercept (0,−2)

The figure shows a line graphed on the x y-coordinate plane. The x-axis of the plane runs from negative 10 to 10. The y-axis of the plane runs from negative 10 to 10. The line goes through the points (0,4) and (1,3).

y=x+4

The figure shows a line graphed on the x y-coordinate plane. The x-axis of the plane runs from negative 10 to 10. The y-axis of the plane runs from negative 10 to 10. The line goes through the points (0,1) and (1, negative 2).

y=−3x+1

Solution

slope m=−3 and y-intercept (0,1)

The figure shows a line graphed on the x y-coordinate plane. The x-axis of the plane runs from negative 10 to 10. The y-axis of the plane runs from negative 10 to 10. The line goes through the points (0,1) and (3, negative 3).

y=43x+1

The figure shows a line graphed on the x y-coordinate plane. The x-axis of the plane runs from negative 10 to 10. The y-axis of the plane runs from negative 10 to 10. The line goes through the points (0,3) and (1,5).

y=25x+3

Solution

slope m=25 and y-intercept (0,3)

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=−7x+3

y=−9x+7

Solution

−9;(0,7)

y=6x8

y=4x10

Solution

4;(0,−10)

3x+y=5

4x+y=8

Solution

−4;(0,8)

6x+4y=12

8x+3y=12

Solution

83;(0,4)

5x2y=6

7x3y=9

Solution

73;(0,−3)

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=x+4

Solution

The figure shows a line graphed on the x y-coordinate plane. The x-axis of the plane runs from negative 10 to 10. The y-axis of the plane runs from negative 10 to 10. The line goes through the points (0, 4) and (1, 5).

y=3x1

y=2x3

Solution

The figure shows a line graphed on the x y-coordinate plane. The x-axis of the plane runs from negative 10 to 10. The y-axis of the plane runs from negative 10 to 10. The line goes through the points (0, negative 3) and (1, negative 1).

y=x+2

y=x+3

Solution

The figure shows a line graphed on the x y-coordinate plane. The x-axis of the plane runs from negative 10 to 10. The y-axis of the plane runs from negative 10 to 10. The line goes through the points (0, 3) and (1, 2).

y=x4

y=x2

Solution

The figure shows a line graphed on the x y-coordinate plane. The x-axis of the plane runs from negative 10 to 10. The y-axis of the plane runs from negative 10 to 10. The line goes through the points (0, negative 2) and (1, negative 3).

y=34x1

y=25x3

Solution

The figure shows a line graphed on the x y-coordinate plane. The x-axis of the plane runs from negative 10 to 10. The y-axis of the plane runs from negative 10 to 10. The line goes through the points (0, negative 3) and (5, negative 5).

y=35x+2

y=23x+1

Solution

The figure shows a line graphed on the x y-coordinate plane. The x-axis of the plane runs from negative 10 to 10. The y-axis of the plane runs from negative 10 to 10. The line goes through the points (0,1) and (3, negative 1).

3x4y=8

4x3y=6

Solution

The figure shows a line graphed on the x y-coordinate plane. The x-axis of the plane runs from negative 10 to 10. The y-axis of the plane runs from negative 10 to 10. The line goes through the points (0, negative 2) and (3,2).

y=0.1x+15

y=0.3x+25

Solution

The figure shows a line graphed on the x y-coordinate plane. The x-axis of the plane runs from negative 10 to 10. The y-axis of the plane runs from negative 10 to 10. The line goes through the points (0, 25) and (negative 50, 10).

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=4

Solution

horizontal line

y=5

x=−3

Solution

vertical line

y=−3x+4

y=−5x+2

Solution

slope–intercept

xy=5

xy=1

Solution

intercepts

y=23x1

y=45x3

Solution

slope–intercept

y=−3

y=−1

Solution

horizontal line

3x2y=−12

2x5y=−10

Solution

intercepts

y=14x+3

y=13x+5

Solution

slope–intercept

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.

  1. Find Tuyet’s payment for a month when 0 units of water are used.
  2. Find Tuyet’s payment for a month when 12 units of water are used.
  3. Interpret the slope and P-intercept of the equation.
  4. 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.

  1. Find the payment for a month when Randy used 0 units of water.
  2. Find the payment for a month when Randy used 15 units of water.
  3. Interpret the slope and P-intercept of the equation.
  4. Graph the equation.
Solution
  1. $28
  2. $66.10
  3. The slope, 2.54, means that Randy’s payment, P, increases by $2.54 when the number of units of water he used, w, increases by 1. The P–intercept means that if the number units of water Randy used was 0, the payment would be $28.

  4. The figure shows a line graphed on the x y-coordinate plane. The x-axis of the plane represents the variable w and runs from negative 2 to 20. The y-axis of the plane represents the variable P and runs from negative 1 to 100. The line begins at the point (0, 28) and goes through the point (15, 66.1).

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.

  1. Find the amount Bruce is reimbursed on a day when he drives 0 miles.
  2. Find the amount Bruce is reimbursed on a day when he drives 220 miles.
  3. Interpret the slope and R-intercept of the equation.
  4. 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.

  1. Find the cost if Janelle drives the car 0 miles one day.
  2. Find the cost on a day when Janelle drives the car 400 miles.
  3. Interpret the slope and C–intercept of the equation.
  4. Graph the equation.
Solution
  1. $15
  2. $143
  3. The slope, 0.32, means that the cost, C, increases by $0.32 when the number of miles driven, m, increases by 1. The C-intercept means that if Janelle drives 0 miles one day, the cost would be $15.

  4. The figure shows a line graphed on the x y-coordinate plane. The x-axis of the plane represents the variable m and runs from negative 1 to 500. The y-axis of the plane represents the variable C and runs from negative 1 to 200. The line begins at the point (0,15) and goes through the point (400,143).

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.

  1. Find Cherie’s salary for a week when her sales were 0.
  2. Find Cherie’s salary for a week when her sales were 3600.
  3. Interpret the slope and S–intercept of the equation.
  4. 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.

  1. Find Patel’s salary for a week when his sales were 0.
  2. Find Patel’s salary for a week when his sales were 18,540.
  3. Interpret the slope and S-intercept of the equation.
  4. Graph the equation.
Solution
  1. $750
  2. $2418.60
  3. The slope, 0.09, means that Patel’s salary, S, increases by $0.09 for every $1 increase in his sales. The S-intercept means that when his sales are $0, his salary is $750.

  4. The figure shows a line graphed on the x y-coordinate plane. The x-axis of the plane represents the variable w and runs from negative 1 to 20000. The y-axis of the plane represents the variable P and runs from negative 1 to 3000. The line begins at the point (0, 750) and goes through the point (18540, 2415).

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.

  1. Find the cost if the number of guests is 40.
  2. Find the cost if the number of guests is 80.
  3. Interpret the slope and C-intercept of the equation.
  4. 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.

  1. Find the cost if the number of guests is 50.
  2. Find the cost if the number of guests is 100.
  3. Interpret the slope and C–intercept of the equation.
  4. Graph the equation.
Solution
  1. $2850
  2. $4950
  3. The slope, 42, means that the cost, C, increases by $42 for when the number of guests increases by 1. The C-intercept means that when the number of guests is 0, the cost would be $750.

  4. The figure shows a line graphed on the x y-coordinate plane. The x-axis of the plane represents the variable g and runs from negative 1 to 150. The y-axis of the plane represents the variable C and runs from negative 1 to 7000. The line begins at the point (0, 750) and goes through the point (100, 4950).

Use Slopes to Identify Parallel Lines

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

y=34x3;3x4y=2

y=23x1;2x3y=2

Solution

parallel

2x5y=3;y=25x+1

3x4y=2;y=34x3

Solution

parallel

2x4y=6;x2y=3

6x3y=9;2xy=3

Solution

not parallel

4x+2y=6;6x+3y=3

8x+6y=6;12x+9y=12

Solution

parallel

x=5;x=6

x=7;x=8

Solution

parallel

x=4;x=1

x=3;x=2

Solution

parallel

y=2;y=6

y=5;y=1

Solution

parallel

y=4;y=3

y=1;y=2

Solution

parallel

xy=2;2x2y=4

4x+4y=8;x+y=2

Solution

not parallel

x3y=6;2x6y=12

5x2y=11;5xy=7

Solution

not parallel

3x6y=12;6x3y=3

4x8y=16;x2y=4

Solution

not parallel

9x3y=6;3xy=2

x5y=10;5xy=10

Solution

not parallel

7x4y=8;4x+7y=14

9x5y=4;5x+9y=1

Solution

not parallel

Use Slopes to Identify Perpendicular Lines

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

3x2y=8;2x+3y=6

x4y=8;4x+y=2

Solution

perpendicular

2x+5y=3;5x2y=6

2x+3y=5;3x2y=7

Solution

perpendicular

3x2y=1;2x3y=2

3x4y=8;4x3y=6

Solution

not perpendicular

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

2x+4y=3;6x+3y=2

Solution

not perpendicular

4x2y=5;3x+6y=8

2x6y=4;12x+4y=9

Solution

perpendicular

6x4y=5;8x+12y=3

8x2y=7;3x+12y=9

Solution

perpendicular

Everyday Math

The equation C=59F17.8 can be used to convert temperatures F, on the Fahrenheit scale to temperatures, C, on the Celsius scale.

  1. Explain what the slope of the equation means.
  2. Explain what the C–intercept of the equation means.

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

  1. Explain what the slope of the equation means.
  2. Explain what the n–intercept of the equation means. Is this a realistic situation?
Solution
  1. For every increase of one degree Fahrenheit, the number of chirps increases by four.
  2. There would be −160 chirps when the Fahrenheit temperature is 0°. (Notice that this does not make sense; this model cannot be used for all possible temperatures.)

Writing Exercises

Explain in your own words how to decide which method to use to graph a line.

Why are all horizontal lines parallel?

Solution

Answers will vary.

Self Check

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

This table has eight rows and four columns. The first row is a header row and it labels each column. The first column is labeled "I can …", the second "Confidently", the third “With some help” and the last "No–I don’t get it". In the “I can…” column the next row reads “recognize the relation between the graph and the slope-intercept form of an equation of a line.” The third row reads “identify the Slope and y-intercept from an equation of a line”. The fourth row reads “graph a line using its slope and intercept”. The fifth row reads “choose the most convenient method to graph a line.” The sixth row reads “graph and interpret applications of slope-intercept”. The seventh row reads “use slopes to identify parallel lines” and the last row reads “use slopes to identify perpendicular lines.” The remaining columns are blank.

After looking at the checklist, do you think you are well-prepared for the next section? Why or why not?

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.