Zum Inhalt springen

Function spaces

Aus Wikibooks

In this article we consider the space of functions, that is, the vector space of all maps f:X→V of a set X into a vector space V.

Definition of function spaces

[Bearbeiten]

Let K be a field, (V,+V,⋅V) a K-vector space and X some set.

Then we can define the set of maps of X to V:

Definition (Set of maps from X to V)

We denote the set of all maps from X to V by Fun⁡(X,V). This means formally Fun⁡(X,V):={f|f:X→V}.

Hint

For this definition we have not yet used that V is a vector space. It is sufficient if V is just any set.

On this set we define an addition and a scalar multiplication:

Definition (Vector space operations on Fun⁡(X,V))

The addition ⊞:Fun⁡(X,V)×Fun⁡(X,V)→Fun⁡(X,V) is defined by

(f⊞g)(x):=f(x)+Vg(x)

for all f,g∈Fun⁡(X,V) and x∈X.

Similarly, we define the scalar multiplication ⊡:K×Fun⁡(X,V)→Fun⁡(X,V) by

(λ⊡f)(x):=λ⋅Vf(x)

for all f∈Fun⁡(X,V),λ∈K and x∈X.

Hint

f⊞g and λ⊡f as in the definition above are in fact maps X→V again, since we have specified them on every element x∈X (and V is closed under +V and ⋅V).

Hint

For the definition we only need that V is a vector space. X can actually be an arbitrary set (i.e. without an algebraic structure).

The function space is a vector space

[Bearbeiten]

Theorem (V is a vector space)

(Fun⁡(X,V),⊞,⊡) is a K-vector space.

How to get to the proof? (V is a vector space)

We proceed as in the article proofs for vector spaces.

Proof (V is a vector space)

We establish the eight vector space axioms. In the following, we consider x∈X.

Proof step: Associativity of addition

Let f,g,h∈Fun⁡(X,V). Then, we have:

↓ definition of ⊞[0.3em]((f⊞g)⊞h)(x)=(f⊞g)(x)+Vh(x)[0.3em]↓ definition of ⊞[0.3em]=(f(x)+Vg(x))+Vh(x)[0.3em]↓ associativity of addition in V[0.3em]=f(x)+V(g(x)+Vh(x))↓ definition of ⊞[0.3em]=f(x)+V(g⊞h)(x)[0.3em]↓ definition of ⊞[0.3em]=(f⊞(g⊞h))(x)[0.3em]

This shows the associativity of addition.

Proof step: Commutativity of addition

Let f,g∈Fun⁡(X,V). Then, we have:

↓ definition of ⊞[0.3em](f⊞g)(x)=f(x)+Vg(x)↓ commutativity of addition in V[0.3em]=g(x)+Vf(x)↓ definition of ⊞[0.3em]=(g⊞f)(x)

This shows the commutativity of addition.

Proof step: Neutral element of addition

We now need to show that there is a neutral element 0Fun∈Fun⁡(X,V) exists.

That is, (f⊞0Fun)(x)=f(x) should hold for all f∈Fun⁡(X,V). It is obvious that the zero mapping 0Fun:X→V ;x↦0V has this property.

Let f∈Fun⁡(X,V). Then, we have:

↓ definition of ⊞[0.3em](f⊞0Fun)(x)=f(x)+V0Fun(x)↓ definition of 0Fun[0.3em]=f(x)+V0V[0.3em]↓ neutral element of addition in V=f(x)

This shows that Fun⁡(X,V) has a neutral element with respect to addition.

Proof step: Inverse with respect to addition

Let f∈Fun⁡(X,V) with f:X→V;x↦f(x). We need to show that there exists a g∈Abb(X,V) such that (f⊞g)(x)=0Fun(x) holds. Since (V,+V,⋅V) is a vector space, there exists an inverse −x with respect to "+V" with x+V(−x)=0V for every x∈V. We now show that g:X→V,x↦−f(x) is the inverse of f. We have that:

↓ definition of ⊞[0.3em](f⊞g)(x)=f(x)+Vg(x)[0.3em]↓ definition of g[0.3em]=f(x)+V(−f(x))[0.3em]↓ inverse map in V w.r.to +V[0.3em]=0V[0.3em]↓ definition of 0Fun[0.3em]=0Fun(x)

Furthermore, g∈Fun⁡(X,V) is uniquely determined by the well-definiteness of f and the uniqueness of the inverse in V. Thus we have shown that for any f∈Fun⁡(X,V) there exists a g∈Fun⁡(X,V) with (f⊞g)(x)=0Fun.

Proof step: scalar distributive law

Let λ,μ∈K and f∈Fun⁡(X,V). Then, we have:

↓ definition of ⊡[0.3em](λ+Kμ)⊡f(x)=(λ+Kμ)⋅Vf(x)[0.3em]↓ distributive law in V[0.3em]=(λ⋅Vf(x))+V(μ⋅Vf(x))[0.3em]↓ definition of ⊡[0.3em]=((λ⋅Vf)⊞(μ⋅Vf))(x)[0.3em]↓ definition of ⊞[0.3em]=((λ⊡f)⊞(μ⊡f))(x)[0.3em]

Thus the scalar distributive law is established.

Proof step: Vectorial distributive law

Let λ∈K and f,g∈Fun(X,V).

↓ definition of ⊞[0.3em]λ⊡(f⊞g)(x)=λ⊡(f(x)+Vg(x))↓ definition of ⊡[0.3em]=λ⋅V(f(x)+Vg(x))[0.3em]↓ distributive law in V[0.3em]=(λ⋅Vf(x))+V(λ⋅Vg(x))[0.3em]↓ definition of ⊡[0.3em]=(λ⊡f)(x)+V(λ⊡g)(x)[0.3em]↓ definition of ⊞[0.3em]=((λ⊡f)⊞(λ⊡g))(x)[0.3em]

Thus the vector distributive law is also established.

Proof step: Associativity of multiplication

Let λ,μ∈K and f∈Fun⁡(X,V). Then, we have:

↓ definition of ⊡[0.3em]((λ⋅Kμ)⊡f)(x)=(λ⋅Kμ)⋅Vf(x)[0.3em]↓ associativity of multiplication in V[0.3em]=λ⋅V(μ⋅Vf(x))[0.3em]↓ definition of ⊡[0.3em]=λ⋅V(μ⊡f)(x)[0.3em]↓ definition of ⊡[0.3em]=(λ⊡(μ⊡f))(x)[0.3em]

This establishes the associative law for multiplication.

Proof step: unitarity law

Let f∈Fun⁡(X,V). Then, we have:

↓ definition of ⊡[0.3em](1K⊡f)(x)=1K⋅Vf(x)[0.3em]↓ neutral element of scalar multiplication in V[0.3em]=f(x).

Thus we have shown the unitary law.

Hint

Some people include the completeness of addition and of scalar multiplication also within the vector space axioms. In our case, they follow from the fact that V is itself a K-vector space. We considered this in the hint after defining the operations.

It must also hold that Fun⁡(X,V) is non-empty. This follows directly from the existence of a neutral element with respect to addition.

The set of differentiable functions f:(0,1)→ℝ an an ℝ-vector space

[Bearbeiten]

In the previous section we showed that the set of all maps of a set X into a K-vector space V is again a K-vector space. We now consider the special case X=(0,1)⊆ℝ, K=ℝ and V=ℝ. We already know that V is a K-vector space. Hence, we know so far that the set of maps f:(0,1)→ℝ is an ℝ-vector space.

We now consider the set of differentiable functions f:(0,1)→ℝ, which is denoted 𝒟((0,1),ℝ) (as "differentiable").


Theorem

The set of differentiable functions f:(0,1)→ℝ forms an ℝ-vector space.

Proof

The set of differentiable functions f:(0,1)→ℝ is a subset of the set of maps f:(0,1)→ℝ, i.e. 𝒟((0,1),ℝ)⊆Fun⁡((0,1),ℝ). To show that 𝒟((0,1),ℝ) also forms an ℝ-vector space, it suffices to show that 𝒟((0,1),ℝ) is an ℝ-subspace of Fun⁡((0,1),ℝ). To do this, we need to establish the 3 subspace axioms.

Proof step: 𝒟((0,1),ℝ)≠∅︀

The function f:(0,1)→ℝ,x↦0 is differentiable. So: 𝒟((0,1),ℝ)≠∅︀.

Proof step: For all f,g∈𝒟((0,1),ℝ) we have that f+g∈𝒟((0,1),ℝ).

Let f,g:(0,1)→ℝ be differentiable, i.e. f,g∈𝒟((0,1),ℝ). We have shown in Analysis I that the function f+g:ℝ→ℝ,x↦f(x)+g(x) is also differentiable. Consequently we have that f+g∈𝒟((0,1),ℝ).

Proof step: For all f∈𝒟((0,1),ℝ) and for all λ∈ℝ we have that λ⋅f∈𝒟((0,1),ℝ).

Let f∈𝒟((0,1),ℝ) and λ∈ℝ. We have shown in Analysis I that the map λ⋅f:(0,1)→ℝ,x↦λ⋅f(x) is also differentiable. Thus we have that λ⋅f∈𝒟((0,1),ℝ).

Thus we have shown that 𝒟((0,1),ℝ) is an ℝ-subspace of Fun⁡((0,1),ℝ).

Relation to the sequence space

[Bearbeiten]

We have already seen that the set of sequences over K forms a vector space with respect to coordinate-wise operations. So a sequence (an)n with entries in K can be seen as a function ℕ→K,n↦an. In this sense, the sequence space is a special case of the function space Fun⁡(X,V) by setting X:=ℕ and V:=K.