Coordinate
Geometry
Master distance, midpoint, and spatial reasoning in 2D and 3D coordinate systems using foundational formulas.
What Is Coordinate Geometry?
Coordinate geometry (analytic geometry) connects algebra and geometry by placing shapes on a number grid. Every point has a unique address: an ordered pair \((x, y)\) in 2D or an ordered triple \((x, y, z)\) in 3D.
Core Vocabulary
Why Coordinate Geometry Matters
Coordinate geometry bridges pure geometry with algebra. Instead of relying on compass-and-ruler proofs, you use equations and formulas to measure, locate, and reason about figures precisely.
The Distance Formula in 2D
For two points \(A(x_1, y_1)\) and \(B(x_2, y_2)\), the distance between them is derived directly from the Pythagorean theorem:
Extending to 3D Distance
Adding a third coordinate \(z\) simply extends the Pythagorean theorem by one more squared term. For points \(A(x_1, y_1, z_1)\) and \(B(x_2, y_2, z_2)\):
The Midpoint Formula in 2D
The midpoint \(M\) of two points \(A(x_1, y_1)\) and \(B(x_2, y_2)\) is the average of their coordinates:
Midpoint in 3D
The same averaging principle extends naturally. For \(A(x_1, y_1, z_1)\) and \(B(x_2, y_2, z_2)\):
Distance vs Midpoint
| Distance | Midpoint | |
|---|---|---|
| Question answered | How far apart are two points? | Where is the point exactly between them? |
| Operation | Subtract, square, sum, root | Add, then divide by 2 |
| Output type | A single number (scalar) | A point (coordinate pair or triple) |
| 2D formula | \(\sqrt{(\Delta x)^2+(\Delta y)^2}\) | \(\left(\frac{x_1+x_2}{2},\frac{y_1+y_2}{2}\right)\) |
| Extends to 3D? | Add \((\Delta z)^2\) under root | Add \(\frac{z_1+z_2}{2}\) as third component |
Step-by-Step Approach
Example 1: 2D Distance
Find the distance between \(P(2, 3)\) and \(Q(8, 11)\).
Example 2: 2D Midpoint
Find the midpoint of \(A(-3, 4)\) and \(B(7, -2)\).
Example 3: 3D Distance
Find the distance between \(A(1, 2, 3)\) and \(B(4, 6, 3)\).
Example 4: 3D Midpoint
Find the midpoint of \(P(1, -4, 7)\) and \(Q(5, 8, -3)\).
Common Mistakes
Formula Reference
| 2D | 3D | |
|---|---|---|
| Distance | \(\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}\) Output: Scalar (a number) |
\(\sqrt{(x_2-x_1)^2+(y_2-y_1)^2+(z_2-z_1)^2}\) Output: Scalar (a number) |
| Midpoint | \(\left(\frac{x_1+x_2}{2},\frac{y_1+y_2}{2}\right)\) Output: Point (coordinates) |
\(\left(\frac{x_1+x_2}{2},\frac{y_1+y_2}{2},\frac{z_1+z_2}{2}\right)\) Output: Point (coordinates) |
Question 1 of 5
What is the distance between \(A(1, 5)\) and \(B(4, 1)\)?
Question 2 of 5
What is the midpoint of \((-6, 2)\) and \((4, 10)\)?
Question 3 of 5
Find the distance between \(P(2, 1, 3)\) and \(Q(5, 5, 3)\) in 3D.
Question 4 of 5
If \(M(3, 7)\) is the midpoint of \(A(1, 4)\) and \(B\), what are the coordinates of \(B\)?
Question 5 of 5
What is the 3D midpoint of \((0, -2, 8)\) and \((6, 4, -2)\)?