Sesquilinear form Created 2026-09-24 Updated 2026-10-14
A sesquilinear form on a complex vector space is a map which, with the convention used throughout this article, is a linear map in its first argument and a conjugate-linear map in its second. For vectors and complex numbers , the defining identities are
The bars denote complex conjugation. No symmetry or positivity is required. Some authors choose the opposite convention; every formula here keeps the first argument linear.[ref]
For a basis of a finite-dimensional vector space, write , , and . Expanding by the two identities gives
Every complex matrix gives a sesquilinear form this way. The superscript means transpose, not conjugate transpose. Equivalently, the scalar is , where . This is the convention used for the matrix of a Hermitian form when symmetry is imposed. The coordinate formula follows directly by expanding the basis coefficients.[ref]
For a concrete example on , let . Its matrix is : but , so it is not a Hermitian form. Also , so even real diagonal values cannot be assumed for an arbitrary sesquilinear form. By comparison, the bilinear form satisfies and has ; it cannot supply positive squared lengths on this complex vector space.
The effect of changing the complex argument of a multiplier is particularly revealing. For real numbers , sesquilinear forms satisfy
Thus a common change of complex argument cancels from the diagonal, whereas the two arguments rotate the output in opposite directions. Conjugating one argument is what replaces the scaling of a bilinear form by the nonnegative scaling needed for a Hermitian inner product. This mechanism also works in function spaces: for complex continuous functions on , obeys the same identities, letting integration measure overlap rather than merely multiply coefficients.
Sherman–Morrison formula Created 2026-09-24 Updated 2026-10-14
The Sherman–Morrison formula computes the matrix inverse after a rank-one matrix update. If is an invertible matrix and , then
The inverse correction is itself an outer product, divided by the scalar . The matrix determinant lemma shows that the nonzero-denominator condition is exactly the condition that the updated matrix remains an invertible matrix.
For , , and , we have . Thus the computed inverse is
Multiplication in either order gives the identity matrix. The result reuses the original inverse and the same correction vectors, rather than solving independently for all four inverse entries.
Often only the solution of an updated linear system is needed. If and , then
provided . The two solves use the same LU decomposition of . This expresses the computational benefit without requiring an explicitly stored matrix inverse. Strang's Lecture 14, transcript pp. 9–10 explains this reuse of the original factorization.
To see why the inverse correction works, first consider and put . The rank-one matrix satisfies . Expanding
also works in the reverse order. The general case follows by factoring out and replacing by . A matrix identity has reduced to cancellation of scalar coefficients.
Historically, Jack Sherman and Winifred J. Morrison studied updating an inverse when a single matrix entry changes in their [ref]. Such an entry change is the special rank-one matrix update , with standard basis vectors . The reference and the earlier 1949 abstract on row or column changes are recorded in Henderson and Searle, On Deriving the Inverse of a Sum of Matrices (1981), references 40–41. This distinguishes the specific original setting from the more general formula used here.
Under power iteration convergence for a diagonalizable matrix, take to be a unit vector. The displayed formula describes both the dominant eigenvector direction and its rotating complex unit factor. With real data and a positive dominant eigenvalue, converges to or according to the sign of . With a negative dominant eigenvalue, consecutive vectors approach opposite signs even though their power iteration direction error tends to zero.
For complex data write , where is its complex argument. The leading factor turns by per step, so the vectors generally do not converge. For example, and give : the first component cycles through four phases while the ratio of component moduli tends to zero. Its power iteration direction error is . Multiplying by gives a sequence converging to .
A stopping rule based only on therefore rejects successful sign-alternating iterations. A comparison invariant under complex unit factors is
Even this comparison can be small for a slowly changing wrong mixture; the eigenpair residual supplies a separate diagnostic.
Signed swept area 2026-10-14
Signed swept area counts the area traversed by a position vector, positively or negatively according to its direction of turning. For a continuously differentiable planar trajectory, its accumulated value relative to is the line integral
A short segment contributes the oriented triangle area ; taking its time derivative gives areal velocity. Repeated turns count repeated area; a reversal subtracts it. Thus this quantity need not equal the area of the union of all previously swept regions. The origin matters: the relevant origin for Kepler's second law is the attracting focus of the ellipse, rather than its geometric centre.
If , every vector splits as in . On these summands is respectively zero and the identity. Its matrix in an adapted basis is therefore , where is its rank of a linear map. Two idempotent linear maps on the same finite-dimensional vector space are similar matrices exactly when their ranks agree.
Similarity transformation Created 2026-09-24 Updated 2026-10-14
A similarity transformation replaces a square matrix by a similar matrix. With the change-of-basis matrix convention , it sends to : reconstruct the input in old coordinates, apply , then extract the output's new coordinates. These three operations explain the order of the factors.
The equivalent formula uses as the conversion from old to new coordinates, reversing the role assigned to above. For the opening example's numerical , this opposite conversion gives . If the old basis is , the new basis vectors in that convention are the columns of , namely and . Both formulas are similarity transformations; the direction of the coordinate conversion decides which one describes a specified basis.
An especially useful form is the intertwining operator equation
It says that applying before reconstruction by gives the same physical output as reconstructing first and applying . Given an invertible matrix , multiplying this equation by proves matrix similarity. Without invertibility, the equation alone does not prove matrix similarity.
Figure 1.
Matrix similarity makes coordinate conversion commute with the action of a linear operator
. For the worked example, both routes give the old output coordinate vector . The bottom strip records matrix similarity invariants; the eigenvector tuple changes while reconstructing to the same vertical vector. Details.
Simple bivector 2026-10-14
A simple bivector can be expressed as one exterior product of two vectors. Changing the pair need not change its area element: for every scalar , by bilinearity and . This operation shears the represented parallelogram while preserving its oriented area.
Every bivector in a real vector space of dimension at most three is simple, but this fails in dimension four. For an ordered basis , consider
The two components describe independent coordinate planes. Their square is
whereas because the factors repeat. Thus this cannot be one simple bivector. Over the real numbers in dimension four, the converse also holds: a nonzero bivector with is simple. The nonzero factor two is important; that criterion cannot be applied unchanged in characteristic two.
Singular matrix Created 2026-09-29 Updated 2026-10-18
An square matrix over a field, with , is singular when it has no matrix inverse. Geometrically, its linear map loses at least one input direction: some nonzero vector satisfies , so . Over the real numbers, the following family makes that loss visible:
Figure 1.
Compression by becomes collapse only at
. The square retains two-dimensional extent for and , but maps to a segment at . The orange points come from three inputs with the same first coordinate and different second coordinates. They coincide only at . This is exact illustrative geometry, not measured data. Details.
For this diagonal matrix, . Whenever , the input can be recovered as and the kernel is . At , the kernel becomes : the entire second coordinate is forgotten. Consequently has no solution if , and has the solution straight line , , if . A singular matrix therefore need not make a particular linear system inconsistent; it prevents unique recovery when that linear system is consistent.
For an square matrix, all these tests describe the same failure:
Here is the field of scalars. Equivalently, the columns are linearly dependent, the linear map is neither injective nor surjective, and some outputs cannot be reached. See the invertible matrix equivalences and Strang's MIT 18.06SC lecture summary, Multiplication and inverse matrices, p. 2. Over an infinite field, every consistent linear system for a singular matrix has infinitely many solutions; over a finite field with elements and nullity , it has exactly solutions. This follows by adding each kernel vector to one solution.
The square hypothesis is essential. For an matrix, injectivity means matrix rank (full column rank), whereas surjectivity means matrix rank (full row rank). A rectangular matrix can satisfy one condition without the other; its kernel and image of a linear map give the useful tests without calling it a singular matrix.
Exact singularity also differs from sensitivity. For , is an invertible matrix, but its smallest singular value is and its condition number in Euclidean norm is . A change changes the recovered input by : with and , an output change of causes an input change of . These are exact toy values, not measurements. The condition number quantifies this sensitivity before a direction is lost; see Steve Marschner, Condition numbers, §2. A small determinant alone is not a reliable sensitivity test: has determinant yet condition number one for every nonzero real , since both singular values shrink equally.
A uniform rigid body disk of mass and radius moves in a frictionless plane. Let identical springs attach equally spaced rim points to fixed anchors in their radial directions. The equilibrium spring length is , natural length , and spring constant . Write the small centre displacement as and the rotation as . For a spring with radial and tangential unit vectors , its length is
This follows by a second-order Taylor series for the distance between and . In the elastic potential energy , the equilibrium tension multiplies the second-order change of length. Thus it contributes to the linearized stiffness even though the displacement is small.
The equally spaced directions satisfy and . Summing the spring energies gives
The kinetic energy is , using the moment of inertia of a uniform disc. The Euler-Lagrange equations give the displayed squared angular frequencies. The translational normal modes are degenerate; rotation is independent. At zero prestretch the rotational frequency vanishes at quadratic order, and finite-angle spring stretching first contributes at higher order.
Figure 1.
Translations and rotation of a disk attached to symmetric prestretched radial springs
. Details.
Small rotation commutator 2026-10-14
Use the cross-product Lie algebra convention , , , so . Put and , using the matrix exponential. The finite group commutator is
Here and big O notation refers to any fixed matrix norm. Active rotation matrices act on column vectors from right to left: first rotate about by , then about by , then about by , and finally about by . Swapping and replaces the product by its inverse and changes the leading Lie bracket to .
Writing and , direct matrix multiplication gives
For radians, , whereas . Thus the residual is a positive rotation about to leading order; at finite it also has smaller components. The Lie bracket captures the leading effect of the four moves rather than their entire finite motion. See Etingof, Section 7.2, Proposition 7.11.
Figure 1.
Four small rotations leave the motion predicted by their Lie bracket
. Details.
The left panel projects the actual four arcs onto the -plane for ; the start and endpoint are close but distinct. The right panel divides the residual coordinates by , making the limit visible. This is a numerical picture of in the SO(3) Lie algebra.
A solution of a linear system is a vector whose image under the coefficient matrix is . Its solution set can be empty or have one or many elements; an invertible matrix gives the unique solution .
For a consistent linear system , choose one solution . By linearity, if and only if , so its solution set is the translate of the kernel. Over the real numbers, this gives exactly one solution when the kernel is zero and infinitely many when the kernel contains a nonzero vector: is a distinct solution for each real if lies in the kernel. An inconsistent linear system has an empty solution set. The dimension of a nonempty solution set, regarded as an affine space, is the nullity of .
Sorted sparse dot product 2026-10-31
For two sparse vectors with the same dimension and sorted nonzero entries, merge their coordinate lists. Equal indices contribute their product and advance both cursors. If one index is smaller, advance only that cursor: the other vector has zero at that coordinate, because all its smaller indices have already been processed and all remaining indices are larger. This proves a loop invariant consisting of the accumulated inner product over settled indices. Every iteration consumes at least one stored entry, giving time complexity and constant auxiliary space for nonzero entries. The method avoids work proportional to the ambient dimension. Its floating-point arithmetic error remains distinct from its exact algorithm correctness.
Spacelike vector 2026-10-06
With metric signature , a nonzero vector is spacelike when its Lorentzian inner product with itself satisfies . In Minkowski spacetime, this means its spatial components have larger squared Euclidean length than its time component. The classification is preserved by Lorentz transformations. A timelike vector has negative squared Lorentzian inner product, and a null vector has zero squared Lorentzian inner product.
Take a star graph with center and four leaves . Let be its Laplacian matrix and the identity matrix. In the order , the original example is
For a nonzero vector , its quadratic form is
Thus is a symmetric positive-definite matrix and either ordering below admits a Cholesky decomposition. Changing the ordering changes the work, rather than the mathematical solvability.
Center first. Eliminating with pivot element leaves the Schur complement
Every pair of leaves now has coupling : six new edges, hence six undirected fill-in positions. The four remaining vertices form a clique. In the Cholesky decomposition, the first column has and . The rest of the lower triangular matrix is dense. To check that later cancellation does not remove its entries, after leaves have also been eliminated, the active leaf block is
Indeed a leaf step sends to . All active off-diagonal entries remain negative. The successive pivot elements in ordinary symmetric Gaussian elimination, equivalently the squared diagonals in the Cholesky decomposition, are
The Cholesky decomposition therefore stores nonzero entries, including its diagonal.
Leaves first. Permute to . Each leaf has only one remaining neighbor, so its elimination changes only the center's diagonal, reducing it by . The successive pivot elements are , and the exact Cholesky decomposition is
There is no fill-in, and only nonzero entries in . This is a concrete instance of leaf elimination of a tree-pattern positive-definite matrix; its general proof explains why the same idea works on every tree pattern. The minimum degree algorithm also chooses a leaf at every nontrivial stage of this particular example, but that success gives no general optimality guarantee.
Figure 1.
Eliminating the center of a four-leaf star graph creates a clique; eliminating leaves creates no fill-in
. Details.
Figure 2.
The same symmetric positive-definite matrix has 15 or nine nonzero Cholesky decomposition factor entries, depending on its ordering
. Details.
The input has 13 nonzero matrix elements when both symmetric halves are counted, or nine in its lower triangle. The six added undirected edges correspond to six added positions in one triangular factor, or 12 positions if both symmetric halves of the filled pattern are displayed. Comparing all 13 input entries directly with the 15 entries of would mix counting conventions.
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]
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]
Sparse injectivity Created 2026-10-06 Updated 2026-10-07
A linear map is injective on the class of sparse vectors of order exactly when its null space contains no nonzero vector with at most nonzero entries. Differences of two sparse vectors have at most active coordinates. Conversely, splitting the support of a vector of a -sparse null vector into two parts constructs two distinct -sparse vectors with the same image. The strict null space property implies sparse injectivity by applying it to both parts of such a split.
Represent a finite sparse vector by a sorted doubly linked list of its nonzero coordinates. A list header stores the dimension; every ordinary linked list node stores a distinct valid coordinate index, its nonzero value, and predecessor and successor references. In a circular linked list, the endpoints connect to the header, and an all-zero vector has the header linked to itself in both directions. The representation invariant requires strictly increasing ordinary indices, valid bounds and mutually consistent forward and backward links. The abstraction function assigns zero to every coordinate absent from the list. The header is metadata, never an ordinary coordinate.
For example, has dimension nine and only three stored coordinates. The header's index field can store nine even though nine is not a valid coordinate index. Keeping the header distinct is therefore essential when searching for or removing entries.
Figure 1.
A circular sparse linked vector representation stores only nonzero coordinates
. Details.
Sparse maximum eigenvalue Created 2026-10-05 Updated 2026-10-06
For a design matrix with columns, define for . Equivalently this bounds for vectors supported on at most coordinates. These quantities are nondecreasing: extend the support of a maximizing vector by zero coordinates and use the variational characterization of the largest eigenvalue. Values at , including infinity, require a separate convention.
For a finite-dimensional Hermitian matrix , its spectral projection is the orthogonal projection onto the eigenspace for . In an orthonormal eigenbasis, the displayed sum is over every basis vector with that eigenvalue. The projection is independent of the choice of basis within a repeated eigenspace. For distinct eigenvalues ,
This is the spectral decomposition grouped by distinct eigenvalues: decompose a vector into orthogonal pieces, then scale each piece. For the matrix ,
Thus and : the two pieces add back to . Squaring the matrix simply squares each scalar, , and similarly the matrix exponential is . Spectral projections of a self-adjoint matrix turn repeated matrix calculations into scalar calculations on fixed vector subspaces.