Cover the attached disc by a slightly enlarged interior and a collar of its boundary, and apply the Seifert-van Kampen theorem. The collar intersection has fundamental group generated by the boundary loop, whose image in is , while that loop becomes trivial in the disc. Van Kampen therefore quotients by the smallest normal subgroup containing :
This is the general fundamental group after attaching a 2-cell.
Start with a wedge of two circles, whose fundamental group is the free group
Attach a disc along the loop represented by . The displayed quotient gives a connected two-dimensional CW complex with
The Seifert-van Kampen theorem says that if , where are path connected open sets containing , then
The cell attachment is the quotient
with the image of as base point. For , take one open set that deformation retracts onto together with a boundary collar, and another that consists of the interior of the disc with a collar and is contractible. Their intersection deformation retracts onto . Its generator maps to in the first set and to the identity in the second. Van Kampen therefore proves the fundamental group after attaching a 2-cell formula
Applying van Kampen to the two circles gives
Attach three discs along loops representing , , and . The resulting presentation complex for the symmetric group on three letters has group
Sending to and to gives a surjection onto . The relations imply , so every word reduces to one of
The presented group has at most six elements and surjects onto the six-element group , so this map is an isomorphism.
One form of the Seifert-van Kampen theorem says that if , with open and path-connected and containing the base point, then is the pushout of
For the fundamental group after attaching a 2-cell, take to be together with a collar of the attached disc and to be a slightly enlarged open disc. Then , is simply connected, and ; its generator maps to in . Van Kampen therefore gives
Take , whose fundamental group is the free group , and attach one 2-cell along the loop represented by . The resulting connected presentation complex satisfies