The formula from Euclidean Transformation expresses the rotation and translation of Euclidean space, but this form gets messy if you’re doing multiple transforms. For example, two transforms and would yield:
So the transform from to would be:
which will get even messier if we use more transformations. Thus, we introduce homogeneous coordinates and the Transform Matrix, rewriting to:
We add at the end of the 3D vector and turn it into a 4D vector (called homogeneous coordinates). This way, the rotation and translation can be written in one matrix, making the whole thing linear. Matrix is called the transform matrix.
If we call the homogeneous coordinates of such that , then the combination of the transforms has a nice form: