Distance formula
We can clearly see two points A and B, we can freely move these two points. We will observe how the distance between these two points changes as we move these two points. Distance AB is written with the line segment AB. We have drawn perpendiculars to x axis and y axis by the points A and B.