Writing and Graphing Equations in Slope-Intercept Form

Method

Writing the Equation of a Line in Slope-Intercept Form Using Two Points

The slope m and the y-intercept b of a line must be known to write a linear equation in slope-intercept form. y=mx+b When only two points on the line are known, the following four-step method can be used. For example, the equation of the line that passes through the points (- 4,1) and (8,4) will be written.

1
Find the Slope
expand_more
Given two points on a line, the slope of the line can be found by using the Slope Formula. In this case, the coordinates ( - 4, 1) and ( 8, 4) will be substituted in place of (x_1,y_1) and (x_2,y_2), respectively.

m = y_2-y_1/x_2-x_1
m=4- 1/8-( - 4)
m=4-1/8+4
m=3/12
m=0.25

The slope m of the line passing through the two points is 0.25.

2
Replace m With the Slope
expand_more
Now that the value of the slope is known, it can be substituted for m in the slope-intercept form of an equation. y= mx+b ⇓ y= 0.25x+b

3
Find b Using a Point
expand_more
Next, the y-intercept can be found by substituting either of the given points into the equation and solving for b. In the considered example, (8,4) can be used. Substitute its coordinates into the equation from Step 2 and solve for b.

y=0.25x+b
4=0.25( 8)+b
4=2+b
2=b
b=2

Therefore, the y-intercept is 2.

4
Write the Equation
expand_more
Lastly, the complete equation in slope-intercept form can be written by substituting the y-intercept into the equation from Step 2. y=0.25x+ b ⇓ y=0.25x+ 2 The equation of the line in slope-intercept form is now complete.

Exercises
Edit Lesson