Symmetric Matrices
Recognizing and combining symmetric matrices
A symmetric matrix is a square matrix that stays unchanged when its rows and columns are interchanged.
Writing this as A = AT turns symmetry into an entry-by-entry test: every value above the main diagonal must match its reflection below it. The test uses exact equality and does not require different diagonal entries to match each other.
Definition and test
The transpose places the entry from row j, column i into row i, column j. Thus, if the entries of A are aij, symmetry means aij = aji for every i and j. Each mirrored pair of off-diagonal entries must agree; a diagonal entry is compared only with itself.
For a 3 by 3 matrix, inspect the positions (1,2) and (2,1), then (1,3) and (3,1), then (2,3) and (3,2). That checks all independent off-diagonal pairs. A nonsquare matrix cannot equal its transpose because the two shapes differ.
Worked example
Consider C = [[6, -4, 1], [-4, 2, 7], [1, 7, 0]]. Its three mirrored pairs are -4 and -4, 1 and 1, and 7 and 7. All three pairs agree, so transposing C leaves every entry in place, even though its diagonal entries 6, 2, and 0 differ.
If the entry in row 3, column 1 were changed from 1 to 2 while the entry in row 1, column 3 stayed 1, that new matrix would fail the test. Checking just the diagonal or the first mirrored pair would miss this change. The pair-by-pair check gives a definite answer without computing eigenvalues.
Combining symmetric matrices
For symmetric A and B and any real scalar c, the transpose of a sum satisfies (A + cB)T = AT + cBT = A + cB. Consequently, sums and scalar multiples preserve symmetry. This follows from transpose algebra alone, with no assumption about eigenvalues or diagonalization.
Multiplication uses a different rule: the transpose of a product reverses factor order, (AB)T = BTAT. For symmetric factors this becomes BA, so their product is symmetric precisely when the factors commute, meaning AB = BA. Symmetry of each factor by itself does not establish that equality.
Let A and B be real symmetric matrices of the same size. Which condition is equivalent to AB being symmetric?
For which real k is M = [[4, k + 2], [3k - 2, 7]] symmetric?