the Why it is necessary to know the dimensions of two matrices before attempting to add or multiply them
This row and column of the matrix must have the same number of entries, otherwise, the set of matrices is not finite for addition or multiplication. Only matrices having the same number of rows and columns can be added or multiplied.
example of addition matrices