This may be a duplicate of Inverse image of a subset of the codomain with elements without corresponding elements in domain , but the answer given seems to contradict what is intended by CH Edwards in his Advanced Calculus of Several Variables.
I shall frame the question using the following example.
Let there be a mapping $\vec{r}:\mathbb{R}^{2}\to\mathbb{R}^{3}$ defined by $\vec{r}\left(\mathbf{R}\right)=\left\{ x,y,1\right\} $ with $\mathbf{R}=\left\{ x,y\right\} ,$ and let $\mathcal{B}_{\epsilon}\left(\vec{r}\left(\mathbf{R}\right)\right)\subset\mathbb{R}^{3}$ be an open ball of radius $\epsilon>0$ centered on some specific $\vec{r}\left(\mathbf{R}\right).$
Is it proper to call $\vec{r}^{-1}\left(\mathcal{B}_{\epsilon}\left(\vec{r}\left(\mathbf{R}\right)\right)\right)$ the inverse image of $\mathcal{B}_{\epsilon}\left(\vec{r}\left(\mathbf{R}\right)\right)?$
I am specifically interested in those points $\left\{ x,y,z\right\} =\mathcal{B}_{\epsilon}\left(\vec{r}\left(\mathbf{R}\right)\right)$ for which $z\ne1.$ That is, those points not in the image of $\vec{r}.$
The following abbreviated except from Edwards's book is the reason I ask:
Theorem 8.2 The mapping $f:\mathbb{R}^{n}\to\mathbb{R}^{m}$ is continuous if and only if, given any open set $\mathcal{U}\subset\mathbb{R}^{m},$ the inverse image $f^{-1}\left(\mathcal{U}\right)$ is open in $\mathbb{R}^{n}.$ $\dots$
PROOF The inverse image $f^{-1}\left(\mathcal{U}\right)$ is the set of points in $\mathbb{R}^{n}$ that map under $f$ into $\mathcal{U},$ that is, $$ f^{-1}\left(\mathcal{U}\right)=\left\{ \mathbf{x}\in\mathbb{R}^{n}:f\left(\mathbf{x}\right)\in\mathcal{U}\right\} . $$
We prove the "only if" part of the Theorem, and leave the converse as Exercise 8.4.
Suppose $f$ is continuous. If $\mathcal{U}\subset\mathbb{R}^{m}$ is open, and $\mathbf{a}\in f^{-1}\left(\mathcal{U}\right),$ then there exists an open ball $\mathcal{B}_{r}\left(f\left(\mathbf{a}\right)\right)\subset\mathcal{U}.$ Since $f$ is continuous, there exists an open ball $\mathcal{B}_{\delta}\left(\mathbf{a}\right)$ such that $f\left(\mathcal{B}_{\delta}\left(\mathbf{a}\right)\right)\subset\mathcal{B}_{r}\left(f\left(\mathbf{a}\right)\right)\subset\mathcal{U}.$ Hence $\mathcal{B}_{\delta}\left(\mathbf{a}\right)\subset f^{-1}\left(\mathcal{U}\right);$ this shows that $f^{-1}\left(\mathcal{U}\right)$ is open.