Cartesian Distance and Midpoint
Cartesian Distance and Midpoint
In analytic geometry, points are placed on the Cartesian plane using coordinates. When two points are given, we often want to answer two important questions:
- How far apart are the points?
- What point lies exactly halfway between them?
These questions lead to the distance formula and the midpoint formula. These formulas connect algebra and geometry, and they are used often in topics such as circles, line segments, and proofs in coordinate geometry.
In this lesson, you will learn what these formulas mean, how to use them, and how to avoid common mistakes.
1. The Cartesian Plane Review
A point on the plane is written as \((x, y)\), where:
- \(x\) tells how far left or right the point is from the origin,
- \(y\) tells how far up or down the point is from the origin.
For example, the point \((3, 2)\) is 3 units to the right and 2 units up from the origin.
If we have two points, say \(A(x_1, y_1)\) and \(B(x_2, y_2)\), then:
- the horizontal change between them is \(x_2 - x_1\),
- the vertical change between them is \(y_2 - y_1\).
These changes are very important because they help us find both distance and midpoint.
2. Distance Between Two Points
To find the distance between two points, we use the Pythagorean theorem. If you draw a horizontal and vertical line between the two points, you form a right triangle.
The legs of that triangle have lengths:
- \(|x_2 - x_1|\) horizontally,
- \(|y_2 - y_1|\) vertically.
The distance between the points is the hypotenuse of that triangle.
Using the Pythagorean theorem:
$$d^2 = (x_2 - x_1)^2 + (y_2 - y_1)^2$$So the distance formula is:
$$d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}$$This formula gives the exact distance. If the square root does not simplify, you can leave the answer in radical form unless a decimal is requested.
Important notes:
- It does not matter which point is called \((x_1, y_1)\) and which is called \((x_2, y_2)\), as long as you stay consistent.
- The distance is always non-negative.
- Squaring removes any negative signs inside the differences.
3. Midpoint of a Line Segment
The midpoint is the point exactly halfway between two endpoints of a segment.
To find the midpoint, average the x-coordinates and average the y-coordinates.
If the endpoints are \(A(x_1, y_1)\) and \(B(x_2, y_2)\), then the midpoint \(M\) is:
$$M\left(\frac{x_1 + x_2}{2}, \frac{y_1 + y_2}{2}\right)$$This works because the midpoint must be equally far from both endpoints in the horizontal and vertical directions.
4. When to Use Each Formula
- Use the distance formula when the problem asks how long a segment is or how far apart two points are.
- Use the midpoint formula when the problem asks for the point halfway between two endpoints.
Sometimes, a problem may ask for both.
5. Worked Examples
Example 1: Find the distance between two simple points
Find the distance between \(A(1, 2)\) and \(B(5, 5)\).
Step 1: Write the formula.
$$d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}$$Step 2: Substitute the coordinates.
$$d = \sqrt{(5 - 1)^2 + (5 - 2)^2}$$Step 3: Simplify.
$$d = \sqrt{4^2 + 3^2} = \sqrt{16 + 9} = \sqrt{25} = 5$$Answer: The distance is \(5\) units.
Example 2: Find the midpoint
Find the midpoint of the segment joining \((2, 7)\) and \((8, 1)\).
Step 1: Write the midpoint formula.
$$M\left(\frac{x_1 + x_2}{2}, \frac{y_1 + y_2}{2}\right)$$Step 2: Substitute the values.
$$M\left(\frac{2 + 8}{2}, \frac{7 + 1}{2}\right)$$Step 3: Simplify.
$$M\left(\frac{10}{2}, \frac{8}{2}\right) = (5, 4)$$Answer: The midpoint is \((5, 4)\).
Example 3: Distance with negative coordinates
Find the distance between \(P(-3, 4)\) and \(Q(2, -8)\).
Step 1: Use the distance formula.
$$d = \sqrt{(2 - (-3))^2 + (-8 - 4)^2}$$Step 2: Simplify inside the brackets carefully.
$$d = \sqrt{(5)^2 + (-12)^2}$$Step 3: Square and add.
$$d = \sqrt{25 + 144} = \sqrt{169} = 13$$Answer: The distance is \(13\) units.
This example shows why signs matter. Be especially careful when subtracting negative numbers.
Example 4: Find both midpoint and distance
The endpoints of a segment are \(A(-6, 3)\) and \(B(4, 11)\). Find:
- the midpoint,
- the distance between the points.
Part (a): Midpoint
$$M\left(\frac{-6 + 4}{2}, \frac{3 + 11}{2}\right)$$ $$M\left(\frac{-2}{2}, \frac{14}{2}\right) = (-1, 7)$$So the midpoint is \((-1, 7)\).
Part (b): Distance
$$d = \sqrt{(4 - (-6))^2 + (11 - 3)^2}$$ $$d = \sqrt{10^2 + 8^2}$$ $$d = \sqrt{100 + 64} = \sqrt{164}$$Simplify the radical:
$$\sqrt{164} = \sqrt{4 \cdot 41} = 2\sqrt{41}$$Answer:
- Midpoint: \((-1, 7)\)
- Distance: \(2\sqrt{41}\) units
6. Common Mistakes to Avoid
- Mixing coordinate order: Do not pair an x-coordinate from one point with a y-coordinate from the other.
- Forgetting parentheses: This is especially important when coordinates are negative. For example, write \((-3)\), not just \(-3\), when substituting into formulas.
- Adding instead of subtracting in the distance formula: The differences must be found first, then squared.
- Not averaging correctly for midpoint: Add the coordinates first, then divide by 2.
- Giving only a decimal when exact form is expected: If the answer is \(\sqrt{41}\), leave it that way unless told to round.
7. Quick Check for Understanding
Try these on your own:
- Find the distance between \((0, 0)\) and \((6, 8)\).
- Find the midpoint of \((-5, 9)\) and \((7, -3)\).
- Find both the midpoint and distance between \((1, -2)\) and \((9, 4)\).
Answers:
- Distance: \(10\)
- Midpoint: \((1, 3)\)
- Midpoint: \((5, 1)\), Distance: \(10\)
8. Why These Ideas Matter
Distance and midpoint are basic tools in analytic geometry. They help you:
- find the length of a line segment,
- locate the center of a segment,
- solve problems involving circles,
- analyze shapes on the coordinate plane.
For example, the center of a circle can sometimes be found using a midpoint, and the radius can be found using distance.
Summary
For two points \(A(x_1, y_1)\) and \(B(x_2, y_2)\):
$$d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}$$ $$M\left(\frac{x_1 + x_2}{2}, \frac{y_1 + y_2}{2}\right)$$The distance formula comes from the Pythagorean theorem, and the midpoint formula comes from averaging the coordinates. With careful substitution and attention to signs, you can solve these problems accurately and confidently.
Put what you read to the test
You've worked through Cartesian Distance and Midpoint. Try answering a few questions to see what stuck — and what might deserve a quick reread before you move on.