So far we've encountered two ways to define groups. One, as all the symmetries of a figure in a space or isometries of the space itself, and the second explicitly by a group product table. In this and the next section we'll develop another very useful way of describing and investigating groups: a group presentation.
Consider the group of integers, which we'll denote Z, with the operation +. Note that we can express every element as a sum of ones and their inverses, namely negative ones; e.g. -5=-1-1-1-1-1 and 0 is the sum of 0 ones. Thus we say that the group of integers is generated by the element 1. This is also the only integer with this property; you can't express 3, for example as a sum of 2's and -2's.
On the other hand, consider the group of rotations of a regular pentagon. It consists of five elements: a rotation by 72 degree, 144, 216, 288, and finally 360, which is the identity. It too is generated by one element, namely 72 degree rotation. However, it's also generated by any of the other non-identity elements. Take for example the rotation by 144 degrees: 1*144=144, 2*144=288, 3*144=432=72, 4*144=576=216, and finally 5*144=720=0, the identity.
As you've seen in part 2 above, it's impossible to generate the dihedral group D4 with only one element. However, it is possible to generate it with two! That is, every group element is equal to some product of two of the elements and their inverses (with each generator or inverse appearing perhaps more than once).
Some groups can't be generated using a finite number of generators. For example, the real numbers with addition or the non-zero rationals with multiplication are two such non-finitely generated groups.
Once we figure out that a group is in fact generated by some finite collection of elements, we can construct a directed graph in which every group element corresponds to an isometry, called a Cayley graph. Here's the construction of a Cayley graph for a group G with generators {a1, a2,...,am} in 3 easy steps:
Give each edge of a Cayley graph the length 1. This makes the graph a metric space, a space in which we can measure the distance between any two points. How? Just take the shortest length of any path in the graph connecting the two points, and call this the distance. Note that this is analogous to the usual distance in the plane: there are (infinitely) many curves connecting any two points in the plane and the distance between points is the length of the shortest such curve, a straight line. Now that we have distances we can talk about isometries, the distance preserving maps from a Cayley graph to itself.
Given a group G and it's Cayley graph Γ, pick any element g∈G. Consider the map of Γ to itself given by fg(h)=gh, for any vertex h∈Γ, where gh is a vertex in Γ corresponding to the element gh. For a point x on the edge from h to haj (aj being one of the generators), let fg(x) be the point on the edge between gh and ghaj the same distance from gh as x was from h. Sounds a bit confusing? Worry not, it's actually very simple! Here's a picture to clarify the situation.
The usual notation for a group with specified generators is (G,S), where G is a group and S is some set of generators. Note that the set of generators S can have redundancies. For instance, the group of integers Z is generated by the element 1. It is also generated by the set {1,3}. While it may seem strange or unnecessary for S to have more generators than needed, this will prove quite useful in the next section.