If I want to enlarge a shape, $A$, by scale factor $k$ about $\left(0,0\right) $ I multiply each point (in the form $\begin{bmatrix}x\\y\end{bmatrix}$) by $kI$.
However, I can't work out a general form for having the centre of enlargement at any other point. I managed to work out that $$k\begin{bmatrix}-1 & 2\\2 & -1\end{bmatrix}$$ is having the centre at $\left(1,1\right) $ but I haven't managed to get further than that.
Is there any general form for this? If so, how is it calculated?
HINT
So you map $(x,y)$ to $$ \begin{pmatrix} k(x-a)+a \\ k(y-b)+b \end{pmatrix} = \begin{pmatrix} kx+ (1-k)a \\ ky + (1-k)b \end{pmatrix} $$