Serlo: EN: Generators: Unterschied zwischen den Versionen

Aus testwiki
Zur Navigation springen Zur Suche springen
imported>Sascha Lill 95
 
(kein Unterschied)

Aktuelle Version vom 5. Januar 2021, 17:28 Uhr

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

A generator is a subset of a vector space that spans the entire vector space. Thus, every vector of the vector space can be written as a linear combination of vectors of the generator.

Derivation and definition

Consider the three vectors (1,0,0)T,(0,1,0)T,(0,0,1)T of 3. Any vector of 3 is a linear combination of these three vectors, because for all (α,β,γ)T3 we have that:

Vorlage:Einrücken

Let

Vorlage:Einrücken

We have that: 3=span(M), that means M spans/generates the entire vector space. Sets with this spanning/generating property are called generators:

Mathe für Nicht-Freaks: Vorlage:Definition

If M is a generator of V, then for every vV there are elements m1,m2,,mkM and λ1,λ2,,λkK such that v=i=1kλimi. Each vector vV can thus be written as a linear combination of elements from M.

Mathe für Nicht-Freaks: Vorlage:Hinweis

Examples

Generators of the plane

The vectors e1=(1,0)T and e2=(0,1)T span/generate the plane 2. For all v=(α,β)T2 we can write in coordinates:

Vorlage:Einrücken

Thus every vector of the plane can be written as a linear combination of e1 and e2.

Vector space of polynomials

Let us consider the vector space V2 of polynomials of degree less than or equal to two. Here any polynomial can be formed by a linear combination of the polynomials P(x)=1, Q(x)=x and R(x)=x2. Every polynomial with degree less than or equal to two has the form ax2+bx+c=aR(x)+bQ(x)+cP(x). So {P(x),Q(x),R(x)} is a generator of V2.

We can also formulate this for polynomials of arbitrarily high degree:

If K is a field and K[X] is the vector space of polynomials with coefficients in K, then every element of K[X] has the form P=a0+a1X+a2X2+anXn, so it is a (finite! ) linear combination of 1,X,X2,X3,.

Therefore the (infinite) set of monomials {1,X,X2,X3,} is a generator of K[X].


Generators are not unique

a vector space can have several generators. The generator is usually not uniquely determined.

Let us take the plane 2 as an example. The set {(1,0)T,(0,1)T} is a generator of the plane, since all (α,β)T2 can be represented as a linear combination of the two vectors e1=(1,0)T and e2=(0,1)T:

Vorlage:Einrücken

The vectors e1=(1,0)T, e2=(0,1)T, e3=(1,1)T also generate the 2, because v can be represented as follows:

Vorlage:Einrücken

Thus the vector v can be represented by two different linear combinations of {e1, e2} and {e1,e2,e3}. This shows that vector spaces can have multiple generators.

Proofs about the generator

How to prove that a set generates Kn?

We sketch in this section how to prove that a set is a generator of a vector space Kn (K is a field). A subset M of a vector space V is called a generator if every vector vV can be represented as a linear combination of the vectors from M.

Let M={v1,vn} be the given set of vectors. Then one has to show that for all vectors vKn, there are coefficients λ1,,λnK such that

Vorlage:Einrücken

This equation can usually be translated into a system of equations, and the λi provide a solution of this system of equations. We can summarise the general procedure like this:

  1. Select a vector v of the vector space V.
  2. Equate v with a linear combination of vectors v1,,vn with unknown coefficients λ1,,λnK.
  3. Solve system of equations according to the variables λ1,,λm. If there is always at least one solution, then M is a generator. If there is no solution for a vector v, then M is not a generator.


Example

Mathe für Nicht-Freaks: Vorlage:Aufgabe

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