5.1 Linear Functionals and the Dual Space
Chapter 2 studied linear maps
5.1.1. Measuring a vector by a number
After studying vector spaces and the maps between them, we look at the simplest possible target. Here are four maps we have already met, from four different families.
- A coordinate. Fix a basis
of . The map sending to the first entry of respects sums and multiples, by Theorem 1.5.2. - Evaluation. The map
, , satisfies and , by Theorem 0.8.5 (a constant is a polynomial with value ). - Integration. The map
, , is linear by the linearity of the integral from calculus. - Trace. The map
is linear (Example (Trace and Transpose)).
The inputs are columns, polynomials, and matrices.
The outputs are always single scalars. Each map is a way
of measuring a vector by one number,
and each measurement respects sums and scalar multiples.
The same expression keeps recurring, “a linear map whose
target is
A linear functional is a linear measurement: it assigns a scalar to each vector, and the measurement of a linear combination is the same combination of the measurements.
Let
Let
In words: a linear functional is a linear map (Definition 2.1.1)
whose codomain is the one-dimensional space
Well-definedness. Two things need
checking: that
Show that each map is a linear functional.
- (a)
, , for a fixed (evaluation at ). - (b)
, . - (c)
. - (d) The zero
functional on any
. Also find the dual space of the zero space .
Solution.
(a) By Theorem 0.8.5,
, and, regarding as the product of the constant polynomial with , , because the constant polynomial has value at . These are the two conditions of Definition 5.1.1.(b) By linearity of the integral,
and . On coefficients, .(c) This is Theorem 0.9.6 (1):
and .(d)
and in , so the zero functional is linear. On , a linear functional must send to (Theorem 2.1.1), and there is only one vector. So the zero functional is the only element, and . This degenerate case matters: it is the case of the count proved below.
The family
For
Proof. The map
Hence
So in
Nonexamples by minimal change. Each of the following changes one of the examples slightly. In each case something still works, and we name a condition that fails.
- On
, the length (Example (Length)). It sends to and respects positive scalars. But with and it gives , not , so the scaling condition fails. - On
, squaring the evaluation at : . The outputs are still scalars. But for we get , so additivity fails. - On
, replace the trace of by . Then and , but , so additivity fails. The expression is linear in each row separately, which is a different property.
Why this definition. Why single out
the target
Warning. The values must
lie in the field of scalars of
The first payoff is a count that holds for every nonzero functional: it hits every scalar, and in finite dimension it kills exactly one dimension.
Let
Proof. Since
For example,
Quick check. Which of the following
are linear functionals? (a)
Solution.
- (a) No. It sends the
zero polynomial to
, but a linear map sends to (Theorem 2.1.1). (b) Yes. Evaluation at , differentiation, and evaluation at are linear, and is closed under linear combinations and composition with linear maps (Theorem 2.4.1, Theorem 2.4.2). (c) Yes. It is the coordinate of at in the standard basis of Example (Standard Bases), and coordinates are linear (Theorem 1.5.2).
5.1.2. The dual basis
Return to the coordinate functionals. Let
Let
- (a) There are
unique
with for all . For every , is the -th entry of . - (b) The list
is a basis of . - (c) For every
and every ,
Idea. ① A functional is a linear
map into
Proof.
(a) For each
, apply Theorem 2.1.5 with and the prescribed values . It gives exactly one linear map with for all . If , then by Theorem 2.1.4 the -th entry of (Definition 1.5.2).(b) Independence. Let
in . Applying both sides to and using the pointwise operations of Definition 5.1.2, for each . Hence is linearly independent.Spanning. Let
, and put . For each , . So and are linear maps that agree on the basis , and by the uniqueness part of Theorem 2.1.5. Hence , and is a basis of .- (c) The second
formula was proved in the spanning step. The first is
the definition of coordinates, since
is the -th coordinate of by (a). This proves the theorem.
The two formulas in (c) are mirror images. A vector is recovered from its measurements by the dual basis; a functional is recovered from its values on the basis.
Let
Counting the dual basis gives the dimension of the dual space at once.
Let
Proof. Let
For instance
Remark. Many books write
How do we find a dual basis in practice? In
- (a) Find the dual
basis of
in . - (b) More generally,
let
be a basis of , and let . Show that is invertible and that the dual basis of is , where is the -th row of .
Solution.
(a) By Theorem 5.1.1,
for some , that is, . The conditions and say with . Likewise the row of satisfies . Stacking the two rows into a matrix , the four conditions become , so . By Theorem 0.9.8, with , Hence Check: , , , . And the first formula of Theorem 5.1.3 (c) for reads , which is true. The second formula expresses a functional in the dual basis through its values on : for , the values are and , so , and indeed .(b) The columns of
form a basis of , so is invertible by Theorem 3.4.4. Let have rows , and let . By the entry formula for a product (Theorem 0.9.2), . Hence for all if and only if , if and only if (multiply by on the right). Now take : the functionals are linear (Theorem 5.1.1) and satisfy , so by the uniqueness in Theorem 5.1.3 (a) they are the dual basis.
This agrees with Chapter 2:
Warning. A dual basis
functional depends on the whole basis, not only on its
own vector. In
The same method works away from
- (a) Show that the
dual basis of
in is with , , and . (We index from to match the exponents.) - (b) Let
, , and . Show that is a basis of whose dual basis is , the evaluations at . Deduce that for every .
Solution.
(a) Each
is linear, as a composition of differentiation (Example (Differentiation)) with evaluation at , scaled. For , we have , , and . So for , and by the uniqueness in Theorem 5.1.3 (a) these are the dual basis. Over a general field , the dual basis of is still “the coefficient of ”, but the formula needs in .(b) The values of the
’s at the three points are That is, for . Basis. Let . Evaluating at gives . So the list is independent, of length , hence a basis by Theorem 1.6.4. Dual basis. The evaluations are linear (Example (Four Families of Functionals)) and satisfy , so they are the dual basis by the uniqueness in Theorem 5.1.3 (a). The first formula of Theorem 5.1.3 (c) now reads .
The last formula rebuilds a polynomial from three of
its values. It is a preview of the Lagrange
interpolation formula of Chapter 6, and it explains
where the
Quick check. Let
Solution.
Warning.
5.1.3. Testing against functionals
In
Let
- (a) If
and , then there is with . - (b) If
satisfies for every , then . It suffices that for the functionals of one dual basis. - (c) For
: if and only if for every .
Idea. We need a functional that
does not vanish at
Proof.
(a) Since
, the list is linearly independent: if , then by Theorem 1.1.9. By the Basis Extension Theorem (Theorem 1.6.5), there is a basis of . Let be its dual basis (Theorem 5.1.3). Then .(b) The first statement is the contrapositive of (a). For the second, if
is the dual basis of a basis and every , then by Theorem 5.1.3 (c).(c) If
, the values agree. Conversely, if for every , then for every , so by (b).
This is the signature move of the chapter: to
show a vector is zero, test it against every functional,
and a dual basis suffices. It turns one
equation in
Remark. Parts (a), (b) (first
sentence) and (c) hold for every vector
space
Let
Solution. The matrix units
For the deduction, let
5.1.4. When is
infinite-dimensional
The main results of the last two subsections assumed
finite dimension, or used a finite basis. That
hypothesis does real work. Consider
The functionals
Proof. Polynomials are added and
scaled coefficient by coefficient (Definition 0.8.1), so
each
Not spanning. The evaluation
Where did the proof of Theorem 5.1.3 break? In
the spanning step. The candidate
Remark. More is true, and we state
it without proof. For every infinite-dimensional
5.1.5. Exercises
A. Check your understanding
- (a) Define a linear
functional on a vector space
over , and the dual space . - (b) True or false:
is a linear functional on . Justify your answer. - (c) True or false:
if
and are bases of , then the first functionals of their dual bases are equal. Justify your answer. - (d) What is
? - (e) State the
formula that expresses
in the dual basis of . - (f) Name the move
you would use to prove that a vector
of a finite-dimensional space is without computing itself.
Solution.
(a) See Definition 5.1.1 and Definition 5.1.2: a linear functional is a linear map
, and with pointwise addition and scaling.(b) False. For
and , the polynomial is sent to , while times the image of is . So the scaling condition fails.(c) False. By the warning after Example (The Dual Basis Is Read Off the Inverse Matrix), in
the bases and have first dual functionals and .(d)
, by Corollary 5.1.4, since .(e)
, by Theorem 5.1.3 (c).(f) Test against functionals: show
for every , or only for the functionals of one dual basis, and apply Theorem 5.1.5 (b).
B. Practice
- (a) Find the dual
basis of
in . - (b) Show that the
dual basis of
in is , , . Hence write in this basis.
Solution.
(a) Let
have the three vectors as columns. Row reduction of (Theorem 3.4.6) gives and one checks . By Example (The Dual Basis Is Read Off the Inverse Matrix) (b), the dual basis is For instance , , and .(b) The three maps are linear, as combinations of differentiation and evaluation at
. Call them . On the basis: So takes the value on the -th basis vector, and by the uniqueness in Theorem 5.1.3 (a) they are the dual basis. (The list is a basis: it has distinct degrees , so it is independent by Theorem 1.4.4, and it has length , so Theorem 1.6.4 applies.) For : , , . By Theorem 5.1.3 (c), Check: .
Determine which of the following are linear functionals. Justify your answer.
- (a)
, . - (b)
, . - (c)
, . - (d)
, . - (e)
, . - (f)
, , where is a vector space over .
Solution.
(a) Yes: it is
with , linear by Theorem 5.1.1.(b) No.
, but , so the scaling condition fails.(c) Yes: it is
, a combination of coordinate functionals for the standard basis, and is a vector space (Definition 5.1.2).(d) Yes. By linearity of the integral,
and .(e) No. The zero polynomial is sent to
, contradicting Theorem 2.1.1.(f) No. With
and : , while . The map is additive and respects real scalars, but it is not linear over .
- (a) Let
be the dual basis of from Example (The Dual Basis Is Read Off the Inverse Matrix). Write as a combination of and . - (b) Let
be the dual basis of from Example (Dual Bases in ). Write as a combination of them.
Solution.
(a) By Theorem 5.1.3 (c),
. Check: .(b) By Theorem 5.1.3 (c),
. Check: for , the right-hand side is .
C. Going deeper
Let
Hint: if
Solution. If
The converse holds only for
Let
- (a) Prove that if
, then . - (b) Deduce that if
is finite-dimensional, then spans if and only if .
Hint: for (a), consider the linear map
Solution.
- (a) Let
be as in the hint; it is linear because each is. Its kernel is . Define by . This is well defined: if , then , so . It is linear, since .Now extend
to . The subspace has a basis (Theorem 1.6.7, Corollary 1.5.5), which extends to a basis of by Theorem 1.6.5. By Theorem 2.1.5 there is with for and for . Then and agree on a basis of , so on . By Theorem 5.1.1, for some . Hence for every , so . Note that was arbitrary; only needed to be finite-dimensional. - (b)
If the intersection is , it lies in for every , so every is in the span by (a). Suppose the span , and let lie in every . Every is a combination , so . By Theorem 5.1.5 (b), .
Let
- (a) Let
be distinct. Prove that the evaluations form a basis of , and that they are the dual basis of some basis of . - (b) Over
with , show that the evaluations at the elements of do not span .
Hint: for (a), use Theorem 3.7.3 to build the basis first.
Solution.
(a) For each
, Theorem 3.7.3 gives with for , because the are distinct. If , evaluating at gives . So is independent of length , hence a basis by Theorem 1.6.4. The evaluations are linear (Example (Four Families of Functionals)) and , so by the uniqueness in Theorem 5.1.3 (a) they are the dual basis of , and by Theorem 5.1.3 (b) a basis of .(b)
has only two elements, so only and are available, and by Corollary 5.1.4. Two functionals cannot span a -dimensional space (Theorem 1.6.3). Concretely, is nonzero but and ; the coefficient functional of takes the value on , so it is not a combination of . The hypothesis “distinct points” in (a) needs distinct elements of , which a small field may not have.
Let
- (a) Prove that
, , is an isomorphism. - (b) Identify
for the coordinate functionals of Proposition 5.1.6, and . Explain how Proposition 5.1.6 matches Example (The Vectors Do Not Span ).
Hint: for surjectivity, remember that a polynomial has only finitely many nonzero coefficients.
Solution.
(a) Linear. The
-th entry of is , by the pointwise operations of Definition 5.1.2. Injective. If , then vanishes on the basis of Example (A Basis of ). Every polynomial is a finite combination of the , so by Theorem 2.1.4; hence is injective by Theorem 2.2.3. Surjective. Given , define . This is a finite sum, it is well defined because coefficients are unique, and it is linear because coefficients add and scale; it is the linear map with given by Theorem 2.1.6. Then . By Theorem 2.5.1, is an isomorphism.(b)
, and . An isomorphism carries spans to spans, so would give . Example (The Vectors Do Not Span ) showed this is false, because finite combinations of the have only finitely many nonzero entries. So , with its basis indexed by , has a dual as large as the whole sequence space .