# Composition of Transformations

### Composition of Transformations

It is also possible to form new transformations by composing two existing ones. For this, one goes into composition mode and then clicks the two transformations to be composed (it is also possible to click the same transformation twice to obtain its square). Almost all combinations of transformations are admissible for compositions; the few exceptions are explained below.

#### Combining Euclidean Transformations

Euclidean rotations, line reflections, and translations are called Euclidean transformations. They have the property that they leave Euclidean lengths and angles invariant. Composing such transformations results in another Euclidean transformation.

#### Similarity

Translations and rotations are special types of similarity. In contrast to a Euclidean transformation, a similarity may also scale the objects that are mapped. A similarity leaves angles and ratios of lengths invariant. Combining similarities, rotations, and translations yields a similarity. Combining a similarity with a line reflection leads to a reflecting similarity that is not explicitly present in Cinderella but can be generated in this way.

#### Affine Transformations

Translations, line reflections, rotations, and similarities are all special kinds of affine transformation. Affine transformations do not alter ratios of lengths. However, angles are not invariant. Combining any of these transformations results in another affine transformation. Affine transformations have the particular property that they transform parallel lines to parallel lines.

#### Hyperbolic Transformations

If you switch to hyperbolic geometry (as described in the Geometries section), all transformations are interpreted in a hyperbolic fashion. In particular, you get hyperbolic translations and hyperbolic rotations. Combining them generates another hyperbolic transformation.

#### Elliptic Transformations

If you switch to elliptic geometry, all transformations are interpreted in an elliptic fashion. In particular, you get elliptic translations and elliptic rotations. Combining them generates another elliptic transformation.

#### Projective Transformations

All the previously described transformations are special kinds of projective transformation. Thus all of them can be combined freely, and the result will be a projective transformation.

#### Möbius transformations

Möbius transformations are not in general projective transformations. Furthermore, there is no easily representable supergroup of transformations that contains both Möbius transformations and projective transformations. Thus in Cinderella it is not permitted to compose Möbius transformations and projective transformations. For similar reasons it is not permitted to compose Möbius transformations and affine transformations.

However, Euclidean transformations are special kinds of Möbius transformations, and therefore it is perfectly permissible to combine them. It is also permitted to combine a Möbius transformation with a reflection or with a circle inversion. The characteristic property of Möbius transformations is that they map circles and lines to circles and lines.