Let $U \subseteq \mathbb{R}^2$ an open subset and let $f:U\rightarrow \mathbb {R}^2$ is be a continuous function.
I have the following version of Invariance of Domain Theorem (in $\mathbb{R}^2$):
If $f$ is injective then $f$ is homeomorphism.
I need to show:
a) If $f$ is locally injective then $f$ is open map.
b) If there is $a\in U$ such that $f^{-1}(a)$ is discrete subset, and $f$ is locally injective in $U\setminus {a}$, then $f$ is open map.
For (a) I tried: If $f(U)=\emptyset$ then there is nothing to prove. So I took some $y\in f(U)$, $y=f(x)$ for an $x\in U$. then there is an open subset $V\subseteq U$ such that $x\in V$ and $f|_V$ is injective. I tried to look at $\overline V$ and somehow use the invariance of domain theorem above, but I can't figure what to do.
For (b) - I'm lost.
can someone help me?