How to find the distance between two points: formula, proof, example, and its solution.
The distance between two points (x1, y1) and (x2, y2) is
√(x2 - x1)2 + (y2 - y1)2.
(purple) = x2 - x1, (blue) = y2 - y1
Then, by the Pythagorean theorem,
d2 = (x2 - x1)2 + (y2 - y1)2.
So d = √(x2 - x1)2 + (y2 - y1)2.
Put (-3, 1) and (5, 4) into the formula.