So I have to show that there can be no continuous function f s.t $f=g$ a.e when $$g=1_{[0,\infty)}$$
All i know is the following: $g=0$ for $x<0$ and $g=1$ for $$0\leq x<\infty$$
If f is continuous at f(0) then there must exist a mapping from $(-\delta,\delta)$ to $(f-\epsilon,f + \epsilon)$ for any $\delta,\epsilon > 0$.
I have no idea how to show that this cannot be the case..
Let $f:\mathbb R\to\mathbb R$ denote a continuous function.
Automatically $f(0)\neq1\vee f(0)\neq0$.
If $f(0)\neq1$ then $f(x)\neq1$ on some interval $(-\epsilon,\epsilon)$ so that $f(x)\neq g(x)$ for $x\in[0,\epsilon)$.
If $f(0)\neq0$ then $f(x)\neq0$ on some interval $(-\epsilon,\epsilon)$ so that $f(x)\neq g(x)$ for $x\in(-\epsilon,0)$.
(In the statements above $\epsilon$ is positive)
In both cases $\lambda(\{f\neq g\})\geq\epsilon>0$, hence $f=g$ a.e. is not true.