Find the value(s) of x, if the distance between the points A(0,0) and B(x,–4) is 5 units.
Given:
The distance between the two points A(0,0) and B(x,–4) is 5 units.
We know that, The distance between the two points A(x1,y1) and B(x2,y2)
=√(x2−x1)2+(y2−y1)2
⇒√(x−0)2+(−4−0)2=5
⇒√x2+16=5
⇒x2+16=52=25
⇒x2=25−16
⇒x2=9
⇒x=±3
Hence, the value(s) of x are 3 and –3.