If possible, find BA and AB, where
We are given matrices A and B, such that
We are required to find BA and AB, if possible.
To carry out the multiplication of matrices A and B, the number of columns in A must equal the number of rows in B. Thus, if A is an m x n matrix and B is an r x s matrix, n = r.
Let us check for BA.
If a matrix has M rows and N columns, the order of matrix is M × N.
Order of B:
Number of rows = 3
⇒ M = 3
Number of columns = 2
⇒ N = 2
Then, order of matrix B = M × N
⇒ Order of matrix B = 3 × 2
Order of A:
Number of rows = 2
⇒ M = 2
Number of columns =3
⇒ N = 3
Then, order of matrix A = M × N
⇒ Order of matrix A = 2 × 3
Here,
Number of columns in matrix B = Number of rows in matrix A = 2
So, BA is possible.
Let us check for AB.
Here,
Number of columns in matrix A = Number of rows in matrix B = 3
So, AB is also possible.
Let us find out BA.
Multiply 1st row of matrix B by matching members of 1st column of matrix A, then finally end by summing them up.
Multiply 1st row of matrix B by matching members of 2nd column of matrix A, then finally end by summing them up
Similarly, let us calculate in the matrix itself.
Now, let us find out AB.
Multiply 1st row of matrix A by matching members of 1st column of matrix B, then finally end by summing it up.
Multiply 1st row of matrix A by matching members of 2nd column of matrix B, then finally end by summing it up.
Similarly, let us calculate in the matrix itself.