Symmetric Matrices
Matrices equal to their own transpose, with real eigenvalues and orthogonal eigenvectors, the best-behaved matrices in analysis.
Definition
A square matrix is symmetric if it equals its transpose, A = A^T, so the entry in row i, column j always matches the entry in row j, column i. Symmetric matrices arise wherever a relationship is inherently two-way, such as distances, correlations, and mutual couplings, and they carry the strongest structural guarantees in linear algebra.
The spectral guarantee
By the spectral theorem, every real symmetric matrix has entirely real eigenvalues and admits an orthonormal basis of eigenvectors, so it can be written A = Q D Q^T with Q orthogonal and D diagonal. This means a symmetric matrix is always diagonalizable, never defective, and its principal axes are mutually perpendicular.
Quadratic forms
Symmetric matrices define quadratic forms x^T A x, scalar functions that describe energies, variances, and curvatures. The sign of the eigenvalues classifies the form: all positive gives a bowl (positive definite), all negative an inverted bowl, and mixed signs a saddle. The Hessian of a smooth function is symmetric, so this classification identifies minima, maxima, and saddle points.
Where they appear
- covariance and correlation matrices in statistics
- the Hessian of a scalar function in optimization
- stiffness, mass, and inertia matrices in mechanics
- adjacency and Laplacian matrices of undirected graphs
import numpy as np
M = np.random.rand(4, 4)
A = (M + M.T) / 2 # symmetrize
vals = np.linalg.eigvalsh(A) # guaranteed real
print(np.allclose(vals.imag if np.iscomplexobj(vals) else 0, 0))
The linearized stability operators of a confined plasma are symmetric under the natural energy inner product, guaranteeing real mode frequencies and orthogonal modes that a design like Hyperion analyzes to rule out instabilities.