A real orthogonal matrix satisfies ; a complex unitary matrix satisfies . Their columns are orthonormal in the corresponding real or complex inner product.
Adopt the convention that a complex inner product is linear in its second argument, conjugate symmetric, and positive definite: , with equality exactly when . Conjugate symmetry and second-argument linearity then imply antilinearity in the first:
For the specified real symmetric matrix use . Its upper block is the outer product , so it has one zero eigenvalue and one eigenvalue . A complete orthonormal eigenbasis is
If , the last two eigenvalues coincide and their eigenspace is the span of ; every nonzero vector in that span is an eigenvector. Since , the zero eigenspace remains one-dimensional.
Let be the orthogonal matrix taking old components to new ones, so . With repeated indices summed, the tensor component transformation law is
An isotropic tensor has the same components after every proper rotation. Since , the Kronecker delta is invariant. Applying this identity to each factor shows that and every linear combination are invariant as well.
To show that an isotropic second-rank tensor must be scalar, start with any matrix , without assuming symmetry. Invariance under quarter-turns about axes 1 and 2 implies invariance under their squares, the half-turns
The first forces to vanish. The second also forces to vanish. The matrix is therefore diagonal. A quarter-turn about axis 1 interchanges its 22 and 33 entries; one about axis 2 interchanges its 11 and 33 entries. All three must agree, giving .
A rotation preserves the ball , and the volume element. Changing integration variables by that rotation shows that and are isotropic tensors. Write . Taking its tensor contraction gives
so . Every permutation of the indices of leaves its integrand unchanged. Its complete symmetry therefore makes all three isotropic coefficients equal, say :
Double contraction gives . Thus the isotropic fourth moment of a ball and its radial contraction are
Put , so that . Contract with the prescribed unit vector twice:
This has the spectrum of a scalar matrix plus a rank-one projector. In the direction , the outer product acts as the identity; on the plane perpendicular to , it acts as zero. Therefore
Any nonzero multiple of is a parallel eigenvector, and any nonzero vector in the perpendicular plane is a transverse eigenvector. The transverse eigenvalue has multiplicity two; an orthonormal basis of that plane completes a set of principal axes.
Define the outer product . Transforming each vector gives
Thus is a rank-two tensor, since it obeys the two-index tensor component transformation law. This is the component form of the tensor product of two vectors; its two indices are independent, not contracted.
Let . Averaging each pair of transposed entries gives the symmetric tensor
For , the upper block is the outer product of with itself. It sends that vector to times itself and annihilates its perpendicular. Thus its orthonormal principal axes and corresponding eigenvalues are
Taking these vectors as the rows of the change-of-components matrix gives
This matrix is orthogonal with determinant one. These are the principal axes of a planar rank-one tensor block.
Figure 1.
The radial and tangential principal directions rotate with position; the third principal axis is perpendicular to this plane
. Details.
The matrix is a pointwise frame transformation: because its angle varies with position, it does not represent one fixed Cartesian rotation diagonalizing the entire field everywhere. On the axis , the symmetric tensor is zero; all principal values coincide and any orthonormal axes may be chosen. The displayed formula for is therefore used only off that axis.
Choose an orthonormal basis with . A half-turn about kills all mixed axial-transverse components. Commutation with a quarter-turn makes the transverse block a scalar identity matrix plus an antisymmetric matrix. The resulting oriented-axis invariant Cartesian tensor, in coordinate-free form, is
with real constants . The Kronecker delta, the outer product , and the displayed Levi-Civita symbol contraction are invariant under every proper rotation about , so this form is also sufficient. In the chosen basis,
The antisymmetric part must be retained unless further symmetry is imposed.
Decompose the electric field as , where . The electric current density is
For a nonzero real electric field, the alignment of current and field in an axisymmetric conductor gives the complete classification of collinearity:
  • If , then , with no additional symmetry required.
  • If , then . Within this family is exactly the condition that the conductivity tensor is symmetric; then . An additional half-turn symmetry about a transverse axis is one way to force .
  • If both components are nonzero, then . These conditions give the isotropic second-rank tensor , and then for every direction.
For completeness, if and , taking the dot product with forces . The transverse equation then gives , while a nonzero axial component gives . This proves there are no missing directions. Zero current is included as the zero scalar multiple; if “parallel” requires a direction for , exclude cases where that scalar is zero. For a strictly anisotropic crystal the last possibility is absent.
The outer product has entries . Every column is a multiple of , and at least one column is nonzero because . Its column space is therefore exactly , giving .
A Householder matrix is , . With one has and , so . Thus it is an orthogonal matrix and is its own inverse.
To express an arbitrary orthogonal as a product of these reflections, argue by induction on its dimension. Its first column is a unit vector. If , take . Then and , so the corresponding reflection satisfies . If , no reflection is required. The resulting orthogonal matrix has first column ; orthogonality of its columns then makes its first row as well. It is consequently with orthogonal. Apply the induction hypothesis to and embed its reflections in the full space. In dimension one the only possibilities are , the empty product, and , itself a reflection. Reversing the performed transformations proves the Householder factorization of an orthogonal matrix, with at most the dimension many reflections.
Let and be the columns of the orthogonal matrices and in the singular value decomposition. Multiplying by the rectangular diagonal matrix retains its nonzero diagonal entries:
The families and are orthonormal, hence in particular orthogonal. Each summand is a rank-one outer product, and the remaining terms vanish because their singular values are zero.
The following R code implements the given recursion for the Cholesky decomposition. The input is assumed to be a real symmetric matrix that is a positive-definite matrix.
mychol <- function(A) {
  n <- nrow(A)
  if (n == 1L) return(matrix(sqrt(A[1L, 1L]), 1L, 1L))
  j <- 2L:n
  L <- matrix(0, n, n)
  L[1L, 1L] <- sqrt(A[1L, 1L])
  b <- A[j, 1L, drop = FALSE] / L[1L, 1L]
  L[j, 1L] <- b
  S <- A[j, j, drop = FALSE] - tcrossprod(b)
  L[j, j] <- mychol(S)
  L
}
Here tcrossprod(b) is the outer product . The drop = FALSE arguments preserve matrix dimensions, including the final one-by-one subproblem, and the base case also returns a matrix.
To verify correctness, partition . The code sets , and recursively factors . This Schur complement is a positive-definite matrix: for ,
If is the recursive answer, then the returned lower triangular matrix satisfies
The one-dimensional identity starts this mathematical induction proof. Each recursive call reduces the matrix size by one and therefore terminates.
Use separate moving orthonormal bases in the reference and current cylindrical coordinate systems. For pure torsion of an incompressible cylinder, the deformation map is
The unit vectors depend on the angle: and . Consequently
In particular, the last derivative includes the rotation of along the cylinder. The material gradient has the reference coordinate scale factor :
The outer products specify the images of the three reference unit vectors. Thus, with current basis vectors indexing rows and reference basis vectors indexing columns,
Its determinant is one, checking incompressibility. The radius is unchanged, so the current outer radius in part (d) is . The formula at the coordinate axis is understood by continuity in Cartesian coordinates.
The radial unit vector in spherical coordinates is , so . The identity matrix is the sum of the three basis outer products. Substitution in the given deformation gradient gives
The reference and current radial directions coincide for this spherically symmetric deformation. The positive principal stretches are therefore and . Incompressibility imposes
Integrating and using gives
In particular , expressing conservation of shell volume. Writing also gives and .
Taking the outer product for A and averaging the two orthogonal projections for B gives
The off-diagonal entries in retain quantum coherence between the -basis states. They are absent from B's classical quantum state ensemble. In particular, and : A is a pure state, B a mixed state.
The normalized singlet state has column vector in the specified product basis. Its outer product is
It obeys and has eigenvalues , hence purity of a density operator one. The joint two-atom system is therefore a pure state, even though the quantum entanglement prevents assigning a separate pure spin state to each atom.
Differentiating the gradient term by term gives the Hessian matrix
Take row of to be . Then
Indeed, entry of this product is , exactly the entry of the displayed sum of outer products. Explicitly,
These coefficients may have either sign, so a positive-definite Hessian matrix cannot be assumed. This is an instance of the Hessian of a sum of functions of linear forms.
For with , the symmetric tensor has principal axes
with eigenvalues , respectively. This follows directly from the outer product: , while it annihilates vectors perpendicular to . The orthogonal matrix with rows gives .
If depend on position, this is a pointwise eigenframe, not necessarily one fixed Cartesian change of axes throughout space. For , the displayed tensor vanishes and every orthonormal basis is a principal basis. Subtracting a scalar multiple of the identity leaves its eigenvectors unchanged and shifts every eigenvalue by the same amount; this is a simple case of coaxial symmetric tensors.
Rank-one connection 2026-10-31
Two constant deformation gradients are rank-one connected when their difference is an outer product . For a nonzero jump its matrix rank is one; equality is the trivial compatible case. The vector specifies a reference interface normal, and is the jump amplitude. The Hadamard jump condition identifies this algebraic condition with continuity of an affine deformation across a planar interface. The normal can be normalized by rescaling without changing the product.
Rank-one matrix update 2026-10-14
A rank-one matrix update changes a matrix by an outer product . For real vectors , its action on an input vector is
The dot product reads one scalar from the input, and the correction moves the output along . All correction outputs therefore lie in one linear span. If either vector is zero, the update is zero; otherwise the correction is a rank-one matrix. The full updated matrix need not have rank one.
For example, choose
The update sends to the correction . Although all four entries change, there is only one direction of correction. Adding it to the identity matrix gives .
This special structure allows existing work to be reused. The matrix determinant lemma updates the determinant using one scalar, and the Sherman–Morrison formula updates the matrix inverse using an outer product. Such formulas are useful when a linear system changes slightly after a new observation or a parameter adjustment: the unchanged part can retain its LU decomposition. The term rank-one describes the rank of the correction, not the size of the entry changes. [ref].
Rank-one quadratic form Created 2026-09-28 Updated 2026-10-03
A rank-one quadratic form is the square of a linear form up to a scalar. More generally, a bilinear expression is rank one because its coefficient matrix is the outer product .
Sherman–Morrison formula Created 2026-09-24 Updated 2026-10-14
The Sherman–Morrison formula computes the matrix inverse after a rank-one matrix update. If is an invertible matrix and , then
The inverse correction is itself an outer product, divided by the scalar . The matrix determinant lemma shows that the nonzero-denominator condition is exactly the condition that the updated matrix remains an invertible matrix.
For , , and , we have . Thus the computed inverse is
Multiplication in either order gives the identity matrix. The result reuses the original inverse and the same correction vectors, rather than solving independently for all four inverse entries.
Often only the solution of an updated linear system is needed. If and , then
provided . The two solves use the same LU decomposition of . This expresses the computational benefit without requiring an explicitly stored matrix inverse. Strang's Lecture 14, transcript pp. 9–10 explains this reuse of the original factorization.
To see why the inverse correction works, first consider and put . The rank-one matrix satisfies . Expanding
also works in the reverse order. The general case follows by factoring out and replacing by . A matrix identity has reduced to cancellation of scalar coefficients.
Historically, Jack Sherman and Winifred J. Morrison studied updating an inverse when a single matrix entry changes in their [ref]. Such an entry change is the special rank-one matrix update , with standard basis vectors . The reference and the earlier 1949 abstract on row or column changes are recorded in Henderson and Searle, On Deriving the Inverse of a Sum of Matrices (1981), references 40–41. This distinguishes the specific original setting from the more general formula used here.
Singular value decomposition Created 2026-09-24 Updated 2026-10-14
The singular value decomposition separates any matrix into input directions, stretching factors, and output directions. Every complex matrix admits
Here are unitary matrices, is the conjugate transpose, and is a rectangular diagonal matrix. Its diagonal entries are the singular values, ordered . We use the conventional letters: contains the right singular vectors , while contains the left singular vectors . Writing instead merely swaps these two matrix names; it requires swapping their roles consistently. For real matrices, choose orthogonal matrices and replace the conjugate transpose with the transpose.[ref]
Reading from right to left, expresses the input in an orthonormal basis, stretches or annihilates those coordinates, and assembles the output in another orthonormal basis. Unlike matrix similarity, the input and output bases can differ, and even have different sizes. A matrix has full factors of sizes , , and . If its matrix rank is , one can retain only the active columns, giving sizes , , and for ; the full additionally describes an unused output direction.
For a fully computed nonsymmetric example, take
Multiplication gives . The right singular vectors are and ; their images are and . Thus, parametrizing the unit circle by gives . Its image is the ellipse . The two singular values are its semiaxis lengths, and the left singular vectors point along its axes. The singular value decomposition finds precisely the perpendicular input directions whose images stay perpendicular.
Figure 1.
The unit circle becomes an ellipse: and
. Details.
For compression, write the matrix as a sum of outer products and retain the largest terms:
where is the matrix rank. Among all matrices of matrix rank at most , minimizes the Frobenius norm error; this is the Eckart-Young-Mirsky theorem. The operator norm error is for . These statements concern specified norms, rather than guaranteeing that discarded details are visually or scientifically unimportant.[ref]
Consider an brightness matrix , with
and , . The broad bright patch and alternating checkerboard have orthogonal row and column directions: . Their singular values are and . This low-rank approximation keeps the first outer product, giving , with Frobenius norm error and relative error . For example, becomes , and becomes : every entry changes by in magnitude. The discarded pattern is small but entirely lost.
Figure 2.
An matrix, its rank-one approximation, and the discarded checkerboard
. Details.
For this illustrative image compression, storing one normalized left singular vector, one normalized right singular vector, and one singular value requires scalars instead of . This counts scalars at equal precision, before storage overhead. In general, scalars beat only for sufficiently small , and small error requires a small discarded sum of squared singular values. The usefulness comes from measuring the tradeoff before throwing information away.[ref]
After choosing ordered bases, identify a tensor with its matrix . This is a linear isomorphism between and the vector space of -by- matrices: each tensor-product basis element becomes the matrix with one entry equal to one and all others zero. In particular, a pure tensor has the outer product coefficient formula
Here on the right denote column coordinate vectors. The identification depends on the chosen bases, while the tensor itself does not. Over the complex numbers, the same formula uses the ordinary transpose , with no complex conjugation; replacing it by the conjugate transpose would conjugate the scalar in the second input, violating bilinearity.
Figure 1.
A pure tensor has an outer-product coefficient grid, while the identity grid needs two pure tensors
. Details.