[Math] does multiplication of singular matrix with some matrix result in singular matrix

linear algebramatrices

Suppose that there is singular (non-invertible) matrix $A$. If it gets multiplied by any square matrix $B$, would $AB$ be singular?

Best Answer

$A$ is singular iff there is some $x\neq 0$ such that $Ax = 0$.

Now consider $AB$. If $B$ is singular, there is some $x'\neq 0$ such that $Bx' = 0$, hence $AB x'=0$ and so $AB$ is singular. If $B$ is invertible, then let $x' = B^{-1} x$ (where $Ax = 0$), then $ABx' = Ax = 0$. Hence $AB$ is singular.