Zum Inhalt springen

Dual space

Aus Wikibooks

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

[Bearbeiten]

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 simpy 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,pp(a).

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

Da:[x]n,pp(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 VK 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

[Bearbeiten]

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×VV(f,g)f+g, where (f+g)(v):=f(v)+g(v) for all vV,

and

:K×VV(λ,f)λf, where (λf)(v):=λf(v) for all vV,

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

[Bearbeiten]

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 (a1an) 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)nlimnxn, which sends a sequence to its limit value. For example, f((1)n)=limn1=1 or f((1n)n)=limn(1n)=0. From the limit theorems we know that

limn(an+bn)=limnan+limnbn und limnλan=λlimnan

applies to all convergent sequences (an)n,(bn)nc and scalars λ. It follows that f is a linear map and therefore fc 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,PP(λ),

which evaluates a polynomial at the position λ. For example, we have eval1(x21)=121=0 and eval0(x21)=021=1.

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

For P,QK[X] and kK we then have:

evalλ(P+kQ)=(P+kQ)(λ)=P(λ)+kQ(λ)=evalλ(P)+kevalλ(Q).

Example (Derivative)

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

x:C1(),ff(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)=t21 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,gC1() 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]),f01f(x)dx

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

I(f)=01x21dx=[13x3x]x=01=(131)0=23.

We verify by direct calculation that the mapping I is linear: For f,gC0([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

[Bearbeiten]

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 MV 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 fM with f(v)f(w) for every choice of vectors v,wV with vw?

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,hV with

f(x,y)=2xy,g(x,y)=12yx,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 vw, but f(v)=21=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 vw. Assume that f(v)=f(w) and h(v)=h(w) apply. From h(v)=h(w) we obtain y=y. Together with 2xy=f(v)=f(w)=2xy, 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,w2, 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 sumary, our question is: Does there exist a subset MV such that v,wV applies to all vectors: If f(v)=f(w) applies to all measurements fM, then v=w must be true.

We will first try to answer this question in Kn.

Measurement functions for unique determination of vectors

[Bearbeiten]

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:KnK,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 vKn 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,wKn 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) und w=(0,,0,1j-th position,0,,0)

we may have fi(v)=0=fi(w) for all measurement functions with ij, but nevertheless vw. The measurement functions fi with ij 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=v1e1++vnen.

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 vV 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. dimV=n<. Let B={b1,,bn} be a basis of V. Then every vector vV is of the form

v=a1b1++anbn

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

fi:VK,v=a1b1++anbnai.

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 vV.

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,wV we have

f1(v)=f1(w),f2(v)=f2(w),,fn(v)=fn(w)i=1nfi(v)bi=v=i=1nfi(w)bi=wv=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=0b1++0bj1+1bj+0bj+1++0bn=bj

and

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

Then fi(v)=0K=fi(w) holds for all i{1,,j1,j+1,,n}, but nevertheless vw. 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

[Bearbeiten]

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 (ij). 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 vV: 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:VK 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 ji and all i{1,,n}. By inserting the bi we obtain that

g=λ1f1++λnfn

assume the same values on the basis vectors. According to the principle of linear continuation, the two linear maps are therefore identical. Thus, every gV 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,,λnK with i=1nλifi=0V. Let further i{1,,n}. Because fi(bi)=1 and fj(bi)=0 for ji, 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 fV 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=gspan{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?

[Bearbeiten]

Above, we only considered the case dimV<. 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={biiI}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 λiK, iI, there is exactly one linear map f:VK with f(bi)=λi for all iI. Just as in the finite-dimensional case, we can therefore define the map fi:VK for iI using the rule

fi(bj)={1,j=i0,ji.

We can then show that {fiiI} 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, {fiiI} cannot be a generating system of V: One can consider the function

h:VK,bi1 for all iI,

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" {fiiI} is not a basis of the dual space.

Exercises

[Bearbeiten]

Exercise (Determining dual basis vectors and their kernels)

Let V be a finite-dimensional vector space and let vV with v0. Show that there exists an fV 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 fV 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:VK. 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:VK, 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)=10. 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 1i3 determine the explicit form of the function
    vi:3,(xyz)vi((xyz)).
  2. Consider the basis B2={t3+t2,t2,t2t,1} of [t]3. Determine the basis dual to B2 B2={p1,,p4}, i.e. for 1i4 determine the explicit form of the function
    pi:[t]3,a3t3+a2t2+a1t+a0pi(a3t3+a2t2+a1t+a0).
  3. Consider the basis B3={(1000),(0110),(0110),(1111)} of 2×2. Determine the basis B3={M1,,M4} dual to B3 , i.e. for 1i4 etermine 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)T3 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 hae 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)=(111132122).

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))=(111132122)(xyz)=(x+yzx+3y2zx2y+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+yz)v1+(x+3y2z)v2+(x2y+2z)v3.

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

v1((x,y,z)T)=(x+yz)v1(v1)=1+(x+3y2z)v1(v2)=0+(x2y+2z)v1(v3)=0=x+yz.

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

v1:33,(xyz)x+yz,v2:33,(xyz)x+3y2z,v3:33,(xyz)x2y+2z.

Solution sub-exercise 2:

We know what the map pi does with the basis vectors piB2. 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 a3t3a3t3 and a1t2+a1t2=a3(t3+t2)a3t2+a2t2+a1(tt2)+a1t2+a0sort by basis vectors p1,p2,p3,p4=a3(t3+t2)+(a1+a2a3)t2a1(t2t)+a0=a3p4+(a1+a2a3)p3a1p2+p1

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

p1(a3t3+a2t2+a1t+a0)=p1(a3p4+(a1+a2a3)p3a1p2+p1)p1 is linear.=a3p1(p4)=0+(a1+a2a3)p1(p3)=0a1p1(p2)=0+p1(p1)=1=1

For p2 we get

p2(a3t3+a2t2+a1t+a0)=p2(a3p4+(a1+a2a3)p3a1p2+p1)p2 is linear.=a3p2(p4)=0+(a1+a2a3)p2(p3)=0a1p2(p2)=1+p2(p1)=0=a1

So the function of p3 is

p3(a3t3+a2t2+a1t+a0)=p3(a3p4+(a1+a2a3)p3a1p2+p1)p3 is linear.=a3p3(p4)=0+(a1+a2a3)p3(p3)=1a1p3(p2)=0+p3(p1)=0=a1+a2a3

For p4 we get

p4(a3t3+a2t2+a1t+a0)=p4(a3p4+(a1+a2a3)p3a1p2+p1)p4 is linear.=a3p4(p4)=1+(a1+a2a3)p4(p3)=0a1p4(p2)=0+p4(p1)=0=a3

In summary, we obtain the following functions

p1:[t]3,a3t3+a2t2+a1t+a01p2:[t]3,a3t3+a2t2+a1t+a0a1p1:[t]3,a3t3+a2t2+a1t+a0a1+a2a3p1:[t]3,a3t3+a2t2+a1t+a0a3

Solution sub-exercise 3:

We know the values of each Mi when applied to the basis vectors M1=(1000),M2=(0110),M3=(0110),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(M2M3)+d(M4M1M2)=(ad)M1+(b2+c2d)M2+(b2c2)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 ij and Mi(Mi)=1, so the following applies

M1:2×2,(abcd)ad,M2:2×2,(abcd)b2+c2d,M3:2×2,(abcd)b2c2,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,gV. 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 vV, 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

dimker(f)+dimim(f)=dimV

and therefore dimker(f)=ndimim(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 dimker(f)=n or dimker(f)=n1.

Now we have ker(f)=ker(g). This means that they both have the same dimension. In case dimker(f)=dimker(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 dimker(f)=n1. 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,,bn1 be a basis of ker(f)=ker(g). Then we can use the basis completion theorem to continue this basis to a basis b1,,bn1,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,,n1. 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 vV, 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,,n1, since g(bi)=0=λ0=λf(bi). This proves the statement.

Solution (Elements of the dual space and their kernel)

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

dimker(f)+dimim(f)=dimV

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

n=dimV=dimker(f)+dimim(f)dimker(f)+1

Therefore, dimker(f)n1. On the other hand, dimker(f)dimV=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 n1.

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

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 dimker(f)=n and dimker(f)=n1 separately.

Fall 1: dimker(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 vV, 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.

Fall 2: dimker(f)=n1

In this case, the dimension formula implies

dimim(f)=dimVdimker(f)=n(n1)=1

Let b1,,bn1V 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,,bn1 to a basis b1,,bn1,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,,n1}. Since biker(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 fV with f0. Show that dimker(f)=n1 holds.
  2. Let U be an n1-dimensional subspace of V. Show that there is an element fV 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 n1-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)=dimKVdimKim(f)=ndimKim(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 f0, so there is a vV 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)=ndimKim(f)=n1.

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,,bn1} of U. The basis completion theorem then provides us with a vector bnV, 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:VK by saying what happens on a basis of V. The vectors b1,,bn1 are elements of U. Since U is to be the kernel of f, we must require f(bi)=0 for i=1,,n1. 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:VK as the linear map with

f(bi)={0,i=1,,n11,i=n.

Since U is generated by b1,,bn1, we have Uker(f). We therefore only have to show that ker(f)U. For this, let vker(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++λn1f(bn1)=0+λnf(bn)=1=λn

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

Solution sub-exercise 3:

The mapping f is not unique: We know that f0 because UV. Therefore vV 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:VK;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, gf, 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:VK that has an n1-dimensional subspace U as its kernel, then we must define it as

f(v)={0,vU1,v∉U

This map is linear amd 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,,vi1,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 ji. Therefore, vjker(vi) applies for all ji and since the kernel is a subspace, we have

span{v1,,vi1,vi+1,,vn}ker(vi).

Since vi(vi)=1 holds, vi is not the zero mapping. With the previous exercise, we conclude dimker(vi)=n1. Since the v1,,vn are linearly independent, we have dimspan{v1,,vi1,vi+1,,vn}=n1, 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)T3.

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=(012123124)=(a1b1c1a2b2c2a3b3c3).

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

v1:33,(xyz)(012)(xyz)=y2z,v2:33,(xyz)(123)(xyz)=x+2y3z,v3:33,(xyz)(124)(xyz)=x2y+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)T3 with v1((x,y,z)T)=y2z=0, i.e., with y=2z. So the following holds:

ker(v1)={(a2bb)a,b}=span{(100),(021)}.

Note that (1,0,0)T=v3v2, 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)T3 with v2((x,y,z)T)=x+2y3z=0, i.e., with x=2y3z. So the following holds:

ker(v2)={(2a3bab)a,b}=span{(210),(301)}.

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

Proof step: ker(v3)

The kernel of v3 contains all (x,y,z)T3 with v3((x,y,z)T)=x2y+4z=0, i.e. with x=2y4z. So the following holds:

ker(v2)={(2a4bab)a,b}=span{(210),(401)}.

Because (4,0,1)T=v22v1, this agrees with the result determined in the previously exercise.

Exercise (Dual map)

Let f:VW be a linear map. We define the map

f:WV,gf(g):=gf.
  1. Show that f is linear.
  2. Show: (idV)=idV and (gf)=fg for linear maps f:VW and g:WX.
  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=(f1).

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 precomposition with f. A mapping WgK therefore becomes VfWgK. 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,hW and λK. We have to show that

f(gWh)=f(g)Vf(h) and f(λWg)=λVf(g)

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

f(gWh)(v)=(f(g)Vf(h))(v) and f(λWg)(v)=(λVf(g))(v)

for all vV.

Proof step: f(gWh)=f(g)Vf(h)

Let vV. Then

f(gWh)(v)= definition of f=((gWh)f)(v) definition of =(gWh)(f(v)) definition of W=g(f(v))+h(f(v))[0,3em] definition of =(gf)(v)+(hf)(v) definition of f=f(g)(v)+f(h)(v) definition of V=(f(g)(v)Vf(h))(v).

Because vV was arbitrary, this shows the equality of the maps f(gWh) and f(g)Vf(h).

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

Let vV. 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 =λ(gf)(v) definition of f=λ(f(g))(v) definition of V=(λVf(g))(v).

Because vV 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 gV. It then follows that (idV) is the identity on V. Let gV. By definition of the dual map, we have

(idV)(g)=gidV=g.

Since gV was arbitrary, the statement is shown.

Now let f:VW and g:WX. Then gf:VX applies, i.e. (gf):XV. Furthermore, f:WV and g:XW and therefore fg:XV. To show the equality of the maps (gf)=fg, we show that (gf)(k)=(fg)(k) holds for all kX. So if kX, then we get

(gf)(k)= definition of (gf)=k(gf) associativity of =(kg)f definition of g=g(k)Wf definition of f=f(g(k)) definition of =(fg)(k).

Because kX was arbitrary, the statement is shown.

Solution sub-exercise 3:

Let f:VW be surjective. We want to show that f:WV is injective. Due to the linearity of f, it is sufficient to show that ker(f)={0W}. Let gW with f(g)=0V. This means that g maps from W to K and f(g)=gf 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 wW. For this, let wW be arbitrary. Because f is surjective, there exists an vV with f(v)=w. It follows that

g(w)=g(f(v))=(gf)(v)=f(g)(v)=0V(v)=0K.

Because wW was arbitrary, we conclude g=0W.

Solution sub-exercise 4:

Let f:VW be injective. We want to show that f:WV is surjective. So let gV be arbitrary. This means that g is a linear map from V to K. We want to define a map hW from W to K such that f(h)=hf=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~:Vf(V). Then f~1:f(V)V and the following holds

f~1f=f~1f~=idV.

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

f(h)=hf=(gf~1)f=g(f~1f)=gidV=g.

Because gV was arbitrary, the surjectivity of f is shown.

Solution sub-exercise 5:

If f:VW is bijective, then it follows from the previous two sub-exercises that f is also bijective. We calculate that (f1) is the inverse of f: From sub-exercise 2 we get

f(f1)=(f1f)=(idV)=idV.

Analogously, one can show (f1)f=idW.