We have the given matrices A, B and C, such that
To multiply two given 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.
(i). We need to verify: (AB)C = A(BC)
Take L.H.S = (AB)C
First, compute AB.
Multiply 1st row of matrix A by matching members of 1st column of matrix B, then finally sum them up.
Multiply 1st row of matrix A by matching members of 2nd column of matrix B, then finally sum them up.
Similarly, let us repeat for the rest of the elements.
Multiply the 1st row of matrix D by matching members of the 1st column of matrix C, then finally sum them up.
Multiply the 1st row of matrix D by matching members of the 2nd column of matrix C, then finally sum them up.
Similarly, let us repeat for the rest of the elements.
Multiply the 1st row of matrix B by matching members of the 1st column of matrix C, then finally sum them up.
Multiply the 1st row of matrix B by matching members of the 2nd column of matrix C, then finally sum them up.
Similarly, let us repeat for the rest of the elements.
Multiply the 1st row of matrix A by matching members of the 1st column of matrix E, then finally sum them up.
Multiply the 1st row of matrix A by matching members of the 2nd column of matrix E, then finally sum them up.
Similarly, let us fill in other elements.
We need to verify: A(B + C) = AB + AC
ii) Take L.H.S.: A(B + C)
Now, by Adding B + C, we get:
Multiply 1st row of matrix A by matching members of 1st column of matrix F, then finally sum them up.
Multiply 1st row of matrix A by matching members of 2nd column of matrix F, then finally sum them up.
Similarly, let us fill for other elements.
Multiply 1st row of matrix A by matching members of 1st column of matrix B, then finally sum them up.
Multiply 1st row of matrix A by matching members of 2nd column of matrix B, then finally sum them up.
Similarly, let us fill for other elements.
Multiply the 1st row of matrix A by matching members of the 1st column of matrix C, then finally sum them up.
Multiply the 1st row of matrix A by matching members of the 2nd column of matrix C, then finally sum them up.
Similarly, let us fill in the other elements.
If two matrices have the same order, they can be added or subtracted.