Let $X$ be a measurable space and $f$ a complex measurable function defined on $X$. Why is the set $E=\{x:f(x)=0\}$ measurable?
I know it is not complicated but I just started studying measurability.
Let $X$ be a measurable space and $f$ a complex measurable function defined on $X$. Why is the set $E=\{x:f(x)=0\}$ measurable?
I know it is not complicated but I just started studying measurability.
OK, following the additions in the comments: write $f = u + iv$, so $u(x) = \operatorname{Re}(f(x))$ and $v(x) = \operatorname{Im}(f(x))$. $u$ and $v$ are then measurable, as $f$ is.
Then $$E = f^{-1}[\{0\}] =u^{-1}[\{0\}] \cap v^{-1}[\{0\}] = \cap_n (u^{-1}(-\frac{1}{n} ,\frac{1}{n})] \cap \cap_n v^{-1}[(-\frac{1}{n}, \frac{1}{n})]$$
which is the countable intersection of measurable sets in the domain, as inverse images of open sets under $u$ or $v$ are measurable. So this is measurable, as measurable sets form a $\sigma$-algebra.
$ E=f^{-1}\{0\} $ and $\{0\}$ is measurable set with measure $0$. Now since $f$ is a measurable function so it pulls back measurable set to measurable set and hence $E$ is measurable.
We have $$E = \{|f| \geq 0\} \cap \{|f| \leq 0\}$$ which is clearly measurable since both $\{|f| \geq 0\}$ and $\{|f| \leq 0\}$ are measurable.
A complex-valued function is measurable if and only if $\operatorname{Re} f$ and $\operatorname{Im} f$ are measurable, i.e. for any $\alpha \in \mathbb{R}$ one and therefore all of the following sets are measurable: $$\{f > \alpha\} \qquad \{f \geq \alpha\}\qquad \{f < \alpha\}\qquad \{f \leq \alpha\}$$
Now we have $$f = \operatorname{Re} f + i\operatorname{Im} f$$
and thus $$|f|^2 = (\operatorname{Re} f)^2 + (\operatorname{Im} f)^2$$ Therefore since $\operatorname{Re} f$ and $\operatorname{Im} f$ are measurable and so is the product and sum of measurable functions we have that $|f|^2$ is measurable which readily implies that also $|f|$ is measurable.