Docsity

Subspaces in Applied Linear Algebra - Study Guide | MAT 343, Study notes of Linear Algebra

Toggle sidebar
bg1
Contents
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
pf3
pf4
pf5

Partial preview of the text

Download Subspaces in Applied Linear Algebra - Study Guide | MAT 343 and more Study notes Linear Algebra in PDF only on Docsity!

Contents

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

Subspaces

Subspaces

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

  1. Every subspace of a vector space is a vector space on its own right (axioms are automatically satisfied).
  2. V and { 0 } are subspaces of V ; all other subspaces are called proper subspaces.
  3. IMPORTANT!!! Every subspace contains the zero vector (it follows from (i) with α = 0) ⇒ always check this first when determining whether a subset is a subspace or not.

EXAMPLES

Determine whether the following sets are subspaces or not.

  1. S = {(x 1 , x 2 , x 3 ) | 5 x 1 − 3 x 2 − 7 x 3 = 0}

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.

  1. S = {p ∈ Pn | p(2) = 1}. S DOES NOT contain the zero polynomial because the zero polynomial, p(x) = 0xn−^1 + 0xn−^2 +... + 0x + 0, does not satisfy p(2) = 1 (since p(x) = 0 for all x) Thus S IS NOT A SUBSPACE (we can also easily check that both (i) and (ii) fail).
  2. S = {A ∈ R^2 ×^2 | det(A) = 0} S IS NOT a subspace. COUNTEREXAMPLE: Let A =

[

]

, 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.

  1. S = { 3 × 3 matrices in Reduced Row Echelon Form} S IS NOT A SUBSPACE.

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.

  1. S = {x =

[

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.

  1. S = {(x, y, z) | − 9 x − 2 y = 0, 4 x + 3z = 0} Geometrically: S is the intersection of two non parallel planes in R^3. The planes intersect at the origin, thus S is a line through the origin and is therefore a subspace.

The NULLSPACE of a matrix

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.

The Span of a set of vectors

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

  1. z = (3, 2 , 1)T^ is in the span of x = (1, 1 , 1)T^ and y = (2, 0 , −2)T^ since z = 2x + 12 y
  2. For what values of c is the vector z = (− 1 , 3 , c)T^ in the span of x = (1, − 1 , 2) and y = (− 2 , 3 , 1)?

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).

  1. Describe geometrically the span of the following vectors

(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.

  1. Show that { 1 , x, x^2 } a spanning set for P 3 (the set of polynomials of degree strictly less than 3). Answer: Any arbitrary polynomial in P 3 , ax^2 + bx + c can be written as a linear combination of the given vectors, thus the set IS a spanning set.
  2. Is { 1 , x − 1 , x^2 − 2 } a spanning set of P 3? Given an arbitrary polynomial in P 3 , we need to determine if we can express this polynomial as a linear combination of the given vectors: ax^2 + bx + c = α 1 + α 2 (x − 1) + α 3 (x^2 − 2) Rearranging terms yields: ax^2 + bx + c = α 3 x^2 + α 2 x + (α 1 − α 2 − 2 α 3 ) Matching coefficients gives: α 3 = a, α 2 = b and α 1 = 2a + b + c. Thus the set IS a spanning set.
  3. Is { 1 , x^2 , x^2 − 2 } a spanning set of P 3? The set cannot be a spanning set since obviusly a polynomial with a linear term in x cannot be expressed as a linear combination of the elements of the set.