Draw a polygon on square grid paper with every corner on a grid point. Its sides may slope in any direction, so cutting it into rectangles and triangles to find its area can be awkward. Can counting the dots inside it and on its edges give its exact area instead? This page states Pick’s theorem, which says yes for polygons without holes, checks it on a pentagon, and explains where the half and the minus one in the formula come from.
Key terms
Pick’s theorem
Definition Pick’s theorem is a formula for the area of a polygon drawn on the square grid of points with whole-number coordinates. It has two conditions. Every vertex of the polygon must be a grid point, and the polygon must be simple, which means that its boundary is one closed path of straight edges that never crosses or touches itself, so the polygon has no holes. Under these conditions, let be the number of grid points strictly inside the polygon and the number of grid points on its boundary, vertices included. Then the area of the polygon is
square units of the grid. The polygon does not have to be convex, and its edges may slope in any direction. The theorem was published by Georg Pick in 1899.
In plain words Each dot inside counts as a whole square unit, each dot on the boundary counts as half of one, and then one is taken away. Nothing has to be measured, only counted.
Example Start with the by square with corners , , and , and cut off the corner triangle with vertices , and . What is left is the pentagon with vertices , , , and . The triangle has legs and and area , so the pentagon has area . Now count instead. Strictly inside the pentagon lie three grid points in the row , three in the row and two in the row , so . The boundary holds the vertices, three more points on the bottom edge, three on the left edge, one on the right edge, one on the top edge and the point on the sloping edge, so . Pick’s theorem gives
the same area as the cutting.
Lattice points
Definition A lattice point, or grid point, is a point of the plane whose coordinates and are both whole numbers. Together these points form the square lattice, in which neighboring points are one unit apart. Take a segment whose ends are lattice points that lie units apart horizontally and units apart vertically, not both zero, and let be the greatest common divisor of and , the largest whole number that divides both, which is itself when . Then the segment contains exactly lattice points, both ends included, and they split it into equal steps. For a simple lattice polygon each edge therefore adds points to the boundary count , its points other than the end it shares with the next edge, so is the sum of over all the edges.
In plain words The lattice is the set of dots on grid paper. A sloping edge can pass through dots between its ends, and the greatest common divisor tells you how many.
Example The sloping edge of the pentagon runs from to , which is units across and units up. The greatest common divisor of and is , so the edge holds lattice points, , and . Going around the pentagon from , the edges have , , , and , so
An edge from to has and three lattice points, , and , while an edge from to has and passes through no lattice point between its ends.
Lattice polygon
Definition A lattice polygon is a polygon whose vertices are all lattice points. Its edges may pass through further lattice points between the vertices, and those points count toward as well. Pick’s theorem holds for every simple lattice polygon. It says nothing about a polygon with a vertex off the lattice, and it needs a correction for a region with holes. Suppose the region lies inside a simple lattice polygon and has holes cut out of it, each hole the inside of a simple lattice polygon, with the holes lying strictly inside the outer polygon and not touching one another. If counts the lattice points on the outer boundary and on the boundaries of all the holes, and counts the lattice points strictly inside the region, then the area of the region is
In plain words The formula needs its corners on the dots. A corner off the grid breaks the count, and each hole adds one to the value of the plain formula.
Example The square with corners , , and has area . Its only lattice point is the corner , so and , and the formula would give , which cannot be an area. On a finer grid with points half a unit apart, the same square is a lattice polygon with and , and the formula gives small square of that grid, which is of the original unit square. The count always measures area in squares of the grid used for counting. For a hole, take the by square with corners and and remove the unit square with corners and . The region has area , no lattice points strictly inside it and on its two boundaries, so the plain formula gives , and the corrected one gives .
Triangulation
Definition A triangulation of a polygon is a division of it into triangles that cover the whole polygon, do not overlap, and meet one another only along whole common edges or at common vertices. Every simple polygon with vertices can be triangulated by diagonals, segments inside the polygon that join two of its vertices, into triangles whose vertices are vertices of the polygon. For a lattice polygon these are lattice triangles, and Pick’s theorem can be proved by building the polygon from them with a joining rule. Write for any lattice polygon. Suppose two simple lattice polygons meet only along one unbroken stretch of their boundaries, such as one whole common edge, whose two ends are lattice points, and that lattice points of that stretch lie strictly between its ends. When the two polygons are joined, those points move inside, and the two ends, which both polygons counted, stay on the boundary once. So the joined polygon has
and therefore . The quantity adds up under joining exactly as area does.
In plain words Cut a polygon into triangles, check the formula on each triangle, and the bookkeeping of shared points glues the answers back together. The minus one is what makes the two shared ends come out right.
Example Triangulate the pentagon by the diagonals from to and to . The three triangles have areas , and , and their counts are , and , so each one satisfies Pick’s theorem. Each diagonal has one lattice point between its ends, and , so at each joint. Joining the first two triangles gives and , and adding the third gives
the counts found before. The same rule proves the theorem in four steps. A by rectangle with sides along the grid lines has points inside and on its boundary, so
its area. A diagonal cuts the rectangle into two right triangles, and a half turn about the center of the rectangle carries one triangle onto the other and grid points onto grid points, so the two have the same . By the joining rule, with the diagonal as the shared edge, their values of add up to , so each is , the area of the triangle. Any lattice triangle sits in a smallest rectangle with sides along the grid lines, and the rest of that rectangle splits into right triangles of this kind and at most one smaller rectangle, so the joining rule, used in reverse, gives the triangle a value of equal to its area. Finally, a triangulation builds any simple lattice polygon from lattice triangles, joined one at a time in an order in which each new triangle meets the part already built along one edge.
Check yourself
- Cut a bigger corner off the by square, the triangle with vertices , and . For the pentagon that is left, with vertices , , , and , count and and check Pick’s theorem against the area found by cutting.
Show the answer
The removed triangle has legs and and area , so the pentagon has area . The sloping edge from to goes across and up, so and it holds the points , , and . Around the pentagon the edges have , , , and , so . The points strictly inside are those with whole coordinates from to and , three in the row , two in the row and one in the row , so . Pick’s theorem gives
which matches. An odd number of boundary points goes with an area that ends in a half.
- Change a rule by allowing a hole. Take the by square with corners and and remove the unit square with corners and . The plain formula gives but the area is . Cut the region into two simple lattice polygons and use the joining rule to see where the missing goes.
Show the answer
Cut along the segments from to and from to . One piece is the L shape with vertices , , , , and , and the other is the L shape with vertices , , , , and . Each has area , no lattice points inside and on its boundary, so Pick’s theorem holds for each, since . The two pieces meet along two separate segments, not one unbroken stretch. Neither segment has lattice points between its ends, and each segment has two ends that both pieces counted, so
Then , while . Joining along one stretch keeps additive, but the second stretch, which closes a loop around the hole, removes two more ends and lowers by one more. That is the in the corrected formula, which gives .
- Extend the pattern. A lattice triangle has no lattice points at all except its three vertices. What does Pick’s theorem say about its area? Check the answer on the long thin triangle with vertices , and .
Show the answer
Such a triangle has and , so its area is
however long or thin it is. The triangle with vertices , and lies in the strip . Its only lattice points with are and , and its only one with is , so it has no others. Its base from to has length and its height is , so its area is , as predicted. It follows that any simple lattice polygon cut into triangles of this kind, which can always be done by using all of its lattice points as vertices, is cut into exactly of them. The pentagon of area needs .