$f$ not measurable, but $\lvert f\rvert$ measurable

2.8k Views Asked by At

Do you know an example of a function $f\colon\mathbb{R}\to\mathbb{R}$ which is not $\mathcal{B}$-measurable but $\lvert f\rvert$ is $\mathcal{B}$-measurable?

1

There are 1 best solutions below

4
On BEST ANSWER

Pick any non-measurable set $A$. Define: $$ f(x) = \begin{cases} 1 &: x \in A \\ -1 &: x \not\in A \end{cases} $$

$|f| = 1$ is a constant function, hence measurable. $f$ is easily seen to be non-measurable.