A square matrix AA is symmetric when A=ATA=A^{\mathsf T}, equivalently Aij=AjiA_{ij}=A_{ji} for all indices. Here ATA^{\mathsf T} is the .

Symmetric part

Over a field of characteristic different from two, every square matrix has the decomposition

A=A+AT2+AAT2.A=\frac{A+A^{\mathsf T}}2+\frac{A-A^{\mathsf T}}2.

The first term is symmetric and the second is skew-symmetric. For real vectors, the skew-symmetric part contributes zero to xTAxx^{\mathsf T}Ax.

Real and complex conventions

A real symmetric matrix is self-adjoint for the Euclidean inner product. For a complex matrix, symmetry A=ATA=A^{\mathsf T} differs from the Hermitian condition A=AA=A^*.