Serlo: EN: Subspace

Aus testwiki
Zur Navigation springen Zur Suche springen

{{#invoke:Mathe für Nicht-Freaks/Seite|oben}}

In this article we consider the subspace of a vector space. The subspace is a subset of the vector space, which itself is a vector space.

A subset U of the vector space V can be identified as a subspace (i.e., it is again a vector space) if and only if the following three properties are satisfied:

  • 0VU.
  • For all v,uU we have that v+uU.
  • For all uU and for all λK we have that λuU.

This equivalence is called the subspace criterion. If one of them toes not hold, then we do not have a subspace.

Motivation

As we have already seen in connection with general algebraic structures like groups or fields, sub-structures (like sub-groups or sub-fields) play a major role in mathematics. To repeat: Substructures are (small) subsets of a (large) original structure, which allow for the same computations as the original sets. For example, considering the algebraic structure "group", a subgroup is a subset of a group, which is itself a group. For instance, the set of integer numbers with addition (,+) can be seen as a subgroup of the set of rational numbers (,+), which is again a subgroup of the real numbers (,+). In the same way, for the algebraic structure "field", a subfield is a subset of a field, which itself is a field.

In linear algebra we consider a new algebraic structure: the "vector space". As before, we can study the corresponding substructure: a sub-vector space, or simply subspace is a subset of a vector space, which is again a vector space.

Definition of a subspace

Mathe für Nicht-Freaks: Vorlage:Definition

Mathe für Nicht-Freaks: Vorlage:Hinweis

Mathe für Nicht-Freaks: Vorlage:Hinweis

Subspace criterion Vorlage:Anker

Derivation of the criterion

How do we find out if a subset U of a vector space V is a subspace? For U to be a vector space, all vector space axioms for U must be fulfilled. Let's first use an example to see how this works.

Checking the vector space axioms for an example

We consider the subset U={(x,2x)Tx} of the -vector space V=2. Visually this subset is a line. We want to find out, whether U is a subspace of V=2. So by definition, we need to show that the set U together with the operations +U and U satisfy all vector space axioms. We proceed as in the article Proofs for vector spaces. That means, we prove that the vector addition and the scalar multiplication are well defined and that eight axioms hold.

First we have to show that the two operations are well-defined. The crucial point here is whether we really "land in the subspace again" under addition and scalar multiplication. More precisely, the addition + in V is a map V×VV with (u,v)u+v. Our new addition arises by first restricting the domain of definition V×V to the subset U×U. We get a map +:U×UV. So the range of values remains the same for now. However, to make the set U a vector space, we need a map +:U×UU, so after addition, we "land again in the subspace". So, is the image of + contained in U? What we would like to show is: Vorlage:Important This property is also called completeness under addition.

Analogously one can derive a criterion for the well-definedness of the scalar multiplication: Vorlage:Important

This property is called completeness under scalar multiplication.

We now check both properties in our concrete example:

First, the addition. Let u,ubeU. That is, x,y exist such that u=(x,2x)T and u=(y,2y)T. Then u+u=(x+y,2(x+y))T. If we set z:=x+y, we have that u+u=(z,2z)T. So u+uU.

Now the scalar multiplication. Let u=(x,2x)TU as we just did, and let λK. Then we have λu=(λx,2λx)T. If we set z:=λx, we have that λu=(z,2z)T. So λuU.

Hence, the completeness under addition and scalar multiplication are indeed valid. So the vector space operations are well defined. We note that here we have worked very concretely with the definition of the set U. More specifically, we have used that every element of U is of the form (x,2x)T.

Now we check the eight vector space axioms.

First, the four axioms for addition:

Associative law of addition: Let u,v,wU. We must show that u+U(v+Uw)=(u+Uv)+Uw. Since +U is the constrained version of +, we must show u+(v+w)=(u+v)+w. This follows from the associative law for the vector space V. Note that since UV, we also have u,v,wV, so the relations in V are indeed valid.

The commutative law for addition in U can be traced back to the commutative law in V.

Existence of a neutral element: We must show that an element 0UU exists such that 0U+Uu=u+U0U=u for all uU. Since V is a vector space, it contains a zero vector with 0+v=v+0=v for all vV. In particular, this holds for all uU. Since addition in U is only the restriction of addition in V, it suffices to show, That 0U. For then we can set 0U=0. The element 0V=2 is more precisely the vector (0,0)T. This can be written as (0,20)T and thus lies in U. So there is indeed a neutral element of addition within U.

Existence of additive inverse in U: Let uU. We must show that there exists a uU, such that u+Uu=0. We know that u+(u)=0 holds in V. So if we can show uU, we are done: then we can choose u=u. We know that u=(1)uU holds. Furthermore, we have already shown that U is complete under scalar multiplication, so indeed uU follows.

The four axioms of scalar multiplication can also be traced back to the corresponding properties of V. This works similarly to the first two axioms of addition. We use that all relevant equations hold analogously in V if one expresses the operations in U by those in V So we indeed have a subspace.

In order to show that the operations +U and U are well-defined, we needed to establish the properties of completeness formulated above. For this we have worked closely with the definition of U. Furthermore, for the third axiom of addition, we had to show that the neutral element of addition in V is also an element of U. Again, we worked concretely with the definition of U. The axiom for the existence of the inverse with respect to addition could be traced back to the completeness of scalar multiplication. For all other axioms we could use that the analogous axioms in V hold.

So, in total, we actually only needed to show three things:

  • The completeness of U with respect to addition.
  • The completeness of U with respect to scalar multiplication
  • 0U

For these we had to work with the definition of U and V. The above arguments that these three properties suffice should be true for every vector space V and all subsets U of V. So, in the general case, it should be enough to prove these three properties (and it actually is).

But first, we demonstrate that the three rules are necessary. That is, we show that none of the three rules can be omitted. For this we give subsets of V=2, each of which violates exactly one of the three rules and is indeed not a subspace.

Counterexample: The empty set

We first consider the empty set U=. This is of course a subset of 2.

Let us check completeness with respect to of addition, u,uU:u+uU, it is satisfied. This is because all statements about the empty set (missing) trivially always hold. In the same way, the completeness of scalar multiplication is satisfied.

However, the third rule is violated: 0U. That is simply because the empty set contains by definition no elements. The property 0U cannot be derived in general from the completeness of addition and of scalar multiplication.

Now, U is not a vector space, because U contains no element, in particular no neutral element of addition. Accordingly, U cannot be a subspace. Be aware that the property 0U cannot in general be derived from the completeness properties and must be, in principle, separately checked. (However, this step is often seen as obvious)

Counterexample: Vectors with integer entriesVorlage:Anker

Our second example shows that scalar multiplication is actually needed: take the set of integer vectors U:=2. If we identify the vectors with points in 2, we get some kind of "lattice":

ℤ2 as a subset ℝ2
2 as a subset 2

This set is obviously a subset of 2 and again the question arises whether it is a subspace. In contrast to the first example now the zero vector 0=(0,0)T is contained in U=2. All other axioms of vector addition are also valid. The sum of two vectors from 2 is again in 2.

Nevertheless, the 2 is not a subspace of 2, because 2 is not complete with respect to scalar multiplication. For instance, v=(1,0)T2 and λ=12, but λv=(12,0)T is not contained in 2. Thus 2 does not satisfy all vector space axioms and is therefore not a subspace.

The completeness with respect to scalar multiplication can also not be derived from the other two properties. If we want to prove that U is a subspace, we must always show that for every uU and for every scalar λK, we also have λuU.

Counterexample: A cross of coordinate axes Vorlage:Anker

We have already seen in both examples of above that every subspace contains the zero vector and is closed under scalar multiplication. Finally, we want to look at a third and last example, which satisfies the above two conditions, but still does not satisfy all vector space axioms. For this we choose the axis cross, the set formed by union of the two lines through the origin G:={(0,t)T:t} and H:={(t,0)T:t}. So we consider the subset U:=GH2. Illustrated in the plane as points, the set looks like an infinite "cross":

The axis cross
The axis cross

Is U a subspace? Obviously, the zero vector 0 is contained in U. Moreover, we have that for any vU and λ that also λv is an element of U. Thus U is complete under scalar multiplication. Nevertheless, U is not a subspace. To see this, we choose the vectors v1=(1,0)T and v2=(0,1)T. Then, we have v1,v2U, but for the sum we have that v1+v2=(1,1)TU.

So the completeness under the vector space addition can not be derived from the other properties. That means we always have to check the completeness under the vector space addition to prove that U is a subspace.

Statement and proof of the criterion Vorlage:Anker

We considered an example that a subset U of V is a subspace if it satisfies the following three properties:

  • completeness with respect to addition,
  • completeness with respect to scalar multiplication, and.
  • 0U.

We have seen examples of subsets U of V where one of these properties was not satisfied in each case and which also do not form a subspace of V. So we assume that these three properties are necessary and sufficient for a subset to be a subspace. This is the theorem of the subspace criterion, which we will now prove.

Mathe für Nicht-Freaks: Vorlage:Satz

Mathe für Nicht-Freaks: Vorlage:Hinweis

Mathe für Nicht-Freaks: Vorlage:Hinweis

How to prove that a set is a subspace Vorlage:Anker

General proof structure

Before we examine the procedure in more detail with an example, it is useful to understand the general proof structure. How can we show that a set U is a subspace of a K-vector space V? We can use the subspace criterion that we just established. In order for us to use the criterion we must first check the preconditions. The theorem requires that UV. Then, to show that U is a subspace, we need to check the three properties from the criterion. So, in total, we need to show the following four statements:

  1. UV
  2. 0U.
  3. For all v,uU we have that v+uU.
  4. For all uU and for all λK we have that λuU.

Mathe für Nicht-Freaks: Vorlage:Hinweis What do proofs of these statements look like? The proof structure of these statements looks like this: Vorlage:Liste

Finding a proof idea Vorlage:Anker

We consider an easy example problem, in order to get an idea for the proof:

Mathe für Nicht-Freaks: Vorlage:Aufgabe We want to apply the subspace criterion to U. To do this, we check the premises of the theorem according to the above scheme.

  • U2: let vU. By definition of U, there is some λ with v=λu. Since 2 is a vector space, it follows that v=λu2.
  • 0U: We have seen in "Vector space: properties" that for every vector v2 we have 0v=0. So we have that also 0u=0. Thus we get 0U.
  • completeness of addition: Let v,wU. By definition of U, there exist λ,μ with v=λu and w=μu. Since v,w2, we can add them: v+w=λu+μu=(λ+μ)u. Because of λ+μ we finally obtain v+wU.
  • completeness of scalar multiplication: Let vU and let μ. By definition of U there is a λ with v=λu. Since v2 we can multiply it with μ: μv=μ(λu)=(μλ)u. Because of μλ it follows that μvU.

This shows that all conditions hold, so by the subspace criterion, U is indeed a subspace of 2.

Writing down the proof

Now we write down the proof, by generalizing the simple example to "any vector space":

Mathe für Nicht-Freaks: Vorlage:Beweis

Examples and counterexamples for subspaces

Examples Vorlage:Anker

In the following, we will look at first examples to consolidate our idea of subspaces and to avoid misinterpretations. We will also use the subspace criterion.

Trivial subspaces

In every K-vector space V, there are tow "trivial subspaces":

Mathe für Nicht-Freaks: Vorlage:Beispiel

the following example with V= shows that sometimes, only the trivial subspaces are subspaces:

Mathe für Nicht-Freaks: Vorlage:Beispiel

Mathe für Nicht-Freaks: Vorlage:Warnung

Line through the origin

In this example, we consider a straight line U in 2 that passes through the origin. Let the equation of the line be given by y=2x. So we can write down the straight line as a set of points: Vorlage:Einrücken Mathe für Nicht-Freaks: Vorlage:Aufgabe Mathe für Nicht-Freaks: Vorlage:Beweis

Mathe für Nicht-Freaks: Vorlage:Alternativer Beweis

A subspace of 3

In the following exercise we consider a plane in 3 which passes through 0. We show that this plane always forms a subspace of 3.

Mathe für Nicht-Freaks: Vorlage:Aufgabe

A subspace of the polynomials

Let us now turn to a slightly more abstract example, namely the polynomial vector space. We show that the subset of polynomials of degree less or equal n is a subspace:

Mathe für Nicht-Freaks: Vorlage:Satz

Counterexamples

We have already seen above three examples for subsets of 2 which do not form a subspace. For a better understanding we now also consider counterexamples for other vector spaces.

Line that does NOT pass through the origin

Mathe für Nicht-Freaks: Vorlage:Beispiel

Bounded subset of 3

Mathe für Nicht-Freaks: Vorlage:Beispiel

Graph of a non-linear function

Mathe für Nicht-Freaks: Vorlage:Beispiel

polynomials with degree n is not a subspace

Mathe für Nicht-Freaks: Vorlage:Beispiel

Other criteria for subspaces

We will now learn about three criteria that make proofs easier in many cases. For this we will anticipate and use the notion of a linear map.

Kernel of a linear map

In the examples for subspaces, we considered the following sets:

Vorlage:Einrücken We proved above that U1 and U2 are subspaces of 2 and 3, respectively. The two sets are defined according to the same principle. The subspaces contain all vectors that satisfy certain conditions. The conditions are Vorlage:Einrücken These look very similar. Both conditions tell us that some expression in x and y or in a,b and c should be zero. This expression is linear in x,y and a,b,c, respectively. That is, both formulas can also be written down as linear maps: Vorlage:Einrücken With these, we can rewrite our subspaces as Vorlage:Einrücken

Thus U1, as well as U2, is the kernel of a linear map. One can show, in general, that the kernel of a linear map is always a subspace.

Image of a linear map

Just as with the kernel, we can show in general that the image of a linear map is always a subspace. This sometimes allows us to find simpler proofs that a given set is a subspace.

Vorlage:AnkerMathe für Nicht-Freaks: Vorlage:Beispiel

If we look at the calculation again, we realize that the x-values 0,2 and 4 did not matter at all. We could have chosen other ones, as well. The proof goes the same way for the statement:

Let r,s,t (and these numbers may or may not be different). The map f:V3, f(p)=(p(r),p(s),p(t))T is linear and the image of f is a subspace of 3.

We know that U=f(V)3 is a subspace. We also find an explicit representation for U: a polynomial pV has the form p(x)=ax+b for a and b. Moreover, p(0)=b and p(2)=2a+b and p(4)=4a+b.

The subspace U thus has the form Vorlage:Einrücken So it is a plane in 3.

Span of vectors

We will later prove a general theorem that every product of a subset MV is a subspace of V.

This allows us to shorten one of the proofs above:

We proved above that for u2 and U:={λu| λ} the set U is a subspace of the -vector space 2.

The set U is exactly the span of the set M={u} in the vector space V=2. The span of M is exactly all linear combinations of elements from M. In our case, these are even the multiples of u. Therefore U is a subspace of 2.

Exercises

Mathe für Nicht-Freaks: Vorlage:Aufgabe

Mathe für Nicht-Freaks: Vorlage:Aufgabe

Mathe für Nicht-Freaks: Vorlage:Aufgabe

Mathe für Nicht-Freaks: Vorlage:Lösung

Mathe für Nicht-Freaks: Vorlage:Aufgabe

{{#invoke:Mathe für Nicht-Freaks/Seite|unten}}