A matrix whose entry describes how differently a system responds to stimuli and . One convention is when the response vectors have nonzero variance. Such a dissimilarity need not satisfy every metric axiom. Model comparison must control fitted transformations and use held-out data.
Representation theory Created 2026-09-24 Updated 2026-10-20
Representation theory describes abstract symmetries by linear maps on vector spaces. A group representation assigns an invertible linear map to each group element, respecting multiplication. The payoff is that a symmetry problem becomes a problem about matrices, invariant subspaces, and eigenvalues. Decomposing the action can reveal combinations of variables that a symmetric system cannot mix.
Take the cyclic group , with . On three real coordinates, let send to :
This permutation representation does more than relabel a list: it acts linearly on every possible assignment of values to the three positions. The vector stays fixed. The vector subspace is also preserved, since a permutation does not change the sum.
Every vector separates uniquely into these two types:
For example, . The first term belongs to a trivial representation; the second is a contrast with zero coordinate sum. This is a direct sum decomposition . The symmetry preserves the mean and rotates the contrasts.
Figure 1.
Three-coordinate cyclic symmetry preserves the mean and rotates the zero-sum contrasts by 120 degrees
. Details.
The rotation is literal after choosing the orthonormal basis , of . In this basis,
It is a rotation through degrees, and three applications return to the starting point. There is no nonzero invariant real line, because this rotation has no real eigenvector. Thus the two-dimensional action is an irreducible representation over the real numbers. Over the complex numbers it instead splits into two eigenlines with eigenvalues and . The coefficient field is part of an irreducibility claim.
Why would this decomposition matter for a physical calculation? Consider three equal masses with scalar displacements and the symmetric quadratic coupling energy
The equations of motion are , where
is a graph Laplacian and is the all-ones matrix. The constant vector has eigenvalue zero: translating all coordinates equally costs no coupling energy. On , vanishes and , so both independent contrast directions have angular frequency . A three-coordinate coupled problem reduces to a free mean and two identical harmonic oscillators.
Figure 2.
Equal pair couplings leave the mean fixed and make two independent zero-sum modes oscillate at the same frequency
. Details.
For initial displacement and initial velocity zero, the exact solution is . The fixed mean and oscillating contrast can be read directly from the decomposition. More generally, a linear operator commuting with the group action carries its fixed-vector subspace into itself; with an invariant inner product, it preserves the corresponding orthogonal complement too.
For a finite group, averaging over the action constructs an invariant inner product over the real numbers or complex numbers. The resulting invariant complements explain Maschke's theorem: a finite-dimensional group representation decomposes into irreducible representations. Characters compress the action into traces and help identify those pieces. The assumptions matter; in modular representation theory the coefficient field can have characteristic dividing the group order, and such decompositions can fail. Chapter 4 of Pavel Etingof and coauthors' notes develops these mechanisms. [ref].
The linear-system residual is computable without knowing . The forward error is the actual difference from the desired solution. For an invertible matrix,
Keeping fixed, the approximate vector exactly solves with . Thus, for , is the relative backward error when only the right-hand side may change. For a vector norm and its induced operator norm,
A small relative linear-system residual ensures a small relative forward error when the condition number is moderate; an ill-conditioned matrix can amplify it. The bound follows directly from and .[ref]
For the Jacobi iteration for a three-variable tridiagonal system, the first linear-system residual is , while the first forward error is . In the Euclidean norm, the relative forward error is and the relative linear-system residual is . Its spectral condition number of a positive-definite matrix is , so the bound is about . The bound is a guarantee, not an equality. In floating-point arithmetic, recompute the linear-system residual from the current vector when checking termination; a small update alone need not certify a small forward error.
For this nonsymmetric matrix, consider the formal residual update , with nonzero . Put and . Algebra gives when . But and . Hence and for every defined nonzero step. At , the quotient is undefined. Thus the iteration cannot converge to zero linear-system residual from any nonzero initial residual. This concrete divergence proof distinguishes failure of an algorithm from mere failure to meet a sufficient theorem's hypotheses.
A perturbative generator dividing by an unperturbed energy difference cannot eliminate a nonzero coupling between exactly degenerate states. Those states must remain in the retained degenerate block. Small denominators also invalidate an expansion when the actual hopping matrix element, including occupation enhancement, is not small in comparison.
When a fixed matrix is used with several forcing or measurement vectors, compute its Pivoted LU decomposition once. Collect right-hand sides into the columns of , and the corresponding solutions into . Then
Each column undergoes the same row permutation, forward substitution and back substitution. Neither , nor depends on . This is the useful separation between preparing a linear system and applying its solution procedure repeatedly. LAPACK implements it by taking previously computed factors, permuting all right-hand sides, and performing the two triangular solves.[ref]
For the unpivoted factors in Computed three-by-three LU decomposition, take
Direct matrix multiplication checks all three identities , and . The first column reproduces the previous solve; the other two use exactly the same factors. New right-hand sides can also arrive one at a time. If changes, these stored factors generally need to be recomputed.
Figure 1.
One row permutation fixes a zero pivot element; each new right-hand side reuses the same LU decomposition and two triangular solves
. Details.
Richardson iteration 2026-10-14
For a real symmetric positive definite matrix , the error in each eigenvector direction is multiplied by . Convergence from every initial vector is therefore equivalent to . At either endpoint there is a nondecaying error direction. The optimal constant parameter is , giving contraction factor .
Riemannian metric Created 2026-09-24 Updated 2026-10-18
A Riemannian metric is a smoothly varying positive-definite inner product on each tangent space of a smooth manifold. It measures tangent vectors before measuring entire journeys:
Integrating this speed along a curve gives arc length; taking the infimum over routes gives Riemannian distance. A smooth manifold together with this measuring rule is a Riemannian manifold.
In a coordinate chart , the rule is represented by a smooth positive-definite symmetric matrix :
The notation describes the squared infinitesimal line element, rather than an ordinary distance between distinct points. Changing coordinates changes the matrix entries; it preserves the measured norm of the same tangent vector.
For the plane with , the vector has norm and has norm . The coordinate change turns this into : coefficients that look different can describe the same geometry. On a circular cylinder the induced metric similarly becomes Euclidean when unrolled. On a round sphere, polar coordinates give , away from the poles; the apparent degeneracy at a pole belongs to this coordinate choice, not to the Riemannian metric.
The point of the construction is that measurements make sense intrinsically, even without a chosen surrounding Euclidean space. It gives a common starting point for geodesics, curvature encoded by the Riemann curvature tensor, and the Laplace-Beltrami operator. [ref].
For a compact Riemann surface of genus , the theta divisor in has the displayed multiplicity. A local determinant description of the theta divisor reduces to an by matrix vanishing at , where . Its linear term is cup product with a tangent class in . The invertible cup-product direction for a line bundle on a curve shows that its determinant has order exactly . Consequently the singular locus consists precisely of classes with at least two independent global sections.
Right preconditioning 2026-10-18
Right preconditioning substitutes into the linear system . Applying its transformed linear map first solves , then computes . Recover the solution by solving . Its linear-system residual is exactly the original linear-system residual , which is useful when monitoring the imbalance in the original equations.
The left preconditioning and right preconditioning transformed matrices are similar matrices:
They therefore have the same eigenvalues, although their Euclidean norm condition numbers and residual histories need not agree. A similarity transformation preserves eigenvalues; a nonorthogonal change of coordinates need not preserve lengths.
Rotation generator 2026-10-25
In the three-dimensional vector representation, the Hermitian matrices generate active rotations by the matrix exponential . They satisfy . The real antisymmetric matrices are the corresponding Lie algebra generators of . Their commutator gives the leading change produced by interchanging two infinitesimal rotations.
Rotation matrix Created 2026-09-24 Updated 2026-10-14
A rotation matrix turns vectors while preserving their shape relationships. For column coordinate vectors in an orthonormal basis, its defining conditions are
where is the transpose and the identity matrix. In the usual Cartesian basis of the plane, an active counterclockwise planar rotation through an angle uses
Here the vector moves and the basis stays fixed: . Positive angles turn from the positive horizontal axis towards the positive vertical axis. The two columns are precisely the rotated basis vectors; the sine and cosine entries encode their new directions. Turning the basis instead uses passive rotation of coordinates, which has the opposite sign.
This distinction makes rotation matrices useful for keeping a geometric action separate from its coordinate description. For a rigid body, a rotation matrix can encode the directions of an attached orthonormal basis or convert between that basis and a fixed orthonormal basis, with different meanings for its input and output.[ref]
The orthogonal matrix condition preserves every dot product:
Consequently Euclidean norms and angles between nonzero vectors are preserved, as is the Euclidean norm of the difference between any two endpoints. The additional determinant condition preserves orientation of a vector space and oriented volume: for any square matrix whose columns are the input vectors, . An orthogonal matrix of determinant , such as a reflection matrix, preserves dot products but reverses orientation of a vector space. The matrix inverse is especially simple: .[ref]
Row and column spaces 2026-10-14
The row space of a matrix is the span of its rows, and its column space is the span of its columns. Both have dimension equal to the matrix rank, though they lie in different ambient coordinate spaces for a rectangular matrix.
Row echelon form Created 2026-10-14 Updated 2026-10-18
A matrix over a field is in row echelon form when all zero rows follow the nonzero rows, each nonzero row's first nonzero entry lies strictly to the right of the preceding row's first nonzero entry, and all entries below each such leading entry vanish. These leading entries are its pivot elements. They need not be one, and entries above them need not vanish.[ref]
The staircase turns a linear system into a sequence of simpler equations. For example,
is in row echelon form, with pivot columns 1 and 2. Its second equation determines once is chosen; its first then determines by back substitution. It is not in reduced row echelon form, because the second pivot column contains a nonzero entry above its pivot element. Neither being square nor having a nonzero entry in every row is required.
Elementary row operations bring every matrix to row echelon form: choose a nonzero entry in the leftmost available nonzero column, interchange rows, clear entries below it, and repeat on the remaining rows and later columns. Skip columns with no remaining nonzero entry. Clearing above each pivot element and scaling it to one completes reduced row echelon form.[ref]
The nonzero rows of an row echelon form are linearly independent: in a vanishing linear combination, inspecting the first pivot column forces the first coefficient to be zero, then the next forces the second, and so on. They give a basis of the original row space. The number of pivot elements is both the row rank and the column rank. To recover a basis of the original column space, select the corresponding original pivot columns; the reduced column vectors generally belong to a different column space.
Here the arithmetic is exact in the specified field. For floating-point arithmetic, deciding whether a computed entry counts as zero requires a numerical criterion; see Tiny-pivot roundoff in Gaussian elimination and condition number. An exact row echelon form classification alone does not settle numerical stability.
Row-equivalent matrices 2026-10-18
Two matrices of the same size over the same field are row-equivalent matrices if a sequence of elementary row operations transforms one into the other.[ref] Every operation is reversible, so they have the same row space and the same column linear relations. Writing the entire sequence as multiplication by an invertible matrix gives and
Thus the kernel is preserved. For a nonzero right-hand side, perform every operation on the whole augmented matrix : changing the coefficients while keeping fixed generally changes the solutions. The column space instead transforms to , which need not equal .
For a finite-index subgroup , its projection to the first coordinate is and its intersection with the second axis is , with . Choose , reducing modulo . Together with it is a basis of this row lattice: subtracting a multiple of from any vector leaves a vector on the second axis. These parameters are unique, and reduction of the two coordinates shows . Consequently an integral matrix of positive determinant has a unique representative of this form under left multiplication by , with . This proves the lattice facts underlying determinant-n matrix representatives for Hecke operators.
Row interchange 2026-10-25
Exchanging two rows of a matrix. It is its own inverse and changes the sign of the determinant of a square matrix.
The row lattice of an integer matrix with rows is the set of their integer linear combinations. It is an Euclidean lattice in its real span, since it is contained in the discrete set and spans that real vector space. For a nonsingular two-by-two integer matrix, the row Hermite normal form in rank two gives a canonical basis and proves that its index in is the absolute value of its determinant.
Row rank Created 2026-10-14 Updated 2026-10-18
The row rank of a matrix is the dimension of the vector space spanned by its rows. Elementary row operations preserve this row space; multiplication on the right by an invertible matrix preserves all linear relations among the rows.
To see why row rank equals column rank, write a reduced row echelon form as , where is a product of elementary matrices and is an invertible matrix. Reversibility of the row operations gives equal row spaces for and . Also if and only if , so the columns have exactly the same linear relations. If has nonzero rows, its pivot columns are the first standard basis vectors of and span its column space. Its nonzero rows are linearly independent, since their matrix entries in the pivot positions form an identity matrix. Both dimensions therefore equal , and both counts transfer back to .
Work over the rational numbers, allowing unknowns in the real numbers when interpreting the geometry. Consider four equations in three unknowns:
The third row of is the sum of its first two rows, and the fourth is their difference, second minus first. The same relations must hold on the right: consistency requires and . The latter condition already holds. Gaussian elimination makes this compatibility test explicit while exposing the remaining freedom.
Apply the elementary row operations in this order, using each row's current value:
then and . The resulting augmented matrix is in row echelon form for every :
When , the third row has its pivot element in the augmented column. It says , so the linear system has no solution. When , that entire row vanishes and only two pivot elements remain. More equations than unknowns therefore do not force a unique solution: some equations may repeat information.
The final operation reduces the coefficient block to
The product of all six elementary matrices is
Direct matrix multiplication verifies both displayed transformations. Its determinant is one, so this transformation is reversible. In particular, the third row of extracts the discrepancy between the third equation and the sum of the first two.
Figure 1.
Row echelon form exposes compatibility; a right-hand-side pivot element distinguishes inconsistency from a free variable in a linear system
. Details.
For , is the reduced row echelon form of the full augmented matrix. For , only its coefficient block is reduced: scale the third row by and clear the entries above its augmented pivot element. The full reduced row echelon form is then
The last column is part of the matrix when testing the echelon conditions. Calling fully reduced before clearing that column would miss this distinction.