Sparse Gaussian elimination Created 2026-10-14 Updated 2026-10-18
Sparse Gaussian elimination solves a linear system by Gaussian elimination while exploiting its sparse matrix structure to avoid storing zeros and performing unnecessary arithmetic operations. The catch is that zeros in the input need not remain zero: eliminating a shared unknown can couple two equations that previously had no direct coupling. These new positions are fill-in, and their number can depend strongly on the order of elimination.
For a real symmetric positive-definite matrix, the usual direct method is a Cholesky decomposition. Choose an ordering, use symbolic factorization to allocate the predicted factor entries, compute their values, then solve two triangular systems. Compressed sparse storage makes the reduced storage useful. General LU decomposition may also need numerical partial pivoting, so an ordering chosen for sparsity can change during factorization.[ref]
Lecture 27: Sparse Gaussian Elimination. Applications of Parallel Computers, CS267, Spring 1996; CS267, Lecture 27, 23 April 1996, Cholesky versus LU Decomposition: distinction between numerical pivot selection and advance ordering, and phases 1–4; Sparse Matrix Storage Schemes
For a fixed ordering, let be the permutation matrix that puts the unknowns in that order. Permute both rows and columns:Here is the lower triangular matrix in the Cholesky decomposition of ; . Forward substitution and back substitution give the original solution. The simultaneous permutation preserves the symmetric positive-definite matrix property because for every nonzero vector . A row permutation alone generally loses the symmetric matrix structure.
The local mechanism is a Schur complement. If the active pivot element is , then for remaining indices ,Even when , two nonzero couplings through make the second term nonzero. Thus the elimination graph removes and joins its remaining neighbors into a clique. The fill-path criterion for symmetric elimination extends this local rule across several steps. The elimination tree organizes the resulting dependencies; the minimum degree algorithm and nested dissection choose orderings to control them.
This connection between graphs and linear systems was already explicit in Donald J. Rose, R. Endre Tarjan and George S. Lueker's 1976 study of fill-in and perfect elimination orderings.[ref]
Algorithmic Aspects of Vertex Elimination on Graphs by Donald J. Rose and others. Abstract: symmetric positive-definite systems, fill calculation for a prescribed ordering, and algorithms for special orderings; publication information, June 1976
Special linear congruence action on symmetric matrices Created 2026-10-06 Updated 2026-10-07
The special linear group acts on determinant-one real symmetric matrices by matrix congruence. Symmetry and determinant are preserved, and signatures are preserved by Sylvester's law of inertia. The determinant-one set is a regular level set of dimension , with tangent directions satisfying . Its infinitesimal left-action fields are ; converting them to a Lie algebra representation requires the infinitesimal left-action sign convention.
Spectrum of a scalar matrix plus a rank-one projector Created 2026-10-18 Updated 2026-10-20
Let be a real unit vector in -dimensional Euclidean space. Then is a rank-one orthogonal projection: , while for orthogonal to . Consequently the symmetric matrix has eigenvalue on the line spanned by and eigenvalue on its orthogonal complement. Any orthonormal basis of that complement completes to an orthonormal eigenbasis. ThusThe trace and determinant formulas remain valid when one of these eigenvalues is zero. When , all nonzero vectors have the same eigenvalue, and the chosen splitting is optional.
For a real symmetric matrix and nonzero real vector , the quotient rule and the quadratic form gradient give the displayed gradient. It vanishes exactly when , so the stationary points are eigenvectors. Equivalently, the Lagrange multiplier condition for optimizing on the unit sphere is . The smallest and largest eigenvalues give the global extrema; other eigenvectors can be stationary without being extrema, as a direction mixing larger and smaller eigenvalues changes the quotient in opposite ways.
Strict ellipticity 2026-10-25
For a real symmetric matrix field , strict ellipticity means that is a positive-definite matrix at every point. Continuity makes its smallest eigenvalue positive uniformly on each compact subset of the domain. A uniform positive lower bound on the entire domain is the stronger uniform ellipticity condition. Some conventions include a finite uniform upper bound in the latter term, while others state coefficient boundedness separately.
Strictly copositive matrix 2026-10-06
A real symmetric matrix whose quadratic form is positive at every nonzero vector in the nonnegative orthant. By compactness of the nonnegative unit sphere, this is equivalent to a positive uniform lower bound on that orthant. It need not be a positive-definite matrix.
Sum of mutually orthogonal projectors 2026-10-25
If idempotent matrices satisfy whenever , then . Thus the sum is idempotent. For a real orthonormal set , the matrices meet this condition. Their sum is the orthogonal projector onto their span; the symmetric matrix property follows by transposing the sum. Arbitrary sums of idempotent matrices need not be idempotent.
Sum of squares criterion for a biquadratic form Created 2026-10-05 Updated 2026-10-14
For a real symmetric matrix , set . ThenFor sufficiency, factor . Its contribution is a sum of squares of linear combinations of , while the contribution of is . For necessity, use a homogeneous sum of squares representation and sign averaging of a sum of squares. Writing each quadratic summand with coefficients gives , and for . Comparing coefficients gives .
This is the basic semidefinite programming certificate of copositivity discussed in Parrilo's paper on matrix copositivity.
Sum of the largest eigenvalues 2026-10-05
For a real symmetric matrix with eigenvalues , the sum of its largest eigenvalues is the support function of the fantope:Here is the Loewner order. In an orthonormal eigenbasis for , the objective depends only on the diagonal entries of , which lie in the capped simplex. Thus the identity reduces to the sum of the largest components of the eigenvalues.
Over a field whose characteristic is not two, a bilinear form has a unique decomposition into a symmetric bilinear form and an alternating bilinear form :Adding and subtracting the equations and both proves uniqueness and gives these formulas. In matrix notation, has matrix and has skew-symmetric matrix .[ref]
The diagonal values alone do not determine a general bilinear form, because for every vector. For the matrix of a bilinear form in the example above,Thus two different bilinear forms, represented by and its symmetric matrix part, have exactly the same quadratic form. To recover a bilinear form from its diagonal, one needs extra information such as the hypothesis that it is a symmetric bilinear form.
Symmetric bilinear form Created 2026-10-03 Updated 2026-10-14
A bilinear form is symmetric when for every pair of vectors . Equivalently, its matrix of a bilinear form in any basis is a symmetric matrix, since . Symmetry makes the relation reciprocal, giving the bilinear orthogonal complement a geometric interpretation.
Over the real numbers, set . The polarization identityrecovers the symmetric bilinear form from its quadratic form: expand and use symmetry to combine the two cross terms. For , take and . Then , , and , so . The same formula works whenever the characteristic is not two.[ref]
https://www.ma.imperial.ac.uk/~anskor/LINEAR.PDF. Skorobogatov, Linear Algebra and Matrices, p. 12: recovering a symmetric form from the diagonal
Three real diagonal matrices show how much variety symmetry allows. The identity matrix gives the positive-definite bilinear form . The matrix gives and is nondegenerate despite the isotropic vector . The matrix gives and is a degenerate bilinear form with radical of a bilinear form . Their level sets make the distinction visible: a circle, two branches of a hyperbola, and two parallel lines for .
Unit and zero level sets distinguish positive, indefinite nondegenerate, and degenerate symmetric forms
. Details. The inertia of a bilinear form records the numbers of positive, negative, and zero directions after matrix congruence diagonalization. By Sylvester's law of inertia, these counts survive change of basis; the three examples have inertia of a bilinear form , , and . Historically, Sylvester stated this invariance in an 1852 paper on reducing real quadratic forms to sums of positive and negative squares. Ghys and Ranicki reproduce his statement and distinguish it from his subsequent 1853 proof.[ref]
https://arxiv.org/pdf/1512.09258. Étienne Ghys and Andrew Ranicki, Signatures in algebra, topology and dynamics, §1.2: Sylvester's statement and proof
Symmetric eigenvalue residual bound 2026-10-25
For a real symmetric matrix , real and nonzero vector , some eigenvalue of lies within the stated ratio of . In an orthonormal eigenbasis, write and . Then , proving the bound.
The displayed coordinates identify determinant-one real symmetric matrices of size two with the two-sheeted hyperboloid. The special linear congruence action on symmetric matrices is transitive on each sheet, with stabilizer . In particular the positive sheet is the homogeneous space , a model of the hyperbolic plane.
Symmetric positive-definite matrix 2026-10-14
A real symmetric matrix is positive definite when its quadratic form is positive on every nonzero vector. By the spectral theorem, this is equivalent to all its eigenvalues being positive. It has a unique symmetric positive-definite square root.
Symmetric positive-definite preconditioning Created 2026-10-18 Updated 2026-10-31
Let and be real symmetric positive-definite matrices. The principal square root of a positive semidefinite matrix construction gives an invertible matrix for each. SetThen is equivalent to . This is a matrix congruence, and is a symmetric positive-definite matrix: , and for every nonzero vector ,since . This short proof establishes both requirements for applying the conjugate gradient method to the transformed linear system.
The left transformed matrix has the same eigenvalues becauseIts correct geometry uses the weighted inner product : . Thus it is symmetric in this inner product, even when it is not a symmetric matrix in ordinary coordinates. The spectral condition number governing the transformed symmetric problem is , not generally .
The Preconditioned conjugate gradient method realizes this transformation using auxiliary solves , without constructing or its matrix inverse. With fixed , initialize and ; while , usethen solve and setStop at a zero linear-system residual before forming another ratio. Positive definiteness makes the denominators positive before termination.[ref]
Notes for Ma221 Lecture 15, Dec 1, 2023. Math 221, Matrix Computations, Fall 2023; Notes for Ma221 Lecture 15, Dec 1, 2023; PDF p. 1, equivalent symmetric system and Preconditioned CG algorithm
An invertible matrix alone is insufficient: with and , the left transformed matrix has eigenvalues , and has no real symmetric positive-definite matrix square root. Even a valid symmetric positive-definite matrix can worsen conditioning if its scaling is unsuitable, as the next worked example shows.
If and , then . Hence their product is a symmetric matrix exactly when they commute. For example, and are symmetric but have nonsymmetric product . This criterion differs from asking whether an arbitrary matrix can be factored as a product of symmetric matrices.
Symmetrization map in characteristic two 2026-10-25
Over a field of characteristic two, the linear map , , has kernel of a linear map the symmetric matrices, of dimension . Its image of a linear map is the linear subspace of symmetric matrices with zero diagonal, of dimension . Indeed, means , and every symmetric zero-diagonal matrix is the image of the matrix obtained by retaining just its entries above the diagonal. Thus the two dimensions still add to , as required by the rank-nullity theorem.
The first coefficient of the alpha tensor is . Its contraction with the Levi-Civita symbol isby incompressibility and vanishing averages of total derivatives. Every antisymmetric second-rank tensor in three dimensions is detected by this contraction, so the coefficient is a symmetric matrix. The proof needs no Fourier analysis.
// Target: fluid-mechanics.bigb
Suppose a binary symmetric matrix satisfies , has one row of Hamming weight eleven and eleven rows of Hamming weight seven, and every sum of two distinct rows has Hamming weight six. Then generates a self-dual code. Its rows have weights twelve or eight; their mutual orthogonality makes every generated word doubly even. A weight-four word would have left-half weight one, two, three or four. The first two cases are excluded by the stated row weights; weight three would force to be a unit vector and hence to be a row of ; weight four would force . Thus weight four is impossible and the minimum Hamming distance is eight.
For a binary symmetric matrix with , the syndrome of an error relative to the column parity-check matrix is . An error of total Hamming weight at most three has at most one nonzero bit in one half. Test , each , , and each for weights at most three, two, three and two respectively. These identify , , and . For the extended binary Golay code, minimum Hamming distance eight guarantees that at most one such error exists.
