Read · 1 min
Given a point and a scale factor , a dilation or homothety is a transformation that maps each point in space to a point such that .
To express a dilation as a linear transformation and thus as a matrix, one should first translate the center of homothety to the origin, perform a linear transformation, and then translate the center of homothety back to its original location. This is necessary because in a linear transformation, the origin always maps to itself.
Anyway, let us assume that the origin is our center of homothety in -dimensional space.
Suppose that the scale factor is , and that we have a point .
Let us solve for our point : Clearly, the vector for is simply times the vector for . Thus, the matrix for the transformation should do nothing but multiply the vector by .
But wait! We already know a matrix that does nothing; namely , the identity matrix! Moreover, to multiply the vector with the scalar , we can just multiply the matrix by the scalar !
Thus, the matrix for a dilation with center at the origin and scale factor is simply :