Skip to content
  • Open the math solver
  • Ask the AI tutor
  • Find an AP course
  • Create a quiz
  • Open the calculator
  • Graphing Calculator
  • Browse all calculators
  • Read math guides
↑ ↓Enter to open · Esc to close
Solve a problem
MediumCoordinate GeometryGeometry

Find the distance between (−2,1)(-2, 1) and (4,9)(4, 9).

Horizontal change 6, vertical change 8.

Try it first: work the problem on paper, then open the solution below and compare each step.
Show the step-by-step solution

Final answer

d=10d = 10

How we read your problem

Find the straight-line (Euclidean) distance between two points in the plane.

Step-by-step solution

  1. Label the points

    (x1,y1)=(−2,1),(x2,y2)=(4,9)(x_1, y_1) = (-2, 1),\quad (x_2, y_2) = (4, 9)
  2. Find the horizontal and vertical differences

    Δx=6,Δy=8\Delta x = 6,\quad \Delta y = 8
  3. Square the differences and add them

    (6)2+(8)2=36+64=100(6)^2 + (8)^2 = 36 + 64 = 100
  4. Take the square root

    d=100=10d = \sqrt{100} = 10
  5. Midpoint (average of the coordinates)

    M=(−2+42,1+92)=(1,5)M = \left(\frac{-2 + 4}{2}, \frac{1 + 9}{2}\right) = (1, 5)

Formulas used

  • Distance formula

    d=(x2−x1)2+(y2−y1)2d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}
  • Midpoint formula

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

The distance formula is the Pythagorean theorem applied to the right triangle whose legs are the horizontal and vertical differences between the points.

Verification

  • d² = 100 matches Δx² + Δy² = 100

About coordinate geometry

Distance, midpoint and slope on the coordinate plane.

Distance formula

The Pythagorean theorem applied to two points.

d=(x2−x1)2+(y2−y1)2d = \sqrt{(x_2-x_1)^2 + (y_2-y_1)^2}
Midpoint

The average of the coordinates.

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

Check your own work