Properties of matrix operations
Ordinary numbers obey a familiar set of rules — you can add them in any order, group multiplications however you like, and expand brackets freely. Matrices are built from addition, scalar multiplication and multiplication too, so a natural question follows: do the same rules survive the move from single numbers to whole grids of numbers? Mostly, yes. Addition, scalar multiplication, and the associative and distributive laws for multiplication all carry over from ordinary algebra to matrices, whenever the orders of the matrices involved make each operation defined. But one familiar rule spectacularly fails: matrix multiplication is not commutative, so and can be entirely different matrices, or even one can exist while the other does not. This article states exactly which properties hold, shows why the ones that hold are true, and builds intuition for why commutativity in particular breaks down — the single most exam-tested fact in this topic.
Matrix addition and scalar multiplication obey all the usual commutative, associative and distributive laws, and matrix multiplication is associative and distributive over addition, but matrix multiplication is generally not commutative () and does not force or .
The core idea
For matrices , , of orders that make every operation below defined, and scalars , the following properties hold.
Addition behaves exactly like ordinary addition. It is commutative and associative, has an identity (the zero matrix ) and every matrix has an additive inverse:
where: is the zero matrix of the same order as , and is the matrix obtained by negating every entry of . These hold entry by entry, because adding matrices just adds ordinary numbers position by position, and ordinary number addition already has all these properties.
Scalar multiplication distributes cleanly, both over matrix addition and over sums of scalars:
where: are real numbers, and means every entry of multiplied by . Again these follow directly from the distributive and associative laws for ordinary numbers, applied one entry at a time.
Matrix multiplication is associative and distributive, but not commutative. For matrices of orders that make the products defined,
where: is the identity matrix of the appropriate order, which behaves like the number for multiplication. But in general
even when both products exist and have the same order — this is usually demonstrated with matrices, as in the derivation below. A second surprise follows from the same asymmetry: does not force or , unlike the zero-product rule you trust for ordinary numbers. The reason the "good" properties survive is that they are proved using only the entry-by-entry recipes for addition and multiplication, and those recipes behave consistently — associativity and distributivity for matrices reduce, entry by entry, to associativity and distributivity for the real numbers inside them. Commutativity fails specifically because the row-by-column rule defining — multiply row of by column of and sum — treats and asymmetrically. There is no reason rows of against columns of should give the same numbers as rows of against columns of , and generally they do not.
The goal is to prove, using nothing beyond the entry-by-entry definitions of matrix addition and matrix multiplication, that for any matrices , , whose orders make the sum and both products defined, and to see exactly why the proof works entry by entry rather than needing any special matrix trick.
Step 1. Set up the entries. Let be and let be , so is also and is a well-defined matrix. Write for the entry of , and for the entries of and .
Step 2. Write the entry of the left side using the definition of matrix multiplication. By definition, , since the entry of is simply .
Step 3. Expand using ordinary algebra on numbers. Each term , because are just real numbers and real-number multiplication distributes over addition. Summing over , .
Step 4. Recognise the right side. The two sums are exactly and by the same definition of matrix multiplication, so for every . Since every entry matches, . The proof used only that real-number multiplication distributes over addition, applied once inside each sum — the matrix property is inherited directly from the number property, exactly as with the other "surviving" laws.
Worked example
Verify the distributive property for
and then use the same and to check whether .
Step 1. Compute , adding entry by entry.
Step 2. Compute : entry is ; is ; is ; is . So .
Step 3. Compute and separately. : ; ; ; , so . : ; ; ; , so .
Step 4. Add: , exactly matching from Step 2 — the distributive property holds here, confirming the general proof above.
Step 5. Now check commutativity with the same and . Compute : entry ; ; ; , so . Comparing with from Step 3, the two matrices are clearly different. Answer: confirms the distributive law, while confirms multiplication is not commutative for these matrices.
Competitive stretch
The same also illustrate why cancellation fails: since , an equation like cannot generally be rearranged to "cancel" and compare with on the wrong side — the side on which a matrix multiplies matters, and swapping sides silently assumes commutativity that matrices do not have.
Common traps
- Assuming out of habit from ordinary arithmetic — always check with an explicit example, as done above, before relying on commutativity.
- Cancelling a matrix from both sides of an equation like to conclude — this is invalid in general unless is known to be invertible.
- Applying associativity or distributivity without first confirming the relevant products or sums are actually defined, i.e. that the orders match up correctly.
- Treating as meaning the identity matrix behaves like the number in every respect — it does not restore commutativity for other matrices.
Ask the tutor: Want to see why associativity of matrix multiplication holds in general, or try building your own counterexample for ? Ask the AI tutor to work through it with you.
Why does matrix addition keep all the nice properties but matrix multiplication does not?
Addition is defined entry by entry: you simply add the corresponding numbers in each position, so every property of ordinary number addition — commutativity, associativity, an identity, inverses — carries straight over. Multiplication is defined differently: the entry of mixes an entire row of with an entire column of . That row-times-column recipe treats and asymmetrically, so there is no reason swapping their order should give the same numbers, and usually it does not.
Do I need to memorise a proof for AB not equal to BA, or is a counterexample enough?
For CBSE Class 12, a clear numerical counterexample with specific matrices is exactly what is expected and what appears in the syllabus — you are not asked to prove noncommutativity in general, only to demonstrate that it can fail. The worked example above, where for a specific , is the standard way to answer such a question. Keep the arithmetic careful and show both products fully.
If AB = O does not mean A = O or B = O, can I ever cancel matrices in an equation?
Only under an extra condition: if is invertible, you can multiply both sides of by on the left to get , because cancels cleanly. Without knowing is invertible, cancellation is not valid, exactly as with nonzero shows — matrices can multiply to zero without either factor being zero, so there is no general "divide both sides" move the way there is for ordinary numbers.