Unit 2, lesson 10

Dual Spaces and Dual Bases

Linear functionals and the dual space, how the coordinate functionals of a basis form its dual basis, evaluation functionals on polynomials, and why nonzero conjugate-linear maps are not linear functionals.

  • Video 10
  • Linear Measurements and Dual Maps

Two sensors read a vector (x,y)(x, y) in the plane. One reports 2x−y2x - y and the other x+yx + y, so at (3,1)(3, 1) they report 55 and 44. The readings are scalars, not new vectors. What kind of object is a sensor, and can sensors be added and scaled like vectors? The answer is the dual space of all linear measurements, and when the original space is finite-dimensional, each of its bases has a matching basis of the dual space.

Key terms

Linear functional

Definition Let VV be a vector space over F\mathbb{F}, where F\mathbb{F} is R\mathbb{R} or C\mathbb{C}. A linear functional on VV is a linear map ℓ:V→F\ell: V \to \mathbb{F}, so

ℓ(av+bw)=a ℓ(v)+b ℓ(w)\ell(av + bw) = a\,\ell(v) + b\,\ell(w)

for all v,w∈Vv, w \in V and a,b∈Fa, b \in \mathbb{F}. Over C\mathbb{C} the scalars come out unchanged, with no complex conjugate. Every linear functional sends 00 to 00.

In plain words A functional measures a vector and returns one number, and the measurement respects addition and scaling. In the real plane, the inputs with a fixed reading of a nonzero functional form a line, and the lines for different readings are parallel.

Example The map ℓ(x,y)=2x−y\ell(x, y) = 2x - y is a linear functional on R2\mathbb{R}^2, and ℓ(3,1)=5\ell(3, 1) = 5. Moving along the line 2x−y=52x - y = 5 keeps the reading, and moving across it changes the reading. On a nonzero space a length is not a linear functional. For v≠0v \ne 0 we have ∥−v∥=∥v∥>0\lVert -v \rVert = \lVert v \rVert > 0, while linearity would require the reading of −v-v to be the negative of the reading of vv. The map (x,y)↦x+1(x, y) \mapsto x + 1 is not one either, because it sends 00 to 11.

Dual space

Definition The dual space of VV is the set of all linear functionals on VV,

V∨=Hom⁡(V,F),V^{\vee} = \operatorname{Hom}(V, \mathbb{F}),

with the pointwise operations (ℓ+m)(v)=ℓ(v)+m(v)(\ell + m)(v) = \ell(v) + m(v) and (aℓ)(v)=a ℓ(v)(a\ell)(v) = a\,\ell(v). It is a vector space over F\mathbb{F}, the case W=FW = \mathbb{F} of the space of linear maps Hom⁡(V,W)\operatorname{Hom}(V, W). Its zero vector is the functional that reads 00 on every input. Many books write V∗V^{*} for the dual space. This course keeps V∨V^{\vee}, so that the dual is not confused with the adjoint T∗T^{*}, which needs an inner product and comes later.

For V=FnV = \mathbb{F}^n with column vectors, every ℓ∈V∨\ell \in V^{\vee} is multiplication by exactly one row, namely ℓ(x)=rx\ell(x) = rx with r=[ℓ(e1)⋯ℓ(en)]r = \begin{bmatrix} \ell(e_1) & \cdots & \ell(e_n) \end{bmatrix}. Over C\mathbb{C} this row carries no conjugation. A row represents a functional, but a functional is not a vector of VV. Turning one into a vector needs an extra choice, such as an inner product.

In plain words Measurements form a vector space of their own. Two sensors are added by adding their readings, and a sensor is scaled by scaling its readings. A functional is a different kind of object from the vectors it measures.

Example On R2\mathbb{R}^2 the functionals ℓ(x,y)=2x−y\ell(x, y) = 2x - y and m(x,y)=x+ym(x, y) = x + y add to (ℓ+m)(x,y)=3x(\ell + m)(x, y) = 3x. At (3,1)(3, 1) the readings are 55 and 44, and the sum reads 9=3⋅39 = 3 \cdot 3. In standard coordinates, ℓ\ell is represented by the row [2−1]\begin{bmatrix} 2 & -1 \end{bmatrix} multiplying the column of (x,y)(x, y).

Coordinate functional

Definition Let VV be finite-dimensional over F\mathbb{F} with ordered basis B=(b1,…,bn)\mathcal{B} = (b_1, \dots, b_n). Every v∈Vv \in V has a unique expansion v=c1b1+⋯+cnbnv = c_1 b_1 + \cdots + c_n b_n. The iith coordinate functional is

βi:V→F,βi(v)=ci,\beta_i: V \to \mathbb{F}, \qquad \beta_i(v) = c_i,

the iith entry of the coordinate column [v]B[v]_{\mathcal{B}}. It is linear because the coordinates of a sum or a scalar multiple are the sum or the multiple of the coordinates. It satisfies

βi(bj)=δij={1,i=j,0,i≠j.\beta_i(b_j) = \delta_{ij} = \begin{cases} 1, & i = j, \\ 0, & i \ne j. \end{cases}

When n≥2n \ge 2, each βi\beta_i depends on the whole basis, not only on bib_i.

In plain words A coordinate functional reads off one coordinate of a vector in a chosen basis. Change any one basis vector and every coordinate functional may change.

Example In R2\mathbb{R}^2 take B=((1,1),(1,−1))\mathcal{B} = ((1, 1), (1, -1)). Writing (x,y)=a(1,1)+b(1,−1)(x, y) = a(1, 1) + b(1, -1) gives a+b=xa + b = x and a−b=ya - b = y, so

β1(x,y)=x+y2,β2(x,y)=x−y2.\begin{gathered} \beta_1(x, y) = \frac{x + y}{2}, \\[0.4em] \beta_2(x, y) = \frac{x - y}{2}. \end{gathered}

Check that β1\beta_1 reads 11 on (1,1)(1, 1) and 00 on (1,−1)(1, -1), while β2\beta_2 reads 00 and 11. With the basis ((1,1),(0,1))((1, 1), (0, 1)) the first basis vector is the same, but the first coordinate functional becomes (x,y)↦x(x, y) \mapsto x.

Dual basis

Definition Let VV be finite-dimensional over F\mathbb{F} with basis b1,…,bnb_1, \dots, b_n. There is exactly one list β1,…,βn\beta_1, \dots, \beta_n in V∨V^{\vee} with βi(bj)=δij\beta_i(b_j) = \delta_{ij}, namely the coordinate functionals, and it is a basis of V∨V^{\vee}, called the dual basis. Every ℓ∈V∨\ell \in V^{\vee} expands as

ℓ=∑i=1nℓ(bi) βi.\ell = \sum_{i=1}^{n} \ell(b_i)\,\beta_i.

The expansion holds because ℓ(v)=∑ici ℓ(bi)=∑iℓ(bi) βi(v)\ell(v) = \sum_i c_i\,\ell(b_i) = \sum_i \ell(b_i)\,\beta_i(v) for v=∑icibiv = \sum_i c_i b_i, so the βi\beta_i span. They are independent, because applying ∑iaiβi=0\sum_i a_i \beta_i = 0 to bjb_j gives aj=0a_j = 0. The list is unique, because a linear functional is determined by its values on a basis. Hence dim⁡V∨=dim⁡V\dim V^{\vee} = \dim V. This equality does not single out a preferred isomorphism between VV and V∨V^{\vee}, since matching bib_i with βi\beta_i depends on the basis. The finite-dimensional hypothesis matters. On the space of all real polynomials, evaluation at 11 adds up all the coefficients and is not a finite combination of coefficient functionals.

In plain words The dual basis is the list of coordinate readers for a basis, one for each basis vector. The coefficients of any measurement in the dual basis are just its readings on the basis vectors.

Example With B=((1,1),(1,−1))\mathcal{B} = ((1, 1), (1, -1)) and ℓ(x,y)=2x−y\ell(x, y) = 2x - y, the readings on the basis are ℓ(1,1)=1\ell(1, 1) = 1 and ℓ(1,−1)=3\ell(1, -1) = 3, so ℓ=β1+3β2\ell = \beta_1 + 3\beta_2. Indeed

x+y2+3(x−y)2=2x−y.\frac{x + y}{2} + \frac{3(x - y)}{2} = 2x - y.

The vector (3,1)(3, 1) has coordinate column (2,1)(2, 1) in B\mathcal{B}, and the coefficient row of ℓ\ell times this column gives

[13][21]=5=ℓ(3,1).\begin{bmatrix} 1 & 3 \end{bmatrix} \begin{bmatrix} 2 \\ 1 \end{bmatrix} = 5 = \ell(3, 1).

The coordinates of the vector and the coefficients of the functional both depend on the basis, but the reading does not.

Evaluation functional

Definition Fix s∈Fs \in \mathbb{F}. On Pd\mathcal{P}_d, the polynomials over F\mathbb{F} of degree at most dd together with the zero polynomial, evaluation at ss is the linear functional ev⁡s(p)=p(s)\operatorname{ev}_s(p) = p(s). It is linear because substituting ss respects sums and scalar multiples of polynomials. For the monomial basis bk=tk−1b_k = t^{k-1} with k=1,…,d+1k = 1, \dots, d + 1, the dual basis functionals βk\beta_k read the coefficients. The values on the basis are ev⁡s(bk)=sk−1\operatorname{ev}_s(b_k) = s^{k-1}, where s0=1s^0 = 1 even for s=0s = 0 because b1b_1 is the constant polynomial 11. The expansion in the dual basis therefore gives

ev⁡s=∑k=1d+1sk−1βk.\operatorname{ev}_s = \sum_{k=1}^{d+1} s^{k-1} \beta_k.

The point ss is fixed in advance. A rule that picks the point depending on the polynomial itself is a different map and needs its own linearity check.

In plain words Plugging in a fixed number is a measurement of a polynomial. In coefficient coordinates it weights each coefficient by a power of that number.

Example On P2\mathcal{P}_2 with basis 1,t,t21, t, t^2, write p=a+bt+ct2p = a + bt + ct^2, so β1(p)=a\beta_1(p) = a, β2(p)=b\beta_2(p) = b and β3(p)=c\beta_3(p) = c. Evaluation at 22 gives a+2b+4ca + 2b + 4c, so

ev⁡2=β1+2β2+4β3.\operatorname{ev}_2 = \beta_1 + 2\beta_2 + 4\beta_3.

For p=3−t+2t2p = 3 - t + 2t^2 this gives 3+2(−1)+4(2)=93 + 2(-1) + 4(2) = 9, which matches direct substitution, p(2)=3−2+8=9p(2) = 3 - 2 + 8 = 9.

Conjugate-linear map

Definition Let VV and WW be vector spaces over C\mathbb{C}. A map f:V→Wf: V \to W is conjugate-linear if

f(v+w)=f(v)+f(w),f(av)=a‾ f(v)\begin{gathered} f(v + w) = f(v) + f(w), \\[0.4em] f(av) = \overline{a}\,f(v) \end{gathered}

for all v,w∈Vv, w \in V and a∈Ca \in \mathbb{C}. A map that is both linear and conjugate-linear is zero, since if(v)=f(iv)=−if(v)i f(v) = f(iv) = -i f(v) forces f(v)=0f(v) = 0. The elements of V∨V^{\vee} are linear, so a nonzero conjugate-linear map from VV to C\mathbb{C} never belongs to the dual space. The same two conditions written over R\mathbb{R} would only repeat linearity, because a‾=a\overline{a} = a for real aa.

In plain words A conjugate-linear map lets a scalar out only after conjugating it. Over the complex numbers that small change is enough to break linearity, unless the map is zero.

Example Complex conjugation z↦z‾z \mapsto \overline{z} on C\mathbb{C} is conjugate-linear but not linear. It sends i⋅1i \cdot 1 to −i-i, while ii times its value at 11 is ii. By contrast, φ(z1,z2)=z1+iz2\varphi(z_1, z_2) = z_1 + i z_2 is a linear functional on C2\mathbb{C}^2, with the unconjugated row [1i]\begin{bmatrix} 1 & i \end{bmatrix}. Later the inner product ⟨x,z⟩=x∗z\langle x, z \rangle = x^{*} z, which is conjugate-linear in its first argument, will represent this functional as φ(z)=⟨x,z⟩\varphi(z) = \langle x, z \rangle with x=(1,−i)x = (1, -i). The conjugation belongs to that representation, not to the functional.

Check yourself

  1. Which of these maps on R2\mathbb{R}^2 are linear functionals? The maps are f(x,y)=3x−2yf(x, y) = 3x - 2y, g(x,y)=x+1g(x, y) = x + 1, h(x,y)=∣x∣h(x, y) = \lvert x \rvert and k(x,y)=xyk(x, y) = xy.
Show the answer

Only ff is a linear functional. The map gg sends (0,0)(0, 0) to 11 rather than 00. The map hh gives h(−1,0)=1=h(1,0)h(-1, 0) = 1 = h(1, 0), but linearity would require h(−1,0)=−h(1,0)h(-1, 0) = -h(1, 0). The map kk gives k(2,2)=4k(2, 2) = 4, but linearity would require k(2,2)=2k(1,1)=2k(2, 2) = 2k(1, 1) = 2.

  1. In R2\mathbb{R}^2 take the basis b1=(1,0)b_1 = (1, 0), b2=(1,1)b_2 = (1, 1). Find the dual basis, and explain why β1\beta_1 is not the functional (x,y)↦x(x, y) \mapsto x even though b1=e1b_1 = e_1. Then write ℓ(x,y)=2x−y\ell(x, y) = 2x - y in the dual basis and check the result at (3,2)(3, 2).
Show the answer

Writing (x,y)=a(1,0)+b(1,1)(x, y) = a(1, 0) + b(1, 1) gives b=yb = y and a=x−ya = x - y, so

β1(x,y)=x−y,β2(x,y)=y.\beta_1(x, y) = x - y, \qquad \beta_2(x, y) = y.

The functional (x,y)↦x(x, y) \mapsto x reads 11 on b2=(1,1)b_2 = (1, 1), but the dual basis requires β1(b2)=0\beta_1(b_2) = 0, so β1\beta_1 depends on b2b_2 as well as on b1b_1. The readings ℓ(b1)=2\ell(b_1) = 2 and ℓ(b2)=1\ell(b_2) = 1 give ℓ=2β1+β2\ell = 2\beta_1 + \beta_2, and indeed 2(x−y)+y=2x−y2(x - y) + y = 2x - y. At (3,2)(3, 2) the coordinates are 11 and 22, and 2⋅1+1⋅2=42 \cdot 1 + 1 \cdot 2 = 4, which equals ℓ(3,2)=6−2\ell(3, 2) = 6 - 2.

  1. On C2\mathbb{C}^2 let φ(z1,z2)=z1+iz2\varphi(z_1, z_2) = z_1 + i z_2 and ψ(z1,z2)=z1‾+i z2‾\psi(z_1, z_2) = \overline{z_1} + i\,\overline{z_2}. Which of them belongs to (C2)∨(\mathbb{C}^2)^{\vee}?
Show the answer

Only φ\varphi belongs to the dual space. It is additive and satisfies φ(az)=a φ(z)\varphi(az) = a\,\varphi(z) for every complex aa. The map ψ\psi is additive, but ψ(az)=a‾ ψ(z)\psi(az) = \overline{a}\,\psi(z), so it is conjugate-linear. With a=ia = i and z=e1z = e_1 we get ψ(ie1)=i‾=−i\psi(ie_1) = \overline{i} = -i, while i ψ(e1)=ii\,\psi(e_1) = i. A nonzero conjugate-linear map is not linear, so ψ\psi is not in (C2)∨(\mathbb{C}^2)^{\vee}.

How this lesson connects