Prove $f: \mathbb{R} - \{0\} \to \mathbb{R}$ such that $f(x) = \frac{1}{x}$ is continuous using the topological definition of continuity
To do this all I need to do is pick a $U$ open in $(\mathbb{R} -\{0\}, d)$ and show that $f^{-1}[U]$ is open in $\mathbb{R}$.
$U$ is of the form $U =B_{(\mathbb{R} - \{0\}, d)}(f(x), \epsilon) = (f(x) - \epsilon), f(x) + \epsilon)$, and $f^{-1}[U] = \left\{x \ | \ f(x) = \frac{1}{x} \in U\right\}$. But I'm having trouble showing that $f^{-1}[U]$ is open in $(\mathbb{R}, d)$. Certainly we have $x \in f^{-1}[U]$ and from that I would have to find a $\delta > 0$ such that $f^{-1}[U] = B_{(\mathbb{R}, d)}(x, \delta)$.
Would it suffice to say that $f^{-1}[U] = \left(\frac{1}{f(x) - \epsilon)}, \frac{1}{f(x) + \epsilon)}\right)$ which is trivially open in $\mathbb{R}$?