# Contractible vs. Deformation retract to a point. [duplicate]

I have a quick question about the difference between the two concepts in the title. The question is basically ex.6 (b) in Hatcher's book titled "Algebraic Topology". Let $X$ be the subspace of $R^2$ consisting of the horizontal segment $[0,1] \times \{0\}$ together with the vertical segments $\{r\} \times [0,1-r]$ for $r$ a rational number in $[0,1]$. Now let $Y$ be the space that is the union of an infinite number of copies of $X$ arranged in a zig zag formation. See below -

Now my question is why can't one deformation retract $Y$ to a point in the darkened zig zag line? Surely the darkened zig zag line is homeomorphic to $\mathbb{R}$, which is deformation retractable to a point, and each of the vertical lines of each copy of $X$ deformation retracts to its segment of the zig zag line! I must be missing something here as one has to prove that $Y$ does not deformation retract to any point!

## marked as duplicate by Najib Idrissi, SchrodingersCat, Michael Medvinsky, Alex M., LeucippusDec 19 '15 at 15:53

In exercise 5, that's the one before this one, you showed that "if a space $X$ deformation retracts to a point $x \in X$, then for each neighbourhood $U$ of $x$ in $X$ there exists a neighborhood $V \subset U$ of $x$ such that the inclusion map $V \hookrightarrow U$ is nullhomotopic."
Pick a point $z$ in $Z$ (the zig zag line). Then you can find a neighbourhood $N$ of $z$ that is disconnected and such that every neighbourhood $U$ with $z \in U \subset N$ is also disconnected. Then you apply 5.
• This I explain in the first paragraph of my answer. Pick a point in $Y$ and an $\varepsilon$ ball around it. Can you find a neighbourhood inside the ball that is contractible? I don't think so -- it's not even connected! – Rudy the Reindeer Dec 16 '15 at 2:11