Let $\mathbf{A}$ and $\mathbf{B}$ be $n \times n$ matrices.
(a) Show that $|\mathbf{A B}|=0$ if and only if $|\mathbf{A}|=0$ or $|\mathbf{B}|=0$.
(b) Show that if $\mathbf{A B}=-\mathbf{B A}$ and $n$ is odd, then $\mathbf{A}$ or $\mathbf{B}$ is singular.