1 2
1 2
1 2
y y2
Rise y2 y1 y1
Run x2 x1
Sample Problems:
Find the slope of the line thru the points given:
(-3,-1) and (-2,4)
4 1 5 5 m 2 3 1
2 4 6 2 3 5
Zero Slope
y
m>0
y
m=0
x
Line rises from left to right.
Negative Slope
x
Line is horizontal.
Undefined Slope
y
m<0
y
m is undefined
x
Line falls from left to right. Line is vertical.
Example:
Write the point-slope form of the equation of the line passing through (-1,3) with a slope of 4. Then solve the equation for y. Solution We use the point-slope equation of a line with m = 4, x1= -1, and y1 = 3. y y1 = m(x x1) This is the point-slope form of the equation.
y 3 = 4[x (-1)]
y 3 = 4(x + 1)
Substitute the given values. Simply. We now have the point-slope form of the equation for the given line.
We can solve the equation for y by applying the distributive property. y 3 = 4x + 4 Add 3 to both sides. y = 4x + 7
Slope-Intercept Form of the Equation of a The slope-intercept equation of a non-vertical line with slope m and yLine
intercept b is y = mx + b.
Equation of a Vertical Line A vertical line is given by an equation of the form x=a where a is the x-intercept. Note: m is undefined.
Equations of Lines
Point-slope form: y y1 = m(x x1) Slope-intercept form: y = m x + b Horizontal line: y=b Vertical line: x=a General form: Ax + By + C = 0 Standard form: Ax + By = C
The coefficient of x, 2/3, is the slope and the constant term, 2, is the y-intercept.
more
Example:
Graph the line whose equation is y = 2 x + 2. 3 Solution We need two points in order to graph the line. We can use the y-intercept, 2, to obtain the first point (0, 2). Plot this point on the y-axis.
m 2 Rise . 3 Run
5 4 3 2 1 -5 -4 -3 -2 -1 -1 -2 -3 -4 -5 1 2 3 4 5
We plot the second point on the line by starting at (0, 2), the first point. Then move 2 units up (the rise) and 3 units to the right (the run). This gives us a second point at (3, 4).
Sample Problems
Give the slope and y-intercept of the given line then graph.
y 3x 2 2 y - x 6 5
To find the intercepts, recall that the x-intercept has the form (x,0) and the yintercept has the form (0,y).
2x 3(0) = -6 2x = -6 x = -3 2(0) 3y = -6 -3y = -6 y=2 Let y = 0 and solve for x. So the x-intercept is (-3,0). Likewise, let x = 0 and solve for y. So the y-intercept is (0,2).
Problems
For the given equations, 1. Rewrite the equation in slope-intercept form and in standard form. 2. Graph the lines using both methods using slope and yintercept and using the x- & y-intercepts.
4x + y 6 = 0 4x + 6y + 12 = 0 6x 5y 20 = 0 4y + 28 = 0
y 2 y1 m x 2 x1
(-3, 2)
4 3 2 1
y = 2x + 1
Run = 1 Rise = 2
1 2 3 4 5
y y1 = m(x x1)
-5 -4 -3 -2
-1 -1 -2
y1 = 2
x1 = -3
-3
-4 -5
more
Example continued:
Since parallel lines have the same slope and the slope of the given line is 2, m = 2 for the new equation. So we know that m = 2 and the point (-3, 2) lies on the line that will be parallel. Plug all that into the point-slope equation for a line to give us the line parallel we are looking for.
5
y y1 = m(x x1)
y1 = 2 m =2 x1 = -3
(-3, 2)
4 3 2
y = 2x + 1
Run = 1
Rise = 2
1 2 3 4 5
1
-5 -4 -3 -2 -1 -1 -2 -3 -4 -5
more
Example continued:
Solution The point-slope form of the lines equation is
y 2 = 2[x (-3)] y 2 = 2(x + 3) Solving for y, we obtain the slope-intercept form of the equation. y 2 = 2x + 6 y = 2x + 8
Apply the distributive property.
Slope and Perpendicular Lines If two non-vertical lines are perpendicular, then the product of their slopes is 1. If the product of the slopes of two lines is 1, then the lines are perpendicular. A horizontal line having zero slope is perpendicular to a vertical line having undefined slope.
y = -1/4x + 2
Slope is 1/4.
The given line has slope 1/4. Any line perpendicular to this line has a slope that is the negative reciprocal, 4.
Problems
1.
Find the slope of the line that is a) parallel b) perpendicular to the given lines. y = 3x 8x + y = 11 3x 4y + 7 = 0 y=9
2. Write the equation for each line in slope-intercept form. Passes thru (-2,-7) and parallel to y = -5x+4 Passes thru (-4, 2) and perpendicular to y = x/3 + 7