# Result of multiplying a scaling matrix with a rotation matrix

I don't understand why if you multiply a scaling matrix with rotation matrix that the resulting matrix, when applied to a shape like an ellipse, only gets scaled and does not get rotated.

$$\begin{bmatrix} 3.7 & 0 \\ 0 & 2.1 \end{bmatrix} \times \begin{bmatrix} 0.9510 & -.3090 \\ 0.3090 & 0.9510 \end{bmatrix}$$

If you do the matrix multiplication the opposite way it does do both when the resulting matrix is applied to an ellipse.

-
Could you give an example? –  Memming May 16 '13 at 2:44
This is obviously false - take the unit scale matrix for example. –  nbubis May 16 '13 at 2:49

The only way you could be "right" is for a rotation with $\theta=n\pi/2$ ($n \in \mathbb{Z})$. If $n$ is odd you need a scaling that "reverses" the shape of the ellipse, in such a way that the major axis becomes the minor axis, and the minor axis becomes the major axis, with the same proportions as the original ellipse.