To show that the set of all continuous functions is a subspace of (the set of all continuous functions on ), we need to demonstrate three things:
1. The zero function, for all , is in .
2. is closed under addition, meaning that if and are in , then is also in .
3. is closed under scalar multiplication, meaning that if is in and is a scalar, then is also in .
Let's prove each of these statements:
1. To show that the zero function is in , we need to verify that . Since the integral of the constant function over any interval is zero, this condition is satisfied. Therefore, is in .
2. Now let's prove closure under addition. Suppose and are in . We need to show that is also in .
By the linearity of integration, we have:
Since and (since and are in ), we have:
Thus, satisfies the condition for being in , and is closed under addition.
3. Finally, let's prove closure under scalar multiplication. Suppose is in and is a scalar. We need to show that is also in . Using the linearity of integration, we have:
Since (since is in ), we have:
Thus, satisfies the condition for being in , and is closed under scalar multiplication.
Since we have shown that contains the zero function, is closed under addition, and is closed under scalar multiplication, we can conclude that is a subspace of .
Now, let's provide an example of a subset of that is not a subspace. Consider the subset . This subset consists of continuous functions on that are strictly positive for all in the interval.
To show that is not a subspace, we need to demonstrate that it violates at least one of the three subspace properties.
Let's consider closure under addition. Take two functions and , both defined on . These functions are in since they are positive for all . However, their sum, , is not in because it takes the value , which is not strictly positive for all .
Since fails to satisfy closure under addition, it is not a subspace of .