Sylvester's law of inertia
Sylvester's law of inertia is a theorem in matrix algebra about certain properties of the coefficient matrix of a real quadratic form that remain invariant under a change of basis. Namely, if S {\displaystyle S} is a symmetric matrix, then for any invertible matrix P {\displaystyle P} , the numbers of positive, negative, and zero eigenvalues of S ′ = P S P T {\displaystyle S'=PSP^{\mathsf {T}}} are constant (i.e., the inertia of S ′ {\displaystyle S'} is constant).
Source: Wikipedia — Sylvester's law of inertia (CC BY-SA 4.0)