Suppose $f:X \mapsto \mathbb{R}$, such that $f(x)= \cases{ \frac{1}{x} & , x $\neq$ 0 \\ 0 & , x=0 }$ where $X$ is the topological subspace $[0,1]$ of the Sorgenfrey line. Show that $f$ is continuous.
I have to show that $f$ inverses intervals of the form $(a,b)$ which are basic open sets, to open sets in the Sorgenfrey line. So I take cases $0<a<b$ and $f^{-1}((a,b))= (\frac{1}{b}, \frac{1}{a})=\cup_{n=1}^\infty (\frac{1}{b},\frac{1}{a}-\frac{1}{n}]$ which belongs to Sorgenfrey topology $a<b<0$ which gives the empty set and $a<0<b$ and $f^{-1}((a,b))=(\frac{1}{b},1] \cup \{0\}=(\frac{1}{b},1] \cup (\cup_{n=1}^{\infty} (-\frac{1}{n}, \frac{1}{n}])$ which also belongs to Sorgenfrey topology.
Is this approach correct?
It is almost correct. The only problem is that the last equality is false. But$$\left(\frac1b,1\right]\cup\{0\}=\left(\left(\frac1b,1\right]\cup(-1,0]\right)\cap[0,1],$$which is an open set.