Best affine state estimate 2026-10-14
A best affine state estimate minimizes mean squared error among estimates formed from the available observation vector . With finite second moments and invertible observation covariance matrix, it isThis follows from the orthogonal projection of centered state components onto the linear span of centered observation components. For Jointly Gaussian state and observation it equals the conditional expectation; for general laws a nonlinear estimate can have lower mean squared error.
Biorthogonal system 2026-10-31
For a normed vector space , a family in is biorthogonal when the displayed Kronecker-delta equations hold. Its vectors are linearly independent: applying to a finite linear dependence isolates its th coefficient. No inner product is required, and the family need not span a dense subspace. If its linear span is dense, each prescribed coordinate functional is unique by continuity. For a countable total family, the finite sums are bounded projection operators, since biorthogonality gives .
Bit-flip repetition code Created 2026-09-28 Updated 2026-10-14
The -qubit bit-flip repetition code stores one logical qubit in and . Its stabilizer generators are for , and its logical operators are and . Interchanging the Pauli X gate and Pauli Z gate gives the phase-flip repetition code. For odd , majority-vote decoding of a repetition code corrects up to physical Pauli X gate errors, assuming ideal operations and a noise family containing only these bit flips.
For , prepare two quantum ancillas in and apply controlled-NOT gates from the input qubit to each of them. By linearity, encoding sendsThis does not produce , which would contain cross terms. For example, encoding produces , whereas three independent copies would have eight equal computational basis amplitudes. The encoding creates quantum entanglement when both coefficients are nonzero and respects the no-cloning theorem.
The three-qubit bit-flip syndrome table corrects the family and its entire linear span, as specified by the Knill--Laflamme condition. It cannot correct arbitrary errors on one physical qubit: the phase flipcommutes with both checks and acts as logical . In particular, it takes the encoded to the orthogonal encoded with error syndrome . Thus its full quantum code distance is one, despite correcting one error of the restricted Pauli X gate type. The Shor code, Steane code and five-qubit error correcting code provide protection against arbitrary one-qubit errors.
Closed linear span 2026-10-14
In a normed vector space, the closed linear span of is the closure of its linear span in the norm topology. It includes limits of finite linear combinations. In a Hilbert space, an infinite orthonormal basis spans in this closed sense, allowing norm-convergent series in addition to finite sums.
Closure of a matroid 2026-10-24
The closure of a matroid adds all elements that fail to increase its rank of a matroid. It abstracts the linear span in a linear matroid. It is extensive, preserves inclusion, preserves the rank of a matroid, and is an idempotent function:Proof. Extensivity follows from when . If and , submodularity of matroid rank gives . Thus an element in also lies in ; the case is automatic. Add the finitely many elements of one at a time. Inclusion preservation makes each addition have zero marginal increment of the rank of a matroid, proving rank preservation.
For completeness, nested subsets of equal rank of a matroid have the same closure of a matroid. If , apply submodularity of matroid rank to and to obtain ; monotonicity gives the reverse bound. The defining tests for membership in their closures are therefore equal. If , , so both closures contain . Apply this equal-rank result to to prove idempotence. In particular, every maximal matroid independent set of has the same closure of a matroid as .
Collinearity Created 2026-10-18 Updated 2026-10-20
Points are collinear when they lie on a single line. Two vectors are collinear when their linear span has dimension at most one. For a nonzero vector , this means that the other vector is for some scalar . This algebraic convention includes the zero vector; the directional use of “parallel” sometimes assumes both vectors are nonzero.
Column rank Created 2026-10-14 Updated 2026-10-18
The column rank of a matrix is the dimension of its image of a linear map, equivalently the dimension of the linear span of its columns. Multiplication on the left by an invertible matrix preserves all column linear relations, and elementary column operations preserve their linear span. In row echelon form the pivot columns form a basis of the column space. Its dimension equals the number of nonzero rows, and hence the row rank.
Column space Created 2026-09-29 Updated 2026-10-18
The column space of a matrix is the linear span of its columns. It is the image of a linear map represented by .
If an matrix has columns , then matrix multiplication gives . Thus its column space consists of exactly the attainable output vectors in , and has a solution exactly when belongs to this column space. Its dimension is the matrix rank; the kernel instead describes input vectors in whose contributions cancel.[ref]
Solution Sets. Interactive Linear Algebra, §2.4.3, Solution Sets and Column Spans: attainable outputs and input solution sets occupy different spaces
Columns partition for finite-sums systems 2026-10-14
Introduce a variable for every nonempty and the homogeneous equations for . In their matrix , partition the columns by the displayed blocks. For each , the vector with coordinate exactly when lies in the kernel of a linear map of . Its nonzero coordinates occur in and earlier blocks only; every coordinate in is one. Hence the first block's column sum is zero and every subsequent block sum is in the linear span of earlier columns. The columns condition holds, so Rado's theorem forces a positive monochromatic solution, and all nonempty finite sums of its singleton coordinates have the same colour.
Columns property Created 2026-09-24 Updated 2026-10-05
If are the columns of a matrix, the matrix has the columns property when has an ordered partition such thatand, for , belongs to the linear span of the columns indexed by .
Completeness of an orthonormal system 2026-10-25
An orthonormal set is complete in a Hilbert space when the closure of its linear span is the whole space. Equivalently, the only vector orthogonal to every member is zero: project any vector onto the closed span, and its remaining orthogonal component must vanish. This is completeness of an expansion system, distinct from completeness of the ambient metric space.
Cyclic vector for a group representation Created 2026-10-05 Updated 2026-10-06
A vector is cyclic for a group representation if the linear span of is all of . Equivalently generates as a module over the group algebra. Its projection to the invariant subspace generates that subspace, so a cyclic representation of a finite group has at most one copy of the trivial representation.
Dual prediction with a kernel 2026-10-14
If the weight vector lies in the linear span of the training feature map outputs, write . ThenThis is a dual representation: coefficients weight training examples rather than feature coordinates. They need not be positive, and need not be unique when the kernel matrix is singular. Some kernel methods instead write with under their own optimization constraints.[ref]
The kernel trick by Ryan Giordano. Kernelizing classification with support vector machines: displayed prediction as a sum of label-weighted kernel evaluations
The formula is an algebraic conversion for a weight vector in this linear span, not a claim about every possible weight vector. The representer theorem gives a broader reason this form appears in regularized kernel methods.For the XOR separation by a product feature, let have rows . The Gram matrix of those rows, equivalently the kernel matrix, isIts eigenvalues are , so it is a positive semidefinite matrix of rank two, not an invertible matrix. More generally, for any real coefficient vector and any finite set of inputs,This proves the positive-semidefinite kernel condition for the displayed polynomial kernel on all of , rather than checking only this square.
Here , so the explicit choice gives and . ConsequentlyFor the new input , the four polynomial kernel evaluations are . Their weighted sum is , and the sign function predicts . No explicit feature map is needed for this calculation. These coefficients were constructed to reproduce the chosen separator; no fitting algorithm or generalization guarantee is being asserted.
Exterior power Created 2026-09-28 Updated 2026-10-14
The th exterior power is the quotient vector space of the tensor power that makes every elementary tensor with two equal factors zero. More precisely, take the quotient vector space by the linear span of all such tensors. Its elementary products turn alternating multilinear maps into linear maps: every alternating -linear map on factors uniquely through .[ref]
Exterior Powers by Keith Conrad. Exterior Powers, §3, Definition 3.1 and Theorem 3.3: quotient construction and universal property
If is an ordered basis, the increasing productsform a basis of . There is one for each -element choice of basis directions, soRepeated directions vanish; products with a different order can be sorted using their sign. Coordinate determinants distinguish the remaining increasing products, establishing linear independence.[ref]
Exterior Powers by Keith Conrad. Exterior Powers, §4, Theorem 4.2: basis and rank of an exterior power
For , a basis of is . This explains the three bivector components in the worked example. The top exterior power has one basis element, , while : four independent directions cannot fit into that vector space. By convention is the scalar field, even when has dimension zero.
Finite greedy basis extension and choice 2026-10-14
For an explicit basis extension in , start with , where . Its linear span is the line . Adding preserves linear independence, because is outside that line, and gives a basis. Every vector has the finite linear combinationThe vector cannot be added while preserving linear independence: it is already in the linear span. Many choices outside the line work, so maximality does not select a unique basis.
For a finite-dimensional vector space with a supplied finite spanning set, a greedy algorithm scans the list, retaining each vector precisely when it is outside the linear span of those already retained. Starting with a linearly independent , the same scan adjoins only the needed vectors. Retained vectors remain linearly independent, and every skipped vector is in the final linear span, so the result is a basis containing . Finite reasoning needs no axiom of choice.
For an arbitrary vector space, this finite stopping argument is unavailable. Accepting Zorn's lemma asserts existence of a maximal element once every chain in a partial order has an upper bound; it supplies no general computational recipe. Over ZF, Zorn's lemma, the axiom of choice and the well-ordering theorem are equivalent. Particular infinite vector spaces can still have explicit bases, such as for the vector space of univariate polynomials over a specified field; infinity alone does not force a nonconstructive argument.[ref]
How to use Zorn’s lemma by Timothy Gowers. How to use Zorn’s lemma, “Further general remarks”, immediately after Example 1 continued: equivalence with choice and well-ordering
After clearing denominators in a matrix, for every disjoint pair of index sets with nonempty and outside the linear span of the -columns, choose an integer linear functional vanishing on those columns but not on the indicated sum. Choose a prime number dividing none of the finitely many nonzero evaluations. The last nonzero digit coloring for this prime, applied to a monochromatic positive solution, groups coordinates into blocks by P-adic valuation. Applying the appropriate functional and reducing modulo the prime shows that each block sum lies in the linear span of all earlier columns. This proves necessity in Rado's theorem without an asymptotic limiting argument.
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 givesThe 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.
Gram-Schmidt process Created 2026-09-24 Updated 2026-10-14
The Gram-Schmidt process turns a finite ordered family of linearly independent vectors in an inner product space over the real numbers into an orthonormal basis of their linear span. It keeps every successive linear span, so the first new vectors describe exactly the same directions as the first inputs. Its idea is geometric: remove the orthogonal projection onto directions already found, then divide the remaining vector by its norm. This makes a complicated basis easier to use without changing the vector subspace it describes.[ref]
Start with and . At step , use the previously obtained orthonormal set to defineThe sum is the orthogonal projection onto a finite-dimensional subspace , and is the orthogonal projection residual. Linear independence ensures : otherwise would already be a linear combination of earlier inputs. If the input family is linearly dependent, use only the retained orthonormal vectors in the sum and omit an input whenever its remainder is the zero vector; do not divide by zero. The retained outputs still form an orthonormal basis of the original linear span, but their number can be smaller than .
For a short verification, orthonormality makes every earlier inner product vanish:Also is minus a linear combination of earlier vectors, while is plus that same linear combination. These two inclusions, followed by division by a nonzero norm, giveThe argument also works in an inner product space over the complex numbers with the existing inner product convention, linear in the first argument: the coefficients remain . With the convention linear in the second argument, write instead.
For a first picture, take and in with the ordinary dot product. ThenSubtracting the diagonal component leaves an orthogonal direction; dividing by its norm makes its length one. If the second input were instead, its orthogonal projection would be the entire input and , revealing linear dependence.
Gram-Schmidt orthogonalization in : input vectors, subtraction of an orthogonal projection, and an orthonormal basis
. Details. For a full three-dimensional calculation, use the ordinary dot product and the input vectorsThe first two steps giveAt the third step, the inner products are and . ConsequentlyThe three numerator vectors have pairwise dot products and squared Euclidean norms . Thus the displayed outputs are indeed an orthonormal basis, and the three nonzero remainders also confirm linear independence of the inputs. Keeping the removed coefficients produces the QR decomposition below.
An immediate reward is a reusable orthogonal projection: once an orthonormal basis of a vector subspace is known, any vector hasFor the linear span of just the first two inputs in the three-dimensional example, gives . Its orthogonal projection residual is , visibly in the missing orthogonal direction. This is the geometry behind the linear least-squares problem.
The formulas above describe exact arithmetic. With floating-point arithmetic, subtracting an orthogonal projection nearly equal to the input can leave a small remainder; dividing by its small norm can magnify existing roundoff error. The Classical Gram-Schmidt and Modified Gram-Schmidt arrangements agree in exact arithmetic but can give different rounded results. Exact linear dependence and a small computed remainder therefore require different judgments in a numerical implementation.[ref]
https://nhigham.com/wp-content/uploads/2023/10/high95m.pdf. Higham, The Test Matrix Toolbox for Matlab, §8, p. 22
Hilbert space Created 2026-09-24 Updated 2026-10-14
A Hilbert space is a real or complex inner product space that is complete in the norm . Completeness means that every Cauchy sequence has a limit in the space: if its terms become arbitrarily close in this norm, they converge to an allowed vector. The inner product supplies lengths and orthogonality; completeness ensures that limiting approximation procedures do not leave the space.
Finite-dimensional Euclidean spaces are examples, but the same geometry also works for sequences and functions. In the l2 sequence space,In the L2 space on with Lebesgue measure,These formulas use the convention linear in the first argument. Elements of the L2 space are equivalence classes of square-integrable functions agreeing almost everywhere, so zero distance really identifies the same element. A vector can therefore be a whole function, and its squared length can measure an integrated squared error.
For example, approximating by is a nearest-point problem in this Hilbert space. The allowed approximations form the linear span of , and the orthogonal projection is the constant . Its residual is orthogonal to both allowed directions because its integral and its inner product with vanish. The geometry therefore identifies the best approximation without searching through every pair of coefficients.
This is useful whenever a complicated vector must be represented by a tractable collection of directions. Fourier series approximate functions with orthogonal oscillations; the Parseval identity relates the sum of squared coefficients to the squared norm. Least-squares solutions approximate attainable data using a linear operator. The Hilbert projection theorem explains why a nearest element exists and is unique for a nonempty closed convex set. Distinct application settings share the same geometry of useful components and orthogonal residuals. Casey Rodriguez's MIT lectures develop these connections between Hilbert spaces, Fourier series, and nearest-point problems.[ref]
https://ocw.mit.edu/courses/18-102-introduction-to-functional-analysis-spring-2021/pages/lecture-notes-and-readings/. Rodriguez, MIT 18.102, lectures 14–17, 2021
A historical mathematical setting is David Hilbert's Grundzüge einer allgemeinen Theorie der linearen Integralgleichungen (1912). Its preface states that it reprints six communications published during 1904–1910 on linear integral equations. This provides a concrete source for the integral-equation setting associated with the name, while the abstract definition above incorporates later developments.[ref]
https://archive.org/details/grundzugeallg00hilbrich. Hilbert, Grundzüge einer allgemeinen Theorie der linearen Integralgleichungen, 1912, preface
Consider lines and with nonzero direction vectors. If they intersect, then , so the necessary coplanarity condition is . For nonparallel directions it is also sufficient, since the orthogonal complement of is the linear span of . For parallel directions the condition alone is insufficient: distinct parallel lines also satisfy it.
Assume intersection and . Take the scalar triple products and of . The scalar triple product is an alternating multilinear map, giving respectively and , proving the title formulas. The nonzero denominator fixes a convenient determinant chart; intersections with can still exist and require a different auxiliary vector or another method.



