Given a simple polygon constructed on a grid of equal-distanced points (i.e., points with integer coordinates) such that all the polygon's vertices are grid points, Pick's theorem provides a simple formula for calculating the area A of this polygon in terms of the number i of lattice points in the interior located in the polygon and the number b of lattice points on the boundary placed on the polygon's perimeter:
In the example shown, we have i = 7 interior points and b = 8 boundary points, so the area is A = 7 + - 1 = 7 + 4 - 1 = 10 square units.
Note that the theorem as stated above is only valid for simple polygons, i.e., ones that consist of a single piece and do not contain holes. For a polygon that has h holes, with a boundary in the form of h + 1 simple closed curves, the slightly more complicated formula i + + h - 1 gives the area.
The result was first described by Georg Alexander Pick in 1899. The Reeve tetrahedron shows that there is no analogue of Pick's theorem in three dimensions that expresses the volume of a polytope by counting its interior and boundary points. However, there is a generalization in higher dimensions via Ehrhart polynomials. The formula also generalizes to surfaces of polyhedra.
Consider a polygon P and a triangle T, with one edge in common with P. Assume Pick's theorem is true for both P and T separately; we want to show that it is also true for the polygon PT obtained by adding T to P. Since P and T share an edge, all the boundary points along the edge in common are merged to interior points, except for the two endpoints of the edge, which are merged to boundary points. So, calling the number of boundary points in common c, we have
From the above follows
Since we are assuming the theorem for P and for T separately,
Therefore, if the theorem is true for polygons constructed from n triangles, the theorem is also true for polygons constructed from n + 1 triangles. For general polytopes, it is well known that they can always be triangulated. That this is true in dimension 2 is an easy fact. To finish the proof by mathematical induction, it remains to show that the theorem is true for triangles. The verification for this case can be done in these short steps:
The last step uses the fact that if the theorem is true for the polygon PT and for the triangle T, then it's also true for P; this can be seen by a calculation very much similar to the one shown above.