If you want to add or subtract any two matrices, make sure these two matrices have the same order
That is,
If A and B are two matrices and to add them, if we have order of A as m × n, then order of B must be m × n.
We have matrices X and Y, where
According to convention,
If a matrix has M rows and N columns, the order of matrix is
(i). We need to find the X + Y.
Let us first find the order of X and Y.
Order of X:
Number of rows = 2
M = 2
Number of columns = 3
N = 3
Then, order of matrix X =
Order of matrix X =
Order of Y:
Number of rows = 2
M = 2
Number of columns = 3
N = 3
Then, order of matrix Y =
Order of matrix Y =
Since, order of matrix X = order of matrix Y
Matrices X and Y can be added.
So,
(ii). We need to find 2X - 3Y.
Let us calculate 2X.
We have,
Also,
Now subtract 3Y from 2X.
We need to find matrix Z, such that X + Y + Z is a zero matrix.
That is,
X + Y + Z = 0
Or,
Z = -X - Y
Or,
Z = -(X + Y)
We have already found X + Y in part (i).
So, from part (i):