TExcelTAD
Home › School Plane Geometry Proofs › Finding Distances on Grid Paper with Pythagoras

Finding Distances on Grid Paper with Pythagoras

When working on squared grid paper or the Cartesian coordinate plane, calculating the straight-line distance between two points might seem difficult because the line slants across the grid squares.

However, the coordinate Distance Formula is not a new or separate formula—it is simply the Pythagorean Theorem applied to a right triangle drawn directly onto the grid.


1. The "Slope Triangle" on Grid Paper

Suppose you mark two points on grid paper: A(x1,y1)A(x_1, y_1) and B(x2,y2)B(x_2, y_2). To find the straight-line distance dd between them:

A (x1, y1) B (x2, y2) dx = x2 - x1 dy = y2 - y1 d = sqrt(dx^2 + dy^2)
  1. Draw the Horizontal Run: From point AA, draw a line horizontally along the grid lines until you are directly beneath point BB. The length of this horizontal leg is the change in the xx-coordinates:
    Run=Δx=∣x2−x1∣\text{Run} = \Delta x = |x_2 - x_1|
  2. Draw the Vertical Rise: From point BB, draw a line vertically downward along the grid lines until it meets the horizontal line at corner point C(x2,y1)C(x_2, y_1). The length of this vertical leg is the change in the yy-coordinates:
    Rise=Δy=∣y2−y1∣\text{Rise} = \Delta y = |y_2 - y_1|
  3. The Right Angle: Because horizontal grid lines and vertical grid lines are perpendicular, ∠C=90∘\angle C = 90^\circ.
  4. The Hypotenuse: The slanted segment ABAB connecting the two original points is the hypotenuse of this right triangle!

2. Deriving the Distance Formula on Paper

By applying the Pythagorean Theorem (a2+b2=c2a^2 + b^2 = c^2) to right triangle △ABC\triangle ABC:

(Horizontal Leg)2+(Vertical Leg)2=(Hypotenuse)2(Δx)2+(Δy)2=d2(x2−x1)2+(y2−y1)2=d2\begin{aligned} (\text{Horizontal Leg})^2 + (\text{Vertical Leg})^2 &= (\text{Hypotenuse})^2 \\ (\Delta x)^2 + (\Delta y)^2 &= d^2 \\ (x_2 - x_1)^2 + (y_2 - y_1)^2 &= d^2 \end{aligned}

Taking the positive square root of both sides gives the standard Distance Formula:

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

Every time you use this formula on paper, you are simply finding the hypotenuse of a right triangle whose legs are counted along the grid lines.


3. The 5-Step Notebook Grid Method

To find any distance on paper without making algebra or sign errors, follow these steps:

  1. Label the Coordinates: Clearly write (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2) above your points.
  2. Calculate the Horizontal Difference (Δx\Delta x):
    Δx=x2−x1\Delta x = x_2 - x_1
  3. Calculate the Vertical Difference (Δy\Delta y):
    Δy=y2−y1\Delta y = y_2 - y_1
  4. Square Both Differences:
    (Δx)2and(Δy)2(\Delta x)^2 \quad \text{and} \quad (\Delta y)^2
    (Notice that even if the difference is negative, its square is always positive!)
  5. Add the Squares and Take the Square Root:
    d=(Δx)2+(Δy)2d = \sqrt{(\Delta x)^2 + (\Delta y)^2}

4. Step-by-Step Notebook Examples

Example 1: Counting Units on a Positive Grid

Problem: Find the distance between point A(1,2)A(1, 2) and point B(4,6)B(4, 6) on grid paper.

Paper Solution:

  • Step 1: Identify coordinates

    x1=1,  y1=2andx2=4,  y2=6x_1 = 1, \; y_1 = 2 \quad \text{and} \quad x_2 = 4, \; y_2 = 6
  • Step 2: Find horizontal leg (Δx\Delta x)

    Δx=4−1=3 grid units\Delta x = 4 - 1 = 3\text{ grid units}
  • Step 3: Find vertical leg (Δy\Delta y)

    Δy=6−2=4 grid units\Delta y = 6 - 2 = 4\text{ grid units}
  • Step 4: Apply the Pythagorean Theorem Notice this forms the classic (3,4,5)(3, 4, 5) right triangle:

    d2=(Δx)2+(Δy)2d2=32+42d2=9+16=25d=25=5 units\begin{aligned} d^2 &= (\Delta x)^2 + (\Delta y)^2 \\ d^2 &= 3^2 + 4^2 \\ d^2 &= 9 + 16 = 25 \\ d &= \sqrt{25} = 5\text{ units} \end{aligned}

Answer: The distance between AA and BB is exactly 5 units5\text{ units}.


Example 2: Handling Negative Coordinates

Problem: Calculate the straight-line distance between point P(−2,3)P(-2, 3) and point Q(4,−5)Q(4, -5).

Paper Solution:

  • Step 1: Identify coordinates

    (x1,y1)=(−2,3),(x2,y2)=(4,−5)(x_1, y_1) = (-2, 3), \quad (x_2, y_2) = (4, -5)
  • Step 2: Calculate Δx\Delta x (watch the signs!)

    Δx=4−(−2)=4+2=6\Delta x = 4 - (-2) = 4 + 2 = 6
  • Step 3: Calculate Δy\Delta y

    Δy=−5−3=−8\Delta y = -5 - 3 = -8
  • Step 4: Square both differences

    (Δx)2=62=36(Δy)2=(−8)2=64\begin{aligned} (\Delta x)^2 &= 6^2 = 36 \\ (\Delta y)^2 &= (-8)^2 = 64 \end{aligned}
  • Step 5: Add and take the square root

    d=36+64=100=10 unitsd = \sqrt{36 + 64} = \sqrt{100} = 10\text{ units}

Answer: The distance between PP and QQ is 10 units10\text{ units} (a scaled multiple of the 3−4−53-4-5 triple: 6−8−106-8-10).


Example 3: Distance Resulting in a Simplified Radical

Problem: Find the exact distance between M(−1,2)M(-1, 2) and N(3,8)N(3, 8) in simplest radical form.

Paper Solution:

  • Step 1: Differences in coordinates

    Δx=3−(−1)=3+1=4Δy=8−2=6\begin{aligned} \Delta x &= 3 - (-1) = 3 + 1 = 4 \\ \Delta y &= 8 - 2 = 6 \end{aligned}
  • Step 2: Sum of squares

    d2=42+62d2=16+36=52\begin{aligned} d^2 &= 4^2 + 6^2 \\ d^2 &= 16 + 36 = 52 \end{aligned}
  • Step 3: Factor out the largest perfect square

    d=52=4×13=213 unitsd = \sqrt{52} = \sqrt{4 \times 13} = 2\sqrt{13}\text{ units}

Answer: Exact distance is 213 units2\sqrt{13}\text{ units} (approximately 7.21 units7.21\text{ units}).


Example 4: Proving a Right Triangle on Grid Paper

Problem: Three points on grid paper are given as A(1,1)A(1, 1), B(5,4)B(5, 4), and C(2,8)C(2, 8). Use distances and the Converse of the Pythagorean Theorem to determine whether △ABC\triangle ABC is a right triangle.

Paper Solution:

  • Step 1: Calculate AB2AB^2

    AB2=(5−1)2+(4−1)2=42+32=16+9=25AB^2 = (5 - 1)^2 + (4 - 1)^2 = 4^2 + 3^2 = 16 + 9 = 25
  • Step 2: Calculate BC2BC^2

    BC2=(2−5)2+(8−4)2=(−3)2+42=9+16=25BC^2 = (2 - 5)^2 + (8 - 4)^2 = (-3)^2 + 4^2 = 9 + 16 = 25
  • Step 3: Calculate AC2AC^2

    AC2=(2−1)2+(8−1)2=12+72=1+49=50AC^2 = (2 - 1)^2 + (8 - 1)^2 = 1^2 + 7^2 = 1 + 49 = 50
  • Step 4: Test the Converse of the Pythagorean Theorem Identify the longest side squared: AC2=50AC^2 = 50.
    Sum the two smaller squares:

    AB2+BC2=25+25=50AB^2 + BC^2 = 25 + 25 = 50

    Since AB2+BC2=AC2AB^2 + BC^2 = AC^2 (50=5050 = 50), the triangle satisfies the Pythagorean relation! Furthermore, because AB2=BC2=25AB^2 = BC^2 = 25, AB=BC=5AB = BC = 5, meaning △ABC\triangle ABC is an isosceles right triangle (45∘−45∘−90∘45^\circ-45^\circ-90^\circ).

Answer: △ABC\triangle ABC is indeed a right triangle (with right angle at vertex BB).


5. Common Mistakes & Paper Traps

  1. Subtracting Negative Numbers Incorrectly:

    • Trap: When finding x2−x1x_2 - x_1 with x1=−3x_1 = -3 and x2=5x_2 = 5, writing 5−3=25 - 3 = 2.
    • Correction: 5−(−3)=5+3=85 - (-3) = 5 + 3 = 8. Always write double negative parentheses: x2−(x1)x_2 - (x_1).
  2. Negative Squared Trap:

    • Trap: Writing (−4)2=−16(-4)^2 = -16.
    • Correction: A negative number multiplied by itself is always positive: (−4)×(−4)=+16(-4) \times (-4) = +16. The squared legs (Δx)2(\Delta x)^2 and (Δy)2(\Delta y)^2 can never be negative.
  3. Mixing xx and yy Coordinates:

    • Always subtract xx from xx and yy from yy. Never compute (x2−y2)(x_2 - y_2) or (x1−y1)(x_1 - y_1).

6. Pencil & Paper Practice

Practice 1

Find the distance between the origin (0,0)(0, 0) and point (5,12)(5, 12) on grid paper.

??? success "Solution to Practice 1" 1. Horizontal leg: math \Delta x = 5 - 0 = 5 2. Vertical leg: math \Delta y = 12 - 0 = 12 3. Distance: math d = \sqrt{5^2 + 12^2} = \sqrt{25 + 144} = \sqrt{169} = 13\text{ units} Answer: 13 units13\text{ units}.


Practice 2

Find the exact distance between A(−3,−1)A(-3, -1) and B(5,5)B(5, 5). Express your answer in simplest radical form or as an integer.

??? success "Solution to Practice 2" 1. Calculate Δx\Delta x: math \Delta x = 5 - (-3) = 5 + 3 = 8 2. Calculate Δy\Delta y: math \Delta y = 5 - (-1) = 5 + 1 = 6 3. Apply the theorem: math d = \sqrt{8^2 + 6^2} = \sqrt{64 + 36} = \sqrt{100} = 10\text{ units} Answer: 10 units10\text{ units}.


Test yourself

What geometric figure is formed when you draw the horizontal run Δx\Delta x and vertical rise Δy\Delta y between two points on grid paper?

  1. An equilateral triangle
  2. A right triangle whose hypotenuse is the line segment connecting the two points
  3. A trapezoid
  4. A rhombus

What is the distance between points (2,−3)(2, -3) and (2,7)(2, 7) on a coordinate grid?

  1. 4 units4\text{ units}
  2. 10 units10\text{ units}
  3. 58 units\sqrt{58}\text{ units}
  4. 14 units14\text{ units}

When calculating the distance formula on paper, why must (Δx)2(\Delta x)^2 and (Δy)2(\Delta y)^2 always be non-negative numbers?

  1. Because square roots only exist on positive coordinates
  2. Because squaring any real number (positive or negative) always yields a non-negative result ((−n)2=+n2(-n)^2 = +n^2)
  3. Because grid lines can never point in a negative direction
  4. Because distances must be rounded up