In this video, we are going to look at the distance formula. The distance formula is used to find the distance between two points, so in this case, the distance from *A* to *B*. The video lesson above will cover a midpoint formula example and show how the midpoint formula is related to Pythagorean Theorem.

## What is the Distance Formula?

**Distance Formula:**

**For example:**

If point *A* was (1,2) and point *B* was (4,6), then we have to find the distance between the two points.

If you don’t want to memorize the formula, then there is another way to find the distance between the two points. Draw a line from the lower point parallel to the x-axis, and a line from the higher point parallel to the y-axis, then a right triangle will be formed. Then, we can use the Pythagorean theorem to solve for the distance.

The distance of one leg is the difference in the x’s. 4-1=3 so that side of the triangle is 3. The distance of the other leg is the difference in the y’s. 6-2=4 so that side of the triangle is 4. Now we can use the Pythagorean theorem. The distance formula is actually based off of that:

If we solved using the Pythagorean theorem, then:

## Video-Lesson Transcript

In this lesson, let’s discuss the distance formula.

The distance formula is used to find the distance between two points.

In this case, distance from point to point .

We have coordinates for point .

And point has coordinates .

Distance formula is

You can memorize this formula and find the distance between any two points.

Let’s have an example.

Point has coordinates . Point has coordinates . Let’s find the distance between these two points.

Distance formula is

Now, we have

This means that the distance between point and point is .

If you don’t want to memorize the formula, there’s another way to find the distance between the two points.

It’s very similar to the formula.

Let’s draw a triangle using the line from to point .

Make sure to make to form a triangle with a angle.

Then, we can use the Pythagorean theorem.

The distance of the horizontal leg is the difference of the two -coordinates. Let’s call it .

Then, the distance of the vertical leg is the difference of the two -coordinates. Let’s call this leg .

Now, take a look at the Pythagorean theorem.

The distance formula is actually based on this.

So, let’s solve this using Pythagorean theorem

Then, let’s get the squareroot of to get the answer.

So, we got the same answer as the first one.

So now, you could memorize the distance formula or you could draw a triangle and use the Pythagorean theorem.