Historical Context & Motivation
Long before GPS or digital maps, people needed a way to describe exactly where something was located. Ancient civilizations used landmarks and rough measurements. But as cities grew and trade routes expanded, people needed a more exact system.
The idea of pinpointing a location with numbers came from a French mathematician named René Descartes. Legend says he was lying in bed watching a fly crawl across the ceiling. He realized he could describe the fly's exact position using two numbers — one for how far left or right, and one for how far up or down.
On the SHSAT, you will see questions that ask: How far apart are two points? When those two points line up horizontally or vertically, there is a simple shortcut. That shortcut is what this lesson is all about.
Core Principles & Definitions
Before we jump into finding distances, let's review a few key ideas. These are the building blocks you need.
The Coordinate Plane
Ordered Pairs
Horizontal Distance
Vertical Distance
Absolute Value
Visual Explanation
Let's see what horizontal and vertical distances look like on an actual coordinate plane. Study the diagram below carefully.
Notice something important in the diagram. Points A and B are on the same horizontal line because they both have a y-coordinate of 2. The only thing that changes is the x-coordinate. Points C and D are on the same vertical line because they both have an x-coordinate of 3. The only thing that changes is the y-coordinate.
In both cases, the distance is 6 units. We find this by looking at the difference between the coordinates that change.
The Math Behind It
There are two simple formulas you need. One is for horizontal distance and the other is for vertical distance. Both use absolute value (written with | | bars) to make sure the answer is always a positive number. Distance can never be negative!
Different Cases You'll See
On the SHSAT, horizontal and vertical distance problems can appear in different forms. Sometimes both points are in the same quadrant. Sometimes they are on opposite sides of an axis. Let's look at the main cases.
Case 2 is where students make the most mistakes. When one coordinate is negative and the other is positive, subtracting a negative is the same as adding. For example, 4 − (−3) = 4 + 3 = 7. Always watch for this on the SHSAT!
Worked Example
Let's walk through a full example step by step, just like you would on the SHSAT.
Tips & Common Pitfalls
Knowing the formula is great, but avoiding mistakes is just as important. Here are the most common errors students make on the SHSAT and how to beat them.
| Common Mistake | Why It Happens | How to Fix It |
|---|---|---|
| Getting a negative distance | Forgetting to use absolute value after subtracting | Always wrap the subtraction in | | bars. If your answer is negative, flip the sign. |
| Subtracting a negative incorrectly | Writing 5 − (−3) = 2 instead of 8 | Remember: subtracting a negative = adding. Write it out: 5 − (−3) = 5 + 3 = 8. |
| Using the wrong coordinates | Mixing up x and y, or comparing x of one point to y of another | First check which coordinate is the same. Same y? Use x-values. Same x? Use y-values. |
| Trying to use this on diagonal distances | The two points don't share an x or y coordinate at all | This method only works for horizontal or vertical lines. Diagonal needs a different formula (distance formula). |
Connection to the Full Distance Formula
In this lesson, we've focused on points that share an x- or y-coordinate. But what about points that don't line up horizontally or vertically? For that, you would use the distance formula, which works for any two points.
| Feature | Horizontal/Vertical Distance (This Lesson) | Full Distance Formula (Future Topic) |
|---|---|---|
| When to use | Points share the same x or same y | Any two points, even diagonal |
| Formula | |x₂ − x₁| or |y₂ − y₁| | √((x₂ − x₁)² + (y₂ − y₁)²) |
| Difficulty | Simple subtraction + absolute value | Requires squaring, adding, and square roots |
| SHSAT frequency | Very common — appears often | Less common, but still tested |
Here's the cool thing: the horizontal and vertical distance formulas are actually building blocks for the full distance formula. The full formula uses the Pythagorean theorem, which combines a horizontal leg and a vertical leg to find a diagonal distance. So by mastering this lesson, you are already halfway to understanding the full formula!
Practice Problems
Try these five problems on your own before checking the answers. They go from easy to challenging.
Lesson Summary
When two points share the same y-coordinate, they sit on a horizontal line, and the distance between them is |x₂ − x₁|. When two points share the same x-coordinate, they sit on a vertical line, and the distance between them is |y₂ − y₁|. Absolute value ensures the distance is always positive.
Watch out for subtracting negative numbers — remember that subtracting a negative is the same as adding. When points are on opposite sides of an axis, the distance will be larger than either coordinate alone. These horizontal and vertical distances are the building blocks for the full distance formula you'll learn later.