# Distance between two points

Given the points THE(xTHE, yTHE) and B(xB, yB) and being dAB the distance between them we have:

Applying the Pythagorean theorem to the right triangle ABC, comes:

As an example, let's determine the distance between the points THE(1, -1) and B(4, -5):

Next: Section Reason