Abstract. We reconsider the basic properties of ray-transfer matrices for firstorder optical systems from a geometrical viewpoint. In the paraxial regime of scalar wave optics, there is a wide family of beams for which the action of a raytransfer matrix can be fully represented as a bilinear transformation on the upper complex half-plane, which is the hyperbolic plane. Alternatively, this action can be also viewed in the unit disc. In both cases, we use a simple trace criterion that arranges all first-order systems in three classes with a clear geometrical meaning: they represent rotations, translations, or parallel displacements. We analyze in detail the relevant example of an optical resonator.