Skip to content
QFT.org

Search QFT.org

Enter a word or phrase.

    You can also browse the main navigation and chapter contents.

    Linear Maps, Dual Spaces, and Change of Basis

    Two coupled oscillators can be described by their individual displacements or by collective coordinates. The numbers in the equations change; the energy and the measured displacement do not. Understanding that distinction prevents a common error in field theory: transforming an operator as though it were a quadratic form.

    Preparation: matrix multiplication and solving two simultaneous linear equations. All vector spaces on this page are finite dimensional over R\mathbb R or C\mathbb C.

    Vectors, coordinates, and sources

    A basis e1,…,ene_1,\ldots,e_n expresses each vector uniquely as v=eavav=e_a v^a, with repeated indices summed. The vector vv does not depend on this choice; the column of components does. A covector is a linear map α:V→F\alpha:V\to\mathbb F. The dual basis obeys ea(eb)=δabe^a(e_b)=\delta^a{}_b, so

    α(v)=αava.\alpha(v)=\alpha_a v^a.

    There is no inner product in this definition. In particular, for complex VV, a covector is linear, not conjugate-linear, in the argument it evaluates. Turning a vector into a bra requires an inner product, discussed in Inner Products and Orthogonal Projections. The coordinate construction of the dual is given in Axler, §3F, especially 3.114 (PDF).

    Choose a new basis ea′=ebMbae'_a=e_b M^b{}_a with MM invertible. In column notation the same vector and the same linear source have components

    v′=M−1v,α′=αM,v'=M^{-1}v,\qquad \alpha'=\alpha M,

    where α\alpha is written as a row. Thus α′v′=αv\alpha'v'=\alpha v. For a finite set of real field variables qq, the source coupling JqJq has exactly this form. The invariance comes from opposite transformation laws, not from the visual arrangement of a row and a column.

    Maps and forms transform differently

    A linear map T:V→WT:V\to W becomes a matrix once both spaces have bases. If their bases change by MM and NN, respectively, then

    T′=N−1TM.T'=N^{-1}TM.

    Indeed, w=Tvw=Tv implies w′=N−1TMv′w'=N^{-1}TMv'. For an operator on one space with the same basis in its input and output, this is the similarity transformation T′=M−1TMT'=M^{-1}TM.

    A real bilinear form instead assigns a scalar to two vectors, B(v,w)=vTKwB(v,w)=v^{\mathsf T}Kw. Substituting v=Mv′v=Mv' and w=Mw′w=Mw' gives

    K′=MTKM.K'=M^{\mathsf T}KM.

    This is a congruence transformation. An operator has one input and one output; a form has two inputs. They agree numerically for an orthogonal MM because M−1=MTM^{-1}=M^{\mathsf T}, which can hide the distinction. A complex Hermitian form uses M†KMM^\dagger KM.

    The algebraic dual map T∗:W∗→V∗T^*:W^*\to V^* is defined by T∗β=β∘TT^*\beta=\beta\circ T. Its matrix in dual bases is TTT^{\mathsf T}, without complex conjugation. The Hilbert adjoint is a different construction, depending on inner products.

    A nonorthogonal description of two oscillators

    Use unit masses and dimensionless units. Let

    L=12q˙Tq˙−12qTKq,K=(2112).L=\frac12\dot q^{\mathsf T}\dot q-\frac12q^{\mathsf T}Kq, \qquad K=\begin{pmatrix}2&1\\1&2\end{pmatrix}.

    Take q=MQq=M Q with

    M=(1101).M=\begin{pmatrix}1&1\\0&1\end{pmatrix}.

    The kinetic and potential matrices in the new coordinates are

    G=MTM=(1112),K′=MTKM=(2336).G=M^{\mathsf T}M=\begin{pmatrix}1&1\\1&2\end{pmatrix}, \qquad K'=M^{\mathsf T}KM=\begin{pmatrix}2&3\\3&6\end{pmatrix}.

    The equations of motion are GQ¨+K′Q=0G\ddot Q+K'Q=0. The dynamical operator therefore transforms by similarity:

    G−1K′=M−1KM=(1013).G^{-1}K'=M^{-1}KM =\begin{pmatrix}1&0\\1&3\end{pmatrix}.

    Its squared frequencies are still 11 and 33. Diagonalizing K′K' alone would give 4±134\pm\sqrt{13} and the wrong physical frequencies, because it would silently replace the kinetic energy.

    The canonical momenta also transform: p=q˙p=\dot q and P=MTp=GQ˙P=M^{\mathsf T}p=G\dot Q. The Hamiltonian is

    H=12PTG−1P+12QTK′Q.H=\frac12 P^{\mathsf T}G^{-1}P+\frac12Q^{\mathsf T}K'Q.

    The identity pTdq=PTdQp^{\mathsf T}\mathrm d q=P^{\mathsf T}\mathrm d Q checks that the change preserves the canonical pairing.

    For a concrete measurement, take the observable q1q_1. Its source row (1,0)(1,0) becomes (1,1)(1,1), so q1=Q1+Q2q_1=Q_1+Q_2. The configuration q=(1,2)Tq=(1,2)^{\mathsf T} has Q=(−1,2)TQ=(-1,2)^{\mathsf T}; both formulas give q1=1q_1=1 and potential energy 77. More generally, the bilinear matrix element uTKv=UTK′Vu^{\mathsf T}Kv=U^{\mathsf T}K'V is unchanged when u=MUu=MU and v=MVv=MV.

    What a kernel tells us

    The kernel ker⁡T\ker T consists of vectors sent to zero; the image im⁡T\operatorname{im}T consists of attainable outputs. A change of coordinates preserves both dimensions. To see why

    dim⁡V=dim⁡ker⁡T+dim⁡im⁡T,\dim V=\dim\ker T+\dim\operatorname{im}T,

    extend a basis of ker⁡T\ker T to one of VV. Images of the added basis vectors span the image and are independent: any relation between them would produce a kernel vector with nonzero components outside the kernel basis. This proves rank–nullity and supplies a quick check on constraint counting.

    Summary

    A source is in the dual space, an operator transforms by similarity, and a quadratic form transforms by congruence. In nonorthogonal coordinates the kinetic or Gram matrix must travel with the potential matrix. Spectral Decomposition and Singular Values will recover the oscillator modes using an orthogonal basis.

    Exercises

    1. Replace the shear above by Ms=(1s01)M_s=\begin{pmatrix}1&s\\0&1\end{pmatrix}. Find the transformed source for q2−2q1q_2-2q_1 and the two energy matrices.

      Solution

      The source row is (−2,1)Ms=(−2,1−2s)(-2,1)M_s=(-2,1-2s). Direct substitution gives

      Gs=(1ss1+s2),Ks=(22s+12s+12s2+2s+2).G_s=\begin{pmatrix}1&s\\s&1+s^2\end{pmatrix},\qquad K_s=\begin{pmatrix}2&2s+1\\2s+1&2s^2+2s+2\end{pmatrix}.

      Their generalized characteristic polynomial is det⁡(Ks−λGs)=(λ−1)(λ−3)\det(K_s-\lambda G_s)=(\lambda-1)(\lambda-3), since det⁡Ms=1\det M_s=1. Neither the measured observable nor the frequencies depend on ss.

    2. For T(x,y,z)=(x+y,y+z)T(x,y,z)=(x+y,y+z), find its kernel and image.

      Solution

      Solving x+y=y+z=0x+y=y+z=0 gives ker⁡T=span⁡{(−1,1,−1)}\ker T=\operatorname{span}\{(-1,1,-1)\}. The images of (1,0,0)(1,0,0) and (0,0,1)(0,0,1) are the standard basis of R2\mathbb R^2, so the image is all of R2\mathbb R^2. The dimensions obey 3=1+23=1+2.

    References

    • Sheldon Axler, Linear Algebra Done Right, 4th ed., Springer, 2024, §§3B, 3C, and 3F. Author's open-access PDF. Inner products later in that book use a different slot convention; this article uses the site's bra–ket convention.

    Scrollable formula. Use Left and Right arrow keys to reveal hidden content.

    Scrollable table. Use Left and Right arrow keys to reveal hidden columns.

    Scrollable figure. Use Left and Right arrow keys to reveal hidden content.