Matrix Properties
Why the order reverses in a product
The rule looks arbitrary until you follow a single entry. The entry of in row column is the dot product of row of with column of , written as a sum over an index of . Transposing moves that entry to row column , which is the sum of . Now read the same quantity from : column of supplies and row of supplies , giving the identical sum. Nothing was rearranged except the order of the two factors, so the reversal is a bookkeeping fact rather than a coincidence.
The same argument runs backwards for inverses. If , then multiplying on the left by and on the right by yields , which is exactly why the inverse of a product is computed in reverse order.
The property sheet worth memorising
Nine statements cover almost every manipulation CBSE problems ask for. The third column is the part that earns marks, because each rule carries a condition.
| Property | Statement | Condition |
|---|---|---|
| Double transpose | any shape | |
| Transpose of a sum | identical shapes | |
| Transpose of a product | reverse the order | |
| Scalar factor | any scalar | |
| Inverse of a product | both matrices invertible | |
| Inverse of a scalar | is not zero | |
| Transpose of an inverse | is invertible | |
| Powers of an inverse | is invertible | |
| Determinant of a transpose | square matrix |
Two entries deserve emphasis. is safe because addition never changes the order of anything, while every rule involving multiplication must reverse. And a transpose of a product can be taken before or after multiplying, so and are two different matrices unless the factors happen to commute.
Checking every rule in Python
Random matrices are a harsher test than hand-picked ones, because a rule that only works for special cases fails immediately. The script below draws two square matrices and compares both sides of five identities with a tight tolerance.
import numpy as np
rng = np.random.default_rng(7)
A = rng.integers(-4, 5, size=(3, 3)).astype(float)
B = rng.integers(-4, 5, size=(3, 3)).astype(float)
k = 3.0
checks = {
"double transpose": np.allclose(A.T.T, A),
"transpose of sum": np.allclose((A + B).T, A.T + B.T),
"product reverses": np.allclose((A @ B).T, B.T @ A.T),
"scalar factor": np.allclose((k * A).T, k * A.T),
"det(A.T) == det(A)": np.isclose(np.linalg.det(A.T), np.linalg.det(A)),
}
for name, ok in checks.items():
print(f"{name:>20}: {ok}")
# every line prints True
Inversion is a separate test, since a random integer matrix is often singular. Picking two matrices with non-zero determinants keeps the check meaningful.
A = np.array([[1., 2., 0.], [0., 3., 1.], [2., 0., 4.]])
B = np.array([[2., 0., 1.], [1., 3., 0.], [0., 1., 2.]])
lhs = np.linalg.inv(A @ B)
rhs = np.linalg.inv(B) @ np.linalg.inv(A)
print("inverse reverses:", np.allclose(lhs, rhs)) # True
print("transpose of inv:", np.allclose(np.linalg.inv(A).T,
np.linalg.inv(A.T))) # True
print("det match:", np.isclose(np.linalg.det(A),
np.linalg.det(A.T))) # True
Splitting a matrix into symmetric and skew parts
Every square matrix, symmetric or not, breaks into exactly one symmetric matrix plus exactly one skew-symmetric matrix. The construction is immediate from the transpose: add to its own transpose and halve for the symmetric half, subtract and halve for the skew half. For the symmetric part is and the skew part is , and adding them returns the original entry by entry.
This decomposition is more than an identity. The skew part always carries zeros on its diagonal, the symmetric part reproduces the original diagonal unchanged, and neither piece carries information the other already has. In statistics the covariance matrix is built to be symmetric for exactly this reason — it guarantees a well-behaved decomposition that numerical routines rely on.
def split_symmetric(M):
return (M + M.T) / 2, (M - M.T) / 2
S = np.array([[1., 2., 3.], [4., 5., 6.], [7., 8., 9.]])
sym, skew = split_symmetric(S)
print("recombine:", np.allclose(sym + skew, S)) # True
print("symmetric:", np.allclose(sym, sym.T)) # True
print("skew-symmetric:", np.allclose(skew, -skew.T)) # True
print("skew diagonal:", np.diag(skew)) # [0. 0. 0.]
print("sym diagonal:", np.diag(sym), "vs A:", np.diag(S))
# sym diagonal: [1. 5. 9.] vs A: [1. 5. 9.]
What the determinant and trace do under transposition
Three quantities survive a transpose without changing at all. The determinant is identical, because expanding a matrix along its rows and along its columns gives the same number. The trace, the sum of the diagonal entries, is identical for the same reason the diagonal itself is fixed. The rank is identical as well, since rows and columns are interchangeable descriptions of the same linear map.
Eigenvalues are shared too, because and have the same characteristic polynomial, even though the eigenvectors themselves generally differ. That distinction matters: knowing does not hand you the eigenvector of the transpose for free, so a diagonalisation of is not automatically a diagonalisation of .
Situations where the familiar shortcuts fail
The most common error in exams is distributing an inverse over a sum. Take and . Then , so . But , which is not the same matrix at all. No simplification rule turns a sum of inverses into an inverse of a sum.
Three further limits are worth stating plainly. A product has an inverse only when both factors are invertible, so a singular factor kills the whole product. A scalar multiple is invertible only when is non-zero, since scaling multiplies the determinant by . And a transpose is defined for any rectangular matrix while an inverse is defined only for square ones, so properties mixing the two silently assume squareness.
Key Takeaways
- Products reverse order under both transpose and inverse, and the reversal follows directly from the index definition of a matrix product rather than from any special case.
- Addition never reverses order, so the transpose of a sum splits freely while the inverse of a sum does not, as the diagonal example with A and B shows.
- Every square matrix decomposes uniquely into a symmetric part and a skew-symmetric part, and the skew part always has a zero diagonal.
- Determinant, trace, rank and eigenvalues are unchanged by transposition, even though the eigenvectors themselves usually move.
Common Mistakes
Writing (A + B)⁻¹ = A⁻¹ + B⁻¹ because the transpose rule splits addition so neatly
Fix: Never distribute an inverse over a sum; test it on diagonal matrices first and you will see the two sides differ immediately.
Keeping the factor order the same when inverting or transposing a product
Fix: Reverse the order every time: (AB)ᵀ = BᵀAᵀ and (AB)⁻¹ = B⁻¹A⁻¹, then confirm the shapes still multiply.
Claiming a skew-symmetric matrix can have non-zero diagonal entries
Fix: Set a(ii) = -a(ii), which forces a(ii) = 0, so write the diagonal as zeros before solving for the other unknowns.