Vector Spaces
In questa pagina 6
1. , and
Definition. For , an ordered -tuple of real numbers is a collection of real numbers in a fixed order, written . For it is an ordered pair, for an ordered triple; an ordered 1-tuple is just a real number. The order matters: . (If a pair records "weight of a parcel in kg, price in euro", then and are different pieces of information.)
Definition. For , So , is the set of ordered pairs, etc. The elements of are called vectors; the numbers of are its components; is the zero vector, written .
Vectors of can be pictured as points on a line, in the plane, in space; often they are drawn as arrows (a movement, or in physics a force with strength and direction), e.g. , , in the plane and in space.
1.1 Addition of vectors
Definition. For and in the same , The sum is only defined for vectors in the same : is meaningless.
Lemma. For :
- (commutativity);
- ;
- (associativity).
These reduce to the same identities for real numbers, component by component. Geometric intuition for commutativity is the parallelogram law: e.g. for , one gets , the far corner of the parallelogram spanned by and .
1.2 Scalar multiplication
Definition. For and , Geometrically this stretches by the factor : for it is stretched, for compressed, for it is additionally flipped. For example and .
Unlike the sum, scalar multiplication combines two different kinds of objects: a real number and a vector.
Lemma. For and :
- (distributivity);
- (distributivity);
- ;
- ;
- .
Again immediate from the corresponding rules for real numbers.
1.3 Definition of a vector space
Definition. A vector space is a set equipped with two functions, the sum and the scalar multiplication, satisfying the following conditions, for all and (elements of are called vectors):
- (commutativity of addition);
- ;
- there is a vector , the zero vector, with for all ;
- (distributive law);
- ;
- ;
- ;
- (on the left the real number zero, on the right the zero vector).
The notation means that is a function whose input is a pair of elements of and whose output is again an element of ; likewise takes a pair (real number, element of ) and returns an element of . (Some authors write for vectors; these notes do not.)
Example. , and in general are vector spaces: the eight conditions are exactly the properties of the two lemmas above.
Example (sets that are not vector spaces). In each case draw the set and find the failing condition:
- (a half-plane): closed under addition, but leaves the set, so closure under scalar multiplication fails;
- : the zero vector is missing (and scalar multiples by negative numbers leave the set);
- the solution set of (a line not through the origin): is not a solution, so no zero vector; also the sum of two solutions has right-hand side ;
- (the union of the two axes): lies on neither axis, so the sum is not in the set.
2. Solution sets of homogeneous linear systems
Recall that a homogeneous linear system has all constant terms : The solution sets of such systems are vector spaces, an extremely important class of examples. First a single equation.
Example. The equation has solution set since is a solution precisely if with arbitrary. Concrete elements: , , . Triples and give two lines through the origin (in the -plane and in the -plane); the whole solution set is a plane through the origin.
The converse question is also natural: given a plane through the origin in (drawn as extending in all directions), find a homogeneous equation in whose solution set it is. We will want to say: such a plane is a vector space inside the larger ambient vector space .
Definition (subspace). A subspace (sub-vector space) of is a subset that is, in its own right, a vector space, i.e.
- contains the zero vector;
- for all the sum is in ;
- for all and the multiple is in .
More generally, a subset of another vector space is a subspace if it satisfies these three conditions.
So the solution set of is not a vector space because is not a solution: the equation is not homogeneous. This is the only obstruction:
Proposition. The solution set of a homogeneous linear system (H) in variables and equations is a subspace of .
Proof. Check the three conditions.
- : plugging into every gives in all equations.
- Let , . Then . The -th equation reads ; inserting for : This holds for , so .
- Similarly, for and : , so .
3. Intersection of subspaces
Lemma. If are subspaces of a vector space , then the intersection is again a subspace of . More generally the same holds for any finite number of subspaces: .
Proof. We check the conditions of the definition of a subspace. The zero vector because ( is a subspace) and . If , then (both lie in ) and (both lie in ), so . The scalar multiples are treated in the same way.
(Picture: two planes through the origin in meet in a line ; sums of vectors of that line stay on the line.)
Why this matters. Consider again (H). Each individual homogeneous equation has a solution set which is a subspace (by the proposition applied to one equation). A vector solves the whole system precisely if it solves each equation, so the solution set of the system is
Question. For subspaces of , how much smaller can be than and ? In ("3-dimensional") with planes ("2-dimensional"), is a line ("1-dimensional") --- unless , when is again 2-dimensional. Similarly two lines in meet in a line if , otherwise only in the origin. In larger ambient spaces (e.g. ) there are too many constellations to list; the answer is given by the dimension formula in Bases and DimensionA basis is a linearly independent generating system; all bases of a vector space have the same number of vectors, the dimension, and the dimensions of intersection and sum of two subspaces are linked by dim(A cap B) = dim A + dim B - dim(A+B).Bases and Dimension →.
4. Further examples of vector spaces
4.1 Polynomials
A function is a polynomial if with real numbers , the coefficients. Its degree is the largest exponent with . A constant function has degree (as ); is a linear polynomial (degree if ); is quadratic (degree if ).
For example with and one has .
Definition and Lemma. The set is a vector space with the sum and the scalar multiple The set of polynomials of degree at most is a subspace of .
Proof. One must check the eight conditions. The notable point (as often) is that the sum and scalar multiple are again elements of the space. For and (pad with zero coefficients to the same length) again a polynomial. Likewise is a polynomial with coefficients . The remaining conditions are checked in a comparatively uninsightful way and are skipped. For : the zero polynomial has degree at most , and sums and scalar multiples of polynomials of degree have degree .
Remarks. The product of two polynomials is again a polynomial, but this plays no role for vector spaces. More generally, , and are increasingly large vector spaces (the space of differentiable functions is a key player in analysis).
4.2 Direct sums
Definition and Lemma. For vector spaces the direct sum is with addition and scalar multiplication . These operations make a vector space. The same works for finitely many (or even infinitely many) spaces, giving .
Checking the eight axioms for reduces to the same axioms for and for . The zero vector is .
Examples. , and in general (clear from the definitions of sum and scalar multiplication in ). Also , and identifying with the triple gives , with the usual operations.
Note that sits inside via and via , so contains both.
4.3 Quotient spaces (a special case)
All examples so far were subspaces of some ; not all vector spaces embed naturally into one. A quotient space illustrates this.
Definition. Let and a line through the origin. Set Sum: for pick any , and let be the unique line through parallel to . Scalar multiple: is the line through parallel to .
The remarkable point is that the result does not depend on the choices. If is another point of , then , so : the points and differ by a vector of and so lie on the same line parallel to . With this settled, is indeed a vector space (what is its zero vector? the line itself, since ). There is no natural way to regard as a subspace of : assigning to the -coordinate of its intersection with the -axis is ad hoc (why not the -axis? and what if is the -axis?).
5. Linear combinations
From now on is a vector space (for example ).
Definition. A linear combination of is a vector
Examples.
- : the linear combinations of are the scalar multiples .
- In let , . Then is a linear combination. But is not: for all , since the third components differ. In fact the linear combinations of are precisely the vectors with (the -plane).
The -plane is a subspace of (it contains and is closed under sums and multiples), also because it is the solution space of the homogeneous equation . We will see that for two vectors there is always some (indeed infinitely many) that is not a linear combination of them.
Lemma. For any the set is a subspace of , called the span (or linear hull) of these vectors.
Proof. Write .
- : by properties (4) and (8) of a vector space.
- Let : and . Then .
- For and one checks similarly that .
Example. .
5.1 Sums of subspaces
Definition. For subspaces the sum is and for subspaces : .
Lemma. is again a subspace of (the proof is very similar to the one for the span and is omitted in the source).
Remarks.
- : both sets consist exactly of the vectors .
- The sum is completely different from the union , which in general is not even a subspace (just a subset). We have : indeed because and any is ; similarly . The two sets are distinct unless or is .
- is also different from the direct sum : the sum uses the ambient space , while is insensitive to lying in and does not see how much overlap.
Question. How much bigger than is ? Roughly, gets bigger as gets smaller; making this precise requires dimension (see Bases and DimensionA basis is a linearly independent generating system; all bases of a vector space have the same number of vectors, the dimension, and the dimensions of intersection and sum of two subspaces are linked by dim(A cap B) = dim A + dim B - dim(A+B).Bases and Dimension →).
5.2 Generating systems
Definition. A collection is a generating system of if , equivalently if every is a linear combination of them. We also say they span .
Example. , , \dots, generate : each equals .
Example. do not generate : they span only ; is missing.
Example (three vectors that do not generate ). Let , , . A vector is in the span exactly when is solvable. Compare components: a system in the unknowns with parameters . Augmented matrix and elimination (subtract row 2 from row 3):
- If (i.e. ): already reduced; is free, , . So every is in the span: for arbitrary .
- If : divide the last row by to get the row : no solution. So with is not in the span.
Hence .
Method (does span ?). Form the matrix whose -th row is ( if ). Bring it to row-echelon form by Gaussian elimination. If has leading ones, then span ; otherwise they do not. (Proved later in the source, via the theory of matrices.)
Corollary. Fewer than vectors can never span (since has at most leading ones).
6. Linear independence
For any , by the distributive law and . So there is always a "trivial" way to obtain the zero vector. The question is whether there are others.
Definition. are linearly dependent if there are , at least one non-zero, with Otherwise they are linearly independent: the trivial combination (T) is the only way to get .
Examples.
- are linearly independent: if , the left side is , which forces . The same argument shows are linearly independent.
- , , are not independent: , so .
- The polynomials are linearly independent in . If (the constant polynomial ), then since this holds for all all three coefficients vanish: This homogeneous system has only the trivial solution: , , and then , so .
Lemma. are linearly dependent exactly if (at least) one of them is a linear combination of the others:
Proof. If (R) holds, then is a combination with a non-zero coefficient (), so the vectors are dependent. Conversely, if with some , subtract and divide by (non-zero, crucially): which is of the form (R).
So a family is independent when there is no redundancy among its members.
Method (are independent?). Form the matrix with rows and bring it to row-echelon form . If has leading ones, then are linearly independent; otherwise they are dependent. (A proof uses later results on matrices.)
Corollary. More than vectors in are never linearly independent (for , has at most leading ones).
Remark. This is the same computation as the spanning test; only the target changes: leading ones (spanning) versus leading ones (independence).
Example. For , , the matrix with these rows reduces as Only two leading ones, so the vectors are dependent.
Proposition (unique representation). Let be linearly independent in . If a vector can be written as a linear combination of them in two ways, and , then .
Proof. Subtract the equations (using commutativity and distributivity): By linear independence .
Continue with Bases and DimensionA basis is a linearly independent generating system; all bases of a vector space have the same number of vectors, the dimension, and the dimensions of intersection and sum of two subspaces are linked by dim(A cap B) = dim A + dim B - dim(A+B).Bases and Dimension →, where independence and spanning are combined.
Versione ripasso
. Vectors ; and componentwise. Rules: commutativity and associativity of , , distributivity, , , .
Vector space = set with and satisfying the 8 rules: ; ; a zero vector with ; ; ; ; ; . Non-examples: (fails ), solution set of (no zero vector), union of the two axes (fails ).
Subspace of : contains ; closed under ; closed under scalar multiples.
- Solution set of a homogeneous system is a subspace of (zero is a solution; sums and multiples of solutions are solutions, by distributivity). A non-homogeneous system's solution set misses .
- Intersection (and finite intersections) of subspaces is a subspace. The solution set of a system is .
- Sum is a subspace; , but the union is in general not a subspace.
Examples of vector spaces.
- Polynomials with , ; is a subspace.
- Direct sum with componentwise operations; zero ; .
- Quotient = lines parallel to ; operations via representatives, well defined because ; zero vector is .
Linear combinations and span.
- Linear combination ; = set of all of them = subspace (the spanalso called the linear hull of the vectors); .
- Generating system: . generate .
- Spanning test in : rows , row-echelon form ; span iff has leading ones. Fewer than vectors never span .
- Example: span only (last row becomes ).
Linear independence. forces all . Dependent: some non-trivial combination is one vector is a combination of the others (divide by a non-zero coefficient).
- Independence test in : rows , echelon form ; independent iff has leading ones. More than vectors in are always dependent.
- Unique representation: with independent , a given has only one expression (subtract two expressions).
- Examples: independent; dependent since ; independent (homogeneous system has only the trivial solution).
Typical mistakes.
- Checking only that a candidate set contains : all three subspace conditions are needed; the union of two subspaces fails closure under .
- Confusing the sum (inside ) with the direct sum (pairs) and with the union .
- Mixing up the two tests: spanning needs leading ones (number of coordinates), independence needs leading ones (number of vectors).
- In the dependence lemma, forgetting that one must divide by a non-zero coefficient .