What Linear Algebra Is For in Physics
~6 min read · Tier toggle changes depth (T1 plain · T2 standard · T3 rigour)
You should be comfortable with basic vector addition and scalar multiplication in three-dimensional space, and have a general familiarity with solving systems of linear equations. No prior knowledge of abstract algebra or complex numbers is required for this orientation lecture.
Why this matters
Linear algebra provides the universal language for describing physical systems that evolve linearly.
Whether you are analyzing the vibration of a guitar string, the rotation of a rigid body, or the state of an electron in an atom, the underlying mathematical structure is the same: a vector space equipped with an inner product, acted upon by linear operators. This unit does not merely teach you to manipulate matrices; it teaches you to recognize the geometric and algebraic structures that govern physical reality. By mastering the spectral theory of self-adjoint operators, you gain the ability to decompose complex physical states into fundamental modes, a technique that is indispensable in both classical and quantum mechanics.
The Big Picture: Structure Over Calculation
Many students approach linear algebra as a collection of computational tricks: row reduction, determinant formulas, and matrix multiplication. While these tools are useful, they are merely the syntax of a deeper language. In physics, we care about the *structure* of the space in which our physical quantities live. A vector is not just a list of numbers; it is an element of a space that has a specific geometry defined by an inner product. An operator is not just a grid of coefficients; it is a transformation that maps one state to another while preserving linearity.
Consider a simple harmonic oscillator. The equation of motion is linear. This linearity implies that if \( \mathbf{x}_1(t) \) and \( \mathbf{x}_2(t) \) are two possible motions, then any linear combination \( a\mathbf{x}_1(t) + b\mathbf{x}_2(t) \) is also a valid motion. This superposition principle is the heart of linear algebra. It allows us to break down complicated motions into simpler, independent parts—normal modes. The goal of this unit is to formalize this intuition, moving from specific coordinate systems to abstract vector spaces where the properties of the system are independent of the specific basis chosen.
Vector Spaces and Inner Products
A vector space is a set of objects (vectors) that can be added together and multiplied by scalars, subject to a specific set of axioms. In physics, the "vectors" might be displacement vectors, wavefunctions, or states of a quantum system. The crucial addition to a vector space in physics is the *inner product*. The inner product, denoted \( \langle \mathbf{u} | \mathbf{v} \rangle \), defines the geometry of the space: it gives us the notion of length (norm) and angle (orthogonality).
For example, in three-dimensional Euclidean space, the inner product is the dot product: \( \mathbf{u} \cdot \mathbf{v} = u_x v_x + u_y v_y + u_z v_z \). This operation allows us to define the length of a vector as \( |\mathbf{u}| = \sqrt{\langle \mathbf{u} | \mathbf{u} \rangle} \). More importantly, it allows us to define orthogonality: two vectors are orthogonal if their inner product is zero. This concept is fundamental because it allows us to decompose any vector into components along mutually perpendicular axes. In quantum mechanics, this translates to the ability to measure independent observables without interference.
Note the complex conjugation \( u_i^* \) in the general case. This ensures that the norm is always a real, non-negative number, a requirement for any physical quantity representing a magnitude.
Linear Operators and Eigenvalues
Physical laws often describe how a system changes over time or how a measurement transforms a state. These transformations are modeled by *linear operators*. An operator \( \hat{A} \) is linear if it satisfies two conditions: \( \hat{A}(\mathbf{u} + \mathbf{v}) = \hat{A}\mathbf{u} + \hat{A}\mathbf{v} \) and \( \hat{A}(c\mathbf{u}) = c\hat{A}\mathbf{u} \) for any scalar \( c \).
The most important question we ask of an operator is: "Are there any vectors that are merely scaled by the operator, rather than rotated or distorted?" These special vectors are called *eigenvectors*, and the scaling factors are *eigenvalues*. The eigenvalue equation is:
In physics, eigenvectors represent the "natural modes" of a system. For a vibrating string, the eigenvectors are the normal modes of vibration, and the eigenvalues correspond to the frequencies. For a quantum system, the eigenvectors of the Hamiltonian operator represent the stationary states, and the eigenvalues represent the allowed energy levels. The power of linear algebra lies in the fact that if an operator has a complete set of orthogonal eigenvectors, we can express any state in the space as a linear combination of these eigenvectors. This is the essence of the spectral theorem, which we will explore in depth later in the unit.
Self-Adjoint Operators and Reality
Not all operators are created equal. In physics, we are particularly interested in *self-adjoint* (or Hermitian) operators. An operator \( \hat{A} \) is self-adjoint if it satisfies the condition:
for all vectors \( \mathbf{u} \) and \( \mathbf{v} \) in the space. This condition has profound physical consequences. First, it guarantees that all eigenvalues of a self-adjoint operator are real numbers. This is crucial because physical observables, such as energy, momentum, and position, must yield real measurement results. Second, it guarantees that eigenvectors corresponding to distinct eigenvalues are orthogonal. This orthogonality ensures that the "modes" of the system are independent and do not interfere with each other in a way that would blur the distinct physical states.
For instance, the Hamiltonian operator in quantum mechanics, which represents the total energy of the system, is self-adjoint. This ensures that the energy levels of an atom are real numbers and that the stationary states are orthogonal to one another. Without the mathematical structure of self-adjoint operators, the predictions of quantum mechanics would be inconsistent with the real-world measurements we perform.
A common pitfall is assuming that any square matrix represents a self-adjoint operator. While a real symmetric matrix is self-adjoint with respect to the standard dot product, a complex matrix must be Hermitian (equal to its own conjugate transpose) to be self-adjoint. Confusing these conditions can lead to incorrect conclusions about the reality of eigenvalues and the orthogonality of eigenvectors, particularly when dealing with quantum mechanical systems involving complex wavefunctions. C
Worked example
Problem. Consider a two-dimensional vector space with the standard inner product. Let \( \hat{A} \) be the linear operator represented by the matrix \( \begin{pmatrix} 2 & 1 \\ 1 & 2 \end{pmatrix} \). Determine the eigenvalues and eigenvectors of \( \hat{A} \), and verify that the eigenvectors are orthogonal.
- Characteristic equation: \( \det(\hat{A} - \lambda I) = (2-\lambda)^2 - 1 = \lambda^2 - 4\lambda + 3 = 0 \).
- Eigenvalues: \( (\lambda - 3)(\lambda - 1) = 0 \), so \( \lambda_1 = 3 \) and \( \lambda_2 = 1 \).
- Eigenvectors: for \( \lambda_1 = 3 \), \( -x + y = 0 \) gives \( \mathbf{v}_1 = \tfrac{1}{\sqrt2}(1, 1)^{\mathsf T} \); for \( \lambda_2 = 1 \), \( x + y = 0 \) gives \( \mathbf{v}_2 = \tfrac{1}{\sqrt2}(1, -1)^{\mathsf T} \).
- Orthogonality: \( \langle \mathbf{v}_1 | \mathbf{v}_2 \rangle = \tfrac12(1 \cdot 1 + 1 \cdot (-1)) = 0 \), as expected for a symmetric (self-adjoint) matrix with distinct eigenvalues.
Units check. The matrix elements are dimensionless in this abstract example, so the eigenvalues are also dimensionless. If the matrix represented a physical operator with units of energy, the eigenvalues would carry units of energy. The orthogonality check yields zero, confirming the vectors are perpendicular in the vector space.
Three quick tests
- What property of a linear operator guarantees that its eigenvalues are real?
Answer
Self-adjointness (or Hermiticity). - If \( \hat{A} \) is a linear operator, what condition must it satisfy to be considered linear?
Answer
It must satisfy \( \hat{A}(\mathbf{u} + \mathbf{v}) = \hat{A}\mathbf{u} + \hat{A}\mathbf{v} \) and \( \hat{A}(c\mathbf{u}) = c\hat{A}\mathbf{u} \). - Why are orthogonal eigenvectors important in the context of physical measurements?
Answer
They represent independent, non-interfering states, allowing for clear and distinct measurement outcomes.
Problem set for PU-104 →
Each derivation in this unit ends with five graded problems with full solutions.
Lecture notes drafted with a local model and checked line by line by the editor; every number in the worked example was recomputed.