What is the distance between points( 6 , 9 ) and( 6 , − 9 ) on a coordinate plane?

1 Answer
Jun 21, 2018

#18#

Explanation:

Given two points #P_1 =(x_1,y_1)# and #P_2 = (x_2,y_2)#, you have four possibilities:

  • #P_1=P_2#. In this case, the distance is obviously #0#.

  • #x_1=x_2#, but #y_1 \ne y_2#. In this case, the two points are vertically aligned, and their distance is the difference between the #y# coordinates: #d = |y_1-y_2|#.

  • #y_1=y_2#, but #x_1 \ne x_2#. In this case, the two points are horizontally aligned, and their distance is the difference between the #x# coordinates: #d = |x_1-x_2|#.

  • #x_1 \ne x_2# and #y_1 \ne y_2#. In this case, the segment connecting #P_1# and #P_2# is the hypotenuse of a right triangle whose legs are the difference between the #x# and #y# coordinates, so by Pythagoras we have

#d = sqrt((x_1-x_2)^2+(y_1-y_2)^2)#

Note that this last formula covers all the previous cases as well, although it is not the most immediate.

So, in your case, we can use the second bullet point to compute

#d = |9-(-9)| = |9+9| = 18#