Symmetric Matrix

A symmetric matrix is a square matrix that is equal to its transpose. Mathematically, a matrix A is symmetric if:

A=AT

where AT is the transpose of A, meaning that the rows and columns of A are interchanged.

Examples of Symmetric Matrices

Example 1: A 2×2 Symmetric Matrix

Consider the matrix:

A=[4223]

Its transpose is:

AT=[4223]

Since A=AT, the matrix is symmetric.

Example 2: A 3×3 Symmetric Matrix

B=[513124341]

Its transpose:

BT=[513124341]

Since B=BT, it is symmetric.

Properties of Symmetric Matrices

Property 1: The Sum of Two Symmetric Matrices is Symmetric

If A and B are symmetric matrices of the same size, then their sum A+B is also symmetric.

Example

Let:

A=[1223],B=[4556]

Then:

A+B=[1+42+52+53+6]=[5779]

Since A+B=(A+B)T, the result is symmetric.

Property 2: The Scalar Multiple of a Symmetric Matrix is Symmetric

If A is a symmetric matrix and c is a scalar, then cA is also symmetric.

Example

Let:

A=[2335],c=3

Then:

3A=[69915]

Since (3A)T=3A, it remains symmetric.

Property 3: The Product of Two Symmetric Matrices is Symmetric if They Commute

If A and B are symmetric matrices and AB=BA, then AB is also symmetric.

Example

Let:

A=[2113],B=[4225]

Calculate:

AB=[2(4)+(1)(2)2(2)+(1)(5)1(4)+3(2)1(2)+3(5)]=[82454+62+15]

=[61113]

Since AB=ABT, the product is symmetric.

Property 4: All Eigenvalues of a Symmetric Matrix are Real

If A is a symmetric matrix, then all its eigenvalues are real numbers.

Example

Consider the symmetric matrix:

A=[2112]

Finding its eigenvalues involves solving:

det(AλI)=0

|2λ112λ|=0

(2λ)(2λ)(1)(1)=0

λ24λ+3=0

Solving for λ:

λ=4±16122=4±22

λ=3,1

Both eigenvalues are real.

Property 5: A Symmetric Matrix is Diagonalizable

Every symmetric matrix is diagonalizable, meaning it can be expressed as:

A=PDP1

where P is an orthogonal matrix and D is a diagonal matrix containing eigenvalues of A.

Example

For:

A=[2112]

The eigenvalues are λ=3,1 (as found earlier). The corresponding eigenvectors form the columns of P, and the diagonal matrix D consists of the eigenvalues:

D=[3001]