Proof of The Set of Symmetric Real Matrices is a Metric Space
lemmalem:symmetric-matrix-distance-is-metric-2026aLet . Two real matrices are equal exactly when all their entries agree, and by Difference of Real Matrices and Sum of Real Matrices the entries of a difference and of a sum are the corresponding differences and sums of entries. Write for the real matrix all of whose entries are . We verify the four conditions of Metric Space for .
Condition 1 (nonnegativity). by claim 1 of Properties of the Norm of a Symmetric Real Matrix, that is .
Condition 2 (vanishing). By claim 4 of Properties of the Norm of a Symmetric Real Matrix, holds if and only if . Comparing entries, holds if and only if for all indices , and by claim 3 of Additive Cancellation and Elementary Additive Identities in a Field this holds if and only if for all , that is if and only if . Hence if and only if .
Condition 3 (symmetry). Let denote the scalar multiple of a matrix, whose entries are . For all ,
using claim 2 of Zero Products and Elementary Identities in a Field together with the identity for the second equality and claim 6 of Additive Cancellation and Elementary Additive Identities in a Field for the third. Hence , and claim 5 of Properties of the Norm of a Symmetric Real Matrix gives
Here , by claim 2 of Properties of the Absolute Value in an Ordered Field and by Absolute Value in an Ordered Field applied to , which satisfies by claim 1 of Elementary Arithmetic in an Ordered Field. Therefore .
Condition 4 (triangle inequality). For all , the field axioms give
since the right-hand side equals by associativity and commutativity of addition, and is absorbed by the additive identity. Comparing entries, . The matrices and are symmetric by claim 1 of The Positive Semidefinite Ordering is a Partial Order Compatible with the Linear Structure, so claim 5 of Properties of the Norm of a Symmetric Real Matrix applies and gives
that is .
All four conditions hold, so is a metric on and is a metric space.
Loadingβ¦
Prerequisites
2a52db66-644c-4cc0-ad90-18df28a09018