Distance Between Two Points on a Line Parallel To The Coordinate Axis
Let's begin by examining the simpler cases where points lie on lines parallel to the coordinate axes, then extend our understanding to find distances between any two points in the plane.
Case 1: Points on a Horizontal Line
Consider two points A(
To find the distance between these points:
Draw perpendiculars AP and BQ to the x-axis
Observe that figure APQB forms a rectangle
Therefore, AB =
The distance PQ equals the absolute value of the difference between the x-coordinates:
Distance = |
Note: We use absolute value because distance is always positive, regardless of which point is further to the right.
Case 2: Points on a Vertical Line
Similarly, when two points A(
The distance between these points is: Distance = |
This represents the absolute value of the difference between the y-coordinates.
Example 1
Problem 1: What is the distance between A(4, 0) and B(8, 0)?
Solution: Since both points have y-coordinate equal to
Distance = |
Example 2
Problem: Find the distance between A(8, 3) and B(-4, 3).
Solution: Both points have y-coordinate equal to
Distance = |
Note: Here
General Case: Distance Between Any Two Points
When points do not lie on lines parallel to the coordinate axes, we use the Pythagorean theorem.
Developing the Distance Formula
Let's find the distance between A(4, 0) and B(0, 3):
(1) Set up the coordinate system: Place points A and B on the coordinate plane with origin O.
(2) Form a right triangle: The triangle △AOB is a right-angled triangle because:
OA =
OB =
Angle AOB =
(3) Apply the Pythagorean theorem:
AB =
The General Distance Formula
For any two points A(
d =
This formula works for all cases:
When points are on horizontal lines: (
When points are on vertical lines: (
When points are anywhere in the plane
Practice Problems
Find the distance between the following pairs of points: