A subset V⊂𝐑n is a linear subspace if:
-
for all v,w∈V , v+w∈V (closed under addition),
-
for all v∈V and λ∈𝐑 , λv∈V (closed under rescaling).
In this video we will explain in more detail what a subspace is. Recall from the last video that subspaces are generalisations of lines/planes and the set of solutions of a system of simultaneous equations in n variables forms a subspace of 𝐑n .
A subset V⊂𝐑n is a linear subspace if:
for all v,w∈V , v+w∈V (closed under addition),
for all v∈V and λ∈𝐑 , λv∈V (closed under rescaling).
Note that nonempty linear subspaces always contain the origin: if v∈V then 0v∈V by the second axiom, and 0v=0 is the zero-vector (the origin). Note that there are systems of simultaneous equations for which (0,…,0) is not a solution; likewise, there are lines and planes that do not pass through the origin. So for our purposes, we need something more general than linear subspaces.
V⊂𝐑n is called an affine subspace if there exist a vector w∈𝐑n and a linear subspace U⊂𝐑n such that V=w+U:={w+u:u∈U} ; in other words, V is obtained by translating U by the vector w .
Given a system of simultaneous equations in matrix form Av=b , the set of solutions v=(v1⋮vn) form an affine subspace of 𝐑n , (n is the number of variables). It is a linear subspace if and only if b=0 .
First, let's assume b=0 . We'll prove that the set of solutions satisfies the axioms for being a linear subspace. If v,v′ are solutions then Av=Av′=0 , so A(v+v′)=0+0=0 , and if λ∈𝐑 then Aλv=λAv=λ0=0 . Therefore both v+v′ and λv are solutions and the set of solutions is a linear subspace. It's also nonempty because v=0 is always a solution to Av=0 .
Now suppose b≠0 . If there are no solutions then the set of solutions is empty, and the empty set is an empty subspace. So suppose there is at least one solution w . Let U be the set of solutions to Au=0 . Let S be the set of solutions to Av=b . We will show that S=w+U :
We first prove that w+U⊂S . This is because if u∈U then A(w+u)=Aw+Au=b+0=b , so w+u∈S .
Then we prove that S⊂w+U . This is because Av=b implies A(v-w)=Av-Aw=b-b=0 , so v-w∈U and w∈w+U .
You'll see a lot more about subspaces in future courses on linear algebra, but I'll just give you a couple more nice facts you can see from the definitions and which are related to what we've been doing.
If V,W⊂𝐑n are linear subspaces then the intersection V∩W is also a linear subspace.
We'll check that the two axioms hold.
Suppose a,b∈V∩W . Then a∈V and b∈V , so a+b∈V because V is a linear subspace. Similarly a∈W,b∈W implies a+b∈W . Therefore a+b∈V∩W .
Similarly, a∈V∩W implies a∈V and a∈W , so λa∈V and λa∈W , so λa∈V∩W .
Another fact which is good to know but which I won't prove is:
A nonempty affine subspace is linear if and only if it contains the origin.
You now have the beginnings of the language you need for talking about lines, planes and their generalisations in higher dimensions.