The Order of a Matrix and How to Add Matrices
Rows before columns, and why that matters. When two matrices can be added, how to add them entry by entry, what scalar multiplication does, and why a 2 x 3 and a 3 x 2 matrix can never be summed.
Rows before columns, and why that matters. When two matrices can be added, how to add them entry by entry, what scalar multiplication does, and why a 2 x 3 and a 3 x 2 matrix can never be summed.
Before you can do anything with two matrices, you have to know their order — how many rows and how many columns each one has. For addition, the order is not a detail: it is the whole condition. Two matrices can be added only when their orders match exactly.
The order of a matrix is written rows × columns — rows first, always. Count across for rows, down for columns:
This has 2 rows and 3 columns, so its order is 2 × 3. Note that 2 × 3 and 3 × 2 describe genuinely different shapes — the order is not just a pair of numbers you can swap.
A matrix with the same number of rows as columns is called a square matrix. One with a single row is a row matrix; one with a single column is a column matrix.
Two matrices can be added only if they have the same order. If the orders differ, the sum is simply undefined — there is no partial answer, no convention for filling gaps.
The rule itself is then straightforward: add the entries that occupy the same position. The result has the same order as the two matrices you started with.
Find , where
Subtraction follows the same position-by-position rule, and needs the same matching orders. Using the matrices above:
Multiplying by a single number (a scalar) has no order restriction at all — multiply every entry:
Can be found, where
is the 2 × 3 matrix above and
Having the same number of entries is not enough. Both matrices hold six numbers, but they are arranged differently, and the arrangement is what addition depends on.
Find , where
is as above and
.
Matrix addition behaves much like ordinary addition. Matrix multiplication, by contrast, does not — there the order of the factors matters a great deal.