[guided]Assume $f: X \to Y$ is continuous, open, and injective, and that $A \subset X$ is nowhere dense. We must show $f(A)$ is nowhere dense in $Y$.
The strategy has three phases: **pull back** to $X$, **avoid** $A$ using the nowhere dense property, then **push forward** via the open map.
We use the [equivalent characterisation](/theorems/1084) (iii): $f(A)$ is nowhere dense if and only if every nonempty open $V \subset Y$ contains a nonempty open subset disjoint from $f(A)$.
Let $V \in \tau_Y$ be nonempty.
**Case 1:** $V \cap f(X) = \varnothing$. Then $f(A) \subset f(X)$ gives $V \cap f(A) = \varnothing$, and $W := V$ satisfies (iii).
**Case 2:** $V \cap f(X) \neq \varnothing$, so there exists $x \in X$ with $f(x) \in V$, giving $x \in f^{-1}(V) \neq \varnothing$.
**Pull back.** Since $f$ is continuous, $f^{-1}(V) \in \tau_X$. So $f^{-1}(V)$ is a nonempty open subset of $X$.
**Avoid.** Since $A$ is nowhere dense in $X$ and $f^{-1}(V)$ is nonempty open, the [equivalent characterisation](/theorems/1084) (iii) provides a nonempty open $H \subset f^{-1}(V)$ with $H \cap A = \varnothing$.
**Push forward.** Define $W := f(H)$. Since $f$ is an open map and $H$ is open, $W$ is open. Since $H \neq \varnothing$, $W \neq \varnothing$. Since $H \subset f^{-1}(V)$, applying $f$ gives $W = f(H) \subset f(f^{-1}(V)) \subset V$.
**Disjointness.** This is where injectivity of $f$ is consumed. For an injective function $f: X \to Y$, the identity $f(S_1 \cap S_2) = f(S_1) \cap f(S_2)$ holds for all subsets $S_1, S_2 \subset X$. To verify the non-trivial inclusion $\supset$: if $y \in f(S_1) \cap f(S_2)$, then $y = f(s_1) = f(s_2)$ for some $s_1 \in S_1$, $s_2 \in S_2$; injectivity forces $s_1 = s_2 \in S_1 \cap S_2$, so $y \in f(S_1 \cap S_2)$. Applying this:
\begin{align*}
f(H) \cap f(A) = f(H \cap A) = f(\varnothing) = \varnothing.
\end{align*}
Why is injectivity essential? Without it, $f(H) \cap f(A) = \varnothing$ can fail even when $H \cap A = \varnothing$: two distinct points $h \in H$ and $a \in A$ might satisfy $f(h) = f(a)$, placing $f(a)$ in both $f(H)$ and $f(A)$. A concrete example: let $X = \mathbb{R}^2$, $Y = \mathbb{R}$, and let $\pi_1: \mathbb{R}^2 \to \mathbb{R}$ denote projection onto the first coordinate, $(x_1, x_2) \mapsto x_1$. The map $\pi_1$ is continuous and open (it sends the open rectangle $(a,b) \times (c,d)$ to the open interval $(a,b)$). The set $A = \mathbb{R} \times \{0\}$ is nowhere dense in $\mathbb{R}^2$ (its closure is itself, and a horizontal line has empty interior in the plane), but $\pi_1(A) = \mathbb{R}$, which is not nowhere dense in $\mathbb{R}$.
The open set $W = f(H) \subset V$ is nonempty, open, and disjoint from $f(A)$, confirming that $f(A)$ is nowhere dense by characterisation (iii).[/guided]