I've been stuck on a problem. I am given two matrices, $A$ and $B$ which are $7$ by $7$, but I think the size of the matrices shouldn't matter that much in this problem.
The question asks when I can be sure of the existence of a matrix $C$ so that we have
$$AC = B$$
First I tried to think about the determinant of $A$. If the determinant of $A$ isn't $0$ then $A$ is invertible and I can multiply it by the inverse $C$ to get $B$. However, I think $A$ and $B$ are given randomly in this problem. This means that $A$ and $B$ may look very different from each other and so I can't find a matrix that $AC = B$.
The other possible answer choices in my textbook are $C$ exists if $B$ is invertible, $A$ is triangolar, and $B$ is diagonal. I have also been looking at the Binet theorem which says $\det(AB) = \det(A)\cdot\det(B)$ but I don't think that matters too much here.
Any hints?