Why A Times B Is Not Always B Times A for Matrices
Multiply conformable matrices and use their associative and distributive laws, see why AB and BA differ and how two non-zero matrices can multiply to zero, apply transpose rules, and split any square matrix into symmetric and skew symmetric parts.
What changes when matrices are multiplied instead of added?
Adding matrices works entry by entry, but multiplying them combines rows of one matrix with columns of the other. That one change makes the order matter.
This part covers matrix multiplication, why it is not commutative, the transpose, and symmetric and skew symmetric matrices with the uniqueness of the inverse.
This part covers matrix multiplication, why it is not commutative, the transpose, and symmetric and skew symmetric matrices with the uniqueness of the inverse.
How do you multiply two matrices, and which properties does matrix multiplication follow?
**A product exists only when the number of columns of equals the number of rows of , and each entry of is a row of multiplied entry by entry with a column of and added; matrix multiplication is associative and distributive over addition.
The rule.** If is and is , then is , with
Worked example. Let and .
For instance, row 1 with column 2 gives .
Properties, whenever the products are defined:
- Associative —
- Distributive — and
An everyday example. A canteen's order matrix of idli and dosa plates for each class, multiplied by a price column, gives every class's bill in one step.
The substance. **A matrix can multiply a matrix, but not the other way round** — whether a product exists depends on the order.
The rule.** If is and is , then is , with
Worked example. Let and .
For instance, row 1 with column 2 gives .
Properties, whenever the products are defined:
- Associative —
- Distributive — and
An everyday example. A canteen's order matrix of idli and dosa plates for each class, multiplied by a price column, gives every class's bill in one step.
The substance. **A matrix can multiply a matrix, but not the other way round** — whether a product exists depends on the order.
Why is matrix multiplication not commutative, and how can two non-zero matrices multiply to zero?
**In general , even when both products exist, and two non-zero matrices can have a zero product — so neither the commutative law nor the rule that a zero product needs a zero factor holds for matrices.
Worked example — order matters.** With the same and :
Worked example — a zero product.
Consequences:
- , which equals only if
- From you cannot cancel to conclude in general
An everyday example. Putting on socks and then shoes is not the same as shoes and then socks — as with matrices, the order of the steps changes the result.
The substance. Some pairs do commute — every square matrix commutes with and with itself.
Worked example — order matters.** With the same and :
Worked example — a zero product.
Consequences:
- , which equals only if
- From you cannot cancel to conclude in general
An everyday example. Putting on socks and then shoes is not the same as shoes and then socks — as with matrices, the order of the steps changes the result.
The substance. Some pairs do commute — every square matrix commutes with and with itself.
What is the transpose of a matrix, and how do you use the rules for the transpose of a sum, a multiple and a product?
**The transpose turns the rows of into columns, so an matrix becomes , and transposes obey , , and the reversal rule .
Definition.** If , then .
Worked example — verify the reversal rule. From before, , so . Now
In the other order, , which is why the order must reverse.
An everyday example. Turning a marks register sideways, so subjects become rows and students become columns, is exactly taking a transpose — the data stay the same, only the layout flips.
The substance. The reversal rule extends to longer products: .
Definition.** If , then .
Worked example — verify the reversal rule. From before, , so . Now
In the other order, , which is why the order must reverse.
An everyday example. Turning a marks register sideways, so subjects become rows and students become columns, is exactly taking a transpose — the data stay the same, only the layout flips.
The substance. The reversal rule extends to longer products: .
How do you identify symmetric and skew symmetric matrices, split any square matrix into both, and prove the inverse is unique?
**A square matrix is symmetric if and skew symmetric if ; every square matrix equals , a symmetric plus a skew symmetric matrix, and an invertible matrix has exactly one inverse.
Identifying them:
- Symmetric** — ; entries mirrored across the main diagonal are equal
- Skew symmetric — ; in particular , so **every diagonal entry is
Worked example — the split.** Let , so .
is symmetric, is skew symmetric, and .
Uniqueness of the inverse. If and are both inverses of , then and , so
An everyday example. A road distance chart between cities, where Pune to Nagpur equals Nagpur to Pune, is a symmetric matrix with zeros on its diagonal.
The substance. The zero matrix is the only matrix that is both symmetric and skew symmetric, since and together force .
Identifying them:
- Symmetric** — ; entries mirrored across the main diagonal are equal
- Skew symmetric — ; in particular , so **every diagonal entry is
Worked example — the split.** Let , so .
is symmetric, is skew symmetric, and .
Uniqueness of the inverse. If and are both inverses of , then and , so
An everyday example. A road distance chart between cities, where Pune to Nagpur equals Nagpur to Pune, is a symmetric matrix with zeros on its diagonal.
The substance. The zero matrix is the only matrix that is both symmetric and skew symmetric, since and together force .
Exam tip
What earns full marks on matrix multiplication and transpose?
Write the orders of both matrices before multiplying, and show one row-by-column calculation in full so the method earns marks even if arithmetic slips.
- Product: times gives
- Laws: associative and distributive hold; commutative does not
- Transpose: , , ,
- Symmetric: ; skew symmetric: , with zero diagonal
- Split:
The trap. Writing . **The order reverses: .**
- Product: times gives
- Laws: associative and distributive hold; commutative does not
- Transpose: , , ,
- Symmetric: ; skew symmetric: , with zero diagonal
- Split:
The trap. Writing . **The order reverses: .**
Did you know
How do computer games rotate a character on the screen?
Every point of a character in a 2D game can be stored as a column matrix . Multiplying it by a rotation matrix turns the point about the origin.
Rotating and then shifting a character gives a different picture from shifting first and rotating afterwards — the non-commutativity of matrix multiplication, visible on screen.
Graphics software multiplies all the step matrices together once and applies that single product to every point, relying on the associative law from this lesson.
Rotating and then shifting a character gives a different picture from shifting first and rotating afterwards — the non-commutativity of matrix multiplication, visible on screen.
Graphics software multiplies all the step matrices together once and applies that single product to every point, relying on the associative law from this lesson.
Exam relevance
How are matrix multiplication, transpose and symmetric matrices tested in JEE Main?
Matrices is part of the JEE Main unit Matrices and Determinants, and products, transposes and special matrices come up again and again.
What gets asked. Products and powers such as or for patterned matrices, **conditions for **, using , deciding whether expressions like or are symmetric or skew symmetric, and properties of the inverse. These combine with determinants and adjoints in the next chapter.
Question types. Multiple-choice questions on properties, and numerical-value questions on entries of products or powers.
The trap that costs marks. **Expanding as ** without checking that and commute.
What gets asked. Products and powers such as or for patterned matrices, **conditions for **, using , deciding whether expressions like or are symmetric or skew symmetric, and properties of the inverse. These combine with determinants and adjoints in the next chapter.
Question types. Multiple-choice questions on properties, and numerical-value questions on entries of products or powers.
The trap that costs marks. **Expanding as ** without checking that and commute.
Key takeaways
What must you be able to do from this part?
- Multiplication: rows of with columns of ; times is ; associative and distributive
- Non-commutativity: in general; non-zero matrices can multiply to
- Transpose: rows become columns;
- Symmetric and skew symmetric: or ; every square matrix is ; an inverse, when it exists, is unique
Find for , then guess and check your guess with one more multiplication.
- Non-commutativity: in general; non-zero matrices can multiply to
- Transpose: rows become columns;
- Symmetric and skew symmetric: or ; every square matrix is ; an inverse, when it exists, is unique
Find for , then guess and check your guess with one more multiplication.