How long is a slanted segment on a grid? You can’t just count squares, but you can turn the segment into the hypotenuse of a right triangle and use the Pythagorean theorem. That idea gives the length formula (also called the distance formula), which you’ll use to find perimeters, compare side lengths, and later to build the equation of a circle.
If two points are on the same horizontal line, the length is just the difference in x-coordinates. From (−2,3) to (5,3) the length is 5−(−2)=7. For a vertical segment, use the difference in y-coordinates. Lengths are never negative, so subtract the smaller from the larger.
Often the answer is a square root that isn’t a whole number, like 50. That’s the exact answer. You can also give a decimal approximation, like 50≈7.07. Keep the exact form while you’re still working, and round only at the end. If you’ve learned to simplify radicals, you can write 50=25×2=52.
To check for a right triangle, test the Pythagorean theorem backwards: if the squares of the two shorter sides add up to the square of the longest side, the triangle has a right angle. (You can also use slopes, as on verifying geometric properties.)
Now test for a right angle. The longest side is AC. Compare squares:
AB2+BC2=20+20=40=AC2
The squares match, so the triangle is also a right triangle, with the right angle at B (the vertex opposite the longest side). It’s an isosceles right triangle.
Squared lengths are easy here: AB2=20, so you never need to round.
A garden plan uses a grid in metres. The garden has corners A(−4,0), B(0,3), C(5,3) and D(2,−1). Fencing costs $18 per metre. Find the perimeter, and the cost to fence the garden.
Solution. Find each side, going around the shape in order:
Adding the changes instead of squaring them. The length from (−2,−1) to (4,7) is not 6+8=14. Walking along the two legs is longer than cutting straight across. Square, add, then take the square root.
Taking the square root of each term separately.36+64 is 100=10, not 36+64=14. Add first, then take the root.
Sign errors with negative coordinates.4−(−2)=6, not 2. Use brackets when you substitute a negative coordinate. Once you square, a negative change becomes positive anyway, but only if you subtracted correctly first.
Mixing coordinates from different points. Subtract x from x and y from y, using the same two points. Label the points (x1,y1) and (x2,y2) before you substitute.
Rounding too early. Rounding each side before adding can change the perimeter. Keep exact values (or at least three decimal places) until the final answer.
Testing the wrong sides for a right angle. The longest side must be on its own: check whether the two shorter sides’ squares add to the longest side’s square.
Check: distance squared to A is 4+3.52=16.25, and to B is 16+(−0.5)2=16.25. ✓
9. (Challenge) A triangle has vertices A(−4,2), B(6,4) and C(2,−6). Join the midpoints of the three sides to make a smaller triangle. Find the side lengths of the smaller triangle, and compare them with the sides of triangle ABC. What do you notice?
Solution
Midpoints: AB gives D(1,3), BC gives E(4,−1), and AC gives F(−1,−2).
Each side of the smaller triangle is half the side of ABC that it doesn’t touch: DE=5 is half of AC=10, EF=26 is half of AB=226, and DF=29 is half of BC=229. (You can check 104=4×26=226.) This is the midsegment property, which you’ll prove on verifying geometric properties.