Example 24: For symmetric : symmetric iff
If and are symmetric matrices of the same order, then show that is symmetric if and only if and commute, that is .
Given and . So
Let be symmetric, that is . Then by (i), .
Conversely, let . Then by (i),
so is symmetric.
Hence is symmetric if and only if .
Want the reason behind every step, the basics and the checks?
Transposing a product reverses it: . For symmetric matrices and , so . That single line says: the transpose of is . Now " is symmetric" means , which is the same as . Both directions of the "if and only if" come out of this one identity.
- Given
- Square matrices and of the same order , with and .
- To show
- Both directions: (1) if is symmetric, then ; (2) if , then is symmetric.
- Plan
- Check that everything is defined; establish ; prove each direction from it; then look at examples showing both outcomes, and at what goes wrong when , are not symmetric.
Basics you need
A square matrix is symmetric if , that is for all . Basics: mirror patterns
whenever is defined: the order of the factors reverses. (Section 3.5.1, property (iv); a proof is given in Step 2.)
" if and only if " is two statements: "if then " and "if then ". A complete proof proves both directions separately.
For matrices, and are often different, even when both are defined. " and commute" means the special case . Basics: pair up, multiply, add
Solution
Check that and are defined
A symmetric matrix must be square (otherwise would have a different order from and could not equal it). Since and have the same order, both are for some . Then is defined (columns of = = rows of ) and is ; likewise is defined and is . So it makes sense to compare with , and to ask whether the square matrix is symmetric.
"" can only hold between matrices of the same order, and "symmetric" only applies to square matrices. Checking orders first makes sure the statement we are proving is meaningful.Definition 4, Section 3.6 (symmetric matrices are square); Section 3.4.5 (orders of a product). Lesson: symmetric and skew symmetricThe key identity:
By the reversal rule and then the symmetry of and ,
Why the reversal rule holds: the entry of is the entry of , which is
The entry of is (row of ) times (column of ), and row of is column of , column of is row of . So it is
the same numbers multiplied in the other order. Hence for every .
This answers the textbook's "(Why?)". The first equality is the reversal rule; the second replaces by and by , which is allowed because both matrices are symmetric (Given). Everything else in the proof rests on this line.Property (iv), Section 3.5.1; see also Example 21. Lesson: transposeDirection 1: if is symmetric, then
Assume is symmetric, so . By Step 2, . Both are equal to , so
Thus : and commute.
We start from the assumption of this direction and use only it, the givens, and the identity of Step 2. Two things equal to the same thing are equal to each other.Direction 2: if , then is symmetric
Assume . By Step 2 and then this assumption,
So , which says exactly that is symmetric.
This is the "conversely" part of the textbook solution. Again we start from this direction's own assumption. The two directions together prove the "if and only if".Definition 4, Section 3.6: is symmetric when .See both cases in examples
A pair that does not commute. Take the symmetric matrices
Entry by entry,
Here , and is not symmetric ( across the diagonal). Notice that is exactly , as Step 2 says.
A pair that commutes. Now take
both symmetric ( is ). Entry by entry,
which is symmetric, as the theorem predicts.
The examples are not part of the proof (the proof is Steps 3 and 4), but they show that both situations really occur, so neither condition is automatic for symmetric matrices.Why the word "symmetric" in the hypothesis matters
Without it, Direction 1 can fail. Take the (non-symmetric) matrices
Entry by entry,
is symmetric, yet . The proof breaks at Step 2: here is false, because and .
A counterexample is the right tool for showing that a statement is false in general. It also shows exactly which given the proof depends on.
For symmetric , of the same order, . Hence is symmetric . Both directions are proved: is symmetric if and only if and commute.
A computer test over 2000 random pairs of symmetric integer matrices (and many specially built commuting pairs, such as ) found that " is symmetric" and "" were either both true or both false in every case, and that every time.
- Proving only one direction. "If and only if" needs both. The textbook marks the second with "Conversely".
- Writing . The order reverses: .
- Thinking symmetric matrices always commute. The first pair in Step 5 is symmetric but .
- Using the hypotheses in the wrong direction. In Direction 1 you may assume ; in Direction 2 you may assume . Do not use the conclusion of a direction inside its own proof.
- For symmetric , : the transpose of is .
- So is symmetric exactly when .
- Prove "if and only if" as two separate implications, each starting from its own assumption.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| Symmetric: (so is square) | Steps 1 to 4 | Definition 4, Section 3.6 (Lesson: symmetric and skew symmetric) |
| Orders of a product; entry rule | Steps 1, 2, 5, 6 | Section 3.4.5 (Lesson: matrix multiplication) |
| Step 2 | Section 3.5.1, property (iv) (Lesson: transpose) | |
| in general | Steps 5, 6 | Section 3.4.5, non-commutativity (Lesson: properties) |
| Proof of both directions | Steps 3, 4 | Miscellaneous Examples, Example 24 |
Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →