Serlo: EN: Basis

Aus testwiki
Zur Navigation springen Zur Suche springen

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

In the last two articles we got to know the two concepts generator and linear independence. In this articles we combine the two concepts and introduce the notion of basis of a vector space.


Motivation

Via linear independence Vorlage:Anker

We want to work towards the concept of dimension. Intuitively, we can think of it as the maximum number of linearly independent directions in a space. If we stick to this intuition, we can give the following preliminary definition of dimension: The dimension of a vector space is the maximum number of linearly independent vectors that we can simultaneously choose in a vector space. To find this, we need to find a maximal system of linearly independent vectors.

To see if this preliminary definition makes sense, let's try to apply it in the 3: Clearly, the 3 should be three-dimensional. This means we have to ask ourselves two questions: Do three linearly independent vectors fit into the 3 and is there no fourth vector being linearly independent to any of such three independent vectors? Let us now try this out: We take any first vector, e.g. v1:=(2,1,0)T. Now we want to find a linearly independent vector, i.e. a vector that is not a multiple of v1 or does not lie in span({v1}). An example for this is v2:=(2,1,0)T.

If we want to follow the intuition that 3 is three-dimensional, we still have to find a third vector that is linearly independent to the system {v1,v2}. Now v1 and v2 span a plane in which the last component is always zero. Thus v3=(0,0,1)T is a vector linearly independent of {v1,v2}.

Now the question is whether with these three vectors the maximum number of linearly independent vectors has already been reached. To answer this, let us first consider the vector (1,0,1)T as an example. We want to check whether we can add this vector to v1,v2 and v3 and still obtain a system of linearly independent vectors. First we note that

Vorlage:Einrücken

So we can write the above vector as

Vorlage:Einrücken

So (1,0,1)Tspan({v1,v2,v3}). Now let us ask the same question for any vector (a,b,c)T3 with a,b,c. For this we first get

Vorlage:Einrücken

With this consideration we obtain for (a,b,c)T the representation

Vorlage:Einrücken

Thus (a,b,c)Tspan({v1,v2,v3}). Since this vector was arbitrarily chosen, every vector from 3 is representable as a linear combination of the linearly independent vectors v1,v2 and v3. Thus {v1,v2,v3} is a generator of 3. Therefore, we cannot add another vector to v1,v2 and v3, so the system remains linearly independent, since every other vector from 3 can be represented as a linear combination of v1,v2 and v3. In other words, v1,v2 and v3 form a maximal system of linearly independent vectors.

In summary, we proceeded as follows to find a maximal system of linearly independent vectors: We start with a vector that is not the zero vector. That means we should not consider the null vector space here. Then we proceed step by step: Once we have found linearly independent vectors v1,...,vn, we form the span of these vectors. If this is the entire vector space, we have found a generator and are done. We choose a vector vn+1 that is not in span({v1,...,vn}). This contributes a new direction and the system v1,...,vn+1 is linearly independent again. Then we do the same again until we find a generator. We thus obtain the characterisation that a maximal system of linearly independent vectors is a generator of linearly independent vectors.

Via generators Vorlage:Anker

So far we have started with a system of linearly independent vectors (which is not yet a generator) and extended it until it became a maximal system of linearly independent vectors. Now we want to investigate what happens when we reverse the direction. That is, we start with a generator (which is not linearly independent) and reduce it until we find a minimum (i.e., linearly independent) generator.

Let us consider

Vorlage:Einrücken

First, we establish that E is a generator of 3 by following calculation: For a vector (α,β,γ)T3 with α,β,γ we have that

Vorlage:Einrücken

So we can represent any vector (α,β,γ)T3 as a linear combination of vectors from the generator.

Now we ask ourselves whether we can reduce the above generator without losing the property of it being a generator. The vector (1,0,1)T is a multiple of (1,0,1)T. That is, the direction represented by (1,0,1)T is the same as the direction represented by (1,0,1)T. Hence, we can remove this vector from E and obtain a new generator

Vorlage:Einrücken

Can we reduce the size of this generator, as well? Yes, since

Vorlage:Einrücken

So (2,1,1)T adds no new direction that is not already spanned by (1,0,1)T and (1,1,0)T. We thus obtain a smaller generator

Vorlage:Einrücken

Now we cannot reduce the generator any further without losing the property of it being a generator. For if we remove any of the three vectors in E2, it is no longer in the span of the remaining two vectors. For (1,0,1)T, for example, we see this as follows: Suppose we had some λ,μ, so that

Vorlage:Einrücken

Then λ=μ would have to hold because the second component must be zero on both sides. Because of the third component, μ=12 must be true. Thus we obtain the contradiction

Vorlage:Einrücken

So (1,0,1)T is not in span((1,1,0)T,(2,1,2)T). So we have found a generator containing linearly independent vectors (a minimal generator).

In summary, we proceeded as follows: We started with a generator of vectors v1,,vn and reduced it according to the following algorithm: If v1,,vn is a system of linearly independent vectors, we cannot remove any vector without losing the property of having a generator. That means we are done and we have found a minimal generator. In the converse case, we find a vector vi with i{1,,n} that is in span({v1,,vi1,vi+1,,vn}). This vector can be omitted and we obtain a new generator consisting of (n1) vectors. With this generator, we do the same steps again until we have found a system of linearly independent vectors.

We thus obtain the characterisation that a minimal generator is a generator consisting of linearly independent vectors.

Motivation - Conclusion

We have found the characterisations of linearly independent generators as minimal generators and as maximal linearly independent subsets. Thus the property of being a linearly independent generator is a special property of both linearly independent sets and generators. A set with both properties is called a basis in Linear Algebra.

Since bases are generators, every vector has a representation as a linear combination of basis vectors. This representation is unambiguous because bases are linearly independent. So we found another way of describing bases:

Vorlage:Important.

Definition: Basis of a vector space

Mathe für Nicht-Freaks: Vorlage:Definition

Mathe für Nicht-Freaks: Vorlage:Hinweis

Equivalent definitions of basis Vorlage:Anker

Mathe für Nicht-Freaks: Vorlage:Satz

Examples

Canonical basis in coordinate space Vorlage:Anker

The vector space Kn of the n tuples over the field K has a so-called standard basis or canonical basis

Vorlage:Einrücken

For instance, 3 has the canonical basis B3={(1,0,0)T,(0,1,0)T,(0,0,1)T} and the 2 the canonical basis B2={(1,0)T,(0,1)T}.

Mathe für Nicht-Freaks: Vorlage:Aufgabe

A different basis of 3

Mathe für Nicht-Freaks: Vorlage:Aufgabe

Example: complex numbers

The set of complex numbers is a vector space over , with multiplication by real numbers:

Vorlage:Einrücken

Then has as an -vector space the basis {1,i}, because for z we have unique λ,μ with z=λ+iμ=λ1+μi.

If we consider as a -vector space, {1,i} is no longer a basis of , since.

Vorlage:Einrücken

For as a -vector space we have the one-element basis {1}. As -vector space the complex numbers have a two-element basis (dimension is 2) and as -vector space a one-element basis (dimension is 1). So be cautious: it is important over which field we take a fixed vector space!

Abstract example

The vector space [x] of the polynomials with coefficients from has a basis with infinitely many elements. An example for a basis are the powers of x:

Vorlage:Einrücken

This is a generator, because for a polynomial f of degree n we have a representation

Vorlage:Einrücken

Where λi for all 0in. Thus every polynomial is a finite linear combination of elements from B. Consequently, B is a generator.

For linear independence we consider the following: With λi let:

Vorlage:Einrücken

We can also write the zero polynomial as 0=0xn++0x+0. A comparison of coefficients yields that

Vorlage:Einrücken

So B is a Basis.

Bases are not unique

Example: Basis of the plane is not unique

The blue vector v can be represented by two different bases.

We will show by using the plane 2 that the basis of a vector space is not unique. Let us look at the (canonical) basis for 2 consisting of the unit vectors:

Vorlage:Einrücken

These vectors obviously form a generator:

Vorlage:Einrücken

They are also linearly independent because it is impossible to find a linear combination of zero with non-trivial coefficients. Thus B1 is a basis. However, for the plane there are also a lot of other bases. An example is the following set:

Vorlage:Einrücken

We can generate all vectors with these two vectors:

Vorlage:Einrücken

These vectors are linearly independent because one vector is not a multiple of the other vector (two vectors are linearly dependent if one vector is a multiple of the other vector). Thus B2 is also a basis. These two examples show that the basis for 2 is not unique. And one can indeed find a lot of other bases, for instance by stretching and rotating.

Building a further basis from an existing one

In general, for every -vector space with a basis, we can construct a second, different basis: Consider the two-dimensional vector space V with a basis B1={b1,b2}. Then B2={b1,b2b1} is also a basis of V. The same argument of "substituting the last vector" also works in higher dimensions. We first show that B2 is a generator and then that the basis vectors are linearly independent.

Let cV be any vector and c=λ1b1+λ2b2 a linear combination of it using elements of the basis B1. Then a linear combination of c can also be found via vectors from B2:

Vorlage:Einrücken

Thus B2 is a generator because the vector c was arbitrarily chosen.

We show that the basis vectors are linearly independent via proof by contradiction. To do this, we prove that if B2 is linearly dependent, then B1 must also be linearly dependent. By contraposition, it thus follows that B2 is linearly independent if B1 is linearly independent (which it must be the case it is a basis). If B2 is linearly dependent, there is a representation of zero:

Vorlage:Einrücken

Here λ10 or λ20. Now we also find a representation of the zero with the basis B1:

Vorlage:Einrücken

We still have to show that one of the coefficients λ1λ2 or λ2 is not equal to zero. As a premise we have λ10 or λ20. The case λ20 leads directly to the non-trivial representation of the zero, since this factor also appears in the second equation.

If λ10 holds, we have to distinguish again. If λ10 and λ1=λ2, then λ20 and hence one of the coefficients is not zero. If λ10 and λ1λ2 hold, then λ1λ20 and hence the first coefficient is non-zero.

It follows that one of the coefficients is always non-zero. Thus the vectors of the basis B1 are also linearly dependent. It follows (by contradiction) that B2 is linearly independent if B1 is linearly independent. B2 is thus a new basis constructed from the first basis.

This principle can also be applied to larger bases and shows: The basis of a vector space is (usually) not unique. A vector space with dimension equal to or larger than 2 has several bases.

Proving existence and constructing a basis

Existence of a basis

We have not yet answered the question of whether there is a basis for every n vector space at all. Attention, this is not self-evident, as bases may be infinitely large! Nevertheless, you can rejoice, because the answer is: Yes, every vector space has (at least) one basis.

Of course, we still have to justify this answer. For the case of finitely generated vector spaces, i.e. all vector spaces that have a finite generator, we will prove this in a moment. For infinitely generated vector spaces, i.e. vector spaces that do not have a finite generating system, the proof is much more complicated and uses the axiom of choice.

Mathe für Nicht-Freaks: Vorlage:Satz

Mathe für Nicht-Freaks: Vorlage:Satz

Construction of a basis by removing vectors

Now we know that every vector space has a basis, but how can you find a basis for a given vector space? For finitely generated vector spaces, the proof of the theorem on the existence of a basis gives you a procedure for constructing a basis in finitely many steps (it is not applicable for infinitely generated vector spaces). According to the basis completion theorem, we can proceed as follows:

  1. Find a finite generator E of the vector space.
  2. Check whether E is linearly independent.
    • If yes: We are done and the generator is a basis.
    • If no: Find a smaller generator EE of the vector space and repeat step 2.

We now need an explicit way to get a smaller generator EE from a finite generator E={e1,,en}, which is not a minimal generator. Since E is not a minimal generator, E is linearly dependent. So we find λ1,,λnK so that not all λi=0 and we have that

Vorlage:Einrücken

Now we choose an i{1,,n} with λi0 and set

Vorlage:Einrücken

We now want to show that E is also a generator. In the article linear independence of vectors we have proven that

Vorlage:Einrücken

Since E is a generator of V, we find for a vector vV scalars μ1,,μnK such that

Vorlage:Einrücken

Thus vspan(E). Since vV was arbitrarily chosen, it follows that E is a generator. With the proof of the basis theorem, we now get the following procedure for determining a basis:

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

Construction of a basis by adding vectorsVorlage:Anker

Alternatively, we can proceed as in the section Motivation via linear independence; that is, we start with a linearly independent set and extend it until it is maximal, i.e., a basis.

Mathe für Nicht-Freaks: Vorlage:Satz

This proof gives you another method to determine a basis of a finitely generated vector space in finitely many steps (this method is also only applicable for finitely generated vector spaces):

  1. Choose a finite generator and start with the empty set as your first linearly independent set.
  2. Try to find a vector from your generator that is not in the span of your previous linearly independent set. If you don't find one, you're done.
  3. Add the vector you found to your linearly independent set and go back to Step 2.

In the next chapter we will see that every two bases of the same finitely generated vector space have the same cardinality. We get that every linearly independent set that has as many elements as a basis is automatically already a maximally linearly independent subset. Therefore, we can change step 2 in the above procedure as follows: "Try to find a vector from your vector space that is not in the span of your previous linearly independent set. If you don't find one, you're done." In this variant of the procedure, you do not have to choose a generator in Step 1.

Examples: Construction of a basis by removing vectors

Mathe für Nicht-Freaks: Vorlage:Beispiel

Mathe für Nicht-Freaks: Vorlage:Beispiel

Example: Construction of a basis by adding vectors

Mathe für Nicht-Freaks: Vorlage:Beispiel

Mathe für Nicht-Freaks: Vorlage:Beispiel

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