Given a polyhedron with V vertices, E edges, and F faces, then
Euler's formula makes it possible to find all the regular polyhedra
(Platonian solids).
Let a regular polyhedron be made out of r-gons and at each vertex n of these
r-gons meet.
Then Fr=2E, and Vn=2E, that is,
2E/n-E+2E/r=2.
It is more convenient to rewrite this equation in the form:
It is rather easy to go through all the possible cases for n and r
and find that there are only five solutions.
For more general polyhedra, possibly with holes, Euler's formula gives:
Problem: Compute g for a torus (a sphere with a handle), compute g for a double torus (a sphere with two handles or a bagel in the shape of figure eight).
The issue of classification of surfaces is resolved through cutting them so that after a number of cuts a surface can be flattened. It is easy to make two cuts on the torus so that it becomes a rectangle. On the other hand if you take a rectangle, glue together its two opposite sides you will get a cylinder (a ring). After that glue the two bases of the cylinder together to get a torus.
There are several other ways of gluing sides of a rectangle. For example if you twist the square before gluing the sides you will get the Moebius strip. If you glue two opposite edges straight, and then the two resulting circles with a twist, you will get Klein's bottle. Finally with twists for both pairs of opposite sides, you will get the projective plane.
Further reading