SOLUTION: (7,7) and (9,2) I need help finding Leg 1, Leg 2 and the Distance.

Algebra ->  Graphs -> SOLUTION: (7,7) and (9,2) I need help finding Leg 1, Leg 2 and the Distance.      Log On


   



Question 1168973: (7,7) and (9,2)

I need help finding Leg 1, Leg 2 and the Distance.

Answer by math_tutor2020(3817) About Me  (Show Source):
You can put this solution on YOUR website!

Plot the two points on the same xy grid system. Connect them with a line segment. This line segment will be the hypotenuse of the right triangle we'll set up.

To get this right triangle, we'll need a third point (where the 90 degree angle is located). There are two possibilities: We could plot a point at (7,2) or at (9,7)

In this diagram

We have A,B as the two given points (7,7) and (9,2) respectively. The other two points C and D are candidates for the third point to pick.

If you go with point C, then focus on triangle ABC. This is a right triangle with the 90 degree angle at point C.

The distance from A to C is 5 units because point A has y coordinate 7 and point C has y coordinate 2 (which is also the y coordinate of B), so 7-2 = 5 is the length of AC.

Similarly, 9-7 = 2 is the distance from C to B. We subtract the x coordinates to get the horizontal distance.

At this point we know the legs of triangle ABC are 5 and 2. The hypotenuse is unknown but we can use the pythagorean theorem to solve for it.

a%5E2%2Bb%5E2+=+c%5E2

5%5E2%2B2%5E2+=+c%5E2

25%2B4+=+c%5E2

29+=+c%5E2

c+=+sqrt%2829%29

The distance from point A to B is exactly sqrt%2829%29 units and approximately sqrt%2829%29+=+5.3851648071345 units.


----------------------------------------------------------------

Another approach is to use the distance formula. This skips the need for a diagram and plotting that third point.

is the first point
is the second point

Plug those coordinate values into the distance formula below. Simplify.
d+=+sqrt%28%28x%5B1%5D-x%5B2%5D%29%5E2%2B%28y%5B1%5D-y%5B2%5D%29%5E2%29

d+=+sqrt%28%287-9%29%5E2%2B%287-2%29%5E2%29

d+=+sqrt%28%28-2%29%5E2%2B%285%29%5E2%29

d+=+sqrt%284%2B25%29

d+=+sqrt%2829%29 Exact Distance

d+=+5.3851648071345 Approximate Distance

We get the same answer. note the expressions x%5B1%5D-x%5B2%5D and y%5B1%5D-y%5B2%5D compute the length of the legs of the right triangle as done in the previous section (since we subtracted coordinates to get the horizontal and vertical distances). So basically the distance formula is the pythagorean theorem, but a slightly different version. We've gone from a%5E2%2Bb%5E2+=+c%5E2 to c+=+sqrt%28a%5E2%2Bb%5E2%29 where c > 0 is the distance we're after, a+=+x%5B1%5D-x%5B2%5D, and b+=+y%5B1%5D-y%5B2%5D.