00:01
Okay, so given to any two points, x1, y one, and x2, y2, the distance between two points is given by the following formula.
00:12
So d equals the square root of first, we're going to take the x values and we're going to subtract them.
00:22
Doesn't matter in what order, but i'm going to do x1 minus x2.
00:28
Then i'm going to square them.
00:30
Plus now i have to follow the same order.
00:35
So i went from this ordered pair to this ordered pair, so left to right.
00:40
So i'm going to follow the same order.
00:43
Y1 minus y2 and all of that squared.
00:50
So this is the distance formula.
00:53
So if i was given two points to 1 and negative 5 negative 1, and i want to find the distance between them, well, i can do so using the formula above.
01:13
I could say that 2 -1 is just x1, y -1, x1, and then negative 5 -1 -1 is just x2, y2.
01:31
And then i can just plug these into the formula.
01:35
So the distance is just the square root of x2...