Example 2.1.1. Given two maps \(f\colon Z \to X\) and \(g\colon Z \to Y\) of topological spaces, recall that the pushout in \(\Top \) is given by the quotient space \[ X \sqcup _Z Y := (X \sqcup Y) / \sim , \qquadtext { where } f(z) \sim g(z) \text { for all } z \in Z. \] For \(n \geq 1\), let \(D^n\) denote the \(n\)-dimensional disk, and let \(S^{n-1} \hookrightarrow D^n\) denote its boundary. We have the following two pushout squares in \(\Top \):

Commutative square with maps S n-1 to D n, * to S n, S n-1 to *, D n to S n.
Commutative square with maps S n-1 to *, * to *, S n-1 to *, * to *.

Collapsing \(D^n\) to a point gives a map between the two spans which is a homotopy equivalence at every vertex, yet their pushouts \(S^n\) and \(*\) are not homotopy equivalent.