# Introduction to Projective Geometry Solutions 5.13

## Euclidean Transformations

A 8 minute read, posted on 27 Sep 2019

Tags computer vision, projective geometry, problem solution

Please read this introduction first before looking through the solutions. Here’s a quick index to all the problems in this section.

#### 1. Prove Theorem 2

Composing two general euclidean transformations, we get a transformation of the form below. $$\begin{pmatrix} a_{11}b_{11} - a_{12}b_{12}k & a_{12}b_{11}k + a_{11}b_{12} & a_{12}b_{23}k + a_{11}b_{13} + a_{13} \\ -(a_{11}b_{12}k + a_{12}b_{11}) & a_{11}b_{11} - a_{12}b_{12}k & a_{11}b_{23}k - a_{12}b_{13}k + a_{23} \\ 0 & 0 & a_{33}b_{33} \end{pmatrix}$$

This is clearly a similarity transformation.

Next, let’s consider the fraction relevant to euclidean transformations $$\frac{(a_{11}b_{11} - a_{12}b_{12}k)^2 + (a_{11}b_{12}k + a_{12}b_{11})^2}{a^2_{33}b^2_{33}}$$

Expanding this we get $$\frac{(a_{11}^2 + a_{12}^2)(b_{11}^2 + b_{12}^2)}{a_{33}^2b_{33}^2}$$ $$= \frac{(a_{11}^2 + a_{12}^2)}{a_{33}^2}\frac{(b_{11}^2 + b_{12}^2)}{b_{33}^2}$$

As the value of each of these terms is 1, the value of the whole fraction will also be 1. Thus, two euclidean transformations are closed under the operation of composition.

The inverse of a general euclidean transformation has the form $$\frac{1}{a_{33}k(a_{11}^2 + a_{12}^2)}\begin{pmatrix} a_{11}a_{33}k & -a_{12}a_{33} & a_{12}a_{23} - a_{11}a_{13}k \\ a_{12}a_{33}k & a_{11}a_{33} & -(a_{12}a_{13}k + a_{11}a_{23}) \\ 0 & 0 & k(a_{11}^2 + a_{12}^2) \end{pmatrix}$$

Let’s consider the fraction relevant to euclidean transformations $$\frac{k^2a_{33}^2(a_{11}^2 + a_{12}^2)}{k^2(a_{11}^2 + a_{12}^2)^2}$$ $$= \frac{a_{33}^2}{(a_{11}^2 + a_{12}^2)}$$

The value of this is clearly 1. Hence the inverse is also an euclidean transformation.

Finally, it is obvious, from the rules of matrix multiplication, that the composition of euclidean transformations is associative and that the identity is included among the euclidean transformations.

Hence the set of all euclidean transformations is a group under the operation of composition.

#### 2. Are there euclidean transformations of all six types? Give an example of each possible type.

##### Type I

$a_{11} \ne 0$, $a_{12} \ne 0$ and $a_{11}^2 + a_{12}^2 = a_{33}^2$.

$\begin{pmatrix} a_{11} & a_{12} & a_{13} \\ a_{12} & -a_{11} & a_{23} \\ 0 & 0 & a_{33} \end{pmatrix}$

##### Type II

$a_{23} \ne 0$

$\begin{pmatrix} a_{11} & 0 & a_{13} \\ 0 & -a_{11} & a_{23} \\ 0 & 0 & -a_{11} \end{pmatrix}$

##### Type III

$\begin{pmatrix} a_{11} & 0 & 0 \\ 0 & a_{11} & 0 \\ 0 & 0 & -a_{11} \end{pmatrix}$

##### Type IV

As a euclidean transformation is also a similarity and there is no similarity transformation of type IV, there can be no euclidean transformation of type IV.

##### Type V

$a_{13} \ne 0, a_{23} \ne 0$

$\begin{pmatrix} a_{11} & 0 & a_{13} \\ 0 & a_{11} & a_{23} \\ 0 & 0 & a_{11} \end{pmatrix}$

##### Type VI

$\begin{pmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{pmatrix}$

#### 3. Prove Theorem 1 using Theorem 1, Sec. 5.11, and the result of Exercise 9, Sec. 5.11.

The entire field of trigonometry attests to the fact that the angle made by two lines is a function of the lengths of sides of a right triangle that contains the angle. Hence, as euclidean transformations preserve distances, they also preserve angles, which further imply that euclidean transformations are similarities.

This means the matrix of transformation for a euclidean transformation by Theorem 1, Sec. 5.11 takes the form $$\begin{pmatrix} a_{11} & a_{12} & a_{13} \\ -ka_{12} & ka_{11} & a_{23} \\ 0 & 0 & a_{33} \end{pmatrix}$$

where $a_{ij}$ real, $k = \pm1$.

By the result of Exercise 9, Sec. 5.11, we know that the length of a general segment is transformed by a factor of $\sqrt{a_{11}^2 + a_{12}^2}$ under a similarity transform with $a_{33} = 1$. Combining this with the fact that this factor is 1 in a euclidean transformation, we have

$(\frac{a_{11}}{a_{33}})^2 + (\frac{a_{12}}{a_{33}})^2 = 1$ $\implies a_{11}^2 + a_{12}^2 = a_{33}^2$

All these taken together form Theorem 1.

#### 4. Show that every euclidean transformation induces an involution on the ideal line which is the identity, or has $I:(1,i,0)$ and $J:(1,-i,0)$ as its fixed points, or has $I$ and $J$ as a pair of mates. Determine the geometric nature of the euclidean transformations with each of these properties.

I might be wrong here but I think this question is incorrect for two reasons.

• Every euclidean transformation does not induce an involution on the ideal line.
• The identity is not an involution; it is a transformation of period 1.

I think the question should instead be as follows.

Show that every euclidean transformation that induces an involution on the ideal line has $I:(1,i,0)$ and $J:(1,-i,0)$ as its fixed points, or has $I$ and $J$ as a pair of mates. Determine the geometric nature of the euclidean transformations with each of these properties.

We know that a euclidean transformation is affine and hence leaves the ideal line invariant. Furthermore, as the last coordinate of every point on the ideal line is $0$, the projectivity induced on the ideal line is given by

$$\begin{pmatrix} a_{11} & a_{12} \\ -ka_{12} & ka_{11} \end{pmatrix}$$

with $(1, 0, 0)$ and $(0, 1, 0)$ as the base points.

From Theorem 5, Sec. 4.8, we know that this projectivity can be an involution only if $a_{11} + ka_{11} = 0$. For this to be true, either $a_{11} = 0$ or $k = -1$.

If $k = -1$, the transformation is an indirect similarity and from Exercise 4, Sec. 5.11 we know that an indirect similarity interchanges the circular points at infinity. This will be a rotation about the origin followed by a translation and a reflection.

If $a_{11} = 0$ and $k = 1$, the transformation is a direct similarity and again from Exercise 4, Sec. 5.11 we know that a direct similarity leaves the circular points at infinity invariant. This will be a rotation of $90^\circ$ about the origin followed by a translation.

#### 5. Show that the composition of two reflections in parallel lines is a translation in the direction perpendicular to the two lines.

Without loss of generality, let the two lines be $x = 0$ and $x = d$. Then the composition of matrices of reflections in these lines will be

$$\begin{pmatrix} 1 & 0 & 0 \\ 0 & -1 & 0 \\ 0 & 0 & 1 \end{pmatrix}\begin{pmatrix} 1 & 0 & 0 \\ 0 & -1 & 2d \\ 0 & 0 & 1 \end{pmatrix} = \begin{pmatrix} 1 & 0 & 0 \\ 0 & 1 & -2d \\ 0 & 0 & 1 \end{pmatrix}$$

This is clearly a translation in the direction parallel to the $y$ axis which is perpendicular to the direction of the lines chosen as the axis of reflection.

#### 6. Show that the composition of two reflections in lines which intersect in a finite point is a rotation about the point of intersection of the lines.

Without loss of generality, we can take the point of intersection of the lines to be the origin. This makes both transformations Householder reflections1 implying that $a_{13} = a_{23} = b_{13} = b_{23} = 0$ and $k = -1$ for both transformations. Taking $a_{11} = cos(\theta), a_{12} = sin(\theta), b_{11} = cos(\omega), b_{12} = sin(\omega)$, the composition of the two reflections will be

$$\begin{pmatrix} cos(\theta) & sin(\theta) & 0 \\ sin(\theta) & -cos(\theta) & 0 \\ 0 & 0 & 1 \end{pmatrix}\begin{pmatrix} cos(\omega) & sin(\omega) & 0 \\ sin(\omega) & -cos(\omega) & 0 \\ 0 & 0 & 1 \end{pmatrix}$$ $$= \begin{pmatrix} sin(\theta)sin(\omega) + cos(\theta)cos(\omega) & cos(\theta)sin(\omega) - sin(\theta)cos(\omega) & 0 \\ sin(\theta)cos(\omega) - cos(\theta)sin(\omega) & sin(\theta)sin(\omega) + cos(\theta)cos(\omega) & 0 \\ 0 & 0 & 1 \end{pmatrix}$$ $$= \begin{pmatrix} cos(\omega - \theta) & sin(\omega - \theta) & 0 \\ -sin(\omega - \theta) & cos(\omega - \theta) & 0 \\ 0 & 0 & 1 \end{pmatrix}$$

which is a rotation of $\omega - \theta$ around the origin as asserted.

#### 7. What is the composition of two reflections in distinct points?

Reflection about a point is equivalent to a rotation of $180^\circ$ about the point2. Using the form of the matrix for a rotation of $180^\circ$ about an arbitrary point that we derived in Exercise 10, Sec. 5.11, we can write the composition of two reflections in distinct points as follows. $$\begin{pmatrix} -1 & 0 & a_{13} \\ 0 & -1 & a_{23} \\ 0 & 0 & 1 \end{pmatrix}\begin{pmatrix} -1 & 0 & b_{13} \\ 0 & -1 & b_{23} \\ 0 & 0 & 1 \end{pmatrix}$$ $$= \begin{pmatrix} 1 & 0 & a_{13} - b_{13} \\ 0 & 1 & a_{23} - b_{23} \\ 0 & 0 & 1 \end{pmatrix}$$

which is clearly a translation in the direction determined by the centers of reflection/rotation.

#### 8. Under what conditions will a euclidean transformation be of period 2?

As euclidean transformations are a subgroup of similarity transformations and as the type of similarities of period 2 are also euclidean, those are the only type of euclidean transformations of period 2.

As per Exercise 10, Sec. 5.11, these are rotations of an angle of $180^\circ$ about an arbitrary point and reflection about an arbitrary axis.

#### 9. Under what conditions will a euclidean transformation be of period 3?

A euclidean transformation is the composition of rotations, translations and reflections. As translations and reflections can’t have periods of 3, the euclidean transformation having a period of 3 must be a rotation. Rotations that have a period of 3 are rotations of $n\frac{360}{3}^\circ = n120^\circ$.

#### 10. Under what conditions will two euclidean transformations commute?

For two general euclidean transformations, with matrices $A$ and $B$, to commute the following must hold.

$k = 1$

$a_{12}b_{23} + a_{11}b_{13} + a_{13} = b_{12}a_{23} + b_{11}a_{13} + b_{13}$

$a_{11}b_{23} - a_{12}b_{13} + a_{23} = b_{11}a_{23} - b_{12}a_{13} + b_{23}$

For examples of commuting euclidean transformations, please see Commuting Isometries.

1. Wikipedia. Householder Transformation. https://en.wikipedia.org/wiki/Householder_transformation. [return]
2. Wikipedia. Point Reflections, Examples. https://en.wikipedia.org/wiki/Point_reflection#Examples. [return]