How do you determine the slope of the line passing through (-1,0), (1,2)?

1 Answer
Jun 25, 2015

The slope of a line between two points is the change in #y# values (positive OR negative change) divided by the change in the #x# values (which may also be positive or negative>

Explanation:

To find the changes in the values, we must pick one ordered pair as the first, and the other is the second. In the end it does not matter which way we do it, as long as we decide which pair is first and which is second,

With the ordered pairs (the points) labelled: #(x_1, y_1)# and #(x_2, y_2)#, the slope of the line through the points is

#m = (y_2 - y_1)/(x_2 - x_1)#

(Note that, if #x_1 = x_2#, then the definition does not work, because division by #0# is not defined.)

The change in a value is the ending value minus the starting value.

One way
With #(x_1, y_1) = (-1,0)# and #(x_2, y_2) = (1,2)# , we get:

#m = (y_2 - y_1)/(x_2 - x_1) = (2-0)/(1-(-1)) = 2/2 =1#

Another way
If we choose our first and second points the other way around, it looks like this:

#(x_1, y_1) = (1,2)# and #(x_2, y_2) = (-1,0)# , we get:

#m = (y_2 - y_1)/(x_2 - x_1) = (0-2)/((-1)-1) = (-)2/(-2) =1#

Because both signs of the numerator and the denominator changed, the sign of the fraction did not.