I would like to find all matrices which commute with all $2\times2$ matrices. I started solving problem in this way:
1) I have this matrix $A$ with real numbers:
$$A=\left[\begin{array}{cc}a &b\\c &d\end{array}\right]$$
2) Matrix which commute with matrix $A$ is matrix $B$:
$$B = \left[\begin{array}{cc}e& f\\ g &h\end{array}\right]$$
3) When i solve the equation $AB=BA$, I get this:
$$\left[\begin{array}{cc}ae+bg&af+bh\\ce+dg&cf+dh\end{array}\right]=\left[\begin{array}{cc}ea+cf&eb+df\\ga+ch&gb+dh\end{array}\right]$$
How I can get the general look of wanted matrix?