Row and column spaces Created 2026-10-14 Updated 2026-11-05
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 and column vectors Created 2026-10-20 Updated 2026-11-05
A column vector is represented by an matrix; a row vector is represented by a matrix. Transposition exchanges the two layouts. If is , multiplication takes an -component column to an -component column.
A row acting on a column gives a scalar, while a column times a row gives an outer product. In coordinate-free terms a row naturally represents a linear functional once a basis is chosen; it is not automatically the same object as a vector. For complex inner products, the corresponding row is often the conjugate transpose, not just the transpose.
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.
Row lattice of an integer matrix Created 2026-10-05 Updated 2026-11-05
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.
Row run length 2026-10-31
The number of consecutive true entries ending at a specified column of one row of a Boolean matrix. It is zero at a false entry and otherwise one plus the previous column's row run length, taking the value before column zero to be zero.
Row space 2026-10-14
The row space of a matrix is the linear span of its rows. It is the column space of the matrix transpose.
R (programming language) 2026-10-24
R is a programming language and environment for statistics, data analysis and graphics. For matrix algorithms, drop = FALSE preserves dimensions when extracting submatrices. To choose an element uniformly from a possibly singleton numeric vector indices, use indices[sample.int(length(indices), 1L)]: sample(indices, 1L) has a special interpretation when its first argument is a single positive number. Official documentation: Extraction and the drop argument and Sampling, including the singleton numeric argument rule.
RSK growth-diagram local rule Created 2026-10-14 Updated 2026-10-20
At one matrix entry , let be the shapes of the northwest, northeast, southwest and southeast matrix prefixes under the RSK correspondence. The displayed row-length recurrence expresses merged insertion paths: the new entry supplies the first-row carry, and the overlap of the two incoming row extensions beyond the northwest shape is bumped into the next row. Zero boundary shapes determine the whole diagram. Transposing the matrix exchanges , leaving the rule invariant.
RTT construction Created 2026-10-14 Updated 2026-11-05
Given a Yang-Baxter R-matrix, take generators subject to the displayed matrix relation, with , . The coproduct and counit give a bialgebra. An antipode requires additional inverses or an appropriate determinant quotient; an arbitrary RTT bialgebra is not automatically a Hopf algebra.
Runge-Kutta contractivity identity Created 2026-09-28 Updated 2026-10-14
For differences between corresponding stages and differences between their vector fields, a Runge--Kutta step satisfies
To derive the identity, expand the squared norm of and substitute in the linear term. Symmetrizing the double sum gives the displayed coefficients . For a dissipative vector field, the first sum is nonpositive when , and the second sum is nonnegative when the matrix is a positive semidefinite matrix. Thus algebraic stability implies B-stability.
Runge-Kutta method Created 2026-09-24 Updated 2026-10-31
A Runge-Kutta method advances an initial value problem , , by sampling its vector field at several trial states within one time step. These samples are Runge-Kutta stages; a weighted combination of their slopes produces the next state. The construction improves on the single tangent line used by the Euler method while requiring evaluations of , rather than explicit higher derivatives of the solution. It applies to scalar equations and systems of ordinary differential equations alike. The coefficient choices distinguish methods such as Heun's method, the classical fourth-order Runge-Kutta method and implicit Runge-Kutta methods.
For stages, write for the stage matrix, for relative time nodes and for output weights. A time step of length computes
Here is a slope, with units of state per time; is a state increment. Another common convention writes , so its stage states are and its output is . These are equivalent conventions: including both inside and again in the output would count the time step twice. The textbook formulation uses the increment convention.[ref]
Usually the Butcher tableau obeys , called internal consistency. Stage then combines slopes over an effective time . The second-order conditions with independent Runge-Kutta abscissae explain what changes when time nodes are specified independently. A Runge-Kutta stage is generally an auxiliary approximation, not a separate accepted solution value at its node. Several stages can even have the same time node but different state arguments, as in the classical fourth-order Runge-Kutta method.
The useful idea is to approximate the integral without knowing the intermediate exact trajectory. Trial states provide places to sample , and Butcher order conditions make the resulting combination agree with the exact Taylor expansion. More stages alone do not guarantee a higher order of a numerical method: their coefficients must satisfy the appropriate conditions. Embedded Runge-Kutta pairs reuse these same samples for a second output and a practical local error estimator.
Ryser's formula for the permanent Created 2026-10-20 Updated 2026-11-05
For an matrix , Ryser's formula for the permanent is
Expanding a product chooses one column for each row. The alternating subset sum cancels each choice that fails to use every column, by inclusion-exclusion; the surviving choices are exactly the permutations in the permanent.
For a two-by-two matrix, the formula becomes . Maintaining row sums while enumerating subsets in Gray-code order gives an arithmetic algorithm, much smaller than enumerating permutations, although still exponential in .
Saddle-point matrix Created 2026-10-31 Updated 2026-11-05
A common symmetric saddle-point system couples primal unknowns with constraint multipliers through the displayed block matrix, with symmetric . At , full row rank of and a nonsingular reduced Hessian are exactly the nonsingularity conditions. Such matrices arise from equality-constrained quadratic models and mixed finite element methods. A regularized block also arises when an augmented linear system replaces a badly scaled quadratic-penalty Newton system.
Scalar action obstructs a cyclic module generator Created 2026-10-31 Updated 2026-11-05
If an algebra acts on a vector space only by scalar multiples of the identity, every vector generates at most a one-dimensional submodule. A higher-dimensional such module is therefore not cyclic. For example upper triangular -by- matrices act by the first diagonal entry on their first-row ideal. For this ideal is a noncyclic submodule of the cyclic regular module. Thus a submodule of a cyclic module need not be cyclic, even over a finite-dimensional algebra.
Scalar contraction test for a Cartesian tensor Created 2026-10-06 Updated 2026-11-05
If an array specified in each orthonormal basis has invariant Frobenius inner product with every Cartesian second-rank tensor, it transforms as such a tensor. For a component change , invariance says for every matrix . Nondegeneracy of the Frobenius inner product forces the difference to vanish. Testing every tensor, rather than a single selected tensor, is essential.