Example
Plot two points, then compute the exact distance algebraically.
highlighted = computed this step
Step 1 — Plot points
Plot points A and B with the segment.
Coordinate plot
Step 2 — Coordinates
Read the coordinates of A and B.
A=(1,2)B=(5,4)
Step 3 — Differences
Subtract coordinates to find the changes.
Δx=5−1=4Δy=4−2=2
Step 4 — Square and add
Square the changes and add.
d=42+22=20
Step 5 — Distance
Simplify the exact distance.
d=20=25
distance-formula
d = √((x2-x1)^2 + (y2-y1)^2)