# What is the distance between (-1,7) and (2,12)?

Apr 22, 2016

$d = \sqrt{34} \approx 5.83$

#### Explanation:

The distance formula is this: $d = \sqrt{{\left({y}_{2} - {y}_{1}\right)}^{2} + {\left({x}_{2} - {x}_{1}\right)}^{2}}$, where $\left({x}_{1} , {y}_{1}\right)$ are the coordinates of the first point, $\left({x}_{2} , {y}_{2}\right)$ are the coordinate of the second point, and $d$ is the distance between the two points.

Let's say $\left(- 1 , 7\right)$ is the first point, and (2,12) is the second point Note that it doesn't matter which one we call the first or second point

$d = \sqrt{{\left(12 - 7\right)}^{2} + {\left(2 - \left(- 1\right)\right)}^{2}}$
$d = \sqrt{{5}^{2} + {3}^{2}}$
$d = \sqrt{25 + 9}$
$d = \sqrt{34} \approx 5.83$