5
$\begingroup$

Is the space $\{f\in C[0,1]\mid \int_0^1f\neq 0\}$ dense in $C[0,1]$ with sup-norm topology.

I think yes, because it is the inverse image of the set $\mathbb{R} \setminus \{0\}$

  • 0
    @Gribouillis thanks, the answer by Jorge is also great.2017-01-01
  • 0
    In fact my comment was wrong. A correct related argument would be that your set is the complement of a closed hyperplane. This is always dense in any Banach space, but a direct proof such as Jorge's is probably better.2017-01-01

1 Answers 1

5

Call that set $A$, we shall prove it is a dense set.

Pick $f\not \in A$, in other words $f$ such that $\int\limits_{0}^1 f=0$, and pick $\epsilon >0$.

Notice that the function $g(x)=f(x)+\epsilon/2$ is in $A$ and its distance from $f$ is $\epsilon/2$, so the set is in fact dense.

  • 0
    is the set connected also?2017-01-01
  • 1
    nope, the continuous functions with positive integral form an open subset, and so do the ones with negative integral.2017-01-01
  • 0
    For $C([0,1],\mathbb C)$ the situation is different though.2017-01-01
  • 0
    yes, for the connectedness part.2017-01-01