If $f$ is continuous, is it (Lebesgue) measurable ? Namely, $\{x\ :\ f(x)<\alpha\}\in\mathcal M\ \forall\alpha$ ?
If not what are some counter examples?
If $f$ is continuous, is it (Lebesgue) measurable ? Namely, $\{x\ :\ f(x)<\alpha\}\in\mathcal M\ \forall\alpha$ ?
If not what are some counter examples?
If the codomain $\sigma$-algebra considered is the Borel $\sigma$-algebra:
Yes it is Lebesgue measurable if continuous. You can show first that an upper (lower) semicontinuous function is measurable and then use the fact that a function that is both lower semicontinuous at upper semicontinuous at a point $x_0$ is continuous at that point.
In order to show that an upper (lower) semicontinuous function $f$ is measurable, show that $f^{-1}(]-\infty ,\alpha [)$ are closed and then the result would follow from the fact that closed sets are measurable.