My professor has defined a function and told us that the function is measurable. I cannot find any suitable explanation how this function is measurable? It is defined as,
Let, $E$ be a measurable set and $f:E\rightarrow [0,\infty]$ be a measurable function. For each $n\in \mathbb{N}$ we define $f_n:E\rightarrow [0,\infty)$ by,
$f_n= \begin{cases} 0,& if & 0\leq f(x)<\frac{1}{2^n} \\ \frac{1}{2^n}, & if & \frac{1}{2^n}\leq f(x)<\frac{2}{2^n} \\ \frac{2}{2^n}, & if & \frac{2}{2^n}\leq f(x) <\frac{3}{2^n} \\ \dots & \dots & \dots \\ \frac{n2^n-1}{2^n}, & if & \frac{n2^n-1}{2^n}\leq f(x) <n \\ n, & if & f(x)\geq n \end{cases}$
Moreover if possible please show that the sequence $\{f_n\}_{n\in \mathbb{N}}$ is monotonic increasing!
The function is too much complicated. Any help will be appreciated. Thanks in advance.
For the measurability part, as pointed in the comments section, we can just use the definitions or, alternatively, consider the following argumennt:
For the monotonicity part, consider the following hint: