Lecture 4 - (Online) Subspaces and Constructions

Subspaces

Let's just start with the definition:

Subspace

A subspace U of a vector space V if U is also a vector space (under the same operations of U)

The question here is what properties of a subspace are guaranteed given that V itself is a vector space? We expect many properties to carry over to U. There are some things to consider:

  1. The 0→ may not be in U. Being a subspace doesn't guarantee it.
  2. We need to be careful that u→+v→∈U for any u→,v→∈U. It's possible that we leave U and enter the uncovered part of U in V.
  3. Similarly, we may "leave" U when doing scalar multiplication of u→.
Theorem

A subset U of a vector space V iff:

  1. Additive Identity: 0→∈U.
  2. Closed under vector addition: ∀x,y∈U,x+y∈U
  3. Closed under scalar multiplication: ∀x∈U,∀α∈F,αx∈U.

Before we prove this, let's go through some examples:

Example

Let W={(x1,x2,0):x1,x2∈R}. Clearly W⊆R3. We claim that this subset is a subspace of R3.

Proof

  1. Notice 0→=(0,0,0)∈U.
  2. Let x→,y→∈U be arbitrary, so then we can say that x→=(x1,x2,0),y→=(y1,y2,0), for x1,x2,y1,y2∈R. Notice that:
x→+y→=(x1+y1,x2+y2,0)∈U
  1. Let x→∈U be arbitrary, and likewise for α∈R. We define x→ the same as in (2). Notice that:
αx→=(αx1,αx2,0)∈U

Therefore, U is a subspace of R3.
☐

Example

Recall: Mn×n(F) is the vector space of n×n matrices, with entries from F. Recall that a matrix is symmetric if it is equal to it's transpose (A=AT); the entries are symmetrical about the diagonal. For example:

[0121−15257]

We claim that the set of n×n symmetric matrices are a subspace of Mn×nF.

Proof
Let's just prove it for n=3, as the process is largely the same for any n.

  1. Notice 0→ is the zero matrix in our subspace:
[000000000]∈S
  1. Let A,B∈S. Consider A+B∈S:
A=[abcbdecef],B=[ghihjkikl],A+B=[a+gb+hc+ib+hd+je+kc+ie+kf+l]∈S
  1. Let α∈F. Then:
αA=[αaαbαcαbαdαeαcαeαf]∈S

☐

RR

This is the vector space of functions from R→R.

Proof

  1. The zero function is in RR.
  2. ... (you can show the rest pretty easily).
    ☐

Constructions of New Subspaces from Old Ones

Let V be a vector space. Let U,W be subspaces of V. A couple questions we should answer are:

  1. Is U∪W a subspace of V?
  2. Is U∩W a subspace of V?

Notice that clearly if (1) is true then (2) must be true, but let's take it one step at a time:

1: Is U∪W a subspace of V?

Let's look at an example to see what's going on here:

Example

Let U={(x1,x2,0):x1,x2∈R} and W={(0,x1,x2):x1,x2∈R}. These both are subspaces of R3, which itself is a vector space.

But notice that U∪W isn't closed under vector addition. If we take u∈U and w∈W, then:

u+w=(u1,u2,0)+(0,w1,w2)=(u1,u2+w1,w2)∉U∪W

So U∪W is not closed under vector addition, so U∪W is not a subspace of W.

2: Is U∩W a subspace of V?

It turns out that U∩W is indeed a vector space. The proof is in HW 1 - Vector Spaces#1.C TODO (read first).

A new question (Smallest Subspace)

What is the smallest subspace of V that contains both U∪W? We know that it's possible that U∪W to not be a subspace, but what are the conditions that make it not so?

Define a set S={u+w:u∈U,w∈W}. This is essentially saying the set of vectors that are spanned by anything from u and w. You may note that the smallest subspace of V that contains both U and W must also contain S (by definition)

Is S a subspace? Yes! Why? Let's prove it:

Proof

  1. 0→∈S,0→=0→+0→
  2. Let s→1=u→1+w→1, s→2=u→2+w→2. then s→1+s→2=(u→1+w→1)+(u→2+w→2)=(u→1+u→2)+(w→1+w→2). But look! u→1+u→2∈U and likewise w→1+w→2∈W so then since S is defined as it is, by definition s→1+s→2∈S.
  3. Let α∈F be arbitrary, and s→∈S. Notice that αs→=α(u→+w→)=αu→+αw→. The former vector αu→∈U and αw→∈W so then by definition then αs→∈S.
    ☐
    Note that S is the smallest subspace containing both u→,w→. We give S some notation, namely as the sum of two subspaces U,W:
The Sum of Vector Spaces

Suppose U1,...,Um are subspaces of vector space V. The sum of U1,U2,...,Um, denoted by U1+U2+...+Um, is the set of all possible sums of elements from U1,...,Um:

U1+...+Um={u→1+...+um→|u→1∈U1,...,u→m∈Um}

And U1+...+Um is the smallest subspace containing U1,...,Um.

We use the words "smallest" to mean that there exists no strict subset F from U1,...,Um such that F is a vector space while containing all of U1,...,Um.