Linear Algebra – Find All Matrices That Commute with $\left(\begin{smallmatrix}2&3\\1&4\end{smallmatrix}\right)$

linear algebramatrices

Find all $2\times 2$ matrices that commute with

$$\left( \begin{array}{cc}
2 & 3 \\
1 & 4 \end{array} \right)$$

My progress:

I know that a square matrix commutes with itself, the identity matrix of that order, the null matrix of that order and any scalar matrix of that order.

The answer has been given as:

$$\left( \begin{array}{cc}
m & 3n \\
n & m+2n \end{array} \right)$$

I don't understand how they're getting that form. Can someone please explain?

Best Answer

Let's call your matrix $$A = \left( \begin{array}{cc} 2 & 3 \\ 1 & 4 \end{array} \right)$$

We want a matrix $X_{2\times 2} = \begin{pmatrix} a & b\\ c&d\end{pmatrix}$ such that $AX = XA$.

$$AX = \begin{pmatrix} 2a + 3c & 2b+3d\\ a + 4c&b+4d\end{pmatrix}$$

$$XA = \begin{pmatrix} 2a + b&3a + 4b\\2c+d & 3c+4d\end{pmatrix}$$

Now you have a system of equations in four variables:

$$2a + 3c = 2a + b \implies b = 3c$$

$$2b+3d = 3a + 4b$$

$$a + 4c = 2c + d$$

$$b+4d= 3c+4d$$

Solve the system of equations. (Note, if you do Gaussian Elimination, you'll have two of the four rows all zero.)

Related Question