I have no idea how to prove that the space $X$ of all integrable functions on the interval $[0,1]$, for $f,g\in X$, with the following metric:
$$\rho(f,g)=\int|f(x)−g(x)|~dx$$
is separable. I'll appreciate any help, please. Thank you
I have no idea how to prove that the space $X$ of all integrable functions on the interval $[0,1]$, for $f,g\in X$, with the following metric:
$$\rho(f,g)=\int|f(x)−g(x)|~dx$$
is separable. I'll appreciate any help, please. Thank you
HINT: Look at step functions whose steps occur at rationals in $[0,1]$ and which take on only rational values.
A topological space is separable if it contains a countable dense subset.
You can use the fact that:
integrable functions on $[0,1]$ can be approximated by continuous functions and any continuous function on $[0,1]$ can be approximated by a polynomial with rational coefficients (Weierstrass Theorem). Noting that, the collection of all such polynomials is dense in $C[0,1]$ and it is a countable set.
Hence, we have
$$ \rho(f,p)=\int|(f(x)-c(x))+(c(x)-p(x))|~dx $$ $$\leq \int |f(x)-c(x)|dx + \int|c(x)-p(x)|~dx $$
$$\leq \int |f(x)-c(x)|dx + \int \sup|c(x)-p(x)|~dx < \frac{\epsilon}{2} + \frac{\epsilon}{2}=\epsilon\,, $$
where $p(x)$ is a polynomial with rational coefficients and $c(x) \in C[0,1]$. This implies that the space of integrable functions is separable.