If the distance between points (p, –5) and (2, 7) is 13 units, then p is _____________
–3 or 7
Distance between points (x1,y1) and (x2,y2)
= √(x2−x1)2−(y2−y1)2
⇒ Distance between points (p, –5) and (2, 7) = 13 units
⇒√(2−p)2+(7+5)2=13 units
⇒(2−p)2+(7+5)2=132
⇒(2−p)2=132−122
⇒(2−p)2=52
⇒2−p=±5
⇒p=7 or −3