Skip to content
    Greek Mathematician Mascot - Daskalos
    Mathimatikos

    60% off your first year

    Terms

    Student Pro: €35.60 for the first year instead of €89

    Teacher Pro: €75.60 for the first year instead of €189

    Code LAG60. One use per account. Renews automatically at the regular price. Cancel anytime.

    View plans

    Distance and midpoint of two points

    Find the distance and the coordinates of the midpoint of a line segment in the plane.

    Calculate the result

    Line segment and its midpointPoint Μ is the midpoint of segment ΑΒ. Distances ΑΜ and ΜΒ are equal.xyΑΜΒ
    Illustrative diagram. Point Μ is the midpoint of segment ΑΒ. Distances ΑΜ and ΜΒ are equal.
    Δx=x2−x1Δy=y2−y1d=(Δx)2+(Δy)2M=(x1+x22; y1+y22)

    Worked example

    Problem

    Given the points A(-2, 1) and B(4, 9). Calculate their distance and the coordinates of the midpoint of segment AB.

    The points A(-2, 1) and B(4, 9) are 10 units apart and their midpoint is M(1, 5).

    1. Calculate the coordinate differences

      Δx=4−(−2)=6,Δy=9−1=8
    2. Find the distance

      d=62+82=10
    3. Take the mean on each axis

      M=(−2+42; 1+92)=(1; 5)
    Ask AI for a step-by-step solution

    Common mistake

    For distance we use coordinate differences. For the midpoint we use sums and divide each sum by 2.