Let $f$ be a continuous function and $B$ a Borel set, show that $f^{-1}(B)$ is a Borel set. (Hint, the collection $\mathcal{M}=\{E: f^{^{-1}}(E)\ \ $is Borel$ \}$ is $\sigma$- algebra).
Solution: I am struggling with showing that $\mathcal{M}$ is $\sigma$ algebra. Clearly, $\emptyset \in \mathcal{M}$ since by the continuity of $f$, we have $f^{-1}(\emptyset)=\emptyset$ is open and $\emptyset$ is Borel. Is $\mathbb{R}\in \mathcal{M}$ and how to prove it is closed under the union?
Thanks for any hint.
Let $\mathcal{O}$ denote the set of open sets and $\mathcal{B}$ the set of Borel sets.
Since $f$ is continuous we have $\mathcal{O} \subset \mathcal{M}$. Therefore
$\mathcal{B}= \sigma (\mathcal{O}) \subset \sigma (\mathcal{M})=\mathcal{M}$.