Physics is crowded with things that can be added and scaled. Two displacements combine into a third displacement. Two electric fields superpose. Two possible quantum states can be added to form another state. Functions of time can be multiplied by numbers and added point by point. Even polynomials obey the same sort of arithmetic.
Only the first of these looks like the arrow introduced in kinematics. A polynomial has no obvious direction in physical space, and a quantum state is not a little arrow hidden inside an atom. Yet their algebra behaves so much like the algebra of arrows that using the same language is not a metaphor. It is a precise mathematical claim.
So what is the smallest set of rules that makes an object vector-like? Which properties actually mattered when we manipulated displacement, velocity, force, and fields, and which properties belonged only to the picture of an arrow with a length?
The answer is a vector space. Once we strip away the geometry and keep only the rules for addition and scaling, many apparently different physical objects become instances of one structure.
Vector spaces
A vector space over a field of scalars, usually or in physics, is a set equipped with two operations:
- vector addition, which combines to produce ;
- scalar multiplication, which combines a scalar with to produce .
These operations must satisfy the following axioms for every and all scalars .
-
Closure under addition:
-
Associativity of addition:
-
Commutativity of addition:
-
Existence of a zero vector: there is an element such that
-
Existence of additive inverses: for every , there is an element such that
-
Closure under scalar multiplication:
-
Compatibility of scalar multiplication:
-
Scalar identity:
-
Distributivity over vector addition:
-
Distributivity over scalar addition:
These statements are deliberately abstract. They say nothing about arrows, angles, lengths, or coordinates. A vector space need not come with any notion of distance at all. It is the addition-and-scaling structure that earns its elements the name vectors.
Ordinary vectors in
The familiar example is
Addition and scalar multiplication are performed component by component:
and
The zero vector is , the additive inverse of is , and the remaining axioms follow from the corresponding properties of real-number arithmetic. These are the displacement, velocity, acceleration, force, and electric-field vectors already used throughout mechanics and in Coulomb's law.
Quadratic polynomials as vectors
Now consider the set
the set of all real polynomials of degree at most two. Its elements are functions, not arrows. Nevertheless, define addition and scalar multiplication in the usual way. If
and
then
The result is still a polynomial of degree at most two, so addition is closed. For a scalar ,
which is also in , so scalar multiplication is closed.
The zero vector in this space is the zero polynomial,
and the additive inverse of is
Associativity and commutativity follow because polynomial addition is coefficient-by-coefficient real-number addition. The distributive laws can be checked directly. For example,
becomes
which is exactly
Likewise,
and
Every vector-space axiom is present. The polynomial is therefore a vector in , just as is a vector in . In fact, the correspondence
will soon turn out to be more than suggestive.
Linear combinations, independence, and basis
Given vectors , a linear combination is any vector of the form
The set of all such combinations is the span of those vectors. If their span equals the whole vector space , then they form a spanning set for .
But a spanning set can contain unnecessary vectors. In the plane, for example, three vectors may span every direction even though only two independent directions are needed. To identify redundancy, we ask whether the equation
has any solution other than
If the trivial solution is the only solution, the vectors are linearly independent. If some coefficients are not zero, the vectors are linearly dependent, and at least one can be expressed as a linear combination of the others.
A basis of is a linearly independent set that spans . Equivalently, it is a minimal spanning set: remove any basis vector and the remaining vectors no longer span the whole space. Every vector in has one and only one expansion in a given basis.
The dimension of a finite-dimensional vector space is the number of vectors in any basis. Different bases may point in different directions or look like entirely different objects, but they all contain the same number of vectors.
The standard basis of is
Every ordinary vector can be written uniquely as
Mechanics has used this basis from the beginning, even when it was called only the , , and directions. Since it contains three vectors, has dimension three.
The polynomial space has the basis
Every can be written as
The three basis polynomials span , and they are linearly independent because
for every requires . Therefore
This is why a quadratic polynomial can be represented by the coordinate column
Coordinates do not belong to a vector by themselves. They describe a vector relative to a chosen basis.
Linear operators
A linear transformation is a map
between vector spaces that respects linear combinations. For every and all scalars ,
When , the transformation is often called a linear operator on .
Linearity means that the transformation respects superposition. If two electric fields are added before an operation is performed, the result is the same as performing the operation on each field and then adding. This same structure lies behind the derivative operators used in vector calculus, since
A rotation of vectors in the plane is another linear operator. If two vectors are added and the sum is rotated, the result is the same as rotating each vector and then adding them. Scaling a vector before rotation is also the same as scaling it afterward.
Here is the crucial payoff: once bases have been chosen, every linear transformation between finite-dimensional vector spaces can be represented by a matrix. The columns of that matrix are the coordinates of the transformed basis vectors. Matrices are not a separate topic from vector spaces. They are linear operators after we have picked a basis.
To see why, let be a basis of . Any vector can be written as
By linearity,
Once we know what does to every basis vector, we know what it does to every vector. Placing the coordinate vectors of into the columns of a matrix records the entire transformation.
Deriving the rotation matrix
Consider a counterclockwise rotation through an angle in the plane. Use the standard basis
First track . It begins at angle zero and ends at angle , so its rotated components are
Now track . It begins at angle and ends at angle . Therefore
Using
and
we obtain
The images of the basis vectors become the columns of the matrix. Thus
Now take an arbitrary vector
Linearity gives
Substituting the rotated basis vectors,
Combining components,
This is exactly what ordinary matrix multiplication produces:
The matrix is not an arbitrary rectangular array. Its first column says where goes, its second column says where goes, and linearity determines everything between them.
Worked example
Verify directly that the rotation matrix preserves the length of every vector , and show explicitly that this follows from . (click to reveal the solution)
Writing the rotation and its transpose: let
Transposing exchanges rows and columns, so
Multiplying explicitly:
Computing each entry gives
The off-diagonal entries cancel, and the identity
reduces the product to
A real matrix satisfying is called an orthogonal matrix. Equivalently,
For a rotation, this has a direct geometric meaning: rotating backward through undoes rotating forward through .
Proving length preservation from orthogonality: the squared length of a column vector is
The rotated vector is , so its squared length is
Using ,
Since ,
Lengths are nonnegative, so taking the square root gives
Checking the same result in components: for
the rotated components are
and
Therefore
Substituting,
Expanding both squares,
The cross terms cancel. Grouping the remaining terms,
Thus
and once again
The component calculation and the compact matrix calculation say the same thing. Orthogonality packages the length-preserving geometry of a rotation into the single equation .
Where this leads
Vector spaces and linear operators are the language in which quantum mechanics is secretly written. Quantum states are vectors, though not generally arrows in ordinary space, and observables are linear operators acting on those states. On the page about angular momentum and spin, the eigenvalues and eigenvectors of Pauli matrices were already being computed without this general vocabulary.
The next topic makes that vocabulary explicit. An eigenvector is a special direction in a vector space along which a linear operator acts by pure scaling, with no turning into any other direction. Its scale factor is the corresponding eigenvalue. Finding those directions is what allows a complicated operator to reveal its simplest possible action.