y2 - y1 / x2 - x1
Chat with our AI personalities
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
formula
if line's A and B are perpendicular to each other, the slope of A = -1/(the slope of B)
If the slope of a line is m then the slope of an altitude to that line is -1/m.
If point a has coordinates (x1,y1), and point b has coordinates (x2, y2), then the slope of the line is given by the formula: m = (y2-y1)/(x2-x1).