If the line slants upward (going towards the right), then the slope is positive.
Chat with our AI personalities
The slope of a vertical line is undefined. It either slants straight up or straight down-- you can not say which. The formula for slope does not work in this case because the denominator is zero.
A line with slope of zero is horizontal. A line with no slope is vertical because slope is undefined on a vertical line.
The lines below are perpendicular. If the slope of the green line is -1, what is the slope of the red line?
If a line has a slope m then a line perpendicular to it has a slope -1/m ( negative inverse). For example if a line has slope positive 2, its perpendicular has slope -1/2
the formula for slope is y=mx+b, a horizontal line has the slope of zero and the slope of a vertical line can be answered as undefined