Zum Inhalt springen

Inner direct sum

Aus Wikibooks

Derivation and definition

[Bearbeiten]

We have already learned about sums of two subspaces. If U and W are two subspaces, then the sum of U and W is again a subspace Z=U+W. So for each vector vZ we may find two vectors uU and wW, such that v=u+w. Now the question arises: Are there several ways to write v as such a combination?

The answer is yes, there can be several possibilities. As an example, let's look at the vector space 3. This space can be viewed as the sum of the xy-plane and the yz-plane. This means that if v3, then there are actually several ways to represent v as the sum of vectors from the xy-plane and the yz-plane. For the vector (2,3,5), for example, we have (2,3,5)=(2,2,0)+(0,1,5)=(2,1,0)+(0,2,5).

Such representations are therefore generally not unique. We now want to find a criterion for uniqueness.

Suppose we have two different representations of v, i.e. v=u+w and v=u+w with uu and ww (if one of them is the same, then so is the other). In particular, we know that uu0 and ww0. If we now rearrange the equation u+w=v=u+w, we get uuU=wwW. Because the left-hand side is in U and the right-hand side is in W, this is an element in UW which is not a zero vector at the same time. So UW is not just {0}. (The zero vector is in the intersection because U and W are both subspaces). This means that if the representation is not unique, then the intersection UW does not only contain the zero vector.

Conversely, if the intersection is not {0}, we do not have a unique representation: Let vUW with v0. Then there are two representations of v, namely v=v+0=0+v (on the one hand v=u+w with u=v and w=0 and on the other hand v=u+w with u=0 and w=v). Because of v0, these representations are different from each other.

We can therefore conclude an equivalence: The intersection UW is exactly {0} if the representation of all vectors in V is unique.

In this case, we give the sum a special name: We call the sum of U and W, in the case UW={0}, the direct sum of U and W and write UW=U+W.

Definition (Direct sum)

Let U and W be two subspaces of a vector space V. We call the sum U+W direct if UW={0} holds. The subspace Z=U+W is called the direct sum of U and W and we write Z=UW.

Examples

[Bearbeiten]

Sum of two lines in ℝ²

[Bearbeiten]
The lines U and W

We consider the following two lines in 2:

U:={(x0)x} and W:={(xx)x}

So U is the x-axis and W is the line that runs through the origin and the point (1,1). Their sum is U+W=2

Question: Why do wa have U+W=2?

By the definition U+W={u+wuU,wW} we can describe the set U+W as

U+W={(x0)x}+{(xx)x}={(x0)x}+{(yy)y}={(x0)+(yy)x,y}={(x+yy)x,y}

We can write each vector in 2 as (x+y,y)T with matching x,y. Specifically, for each vector (a,b)T2 we can find scalars x and y such that (a,b)=(x+y,y), namely x:=ab and y:=b. We conclude U+W=2.

Intuitively, you can immediately see that U+W=2. This is because U+W is a subspace of 2, which contains the lines U and W. The only subspaces of 2 are the null space, lines that run through the origin and 2. As the lines U and W do not coincide but are different, U+W cannot be a line. Therefore, we must have U+W=2.

Let us now investigate whether this sum is direct. To do so, we need to determine UW. If v=(x,y)TUW, then we know the following: Because vU, we have y=0. And because vW, we have x=y. Therefore x=y=0 and we get v=0. Because UW also contains 0, we get UW={0}. This means that the sum of U and W is direct and we can write UW.

Sum of two lines in ℝ³

[Bearbeiten]
The lines U and W

We have the following lines in 3:

U:={(xx2x)x} and W:={(3x05x)x}

Then U is a line in 3 that runs through the origin and the point (1,1,2), and W is a line that runs through the origin and (3,0,5). The sum U+W is a plane spanned by the vectors (1,1,2)T and (3,0,5)T, i.e.

U+W={x(112)+y(305)x,y}.

Question: Why is this the sum?

U+W={(xx2x)x}+{(3y05y)y}={(xx2x)+(3y05y)x,y}={x(112)+y(305)x,y}

So U+W is a plane that is spanned by the vectors (1,1,2)T and (3,0,5)T.

Also here, we want to determine whether the sum is direct. To do so, we consider a vector v=(x,y,z)TUW. Then, because vU, we have x=y=2z. And because vW, we obtain y=0. Therefore, x=z=y=0 and the sum is direct. This means that we can write UW.

Sum of a line and a plane in ℝ³

[Bearbeiten]
The line U3 and the plane W

We consider the subvector spaces U3 and W of 3.

U3={(xxx)x}=span{(111)}W={(0yz)y,z}

The subspace U3 is the line through the origin and the point (1,1,1), while W represents the y-z-plane. Together, U3 and W span the entire 3, i.e. U3+W=3.

Question: Why is the sum of U3 and W the entire space 3?

Since U3 and W are subvspaces of 3, the sum U3+W is also a subspace of 3. We still have to show that 3 is contained in U3+W. To do so, we prove that any vector (a,b,c)T3 lies in U3+W. To accomplish this, we show that there is a uU3 and a wW with (a,b,c)T=u+w.

We choose u:=(a,a,a)T and w:=(0,ba,ca)T. Then u+w=(a,a,a)T+(0,ba,ca)T=(a,b,c)T. In addition, uU3 and wW apply.

Therefore, the entire 3 is contained in U3+W. Thus 3=U3+W.

One may now ask whether the sum U3+W is direct. To check this, we need to analyze the intersection U3W. If U3W only contains the zero vector (0,0,0)T, then the sum is direct.

Let (a,b,c)T be a vector in U3W. Since (a,b,c)TU3, we have a=b=c. Consequently, we can write (a,b,c)T as (a,a,a)T. Furthermore, (a,a,a)TW, which implies a=0. We have therefore shown that (a,b,c)T=(0,0,0)T.

It follows that U3W={(0,0,0)T}. Since the intersction only contains the zero vector, the sum U3+W is direct. Therefore, we can conclude 3=U3W.

Sum of even and odd polynomials

[Bearbeiten]

We will now look at an example of a direct sum in the vector space of real polynomials [x]. Let us consider the following subspaces U and W of [x]: U consists of all odd polynomials over , while W is the space of the even polynomials over . In formulas, this is

U={i=0naix2i+1n,ai}=span{x,x3,x5,}W={i=0naix2in,ai}=span{1,x2,x4,}

The odd polynomials i=0naix2i+1 only contain monomials with odd exponents, while the even polynomials i=0naix2i only contain monomials with even exponents. For example, 3x18+19x12x4+8x2 is an even polynomial, while x10x is neither even nor odd. We now show that the even and odd polynomials together generate the entire polynomial space [x]. Expressed in formulas: U+W=[x].

To show this, we need to prove that every polynomial in [x] can be written as the sum of an odd and an even polynomial. To do so, we consider any polynomial p=i=0naixi from [x]. We must write p as the sum of an even and an odd polynomial.

p=i=0naixi=i=0n12a2i+1x2i+1U+i=0n2a2ix2iW

Therefore, p is contained in the sum U+W.

Now we want to check whether the sum U+W is direct. That is, we need to check whether the intersection of the two subspaces UW only contains the zero vector, i.e. the zero polynomial. Let p be a polynomial in the intersection UW. Then p lies both in U and in W. We can write p as i=0naixi. Since p lies in U, p only consists of odd monomials. Therefore, the prefactors of the even monomials must be equal to 0. So ai=0 for all even i. Since p lies in W, p only consists of even monomials. So ai=0 for all odd i. This means that all coefficients ai are equal to zero and p is therefore the zero polynomial. Thus UW=0, and the sum of U and W is direct.

We have seen that [x]=UW. In other words, the polynomial space [x] can be written as the direct sum of the subspaces U and W, where U is the subspace of odd polynomials and W is the subspace of even polynomials.

Counterexamples

[Bearbeiten]

Two planes in ℝ³

[Bearbeiten]
The planes U and W

We consider the following two planes:

U={(2xxy)x,y} and W={(02xy)x,y}

The two planes together span all of 3. However, the sum is not direct, as the intersection is a line and therefore does not only contain the zero vector. That is, UW{(0,0,0)T}.

We want to check this mathematically. This requires looking for a vector in the intersection of U and W which is not zero. We consider a vector (a,b,c)T that lies in the intersection UW. Because this vector lies in U, we have x,y so (a,b,c)T=(2x,x,y)T. In addition, there must be v,w so (a,b,c)T=(0,2v,w)T, since (a,b,c)TW.

We now look for suitable values for x,y,v,w to fulfill both conditions. From a=2x and a=0, we get x=0. Because 2v=b=x, we also have v=0. Furthermore, b=0 results from b=x. Finally, we conclude y=c=w.

One possible solution is x=v=0, y=1 and w=1. The vector (a,b,c)T=(0,0,1)T therefore lies in the intersection of U and W. Hence, UW{(0,0,0)T}.

Various polynomials in polynomial space

[Bearbeiten]

Let K be a field. We consider two subspaces in the polynomial space K[X]: Let U={fK[X]degf2} be the space of polynomials of degree less or equal to two, and let

V={f=a0+a1X+anXna0++an=0}

be the space of polynomials whose sum of coefficients is 0. We want to investigate whether the sum U+V is direct. To find this out, we need to decide whether UV=0.

An element fUV is a polynomial f=a0+a1X++anXn, which has a maximum degree of 2 and for which a0+,an=0 applies. Because the polynomial has degree two, we have a3==an=0. Therefore, we get a0+a1+a2=0. This means UV consists of all polynomials f=a0+a1X+a2X2 for which a0+a1+a2=0. Thus, we can find a non-zero element of UV if we use the equation

a0+a1+a2=0

with non-trivial a0,a1,a2. One possibility for this is a0=1,a1=1,a2=0, i.e. f=1XUV. So the intersection of U and V is not zero, and the sum U+V is therefore not direct.

Unique decomposition of vectors

[Bearbeiten]

We have already considered in the derivation that the decomposition of vectors is unique for the direct sum. We will prove this result here rigorously.

Theorem (Equivalent characterizations of the direct sum)

Let U1,U2 be subspaces of V. Then the following statements are equivalent:

  1. The sum of U1 and U2 is direct (that is, U1+U2=U1U2).
  2. U1 and U2 have trivial intersection (that is, U1U2={0} is the trivial subspace).
  3. The representation of all elements of U1+U2 is unique (that is, if u=u1+u2=u1+u2 with u1,u1U1 and u2,u2U2, then we already have u1=u1 and u2=u2).
  4. The representation of the zero is unique (that is, if u1+u2=0 with u1U1 and u2U2, then we already have 0=u1=u2).

Proof (Equivalent characterizations of the direct sum)

The definition of the inner direct sum is just 12. We now show the implications 2342. The statement then readily follows.

Proof step: 23

Let uU1+U2. We must prove that u can be written uniquely as the sum of two elements of U1 and U2.

Let u1,u1U1 and u2,u2U2 with the property that u1+u2=u=u1+u2. In order to prove uniqueness, we must show that these two representations of u are equal. "Equal" means that u1=u1 and u2=u2.

Because u1+u2=u1+u2, we have u1u1=u2u2. This element lies in U1 (because of the representation on the left of "=") and in U2 (because of the representation on the right of "="). So u1+u2=u1+u2 lies in the intersection U1U2. According to the prerequisite, U1U2={0}. This means 0=u1u1=u2u2. So u1=u1 and u2=u2. This is exactly what we wanted to show.

Proof step: 34

Let u1U1 and u2U2 with u1+u2=0U1+U2. This is a representation of 0U1+U2.

On the other hand, 0=0+0U1+U2 is also a representation of 0.

Since representations are unique according to the requirements, we conclude u1=0 and u2=0.

Proof step: 42

Let uU1U2. Then, of course, uU1 and uU2. Since U2 is a subspace, for each element xU2 also its additive inverse element msut be in this space, i.e., xU2. Therefore, uU2.

This gives us uU1+(u)U2=0=0U1+0U2. From the uniqueness of the representation of the zero, we conclude u=0. The intersection is therefore trivial, i.e. U1U2={0}.

Inner direct sum and disjoint union of sets

[Bearbeiten]

We can imagine the sum of two subspaces as a structure-preserving union: Forming the sum is "structure-preserving" because the result is again a subspace. This means that the vector space structure is preserved when forming the sum. We can also think of this construction as a union because the sum contains both subspaces. The subspaces U and W are subsets of the sum U+W. The sum U+W is the smallest subspace that contains the two subspaces U and W. Just as you can form unions with sets, the sums of subspaces also work in the same way.

The direct sum is a special case of the sum of subspaces. This means that every direct sum is also a structure-preserving union. "Being direct" is a property of a sum of subspaces. We now want to see whether there is a property of the union of sets that corresponds to the directness of a sum.

Direct sums are characterized by the fact that the decomposition of the vectors in the sum is unique. If we have a vector vUW with v=u+w, where uU and wW, then the vectors u and w are unique. For a union XY of sets X and Y, each element aXY lies in X or in Y. The element can also lie in both, which means that we generally do not clearly know where they lie. We cannot assign a unambiguously if aXY, i.e. in the intersection. This means that the assignment of elements aXY is unique if XY is empty. In fact, this criterion corresponds exactly to the criterion for a sum to be direct: We want UW={0}, which is the smallest possible vector space, so the intersection contains nothing more from U and W (except the zero, which it must contain anyway as a vector space). This is exactly the definition of a disjoint union. In other words, the direct sum of subspaces intuitively corresponds to the disjoint union of sets.

Basis and dimension

[Bearbeiten]

We have seen that the direct sum is a special case of a sum of subspaces. So we can transfer everything we know about the vector space sum to the direct sum. We have already seen that the union of bases of U and W is a generating system of U+W. This means if BU is a basis of U and if BW is a basis of W, then BUBW is a generating system of U+W. If U and W are finite dimensional, we can use the dimension formula.

dim(U+W)=dim(U)+dim(W)dim(UW).

If the sum U+W is direct, i.e. if U+W=UW, then we even have UW={0}. Since dim({0})=0, the following sum formula applies in the finite-dimensional case:

dim(U+W)=dim(U)+dim(W)dim(UW)=0=dim(U)+dim(W).

So the dimension of the sum space U+W is exactly the sum of the dimensions dim(U) and dim(W). If BU is a basis of U and if BW is a basis of W, then we can conclude

dim(U+W)=dim(U)+dim(W)=|BU|+|BW|.

Since UW={0}, the union of the bases of U and W is disjoint, i.e. BUBW. Therefore, we get |BU|+|BW|=|BUBW|. Because BUBW is a generating system of U+W and because dim(U+W)=|BUBW|, we conclude that BUBW is a basis of U+W.

We have thus seen that in finite dimensions, the union of the bases of U and W is a basis of UW. This also applies in general:

Theorem (Basis of the direct sum)

Let U and W be two subspaces of a K-vector space V. Assume that the sum of U and W is direct, that is, we can write UW. Let BU be a basis of U and BW a basis of W. Then the union of BU and BW is disjoint and BUBW is a basis of UW.

Proof (Basis of the direct sum)

We have already seen that BUBW is a generating system of U+W. Therefore, we only have to show that the union BUBW is disjoint and linearly independent.

Proof step: BUBW

Suppose we have vBUBW. Then vUW={0}, so v=0. However, this is a contradiction to vBU and vBW, as a basis cannot contain the zero vector. Therefore, there can be no vBUBW, i.e. BUBW=.

Proof step: BUBW is linearly independent

Let

0=i=1nαiui+j=1mβjwj

for any n,m, uiBU and wjBW pairwise different, as well as αi,βjK. We must show that all αi and βj are equal to 0. This corresponds exactly to the definition of the linear independence of BUBW.

From

0=i=1nαiui+j=1mβiwi

we conclude

i=1nαiui=j=1mβjwj.

This term is in U (as a linear combination of elements in BU) as well as in W (as a linear combination of elements in BW). Since UW is a direct sum, we obtain

i=1nαiui=0=j=1mβjwj.

From the linear independence of BU we conclude αi=0 for all i and from the linear independence of BW we conclude βj=0 for all j.

From this theorem, we may immediately conclude that

dim(UW)=dim(U)+dim(W).

Exercises

[Bearbeiten]

Exercise

Let K=/3 and let V=K3. Consider the two subspaces U=span{(1,1,0)} and W=span{(0,2,2),(0,0,1)}. Show that UW=V and determine uU and wW so that (2,0,2)=u+w holds.

Solution

To show UW=V, we need to prove two things: First, that the sum of U and W is direct, i.e. UW={0}. Secondly, we must show that the sum of U and W equals V, i.e. U+W=V.

Proof step: UW={0}

Because U and W contain the zero vector as subspaces, {0}UW is obvious. For the proof of the reverse inclusion, let vUW be arbitrary. Then

v=λ(110)=μ1(022)+μ2(001)

for certain λ,μ1,μ2K. From the first line of the vectors we get λ1=μ10+μ20=0. So λ=0 and therefore v=0.

Proof step: U+W=V

By definition, U+WV. The two vectors that span W are obviously linearly independent, so dim(W)=2. Furthermore, dim(U)=1 and dim(V)=dim(K3)=3. The dimension formula for subspaces then renders

dim(U+W)=dim(U)+dim(W)dim(UW)=1+20=3=dim(V).

The dimensions of the subspaces are therefore equal and U+WV follows from U+W=V.

Alternatively, you could prove the equality by showing that every vV can be written as the sum of a uU and a wW.

We want to write v=(2,0,2) as the sum of a vector in U and a vector in W. That means, we are looking for λ1,λ2,λ3K=/3 with

(202)=λ1(110)+λ2(022)+λ3(001).

We may write this as a linear system:

2=λ10=λ1+2λ22=2λ2+λ3

From the first line we conclude λ1=2/3. Plugging this into the second line gives λ2=2=2/3. Again plugging this into the third line finally yields λ3=1/3. Therefore, v=u+w holds with

u=2(110)=(220)Uandw=2(022)+(001)=(012)W.

For the following two exercises, you should know what a linear map is.

Exercise (Self-inverse linear maps and subspaces)

Let V be a -vector space and f:VV a linear map.

  1. Show that the subsets U={vVv=f(v)} and W={vVf(v)=v} are subspaces of V.
  2. Let additionally ff=idV, where idV denotes the identity map on V. (A linear mapping with this property is called self-inverse.) Show that then V=UW holds for the two subspaces from the first exercise part.

Solution (Self-inverse linear maps and subspaces)

Solution sub-exercise 1:

We use the subspace criterion and show that U and W are non-empty subsets of V that are closed under linear combinations. We only provide the proof for W. The proof for U works in the same way, you just have to replace all equations of the form "f(v)=v" with "f(v)=v".

Proof step: WV

This holds by definition of W.

Proof step: W is nonempty.

Since f(0V)=0V=0V we have 0VW. So W is nonempty.

Proof step: W is closed under linear combinations.

Let u,vW and λ,mu be arbitrary. Then

f(λu+μv) linearity of f=λf(u)+μf(v) u,vWand definition of W=λ(u)+μ(v) distributive law=(λu+μv),

So the linear combination λu+μv also lies in W.

Solution sub-exercise 2:

In order to show UW=V, we need to prove two things: First, that the sum of U and W is direct, i.e. UW={0}. Secondly, we must show that the sum of U and W equals V, i.e. that every vector vV can be written as the sum of a vector uU and a vector wW.

Proof step: UW={0}

Because U and W contain the zero vector as subspaces, {0}UW is obvious. For the proof of the reverse inclusion, let vUW be arbitrary. Then

v=vUf(v)=vWv,

i.e., 2v=0, so v=0. Because vUW was arbitrary, we have thus shown that UW={0}.

Proof step: U+W=V

Because U and W are subsets of V, U+WV is obvious. For the reverse inclusion, let vV be arbitrary. Then the following then applies:

v=12v+12v+12f(v)12f(v)=12(v+f(v))=:u+12(f(v)+v)=:w=u+w.

Because ff=idV, it follows from the linearity of f that

f(u)=f(12(v+f(v)))=12(f(v)+f(f(v)))=12(f(v)+idV(v))=12(f(v)+v)=u.

So uU. Analogously, one shows 12wW:

f(w)=f(12(vf(v)))=12(f(v)f(f(v)))=12(f(v)v)=w.

So v is a sum of a vector from U and a vector from W. Since vV was arbitrary, we conclude VU+W .

For this exercise, you need to know what the kernel and the image of a linear map are.

Exercise (Idempotent mappings)

Let f:VV be a linear map with ff=f. (A linear map with this property is called idempotent or a projection). Show: V=im(f)ker(f).

Solution (Idempotent mappings)

We show that V=im(f)+ker(f) und {0}=im(f)ker(f). By definition of the direct sum , the sum of ker(f)+im(f) is therefore indeed direct.

Proof step: V=im(f)+ker(f)

Since both the kernel and the image of f are subspaces of V, we immediately get ker(f)+im(f)V. Let us now show the reverse inclusion Vker(f)+im(f).

Let vV be arbitrary. From the condition f=ff, we get f(v)=f(f(v)), or in other words f(v)f(f(v))=0. Due to the linearity of f, we conclude f(vf(v))=0. Therefore, the element vf(v) lies in the kernel of f. Furthermore, f(v) lies in the image of f by definition. Thus

v=vf(v)+f(v)=(vf(v))ker(f)+f(v)im(f)

is the sum of an element from ker(f) and an element from im(f). So v is in im(f)+ker(f). Because vV was arbitrary, we have shown Vker(f)+im(f).

Proof step: ker(f)im(f)={0}

Because U and W contain the zero vector as subspaces, {0}UW is obvious. For the proof of the reverse inclusion, let vker(f)im(f) be arbitrary. Then v is an element of the kernel of f and f(v)=0 applies. Because v is also in the image of f, there is a wV so that v=f(w). Because f=ff, we have

0=f(v)=f(f(w))=f(w)=v.

Since vker(f)im(f) was arbitrary, we have thus shown ker(f)im(f)={0}.

In 2 we can illustrate the statement from the previous exercise:

Example (Projektions in 2)

Let f:22 be (x,y)(x,x). Then f is linear. In addition, ff=f applies: For each vector (x,y)2, we have

f(f(x,y))=f(x,x)=(x,x)=f(x,y).

The map f is therefore a projection. Clearly, f projects vectors in 2 along the y-axis onto the first angle bisector span{(1,1)}. In particular, im(f)=span{(1,1)}. Further, f maps the y-axis to the zero vector, i.e. ker(f)=span{(0,1)}. Therefore, we indeed have 2=im(f)ker(f) as proven in the exercise.