The Timpson Lyceum · Linear Algebra (2026)
2.7 Exercises
Problem sheet · 23 points · 4 extra credit
Applications to Computer Graphics
Throughout, a point in the plane is represented in homogeneous coordinates by the column , and a D transformation is applied by left-multiplying by a matrix.
1. (3 pts) Write the homogeneous matrix for the translation by , and use it to find the image of the point .
2. (3 pts) Write the homogeneous matrix for a counterclockwise rotation about the origin, and compute the images of and of a general point .
3. (3 pts) A figure is first rotated counterclockwise about the origin, then translated by . Write the single matrix for this composite transformation, apply it to , and explain why performing the translation first would generally give a different result.
4. (2 pts) Write the homogeneous matrix for the scaling that multiplies -coordinates by and -coordinates by , and find the image of .
5. (3 pts) The shear is a signature computer-graphics operation. Write its homogeneous matrix , and apply it to the four vertices , , , of the unit square. Then, using matrix composition, write the single matrix for this shear followed by a counterclockwise rotation about the origin, and use it to find the image of .
6. (3 pts) State whether each is true or false, and justify.
(a) Every D rotation, scaling, and translation can be represented by a single matrix acting on homogeneous coordinates.
(b) The homogeneous coordinate of an ordinary point of the plane is always in the third entry.
(c) Composing two transformations corresponds to multiplying their matrices, and matrix order does not matter because both are rigid motions.
7. (3 pts) Explain why a nonzero translation of is not a linear transformation of , and explain how homogeneous coordinates let it be represented by a matrix product anyway.
8. (3 pts) In D graphics a point is written as . Write the matrix for a counterclockwise rotation about the -axis, and compute the image of .
9. (4 pts ••) Derive the homogeneous matrix for a rotation about the point (not the origin), by composing a translation to the origin, a rotation, and a translation back. Then apply it to the point .