



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




3.2 Subspaces.............................................. 1 Subspaces............................................. 1 The NULLSPACE of a matrix.................................. 3 The Span of a set of vectors................................... 4 Spanning sets for a vector space................................. 5
iii
Introduction: Think of the usual three-dimensional space R^3. Choose a plane through the origin (0,0,0). That plane is a vector space in its own right. If we add two vectors in the plane, their sum is in the plane. If we multiply an in-plane vector by 2 or −5, it is still in the plane. The plane is not R^2 (even if it looks like R^2 ). The vectors have three components and they belong to R^3. The plane is a vector space inside R^3. This illustrates one of the most fundamental ideas in linear algebra. The plane is a subspace of the full vector space R^3.
Definition. If S is a nonempty subset of a vector space V , and S satisfies the following “closure” properties:
(i) αx ∈ S whenever x ∈ S, for any scalar α
(ii) x + y ∈ S whenever x ∈ S and y ∈ S,
then S is said to be a SUBSPACE of V. We say S is closed under scalar multiplication and addition. These operations follow the rules of the host space, V , so the eight required axioms from Section 3.1 are automatically satisfied. We just have to check the requirements (i) and (ii) for a subspace.
REMARKS
Determine whether the following sets are subspaces or not.
We can show that S is a subspace both geometrically and algebraically. Geometrically: S is the set of all vectors in the given plane through the origin.
(i) If we multiply a vector in the plane by any scalar α, we still get a vector in the plane ⇒ (i) is satisfied. (ii) If we add two vectors in the plane, their sum is a vector in the plane ⇒ (ii) is satisfied.
Algebraically: Let x = (x 1 , x 2 , x 3 ) and y = (y 1 , y 2 , y 3 ) in S, then 5x 1 − 3 x 2 − 7 x 3 = 0 and 5y 1 − 3 y 2 − 7 y 3 = 0.
(i) We want to show that αx = (αx 1 , αx 2 , αx 3 ) ∈ S for every scalar α, that is, αx satisfies the equation of the plane. Now, 5(αx 1 ) − 3(αx 2 ) − 7(αx 3 ) = α(5x 1 − 3 x 2 − 7 x 3 ) = α0 = 0, thus αx ∈ S.
, and B =
Then A ∈ S and B ∈ S since det(A) = det(B) = 0, but A + B =
6 ∈ S since det(A + B) = − 2 6 = 0. Thus S is not closed under addition.
COUNTEREXAMPLE: Let A =
(^) and B =
. Both A and B are elements
of S since they are in RREF.
However, A + B =
(^) is not in RREF, thus S is not closed under addition.
Also, if A is in RREF and α 6 = 1, then αA is not in RREF and S is not closed under scalar multiplication.
x 1 x 2
| x^21 − x^22 = 0} S IS NOT A SUBSPACE. COUNTEREXAMPLE: x =
and y =
are both in S, however, x + y =
is not
in S (since 1^2 − 32 6 = 0) , thus S is not closed under addition.
Definition. The NullSpace of an m × n matrix A, denoted by N (A) is defined by N (A) = {x ∈ Rn^ | Ax = 0 }. i.e. N (A) is the set of all n-vectors solutions of the homogeneous system Ax = 0.
Property. N (A) is a subspace of Rn.
Proof. We need to verify the closure properties.
(i) Let x ∈ S, then A(αx) = α(Ax) = α 0 = 0 , thus αx ∈ S.
(ii) Let x, y ∈ S, then A(x + y) = Ax + Ay = 0 + 0 = 0 , thus x + y ∈ S.
Both closure properties are satisfied and S is a subspace.
EXAMPLE: The set S in Example 10 above can be seen as the Nullspace of the matrix
A =
and it is therefore a subspace.
NOTE that the set of vectors solutions of Ax = b with b 6 = 0 is not a subspace since it does not contain
the zero vector (also neither closure property is satisfied).
EXAMPLE
Determine N (A) if A =
Answer. Determining the NullSpace is equivalent to determining the solution set of the homogeneous
system Ax = 0. The RREF of the given matrix is
. The free variables are x 2 and x 3. Let
x 2 = s and x 3 = t, then x 1 = − 2 s + 3t and
N (A) =
− 2 s + 3t s t
s
(^) + t
(^) , s, t scalars
The NullSpace of A is the plane x 1 + 2x 2 − 3 x 3 = 0 and the plane can be described parametrically by a linear combination of the vectors (− 2 , 1 , 0)T^ and (1, 0 , 1)T^.
RECALL: A linear combination of the vectors x and y is any vector of the form α 1 x + α 2 y, where α 1 and α 2 are scalars.
Definition The span of the vectors x and y, denoted by span(x, y) is the set of all possible linear combinations of x and y.
EXAMPLES
Answer: We need to find c such that
c
(^) = α 1
(^) + α 2
(^) has a solution for some
α 1 and α 2.
The corresponding system is
α 1 α 2
c
. The augmented matrix is
2 1 c
The RREF of this matrix is
0 0 c − 8
(^). The system is consistent if c = 8 with solution
α 1 = 3 and α 2 = 2. If c = 8 the vector can be written as z = 3x + 2y and z ∈ span(x, y).
(a) x = (1, 0 , 0)T^ , y = (0, 1 , 0)T^ (xy plane in R^3 ) (b) x = (1, 0 , −1)T^ , y = (0, 0 , 2)T^ (xz plane in R^3 ) (c) x = (0, − 1 , 7)T^ , y = (0, 0 , 1)T^ (yz plane in R^3 )
We can generalize the Definition above to any set of vectors:
Definition. The subspace of the vector space V consisting of all linear combinations of n vectors v 1 , v 2 ,... , vn is called the span of the vectors and denoted by span(v 1 , v 2 ,... , vn). It is the smallest subspace of V containing all the vectors vi, i = 1,... , n.
EXAMPLE span(e 1 , e 2 , e 3 ) = R^3 , where e 1 , e 2 and e 3 are the standard unit vectors. Indeed any vector in R^3 can be expressed as a linear combination of e 1 , e 2 and e 3 : (x 1 , x 2 , x 3 ) = x 1 e 1 + x 2 e 2 + x 3 e 3.
The RREF of this matrix is
1 − 1 2 a/ 2 0 0 0 b − a/ 2 0 0 0 c + a
If b − a/ 2 6 = 0 or c + a 6 = 0 the system is inconsistent. Thus there are vectors that cannot be expressed as a linear combination of v 1 , v 2 and v 3 and the set DOES NOT span R^3. Note that v 2 = −v 1 and v 3 = 2v 1 , thus span(v 1 , v 2 , v 3 ) = span(v 1 ) = span((2, 1 , −2)T^ ). The vectors are collinear and they span a line. Any vector not on the line cannot be written as a linear combination of the given vectors. For instance, (a, b, c)T^ = (0, 2 , 3)T^ cannot be expressed as a linear combination since b − a/2 = b = 2 6 = 0.