Symmetric and Skew-Symmetric Matrices
What You'll Learn
- 1Test a square matrix for symmetry or skew-symmetry entry by entry
- 2Decompose any square matrix into a symmetric part and a skew-symmetric part and verify the split
- 3State which matrix properties survive addition, powers and multiplication
- 4Solve for unknown entries using the transpose conditions
- 5Count independent elements and explain why an odd-order skew-symmetric matrix is singular
Transposing a matrix is the matrix analogue of reflecting in a diagonal mirror. Most matrices change when mirrored; a special family is unchanged (symmetric matrices), and another family flips sign exactly (skew-symmetric matrices). Those two families are not curiosities: covariance matrices in statistics are symmetric by construction, rotation generators in physics are skew-symmetric, and every square matrix decomposes uniquely into one of each. This lesson defines the families, executes the decomposition on a full numeric example, and proves the structural facts â including why an odd-order skew-symmetric matrix can never be invertible.
The two definitions
That diagonal observation is the fastest filter available: one glance at a non-zero diagonal entry rules out skew-symmetry immediately. Symmetry places no such restriction â its diagonal entries are unconstrained, because the condition is satisfied automatically. Both definitions require a square matrix; transposition of a rectangular matrix changes its shape, so equality with the transpose is impossible unless the shape is already symmetric.
| Property | Symmetric | Skew-symmetric |
|---|---|---|
| Entry condition | ||
| Diagonal entries | unrestricted | all zero |
| Diagonal matrix | always symmetric | skew only if all zeros |
| equal to | equal to the zero matrix | |
| equal to the zero matrix | equal to |
Decomposing a matrix into P plus Q
Express as the sum of symmetric and skew-symmetric matrices.
The proof of uniqueness is one line: if with each symmetric and each skew, transposing gives , and adding or subtracting the two expressions forces and . Each off-diagonal pair of contributes its average to and its half-difference to , which is why the entries of and in the example are halves and one-halves of the sums and differences you computed by hand.
Properties that survive algebra
The proofs are transpose computations and worth memorising as patterns rather than as statements: turns the symmetry of and into the symmetry of the sum; reverses the order, which is exactly why multiplication does not preserve symmetry â the reversed product need not equal . The identity holds precisely when , and two symmetric matrices that commute therefore have a symmetric product. A further structural fact, used in linear algebra beyond CBSE, is that is symmetric whenever is skew-symmetric: .
Determinants and the odd-order singularity
Transposition never changes a determinant, . For a skew-symmetric matrix combine that with and the pull-out rule for a scalar factor from each row:
When is odd the factor is , so and therefore : every odd-order skew-symmetric matrix is singular, its rows cannot be independent, and the homogeneous system always has a non-trivial solution. For even order no such constraint appears â the matrix with off-diagonal entries and has determinant . This parity split is a favourite one-mark question because it compresses three transpose facts into a single conclusion.
Solving for unknown entries
If is symmetric, find , and .
For a skew-symmetric matrix the same method applies with the extra zero-diagonal constraint, so a skew matrix with unknowns has three independent entries above the diagonal, each determining its mirror below.
Counting independent elements
This is because , so only elements on and above the diagonal are independent. The count is the diagonal's entries plus the strictly-upper entries.
For the two counts are and ; for they are and . The difference of is exactly the diagonal, which is free in the symmetric case and frozen to zero in the skew case. These counts reappear when solving matrix equations: a symmetry condition on a matrix imposes three independent constraints (the three off-diagonal mirror pairs), which is precisely the number of unknowns handled in the previous section.
Verifying the classifications in Python
The first script rebuilds the decomposition example, verifies both defining properties of the parts, and confirms they sum back to the original matrix.
def transpose(m):
return [list(row) for row in zip(*m)]
def add(m, n, sign=1):
return [[a + sign * b for a, b in zip(ra, rb)] for ra, rb in zip(m, n)]
def scale(m, s):
return [[s * x for x in row] for row in m]
A = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
P = scale(add(A, transpose(A)), 0.5)
Q = scale(add(A, transpose(A), sign=-1), 0.5)
print("P symmetric :", P == transpose(P))
print("Q skew :", Q == scale(transpose(Q), -1))
print("P + Q equals A:", add(P, Q) == A)
print("P =", P)
print("Q =", Q)
All three checks print true, and the printed parts match the hand computation.
The second script solves an unknown-entry symmetry problem with a tiny linear solve, counts free parameters, and demonstrates the odd-order singularity by computing a determinant.
def det3(m):
return (m[0][0] * (m[1][1] * m[2][2] - m[1][2] * m[2][1])
- m[0][1] * (m[1][0] * m[2][2] - m[1][2] * m[2][0])
+ m[0][2] * (m[1][0] * m[2][1] - m[1][1] * m[2][0]))
# symmetric with unknowns: a12 = x = a21, a13 = 4 = a31, a23 = y = a32, z = a13
x, y, z = 1, 6, 4
M = [[3, x, 4], [1, 5, y], [z, 6, 7]]
print("symmetric :", M == transpose(M))
S = [[0, 1, 2], [-1, 0, 3], [-2, -3, 0]]
print("S skew :", S == scale(transpose(S), -1))
print("det of S (odd order):", det3(S))
print("free entries, symmetric n=3 :", 3 * 4 // 2)
print("free entries, skew n=3 :", 3 * 2 // 2)
The completed matrix is symmetric, the skew matrix has determinant zero as the parity argument predicts, and the free-entry counts match the formulas.
Where marks are lost
The errors cluster around half-truths. Claiming that the product of two symmetric matrices is symmetric without checking commutativity. Forgetting that skew-symmetry forces a zero diagonal and therefore cannot hold for a matrix with a non-zero trace. Applying the symmetric-part formula with a plus sign in both halves, which makes the parts fail to sum to the original. And asserting that a given matrix can be made symmetric by choosing one unknown, when the listed entries already violate a mirror pair. Each of these is a one-line verification away from being caught â which is exactly what the scripts above perform.
Common Mistakes
Assuming AB stays symmetric when A and B both are
Fix: The transpose of AB reverses the order to B transpose times A transpose, so the product is symmetric only when AB equals BA.
Overlooking the zero-diagonal requirement for skew-symmetry
Fix: Every diagonal entry must satisfy a two-ii equals minus itself, forcing zero; a single non-zero diagonal entry disproves skew-symmetry before any other entry is checked.
Applying the decomposition with the wrong signs and losing part of the matrix
Fix: The symmetric part is A plus A transpose over two and the skew part is A minus A transpose over two; add the two results and confirm they reproduce A entry by entry.
Key Takeaways
- Symmetric matrices mirror across the diagonal; skew-symmetric matrices mirror with a sign flip and therefore have a zero diagonal
- Every square matrix splits uniquely as P plus Q with P symmetric and Q skew, obtained from the sum and difference with the transpose
- Sums and integer powers preserve symmetry, but products preserve it only for commuting symmetric matrices
- Odd-order skew-symmetric matrices always have determinant zero, which makes them singular without any further calculation
- Independent-entry counts â n(n+1)/2 and n(n-1)/2 â measure exactly how much freedom each family retains