# Projective Geometry/Classic/Projective Transformations/Transformations of the projective plane

Two-dimensional projective transformations are a type of automorphism of the projective plane onto itself.

Planar transformations can be defined synthetically as follows: point *X* on a "subjective" plane must be transformed to a point *T* also on the subjective plane. The transformations uses these tools: a pair of "observation points" *P* and *Q*, and an "objective" plane. The subjective and objective planes and the two points all lie in three-dimensional space, and the two planes can intersect at some line.

Draw line *l*_{1} through points *P* and *X*. Line *l*_{1} intersects the objective plane at point *R*. Draw line *l*_{2} through points *Q* and *R*. Line *l*_{2} intersects the projective plane at point *T*. Then *T* is the projective transform of *X*.

## Analysis[edit | edit source]

Let the *xy*-plane be the "subjective" plane and let plane *m* be the "objective" plane. Let plane *m* be described by

where the constants *m* and *n* are partial slopes and *b* is the *z*-intercept.

Let there be a pair of "observation" points *P* and *Q*,

Let point *X* lie on the "subjective" plane:

Point *X* must be transformed to a point *T*,

also on the "subjective" plane.

The analytical results are a pair of equations, one for abscissa *T _{x}* and one for ordinate

*T*:

_{y}There are (at most) nine degrees of freedom for defining a 2D transformation: *P _{x}*,

*P*,

_{y}*P*,

_{z}*Q*,

_{x}*Q*,

_{y}*Q*,

_{z}*m*,

*n*,

*b*. Notice that equations (12) and (13) have the same denominators, and that

*T*can be obtained from

_{y}*T*by exchanging

_{x}*m*with

*n*, and

*x*with

*y*(including subscripts of

*P*and

*Q*).

## Trilinear fractional transformations[edit | edit source]

Let

so that

Also let

so that

Equations (14) and (15) together describe the trilinear fractional transformation.

## Composition of trilinear transformations[edit | edit source]

If a transformation is given by equations (14) and (15), then such transformation is characterized by nine coefficients which can be arranged into a coefficient matrix

If there are a pair *T*_{1} and *T*_{2} of planar transformations whose coefficient matrices are and , then the composition of these transformations is another planar transformation *T*_{3},

such that

The coefficient matrix of *T*_{3} can be obtained by multiplying the coefficient matrices of *T*_{2} and *T*_{1}:

### Proof[edit | edit source]

Given *T*_{1} defined by

and given *T _{2}* defined by

then *T*_{3} can be calculated by substituting *T*_{1} into *T*_{2},

Multiply numerator and denominator by the same trinomial,

Group the coefficients of *x*, *y*, and 1:

These six coefficients of *T*_{3} are the same as those obtained through the product

The remaining three coefficients can be verified thus

Multiply numerator and denominator by the same trinomial,

Group the coefficients of *x*, *y*, and *1*:

The three remaining coefficients just obtained are the same as those obtained through equation (16). Q.E.D.

## Planar transformations of lines[edit | edit source]

The trilinear transformation given be equations (14) and (15) transforms a straight line

into another straight line

where *n* and *c* are constants and equal to

and

### Proof[edit | edit source]

Given *y = m x + b*, then plugging this into equations (14) and (15) yields

and

If *T _{y} = n T_{x} + c* and

*n*and

*c*are constants, then

so that

Calculation shows that

and

therefore

We should now obtain *c* to be

Add the two fractions in the numerator:

Distribute binomials in parentheses in the numerator, then cancel out equal and opposite terms:

Factor the numerator into a pair of terms, only one of them having the *numerus cossicus* (*x*). There is another numerus cossicus in the denominator. The objective now is to get both of these to cancel out.

Factor the numerator,

The terms with the numeri cossici cancel out, therefore

is a constant. Q.E.D.

Comparing *c* with *n*, notice that their denominators are the same. Also, *n* is obtained from *c* by exchanging the following coefficients:

There is also the following exchange symmetry between the numerator and denominator of *n*:

The numerator and denominator of *c* also have exchange symmetry:

The exchange symmetry between *n* and *c* can be chunked into binomials:

All of these exchange symmetries amount to exchanging pairs of rows in the coefficient matrix.

## Planar transformations of conic sections[edit | edit source]

A trilinear transformation such as *T* given by equations (14) and (15) will convert a conic section

into another conic section

### Proof[edit | edit source]

Let there be given a conic section described by equation (17) and a planar transformation *T* described by equations (15) and (16) which converts points *(x,y)* into points *(T _{x},T_{y})*.

It is possible to find an inverse transformation *T′* which converts back points *(T _{x},T_{y})* to points

*(x,y)*. This inverse transformation has a coefficient matrix

Equation (17) can be expressed in terms of the inverse transformation:

The denominators can be "dissolved" by multiplying both sides of the equation by the square of a trinomial:

Expand the products of trinomials and collect common powers of *T _{x}* and

*T*:

_{y}Equation (19) has the same form as equation (18).

What remains to do is to express the primed coefficients in terms of the unprimed coefficients. To do this, apply Cramer's rule to the coefficient matrix *M _{T}* to obtain the primed matrix of the inverse transformation:

where *Δ* is the determinant of the unprimed coefficient matrix.

Equation (20) allows primed coefficients to be expressed in terms of unprimed coefficients. But performing these substitutions on the primed coefficients of equation (19) it can be noticed that the determinant *Δ* cancels itself out, so that it can be ignored altogether.
Therefore

The coefficients of the transformed conic have been expressed in terms of the coefficients of the original conic and the coefficients of the planar transformation *T*. Q.E.D.

## Planar projectivities and cross-ratio[edit | edit source]

Let four points *A*, *B*, *C*, *D* be collinear. Let there be a planar projectivity *T* which transforms these points into points *A′*, *B′*, *C′*, and *D′*. It was already shown that lines are transformed into lines, so that the transformed points *A′* through *D′* will also be collinear. Then it will turn out that the cross-ratio of the original four points is the same as the cross-ratio of their transforms:

### Proof[edit | edit source]

If the two-dimensional coordinates of four points are known, and if the four points are collinear, then their cross-ratio can be found from their abscissas alone. It is possible to project the points onto a horizontal line by means of a pencil of vertical lines issuing from a point on the line at infinity:

The same is true for the ordinates of the points. The reason is that any mere rescaling of the coordinates of the points does not change the cross-ratio.

Let

Clearly these four points are collinear. Let

be the first half of a trilinear transformation. Then

The original cross-ratio is

It is not necessary to calculate the transformed cross-ratio. Just let

be a bilinear transformation. Then *S(x)* is a one-dimensional projective transformation. But *T _{x}(A)=S(A)*,

*T*,

_{x}(B)=S(B)*T*, and

_{x}(C)=S(C)*T*. Therefore

_{x}(D)=S(D)but it has already been shown that bilinear fractional transformations preserve cross-ratio. Q.E.D.

## Example[edit | edit source]

The following is a rather simple example of a planar projectivity:

The coefficient matrix of this projectivity *T* is

and it is easy to verify that *M _{T}* is its own inverse.

The locus of points described parametrically as describe a circle, due to the trigonometric identity

which has the same form as the canonical equation of a circle. Applying the projectivity *T* yields the locus of points described parametrically by which describe a hyperbola, due to the trigonometric identity

which has the same form as the canonical equation of a hyperbola. Notice that points and are fixed points.

Indeed, this projectivity transforms any circle, of any radius, into a hyperbola centered at the origin with both of its foci lying on the *x*-axis, and vice versa. This projectivity also transforms the *y*-axis into the line at infinity, and vice versa:

The ratio of infinity over infinity is indeterminate which means that it can be set to any value *y* desired.

This example emphasizes that in the real projective plane, *RP²*, a hyperbola is a closed curve which passes twice through the line at infinity. But what does the transformation do to a parabola?

Let the locus of points describe a parabola. Its transformation is

which is a hyperbola whose asymptotes are the *x*-axis and the *y*-axis and whose wings lie in the first quadrant and the third quadrant. Likewise, the hyperbola

is transformed by *T* into the parabola

- .

On the other hand, the parabola described by the locus of points is transformed by *T* into itself: this demonstrates that a parabola intersects the line at infinity at a single point.