Proposition (continuous image of connected set is connected)

Let $(X,τ)$ and $(Y,ρ)$ be topological spaces.

If $f:X\to Y$ is continuous and $X$ is connected, then $f(X)\subseteq Y$ is connected.

Proof