The slope for a line between two points is (difference of y-coordinates) divided by (difference of x-coordinates). That is, (y2-y1)/(x2-x1). It doesn't matter in what order you take the points.
Chat with our AI personalities
Coordinates: (-4, 1) and (6, 3)Slope of line: 1/5
Slope = (1 - 4)/(3 - 1) = -3/2 = -1.5
Points: (-1, 2) and (3, 3) Slope: 1/4
The slope of a line passing through two points with given x y coordinates can be found by dividing the (signed) difference between the two y coordinates by the (signed) difference between the two x coordinates, being careful to take the coordinates in the same order for each subtraction. In this instance, the slope is (-4 - 4)/(-1 - 3) = -8/-4 = 2.
To calculate the slope of a line that goes between two points, you need to divide the difference in y-coordinates, by the difference in x-coordinates. In this case, hte calculation would be: (2 - (-4)) / (3 - 0)