Measurability of characteristic function based on measurable function

526 Views Asked by At

Let $(X,\mathcal{A})$ a measurable space and $f:X\rightarrow \mathbb{R}$ a measurable function and $g:X\rightarrow \mathbb{R}$

$g(x)=\left\{\begin{matrix} 0 & \text{if} \ f(x)\in \mathbb{Q} \\ 1 & \text{if} \ f(x)\in\mathbb{R}\setminus \mathbb{Q} \end{matrix}\right.$

How do we prove that g is also measurable ?? I know how to prove when a characteristic function is measurable but I dont know how to handle $f(x)$ inside $g$ in order to prove that is measurable.

2

There are 2 best solutions below

0
On BEST ANSWER

Notice that $\{ x : f(x) \in \mathbb{R} \setminus \mathbb{Q} \} = f^{-1} (\mathbb{R} \setminus \mathbb{Q})$ and $\{ x : f(x) \in\mathbb{Q} \} = f^{-1} ( \mathbb{Q})$ are both measurable sets since $f$ is measurable. Then we simply have that $g = 1_{f^{-1} (\mathbb{R} \setminus \mathbb{Q})}$ so you should be able to finish from here.

Alternatively, this is an example of a general result. We have that $g = 1_{\mathbb{R} \setminus \mathbb{Q}} \circ f$ is a composition of measurable functions and a composition of measurable functions is measurable.

0
On

$g=\chi_{f^{-1}({\bf{R}}-{\bf{Q}})}$. And we know that $\chi_{S}$ is a measurable function if $S$ is a measurable set.

$f^{-1}({\bf{R}}-{\bf{Q}})$ is a measurable set since \begin{align*} f^{-1}({\bf{R}}-{\bf{Q}})&={\bf{R}}-f^{-1}({\bf{Q}}), \end{align*} and $f^{-1}(\{c\})$ is measurable for each real number $c$.