Distance Between Two Points on a Graph Study Guide
Introduction to Distance Between Two Points on a Graph
Whenever you can, count.
—Sir Francis Galton (1822–1911) English Geneticist and Statistician
In this lesson, you'll learn how to find the distance between two points on a graph by counting, using the Pythagorean theorem, and using the distance formula.
A line on the coordinate plane continues forever in both directions, but we can find the distance between two points on the line. When the points are on a horizontal line, such as y = 3, we can simply count the units from one point to the other.
What is the distance from point (–5,3) to point (7,3)? We can count the unit boxes between the two points. There are 12 units from (–5,3) to (7,3), which means that the distance between the points is 12 units.
If the y values of two points are the same, the distance between the two points is equal to the difference between their x values. If the x values of two points are the same, the distance between the two points is equal to the difference between their y values.
The distance between (5,4) and (5,–10) is 14 units, because the x values of the points are the same, and 4 – (–10) = 14 units.
Often though, we need to find the distance between two points that are not on a horizontal or vertical line. For instance, how can we find the distance between two points on the line y = x?
The Pythagorean theorem describes the relationship between the sides of a right triangle. It states that the sum of the squares of the bases of the triangle is equal to the square of the hypotenuse of the triangle: a2 + b2 = c2. What is a triangle formula doing in a lesson about the distance between two points on a line? Drawing a triangle on a graph can help us find the distance between two points.
The following graph shows the line y = + 2, which contains the points (3,6) and (6,10).
We can't find the distance between these points just by counting. However, we can draw a vertical line down from (6,10) and a horizontal line from (3,6). These points meet at (6,6) and form a right triangle.
The bases of the triangle are the line segment from (3,6) to (6,6) and the line segment from (6,6) to (6,10). Because a horizontal line connects (3,6) to (6,6), we can find its length just by counting. The length of this line is 3 units. In the same way, the distance from (6,6) to (6,10) is 4 units. Now that we know the length of each base of the triangle, we can use the Pythagorean theorem to find the length of the hypotenuse of the triangle. In the formula a2 + b2 = c2, a and b are the bases. Substitute 3 for a and 4 for b:
32 + 42 = c2
9 + 16 = c2
25 = c2
To find the value of c, take the square root of both sides of the equation. A distance can never be negative, so we only need the positive square root of 25, which is 5. The distance between (3,6) and (6,10) is 5 units.
You might be thinking, "I don't want to draw a triangle every time I need to find the distance between two points." Well, let's look at exactly how we found the distance between (3,6) and (6,10). First, we added a point to the graph to form a triangle. The point represented the difference in the x values between the points (3 units, from 3 to 6) and the difference in the y values between the points (4 units, from 6 to 10). Then, we squared those differences, added them, and took the square root. To make finding distance easier, we can write these steps as a formula: the distance formula.
The distance formula states that D = √(x2 – x1)2 + (y2 – y1)2. That doesn't look much easier, so let's break the formula down into pieces. We want to find the distance from point 1, (3,6) and point 2, (6,10). To find the difference between the x values of the points, we subtract the first x value, which we can write as x1, from the second x value, which we can write as x2. To find the difference between the y values of the points, we subtract the first y value, y1, from the second y value, y2.
Difference between the x values: (x2 – x1) = (6 – 3) = 3
Difference between the y values: (y2 – y1) = (10 – 6) = 4
Now that we have the differences between each value, we square them and add them. This is the part of the formula that comes from the Pythagorean theorem. The square of 3 is 9 and the square of 4 is 16, and 9 + 16 = 25.
Finally, this sum is equal to the square of the distance between the two points, so to find the distance, we must take the square root of the sum: √25 = 5. Now, not only do you know how to use the distance formula, you know where it comes from!
Today on Education.com
- Kindergarten Sight Words List
- Signs Your Child Might Have Asperger's Syndrome
- 10 Fun Activities for Children with Autism
- Social Cognitive Theory
- Problems With Standardized Testing
- First Grade Sight Words List
- Child Development Theories
- April Fools! The 10 Best Pranks to Play on Your Kids
- Theories of Learning
- Nature and Nurture