Symmetric matrix

From testwiki
Jump to navigation Jump to search

Template:Short description Template:About Template:For Template:Use American English

Symmetry of a 5Γ—5 matrix

In linear algebra, a symmetric matrix is a square matrix that is equal to its transpose. Formally,

Template:Equation box 1

Because equal matrices have equal dimensions, only square matrices can be symmetric.

The entries of a symmetric matrix are symmetric with respect to the main diagonal. So if aij denotes the entry in the ith row and jth column then

Template:Equation box 1

Every square diagonal matrix is symmetric, since all off-diagonal elements are zero. Similarly in characteristic different from Template:Tmath, each diagonal element of a skew-symmetric matrix must be zero, since each is its own negative.

In linear algebra, a real symmetric matrix represents a self-adjoint operator[1] represented in an orthonormal basis over a real inner product space. The corresponding object for a complex inner product space is a Hermitian matrix with complex-valued entries, which is equal to its conjugate transpose. Therefore, in linear algebra over the complex numbers, it is often assumed that a symmetric matrix refers to one which has real-valued entries. Symmetric matrices appear naturally in a variety of applications, and typical numerical linear algebra software makes special accommodations for them.

Example

The following 3Γ—3 matrix is symmetric: A=[173745352]; indeed, A=A𝖳.

Properties

Basic properties

  • The sum and difference of two symmetric matrices are symmetric.
  • This is not always true for the product: given symmetric matrices A and B, the product AB is symmetric if and only if A and B commute, i.e., AB=BA.
  • If A is symmetric, then for any integer kβ‰₯0, Ak is also symmetric.
  • If Aβˆ’1 exists, it is symmetric if and only if A is symmetric.
  • The rank of a symmetric matrix A is equal to the number of non-zero eigenvalues of A.

Decomposition into symmetric and skew-symmetric

Any square matrix can uniquely be written as sum of a symmetric and a skew-symmetric matrix. This decomposition is known as the Toeplitz decomposition. Let Matn denote the space of nΓ—n matrices. If Symn denotes the space of nΓ—n symmetric matrices and Skewn the space of nΓ—n skew-symmetric matrices, then

Matn=Symn+SkewnandSymn∩Skewn={0},

i.e.

Matn=SymnβŠ•Skewn,

where βŠ• denotes the direct sum. Let M∈Matn, then

M=12(M+M𝖳)+12(Mβˆ’M𝖳).

Notice that 12(M+M𝖳)∈Symn and 12(Mβˆ’M𝖳)∈Skewn. This is true for every square matrix M with entries from any field whose characteristic is different from Template:Tmath.

A symmetric nΓ—n matrix is determined by 12n(n+1) scalars (the number of entries on or above the main diagonal). Similarly, a skew-symmetric matrix is determined by 12n(nβˆ’1) scalars (the number of entries above the main diagonal).

Matrix congruent to a symmetric matrix

Any matrix congruent to a symmetric matrix is also symmetric: if A is a symmetric matrix, then so is PAP𝖳 for any matrix P.

Symmetry and real values imply normality

A symmetric real matrix is necessarily a normal matrix.[2]

Real symmetric matrices

Denote by βŸ¨β‹…,β‹…βŸ© the standard inner product on ℝn. The real nΓ—n matrix A is symmetric if and only if ⟨Ax,y⟩=⟨x,AyβŸ©βˆ€x,yβˆˆβ„n.

Since this definition is independent of the choice of basis, symmetry is a property that depends only on the linear operator A and the choice of an inner product. This characterization of symmetry is useful, for example, in differential geometry, for each tangent space to a manifold may be endowed with an inner product, giving rise to what is called a Riemannian manifold. Another area where this formulation is used is that of Hilbert spaces.

The finite-dimensional spectral theorem says that any symmetric matrix whose entries are real can be diagonalized by an orthogonal matrix. More explicitly: For every real symmetric matrix A, there exists a real orthogonal matrix Q such that D=Q𝖳AQ is a diagonal matrix. Every real symmetric matrix is thus, up to choice of an orthonormal basis, a diagonal matrix.

If A and B are nΓ—n real symmetric matrices that commute, then they can be simultaneously diagonalized by an orthogonal matrix:[3] there exists a basis of ℝn such that every element of the basis is an eigenvector for both A and B.

Every real symmetric matrix is Hermitian, and therefore all its eigenvalues are real. (In fact, the eigenvalues are the entries in the diagonal matrix D (above), and therefore D is uniquely determined by A up to the order of its entries.) Essentially, the property of being symmetric for a real matrix corresponds to the property of being Hermitian for a complex matrix.

Complex symmetric matrices Template:Anchor

A complex symmetric matrix can be 'diagonalized' using a unitary matrix: thus if A is a complex symmetric matrix, there is a unitary matrix U such that UAU𝖳 is a real diagonal matrix with non-negative entries. This result is referred to as the Autonne–Takagi factorization. It was originally proved by LΓ©on Autonne (1915) and Teiji Takagi (1925), and rediscovered with different proofs by several other mathematicians.[4][5]

In fact, the matrix B=A†A is Hermitian and positive semi-definite, so there is a unitary matrix V such that V†BV is diagonal with non-negative real entries. Thus C=V𝖳AV is complex symmetric with C†C real. Writing C=X+iY with X and Y real symmetric matrices, C†C=X2+Y2+i(XYβˆ’YX). Thus XY=YX. Since X and Y commute, there is a real orthogonal matrix W such that both WXW𝖳 and WYW𝖳 are diagonal. Setting U=WV𝖳 (a unitary matrix), the matrix UAU𝖳 is complex diagonal. Pre-multiplying U by a suitable diagonal unitary matrix (which preserves unitarity of U), the diagonal entries of UAU𝖳 can be made to be real and non-negative as desired. To construct this matrix, we express the diagonal matrix as UAU𝖳=diag⁡(r1eiΞΈ1,r2eiΞΈ2,…,rneiΞΈn). The matrix we seek is simply given by D=diag⁡(eβˆ’iΞΈ1/2,eβˆ’iΞΈ2/2,…,eβˆ’iΞΈn/2). Clearly DUAU𝖳D=diag⁡(r1,r2,…,rn) as desired, so we make the modification U′=DU. Since their squares are the eigenvalues of A†A, they coincide with the singular values of A. (Note, about the eigen-decomposition of a complex symmetric matrix A, the Jordan normal form of A may not be diagonal, therefore A may not be diagonalized by any similarity transformation.)

Decomposition

Using the Jordan normal form, one can prove that every square real matrix can be written as a product of two real symmetric matrices, and every square complex matrix can be written as a product of two complex symmetric matrices.[6]

Every real non-singular matrix can be uniquely factored as the product of an orthogonal matrix and a symmetric positive definite matrix, which is called a polar decomposition. Singular matrices can also be factored, but not uniquely.

Cholesky decomposition states that every real positive-definite symmetric matrix A is a product of a lower-triangular matrix L and its transpose, A=LL𝖳.

If the matrix is symmetric indefinite, it may be still decomposed as PAP𝖳=LDL𝖳 where P is a permutation matrix (arising from the need to pivot), L a lower unit triangular matrix, and D is a direct sum of symmetric 1Γ—1 and 2Γ—2 blocks, which is called Bunch–Kaufman decomposition [7]

A general (complex) symmetric matrix may be defective and thus not be diagonalizable. If A is diagonalizable it may be decomposed as A=QΞ›Q𝖳 where Q is an orthogonal matrix QQ𝖳=I, and Ξ› is a diagonal matrix of the eigenvalues of A. In the special case that A is real symmetric, then Q and Ξ› are also real. To see orthogonality, suppose 𝐱 and 𝐲 are eigenvectors corresponding to distinct eigenvalues Ξ»1, Ξ»2. Then Ξ»1⟨𝐱,𝐲⟩=⟨A𝐱,𝐲⟩=⟨𝐱,A𝐲⟩=Ξ»2⟨𝐱,𝐲⟩.

Since λ1 and λ2 are distinct, we have ⟨𝐱,𝐲⟩=0.

Hessian

Symmetric nΓ—n matrices of real functions appear as the Hessians of twice differentiable functions of n real variables (the continuity of the second derivative is not needed, despite common belief to the opposite[8]).

Every quadratic form q on ℝn can be uniquely written in the form q(𝐱)=𝐱𝖳A𝐱 with a symmetric nΓ—n matrix A. Because of the above spectral theorem, one can then say that every quadratic form, up to the choice of an orthonormal basis of ℝn, "looks like" q(x1,…,xn)=βˆ‘i=1nΞ»ixi2 with real numbers Ξ»i. This considerably simplifies the study of quadratic forms, as well as the study of the level sets {𝐱:q(𝐱)=1} which are generalizations of conic sections.

This is important partly because the second-order behavior of every smooth multi-variable function is described by the quadratic form belonging to the function's Hessian; this is a consequence of Taylor's theorem.

Symmetrizable matrix

An nΓ—n matrix A is said to be symmetrizable if there exist an invertible diagonal matrix D and symmetric matrix S such that A=DS.

The transpose of a symmetrizable matrix is symmetrizable, since A𝖳=(DS)𝖳=SD=Dβˆ’1(DSD) and DSD is symmetric. A matrix A=(aij) is symmetrizable if and only if the following conditions are satisfied:

  1. aij=0 implies aji=0 for all 1≀i≀j≀n.
  2. ai1i2ai2i3…aiki1=ai2i1ai3i2…ai1ik for any finite sequence (i1,i2,…,ik).

See also

Other types of symmetry or pattern in square matrices have special names; see for example: Template:Div col

Template:Div col end

See also symmetry in mathematics.

Notes

Template:Reflist

References

Template:Refbegin

Template:Refend

Template:Matrix classes Template:Authority control

  1. ↑ Template:Cite book
  2. ↑ But a symmetric complex matrix need not be normal. Example:
    S=[1ii0] is symmetric (S𝖳=S).
    Note: S is not Hermitian, since
    Sβˆ—=[1βˆ’iβˆ’i0]β‰ S.
    Computations:
    Sβˆ—S=[2iβˆ’i1],SSβˆ—=[2βˆ’ii1].
    Conclusion: Sβˆ—Sβ‰ SSβˆ—, so S is not normal.
  3. ↑ Template:Cite book
  4. ↑ Template:Harvnb
  5. ↑ See:
  6. ↑ Template:Cite journal
  7. ↑ Template:Cite book
  8. ↑ Template:Cite book