Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Vector spaces

Definition

Quantum mechanics involves complex vector spaces, but in time we will also want to consider real vector spaces, and they are also vector spaces you may be more familiar with, so we will start by defining them together. Consider a field F\mathbb{F} which for us will always be R\mathbb{R} or C\mathbb{C}. The basic idea of a field (defined in any decent abstract algebra textbook, or Wikipedia is an honorable source) is that the operations of addition, multiplication, subtraction, and division have the you are used to for real numbers. (Other important examples of fields include the rational numbers and integers modulo pp.) A vector space over F\mathbb{F}, called “real” and “complex” vector spaces for F=R,CF = \mathbb{R},\mathbb{C} respectively, is a set VV of elements ∣v⟩\ket{v} with the following properties:

  1. Vector addition. For all ∣v⟩,∣w⟩∈V\ket{v},\ket{w}\in V there is a notion of addition ∣v⟩+∣w⟩∈V\ket{v} + \ket{w} \in V wuth the following properties:

(∣v⟩+∣w⟩)+∣y⟩=∣v⟩+(∣w⟩+∣y⟩)(\ket{v} + \ket{w}) + \ket{y} = \ket{v} + (\ket{w} + \ket{y})
  1. Scalar multiplication. For all a∈Fa \in \mathbb{F}, ∣v⟩∈V\ket{v} \in V, there is a notion of scalar multiplication such that a∣v⟩∈Va\ket{v} \in V with the following properties:

  1. Distributive properties

a(∣v⟩+∣w⟩)=a∣v⟩+b∣w⟩a\left(\ket{v} + \ket{w}\right) = a \ket{v} + b \ket{w}
(a+b)∣v⟩=a∣v⟩+b∣v⟩(a + b)\ket{v} = a\ket{v} + b \ket{v}

From these rules we can also deduce the existence of an additive inverse: for every ∣v⟩∈V\ket{v} \in V, there exists a vector ∣−v⟩∈V\ket{-v} \in V such that ∣v⟩+∣−v⟩=∣0⟩\ket{v} + \ket{-v} = \ket{0}. This can be seen by construction: set ∣−v⟩=(−1)∣v⟩\ket{-v} = (-1) \ket{v}. Then

∣v⟩+∣−v⟩=∣v⟩+(−1)∣v⟩=(1+(−1)∣v⟩=0∣v⟩=∣0⟩\ket{v} + \ket{-v} = \ket{v} + (-1) \ket{v} = (1 + (-1) \ket{v} = 0 \ket{v} = \ket{0}

Note that I have not yet introduced any notion of the length of a vector, of whether two vectors are orthogonal, and so on. As we will see, these require some additional structure.

Examples

There are a number of more and less familiar examples.

  1. Cn\mathbb{C}^n, the space of nn-component column vectors

∣v⟩=(c1c2⋮cn)\ket{v} = \begin{pmatrix} c_1 \\ c_2 \\ \vdots \\ c_n \end{pmatrix}

with ck∈Cc_k \in \mathbb{C}. We define vector addition and scalar multiplication in the usual way:

(c1c2⋮cn)+(d1d2⋮dn)=(c1+d1c2+d2⋮cn+dn)\begin{pmatrix} c_1 \\ c_2 \\ \vdots \\ c_n \end{pmatrix} + \begin{pmatrix} d_1 \\ d_2 \\ \vdots \\ d_n \end{pmatrix} = \begin{pmatrix} c_1+ d_1 \\ c_2+d_2 \\ \vdots \\ c_n+d_n \end{pmatrix}
a(c1c2⋮cn)=(ac1ac2⋮acn)a \begin{pmatrix} c_1 \\ c_2 \\ \vdots \\ c_n \end{pmatrix} = \begin{pmatrix} a c_1 \\ a c_2 \\ \vdots \\ a c_n \end{pmatrix}

for any a∈Ca \in \mathbb{C}.

Note we can do ths same with ck,dk∈Rc_k, d_k \in \mathbb{R}: then we have a real vector space. Here the zero vector is defined by ck=0c_k = 0.

  1. The space of n×nn\times n complex-valued matrices Mn(C)M_n(\mathbb{C}). Addition and scalar multiplication are just matrix addition and scalar miltiplication (for M∈MnM \in M_n, aMaM is elementwise multiplication by aa.)

  2. Degree-nn polynomials over C\mathbb{C}:

∣a0,…an⟩=a0+a1x+a2x2+…anxn\ket{a_0,\ldots a_n} = a_0 + a_1 x + a_2 x^2 + \ldots a_n x^n

with addition and scalar multiplication working in the standard way. Note that this is clearly equivalent to Cn\mathbb{C}^n. Note also that there is no reason for nn to be finite — we could work with the space of all polynomials.

  1. Complex functions on an interval: let x∈[0,1]x \in [0,1]. The set of all functions ψ(x)\psi(x) forms a vector space under the standard addition and scalar multiplication of functions if we choose the right boundary conditions. These boundary conditions yield vector spaces:

However, the boundary condition ψ(0)=a\psi(0) = a, ψ(1)=b\psi(1) = b for nonzero a,b∈Ca,b \in \mathbb{C} is not a vector space under standard addition of functions: the sum of two such functions does not satisfy the required boundary conditions and so is not in VV.

  1. Complex square-integrable functions on R\mathbb{R}: that is, functions ψ(x)\psi(x) for x∈Rx\in \mathbb{R} such that

∫−∞∞dx∣ψ(x)∣2<∞\int_{-\infty}^{\infty} dx |\psi(x)|^2 < \infty

Subspaces

A set M⊂VM \subset V is a vector subspace if it is a vector space under the same laws for addition and scalar multiplication. A standard example is any plane through the origin, such as V=C3V = \mathbb{C}^3,

M={(c1c20)∀ci∈C}M = \left\{ \begin{pmatrix} c_1 \\ c_2 \\ 0 \end{pmatrix} \forall c_i \in \mathbb{C} \right\}

Similarly, any complex line through the origin, defined as the set of vectors

a(c1c2⋮cn)a \begin{pmatrix} c_1 \\ c_2 \\ \vdots \\ c_n \end{pmatrix}

for fixed ck∈Cnc_k\in \mathbb{C}^n and all a∈Cna \in \mathbb{C}^n.

A counterexample is any complex line that does not run through the origin, defined as the set of all vectors of the form

a(c1c2⋮cn)+(d1d2⋮dn)a \begin{pmatrix} c_1 \\ c_2 \\ \vdots \\ c_n \end{pmatrix} + \begin{pmatrix} d_1 \\ d_2 \\ \vdots \\ d_n \end{pmatrix}

with ck,dkc_k,d_k fixed and the same for all vectors in this space, and aa any complex number. It is clear that the sum of two vectors is not in this set, if there is at least one dk≠0d_k \neq 0.

Linear independence

Definition. A set of vectors ∣v1⟩,…,∣vm⟩∈V\ket{v_1},\ldots,\ket{v_m} \in V is linearly independent if

∑i=1mak∣vk⟩=0⇔ak=0 ∀ k=1,…,n\sum_{i = 1}^m a_k \ket{v_k} = 0 \Leftrightarrow a_k = 0\ \forall\ k = 1,\ldots,n

Let us give some examples.

  1. C3\mathbb{C}^3. These vectors are linearly independent:

(100) ;  (010) ;  (001)\begin{pmatrix} 1 \\ 0 \\ 0 \end{pmatrix}\ ; \ \ \begin{pmatrix} 0 \\ 1 \\ 0 \end{pmatrix}\ ; \ \ \begin{pmatrix} 0 \\ 0 \\ 1 \end{pmatrix}

Similarly these are linearly independent:

(101) ;  (011) ;  (001)\begin{pmatrix} 1 \\ 0 \\ 1 \end{pmatrix}\ ; \ \ \begin{pmatrix} 0 \\ 1 \\ 1 \end{pmatrix}\ ; \ \ \begin{pmatrix} 0 \\ 0 \\ 1 \end{pmatrix}

However, these three are not:

(101) ;  (011) ; (1/21/21)\begin{pmatrix} 1 \\ 0 \\ 1 \end{pmatrix}\ ; \ \ \begin{pmatrix} 0 \\ 1 \\ 1 \end{pmatrix}\ ; \ \begin{pmatrix} 1/2 \\ 1/2 \\ 1 \end{pmatrix}

because

(101)+(011)−2(1/21/21)=0\begin{pmatrix} 1 \\ 0 \\ 1 \end{pmatrix} + \begin{pmatrix} 0 \\ 1 \\ 1 \end{pmatrix} - 2 \begin{pmatrix} 1/2 \\ 1/2 \\ 1 \end{pmatrix} = 0
  1. In the space of functions on the interval [0,1][0,1] satisfying periodic boundary conditions, the vectors

∣n⟩=sin⁡(nπxL)\ket{n} = \sin\left(\frac{n\pi x}{L}\right)

are linearly independent. Similarly, for nnth order polynomials, the monomials ∣k⟩=xk\ket{k} = x^k are a linearly independent set of nnth order polynomials.

Dimension of a vector space

Definition: the dimension of a vector space VV is the maximum number of linearly independent vectors in VV. Any such maximal collection is called a basis.

Theorem: Given a basis ∣k⟩\ket{k}, k=1,…,nk = 1,\ldots,n, then for any vector ∣v⟩\ket{v} there is a unique set of complex numbers ak=1,…,na_{k = 1,\ldots,n} such that

∑k=1nak∣k⟩\sum_{k = 1}^n a_k \ket{k}

Proof. Assume the contrary, that

∣v⟩=∑k=1nak∣k⟩=∑k=1nbk∣k⟩\ket{v} = \sum_{k = 1}^n a_k \ket{k} = \sum_{k = 1}^n b_k \ket{k}

for ak,bk∈Ca_k,b_k \in \mathbb{C} different numbers. The point is that if this is true,

∣0⟩=∣v⟩−∣v⟩=∑k=1nak∣k⟩−∑k=1nbk∣k⟩=∑k=1n(ak+bk)∣k⟩\ket{0} = \ket{v} - \ket{v} = \sum_{k = 1}^n a_k \ket{k} - \sum_{k = 1}^n b_k \ket{k} = \sum_{k = 1}^n (a_k + b_k)\ket{k}

but this cannot be zero of ak,bka_k,b_k differ in any way, so we have a contradiction to our supposition. Thus ak=bka_k = b_k.