I have this proof but did not understand the following step: $$ \det(xI - M^{-1} A M)= \det(M^{-1} xI M - M^{-1} A M)$$
The author said in the comments that it is due to "$xM$ commutes with the identity matrix $I$"
What does it mean?
I have this proof but did not understand the following step: $$ \det(xI - M^{-1} A M)= \det(M^{-1} xI M - M^{-1} A M)$$
The author said in the comments that it is due to "$xM$ commutes with the identity matrix $I$"
What does it mean?
$A$ commutes with $B$ if $AB=BA$. In this case, you have $$(xM)I = x(MI) = xM=x(IM)=I(xM)$$
so $xM$ commutes with $I$.
Because it commutes, you have $$xI=xI\cdot I = x(M^{-1}M)I =xM^{-1}(MI) = xM^{-1} IM=M^{-1}xI M$$
I think the text should say that $xI$ (the matrix with $x$ on the diagonal and zeros elsewhere) commutes with $M$, since that is what is being used. Indeed once you know this fact you have $$ M^{-1}(xI)M=M^{-1}M(xI)=xI $$ which is what is (in the opposite direction) used. But the fact that $xI$ commutes with $M$ is obvious: computing $(xI)M$ means multiplying every row of $M$ by the indeterminate $x$, while computing $M(xI)$ means multiplying every column of $M$ by the indeterminate $x$, which obviously has the same result.