Row run length 2026-10-31
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.
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 satisfiesTo 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 computesHere 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]
6.4 Runge-Kutta methods. Fundamentals of Numerical Computation, §6.4.3, equations 6.4.10–6.4.11: multistage recipe and tableau
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.
Scalar Fourier power criterion 2026-10-14
For a scalar constant-coefficient grid update, Fourier transformation turns into multiplication by its symbol . Parseval identity proves the displayed norm equality; necessity is obtained by concentrating Fourier data near a maximizing frequency. Contractivity for every step is equivalent to . Mesh-uniform fixed-time stability, on , permits : powers are bounded by . Conversely a uniform bound at gives this restriction as . For matrix symbols, use the existing uniform power bound for matrix Fourier symbols rather than only eigenvalue moduli.
A linear transformation fixing every one-dimensional subspace is scalar. Fixing the coordinate lines makes it diagonal, and fixing the lines spanned by makes all diagonal entries equal. Within determinant-one matrices the scalar satisfies . Conversely scalars fix all projective points. Commutation with all elementary transvections shows these scalars are exactly the center of the special linear group, so its projective quotient acts faithfully.
Scalar matrix Created 2026-10-06 Updated 2026-10-25
A scalar matrix is a scalar multiple of the identity matrix, equivalently a diagonal matrix with all diagonal entries equal. It commutes with every square matrix of the same size. In , the nonzero scalar matrices form the central subgroup removed to define the projective linear group.
A two-by-two matrix with zero trace satisfies by the Cayley-Hamilton theorem. Over the complex numbers, either and its two distinct eigenvalues make it diagonalizable, or . A matrix commutator has zero trace, so this alternative applies to it. Diagonalization over the real numbers need not follow when .
Scaled dot-product attention 2026-10-25
With query and key dimension , form the score matrix , apply the softmax function row by row, and multiply by the values . If query and key coordinates have independent unit variance, their dot product has variance ; division by keeps that score scale of order one. Optional additive masks exclude forbidden keys before the softmax function.
Schur complement Created 2026-09-24 Updated 2026-10-14
For a block matrix with an invertible matrix, the Schur complement of in is . It is the effective coefficient matrix for the remaining variables after block elimination. The definition requires invertibility of , but not of or . Its size is that of , even when and are rectangular matrices.
In the original example under block matrix inverse, becomes because changing the remaining variable also changes the two variables solved through . This is what makes a Schur complement more informative than simply deleting rows and columns. It retains their mediated effect, and its matrix inverse is the corresponding block of when the block matrix inverse exists.
The same elimination appears when minimizing a quadratic form. The Schur complement as a minimized quadratic form gives a geometric example; the Schur complement determinant identity gives an exact test for an invertible matrix.
Schur complement determinant identity 2026-10-14
When is an invertible matrix, the factorization in block elimination has outer triangular factors with determinant one. Hence , without a symmetry assumption. For the original example under block matrix inverse, this gives . An invertible block therefore reduces the question of whether the full matrix is an invertible matrix to the smaller Schur complement; a singular makes a singular matrix.
Second derivative of the determinant 2026-10-14
The derivative of the determinant at an invertible matrix is . At , use and . Differentiating the first derivative gives the displayed symmetric bilinear map. More generally .
Second moment bound for spectral truncation 2026-10-07
For a fixed mean-zero variance-one real entry law, centered truncation of a Wigner matrix satisfies , where . The spectral Lipschitz bound from Frobenius distance and Markov inequality give probability at most for a spectral test-function discrepancy exceeding . Thus works uniformly in matrix size. A varying entry-law family requires uniform second-moment tail decay instead.
Let be a twice continuously differentiable function on an open domain stable under positive scaling, with . Apply the chain rule twice to the scalar function and set . The result isIn two variables, this reads . In matrix notation it is , where is the Hessian matrix. Equivalently, the radial differential operator obeys ; substituting explains the factor .
Second spherical moment integral 2026-10-25
For the outward unit normal on a three-dimensional sphere, the off-diagonal integrals vanish by reflection symmetry. The diagonal integrals are equal by rotational symmetry, and their sum is . This proves the displayed matrix identity, where is the Kronecker delta. Contracting it with a constant vector gives , useful for integrating far-field stress forces.
Sectorial fundamental solution 2026-10-14
At an unramified irregular singular point with distinct leading eigenvalues, a sectorial fundamental solution is a fundamental matrix whose entries are holomorphic functions asymptotic to a prescribed formal matrix on a sector of the logarithm cover. For competing cubic exponentials, the usual construction uses six overlapping sectors with basic angle . A formal power series need not converge, and two sectorial realizations may differ by exponentially small terms across a sector boundary.
Cut a knot exterior along a Seifert surface and stack copies to form its infinite cyclic cover. Linking-dual generators for the homology of the cut-open piece give the positive and negative inclusion matrices and in row convention. The gluing relations therefore have matrix . The H0 gluing map is multiplication by and is injective, so these relations present the entire Alexander module of a knot. Its order is the determinant, up to a Laurent unit.