Historical Context & Motivation
Have you ever needed to figure out the straight-line distance between two spots on a map? Maybe you wanted to know how far apart two cities are, or how long a shortcut across a field would be. People have been solving this exact problem for thousands of years!
The Pythagorean Theorem is one of the oldest and most useful ideas in all of math. It connects the sides of a right triangle in a simple formula. Ancient builders, surveyors, and navigators all relied on this idea. Today, you will learn how to use it on a coordinate plane (a grid with x- and y-axes) to find the distance between any two points.
So here is the big question this lesson answers: How do you find the exact straight-line distance between two points on a grid? The answer uses a right triangle hidden inside the coordinate plane!
Core Principles & Definitions
Before we jump into finding distances, let's make sure we understand a few key ideas. These building blocks will make everything else much easier.
Right Triangle
Legs & Hypotenuse
Pythagorean Theorem
Coordinate Plane
Distance
Seeing It on the Coordinate Plane
Let's see how a right triangle appears when you connect two points on a coordinate plane. In the diagram below, we have two points: A(1, 2) and B(5, 5). Watch how a right triangle forms between them.
See how the dashed lines create a right triangle? The horizontal dashed line goes from A straight to the right. The vertical dashed line drops down from B. These two lines are the legs of the right triangle. The straight line from A to B is the hypotenuse — and that's the distance we want to find!
The Distance Formula
Now let's put the math together. You already know the Pythagorean Theorem: a² + b² = c². On a coordinate plane, we can figure out the lengths of the two legs by looking at how far apart the x-values are and how far apart the y-values are.
When you have two points on a coordinate plane, the horizontal leg is the difference in the x-values. The vertical leg is the difference in the y-values. Let's say your two points are (x₁, y₁) and (x₂, y₂). Here is how we find each leg:
Now plug those into the Pythagorean Theorem and solve for c (the distance). Since distance must be positive, we take the square root of both sides.
Step-by-Step Process
Let's break down the process into clear steps you can follow every time. The diagram below shows the full picture for two new points.
- Step 1 — Plot your two points. Write down their coordinates: (x₁, y₁) and (x₂, y₂).
- Step 2 — Find the horizontal leg. Subtract the x-values: a = x₂ − x₁.
- Step 3 — Find the vertical leg. Subtract the y-values: b = y₂ − y₁.
- Step 4 — Square both legs and add. Compute a² + b².
- Step 5 — Take the square root. The result is your distance: d = √(a² + b²).
Worked Example
Let's walk through a full example together. We'll find the distance between the points (−3, 4) and (5, −2). Don't worry about the negative numbers — the squaring step takes care of them!
Common Mistakes & Helpful Tips
Even though the distance formula is straightforward, there are a few common mistakes students make. Let's look at what to watch out for and what helps.
| Common Mistake | Why It Happens | How to Fix It |
|---|---|---|
| Forgetting to square the differences | Students plug into the formula but skip the ² step | Always write out each squaring step separately before adding |
| Subtracting x from y (mixing coordinates) | Confusing which numbers are x-values and which are y-values | Label your values clearly: x₁, y₁, x₂, y₂ before you start |
| Errors with negative numbers | Subtracting a negative is tricky (e.g., 5 − (−3)) | Remember: subtracting a negative is the same as adding. Write it out! |
| Taking the square root too early | Students square root each difference instead of the sum | Square both, add them together, then take the square root of the total |
Connection to Advanced Topics
The distance formula you just learned is actually a gateway to many bigger ideas in math. As you move into higher-level courses, you'll see this same concept show up again and again — just in fancier forms.
| What You Know Now | What You'll Learn Later |
|---|---|
| Distance between 2 points on a flat grid (2D) | Distance in 3D space (adding a z-axis for depth) |
| Using the formula to find one distance | Using it to write equations of circles (every point on a circle is the same distance from the center) |
| Right triangles on a coordinate plane | Trigonometry — studying the angles and ratios inside right triangles |
| Finding exact distances between fixed points | Navigation, GPS, and mapping technologies all rely on distance calculations |
Every time you use a maps app on a phone to see how far away something is, the app is doing a version of the same calculation you just learned. The Pythagorean Theorem truly is everywhere!
Practice Problems
Now it's your turn! Try these five problems. They start easy and get harder. Give each one a shot before checking the answer.
Lesson Summary
The Pythagorean Theorem (a² + b² = c²) tells us how the three sides of a right triangle relate to each other. When two points are plotted on a coordinate plane, you can form a right triangle by drawing horizontal and vertical lines between them. The horizontal leg comes from subtracting the x-values, and the vertical leg comes from subtracting the y-values.
To find the distance between the points, use the distance formula: d = √((x₂ − x₁)² + (y₂ − y₁)²). Square both leg lengths, add them together, and take the square root. This formula works for any two points — even when coordinates are negative. It is simply the Pythagorean Theorem applied to a coordinate grid!