SOLUTION: How do I find the distance between the following pairs of points (-2,-5) and (-2,3). Also, how do i find the slope of the line segments joining them. Help is appreciated, tha

Algebra ->  Linear-equations -> SOLUTION: How do I find the distance between the following pairs of points (-2,-5) and (-2,3). Also, how do i find the slope of the line segments joining them. Help is appreciated, tha      Log On


   



Question 678688: How do I find the distance between the following pairs of points (-2,-5) and (-2,3).
Also, how do i find the slope of the line segments joining them.
Help is appreciated, thank you very much.

Answer by josmiceli(19441) About Me  (Show Source):
You can put this solution on YOUR website!
The distance formula is:
+d+=+sqrt%28+%28+x%5B2%5D+-+x%5B1%5D+%29%5E2+%2B+%28+y%5B2%5D+-+y%5B1%5D+%29%5E2+%29+
given:
P1 ( -2,-5 )
P2 ( -2, 3 )
+d+=+sqrt%28+%28+-2+-%28-2%29+%29%5E2+%2B+%28+3+-%28-5%29+%29%5E2+%29+
+d+=+sqrt%28++%28-2+%2B+2++%29%5E2+%2B+%28+3+%2B+5+%29%5E2+%29+
+d+=+sqrt%28++0%5E2+%2B+8%5E2+%29+
+d+=+sqrt%28+8%5E2+%29+
+d+=+8+
------------
The slope is ( change in y ) / ( change in x )
slope = +%28+3+-+%28-5%29+%29+%2F+%28+-2+-+%28+-2+%29+%29+
slope = +%28+3+%2B+5+%29+%2F+%28+-2+%2B+2+%29+
slope = +8+%2F+0+
When +0+ is in the denominator of a slope, that
means the slope is infinite, and that means it is a vertical line
through ( -2, y ) where y can be anything