Active planar rotation 2026-10-14
For column coordinate vectors in the fixed Cartesian basis, an active planar rotation sends to . For radians,The endpoint travels counterclockwise through along a circle of radius . Its Euclidean norm stays . The second Cartesian basis direction becomes , whose dot product with is still zero.
An active counterclockwise planar rotation by : the vector moves while the Cartesian basis stays fixed
. Details. A quick sign check is to look at the first column: must point above the horizontal axis for . The columns have unit Euclidean norm and zero dot product, so ; the determinant is . Finally, the transpose negates the off-diagonal entries, giving : turning back reverses the action. This is the same matrix used for passive rotation of coordinates, though that interpretation keeps the vector fixed.
Adjoint in weighted coordinates 2026-10-14
Suppose a linear map between finite-dimensional Hilbert spaces has matrix , and their inner products in the chosen bases are and . The Gram matrices are positive-definite matrices. Writing for the ordinary conjugate transpose, the coordinate matrix of the adjoint operator isIndeed, the defining inner product identity says for all . Thus simply transposing and conjugating is valid in orthonormal bases, where both Gram matrices are the identity matrix.
For the weighted inner product and the coordinate swap , the adjoint operator has matrix . With and , both inner products equal . The coordinate swap is its own ordinary transpose, but is not self-adjoint in this weighted inner product.
Bilinear form Created 2026-09-24 Updated 2026-10-14
A bilinear form takes two vectors in a vector space over a field and returns a scalar in . Its defining property is separate linearity: holding either input fixed gives a linear functional of the other. For scalars and vectors ,This is a scalar-valued bilinear map; the chosen field is part of the definition.[ref]
Separate linearity does not mean that is a linear map on the vector space with componentwise vector addition and scalar multiplication. Over the real numbers, , whereas a linear map on the pair would give . The simplest example is on the one-dimensional vector space : fixing gives , but doubling both and quadruples their product.
A bilinear form measures how two inputs interact. The dot product measures alignment; a symmetric bilinear form can describe a quadratic form; an alternating bilinear form can measure signed area. A nondegenerate bilinear form turns each vector into a unique linear functional and so connects geometry with the dual space. The same short definition therefore supports lengths, bilinear orthogonal complements, and symplectic vector spaces, depending on the additional properties imposed.
Over the complex numbers, a bilinear form is linear in both inputs without conjugating either scalar. A Hermitian form instead is a sesquilinear form and conjugates when its inputs are exchanged. For complex matrices, the adjoint used with Hermitian forms and matrix C-star algebras is the conjugate transpose, whereas a bilinear form uses the ordinary transpose . For example, has , while the Hermitian form has .[ref]
Bilinear Forms by Keith Conrad. §1: examples and the Hermitian distinction
Cartesian basis under rotation 2026-10-14
Rotate the standard basis through using the rotation matrix whose columns are the new basis vectors:Here and , so is an orthogonal matrix with , where denotes transpose and is the identity matrix. For the same vector , its coordinate vector in this Cartesian basis isThus and : travel forwards along and a little backwards along to reconstruct . The orthogonal projections onto the two axes give these signed coordinates because the measuring vectors are both perpendicular and of unit length.
The squared norm remainsThis is useful when choosing axes aligned with a geometric feature: the coordinates change but distances and dot products retain the same sum-of-products formula. The two directions of the change of basis must be kept straight: reconstructs the vector in old coordinates, , and extracts its new coordinates. Applying to the old coordinate vector instead would actively rotate the vector.
A short proof explains both formulas. If , multiplication by gives . Then . Perpendicular unit-length columns make the matrix inverse equal the transpose; this is the computational convenience supplied by a Cartesian basis.
Cokernel compatibility equations 2026-10-14
For a matrix over the complex numbers with the standard Hermitian inner product, the linear system is solvable exactly whenThe star is the conjugate transpose; for matrices over the real numbers, use the transpose. Necessity follows from . For sufficiency, , and taking the orthogonal complement again recovers in finite dimension. This is the cokernel obstruction expressed as scalar equations. [ref]
https://ocw.mit.edu/courses/18-06-linear-algebra-spring-2010/resources/lecture-10-the-four-fundamental-subspaces/. Gilbert Strang, MIT 18.06, Lecture 10: the four fundamental subspaces
Controllability Gramian 2026-10-14
For and the constant matrices over the real numbers in the Kalman rank criterion, the finite-time Controllability Gramian accumulates the influence of all command times. Its column space equals that of the controllability matrix, and is a symmetric positive-definite matrix exactly when the controllability matrix has rank of a matrix . If so, put . Among square-integrable functions steering to at , the commandminimizes , with value . Here in a matrix superscript denotes transpose. This cost is a squared input norm, not necessarily physical energy, and the optimizing command need not satisfy an amplitude bound. [ref]
https://ee263.stanford.edu/archive/contr.pdf. Stephen Boyd, EE263: Controllability and state transfer, slides 18–29 to 18–30
For the double integrator, , so direct integration givesFor a rest-to-rest distance , and the minimum squared input norm is . Compare the two constant commands in the double integrator example, whose cost is : both attain the target, but the smooth command costs less. At , , however, peaks at , so it violates while the two constant commands remain admissible. Controllability, optimal control, and constrained reachability in control theory answer different questions.
Dual lattice Created 2026-09-28 Updated 2026-10-14
The dual lattice of a full-rank Euclidean lattice isHere is the Euclidean inner product. If the columns of an invertible matrix form a basis of , thenIndeed, belongs to the dual lattice exactly when ; denotes the transpose of the matrix inverse. The reciprocal covolume follows by taking the determinant. With the Fourier transform kernel , these are precisely the frequencies of the characters of a real torus: translating by any leaves unchanged. In one dimension, for : increasing the spacing in physical space decreases the spacing in frequency space.
Gershgorin disc Created 2026-10-06 Updated 2026-10-14
A row Gershgorin disc of a square matrix is the closed disk in the complex plane with centre and radius . A zero radius gives a single point. The Gershgorin disc theorem places every eigenvalue in the union of these disks. For a Hermitian matrix, the real intervals cut out by the Gershgorin discs bound the eigenvalues, including energy levels when the matrix represents a Hamiltonian operator.
Applying the Gershgorin circle theorem to the transpose gives column Gershgorin discs with the same centres and radii . Since and have the same characteristic polynomial, every eigenvalue lies in the intersection of the row-disc union and the column-disc union. This is an intersection of two unions; one cannot generally replace each row radius by . An isolated row Gershgorin disc contains exactly one eigenvalue by Gershgorin eigenvalue counting.[ref]
https://www.d.umn.edu/~mhampton/NA/Eigenstuff/. Marshall Hampton, Introduction to Numerical Methods, Eigenstuff: Gershgorin circle theorem
Givens rotation Created 2026-09-24 Updated 2026-10-14
A Givens rotation eliminates one component of a vector by rotating just two coordinates, preserving its Euclidean norm. For example,The length remains five: elimination moves the component into the retained coordinate rather than discarding it. Applied to a matrix, the same operation mixes two rows; QR decomposition by Givens rotations uses these local operations to build an upper triangular matrix.
For indices , the matrix is the identity matrix except for its block on coordinates :This article uses left matrix multiplication on column vectors. If and , the block is a rotation matrix through angle : the minus sign belongs in the lower left. Its transpose reverses the rotation. Direct multiplication gives and determinant one, so it is an orthogonal matrix; consequently . Only two coordinates change, but this Euclidean norm identity holds for the entire vector.
Hermitian conjugation Created 2026-09-28 Updated 2026-10-14
Hermitian conjugation is the operation of taking the adjoint operator, written . For a matrix in orthonormal bases, it takes the complex conjugate of each entry and exchanges rows with columns:For a real matrix it is the ordinary transpose. For the complex matrix in the adjoint operator example, its second row becomes the second column of . This is the same conjugate transpose used in MIT's treatment of complex inner products and Hermitian matrices.[ref]
https://ocw.mit.edu/courses/18-06sc-linear-algebra-fall-2011/53f17d47bf99d26fdc472b3177c256a8_MIT18_06SCF11_Ses3.2sum.pdf. Strang, MIT 18.06SC, lecture 26 summary, Complex matrices, pp. 1–2, 2011
For bounded operators with matching source and target Hilbert spaces, Hermitian conjugation satisfiesThe reversal of function composition is forced by moving both linear operators across an inner product:The calculation identifies the adjoint operator by the uniqueness theorem in Melrose's MIT notes.[ref]
https://ocw.mit.edu/courses/18-102-introduction-to-functional-analysis-spring-2021/3d4cc88026d44a01f936cd6a0aa995cb_MIT18_102s20_lec_FA.pdf. Melrose, MIT 18.102, Functional Analysis, Chapter 3, §11, 2020
For a computed order check, let and reuse . ThenKeeping the original order gives a different matrix. Likewise : taking the adjoint operator is conjugate-linear as an operation on linear operators, although each individual is a linear map on vectors.
Kalman prediction step 2026-10-14
The Kalman prediction step advances the previous posterior mean and posterior covariance matrix through the state transition:The minus superscript marks information before observing . The transpose and matrix multiplication propagate the old uncertainty; adds the uncertainty of the new process noise. A known control input changes the mean but contributes no additional variance. If the control input itself is uncertain, that uncertainty needs its own model.
Low-rank approximation 2026-10-14
A low-rank approximation replaces an matrix by a matrix of matrix rank at most a chosen integer , with , while making an explicitly chosen error norm small. The point is to describe many entries using a few shared patterns: an image compression may retain broad brightness patterns while discarding finer ones. The approximation is useful when the saved storage or computation justifies the lost detail. A small matrix rank alone says nothing about the error.
The compact representation is a sum of outer products, equivalently a product of two thin matrices:Here are the columns of , and the star denotes the conjugate transpose; over the real numbers use the transpose. The rank bound for a matrix product gives . Conversely, choose a basis of the column space of as the columns of , and put the coordinates of each column of into ; pad with zero columns if the matrix rank is smaller than . Each nonzero outer product is a rank-one matrix: it repeats a single column pattern at different strengths across the columns.
Keeping the two factors stores scalars instead of . This saves space only when . The usual singular value decomposition representation stores scalars because it keeps the singular values separately; absorbing them into one factor removes that extra array. These are representation sizes at equal scalar precision, before file overhead. See Uschmajew and Vandereycken, §9.2: thin factors and their storage, and Illinois CS 357, Low-rank approximation: storing singular vectors and values.
The factors also give without forming the full matrix . Direct evaluation uses scalar multiplications, compared with for a dense matrix applied to a vector. For , the two factors contain scalars rather than , and the same counts describe these multiplication costs. Constructing the factors is a separate cost. Moreover, a low-rank approximation need not be a sparse matrix: the constant matrix whose entries are all has matrix rank despite having no zero entries.
For the standard unweighted problem, write a singular value decomposition with and singular values . Retain the first paired left singular vectors and right singular vectors:The Eckart-Young-Mirsky theorem says that this same minimizes both of the following error norms over all matrices with matrix rank at most :where and an empty sum is zero. Here the Frobenius norm is , whereas the operator norm is specifically induced by the Euclidean norm, . The first aggregates errors in all entries; the second bounds the worst output error for a unit vector input. These formulas apply to real and complex matrices. [ref]
https://math.uchicago.edu/~may/REU2016/REUPapers/Mazeika.pdf. Mazeika, §§4.1 and 4.3: norms and optimal singular-value truncation
For , a relative Frobenius norm tolerance is met precisely when the discarded squared singular values sum to at most . Thus one can choose the smallest suitable before reconstructing the matrix. Many individually small discarded singular values can still have a large combined error. An operator norm tolerance instead tests only the largest discarded singular value, . The two questions can therefore select different ranks.
The following stipulated matrix makes the tradeoff visible. Define four real vectors of length :The vectors are orthonormal, so this is already a singular value decomposition written as outer products, with positive singular values . All entries lie between and and can be displayed as brightnesses. The first component is uniform brightness, the second distinguishes broad blocks, and the last two supply finer alternating patterns. This is a designed arithmetic example, not measured image data.
Here has every entry equal to , while has entries within the two diagonal blocks and in the other two blocks. For instance, becomes : its error is . The full residual is , whose Frobenius norm is and whose operator norm is . Since , the relative Frobenius norm error is . Two thin factors use scalars, or if the normalized left singular vectors, right singular vectors, and singular values are stored separately, instead of dense entries.
Retaining three components reduces the Frobenius norm error to while using scalars in two factors. Retaining all four reconstructs exactly but uses scalars, giving no saving in this generic representation; keeping the singular values separately uses . Our particular sign patterns could be encoded more economically, but that would exploit an additional structure beyond the general low-rank approximation. The striking feature is that numerical error and storage can both be read from the decomposition, rather than judged only by how smooth the picture looks.
The constraint is deliberately matrix rank at most . The truncation has . If , the best approximation is itself, with zero error. Requiring matrix rank exactly can destroy attainment: for and , the matrices have matrix rank for , and both error norms equal . Their error has infimum zero, but no rank-two matrix attains it. If , the displayed does have matrix rank exactly and attains the same minimum under either constraint.
Optimality also does not always mean uniqueness. For , the best Frobenius norm approximation is unique when . [ref]
https://link.springer.com/chapter/10.1007/978-3-030-31351-7_9. Uschmajew and Vandereycken, Theorem 9.1: uniqueness across a singular-value gap
A positive tie across the cutoff permits different choices: for and , both and have Frobenius norm error and operator norm error . More generally, is optimal for every real unit vector in the first two coordinate directions. Rotating which tied direction is kept changes the approximation. Repeated singular values entirely inside the retained group do not change its sum of outer products. At the only feasible matrix is zero; at the unique zero-error approximation is , even if some singular values are tied at zero.A strict gap does not guarantee uniqueness for the operator norm. For and , every with has matrix rank and error , which is optimal. Only minimizes the Frobenius norm, since . An unchanged worst direction can hide extra error in another direction under the operator norm.
Finally, these guarantees concern the stated norms and the sole matrix rank constraint. They do not establish that a discarded pattern is noise or irrelevant to a particular task: the finer patterns in our constructed example were put there intentionally. Adding entrywise weights or restrictions on the factors changes the problem, so the Eckart-Young-Mirsky theorem above does not automatically solve it. For historical context, the original 1936 matrix problem is documented in the existing Eckart-Young-Mirsky theorem section.
Moore-Penrose inverse Created 2026-09-24 Updated 2026-10-14
The Moore-Penrose inverse extends the useful part of a matrix inverse to rectangular and singular matrices. A linear system may have no exact solution, or may have many. The pseudoinverse resolves both ambiguities: is the minimum-norm least-squares solution. First minimize the Euclidean norm ; among all vectors attaining that minimum, choose the one with smallest Euclidean norm . It does not pretend that inconsistent equations can all be satisfied.
For , its Moore-Penrose inverse is the unique matrix satisfying the four Penrose equations. The singular value decomposition gives a direct construction:Here are unitary matrices, the star is the conjugate transpose, and is the rectangular diagonal matrix obtained by replacing each nonzero singular value by and leaving zeros at zero. Over the real numbers, use orthogonal matrices and transposes. The pseudoinverse reverses the stretches that can be reversed; it discards output components the original linear map cannot produce and does not invent an input component in its kernel. [ref]
https://ocw.mit.edu/courses/18-06sc-linear-algebra-fall-2011/resources/mit18_06scf11_ses3-8sum/. Strang, MIT 18.06SC: Left and Right Inverses; Pseudoinverse
The two products have especially clear meanings:They are orthogonal projection matrices: selects the producible part of an output, while selects the detectable part of an input. They are generally not identity matrices. For an invertible matrix, both are identities and .
This gives a useful order of operations for least-squares solutions: project the requested output onto the column space, then invert the restriction of from to its column space. Adding a kernel vector leaves the residual unchanged but increases the squared Euclidean norm by the Pythagorean theorem in an inner-product space, because is orthogonal to that kernel. The pseudoinverse therefore provides one canonical answer without hiding either lost information or irreconcilable data.
The name records a history with several contributors. E. H. Moore gave an earlier generalization in 1920; M. H. Pearl's 1966 paper records that work, Arne Bjerhammar's 1951 rediscovery for maximal-rank rectangular matrices, and Roger Penrose's independent 1955 treatment. [ref]
https://www.cambridge.org/core/journals/mathematical-proceedings-of-the-cambridge-philosophical-society/article/abs/on-generalized-inverses-of-matrices/9CD637F604C76ECD8D03AC029212D56E. Pearl, On generalized inverses of matrices (1966), introduction and references 6–9
Penrose's original paper proves existence and uniqueness from the four Penrose equations for arbitrary complex matrices, including rectangular ones. [ref]https://faculty.kfupm.edu.sa/math/jaafarm/lec-notes/Moore-Pinrose.pdf. Penrose, A generalized inverse for matrices (1955), Theorem 1, pp. 406–408
Orthogonal projection matrix Created 2026-09-24 Updated 2026-10-14
A matrix represents a linear projection when applying it twice has the same effect as applying it once. For an orthogonal projection with the standard Hermitian inner product on , the additional condition is that the conjugate transpose equals the original matrix:Thus is both idempotent and a Hermitian matrix. Over the real numbers this says . Its image of a linear map is the retained linear subspace, while its kernel of a linear map is the orthogonal complement: vectors in the image are unchanged, and vectors in the kernel become zero.
For a matrix with full column rank, projecting onto its column space givesThe invertibility of follows from linear independence of the columns. If those columns are an orthonormal set, and . These formulas and the conditions in the real case are developed in MIT 18.06SC, Projections onto Subspaces, pp. 1–3.
For the line spanned by ,In particular, and . The eigenvalues are on the retained direction and on the removed direction. This exposes the meaning of an orthogonal projection as retaining selected components, rather than stretching them.
Symmetry refers to the specified inner product. In the real weighted setting, the formula becomes and satisfies and . For the preceding weighted line example,It is not symmetric under the ordinary transpose, but it is an orthogonal projection for the weighted Euclidean inner product. The matrix criterion should therefore be used with the standard Hermitian inner product, not silently transferred to a different geometry.
Paired coordinates of a symplectic basis 2026-10-14
Write vectors in a symplectic basis as and . Their coordinate vectors and the matrix of a bilinear form areHere is the identity matrix, and denotes transpose. The ordering matters: interleaving the basis as instead gives a block diagonal matrix with blocks . Some conventions reverse every , giving instead. Always check the displayed pairing convention.[ref]
Symplectic Geometry. §1.1, p. 83: e-then-f basis and its block matrix; the coordinate formula follows by bilinearity
Over the real numbers, each summand is the signed area of a parallelogram in the coordinate plane. For and , the two signed areas are and , so although the vectors are linearly independent. The cancellation concerns the symplectic form; it does not assert that their dot product vanishes. Over a general field, the same determinant formula is algebraic, without a signed geometric interpretation.
Passive rotation of coordinates 2026-10-14
Rotate an orthonormal basis counterclockwise by while keeping the vector fixed. The new basis vectors, written in the old basis, are the columns of . The change-of-basis matrix convention therefore givesFor example, the fixed vector with old coordinate vector has new coordinate vector after the basis turns by radians. Its negative second coordinate means that the arrow lies below the new first axis. By contrast, an active planar rotation through that same angle moves the arrow to old coordinates . The sign difference follows from which object moves. The passive component formulas are , .[ref]
Chapter 20: Rotation in space. §20–1, equation (20.3) and the preceding paragraph: the angle relates coordinate axes, not rotating objects
If coordinate vectors are instead written as rows, transposing the active equation gives . Switching to rows changes the side and the transpose; it does not by itself turn an active planar rotation into passive rotation of coordinates.
QR decomposition Created 2026-09-24 Updated 2026-10-14
A reduced QR decomposition of an matrix over the real numbers with full column rank, , writes , where is with orthonormal columns and is a upper triangular matrix with positive diagonal. Applying the Gram-Schmidt process to the columns of constructs and records the coefficientsThis last column identity is exactly the matrix multiplication . The upper triangular matrix records that the th input uses only the first new directions, while its positive diagonal records the norms of the nonzero orthogonal projection residuals. Since , one also has ; denotes the transpose and the identity matrix. Over the complex numbers, use the conjugate transpose in these identities.
For the three-dimensional Gram-Schmidt process example, the exact matrices areFor example, the last column reconstructs asThe diagonal entries are approximately . Each is a norm of the new direction before it was scaled to length one.
The computed QR factorization: input matrix , orthonormal columns of , and the upper triangular matrix of orthogonal projection coefficients
. Details. For a linear least-squares problem, the orthogonal projection of onto the column space of is . Hence the minimizing coefficients solve the linear system by back substitution. Let consist of the first two columns of the example; its reduced factors are and the leading block of . For , the linear system isThus , agreeing with the orthogonal projection computed above, and the minimum Euclidean norm of is . The QR decomposition separates building an orthonormal basis from recovering coefficients in the original basis.[ref]
https://ocw.mit.edu/courses/18-065-matrix-methods-in-data-analysis-signal-processing-and-machine-learning-spring-2018/resources/lecture-9-four-ways-to-solve-least-squares-problems/. Strang, MIT 18.065, Lecture 9: Four Ways to Solve Least Squares Problems
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 arewhere is the transpose and the identity matrix. In the usual Cartesian basis of the plane, an active counterclockwise planar rotation through an angle usesHere 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]
Modern Robotics: Mechanics, Planning, and Control by Kevin M. Lynch and Frank C. Park. Modern Robotics, §3.2.1.2, preprint p. 69: three uses of a rotation matrix
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]
Modern Robotics: Mechanics, Planning, and Control by Kevin M. Lynch and Frank C. Park. Modern Robotics, §3.2.1, definition 3.1 and propositions 3.3–3.6, preprint pp. 67–69
Sesquilinear form Created 2026-09-24 Updated 2026-10-14
A sesquilinear form on a complex vector space is a map which, with the convention used throughout this article, is a linear map in its first argument and a conjugate-linear map in its second. For vectors and complex numbers , the defining identities areThe bars denote complex conjugation. No symmetry or positivity is required. Some authors choose the opposite convention; every formula here keeps the first argument linear.[ref]
For a basis of a finite-dimensional vector space, write , , and . Expanding by the two identities givesEvery complex matrix gives a sesquilinear form this way. The superscript means transpose, not conjugate transpose. Equivalently, the scalar is , where . This is the convention used for the matrix of a Hermitian form when symmetry is imposed. The coordinate formula follows directly by expanding the basis coefficients.[ref]
https://sites.math.washington.edu/~burke/crs/554/lectures/b-lecture4.pdf. Burke, Linear Analysis, Lecture 4, coordinate expansion for sesquilinear forms
For a concrete example on , let . Its matrix is : but , so it is not a Hermitian form. Also , so even real diagonal values cannot be assumed for an arbitrary sesquilinear form. By comparison, the bilinear form satisfies and has ; it cannot supply positive squared lengths on this complex vector space.
The effect of changing the complex argument of a multiplier is particularly revealing. For real numbers , sesquilinear forms satisfyThus a common change of complex argument cancels from the diagonal, whereas the two arguments rotate the output in opposite directions. Conjugating one argument is what replaces the scaling of a bilinear form by the nonnegative scaling needed for a Hermitian inner product. This mechanism also works in function spaces: for complex continuous functions on , obeys the same identities, letting integration measure overlap rather than merely multiply coefficients.






