Matrix similarity Created 2026-10-03 Updated 2026-10-14
Two square matrices over the same field are similar if for an invertible matrix . They can describe one linear operator using two different ordered bases, with the same basis used for input and output in each description. Fix the convention : is the old coordinate vector, the new coordinate vector, and the columns of are the new basis vectors in old coordinates. This is the convention of the change-of-basis matrix.[ref]
For a concrete linear operator on the physical plane, let double horizontal components and multiply vertical components by five. In the old standard basis , its matrix of a linear map is . Choose the new ordered basis with , . Then
The second column of says . Its off-diagonal entry records how the chosen basis vectors describe the output; the physical linear operator still stretches along the old horizontal and vertical directions.
Take the physical vector . Its two coordinate vectors, and the two descriptions of , are
Reconstruction gives . The output coordinate vectors differ, but the endpoint in the physical plane is the same.
Figure 1.
One linear operator and the same two physical vectors described in a standard basis and an oblique basis
. Both panels use the same physical plane and scale. The blue arrow is , and the orange arrow is . Dotted paths reconstruct them from their respective basis vectors; the right grid follows , . Details.
This is why matrix similarity is useful: a convenient basis can simplify calculations without changing the linear operator. A diagonalizable matrix can be replaced by a diagonal matrix, making repeated application a calculation with powers of its eigenvalues. In the example, makes the two independent stretch factors visible, while expresses the same action in directions chosen for another purpose. Matrix similarity invariants separate properties of the linear operator from features of its address system.
Ordered basis Created 2026-10-14 Updated 2026-10-25
An ordered basis is a basis equipped with an ordering of its basis vectors. The order fixes which position of a coordinate vector corresponds to each basis vector.
Write vectors in a symplectic basis as and . Their coordinate vectors and the matrix of a bilinear form are
Here 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]
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.
Figure 1.
Paired coordinate planes and the pairing matrix of a four-dimensional symplectic basis
. The two projected parallelograms have signed areas minus one and plus one, which cancel. The matrix uses the e-then-f ordering; all self-pairings are zero. Details.
Passive rotation of coordinates Created 2026-10-14 Updated 2026-10-18
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 gives
For 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]
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.
Let be the coordinate vectors and define finitely supported vectors
Each belongs to , and . Hence is absolutely convergent for the supremum norm. Its partial sums converge uniformly in to the sequence whose entries on the th block all equal . But every block contributes one to its sum:
Thus . Any supremum-norm limit in would have the same coordinates as , an impossibility. The partial sums are Cauchy and have no limit in the space. Therefore is not Banach, and the displayed series is the required absolutely convergent but nonconvergent series in that space.
Let . If , part (a) provides a nonzero bounded functional annihilating ; normalize it to have norm one. Density of the sequence in the dual unit ball gives an index with . Since and ,
But the hypothesis and reverse triangle inequality give
a contradiction. Therefore the span is dense.
If is separable, its unit ball has a countable dense set. For each nonzero , the definition of its norm permits choosing in the unit ball with ; choose zero for a zero functional. The preceding result gives a dense countable span over , or over in the complex case. Thus is separable.
The converse fails: is separable, since finite rational-coordinate sequences are dense, but is not separable. The dual identification sends a bounded sequence to , isometrically; conversely a bounded functional is determined by its values on the coordinate vectors and hence has this form by truncation. The uncountable family of zero-one sequences in has pairwise distance one, which no countable dense set can approximate within a radius smaller than .
The two reciprocal bases satisfy . Expanding each vector in its specified basis and using real bilinearity gives
The simple sum-of-products formula holds because the two coordinate vectors use paired reciprocal bases. It does not require either basis to be orthogonal, and would generally fail if both sets of components were taken in the same nonorthogonal basis.
The th column of the matrix representation of a linear map is the coordinate vector of the image of the th basis vector:
Define by , so its columns express the new basis vectors in the old basis. For every vector, . Applying in either coordinate system gives , proving the change of basis formula
To make diagonal, choose the columns of to be linearly independent eigenvectors of , expressed in the basis, and put their corresponding eigenvalues on the diagonal in the same order. This is possible precisely when is a diagonalizable matrix over the stated field; an eigenbasis need not exist over an arbitrary field.
The elementary elimination step replaces row by row minus a multiple of an earlier pivot row . With coordinate vectors , its premultiplication matrix is
and its inverse is , since . Choose as the current entry below the pivot divided by the current pivot. Required pivots are assumed nonzero, consistently with elimination without row interchanges.
For dimension 4, first eliminate positions , then , then . Thus
The rightmost operation acts first, and every multiplier is computed from the matrix at its own stage. For general , the numbers of eliminations in successive columns are , totaling ; a zero multiplier simply gives an identity operation.
The product is unit lower triangular and is upper triangular. Its inverse is unit lower triangular, so
The stored multiplier in position is the corresponding subdiagonal entry of , as follows by reversing the pivot-row subtractions column by column.
If is upper Hessenberg, only the first subdiagonal can be nonzero below the diagonal. At stage only position needs elimination. Subtracting row cannot create lower entries further down because its entries before its pivot are already zero. Hence only operations are needed. The inverse factors occur in increasing column order, and their cross products vanish, giving
which is lower bidiagonal; is upper triangular, possibly dense above its diagonal.
If the Hessenberg matrix is also symmetric, it is tridiagonal. At each elimination step the pivot row has no entries past its immediate superdiagonal, so the updated matrix retains that upper bandwidth. Thus is lower bidiagonal and is upper bidiagonal, with at most two nonzero entries in each row, as required.
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 are
where is the transpose and the identity matrix. In the usual Cartesian basis of the plane, an active counterclockwise planar rotation through an angle uses
Here 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]
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]
For real matrices, orthogonal similarity is the special case with an orthogonal matrix. Then a symmetric matrix remains symmetric, because . The expression describes the reverse conversion and has the same property. An orthonormal basis retains the ordinary dot product formula for its coordinate vectors.
An arbitrary change of basis need not preserve entrywise symmetry. In the opening example, is a symmetric matrix but is not. The geometric inner product has not disappeared: in the new coordinates it is represented by the Gram matrix
For with new coordinate vector , the squared Euclidean norm is , agreeing with . The naive coordinate sum would use the wrong inner product.
If , direct multiplication gives
This is self-adjointness expressed in the new inner product, rather than entrywise symmetry relative to the identity matrix. For the example, both products equal . Thus arbitrary matrix similarity preserves the linear operator, while its geometric interpretation requires transforming the Gram matrix as well. Matrix congruence supplies the corresponding rule for a bilinear form and should be distinguished from matrix similarity.
Similarity transformation Created 2026-09-24 Updated 2026-10-14
A similarity transformation replaces a square matrix by a similar matrix. With the change-of-basis matrix convention , it sends to : reconstruct the input in old coordinates, apply , then extract the output's new coordinates. These three operations explain the order of the factors.
The equivalent formula uses as the conversion from old to new coordinates, reversing the role assigned to above. For the opening example's numerical , this opposite conversion gives . If the old basis is , the new basis vectors in that convention are the columns of , namely and . Both formulas are similarity transformations; the direction of the coordinate conversion decides which one describes a specified basis.
An especially useful form is the intertwining operator equation
It says that applying before reconstruction by gives the same physical output as reconstructing first and applying . Given an invertible matrix , multiplying this equation by proves matrix similarity. Without invertibility, the equation alone does not prove matrix similarity.
Figure 1.
Matrix similarity makes coordinate conversion commute with the action of a linear operator
. For the worked example, both routes give the old output coordinate vector . The bottom strip records matrix similarity invariants; the eigenvector tuple changes while reconstructing to the same vertical vector. Details.
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.
Uniqueness of linear combination coefficients Created 2026-10-14 Updated 2026-10-25
A family is linearly independent if and only if every vector in its linear span has unique coefficients as a linear combination of that family. For a short proof, subtract two representations to get ; linear independence forces each difference to vanish. Conversely, uniqueness applied to the zero vector forces every linear relation to use only zero coefficients. This explains the practical role of linear independence: a coordinate vector relative to an ordered basis is unambiguous.
Vector Created 2026-09-24 Updated 2026-10-14
A vector is an element of a vector space. Its defining operations are vector addition and scalar multiplication. An arrow in a Euclidean space is one example; a polynomial or a function can also be a vector when the chosen vector space uses the corresponding addition and scalar multiplication.
For instance, the polynomials and belong to the real vector space of polynomials of degree at most two. Their vector addition gives , and scalar multiplication gives . In the monomial basis these are the coordinate vectors , , and respectively. The vectors are the polynomials; these tuples are their representations in a chosen basis.
A general vector space does not itself prescribe lengths or angles. A norm supplies a size, while an inner product also supplies angle information and orthogonality. The familiar arrow geometry below belongs to Euclidean vectors, where this extra structure is available.