Two coordinates are needed to determine the slope of a straight line equation.
Chat with our AI personalities
Points: (1, 3) and (3, -2) Slope: -5/2 or -2.5
Points: (-3, 5) and (6, -1) Slope: (5--1)/(-3-6) = -2/3
To find the slope of a perpendicular line, take the negative reciprocal of the slope of the given line. (Flip the top and bottom of the fraction and change the sign.) The slope of 3 can be written as 3/1. The slope of a line that is perpendicular is -1/3.
slope=(2-1)/(3-5)=-1/2
between points (x0, y0) and (x1, y1): slope = change_in_y/change_in_x → slope = (y1 - y0)/(x1 - x0) → slope = (3 - 0)/(1 - 2) = 3/(-1) = -3