The pair of pants is the compact genus-zero surface with boundary having three boundary components. It is obtained from the sphere by deleting the interiors of three disjoint discs and is homotopy equivalent to a wedge of two circles.
A Y-piece is a compact curvature- hyperbolic surface homeomorphic to a pair of pants, with three geodesic boundary curves. Its labelled boundary lengths determine it up to isometry. Cutting along the three mutually perpendicular seams produces two congruent right-angled hyperbolic hexagons with alternating sides . Conversely, doubling the hexagon along its other three sides constructs the Y-piece for arbitrary positive lengths.
An X-piece is a curvature- four-holed sphere with geodesic boundary, formed by gluing two Y-pieces along equal-length cuffs. For a specified separating cuff and labelled outer boundaries, four outer lengths, the internal cuff length , and a twist determine the metric. The gluing is orientation-reversing on boundary circles, with relative arclength displacement measured from chosen seam endpoints. Without markings, the gluing displacement is taken modulo ; with a marking, records Dehn twists as well. Changing the chosen separating curve can give different parameter descriptions of the same unmarked surface.
Orient the three boundary classes so that in . A homeomorphism with orientation sign and boundary permutation sends to . Its trace on the rank-two quotient of by is therefore .