TOPICS
Search

Symmetric Matrix


A symmetric matrix is a square matrix that satisfies

 A^T=A,
(1)

where A^T denotes the transpose, so a_(ij)=a_(ji). If A is a nonsingular matrix, this also implies

 A^(-1)A^T=I,
(2)

where I is the identity matrix. For example,

 A=[4 1; 1 -2]
(3)

is a symmetric matrix. For a real matrix, symmetry is equivalent to being a Hermitian matrix. For complex matrices, these are different conditions.

A matrix that is not symmetric is said to be an asymmetric matrix, not to be confused with an antisymmetric matrix.

A matrix m can be tested to see if it is symmetric in the Wolfram Language using SymmetricMatrixQ[m].

Written explicitly, the entries of a symmetric matrix A have the form

 [a_(11) a_(12) ... a_(1n); a_(12) a_(22) ... a_(2n); | | ... |; a_(1n) a_(2n) ... a_(nn)].
(4)

The symmetric part of any real matrix or complex matrix A that is a square matrix is given by

 A_S=1/2(A+A^T).
(5)

A real matrix A is symmetric iff it can be expressed in the form

 A=QDQ^T,
(6)

where Q is an orthogonal matrix and D is a real matrix that is a diagonal matrix. The spectral theorem for a real symmetric matrix guarantees this decomposition, which is equivalent to the matrix equation

 AQ=QD,
(7)

which is equivalent to

 Aq_k=lambda_kq_k
(8)

for k=1, 2, ..., n, where A is n×n, q_k is the kth column of Q, and lambda_k=D_(kk). Therefore, the diagonal entries of D are the eigenvalues of A, and the columns of Q are the corresponding eigenvectors.

An n×n symmetric matrix with entries chosen from s distinct symbols is determined by its n(n+1)/2 entries on and above the diagonal. Thus there are s^(n(n+1)/2) such matrices, where n and s are positive integers. Therefore, for (0,1)-matrices, the numbers of distinct symmetric matrices of orders n=1, 2, ... are 2, 8, 64, 1024, ... (OEIS A006125).


See also

Antihermitian Matrix, Antisymmetric Matrix, Asymmetric Matrix, Bisymmetric Matrix, Conjugate Transpose, Hankel Matrix, Hermitian Matrix, Orthogonal Matrix, Real Symmetric Matrix, Symmetric Part

Explore with Wolfram|Alpha

References

Ayres, F. Jr. Schaum's Outline of Theory and Problems of Matrices. New York: Schaum, pp. 12 and 115-117, 1962.Nash, J. C. "Real Symmetric Matrices." Ch. 10 in Compact Numerical Methods for Computers: Linear Algebra and Function Minimisation, 2nd ed. Bristol, England: Adam Hilger, pp. 119-134, 1990.Sloane, N. J. A. Sequence A006125/M1897 in "The On-Line Encyclopedia of Integer Sequences."

Referenced on Wolfram|Alpha

Symmetric Matrix

Cite this as:

Weisstein, Eric W. "Symmetric Matrix." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/SymmetricMatrix.html

Subject classifications