Matriceshard
0:00.0

Given A=(1002)A = \begin{pmatrix} 1 & 0 \\ 0 & 2 \end{pmatrix} and B=(3004)B = \begin{pmatrix} 3 & 0 \\ 0 & 4 \end{pmatrix}, compute the commutator [A,B]=ABBA[A, B] = AB - BA.