In mathematics, the modular group is the projective special linear group PSL ( 2 , Z ) {\displaystyle \operatorname {PSL} (2,\mathbb {Z} )} of 2 × 2 {\displaystyle 2\times 2} matrices with integer coefficients and determinant 1 {\displaystyle 1} , such that the matrices A {\displaystyle A} and − A {\displaystyle -A} are identified. The modular group acts on the upper-half of the complex plane by linear fractional transformations. The name "modular group" comes from the relation to moduli spaces, and not from modular arithmetic.