<img src="https://d5nxst8fruw4z.cloudfront.net/atrk.gif?account=iA1Pi1a8Dy00ym" style="display:none" height="1" width="1" alt="" />
Dismiss
Skip Navigation

Distance Formula and the Pythagorean Theorem

Determine distance between ordered pairs

Atoms Practice
Estimated20 minsto complete
%
Progress
Practice Distance Formula and the Pythagorean Theorem
Practice
Progress
Estimated20 minsto complete
%
Practice Now
Identify and Use the Distance Formula

Let’s Think About It

Credit: Ed Dunens
Source: https://www.flickr.com/photos/blachswan/14162812422/in/photolist-nzw7H5-eciPkJ-p9btz-3nr89T-8iQUf-8m72dj-8m71xj-4C3RGM-55UGY8-7XwYEp-8m4q2n-s5pEJb-f86rhn-9C3pfu-8q72Ak-6KRPiV-5az9b9-ffxCDx-8rzPwJ-qSv4z-az9efc-5WvFXo-8m3Vrc-q2iFfR-5mzmBJ-eJzn2i-arBc1r-tP4r-73Q8Au-5s2rEu-jQLQp-5h9Wsv-9Eo2YE-qhZjdr-bdPm3a-az9e1t-gL5iGq-5uBma-8Pvmf2-66pe3s-5sYEdC-dsP9Nk-61kecB-bZ9Pc5-aD4ib1-8ySwdA-bYvX97-6CqB7X-4wAyDD-9RvZSg
License: CC BY-NC 3.0

As Ross was cruising on his boat toward the cottage, he was concentrating on finding a new mooring for his boat. He had previously sunk two buoy markers in the water near the cottage and both locations had ample water below for the boat. Ross looked at his chart plot which showed the coordinates for the cottage and the two buoys. He decided to choose the buoy closest to the cottage.

How can Ross use the coordinates from the chart plot to figure out which buoy is closest to the cottage?

License: CC BY-NC 3.0

In this concept, you will learn to identify and use the distance formula.

Guidance

When plotting points or graphing lines on a Cartesian grid, the coordinates of the points, or of the endpoints, of the graphed line are very useful when solving real-world problems.

The following graph shows an orange line that represents the distance between the pet store (1, 6) and the drug store (8, 2). The green dot on the grid represents Timothy who is sitting on a bench in the Mall. To his right he can see the drug store and straight ahead he can see the pet store. He decides the pet store is closer so he goes there first. He exits the pet store and tries to decide whether to go back to the bench and then to the drug store or to walk diagonally to the drug store. Which way would be the shorter of the two distances if each side of the squares represents one yard?

On the grid, draw a horizontal line from Timothy on the bench to the drug store. The length of this line can be found by counting the tops of the squares that the line passes through. The length of the line is 7 yards. Now, draw a vertical line from Timothy on the bench to the pet store. The length of this line can be found by counting the sides of the squares that the line passes through. The length of this line is 4 yards. The three lines form a right triangle and the Pythagorean Theorem can be used to find the diagonal distance between the pet store and the drug store. This diagonal distance is in fact the hypotenuse of the right triangle.

License: CC BY-NC 3.0

First, write the Pythagorean Theorem.

c2=a2+b2

Next, determine the values of (a,b,c) for the Pythagorean Theorem.

abc===47?

Next, fill these values into the Pythagorean Theorem.

c2c2==a2+b2(4)2+(7)2

Next, perform the indicated squaring on the right side of the equation and simplify.

c2c2c2c2====(4)2+(7)2(4×4)+(7×7)16+4965

Then, solve for the variable ‘c’ by taking the square root of both sides of the equation.

c2c2c===65658.06

The answer is 8.06.

The diagonal distance between the pet store and the drug store is 8.06 yards.

It would be a shorter distance for Timothy to walk than to return the 4 yards to the bench and then walk another 7 yards to the drug store.

This method of finding the distance between two points requires that the diagram be drawn on grid paper which may be neither available nor convenient. Another way of finding the distance between two points with known coordinates is to use the distance formula. The distance formula is the square root of the square of the difference between the x-coordinates of the two points plus the square of the difference between the y-coordinates of the two points. The distance formula is written as:

d=(x2x1)2+(y2y1)2

such that (x1,y1) are (x2,y2) the coordinates of the point chosen as the first point and the point chosen as the second point respectively. Once the points have been designated, the corresponding values must remain consistent and be substituted into the formula as named.

Let’s apply this formula to find the distance between the pet store and the drug store. Remember the coordinates of the pet store were (1, 6) and those of the drug store were (8, 2).

First, choose the first and second points. The answer will be the same regardless of how the points are chosen. Naming the points as shown below will help match the correct value with its corresponding variable.

(x1,1,y16) and (x2,8,y22)

Next, write the distance formula and fill in the values for the variables.

dd==(x2x1)2+(y2y1)2(81)2+(26)2

Next, perform the operations shown under the square root sign.

ddddd=====(81)2+(26)2(7)2+(4)2(7×7)+(4×4)49+1665

Then, take the square root of 65 and round the answer to the nearest hundredth.

dd==658.06

The answer is 8.06

The distance is 8.06 yards.

Guided Practice

Use the distance formula to find the distance between these points to the nearest tenth

A(54,120) and B(113,215)

First, name the first and second points.

(x1,54,y1120) and (x2,113,y2215)

Next, write the distance formula and fill in the values for the variables.

dd==(x2x1)2+(y2y1)2(11354)2+(215120)2

Next, perform the operations shown under the square root sign.

ddddd=====(11354)2+(215120)2(59)2+(95)2(59×59)+(95×95)3481+902512506

Then, take the square root of 12506 and round the answer to the nearest tenth.

dd==12506111.8

The answer is 111.8 units.

Examples

Example 1

Use the distance formula to find the distance between the points D(3,4) and E(2,10).

First, name the first and second points.

(x1,3,y14) and (x2,2,y210)

Next, write the distance formula and fill in the values for the variables.

dd==(x2x1)2+(y2y1)2(23)2+(10(4))2

Next, perform the operations shown under the square root sign.

ddddd=====(23)2+(10(4))2(5)2+(6)2(5×5)+(6×6)25+3661

Then, take the square root of 61 and round the answer to the nearest tenth.

dd==617.8

The answer is 7.8.

The distance from D to E is 7.8 units.

Example 2

The following circle has its center at the point (5, 3) and a radius of 3 inches. Use the distance formula to determine if the point (8, 5) is inside the circle, on the circle or outside the circle.

License: CC BY-NC 3.0

You must use the distance formula to find the distance between the center of the circle (5, 3) and the point (8, 5).

First, name the first and second points.

(x1,5,y13) and (x2,8,y25)

Next, write the distance formula and fill in the values for the variables.

dd==(x2x1)2+(y2y1)2(85)2+(53)2

Next, perform the operations shown under the square root sign.

ddddd=====(85)2+(53)2(3)2+(2)2(3×3)+(2×2)9+413

Then, take the square root of 13 and round the answer to the nearest tenth.

dd==133.6

The answer is 3.6.

The distance from the center of the circle to the point (8, 5) is 3.6 inches. The point will be outside the circle since this distance is greater than the length of the radius.

Follow Up

Credit: Ed Dunens
Source: https://www.flickr.com/photos/blachswan/12333715564/in/photolist-jMTvWm-8dqixv-7xAxfU-ryZezh-CXcHG-7jP2gT-81Cizn-p983D-6VrdGu-qqax6k-diiyje-8oey5M-69vPtV-bQuWnv-snRrvT-a2qzmd-6ykKYf-czki6b-6nK1QX-dj2Qur-mZ2vAy-7pbJTe-2hrLDr-rQ7enQ-rQfmJZ-cVuxPd-8ohFTE-8mvDMd-8s7Le8-7xKWbw-2hrLze-d8eJES-6QDYmn-dwAuuU-8m77DG-8m76oh-aT5Jm-tUwT-7zAacF-8mvtcq-bX8TZG-nzw7H5-eWsT9C-atyES6-p9btz-tBHV7J-3nr89T-8iQUf-8m72dj-8m71xj
License: CC BY-NC 3.0

Remember Ross and the two buoys? He needs to figure out which buoy is closer to the cottage, so he can moor his boat. Ross needs to use the distance formula to figure out which buoy is closer to the cottage.

First, write the coordinates for each distance to be calculated and use the distance formula to calculate each distance to the nearest hundredth.

Cottage to Buoy One(160,120) and (40,100)Cottage to Buoy Two(160,120) and (220,40)

Distance from cottage to Buoy One:

First, name the first and second points.

(x1,160,y1120) and (x2,40,y2100)

Next, write the distance formula and fill in the values for the variables.

dd==(x2x1)2+(y2y1)2(40160)2+(100120)2

Next, perform the operations shown under the square root sign.

ddddd=====(40160)2+(100120)2(120)2+(20)2(120×120)+(20×20)14400+40014800

Then, take the square root of 14800 and round the answer to the nearest hundredth.

dd==14800121.66

The answer is 121.66.

The distance from the cottage to Buoy One is 121.66 meters.

Distance from cottage to Buoy Two:

First, name the first and second points.

(x1,160,y1120) and (x2,220,y240)

Next, write the distance formula and fill in the values for the variables.

dd==(x2x1)2+(y2y1)2(220160)2+(40120)2

Next, perform the operations shown under the square root sign.

ddddd=====(220160)2+(40120)2(60)2+(80)2(60×60)+(80×80)3600+640010000

Then, take the square root of 10000 and round the answer to the nearest hundredth.

dd==10000100

The answer is 100.

The distance from the cottage to Buoy Two is 100 meters. Ross will moor the boat at Buoy Two.

Video Review

https://www.youtube.com/watch?v=TiAEH1qPTQU

Explore More

Use the distance formula to find the distance between the following pairs of points. You may round to the nearest tenth when necessary.

1. What is the distance between (3, 6) and (-1, 3)?

2. What is the distance between (-2,-2) and (10, 3)?

3. What is the distance between (1,9) and (9,1)?

4. What is the distance between (-5,-5) and (-2,-1)?

5. What is the distance between (2, 12) and (3,7)?

6. What is the distance between (2, 2) and (8, 2)?

7. What is the distance between (-3, 4) and (2, 0)?

8. What is the distance between (3, 4) and (3, -4)?

9. What is the distance between (-4, -3) and (1, -1)?

10. What is the distance between (-6, 2) and (-3, 1)?

Answer each of the following questions using the map below of Bryan’s town.

11. The map below shows Bryan’s town. What is the distance between the pet store and town hall?

12. The map above shows Bryan’s town. What is the distance between the pet store and the courthouse?

13. The map above shows Bryan’s town. What is the distance between the courthouse and the library?

14. The map above shows Bryan’s town. What is the distance between the library and the town hall?

15. The map above shows Bryan’s town. What is the distance between the pet store and the library?

Vocabulary

Distance Formula

Distance Formula

The distance between two points (x_1, y_1) and (x_2, y_2) can be defined as d= \sqrt{(x_2-x_1)^2 + (y_2-y_1)^2}.
Pythagorean Theorem

Pythagorean Theorem

The Pythagorean Theorem is a mathematical relationship between the sides of a right triangle, given by a^2 + b^2 = c^2, where a and b are legs of the triangle and c is the hypotenuse of the triangle.

Explore More

Sign in to explore more, including practice questions and solutions for Distance Formula and the Pythagorean Theorem.

Reviews

Please wait...
Please wait...

Original text