For two matrices $A$ and $B$ to be multiplied, the number of columns in $A$ must be equal to the number of rows in $B$.
Now, let's consider the product $BA$. For this product to be defined, the number of columns in $B$ must be equal to the number of rows in $A$.
Show more…