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 is
Thus 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.
Figure 1.
The vector reconstructed from its orthogonal projections onto a rotated Cartesian basis
. Details.
The squared norm remains
This 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.
Change of basis Created 2026-09-24 Updated 2026-10-14
A change of basis rewrites a vector using a different ordered basis of the same vector space. The vector stays fixed; its coordinate vector changes because the measuring directions change. Both bases must describe every vector uniquely, so a change of basis is reversible.
Start with the Cartesian basis , , and choose the new basis vectors and . For the vector ,
The second coordinate vector says to travel once along and once along . Their vertical contributions cancel, leaving exactly the original horizontal arrow. The diagram shows two descriptions of that same arrow, with the same origin and endpoint.
Figure 1.
The same vector expressed in two bases:
. Details.
Choosing a useful basis can reveal simple structure hidden by the old coordinate vectors. Here the new basis describes common and opposing contributions. For two equal measurements , the new coordinate vector is : only the common contribution is present. In larger examples, a suitable basis can concentrate important information into a few coefficients. Strang's lecture on change of basis develops this principle through applications: the reversible change of basis preserves information, while subsequently discarding small coefficients loses information.[ref]
Circulant matrix Created 2026-09-24 Updated 2026-10-14
A circulant matrix applies the same rule at every position of a finite ring: moving both the input and output indices one step leaves its entries unchanged. Its first column determines the whole matrix. For a length- vector , index rows and columns by and define
The indices use modular arithmetic. Thus each column is the previous column shifted down one place, with the last entry wrapping around to the top. Multiplication is exactly circular convolution:
This makes a circulant matrix a natural model for a periodic finite difference rule or a filter acting on a periodic record. Strang's MIT lecture develops this connection between circulant matrices, circular convolution and the discrete Fourier transform.[ref]
For example, the first column gives
Here the indices wrap around modulo four. Each output compares a value with its two neighbors; this is the Graph Laplacian of a four-vertex cycle graph. A constant input gives zero, while an alternating input gives a large response. The Fourier diagonalization of a circulant matrix makes this distinction exact: its four eigenvalues are .
Figure 1.
Fourier eigenvectors of the four-point cycle Laplacian
. Details.
The plotted discrete Fourier modes are complex vectors, shown through their real and imaginary parts. Each entry has modulus one; the Euclidean norm of each length-four vector is two. In particular, modes and have the same real part but opposite imaginary parts, so they are distinct eigenvectors with the same eigenvalue.
The useful surprise is that every length- circulant matrix shares the same basis of eigenvectors, whatever its first column. One change of basis therefore simplifies an entire family of linear maps, instead of requiring a separate eigenvalue computation for each one. Bamieh's tutorial develops the discrete Fourier transform from precisely this simultaneous diagonalization problem.[ref]
Coordinate vector 2026-10-14
For an ordered basis , the coordinate vector records the unique coefficients satisfying . Change of basis changes this representation while preserving the underlying vector.
For , , the vector has coordinate vector , since . These are the same coefficients extracted by the dual basis in its worked example. The vector is independent of the chosen basis; its list of coordinates is not. In an orthonormal eigenbasis, the coordinates additionally separate the action of a self-adjoint operator into independent scalar multiplications.
Covector Created 2026-09-24 Updated 2026-10-14
A covector is an element of the dual space, hence a linear functional on a vector space. In finite-dimensional coordinates, it acts as a row multiplied by a coordinate vector column. The row acts on to give five. The terminology emphasizes its role as a scalar-valued measurement and its behavior under a change of basis.
For example, the total derivative of at sends a small displacement to the linear change . This covector describes the first-order response. The gradient represents the same rule through the chosen Euclidean inner product. In differential geometry, the cotangent space collects these scalar-valued measurements of tangent vectors.
Diagonalizable matrix Created 2026-09-24 Updated 2026-10-14
A finite-dimensional linear operator is diagonalizable over a specified field when it has an eigenbasis. Equivalently, its matrix admits
where is an invertible matrix whose columns are eigenvectors, and is a diagonal matrix of the corresponding eigenvalues. This change of basis reveals a linear map as independent one-dimensional scalings. The matrix may look coupled in the original coordinates, but each coordinate in the eigenbasis evolves on its own.
For the symmetric matrix computed in eigenvector, take
Then , hence . The orthonormal basis version is , an orthogonal matrix satisfying . Every real symmetric matrix has an orthonormal eigenbasis by the spectral theorem; a general diagonalizable matrix need not have orthogonal eigenvectors.
The immediate payoff is repeated application: adjacent factors cancel, giving . In this example,
The component in grows while the component in stays fixed. After division by its Euclidean norm, this particular sequence approaches . This is the mechanism behind the power method; an initial vector entirely in would stay there and never find the dominant eigenvalue .
Figure 1.
Repeated maps: eigenvalue growth, alignment, and the exceptional starting direction
. Details.
Two different obstructions deserve comparison. The planar rotation in eigenvector is diagonalizable over but not over , because its eigenvalues are and . By contrast, the shear mapping
has only , of algebraic multiplicity two, and , of geometric multiplicity one. There is no second independent eigenvector, even over . This is a defective matrix, already a two-dimensional Jordan block. Its powers are
Thus even though both eigenvalues are one, repeated application can produce growth. Eigenvalues alone miss the coupling recorded by a Jordan block. A repeated eigenvalue is harmless when it has enough independent eigenvectors, as demonstrates. More generally, a matrix is diagonalizable exactly when its characteristic polynomial splits over the chosen field and every eigenvalue has equal geometric multiplicity and algebraic multiplicity. The proof outline is to join bases of the distinct eigenspaces; their direct sum fills the space exactly under these conditions.
A physical motivation is the separation of normal modes. Consider two equal masses between three identical springs of stiffness , with the outer ends fixed. By Hooke's law and Newton's second law, the displacement vector obeys
The eigenvectors and have eigenvalues and : the masses move together in the first normal mode and oppositely in the second. Writing separates the coupled equations into two harmonic oscillators,
Their angular frequencies are and ; the eigenvalues give squared angular frequencies after multiplication by . This is the beauty of diagonalization: finding the right directions turns interacting motions into independent patterns. For a physical treatment, see Yen-Jie Lee's "Coupled Oscillators, Normal Modes" (MIT 8.03SC, 2016), and the local article normal modes of two equal masses between three springs.[ref]
For the basis obtained from a basis , the dual basis is obtained by successive differences of the original dual basis. Indeed, if , its original coordinates are . Hence for , and . These are precisely the new coordinate linear functionals. This gives an elementary example of the inverse relation between change of basis and covector transformation under a change of basis.
Let the Klein four-group have generators and , with and . For every real , the matrices
define a group representation. Indeed, , and commutes with every matrix, so the group relations hold.
Set . A direct change of basis gives
Consequently all these representations are isomorphic representations, with character values on . Each is a direct sum of the two one-dimensional representations whose values on are and whose values on are and . A group representation need not be orthogonal; nonzero changes the basis rather than the represented group.
On , use the standard basis and the alternating bilinear form with matrix above for . A second symplectic basis is
For instance, , while and the cross-pairings vanish. The change of basis matrix, whose columns are these new basis vectors in , is
The symmetric matrix makes , so is a symplectic matrix. Explicitly, multiplying the blocks gives a lower-right block ; the other blocks agree with . For a fixed vector, change of basis means , hence
Their symplectic form gives in , and in . The separate coordinate-plane contributions change, but their sum does not.
The same matrix also represents an active symplectic linear map: keeping one basis fixed, it sends to . The following diagram shows this active interpretation over the real numbers. Its preserved total pairing is precisely the test used for linear canonical transformations.
Figure 1.
A symplectic shear redistributes projected areas while preserving their sum
. Before the map the two signed areas are zero and one; afterwards they are minus one and two. The block shear q maps to q plus Cp with symmetric C, so the total symplectic pairing remains one. Details.
Linear algebra Created 2026-09-24 Updated 2026-10-18
Linear algebra studies vector spaces and linear maps: operations that preserve vector addition and scalar multiplication. For a linear map , the defining rule is , where are vectors and belong to the underlying field. The vectors might be arrows, lists of measurements, or polynomials. What matters is that their linear combinations make sense and that the same rule governs their transformation.
A concrete linear map is . Its two outputs record a sum and a difference. Since and , we immediately obtain . Knowing the outputs of the basis vectors determines the output of every vector; a matrix stores exactly that information in its columns.
The attraction of linear algebra is that one small collection of ideas answers several different questions. A system of linear equations asks which inputs produce a prescribed output. The image of a linear map describes the attainable outputs, while the kernel describes the invisible input changes. A basis gives every vector an address, and change of basis lets us choose addresses that make a linear map easier to understand. This shared language turns a collection of separate calculations into a picture of what is possible and how much freedom remains. Gilbert Strang's MIT course emphasizes these connections and their usefulness across other disciplines.[ref]
Matrix congruence Created 2026-10-06 Updated 2026-10-14
Two square matrices are congruent when for an invertible matrix . This is the transformation of the matrix of a bilinear form under change of basis, and also transforms a quadratic form under an invertible linear map on its coordinates. The matrices need not be symmetric. It differs from matrix similarity, which uses for a linear operator. For real symmetric matrices, completing the square diagonalizes the corresponding quadratic form by matrix congruence.
Matrix of a bilinear form Created 2026-10-14 Updated 2026-10-31
Choose an ordered basis of a finite-dimensional vector space. The matrix of a bilinear form records all pairings of basis vectors, with . Writing and , separate linearity gives
where the last expression uses the coordinate vectors of . Conversely, every matrix defines a bilinear form by this formula.[ref]
For a concrete bilinear form on , take
Then but : a bilinear form need not be a symmetric bilinear form. For and , first compute , then . Reversing the inputs gives and .
Figure 1.
Basis coefficients determine each pairing, but self-pairings lose the alternating part
. Details.
Under change of basis, let the columns of an invertible matrix be the new basis vectors in old coordinates. Thus and , so
This is matrix congruence, rather than the matrix similarity for an endomorphism. Both inputs have changed coordinates, which explains the two factors of . For the displayed and , direct multiplication gives ; its entry is .[ref]
Choose a basis and let be the matrix of . Use the monic convention
Under a change of basis, becomes for an invertible matrix . Then
so multiplicativity of the determinant gives . Therefore the characteristic polynomial is independent of the chosen basis and is well-defined for the linear transformation itself.
Use the -dimensional space for this change of basis. With the columns of recording the new basis in the old one, bilinearity gives
Thus the matrices of the bilinear form satisfy
This is matrix congruence, rather than the similarity rule for an endomorphism: both arguments of the bilinear form change basis.
Use the standard structural fact that is a semisimple Lie algebra over an algebraically closed field of characteristic zero. If is a Cartan subalgebra, part (a)(ii) gives , and is an abelian Lie algebra. Part (c) therefore shows that its weight spaces occur as pairs of one-dimensional spaces, with no zero weight space.
Choose representatives of its nonzero weights of a representation. Pick in and in , scaling so that . Part (b) shows that all other pairings among different pairs are zero. Each individual weight space is one-dimensional and the bilinear form is alternating, so the ordered basis
is a symplectic basis. Every is a diagonal matrix in this basis, with entries .
Let be the Lie subalgebra consisting of all diagonal matrices
Each such matrix lies in the symplectic Lie algebra and commutes with . Hence
and . In particular, every Cartan subalgebra has dimension ; the are a basis of .
Carry out the same construction for , obtaining a symplectic basis with . The unique linear map sending to and to is invertible and preserves all pairings of basis vectors. By bilinearity, it preserves on all of , so belongs to the symplectic group . The change of basis gives
Thus conjugacy of Cartan subalgebras of the symplectic Lie algebra follows by explicitly matching their symplectic bases. If , the Lie algebra is zero and the same conclusion holds with the identity on the zero vector space.
Take the inner product with in . The reciprocal basis condition gives . Expanding instead in the basis proves the reciprocal-basis coordinate transformation
Thus is the Gram matrix of the original basis. It is a positive-definite matrix, so this change of basis is invertible.
In the specified two-dimensional Cartesian frame,
Solving the four dot product conditions gives
They are perpendicular to and , respectively, with lengths adjusted so the other dot product is one. Equating the Cartesian components of gives
Consequently
which agrees entry by entry with the Gram matrix computed directly from the two unit basis vectors.
Figure 1.
One vector reconstructed in two reciprocal bases: coordinates become through the Gram matrix
. Details.
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 linear system of differential equations has matrix
The columns of are eigenvectors of . The change of basis therefore gives , , with independent first-order linear differential equations
The initial velocity gives , . Transforming back, , yields the real velocity vector components
These also cover . Complex coordinates have decoupled a real rotation without making the physical velocity complex.
The characteristic polynomial is
Thus the eigenvalues are and . There is no real diagonalization, because a real diagonal matrix would have real eigenvalues. Over the complex numbers, the two distinct eigenvalues give linearly independent eigenvectors, so the matrix is diagonalizable.
For , the first row gives . Choose , giving . Its standard complex norm is ; the conjugate eigenvector belongs to . Hence normalized eigenvectors and a suitable change of basis are
Directly, and , so
Normalization does not assert that these eigenvectors are orthogonal.
For an invertible matrix whose columns give the new basis in old coordinates, the new matrix is . Multiplicativity of the determinant gives
since .
To justify the cyclic property of the trace directly, for two square matrices ,
Apply it with and :
Thus both the determinant and trace are invariant under change of basis.