Addition and subtraction of matrices is defined only for matrices of equal order; the sum (difference) of matrices A and B is the matrix obtained by adding (subtracting) the elements in corresponding positions of A and B.