Given : A = \(\begin{bmatrix}
0& 1&-5 \\[0.3em]
2 & 4 &0\\[0.3em]
\end{bmatrix}\) and B = \(\begin{bmatrix}
1& 3 \\[0.3em]
-1 & 0 \\[0.3em]
0 & 5
\end{bmatrix}\)
Matrix A is of order 2 x 3 and Matrix B is of order 3 x 2
To find : matrices AB and BA
Formula used :
Where cij = ai1b1j + ai2b2j + ai3b3j + ……………… + ainbnj
If A is a matrix of order a x b and B is a matrix of order c x d ,
then matrix AB exists and is of order a x d ,if and only if b = c
If A is a matrix of order a x b and B is a matrix of order c x d ,
then matrix BA exists and is of order c x b , f and only if d = a
For matrix AB, a = 2,b = 3,c = 3,d = 2 ,matrix AB exists and is of order 2 x 2, as
b = c = 3
For matrix BA, a = 2,b = 3,c = 3,d = 2 ,matrix BA exists and is of order 3 x 3, as d = a = 2