3

How could I notate a matrix rotation?

Example: $ A = \begin{pmatrix} a & b \\ c & d \end{pmatrix},\:\:\: A_{\text{rotated}} = \begin{pmatrix} c & a \\ d & b\end{pmatrix}$.

Notice the whole matrix is "rotated" clockwise. Is there any notation for this, and anyway to compute it generally via basic matrix operations such as addition and multiplication or other?

2 Answers2

4

Your rotated matrix is $$A^t\pmatrix{0&1\\1&0}.$$

Angina Seng
  • 158,341
3

A bit more generally, how does one express the actions of $D_4$ on a square matrix? The transpose expresses a flip about the main diagonal. Multiplying on the left by the matrix $$F = \left(\begin{matrix} 0 & 0 & \cdots & 1 \\ \vdots & \vdots & \ddots & \vdots \\0 & 1 & \cdots & 0 \\1 & 0 & \cdots & 0 \\ \end{matrix}\right)$$ expresses a flip about the vertical axis. These two operations generate $D_4$. In particular, clockwise rotation of a matrix $A$ may be expressed as $A^T F$.

Jim Ferry
  • 2,323