Problem:
All vertices of a polygon lie at points with integer coordinates in the plane, and all sides of have integer lengths. Prove that the perimeter of must be an even number.
Problem:
All vertices of a polygon lie at points with integer coordinates in the plane, and all sides of have integer lengths. Prove that the perimeter of must be an even number.
Solution:
Travel around the polygon in one orientation (say, counterclockwise), and let the vertices so visited be . Define , for and . Define in a similar way. Then the perimeter is equal to
Since each length is an integer, then for each , either both and are even or exactly one is odd (they cannot both be odd using a mod-4 analysis). In the first case, we get an even length, and in the second case, we get an odd length.
So we need to show that the second case occurs an even number of times. This follows from the fact that
Since is even, there are an even number of odd 's and there are an even number of odd 's.