Distance and Midpoint Formulas

Working with coordinates in the plane

Distance and Midpoint Formulas

Distance Formula

The distance between two points (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2):

d=(x2x1)2+(y2y1)2d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}

Derivation: This comes from the Pythagorean Theorem!

Midpoint Formula

The midpoint between two points (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2):

M=(x1+x22,y1+y22)M = \left(\frac{x_1 + x_2}{2}, \frac{y_1 + y_2}{2}\right)

Memory aid: Average the x-coordinates, average the y-coordinates.

Applications

Perimeter: Add distances between consecutive vertices

Proving shapes:

  • Square: All 4 sides equal, diagonals equal
  • Rectangle: Opposite sides equal, diagonals equal
  • Rhombus: All 4 sides equal
  • Isosceles triangle: Two sides equal

Segment Partitioning

To find a point that divides a segment in ratio m:nm:n:

Use weighted average based on the ratio

Coordinate Proof Strategy

  1. Place figure on coordinate plane strategically
  2. Use distance/midpoint formulas
  3. Show required properties

📚 Practice Problems

1Problem 1easy

Question:

Find the distance between points (3,4)(3, 4) and (7,1)(7, 1).

💡 Show Solution

Use the distance formula: d=(x2x1)2+(y2y1)2d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}

d=(73)2+(14)2d = \sqrt{(7 - 3)^2 + (1 - 4)^2}

d=42+(3)2d = \sqrt{4^2 + (-3)^2}

d=16+9d = \sqrt{16 + 9}

d=25=5d = \sqrt{25} = 5

Answer: 5 units

2Problem 2medium

Question:

Find the midpoint of the segment connecting (2,5)(-2, 5) and (6,3)(6, -3).

💡 Show Solution

Use the midpoint formula: M=(x1+x22,y1+y22)M = \left(\frac{x_1 + x_2}{2}, \frac{y_1 + y_2}{2}\right)

M=(2+62,5+(3)2)M = \left(\frac{-2 + 6}{2}, \frac{5 + (-3)}{2}\right)

M=(42,22)M = \left(\frac{4}{2}, \frac{2}{2}\right)

M=(2,1)M = (2, 1)

Answer: (2,1)(2, 1)

3Problem 3hard

Question:

Prove that the triangle with vertices A(0,0)A(0, 0), B(5,0)B(5, 0), and C(5,12)C(5, 12) is a right triangle.

💡 Show Solution

Strategy: Show that the sides satisfy the Pythagorean Theorem.

Find all three side lengths:

ABAB: from (0,0)(0,0) to (5,0)(5,0) AB=(50)2+(00)2=5AB = \sqrt{(5-0)^2 + (0-0)^2} = 5

BCBC: from (5,0)(5,0) to (5,12)(5,12) BC=(55)2+(120)2=12BC = \sqrt{(5-5)^2 + (12-0)^2} = 12

ACAC: from (0,0)(0,0) to (5,12)(5,12) AC=(50)2+(120)2=25+144=169=13AC = \sqrt{(5-0)^2 + (12-0)^2} = \sqrt{25 + 144} = \sqrt{169} = 13

Check Pythagorean Theorem: AB2+BC2=52+122=25+144=169AB^2 + BC^2 = 5^2 + 12^2 = 25 + 144 = 169 AC2=132=169AC^2 = 13^2 = 169

Since AB2+BC2=AC2AB^2 + BC^2 = AC^2, the triangle is a right triangle.

Answer: Yes, it's a right triangle (in fact, a 5-12-13 right triangle)