Jump to content

Subspace – "Math for Non-Geeks"

From Wikibooks, open books for an open world

In this article we consider the subspace of a vector space. The subspace is a subset of the vector space, which itself is a vector space.

A subset U of the vector space V can be identified as a subspace (i.e., it is again a vector space) if and only if the following three properties are satisfied:

  • 0V∈U.
  • For all v,u∈U we have that v+u∈U.
  • For all u∈U and for all λ∈K we have that λ⋅u∈U.

This equivalence is called the subspace criterion. If one of them toes not hold, then we do not have a subspace.

Motivation

[edit | edit source]

As we have already seen in connection with general algebraic structures like groups or fields, sub-structures (like sub-groups or sub-fields) play a major role in mathematics. To repeat: Substructures are (small) subsets of a (large) original structure, which allow for the same computations as the original sets. For example, considering the algebraic structure "group", a subgroup is a subset of a group, which is itself a group. For instance, the set of integer numbers with addition (ℤ,+) can be seen as a subgroup of the set of rational numbers (ℚ,+), which is again a subgroup of the real numbers (ℝ,+). In the same way, for the algebraic structure "field", a subfield is a subset of a field, which itself is a field.

In linear algebra, we consider a new algebraic structure: the "vector space". As before, we can study the corresponding substructure: a sub-vector space, or simply subspace is a subset of a vector space, which is again a vector space.

Definition of a subspace

[edit | edit source]
Definition (subspace)

Let (V,+,⋅) be a K-vector space. Consider a subset U⊆V with the constrained operations +U:U×U→U,(u1,u2)↦u1+u2 and ⋅U:K×U→U,(λ,u)↦λ⋅u. Then, this subset is called a subspace of V if (U,+U,⋅U) is itself a K-vector space.

Hint

In this definition, often a little detail is taken for granted: One needs that the constrained operations +U:U×U→U and ⋅U:K×U→U have again values only in U. That is, for a subspace U⊆V it is required that for u1,u2∈U and λ∈K also u1+u2∈U⊆V and λ⋅u1∈U⊆V hold. This does not hold for any vector space V, see the Example below.

Hint

You might recall the notion of a subgroup. We can also think of every vector space (V,+,⋅) as an Abelian group (V,+). Now if (U,+U,⋅U) is a subspace of (V,+,⋅), then (U,+U) forms a subgroup of (V,+).

Subspace criterion

[edit | edit source]

Derivation of the criterion

[edit | edit source]

How do we find out if a subset U of a vector space V is a subspace? For U to be a vector space, all vector space axioms for U must be fulfilled. Let's first use an example to see how this works.

Checking the vector space axioms for an example

[edit | edit source]

We consider the subset U={(x,2x)T∣x∈ℝ} of the ℝ-vector space V=ℝ2. Visually this subset is a line. We want to find out, whether U is a subspace of V=ℝ2. So by definition, we need to show that the set U together with the operations +U and ⋅U satisfy all vector space axioms. We proceed as in the article Proofs for vector spaces. That means, we prove that the vector addition and the scalar multiplication are well-defined and that eight axioms hold.

First we have to show that the two operations are well-defined. The crucial point here is whether we really "land in the subspace again" under addition and scalar multiplication. More precisely, the addition + in V is a map V×V→V with (u,v)↦u+v. Our new addition arises by first restricting the domain of definition V×V to the subset U×U. We get a map +′:U×U→V. So the range of values remains the same for now. However, to make the set U a vector space, we need a map +′:U×U→U, so after addition, we "land again in the subspace". So, is the image of +′ contained in U? What we would like to show is:

Important!

For all u,u′∈U we have that also u+u′∈U.

This property is also called completeness under addition.

Analogously one can derive a criterion for the well-definedness of the scalar multiplication:

Important!

For all u∈U and λ∈K we have that also λu∈U.

This property is called completeness under scalar multiplication.

We now check both properties in our concrete example:

First, the addition. Let u,u′be∈U. That is, x,y∈ℝ exist such that u=(x,2x)T and u′=(y,2y)T. Then u+u′=(x+y,2(x+y))T. If we set z:=x+y, we have that u+u′=(z,2z)T. So u+u′∈U.

Now the scalar multiplication. Let u=(x,2x)T∈U as we just did, and let λ∈K. Then we have λ⋅u=(λx,2λx)T. If we set z:=λx, we have that λ⋅u=(z,2z)T. So λ⋅u′∈U.

Hence, the completeness under addition and scalar multiplication are indeed valid. So the vector space operations are well-defined. We note that here we have worked very concretely with the definition of the set U. More specifically, we have used that every element of U is of the form (x,2x)T.

Now we check the eight vector space axioms.

First, the four axioms for addition:

Associative law of addition: Let u,v,w∈U. We must show that u+U(v+Uw)=(u+Uv)+Uw. Since +U is the constrained version of +, we must show u+(v+w)=(u+v)+w. This follows from the associative law for the vector space V. Note that since U⊆V, we also have u,v,w∈V, so the relations in V are indeed valid.

The commutative law for addition in U can be traced back to the commutative law in V.

Existence of a neutral element: We must show that an element 0U∈U exists such that 0U+Uu=u+U0U=u for all u∈U. Since V is a vector space, it contains a zero vector with 0+v=v+0=v for all v∈V. In particular, this holds for all u∈U. Since addition in U is only the restriction of addition in V, it suffices to show, That 0∈U. For then, we can set 0U=0. The element 0∈V=ℝ2 is more precisely the vector (0,0)T. This can be written as (0,2⋅0)T and thus lies in U. So there is indeed a neutral element of addition within U.

Existence of additive inverse in U: Let u∈U. We must show that there exists a u′∈U, such that u+Uu′=0. We know that u+(−u)=0 holds in V. So if we can show −u∈U, we are done: then we can choose u′=−u. We know that −u=(−1)⋅u∈U holds. Furthermore, we have already shown that U is complete under scalar multiplication, so indeed −u∈U follows.

The four axioms of scalar multiplication can also be traced back to the corresponding properties of V. This works similarly to the first two axioms of addition. We use that all relevant equations hold analogously in V if one expresses the operations in U by those in V So we indeed have a subspace.

In order to show that the operations +U and ⋅U are well-defined, we needed to establish the properties of completeness formulated above. For this we have worked closely with the definition of U. Furthermore, for the third axiom of addition, we had to show that the neutral element of addition in V is also an element of U. Again, we worked concretely with the definition of U. The axiom for the existence of the inverse with respect to addition could be traced back to the completeness of scalar multiplication. For all other axioms we could use that the analogous axioms in V hold.

So, in total, we actually only needed to show three things:

  • The completeness of U with respect to addition.
  • The completeness of U with respect to scalar multiplication
  • 0∈U

For these we had to work with the definition of U and V. The above arguments that these three properties suffice should be true for every vector space V and all subsets U of V. So, in the general case, it should be enough to prove these three properties (and it actually is).

But first, we demonstrate that the three rules are necessary. That is, we show that none of the three rules can be omitted. For this we give subsets of V=ℝ2, each of which violates exactly one of the three rules and is indeed not a subspace.

Counterexample: The empty set

[edit | edit source]

We first consider the empty set U=∅. This is of course a subset of ℝ2.

Let us check completeness with respect to of addition, ∀u,u′∈U:u+u′∈U, it is satisfied. This is because all statements about the empty set (missing) trivially always hold. In the same way, the completeness of scalar multiplication is satisfied.

However, the third rule is violated: 0∉U. That is simply because the empty set contains by definition no elements. The property 0∉U cannot be derived in general from the completeness of addition and of scalar multiplication.

Now, U is not a vector space, because U contains no element, in particular no neutral element of addition. Accordingly, U cannot be a subspace. Be aware that the property 0∈U cannot in general be derived from the completeness properties and must be, in principle, separately checked. (However, this step is often seen as obvious)

Counterexample: Vectors with integer entries

[edit | edit source]

Our second example shows that scalar multiplication is actually needed: take the set of integer vectors U:=ℤ2. If we identify the vectors with points in ℝ2, we get some kind of "lattice":

'"`UNIQ--postMath-00000095-QINU`"' as a subset '"`UNIQ--postMath-00000096-QINU`"'
ℤ2 as a subset ℝ2

This set is obviously a subset of ℝ2 and again the question arises whether it is a subspace. In contrast to the first example now the zero vector 0=(0,0)T is contained in U=ℤ2. All other axioms of vector addition are also valid. The sum of two vectors from ℤ2 is again in ℤ2.

Nevertheless, the ℤ2 is not a subspace of ℝ2, because ℤ2 is not complete with respect to scalar multiplication. For instance, v=(1,0)T∈ℤ2 and λ=12∈ℝ, but λ⋅v=(12,0)T is not contained in ℤ2. Thus ℤ2 does not satisfy all vector space axioms and is therefore not a subspace.

The completeness with respect to scalar multiplication can also not be derived from the other two properties. If we want to prove that U is a subspace, we must always show that for every u∈U and for every scalar λ∈K, we also have λ⋅u∈U.

Counterexample: A cross of coordinate axes

[edit | edit source]

We have already seen in both examples of above that every subspace contains the zero vector and is closed under scalar multiplication. Finally, we want to look at a third and last example, which satisfies the above two conditions, but still does not satisfy all vector space axioms. For this we choose the axis cross, the set formed by union of the two lines through the origin G:={(0,t)T:t∈ℝ} and H:={(t,0)T:t∈ℝ}. So we consider the subset U:=G∪H⊆ℝ2. Illustrated in the plane as points, the set looks like an infinite "cross":

The axis cross
The axis cross

Is U a subspace? Obviously, the zero vector 0 is contained in U. Moreover, we have that for any v∈U and λ∈ℝ that also λv is an element of U. Thus U is complete under scalar multiplication. Nevertheless, U is not a subspace. To see this, we choose the vectors v1=(1,0)T and v2=(0,1)T. Then, we have v1,v2∈U, but for the sum we have that v1+v2=(1,1)T∉U.

So the completeness under the vector space addition can not be derived from the other properties. That means we always have to check the completeness under the vector space addition to prove that U is a subspace.

Statement and proof of the criterion

[edit | edit source]

We considered an example that a subset U of V is a subspace if it satisfies the following three properties:

  • completeness with respect to addition,
  • completeness with respect to scalar multiplication, and.
  • 0∈U.

We have seen examples of subsets U of V where one of these properties was not satisfied in each case and which also do not form a subspace of V. So we assume that these three properties are necessary and sufficient for a subset to be a subspace. This is the theorem of the subspace criterion, which we will now prove.

Theorem (subspace criterion)

A subset U of a K-vector space V with vector addition +:V×V→V and scalar multiplication ⋅:K×V→V is a subspace exactly if the following three conditions hold:

  1. 0V∈U.
  2. For all v,u∈U we have that v+u∈U.
  3. For all u∈U and for all λ∈K we have that λ⋅u∈U.

In other words: A subset of a vector space is a subspace if it contains the zero element and is complete with respect to vector addition and scalar multiplication.

Proof (subspace criterion)

The theorem contains an if and only if", which means that we have to show two implications. One direction is: Every subspace satisfies conditions 1, 2 and 3. The other direction can be formulated as follows: Any subset of the vector space that satisfies conditions 1, 2 and 3 must be a subspace.

Proof step: Every subspace satisfies the conditions 1, 2 and 3.

Let U be any subspace of V. Then by definition , U is also a vector space. Thus, for U all axioms from the definition of a vector space hold.

In particular, this also means that the operations +:U×U→U and ⋅:K×U→U restricted to U are well-defined. But this is only another formulation of the conditions 2) and 3).

Moreover, since U together with + forms an Abelian group, U contains the neutral element 0V. That is, it we also have that condition 1 holds.

Proof step: If conditions 1, 2 and 3 are satisfied, the subset must be a subspace.

Let U⊆V be a subset of V for which the three conditions hold. We need to show that U is a vector space. To do this, we show that U satisfies all properties from the definition of a vector space.

From condition 1, it follows that U is a non-empty set. From conditions 2 and 3 we can deduce that the of V on U restricted links +:U×U→U and ⋅:K×U→U are well-defined. So we have a non-empty set U with an operation + (vector addition) and an operation ⋅ (scalar multiplication).

Now we have to prove that U together with + forms an Abelian group and the axioms of scalar multiplication hold. We may use that V is a vector space. From this, by U⊆V we can conclude:


  • associative law: For all v,w,z∈U we have that: v+(w+z)=(v+w)+z
  • commutative law: For all v,w∈U we have that: v+w=w+v
  • scalar distributive law: For all λ,μ∈K and all v∈U we have that: (λ+μ)⋅v=(λ⋅v)+(μ⋅v)
  • vectorial distributive law: For all λ∈K and all v,w∈U we have that: λ⋅(v+w)=(λ⋅v)+(λ⋅w)
  • associative law for scalars: For all λ,μ∈K and all v∈U we have that: (λ⋅μ)⋅v=λ⋅(μ⋅v)
  • Neutral element of scalar multiplication: For all v∈U and for 1∈K (the neutral element of multiplication in K) we have that: 1⋅v=v. The 1 is also called neutral element of scalar multiplication.

It remains to establish the axioms existence of a neutral element and existence of an inverse element. The former is given by condition 1. So it suffices to show that for every u∈U there exists a u~∈U such that u+u~=0V. But now, for any u∈U condition 3 implies

−u=(−1)⋅u∈U

So u~:=(−1)⋅u is the inverse element to u and contained in U.

Hint

Instead of 0V∈U in some mathematical texts also U≠∅ is required. Both requirements are equivalent (if one adds the other two conditions 2 and 3): If there is a v∈U, then because of the completeness of scalar multiplication also 0V=0K⋅v must be contained in U.

Hint

Another equivalent formulation of the criterion is:

A non-empty subset U⊆V is a subspace if for any two vectors u,v∈U also every linear combination λu+μv, with an arbitrary λ,μ∈K lies in U.

It is easy to convince ourselves of the equivalence of both formulations:

Since U is not empty, there exists some u∈U, and therefore also 0K⋅u+0K⋅u=0V lies in U (point 1). With u also λ⋅u=λ⋅u+0K⋅0V is contained in U (point 3). Finally, with u,v∈U, we also have that u+v=1K⋅u+1K⋅v is in U (point 2).

Conversely, U is not empty by 1. Further, if it contains some elements u and v, then by means of 3, also λ⋅u and μ⋅v must lie in U and from 2 we finally get λ⋅u+μ⋅v∈U.

How to prove that a set is a subspace

[edit | edit source]

General proof structure

[edit | edit source]

Before we examine the procedure in more detail with an example, it is useful to understand the general proof structure. How can we show that a set U is a subspace of a K-vector space V? We can use the subspace criterion that we just established. In order for us to use the criterion we must first check the preconditions. The theorem requires that U⊆V. Then, to show that U is a subspace, we need to check the three properties from the criterion. So, in total, we need to show the following four statements:

  1. U⊆V
  2. 0∈U.
  3. For all v,u∈U we have that v+u∈U.
  4. For all u∈U and for all λ∈K we have that λ⋅u∈U.
Hint

We can also replace the second statement "0∈U" by "U≠∅". If we add the conditions 3. and 4. the two statements are equivalent.

What do proofs of these statements look like? The proof structure of these statements looks like this:

  1. Proof of "U⊆V": Let u∈U. Then, we have that u∈V, since ...
  2. Proof of "0∈U": Let 0∈V be the zero vector. Then, we have that 0∈U, since ...
  3. Proof of "∀ v,u∈U: v+u∈U": Let u,v∈U be arbitrary. We have that ... and hence u+v∈U.
  4. Proof of "∀ u∈U ∀λ∈K: λ⋅u∈U": Let λ∈K and u∈U be arbitrary. Since ... we know that λ⋅u∈U.

Finding a proof idea

[edit | edit source]

We consider an easy example problem, in order to get an idea for the proof:

Exercise

Let u∈ℝ2 and U:={λ⋅u| λ∈ℝ}. Show that: U is a subspace of the ℝ-vector space ℝ2.

We want to apply the subspace criterion to U. To do this, we check the premises of the theorem according to the above scheme.

  • U⊆ℝ2: let v∈U. By definition of U, there is some λ∈ℝ with v=λ⋅u. Since ℝ2 is a vector space, it follows that v=λ⋅u∈ℝ2.
  • 0∈U: We have seen in "Vector space: properties" that for every vector v∈ℝ2 we have 0⋅v=0. So we have that also 0⋅u=0. Thus, we get 0⋅U.
  • completeness of addition: Let v,w∈U. By definition of U, there exist λ,μ∈ℝ with v=λ⋅u and w=μ⋅u. Since v,w∈ℝ2, we can add them: v+w=λ⋅u+μ⋅u=(λ+μ)⋅u. Because of λ+μ∈ℝ we finally obtain v+w∈U.
  • completeness of scalar multiplication: Let v∈U and let μ∈ℝ. By definition of U there is a λ∈ℝ with v=λ⋅u. Since v∈ℝ2 we can multiply it with μ: μ⋅v=μ⋅(λ⋅u)=(μ⋅λ)⋅u. Because of μ⋅λ∈ℝ it follows that μ⋅v∈U.

This shows that all conditions hold, so by the subspace criterion, U is indeed a subspace of ℝ2.

Writing down the proof

[edit | edit source]

Now we write down the proof, by generalizing the simple example to "any vector space":

Proof

We check the premises of the theorem according to the above scheme.

  • U⊆ℝ2: let v∈U. Then there exists a λ∈ℝ with v=λ⋅u. Hence, v∈ℝ2.
  • 0∈U: because of 0⋅u=0, we have 0∈U.
  • completeness of addition: let v,w∈U. Then there exist λ,μ∈ℝ with v=λ⋅u and w=μ⋅u. We calculate: v+w=λ⋅u+μ⋅u=(λ+μ)⋅u∈U.
  • completeness of scalar multiplication: let v∈U and let μ∈ℝ. Then there is a λ∈ℝ with v=λ⋅u. We calculate μ⋅v=μ⋅(λ⋅u)=(μ⋅λ)⋅u∈U.

This shows that all the preconditions hold. So it follows from the subspace criterion that U is a subspace of ℝ2.

Examples and counterexamples for subspaces

[edit | edit source]

Examples

[edit | edit source]

In the following, we will look at first examples to consolidate our idea of subspaces and to avoid misinterpretations. We will also use the subspace criterion.

Trivial subspaces

[edit | edit source]

In every K-vector space V, there are tow "trivial subspaces":

Example (Trivial subspaces)

Let V be a vector space. First, the zero vector space {0V} is always a subspace of V. This is a vector space and since 0V∈V, we also have {0V}⊆V.

On the other hand, the complete vector space V is also a subspace of V. Finally, we have that V⊆V and V is a vector space.

Since {0V} and V are always subspaces for every vector space V, they are called trivial subspaces.

the following example with V=ℝ shows that sometimes, only the trivial subspaces are subspaces:

Example (subspaces of ℝ)

ℝ as an ℝ-vector space has only the trivial subspaces {0} and ℝ, as one can easily verify:

Let U⊆ℝ be a subspace with U≠{0}. We want to show U=ℝ. Since U≠{0}, there exists a real number 0≠u∈U. Because U is complete under scalar multiplication, we have that for all a∈ℝ it holds that a=au⋅u∈U. Hence, U=ℝ.

Warning

Although ℚ is a subfield of ℝ, the set ℚ is not a subspace of ℝ-vector space ℝ. For instance, for 12∈ℚ we have that the scalar multiple π⋅12∉ℚ.

Line through the origin

[edit | edit source]

In this example, we consider a straight line U in ℝ2 that passes through the origin. Let the equation of the line be given by y=2x. So we can write down the straight line as a set of points: U={(xy)∈ℝ2|y=2x}={(xy)∈ℝ2|2x−y=0}.

Exercise

Show that U is a subspace of the ℝ-vector space ℝ2.

Proof

We want to use the subspace criterion above. Because of 0=2⋅0 we have that (0,0)T∈U. Let (x,y)T,(x′,y′)T∈U, i.e. y=2x and y′=2x′. From this we obtain y+y′=2(x+x′) and hence (x,y)T+(x′,y′)T=(x+x′,y+y′)T∈U. Let (x,y)T∈U and λ∈ℝ. Since y=2x we have that also λy=2λx and hence λ⋅(x,y)T=(λx,λy)T∈U. So we have shown that all the conditions of the subspace criterion are satisfied. Thus, U is a subspace of ℝ2.

Alternative proof

We can also see in another way that U is a subspace. To do this, we consider the characterization of U: U={(xy)∈ℝ2|y=2x}={(x2x)|x∈ℝ}={x⋅(12)|x∈ℝ}. Now we recall the section "How to prove that a set is a subspace", where we saw that such subsets form subspaces. These subsets were of the form U:={x⋅u|x∈ℝ} with some u∈ℝ2. In this example u=(1,2)T.

A subspace of ℝ3

[edit | edit source]

In the following exercise we consider a plane in ℝ3 which passes through 0. We show that this plane always forms a subspace of ℝ3.

Exercise (plane within ℝ3)

Let U={(u1,u2,u3)T∈ℝ3∣u1−u2−u3=0}⊆ℝ3. Show that U is a subspace of ℝ3.

Proof (plane within ℝ3)

For the proof we have to show that the subspace criterion is satisfied. We divide this proof into three steps:

Proof step: 0∈U

We have that 0=(0,0,0)T∈U, since 0−0−0=0.

Proof step: U is complete with respect to addition

Consider two vectors a=(a1,a2,a3)T and b=(b1,b2,b3)T from U. By definition of U, we have that a1−a2−a3=0 and b1−b2−b3=0. Now, under addition,

a+b=(a1+b1a2+b2a3+b3)

So

(a1+b1)−(a2+b2)−(a3+b3)=a1−a2−a3⏟=0+b1−b2−b3⏟=0=0

Hence a+b∈U, which establishes completeness of addition.

Proof step: U is complete with respect to scalar multiplication

Let λ∈ℝ and let a=(a1,a2,a3)T∈U. So we have that a1−a2−a3=0. Consequently,

λ⋅a=λ⋅(a1a2a3)=(λ⋅a1λ⋅a2λ⋅a3)

So we have:

λ⋅a1−λ⋅a2−λ⋅a3=λ⋅(a1−a2−a3⏟=0)=λ⋅0=0

Thus λ⋅a∈U and hence, U is also complete under scalar multiplication.

We have proved the conditions of the subspace criterion and thus shown that U is a subspace.

A subspace of the polynomials

[edit | edit source]

Let us now turn to a slightly more abstract example, namely the polynomial vector space. We show that the subset of polynomials of degree less or equal n is a subspace:

Theorem (polynomials of degree ≤n)

Let n∈ℕ0. Then K[X]≤n:={f∈K[X]|deg⁡(f)≤n}⊆K[X] is a subspace of the vector space of polynomials K[X].

Proof (polynomials of degree ≤n)

We must show that the three conditions of the subspace criterion hold:

Proof step: 0∈K[X]≤n

We have deg⁡(0)=−∞≤n, so 0∈K[X]≤n

Proof step: K[X]≤n is complete with respect to addition

Let f,g∈K[X]≤n. Then deg⁡(f)≤n,deg⁡(g)≤n. Thus, we can find fi,gi∈K with 0≤i≤n, such that f=∑i=0nfixi and g=∑i=0ngixi holds. So we arrive at f+g=∑i=0n(fi+gi)xi, which means that the degree deg⁡(f+g)≤n. So indeed, f+g∈K[X]≤n

Proof step: K[X]≤n is complete with respect to scalar multiplication

Let f∈K[X]≤n and λ∈K. Then deg⁡(f)≤n. Thus, we can find fi∈K with 0≤i≤n, such that f=∑i=0nfixi holds. So we arrive at λ⋅f=∑i=0n(λfi)xi, which implies for our degree that deg⁡(λ⋅f)≤n. So indeed, λ⋅f∈K[X]≤n.

Now all three subspace criteria are fulfilled, and hence, K[X]≤n⊆K[X] is indeed a subspace.

Counterexamples

[edit | edit source]

We have already seen above three examples for subsets of ℝ2 which do not form a subspace. For a better understanding, we now also consider counterexamples for other vector spaces.

Line that does NOT pass through the origin

[edit | edit source]
Example

We have considered this straight line in the examples: U={(xy)∈ℝ2|2x−y=0}, which describes a subspace of ℝ2. Now we displace it up by distance one and get the following set: G:={(xy)∈ℝ2|2x−y+1=0}.

The sets U and G
The sets U and G

Bounded subset of ℝ3

[edit | edit source]
Example

We consider the ℝ-vector space ℝ3. Let W:={(x,y,z)T∈ℝ3∣x2+y2+z2≤5}⊆ℝ3. W is not a subspace of ℝ3. This is because W is not closed under scalar multiplication. We know (1,0,0)T∈W. But 3⋅(1,0,0)T=(3,0,0)T∉W, because 32+02+02=9>5.

Alternatively, we can show that W is not complete with respect to addition. For example, (2,0,0)T∈W and (0,2,0)T∈W, but (2,0,0)T+(0,2,0)T=(2,2,0)T∉W because 22+22=8>5.

Graph of a non-linear function

[edit | edit source]
Example

Now, consider the ℝ-vector space ℝ3. Let

G={(x,y,xy)T∈ℝ3∣x,y∈ℝ}.

The set G is not a subspace of ℝ3, because it is not complete with respect to addition. To see this, we consider the two elements (1,1,1)T,(2,0,0)T∈G. Then, we have (1,1,1)T+(2,0,0)T=(3,1,1)T∉G, since 3⋅1=3≠1. Intuitively, the set G fails to be a subspace, because it is a "curved surface" and not a plain one through the origin.

polynomials with degree n is not a subspace

[edit | edit source]
Example

As a more abstract example, consider now the polynomial vector space K[X] for any field K. Let M={p∈K[X]∣deg⁡(p)=5}. We show that M does not form a subspace of K[X] since it is not complete with respect to addition. To see this, consider the two elements X5+1,−X5∈M. Then, we have X5+1−X5=1∉M, since deg⁡(1)=0≠5.

Other criteria for subspaces

[edit | edit source]

We will now learn about three criteria that make proofs easier in many cases. For this we will anticipate and use the notion of a linear map.

Kernel of a linear map

[edit | edit source]

In the examples for subspaces, we considered the following sets:

U1={(xy)∈ℝ2|2x−y=0}⊆ℝ2,U2={(abc)∈ℝ3|a−b−c=0}⊆ℝ3

We proved above that U1 and U2 are subspaces of ℝ2 and ℝ3, respectively. The two sets are defined according to the same principle. The subspaces contain all vectors that satisfy certain conditions. The conditions are 2x−y=0 and a−b−c=0. These look very similar. Both conditions tell us that some expression in x and y or in a,b and c should be zero. This expression is linear in x,y and a,b,c, respectively. That is, both formulas can also be written down as linear maps:

f:ℝ2→ℝ;(x,y)T↦2x−yg:ℝ3→ℝ;(a,b,c)T↦a−b−c

With these, we can rewrite our subspaces as

U1={(xy)∈ℝ2|f(xy)=0}⊆ℝ2,U2={(abc)∈ℝ3|g(abc)=0}⊆ℝ3

Thus U1, as well as U2, is the kernel of a linear map. One can show, in general, that the kernel of a linear map is always a subspace.

Image of a linear map

[edit | edit source]

Just as with the kernel, we can show in general that the image of a linear map is always a subspace. This sometimes allows us to find simpler proofs that a given set is a subspace.

Example (Linear map on the polynomials of degree smaller or equal to 1)

We consider an example of a linear map of V:=ℝ[X]≤1, defined on the vector space of real polynomials of degree smaller or equal to 1 and mapping into ℝ3.

We define a map that assigns to a polynomial in vector space V the vector of its function values at positions 0, 2 and 4. So we define the linear map f:V→ℝ3 by f(p)=(p(0)p(2)p(4)) We recall how the addition and scalar multiplication of polynomials is defined: For two polynomials p1,p2∈V the sum p1+p2 is defined via (p1+p2)(x)=p1(x)+p2(x) for all x. For a scalar λ∈ℝ and a polynomial p∈V the scalar multiplication λ⋅p is given by (λ⋅p)(x)=λ⋅p(x).

First, we prove that f is indeed a linear map. For this we have to prove the additivity and the homogeneity. So we choose p1,p2∈V and λ∈ℝ.

additivity:

f(p1+p2)=((p1+p2)(0)(p1+p2)(2)(p1+p2)(4))=(p1(0)+p2(0)p1(2)+p2(2)p1(3)+p2(4))=(p1(0)p1(2)p1(4))+(p2(0)p2(2)p2(4))=f(p1)+f(p2).

homogeneity:

f(λp)=((λp)(0)(λp)(2)(λp)(4))=(λ⋅p(0)λ⋅p(2)λ⋅p(4))=λ⋅(p(0)p(2)p(4))=λ⋅f(p).

Thus, we know that U={(p(0),p(2),p(4))T∣p∈V} is a subspace of ℝ3.

If we look at the calculation again, we realize that the x-values 0,2 and 4 did not matter at all. We could have chosen other ones, as well. The proof goes the same way for the statement:

Let r,s,t∈ℝ (and these numbers may or may not be different). The map f:V→ℝ3, f(p)=(p(r),p(s),p(t))T is linear and the image of f is a subspace of ℝ3.

We know that U=f(V)⊆ℝ3 is a subspace. We also find an explicit representation for U: a polynomial p∈V has the form p(x)=ax+b for a and b∈ℝ. Moreover, p(0)=b and p(2)=2a+b and p(4)=4a+b.

The subspace U thus has the form

U={(b2a+b4a+b)|a,b∈ℝ}={a⋅(024)+b⋅(111)|a,b∈ℝ}.

So it is a plane in ℝ3.

Span of vectors

[edit | edit source]

We will later prove a general theorem that every product of a subset M⊆V is a subspace of V.

This allows us to shorten one of the proofs above:

We proved above that for u∈ℝ2 and U:={λ⋅u| λ∈ℝ} the set U is a subspace of the ℝ-vector space ℝ2.

The set U is exactly the span of the set M={u} in the vector space V=ℝ2. The span of M is exactly all linear combinations of elements from M. In our case, these are even the multiples of u. Therefore U is a subspace of ℝ2.

Exercises

[edit | edit source]
Exercise (A subspace of ℝ2?)

Is U={x=(x1x2)∣x12=x22} a subspace of ℝ2?

How to get to the proof? (A subspace of ℝ2?)

The equation x12=x22 is equivalent to x1=x2∨x1=−x2. These equations are the diagonals in ℝ2. This set is just a "45-degree-rotated" version of the axis cross in this example and hence NOT a subspace. Again, the set is complete with respect to scalar multiplication, but not complete with respect to addition. We may take a vector from each of the first and second bisectors to find a counterexample.

Solution (A subspace of ℝ2?)

The set U is not a subspace, because u1=(1,1)T and u2=(−1,1)T are in U. But u1+u2=(0,2)T is not in U.

Exercise (A subspace ofℝ2? (Teil II))

Is U={x=(x1x2)∣x13=x23} a subspace of ℝ2?

How to get to the proof? (A subspace ofℝ2? (Teil II))

After the last exercise we are somewhat warned that powers can be critical in the conditions, as they "curve surfaces". But x13=x23 is equivalent for real numbers to x1=x2 (our surface is flat), and all elements of U are thus the multiples of the vector (11).

Solution (A subspace ofℝ2? (Teil II))

U is a subspace of ℝ2. Since x13=x23⟺x1=x2 we have U={x=(x1x2)∣x1=x2}={t⋅(11),t∈ℝ}. According to a Example from above, U is a subspace of ℝ2.

Exercise (A subspace of ℝ3?)

Is U={x=(x1x2x3)∈ℝ3|x=α⋅(123)+β⋅(231),α,β∈ℝ,x2=0} a subspace of V=ℝ3?

How to get to the proof? (A subspace of ℝ3?)

We check the subspace criterion, as described above in this example.

Solution (A subspace of ℝ3?)

Since we consider a subset of V=ℝ3, we have U⊆V.

The zero vector 0 satisfies both conditions: For α=β=0 we have x=0⋅(123)+0⋅(231)=0, and the second component of the zero vector is zero. So U is not empty.

Now we have to show that for u,v∈U also u+v∈U holds. To do this, we again check both conditions separately.

If u=α1⋅(1,2,3)T+β1⋅(2,3,1)T and v=α2⋅(1,2,3)T+β2⋅(2,3,1)T, then u+v=(α1+α2)⋅(1,2,3)T+(β1+β2)⋅(2,3,1)T. So u+v again has the required form.

If the second components of u and v are zero, then this is also true for the second component of u+v.

Now the last thing we have to prove is that with u∈U and λ∈ℝ we also have λ⋅u∈U.

We see that λ⋅u=(λ⋅α1)⋅(1,2,3)T+(λ⋅β1)⋅(2,3,1)T, so it has again the required form. With u the second component of λ⋅u is also zero.

Thus U is indeed a subspace of V.

Solution (A subspace of ℝ3? (Alternative solution))

Later we have more methods available and can perform the subspace proof with more abstract methods.

We see that U=U1∩U2, where U1 is the span of (1,2,3)T and (2,3,1)T. The span is always a subspace.

U2 is the kernel of the linear map f:ℝ3→R, f((x1,x2,x3)T)=x2. The kernel of a linear map is also always a subspace.

In the next section we prove that the intersection of two subspaces is again a subspace, so we can identify that U is a subspace of ℝ3.

Exercise (A subspace of K3?)

Let K be any field and V=K3. Let c∈K. We define U={(x1,x2,x3)∈K3|x1+x2+x3=c}. What conditions must c satisfy for U to be a subspace of V?

Solution (A subspace of K3?)

We first assume that U is a subspace of V. Then (0,0,0)∈U must hold. But according to the definition of U we have that 0+0+0=c. So we know that U can be a vector space only if c=0.

We now want to check whether U is indeed a subspace in the case c=0. For this, we use the subspace criterion and assume c=0:

For (x1,x2,x3)=(0,0,0) we have that x1+x2+x3=0+0+0=0=c. Hence, 0V∈U.

If x=(x1,x2,x3) and y=(y1,y2,y3) in U, then we have that x1+x2+x3=c=0 and y1+y2+y3=c=0. Thus,(x1+y1)+(x2+y2)+(x3+y3)=0, so x+y∈U.

If x=(x1,x2,x3)∈U, then we have that x1+x2+x3=c=0. For every λ∈K we have that also λx1+λx2+λx3=λ(x1+x2+x3)=0, so λx∈U.

Thus, the conditions of the subspace criterion hold and U is a subspace of V for c=0.