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
EasyCoordinate GeometryGeometry

Find the distance between (0,0)(0, 0) and (3,4)(3, 4).

The classic 3-4-5 right triangle.

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=5d = 5

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)=(0,0),(x2,y2)=(3,4)(x_1, y_1) = (0, 0),\quad (x_2, y_2) = (3, 4)
  2. Find the horizontal and vertical differences

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

    (3)2+(4)2=9+16=25(3)^2 + (4)^2 = 9 + 16 = 25
  4. Take the square root

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

    M=(0+32,0+42)=(1.5,2)M = \left(\frac{0 + 3}{2}, \frac{0 + 4}{2}\right) = (1.5, 2)

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² = 25 matches Δx² + Δy² = 25

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