Notes on Writing Equations of a Line in Slope-Intercept Form
4.1 Writing Equations of a Line in Slope-Intercept Form (y=mx+b)
Objective:
Write an equation of a line given:-
Slope & y-intercept
Two points
Background Info:
To write an equation in slope-intercept form, you need the slope () and y-intercept ().
The slope-intercept form is given by: - Where: - is the dependent variable
- is the slope
- is the independent variable
- is the y-intercept
Writing an Equation Given Slope & Y-Intercept
Sample:
Write the equation of a line when the slope is -1 and the y-intercept is 3.
Given: - Slope () = -1
Y-intercept () = 3
Using the slope-intercept form:
Substitute the given values:
Therefore, the equation of the line is:
Practice
- Slope = 2
Y-int = -4
__
- Slope = 0
Y-int = 7
__
- Slope = 3
Y-int = 0
__
- Slope =
Y-int = -1
__
Writing an Equation When Given Two Points (One Will Be the Y-Intercept)
Sample:
Given two points: (4,1) and (0,3)
Note: (0,3) is the y-intercept because x=0
The y-intercept () = 3
Calculate the slope () using the formula:
Using the slope-intercept form:
Substitute the values:
Sample
(0, -2) and (3, 2)
Since the first point is (0, -2), the y-intercept () = -2
Calculate the slope ():-
So the equation is:-
Sample
(4, 1) and (0, 3)
Since the second point is (0, 3), it is a y-intercept
Y-int
Calculate the slope from the graph
So the equation is:-
Sample
(-3, -2) and (0, 1)
Since the second point is (0, 1), it is a y-intercept
Y-int