Given group homomorphisms and , their amalgamated free product is a group with maps and satisfying , such that every pair , satisfying factors through a unique homomorphism .
The Seifert-van Kampen theorem says that if , where , and are open and path-connected and , then the inclusion maps induce
Here is a direct proof of the requested generation statement. For a based loop in , the Lebesgue number lemma supplies a subdivision
such that every arc lies in one . Combine adjacent arcs assigned to the same set, so each transition point lies in . Since the intersection is path-connected, choose a path in it from to , taking constant. Then
is a loop in . In the product of their classes, each cancels by path reversal, leaving . Thus the two inclusion images generate , as summarized by generation of a fundamental group by two open sets.
Now let be the standard generators in the fundamental group of the torus. A Möbius band retracts to a core circle, while its boundary traverses that core twice. If and denote the core classes of the two attached bands, the Seifert-van Kampen theorem gives
The two attaching classes and commute. Their exponent matrix has determinant
so they form a basis of , with
Substituting and eliminates and leaves the two-generator one-relator presentation
This is the calculation in two Möbius bands attached to a torus.
Finally send to and to in the symmetric group . Both squares are the identity, so the relator is satisfied, and these transpositions generate . We obtain a surjective group homomorphism from onto the nonabelian group . Therefore is nonabelian.
A complex representation of a finite group is a homomorphism
for a finite-dimensional complex vector space . It is an irreducible representation when its only invariant subspaces are and , and its degree is . Two representations are isomorphic when there is an invertible linear map intertwining their -actions.
Write the dihedral group as
In an irreducible representation choose an eigenvector of , which is possible because . If its eigenvalue is , then
Thus is invariant under both and . Irreducibility forces , proving as in irreducible complex representations of a finite dihedral group.
Let . Besides the one-dimensional representations described below, define for each indicated
These matrices satisfy the defining relations. Since , the only one-dimensional -invariant subspaces are the two coordinate axes, and interchanges them. Hence is irreducible. Their characters satisfy
whose values are distinct in the ranges below, so the are pairwise nonisomorphic. This is the family of two-dimensional representations of a finite dihedral group.
If is odd, a one-dimensional character must send to a scalar satisfying and . Thus , while may independently map to or . These give two one-dimensional irreducibles. Taking
gives two-dimensional irreducibles, for a total of
If is even, may map to either or , and again may map independently to either sign. This gives four pairwise nonisomorphic one-dimensional irreducibles. Taking
gives two-dimensional irreducibles, for a total of
Different dimensions distinguish the one- and two-dimensional families, completing the required construction and justification.

There are unlisted articles, also show them or only show them.