Step 1: Read the matrix size
Count rows first, then columns. This matrix has 2 rows and 2 columns.
Rows and columns
A matrix stores numbers in rows and columns. The size is written as rows by columns.
Detailed notes
Matrix operations are mostly size rules plus careful entry-by-entry arithmetic. Multiplication is the exception: it uses rows from the first matrix and columns from the second.
Count rows first, then columns. This matrix has 2 rows and 2 columns.
Addition only works when both matrices have the same size. Add each position to its matching position.
Subtraction also needs the same size. Keep the order: first matrix minus second matrix.
Each answer entry comes from one row and one column. Write each product-sum on its own line so the row-column matches stay visible.
There is no direct matrix division. If B has an inverse, divide by B by multiplying by B inverse.
Before calculating, check the sizes. This prevents most matrix mistakes.