Test whether a matrix equals its transpose
Decide symmetry by comparing every mirrored pair of off-diagonal entries. The idea in plain words, a worked example, and a check with the answers shown — part of the free Linear Algebra guides.
is symmetric when
which — entry by entry — means
Because that condition is trivial when (every entry equals itself), the real content is the off-diagonal pairs: for a there are three of them,, and; for an there are.
Symmetry is a statement about every pair at once, so passing it is a universal claim and failing it is an existential one. That asymmetry matters for how you answer:
To say yes, you must check all pairs. There is no shortcut. To say no, one mismatched pair is a complete proof, and you should say which pair it is.
There is one useful shortcut in the other direction: a matrix and its transpose always have the same diagonal, so a difference between and must show up in an off-diagonal position. If you have computed and the two look identical, check an off-diagonal pair — the diagonal cannot be where they differ.
Three pairs:
- * against ✓
- * against ✓
- * against ✓
All three match, so and is symmetric. The diagonal never entered the test.
Now change the entry to. Then — one pair fails and the matrix is not symmetric. That single change is all it takes.
- Decide symmetry by comparing every mirrored pair of off-diagonal entries
- Say how many pairs a 4x4 matrix has and why the diagonal is not part of the test
- Complete a matrix so that it becomes symmetric
(a) Is symmetric? (b) Is symmetric? If not, name the pair that fails. (c) How many off-diagonal pairs must be checked for a matrix?
Answers
(a) Yes.;;.
(b) No. The pair holds and, which differ. Every other pair matches, which is why one passing pair is not evidence of anything — you need all of them.
(c).