I have to show that the following family of functions: \begin{align*} \mathfrak{F}= \left\{f \in C\left([-1,1]\right) : \int_{-1}^{1}f(x)dx \in [0,1]\right\} \end{align*}
is closed; but that it is not bounded nor equicontinuous.
I think I've managed to show that it is closed. (proof at the end, revisions are welcome!) But I'm really struggling to find a counterexample for the bounded part! How can a function defined on a bounded domain with a bounded integral, not be bounded?
Could anyone please share some examples where this happens!
Proof that the family is closed:
Suppose $f \in \overline{\mathfrak{F}}$, then there exists $\left(f_{k_n}\right)_{n=1}^{\infty} \subseteq \mathfrak{F}$ such that: \begin{align*} ||f_{k_n} - f||_{[-1,1]} \rightarrow 0 \quad \mathrm{when:} n\ \rightarrow 0 \end{align*}
then as $f_{n_k} \rightarrow f$ uniformly, we can then assure that: \begin{align*} \lim_{n\rightarrow \infty} \int_{-1}^{1}f_{k_n}(x)dx = \int_{-1}^{1}f(x)dx \in [0,1] \end{align*}
therefore $f \in \mathfrak{F}$, and we conclude that $\mathfrak{F}$ is closed.
Consider the sequence $(f^n(x))_{n\in\mathbb N}$ defined by
\begin{equation*} f^n(x)=\begin{cases} nx^n & \text{if $n$ is odd} \\ \begin{cases} -nx^n & x\leq 0\\ nx^n & x>0 \end{cases} & \text{if $n$ is even} \end{cases} \end{equation*} This is a sequence in $\mathfrak F$ since at each $n$ the integral of $f^n$ is $0$ being the function antisymmetric about the origin. Now just compute the norm.