Frobenius inner product Created 2026-10-06 Updated 2026-11-05
For complex matrices, the Frobenius inner product is
Here is the conjugate transpose, and this convention is conjugate-linear in the first argument. It is the ordinary Euclidean inner product on all matrix entries, so is positive for every nonzero matrix. Its induced norm is the Frobenius norm.
On real symmetric matrices it becomes . In particular, for a real symmetric matrix and a real vector ,
Thus a quadratic form evaluated at is a linear test of against a rank-one positive semidefinite matrix. This connects the geometry of matrices with quadratic measurements of vectors.
For a finite Markov chain in which an absorbing state is accessible from every state, order the nonabsorbing states first and write
Here is the identity matrix and is the matrix inverse of . With the first hitting time of the absorbing set,
Thus gives the expected occupation count before absorption, including the initial visit; is the absorption probability of state ; and is the expected hitting time of the absorbing set. The vector has every entry one. See Grinstead and Snell, section 11.2, theorems 11.4-11.6.
For the toy routine in absorbing state, direct matrix multiplication gives
The first row of says that starting at gives visits to and to before termination. Their sum is the mean duration . The identities , , and independently verify the inverse, outcome, and duration calculations. The absorbing set must be reachable from every state for these finite formulas: applying them to all nonabsorbing states in the closed-cycle example would leave a persistent cycle in and make singular.
A fundamental system for a homogeneous linear ordinary differential equation of order on an interval is a basis of its vector space of homogeneous solutions. Every solution has a unique expression with constant coefficients. Under the usual continuity assumptions and a nonvanishing leading coefficient, a nonzero Wronskian at one point proves that solutions form such a system: their initial-value vectors are independent and span all possible initial data, and the Picard-Lindelöf theorem supplies uniqueness. For a first-order vector system, the corresponding columns form a fundamental matrix.
With parallel inertial axes and absolute time, differentiating a Galilean transformation adds relative velocities as ordinary vectors. This is the low-speed limit of relativistic velocity addition. At speeds comparable with the speed of light, absolute time is no longer the appropriate frame transformation, and the relativistic denominator cannot be neglected.
For a prime power and , count ordered lists of linearly independent vectors in . The first has choices. After independent choices, their linear span contains vectors, so the next has choices. Every -dimensional vector subspace has exactly ordered bases. Dividing the list count by this common multiplicity gives
The notation refers to the Grassmannian, here considered simply as the finite collection of these vector subspaces.[ref]
For , there are ordered independent pairs. Each two-dimensional vector subspace has ordered bases, leaving vector subspaces. There are only coordinate-selected vector subspaces; most of the 35 also contain vectors combining coordinates.
A unique reduced row echelon form gives another count. Its six possible pivot-column patterns have freely chosen entries. Each free entry lies in , giving vector subspaces, respectively. The diagram fixes the zero entries required to make each pivot the first nonzero entry in its row and the only nonzero entry in its column. Different choices describe different row spaces.
Figure 1.
The six reduced row echelon form pivot patterns give 35 two-dimensional vector subspaces of
. Original exact matrix-pattern enumeration. A star is a freely chosen finite field entry, while every displayed zero or one is fixed. Pivot columns are numbered from one in this image. Details.
Gaussian conditional independence Created 2026-09-28 Updated 2026-11-05
For a jointly Gaussian vector, conditional independence is equivalent to vanishing conditional cross-covariance. When the full covariance matrix is positive definite, two coordinates are conditionally independent given all the others exactly when their off-diagonal entry in the precision matrix is zero.
Gaussian elimination Created 2026-09-24 Updated 2026-10-25
Gaussian elimination applies elementary row operations to reduce a linear system to triangular form. Dense elimination uses arithmetic operations.
Gaussian elimination solves a linear system by removing one unknown from later equations at each step. Write the coefficients and right-hand side together as an augmented matrix . Apply the same elementary row operations to both parts until the coefficients form a row echelon form; for a square invertible matrix, this gives an upper triangular matrix system. Then back substitution recovers the unknowns from the last equation upward. The useful simplification is that each successive equation involves fewer unknowns, while the set of solutions stays the same.
Why do elementary row operations preserve solutions? Interchanging equations changes only their order. Multiplying an equation by a nonzero scalar can be undone by division. Replacing equation by itself plus times equation , with , can be undone by adding times the unchanged equation . Equivalently, an elementary matrix is an invertible matrix, so if and only if . Applying an operation to without also applying it to loses this equivalence.
At step , choose a nonzero pivot element after any row interchange. For every , form the elimination multiplier and perform the elementary row operation . Its coefficient in column becomes in exact arithmetic. Later operations combine rows that already have zeros in earlier columns, so those zeros survive. If an active column has no nonzero candidate, general row echelon form reduction skips it; a square invertible matrix always has a candidate at each step with suitable row interchanges. Partial pivoting also considers roundoff error when selecting the candidate.[ref]
For a dense matrix with one right-hand side, the classical algorithm uses arithmetic operations over the real numbers, counting each addition, subtraction, multiplication and division as one. At step , the coefficient update has entries, each costing one multiplication and one subtraction; the elimination multipliers, right-hand-side updates and back substitution contribute lower-order terms. Searching for partial pivoting adds comparisons, and storing the dense coefficients uses space. These assumptions exclude the different storage and work patterns of sparse Gaussian elimination; the exact loop counts appear in LU factorization and solve costs. Here denotes Big O notation.
Recording the same steps as an LU decomposition makes Reusing LU factors for multiple right-hand sides possible. This is useful whenever the coefficients stay fixed while the forcing vector changes: the expensive elimination is done once. The choice of pivot element matters even when the linear system is well conditioned, as Tiny-pivot roundoff in Gaussian elimination demonstrates.
Gaussian error Created 2026-10-31 Updated 2026-11-05
A Gaussian error is a random error term with a Normal distribution. The exact least-squares conclusions require a specified model: for fixed-design linear regression, let
where the design matrix has full column rank. The error vector thus has independent zero-mean Gaussian coordinates of common variance. For fixed , maximizing the likelihood over is equivalent to minimizing .
The least-squares estimator and its exact sampling law are
This follows because a linear transformation of a Gaussian vector is Gaussian. It is an exact finite-sample law, rather than merely Asymptotic normality.
Zero mean and common variance alone do not imply Gaussian errors or exact normal coefficient estimates. Even with Gaussian errors, fitted residuals are not independent copies of them: with , the residual vector is and has covariance , usually with correlated coordinates and reduced rank. A Normality assumption must identify whether it concerns errors, responses or another latent variable.
Gaussian even-moment pairing count Created 2026-10-14 Updated 2026-11-05
For a centered scalar normal random variable of variance , the Isserlis theorem sums complete pairings of factors. The first factor has partners, then choices remain for the first unpaired factor, giving . Odd moments vanish. Summing the moment-generating function gives . This is a scalar formula, not a formula for the length of a vector.
Gaussian independence of linear and quadratic statistics Created 2026-10-14 Updated 2026-11-05
When has full column rank, its Gram matrix is positive-definite and . The stacked normal vector therefore has zero cross covariance, so its blocks are independent. Since , the linear and quadratic statistics are independent. This is the projection argument behind independence of regression coefficient and variance estimators in a normal linear model.
A short concentration inequality argument explains the bound. For a fixed nonzero vector , the normalized row products are independent random variables with the standard normal distribution, so
Use the moment-generating function of a chi-squared distribution and the Chernoff bound to obtain
For , elementary logarithm inequalities bound their sum by . Apply the union bound to the nonzero pair differences to get failure probability at most . Independence of different pairs is unnecessary; they use the same map. This combines fixed-vector concentration with a finite-set union bound. [ref]
Gaussian least-squares contrast Created 2026-10-03 Updated 2026-11-05
Because Gaussian white noise is not an vector, least squares over is defined by maximizing
over , with the noise pairing interpreted through an isonormal Gaussian process. Differences of this contrast equal the formal differences of squared residual norms.
Gaussian process Created 2026-09-24 Updated 2026-11-05
Gaussian random vector Created 2026-10-05 Updated 2026-11-05
A Gaussian random vector has a multivariate normal distribution; equivalently, every real linear combination of its coordinates is a normal random variable, allowing zero variance. Its expected value vector and covariance matrix determine its law. Subvectors are independent when their cross-covariances vanish, a feature particular to joint Gaussianity.
For centered, unit-variance jointly Gaussian random variables with correlation coefficient , the displayed identity holds. Realize the pair as projections onto unit vectors of angle . Rotational symmetry of the two-dimensional Gaussian random vector direction makes sign disagreement have probability . The expectation is therefore . Perfectly correlated and anticorrelated endpoints follow directly; the sign at zero does not affect the result.
A strictly diagonally dominant matrix or a real symmetric positive-definite matrix guarantees convergence of the Gauss-Seidel method from every initial vector. These are sufficient conditions.[ref]
For strict diagonal dominance, put
Induct through a sweep. Old coordinates have absolute error at most ; previously updated coordinates have absolute error at most . The component update and the triangle inequality therefore bound the new error by . This proves , a maximum norm contraction.
For a symmetric positive-definite matrix, write . The Householder-John theorem applies to and , because is a positive-definite matrix. Hence the iteration matrix has spectral radius less than one, which gives the convergence criterion for a stationary iteration.
There is also a geometric reason fresh updates help: the Gauss-Seidel method is exact coordinate descent on the convex quadratic function
Holding the other coordinates fixed, minimizing in coordinate gives the corresponding row update. A change lowers by exactly . Each fresh coordinate is therefore the minimizer for the current vector, and a complete sweep lowers the quadratic form error unless every coordinate already solves its row. This explains the method's beauty without implying monotone decrease in every vector norm.
Gauss-Seidel iteration for a two-variable positive-definite system Created 2026-10-18 Updated 2026-10-31
Consider the original linear system
Direct substitution verifies the solution. The matrix is a symmetric positive-definite matrix: completing the square in its quadratic form gives for every nonzero vector. It is also a strictly diagonally dominant matrix.
Starting from , update the first row and then the second:
The first sweep gives and . The next gives and . The second row uses during the first sweep, even though the initial first coordinate was zero.
Figure 1.
Fresh and stale inputs in the first sweep of the original two-variable linear system
. Details.
With a stale first coordinate, the Jacobi method would instead give after the first sweep. Both methods have the same fixed point, but changing when coordinates become available changes the entire sequence of vectors.
Gauss-Seidel method Created 2026-10-05 Updated 2026-10-18
With , the Gauss-Seidel method solves . It uses each newly computed coordinate immediately in the remaining triangular solve. It is successive over-relaxation with parameter one, and converges from every start when is a symmetric positive-definite matrix.
To solve a linear system , split its matrix into the diagonal matrix and the strictly lower and upper parts , retaining their actual signs. Every diagonal entry must be nonzero. A sweep updates coordinates in order:
The Jacobi method uses the old vector throughout; the Gauss-Seidel method reuses each fresh coordinate. Thus the update order is part of the method.[ref]
The matrix splitting has , , so its iteration matrix is
Compute the update by forward substitution with the lower triangular matrix , rather than forming a matrix inverse. For a sparse matrix, a sweep only visits stored entries and can overwrite the working vector. Dependencies on fresh coordinates constrain parallel execution. This makes the Gauss-Seidel method an inexpensive solver component, including in a multigrid method.[ref]
For a state on a C-star algebra on a unital algebra , put on , with the inner product linear in its first argument. The Cauchy–Schwarz inequality for positive C-star functionals makes the null vectors pair to zero with every vector. Moreover gives , so is a left ideal and is well-defined and bounded by . Completion gives a Hilbert space and a star-representation . The adjoint identity follows from . The unit vector is cyclic and recovers the state as .
Generalized characteristic polynomial Created 2026-10-03 Updated 2026-11-05
For square matrices of the same size, their generalized characteristic polynomial is . If it is not identically zero, the pair is a regular matrix pencil, and its finite generalized eigenvalues are precisely the roots of : singularity of gives a nonzero vector with .
If is invertible, has full degree and reduces to an ordinary characteristic polynomial. A singular can lower the degree, accounting for generalized eigenvalues at infinity in the projective description. For example, , gives , with one finite generalized eigenvalue and one eigenvalue at infinity. If is identically zero, a singular-pencil analysis is needed instead of treating this zero polynomial as an ordinary degree- characteristic polynomial.