Andrew M. answered 09/19/17
Tutor
New to Wyzant
Mathematics - Algebra a Specialty / F.I.T. Grad - B.S. w/Honors
Hi Leslie:
When it comes to horizontal and vertical lines the slopes are
special cases as discussed below.
x = -6 undefined slope for a vertical line since
m = (change in y)/(change in x). x is
always -6 so this is (change in y)/0 &
dividing by zero is undefined.
y = -6 Slope = 0 for horizontal line.
Since y never changes m = 0/(change in x)
y = -6x Slope = -6
This is same as y = -6x + 0
This is in slope intercept form y = mx + b
so it has slope m=-6 and y-intercept at (0,0)