Jump to content

Dual space – "Math for Non-Geeks"

From Wikibooks, open books for an open world

We have already seen the vector space of linear maps HomK(V,W) between two K-vector spaces V and W. We will now consider the case where the vector space W corresponds to the field K.

Motivation

[edit | edit source]

Consider the following example: We want to buy apples and pears. An apple costs $2 and a pear $3. If x∈ℝ is the number of apples and y∈ℝ is the number of pears, how much do we have to pay in total? The formula for the total price is 2x+3y. We can express this equation as ℝ-linear map

P:ℝ2→ℝ,(x,y)↦2x+3y

Let's assume that the prices increase by half. To get the formula that gives the new total price, we need to multiply the old formula by 32. The formula that gives this price would then be 32(2x+3y)=3x+92y. The corresponding linear map is

Q:ℝ2→ℝ,(x,y)↦3x+92y.

We thus recognize that Q(x,y)=32P(x,y). Suppose now that the price of apples increases by $2 and the price of pears by $4. We obtain the corresponding formula for the total price by adding 2x+4y to the original formula, i.e. (2x+3y)+(2x+4y)=4x+7y. This can be understood as the addition of linear maps. We define R,S:ℝ2→ℝ by R(x,y)=2x+4y and S(x,y)=4x+7y. Then (P+R)(x,y)=P(x,y)+R(x,y)=S(x,y) holds true. So in this example, we simply added linear maps from ℝ2 to ℝ and multiplied them by scalars.

The total price is indicated by linear maps from ℝ2→ℝ. Such a map assigns a value, namely the price, to each vector. In other words, we can say that the mapping "measures" these vectors. This is why we call linear maps from ℝ2 to ℝ linear measurement functions. We have seen above that sums and scalar multiples of such maps are again linear maps. In other words, linear combinations of linear maps are again linear maps. So also on the set of linear maps on ℝ2, we can find a vector space structure.

What about other vector spaces? Let's look at the ℂ-vector space ℂ[x]≤n of complex polynomials of degree at most n∈ℕ. There are a number of simple measurement functions here. These can, for example, assign to a polynomial p its value at a point a∈ℂ:

evala:ℂ[x]≤n→ℂ,p↦p(a).

Alternatively, we can assign to a polynomial the value of its derivative at the point a∈ℂ:

Da:ℂ[x]≤n→ℂ,p↦p′(a).

Since the coefficients of polynomials are scalars, we can use them to define further measurement functions. For example, for p=anxn+…+a1x+a0, consider the mappings f,g:ℂ[x]≤n→ℂ defined by f(p)=an+…+a1 and g(p)=a0. Then (f+g)(p)=f(p)+g(p)=an+…+a1+a0=p(1)=:eval1(p). We can also see here that sums of measurement functions are again measurement functions.

In general, we can also consider the space of linear measurement functions V→K over an arbitrary K-vector space V. We will see that, as in the previous examples, this is a vector space. This space is called the dual space of V.

Definition

[edit | edit source]
Definition (Dual space)

Let V be a vector space over a field K. Then the space of linear mappings V∗:=HomK(V,K) between the K-vector spaces V and K is called the dual space of V.

The following theorem states that the dual space is a vector space.

Theorem (V∗ is a vector space)

Let V be a vector space over a field K. Then V∗ with the two relations

+:V∗×V∗→V∗(f,g)↦f+g, where (f+g)(v):=f(v)+g(v) for all v∈V,

and

⋅:K×V∗→V∗(λ,f)↦λ⋅f, where (λ⋅f)(v):=λ⋅f(v) for all v∈V,

a K-vector space.

Proof (V∗ is a vector space)

We know from the article on function spaces that for K-vector spaces V and W, the set of linear maps HomK(V,W) is also a K-vector space. Since K itself is a (1-dimensionsl) K-vector space, we know that for every K vector space V, also V∗=HomK(V,K) is a K vector space.

Examples of vectors in the dual space

[edit | edit source]
Example (Characterization of (ℝ2)∗)

The dual space of ℝ2 is the vector space of all linear maps from ℝ2 to ℝ. Each such linear map f∈(ℝ2)∗ is given by multiplication with a (1x2) matrix, the representing matrix, and is therefore of the form

f:ℝ2→ℝ,(xy)↦(ab)(xy)=ax+by

for certain a,b∈ℝ. Thus, the elements in the dual space of ℝ2 are described by linear equations of the form f(x,y)=ax+by.

More generally, an element of (ℝn)∗ is represented by a (1xn) matrix (a1…an) or a linear equation of the form f(x1,…,xn)=a1x1+…+anxn with coefficients ai∈ℝ.

Example (Limit of convergent sequences)

Let c be the space of convergent sequences (xn)n∈ℕ⊆ℝ. Because sums and scalar multiples of convergent sequences are convergent sequences again, c is a ℝ vector space. You can read a proof of the vector space properties here.

We consider the mapping f:c→ℝ,(xn)n∈ℕ↦limn→∞xn, which sends a sequence to its limit value. For example, f((1)n∈ℕ)=limn→∞1=1 or f((1n)n∈ℕ)=limn→∞(1n)=0. From the limit theorems we know that

limn→∞(an+bn)=limn→∞an+limn→∞bn and limn→∞λ⋅an=λ⋅limn→∞an

applies to all convergent sequences (an)n∈ℕ,(bn)n∈ℕ∈c and scalars λ∈ℝ. It follows that f is a linear map and therefore f∈c∗ holds.

Example (Polynomial space and the evaluation mapping)

Let K be a field. We consider the polynomial ring K[X] as a K-vector space. For λ∈K we define the mapping

evalλ:K[X]→K,P↦P(λ),

which evaluates a polynomial at the position λ. For example, we have eval1(x2−1)=12−1=0 and eval0(x2−1)=02−1=−1.

By direct computation, e can verify that this mapping is K-linear, i.e. an element of K[X]∗:

For P,Q∈K[X] and k∈K we then have:

evalλ(P+k⋅Q)=(P+k⋅Q)(λ)=P(λ)+k⋅Q(λ)=evalλ(P)+k⋅evalλ(Q).

Example (Derivative)

Let C1(ℝ) be the space of continuously differentiable functions ℝ→ℝ. Let x∈ℝ be fixed and consider the mapping

∂x:C1(ℝ)→ℝ,f↦f′(x)

which sends a differentiable function to its derivative at the point x. For example, for x=0, the value of the mapping in f(t)=t2−1 is given by

∂0(f)=f′(0)=(2t)|t=0=0.

We verify by direct computation that the mapping ∂x (for fixed x∈ℝ) is linear: For f,g∈C1(ℝ) and λ∈ℝ we have

∂x(f+λg)=(f+λg)′(x)=f′(x)+λg′(x)=∂x(f)+λ∂x(g).

This follows from the properties of the derivative. So ∂x is an element of C1(ℝ)∗.

Example (Integral)

Let C0([0,1]) be the space of continuous functions [0,1]→ℝ. Consider the mapping

I:C0([0,1])→ℝ,f↦∫01f(x)dx

which sends a continuous function on [0,1] to its integral over this interval. As an example, for f(x)=x2−1,

I(f)=∫01x2−1dx=[13x3−x]x=01=(13−1)−0=−23.

We verify by direct calculation that the mapping I is linear: For f,g∈C0([0,1]) and λ∈ℝ the following applies

I(f+λg)=∫01f(x)+g(x)dx=∫01f(x)dx+∫01g(x)dx=I(f)+λI(g).

This follows from the properties of the integral. So I is an element of C0([0,1])∗.

Dual Basis

[edit | edit source]

We now know what the dual space V∗ of a K-vector space V is: It consists of all linear maps from V to K. Intuitively, we can understand these maps as linear maps that measure vectors from V. This is why we sometimes call elements of the dual space V∗ "(linear) measurement functions" in this article.

Motivated by this intuitive notion of "measurements", we ask ourselves: Is there a subset M⊆V∗ of measurement functions that can be used to uniquely determine vectors? In other words, is there a subset M so that we can find a measurement function f∈M with f(v)≠f(w) for every choice of vectors v,w∈V with v≠w?

Let's first consider what this means using an example:

Example (Unique determination of vectors using measurement functions)

Let us consider V=ℝ2. Then the dual space V∗ is the vector space of all linear maps ℝ2→ℝ. Consider the linear maps f,g,h∈V∗ with

f(x,y)=2x−y,g(x,y)=12y−x,h(x,y)=y.

If M={f}, we cannot use these functions to determine vectors uniquely: For v=(1,1) and w=(0,−1), we have v≠w, but f(v)=2−1=1=0−(−1)=f(w).

Even with the measurement functions in M′={f,g}, the vectors (1,1) and (0,−1) cannot be distinguished: We also have g(1,1)=−12=g(0,−1).

However, if we consider the subset of measurement functions M″={f,h} instead, then vectors in ℝ2 are uniquely determined by the measurements in M″: Let v=(x,y) and w=(x′,y′) be any vectors with v≠w. Assume that f(v)=f(w) and h(v)=h(w) apply. From h(v)=h(w) we obtain y=y′. Together with 2x−y=f(v)=f(w)=2x′−y′, we would then also get 2x=2x′, i.e. x=x′. This would mean that v=w, which is a contradiction to our assumption. Therefore, f(v)≠f(w) or h(v)≠h(w) (or both) applies. Hence, for each choice of different vectors in v,w∈ℝ2, at least one of the two measurements in M″ provides different values for v and w. Vectors are therefore uniquely determined by the measurements in M″.

In summary, our question is: Does there exist a subset M⊆V∗ such that v,w∈V applies to all vectors: If f(v)=f(w) applies to all measurements f∈M, then v=w must be true.

We will first try to answer this question in Kn.

Measurement functions for unique determination of vectors

[edit | edit source]

A vector v=(v1,…,vn)∈Kn is uniquely determined by its entries vi. If we select measurement functions from (Kn)∗ in such a way that their values provide us with the entries of a vector, then we have ensured that a vector is already uniquely determined by these values. Let us therefore consider the following mappings for i∈{1,…,n}

fi:Kn→K,x=(x1,…,xn)↦xi.

You can check that the maps fi are linear. In addition, fi(v)=vi holds for every i. The map fi therefore provides the i-th entry of vectors in Kn. A vector v∈Kn is already uniquely determined by the values of fi: Suppose we have vectors v=(v1,…,vn) and w=(w1,…,wn) in Kn with equal function values among the fi, i.e., with fi(v)=fi(w) for all i. Then vi=fi(v)=fi(w)=wi applies for all i and therefore v=w. Thus, if v,w∈Kn with fi(v)=fi(w) for all i, then v=w follows.

It is also intuitively clear that we cannot omit any of the measurement functions fi in order to uniquely determine a vector by its measurement values. For example, if we omit fj, j∈{1,…,n}, then for

v=(0,…,0) and w=(0,…,0,1⏟j-th position,0,…,0)

we may have fi(v)=0=fi(w) for all measurement functions with i≠j, but nevertheless v≠w. The measurement functions fi with i≠j therefore no longer uniquely determine a vector.

So the fi with i=1,…n form a set of measurement functions that uniquely determine vectors from Kn. Further, they are minimal because we cannot omit any of the functions.

Can we generalize this to a general vector space V? In Kn we have used the fact that a vector v=(v1,…,vn)∈Kn is uniquely determined by its entries vi. Now, the vi are precisely the coordinates of v with respect to the standard basis {e1,…,en}⊆Kn:

v=v1⋅e1+…+vn⋅en.

In a general vector space V, we do not have a standard basis. However, as soon as we have chosen any basis B, we can speak of the coordinates of a vector with respect to B in the same way as in Kn. Just as in Kn with the standard basis, in V with the selected basis B, a vector v∈V is uniquely determined by its coordinates with respect to B. As soon as we have chosen a basis, we can try to proceed in the same way as in Kn.

In the following, we assume that V is finite-dimensional, i.e. dim⁡V=n<∞. Let B={b1,…,bn} be a basis of V. Then every vector v∈V is of the form

v=a1⋅b1+…+an⋅bn

with uniquely determined coordinates a1,…,an∈K. Analogous to Kn, we now define the linear measurement functions for i∈{1,…,n} in V∗

fi:V→K,v=a1⋅b1+…+an⋅bn↦ai.

One of the measurement functions fi therefore determines the i-th coordinate of vectors with respect to the basis B. Thus,

v=f1(v)⋅b1+f2(v)⋅b2+…+fn(v)⋅bn.

for every vector v∈V.

Warning

Note that the definition of fi depends on the selected basis B.

Since vectors in V are already uniquely determined by their coordinates, they are also already uniquely determined by the values of fi. In other words, for all v,w∈V we have

f1(v)=f1(w),f2(v)=f2(w),…,fn(v)=fn(w)⟹∑i=1nfi(v)⋅bi⏟=v=∑i=1nfi(w)⋅bi⏟=w⟹v=w.

For the same reason as with Kn, none of the fi can be omitted: If the j-th measurement function fj, i∈{1,…,n}, is missing, then any two vectors for which only the j-th coordinate with respect to B differs, can no longer be distinguished.

Question: Which two vectors can you choose here?

We choose an example analogous to Kn and set

v=0⋅b1+…+0⋅bj−1+1⋅bj+0⋅bj+1+…+0⋅bn=bj

and

w=0⋅b1+…+0⋅bn=0V.

Then fi(v)=0K=fi(w) holds for all i∈{1,…,j−1,j+1,…,n}, but nevertheless v≠w. If the j-th measurement function is omitted, then vectors are no longer uniquely determined by the function values of fi.

The measurement functions form a basis

[edit | edit source]

Let V be a vector space with a fixed basis B={b1,…,bn} and let the fi be defined as above. If you want to determine vectors uniquely using the values of fi, you cannot do without any of the fi. The reason for this is that the result of a measurement fj(v) (the j-th coordinate of v with respect to B) cannot be deduced from the other measurements. That means, we cannot represent any of the measurement functions fj as a linear combination of the other fi (i≠j). In other words, the measurement functions fi are linearly independent.

On the other hand, the values of fi already tell us everything there is to know about a vector v∈V: Its coordinates with respect to the selected basis B. Can all other measurement functions from V∗ therefore be combined from f1,…,fn? Any measurement function g:V→K from V∗ is already uniquely determined by its values on the basis vectors b1,…,bn according to the principle of linear continuation. For i∈{1,…,n}, let λi=g(bi)∈K be these values. Furthermore, fi(bi)=1 and fi(bj)=0 apply for j≠i and all i∈{1,…,n}. By inserting the bi we obtain that

g=λ1⋅f1+…+λn⋅fn

assume the same values on the basis vectors. According to the principle of linear continuation, the two linear maps are therefore identical. Thus, every g∈V∗ can be written as a linear combination of fi. In other word, the measurement functions fi form a generating system of V∗.

Hence, {f1,…,fn}⊆V∗ is a basis of the dual space, and we can prove the following theorem:

Theorem (Existence of a dual basis)

Let V be a finite dimensional vector space and B={b1,…,bn} a basis of V. Then there exists a unique basis B∗={f1,…,fn} of V∗ such that

fi(bj)={1if i=j0else

is true for all i,j∈{1,…,n}.

Proof (Existence of a dual basis)

Proof step: Existence and uniqueness of the fi.

According to the principle of linear continuation, the linear maps fi exist and are uniquely determined by their values on the basis vectors of V.

Proof step: The fi are linearly independent.

Let λ1,…,λn∈K with ∑i=1nλifi=0V∗. Let further i∈{1,…,n}. Because fi(bi)=1 and fj(bi)=0 for j≠i, we obtain the following by plugging in bi:

0K=0V∗(bi)=(∑i=1nλifi)(bi)=∑i=1nλifi(bi)=λi.

Because i∈{1,…,n} was arbitrary, we conclude λ1=…=λn=0K.

Proof step: The fi form a generating system.

Let f∈V∗ be arbitrary. For i∈{1,…,n} we define λi=f(bi)∈K and set g=∑i=1nλifi. Then, proceeding as in the proof of linear independence, we obtain

g(bi)=(∑i=1nλifi)(bi)=∑i=1nλifi(bi)=λi

for each i∈{1,…,n}. Because f(bi)=g(bi) applies to all i and because a linear map is already uniquely determined by the images of its basis vectors, we have f=g∈span⁡{f1,…,fn}. The fi therefore form a generating system.

We call the uniquely determined basis B∗ the dual basis with respect to B and denote its basis vectors by bi∗=fi.

Definition (Dual basis)

Let V be a finite dimensional vector space with basis B={b1,…,bn}. The uniquely determined basis B∗={b1∗,…,bn∗} with

bi∗(bj)={1if i=j0else

is called the dual basis of B.

Warning

Note that B∗ depends on the basis chosen for V. Furthermore, you cannot "dualize" individual vectors from V, but only entire bases.

What happens in the infinite dimension?

[edit | edit source]

Above, we only considered the case dim⁡V<∞. Can we proceed analogously if V is infinite dimensional? To define the measurement functions fi, we must first choose a basis of V. Let B={bi∣i∈I}⊆V be a basis of V, where I is an (infinite) index set. The principle of linear continuation also applies in infinite dimensions: For given values λi∈K, i∈I, there is exactly one linear map f:V→K with f(bi)=λi for all i∈I. Just as in the finite-dimensional case, we can therefore define the map fi:V→K for i∈I using the rule

fi(bj)={1,j=i0,j≠i.

We can then show that {fi∣i∈I} is also a linearly independent subset of V∗ in infinite dimensions. The proof is analogous to the proof of linear independence in the theorem on the dual basis.

However, in infinitely many dimensions, {fi∣i∈I} cannot be a generating system of V∗: One can consider the function

h:V→K,bi↦1 for all i∈I,

which assumes the value 1 on all basis vectors. This function cannot be represented as a finite linear combination of fi.

So in infinitely many dimensions, the "dual basis" {fi∣i∈I} is not a basis of the dual space.

Exercises

[edit | edit source]
Exercise (Determining dual basis vectors and their kernels)

Let V be a finite-dimensional vector space and let v∈V with v≠0. Show that there exists an f∈V∗ with f(v)≠0.

When deriving the dual basis, we were guided by the idea that vectors in V should be distinguishable by "measurements" in V∗. In this exercise, we will convince ourselves that this is true: We can always find a measurement f∈V∗ for which f(0V)=0 (this applies to every linear mapping), but f(v)≠0. We may therefore find an element in the dual space with which we can distinguish v and the zero vector.

How to get to the proof? (Determining dual basis vectors and their kernels)

We have to construct a linear map f:V→K. This map is one element of V∗. According to the principle of linear continuation, we can construct linear maps by specifying what they do on a basis. To use this principle, it is convenient to have a basis of V. Even more convenient is to have a basis of V that contains v as a basis vector.

We can construct such a basis using the basis completion theorem, which tells us that V has a basis b1,…,bn with b1=v. Using the principle of linear continuation, we can thus construct a linear map that does not send b1=v to 0. For example, we can choose that f:V→K, which sends all b1 to 1 and bi for i=2,…,n to 0.

This is exactly the dual basis vector b1∗ in the dual basis to b1,…,bn.

Solution (Determining dual basis vectors and their kernels)

According to the Basis completion theorem, there exists a basis B={b1,…,bn} with b1=v. From the definition of the dual basis we obtain that the dual basis vector b1∗ of B∗ has the property b1∗(v)=b1∗(b1)=1≠0. Thus f=b1∗ fulfills the desired condition.

Exercise (Determining the dual basis)
  1. Consider the basis B1={(201),(011),(112)} of ℝ3. Determine the basis B1∗={v1∗,v2∗,v3∗} which is dual to B1, that is, for 1≤i≤3 determine the explicit form of the function vi∗:ℝ3→ℝ,(xyz)↦vi∗((xyz)).
  2. Consider the basis B2={t3+t2,t2,t2−t,1} of ℝ[t]≤3. Determine the basis dual to B2 B2∗={p1∗,…,p4∗}, i.e. for 1≤i≤4 determine the explicit form of the function pi∗:ℝ[t]≤3→ℝ,a3t3+a2t2+a1t+a0↦pi∗(a3t3+a2t2+a1t+a0).
  3. Consider the basis B3={(1000),(0110),(01−10),(1111)} of ℂ2×2. Determine the basis B3∗={M1∗,…,M4∗} dual to B3 , i.e. for 1≤i≤4 determine the explicit form of the function Mi∗:ℂ2×2→ℂ,(abcd)↦Mi∗((abcd)).
Solution (Determining the dual basis)

Solution sub-exercise 1:

Set v1=(2,0,1)T, v2=(0,1,1)T and v3=(1,1,2)T. We are looking for linear maps v1∗,v2∗,v3∗:ℝ3→ℝ whose values we only know on the basis vectors vi. We must define vi∗((x,y,z)T) for general x,y,z∈ℝ.

By definition of the dual basis, we already know the function values of each vi∗ on the basis vectors in B1. Applying the principle of linear continuation, we can determine all function value: Because B1 is a basis, there are coordinates a,b,c∈ℝ for each (x,y,z)T∈ℝ3 such that (x,y,z)T=av1+bv2+cv3. With the help of linearity we get

vi∗((x,y,z)T)=vi∗(av1+bv2+cv3)=avi∗(v1)+bvi∗(v2)+cvi∗(v3).

We know the values vi∗(vj) by definition of the dual basis. We therefore only need to determine the coordinates of any vector (x,y,z)T with respect to B1. Then we can write out the vi∗.

Proof step: Determining the coordinates of any vector (x,y,z)T with respect to B1

We want to determine the coordinates with respect to B1 of any vector (x,y,z)T. Let x,y,z∈ℝ. We write

(xyz)=x(100)+y(010)+z(001)=xe1+ye2+ze3.

The coordinates of (x,y,z)T with respect to the standard basis Bst={e1,e2,e3} are therefore simply x, y and z. If we write kBst for the coordinate map, this means

kBst((xyz))=(xyz).

We can convert these into coordinates a,b,c with respect to B1 by multiplying the coordinate vector of Bst from the left by the basis transition matrix TB1Bst that implements the transfer from Bst to B1. Then

(abc)=TB1Bst(xyz).

In order to determine the basis transition matrix TB1Bst, we calculate the coordinates of the standard basis vectors e1,e2,e3 with respect to B1. These form the columns of TB1Bst.

We start with e1: We are looking for a1,b1,c1∈ℝ such that

a1v1+b1v2+c1v3=a1(201)+b1(011)+c1(112)=(100)

For this we have to solve the linear system

2a1+c1=1b1+c1=0a1+b1+2c1=0

which yields a1=1, b1=1 and c1=−1. In the same way, we determine the coordinates a2=1,b2=3,c2=−2 of e2 with respect to B1 and the coordinates a3=−1,b3=−2,c3=2 of e3 with respect to B1. Then

TB1Bst=(a1a2a3b1b2b3c1c2c3)=(11−113−2−1−22).

Note: We could also have solved all three systems at once by summarizing the "right-hand sides" column by column, i.e. by taking the inverse of (201011112) . This makes sense, because this matrix is the basis transition matrix from B1 to the standard basis. Its inverse is therefore the matrix TB1Bst that transitions from Bst to B1.

The coordinates of (x,y,z)T with respect to B1 are therefore

TB1BstkBst((xyz))=(11−113−2−1−22)(xyz)=(x+y−zx+3y−2z−x−2y+2z).

Of course, it is also okay to guess the coordinates of (x,y,z)T with respect to B1 by looking closely without solving systems of equations.

Proof step: Result for v1∗,v2∗,v3∗

We can now write any (x,y,z)T as

(xyz)=(x+y−z)v1+(x+3y−2z)v2+(−x−2y+2z)v3.

Using linearity of vi∗ and the definition of the dual basis, we obtain

v1∗((x,y,z)T)=(x+y−z)v1∗(v1)⏟=1+(x+3y−2z)v1∗(v2)⏟=0+(−x−2y+2z)v1∗(v3)⏟=0=x+y−z.

In the same way, we calculate v2∗((x,y,z)T)=x+3y−2z and v3∗((x,y,z)T)=−x−2y+2z. In total, we have therefore determined the three basis vectors of the dual basis:

v1∗:ℝ3→ℝ3,(xyz)↦x+y−z,v2∗:ℝ3→ℝ3,(xyz)↦x+3y−2z,v3∗:ℝ3→ℝ3,(xyz)↦−x−2y+2z.

Solution sub-exercise 2:

We know what the map pi∗ does with the basis vectors pi∈B2. To find out how pi∗ acts on a general vector a3t3+a2t2+a1t+a0, we can express it in the basis B2 via linear combination:

a3t3+a2t2+a1t+a0↓ expand with a3t3−a3t3 and −a1t2+a1t2=a3(t3+t2)−a3t2+a2t2+a1(t−t2)+a1t2+a0↓sort by basis vectors p1,p2,p3,p4=a3(t3+t2)+(a1+a2−a3)t2−a1(t2−t)+a0=a3p4+(a1+a2−a3)p3−a1p2+p1

This allows us to calculate the desired functions. For p1∗ we have

p1∗(a3t3+a2t2+a1t+a0)=p1∗(a3p4+(a1+a2−a3)p3−a1p2+p1)↓p1∗ is linear.=a3p1∗(p4)⏟=0+(a1+a2−a3)p1∗(p3)⏟=0−a1p1∗(p2)⏟=0+p1∗(p1)⏟=1=1

For p2∗ we get

p2∗(a3t3+a2t2+a1t+a0)=p2∗(a3p4+(a1+a2−a3)p3−a1p2+p1)↓p2∗ is linear.=a3p2∗(p4)⏟=0+(a1+a2−a3)p2∗(p3)⏟=0−a1p2∗(p2)⏟=1+p2∗(p1)⏟=0=−a1

So the function of p3∗ is

p3∗(a3t3+a2t2+a1t+a0)=p3∗(a3p4+(a1+a2−a3)p3−a1p2+p1)↓p3∗ is linear.=a3p3∗(p4)⏟=0+(a1+a2−a3)p3∗(p3)⏟=1−a1p3∗(p2)⏟=0+p3∗(p1)⏟=0=a1+a2−a3

For p4∗ we get

p4∗(a3t3+a2t2+a1t+a0)=p4∗(a3p4+(a1+a2−a3)p3−a1p2+p1)↓p4∗ is linear.=a3p4∗(p4)⏟=1+(a1+a2−a3)p4∗(p3)⏟=0−a1p4∗(p2)⏟=0+p4∗(p1)⏟=0=a3

In summary, we obtain the following functions

p1∗:ℝ[t]≤3→ℝ,a3t3+a2t2+a1t+a0↦1p2∗:ℝ[t]≤3→ℝ,a3t3+a2t2+a1t+a0↦−a1p1∗:ℝ[t]≤3→ℝ,a3t3+a2t2+a1t+a0↦a1+a2−a3p1∗:ℝ[t]≤3→ℝ,a3t3+a2t2+a1t+a0↦a3

Solution sub-exercise 3:

We know the values of each Mi∗ when applied to the basis vectors M1=(1000),M2=(0110),M3=(01−10),M4=(1111) and want to find the value for any matrix A=(abcd). To do this, we express A as a linear combination of Mi:

(abcd)=a(1000)+b(0100)+c(0010)+d(0001)=aM1+b12(M2+M3)+c12(M2−M3)+d(M4−M1−M2)=(a−d)M1+(b2+c2−d)M2+(b2−c2)M3+dM4.

Using the definition of the dual basis and the linearity of Mi∗, we can now specify the solution: We have Mi∗(Mj)=0 for i≠j and Mi∗(Mi)=1, so the following applies

M1∗:ℂ2×2→ℂ,(abcd)↦a−d,M2∗:ℂ2×2→ℂ,(abcd)↦b2+c2−d,M3∗:ℂ2×2→ℂ,(abcd)↦b2−c2,M4∗:ℂ2×2→ℂ,(abcd)↦d,

Exercise (Elements of the dual space and their kernel)

Let V be an n-dimensional K-vector space and let f,g∈V∗. Show: If ker⁡(f)=ker⁡(g), then there exists a λ∈K with g=λf.

How to get to the proof? (Elements of the dual space and their kernel)

For the elements v in the kernel of f and g, we have g(v)=λf(v)=0 for all λ∈K. This means that the desired λ only depends on the v∈V, which are not in the kernel of f and g. To understand this in more detail, we first look at the dimension of the kernel. Using the dimension formula, we obtain

dim⁡ker⁡(f)+dim⁡im⁡(f)=dim⁡V

and therefore dim⁡ker⁡(f)=n−dim⁡im⁡(f). Now im⁡(f) is a subspace of K. Because K is one-dimensional, we get that the dimension of the image of f is either 0 or 1. Thus, dim⁡ker⁡(f)=n or dim⁡ker⁡(f)=n−1.

Now we have ker⁡(f)=ker⁡(g). This means that they both have the same dimension. In case dim⁡ker⁡(f)=dim⁡ker⁡(g)=n, they have the same dimension as V. So in this case, ker⁡(f)=ker⁡(g)=V, so f and g are the zero map. Therefore, f=g and we can choose λ=1.

It remains to consider the case dim⁡ker⁡(f)=n−1. Here, we actually have vectors in which λ plays a role. To compare the maps, it makes sense to look at them as applied to a basis, since according to the principle of linear continuation we know that f and g are already completely determined by their behavior on a basis. It is useful to choose a basis of V with respect to which we already know a lot about our maps f and g. We already know what both do on ker⁡(f)=ker⁡(g). Let b1,…,bn−1 be a basis of ker⁡(f)=ker⁡(g). Then we can use the basis completion theorem to continue this basis to a basis b1,…,bn−1,bn of V.

Since bn∉ker⁡(f)=ker⁡(g), we know that f(bn)≠0 and g(bn)≠0. Furthermore, we know that f(bi)=g(bi)=0 for i=1,…,n−1. We now need a candidate for λ. Since λ depends on elements from V that are not mapped to 0, it makes sense to use bn for the candidate. With λ=g(bn)/f(bn) we get g(bn)=λf(bn).

To see whether g(v)=λf(v) is valid for all v∈V, by the principle of linear continuation, it is sufficient to check this on our basis b1,…,bn. We already know that the statement is true for bn, as well as for bi with i=1,…,n−1, since g(bi)=0=λ⋅0=λ⋅f(bi). This proves the statement.

Solution (Elements of the dual space and their kernel)

The function f:V→K is a linear map between two finite-dimensional vector spaces. From the dimension formula we get

dim⁡ker⁡(f)+dim⁡im⁡(f)=dim⁡V

Since the image im⁡(f) is a subspace of K, we have dim⁡im⁡(f)≤dim⁡(K)=1. Furthermore, dim⁡V=n applies. We can therefore conclude

n=dim⁡V=dim⁡ker⁡(f)+dim⁡im⁡(f)≤dim⁡ker⁡(f)+1

Therefore, dim⁡ker⁡(f)≥n−1. On the other hand, dim⁡ker⁡(f)≤dim⁡V=n, because the kernel ker⁡(f) is a subspace of V. Hence, there are only two possibilities:

  1. The dimension of ker⁡(f) is n.
  2. The dimension of ker⁡(f) is n−1.

Similarly, we can conclude that the dimension of the kernel of g is either n or n−1.

We assume that ker⁡(f)=ker⁡(g) and show that there is then a λ∈K with g=λf. For this, we consider the two cases dim⁡ker⁡(f)=n and dim⁡ker⁡(f)=n−1 separately.

Case 1: dim⁡ker⁡(f)=n

In this case, the kernel of f is an n-dimensional subspace of the n-dimensional vector space V. Therefore, ker⁡(f)=V and because of our assumption also ker⁡(g)=V. Therefore, for all v∈V, we have f(v)=0 and g(v)=0. This means f and g are both the zero map, i.e. f=0=g. This proves the statement with λ=1.

Case 2: dim⁡ker⁡(f)=n−1

In this case, the dimension formula implies

dim⁡im⁡(f)=dim⁡V−dim⁡ker⁡(f)=n−(n−1)=1

Let b1,…,bn−1∈V be a basis of ker⁡(f). Because ker⁡(f)=ker⁡(g), it is also a basis of ker⁡(g). Due to the basis completion theorem, we can complete b1,…,bn−1 to a basis b1,…,bn−1,bn of V. We then define α:=f(bn)∈K and β:=g(bn)∈K. The vector bn is not in ker⁡(f), therefore α≠0. Define then λ:=βα. We show that g=λf. Because of the principle of linear continuation, it is sufficient to prove this equality on the basis of b1,…,bn.

We first consider bi with i∈{1,…,n−1}. Since bi∈ker⁡(f)=ker⁡(g), we have that

g(bi)=0=λ⋅0=λf(bi).

For the basis vector bn, we have

g(bn)=β=βα⋅α=λ⋅α=λf(bn).

So g and λf agree when applied to any basis vector. Thus, g=λf.

Exercise (Dual basis and hyperplanes)

Let V be an n-dimensional K-vector space.

  1. Let f∈V∗ with f≠0. Show that dim⁡ker⁡(f)=n−1 holds.
  2. Let U be an n−1-dimensional subspace of V. Show that there is an element f∈V∗ with ker⁡(f)=U.
  3. Assuming that K≠𝔽2, is it true that the f from sub-exercise 2 is uniquely determined by the subspace U?

An n−1-dimensional subspace of an n-dimensional vector space V is also called a hyperplane in V. For example, the hyperplanes in ℝ3 are exactly the planes through the origin. The first part of the exercise thus shows that the kernel of a non-zero element in dual space is a hyperplane in V∗.

Solution (Dual basis and hyperplanes)

Solution sub-exercise 1:

We can use the dimension formula to relate the dimension of the kernel to the dimension of V:

dimKker⁡(f)=dimKV−dimKim⁡(f)=n−dimKim⁡(f).

So we have shifted our problem to the calculation of dimKim⁡(f). Now im⁡(f)⊆K, that is, dimKim⁡(f)≤dimKK=1. This means that the dimension of im⁡(f) is either 0 or 1.

We know that f≠0, so there is a v∈V with f(v)≠0. This means that in⁡(f)≠0 and the dimension of in⁡(f) cannot be 0. Therefore, dimKim⁡(f)=1 and we get

dimKker⁡(f)=n−dimKim⁡(f)=n−1.

Solution sub-exercise 2:

According to the principle of linear continuation, a linear mapping is determined by what it does on a basis. To be able to use this principle, we first choose a basis BU={b1,…,bn−1} of U. The basis completion theorem then provides us with a vector bn∈V, such that B={b1,…,bn} is a basis of V.

According to the principle of linear continuation, we can then define a candidate for the linear map f:V→K by saying what happens on a basis of V. The vectors b1,…,bn−1 are elements of U. Since U is to be the kernel of f, we must require f(bi)=0 for i=1,…,n−1. The last basis vector bn is not in U. This means that bn must not lie in the kernel of f. For example, that we can demand f(bn)=1. To summarize, we define f:V→K as the linear map with

f(bi)={0,i=1,…,n−11,i=n.

Since U is generated by b1,…,bn−1, we have U⊆ker⁡(f). We therefore only have to show that ker⁡(f)⊆U. For this, let v∈ker⁡(f). Because B is a basis of V, we find λ1,…,λn with v=λ1b1+⋯+λnbn. Now we know that

0=f(v)=f(λ1b1+⋯+λnbn)=λ1f(b1)⏟=0+⋯+λn−1f(bn−1)⏟=0+λnf(bn)⏟=1=λn

Hence λn=0 and v=λ1b1+λn−1bn−1∈U. Therefore, we have ker⁡(f)=U.

Solution sub-exercise 3:

The mapping f is not unique: We know that f≠0 because U≠V. Therefore v∈V exists with f(v)≠0. Because K≠𝔽2, there is an element λ∈K with λ∉{0,1}. Thus λf(v)≠f(v). Now consider the linear map g:V→K;w↦λ⋅f(v). This map has the same kernel as f because g(w)=0 if λf(w)=0. This is the case if f(w)=0, since λ≠0.

Furthermore, g≠f, because f(v)≠λf(v)=g(v). The linear map from the second part is therefore not unique.

In the last task, we required K≠𝔽2 because we needed an element in the proof that is neither 0 nor 1. The field 𝔽2 only consists of the elements 0 and 1. This means that if we want to construct a linear map f:V→K that has an n−1-dimensional subspace U as its kernel, then we must define it as

f(v)={0,v∈U1,v∉U

This map is linear and it is the only way to have a linear map with kernel U. Thus, for K=𝔽2 we arrive at a different result in the last sub-exercise: The map is then unique.

Exercise (Basis of the kernel of vi∗)

Let V be a K-vector space, B={v1,…,vn}⊆V a basis and B∗={v1∗,…,vn∗}⊆V∗ is the base dual to B. Show: For each i∈{1,…,n} it holds true that

ker⁡(vi∗)=span⁡{v1,…,vi−1,vi+1,…,vn}.

In particular, B∖{vi} is a basis of ker⁡(vi∗).

Solution (Basis of the kernel of vi∗)

By definition of the dual basis, vi∗(vj)=0 holds for all j≠i. Therefore, vj∈ker⁡(vi∗) applies for all j≠i and since the kernel is a subspace, we have

span⁡{v1,…,vi−1,vi+1,…,vn}⊆ker⁡(vi∗).

Since vi∗(vi)=1 holds, vi∗ is not the zero mapping. With the previous exercise, we conclude dim⁡ker⁡(vi∗)=n−1. Since the v1,…,vn are linearly independent, we have dim⁡span⁡{v1,…,vi−1,vi+1,…,vn}=n−1, and since this span is contained in the kernel of vi∗, the two subspaces are equal.

Exercise

Consider the basis

B={v1,v2,v3}={(210),(021),(121)}

of ℝ3.

  1. For B determine the dual basis B∗={v1∗,v2∗,v3∗} with vi∗:ℝ3→ℝ for i=1,2,3.
  2. Determine the kernel ker⁡(vi∗) and draw it in ℝ3 for i=1,2,3.
Solution

Solution sub-exercise 1:

The matrix of a linear map f:ℝ3→ℝ with respect to {e1}. of the canonical bases {e1,e2,e3} of ℝ3 and {1} of ℝ is the uniquely determined matrix (abc) with

f((xyz))=(abc)(xyz)=ax+by+cz

for all (x,y,z)T∈ℝ3.

We are looking for the formula of the linear maps vi∗:ℝ3→ℝ, i=1,2,3. That means, we determine the three corresponding representative matrices (ai,bi,ci) with respect to the canonical bases. By definition of the dual basis, the following should hold

(a1b1c1)(210)=1,(a1b1c1)(021)=0,(a1b1c1)(121)=0

and the same for i=2,3. If we summarize these equations in matrix form, we get

(a1b1c1a2b2c2a3b3c3)(201122011)=(100010001)

We must therefore determine an inverse of the matrix on the left-hand side of the equation, which has the basis vectors in B as columns.

The inverse is

(201122011)−1=(01−2−12−31−24)=(a1b1c1a2b2c2a3b3c3).

The rows are the desired dual basis vectors. We therefore have

v1∗:ℝ3→ℝ3,(xyz)↦(01−2)(xyz)=y−2z,v2∗:ℝ3→ℝ3,(xyz)↦(−12−3)(xyz)=−x+2y−3z,v3∗:ℝ3→ℝ3,(xyz)↦(1−24)(xyz)=x−2y+4z.

Solution sub-exercise 2:

From the previous exercise we know that ker⁡(v1∗)=span⁡{v2,v3}, ker⁡(v2∗)=span⁡{v1,v3} and ker⁡(v3∗)=span⁡{v1,v2}. Plotted in ℝ3, we obtain a plane spanned by the two vectors in ℝ3.

Instead of using the previous exercise, we can also calculate the kernels of the matrices vi∗:

Proof step: ker⁡(v1∗)

The kernel of v1∗ contains all (x,y,z)T∈ℝ3 with v1∗((x,y,z)T)=y−2z=0, i.e., with y=2z. So the following holds:

ker⁡(v1∗)={(a2bb)∣a,b∈ℝ}=span⁡{(100),(021)}.

Note that (1,0,0)T=v3−v2, so the result for the kernel is the same as in the previous exercise.

Proof step: ker⁡(v2∗)

The kernel of v2∗ contains all (x,y,z)T∈ℝ3 with v2∗((x,y,z)T)=−x+2y−3z=0, i.e., with x=2y−3z. So the following holds:

ker⁡(v2∗)={(2a−3bab)∣a,b∈ℝ}=span⁡{(210),(−301)}.

Here, also (−3,0,1)T=v3−2v1, so the result is the same as in the previous exercise.

Proof step: ker⁡(v3∗)

The kernel of v3∗ contains all (x,y,z)T∈ℝ3 with v3∗((x,y,z)T)=x−2y+4z=0, i.e. with x=2y−4z. So the following holds:

ker⁡(v2∗)={(2a−4bab)∣a,b∈ℝ}=span⁡{(210),(−401)}.

Because (−4,0,1)T=v2−2v1, this agrees with the result determined in the previously exercise.

Exercise (Dual map)

Let f:V→W be a linear map. We define the map

f∗:W∗→V∗,g↦f∗(g):=g∘f.

  1. Show that f∗ is linear.
  2. Show: (idV)∗=idV∗ and (g∘f)∗=f∗∘g∗ for linear maps f:V→W and g:W→X.
  3. Show: If f is surjective, then f∗ is injective.
  4. Show: If f is injective, then f∗ is surjective.
  5. Show: If f is bijective, then f∗ is bijective and the inverse is given by (f∗)−1=(f−1)∗.

f∗ is called the dual mapping with respect to f. By definition, the dual map therefore receives linear mappings from W to K as input and turns them into linear mappings from V to K. This is achieved by composition with f. A mapping W→gK therefore becomes V→fW→gK. In words, f∗ can be described as "execute f first".

Solution (Dual map)

Solution sub-exercise 1:

For more clarity in the proof, we write ⊞V or ⊞W for the addition of linear maps in V∗ or W∗ and + for the addition in the vector space K. We also write ⊡V or ⊡W for the scalar multiplication in V∗ or W∗ and ⋅ for the scalar multiplication in K.

Let g,h∈W∗ and λ∈K. We have to show that

f∗(g⊞Wh)=f∗(g)⊞Vf∗(h) and f∗(λ⊡Wg)=λ⊡Vf∗(g)

We must therefore prove the equality of elements in V∗, i.e., of maps V→K. To do this, we show

f∗(g⊞Wh)(v)=(f∗(g)⊞Vf∗(h))(v) and f∗(λ⊡Wg)(v)=(λ⊡Vf∗(g))(v)

for all v∈V.

Proof step: f∗(g⊞Wh)=f∗(g)⊞Vf∗(h)

Let v∈V. Then

f∗(g⊞Wh)(v)=↓ definition of f∗=((g⊞Wh)∘f)(v)↓ definition of ∘=(g⊞Wh)(f(v))↓ definition of ⊞W=g(f(v))+h(f(v))[0,3em]↓ definition of ∘=(g∘f)(v)+(h∘f)(v)↓ definition of f∗=f∗(g)(v)+f∗(h)(v)↓ definition of ⊞V=(f∗(g)(v)⊞Vf∗(h))(v).

Because v∈V was arbitrary, this shows the equality of the maps f∗(g⊞Wh) and f∗(g)⊞Vf∗(h).

Proof step: f∗(λ⊡Wg)=λ⊡Vf∗(g)

Let v∈V. Then

f∗(λ⊡Wg)(v)=↓ definition of f∗=((λ⊡Wg)∘f)(v)↓ definition of ∘=(λ⊡Wg)(f(v))↓ definition of ⊡W=λ⋅g(f(v))[0,3em]↓ definition of ∘=λ⋅(g∘f)(v)↓ definition of f∗=λ⋅(f∗(g))(v)↓ definition of ⊡V=(λ⊡Vf∗(g))(v).

Because v∈V was arbitrary, this shows the equality of the maps f∗(λ⊡Wg) and λ⊡Vf∗(g).

Solution sub-exercise 2:

We show (idV)∗(g)=g for all g∈V∗. It then follows that (idV)∗ is the identity on V∗. Let g∈V∗. By definition of the dual map, we have

(idV)∗(g)=g∘idV=g.

Since g∈V∗ was arbitrary, the statement is shown.

Now let f:V→W and g:W→X. Then g∘f:V→X applies, i.e. (g∘f)∗:X∗→V∗. Furthermore, f∗:W∗→V∗ and g∗:X∗→W∗ and therefore f∗∘g∗:X∗→V∗. To show the equality of the maps (g∘f)∗=f∗∘g∗, we show that (g∘f)∗(k)=(f∗∘g∗)(k) holds for all k∈X∗. So if k∈X∗, then we get

(g∘f)∗(k)=↓ definition of (g∘f)∗=k∘(g∘f)↓ associativity of ∘=(k∘g)∘f↓ definition of g∗=g∗(k)⏟∈W∗∘f↓ definition of f∗=f∗(g∗(k))↓ definition of ∘=(f∗∘g∗)(k).

Because k∈X∗ was arbitrary, the statement is shown.

Solution sub-exercise 3:

Let f:V→W be surjective. We want to show that f∗:W∗→V∗ is injective. Due to the linearity of f∗, it is sufficient to show that ker⁡(f∗)={0W∗}. Let g∈W∗ with f∗(g)=0V∗. This means that g maps from W to K and f∗(g)=g∘f is the zero mapping from V to K. We want to conclude that g is the zero mapping in W∗, i.e. that g(w)=0K for all w∈W. For this, let w∈W be arbitrary. Because f is surjective, there exists an v∈V with f(v)=w. It follows that

g(w)=g(f(v))=(g∘f)(v)=f∗(g)(v)=0V∗(v)=0K.

Because w∈W was arbitrary, we conclude g=0W∗.

Solution sub-exercise 4:

Let f:V→W be injective. We want to show that f∗:W∗→V∗ is surjective. So let g∈V∗ be arbitrary. This means that g is a linear map from V to K. We want to define a map h∈W∗ from W to K such that f∗(h)=h∘f=g.

Because f is injective, the restriction of f to the image f(V) of f is an isomorphism. We denote this restriction by f~:V→f(V). Then f~−1:f(V)→V and the following holds

f~−1∘f=f~−1∘f~=idV.

Because g is defined on V, we can define and obtain h:=g∘f~−1:

f∗(h)=h∘f=(g∘f~−1)∘f=g∘(f~−1∘f)=g∘idV=g.

Because g∈V∗ was arbitrary, the surjectivity of f∗ is shown.

Solution sub-exercise 5:

If f:V→W is bijective, then it follows from the previous two sub-exercises that f∗ is also bijective. We calculate that (f−1)∗ is the inverse of f: From sub-exercise 2 we get

f∗∘(f−1)∗=(f−1∘f)∗=(idV)∗=idV∗.

Analogously, one can show (f−1)∗∘f∗=idW∗.