For the function
\begin{align*} f&:\mathbb{R}\to\mathbb{R},\\[5pt] f(&x) = 2x, \end{align*}
I know it is a continuous function in terms of the epsilon-delta definition, but how can I show it is continuous in terms of the topological definition of continuity (one of the equivalent definition of continuity)?
It suffices to check on a basis of the standard topology, so check the preimages of open intervals. Are they open?