Given $X$ and $Y$, two topological manifolds, and $\{P_i\}$ and $\{Q_i\}$ collections of $r$ (distinct) points on $X$ and $Y$ respectively, consider $Z$ their disjoint union, with the identification $P_i \sim Q_i\ \forall i$.
I am tasked with computing $H_q(Z)$ in terms of $H_q(X)$ and $H_q(Y)$. I may use the reduced homology instead.
Using the Mayer-Vietoris sequence, I easily managed to show that $H_q(Z) = H_q(X) \oplus H_q(Y) $ for $q \geq 2$. If both $X$ and $Y$ are connected, then trivially $Z$ is too and $H_0(Z) \simeq \mathbb Z$.
How can I compute $H_1(Z)$, and $H_0(Z)$ if $X$ and $Y$ are not necessarily connected?
I am especially interested in computing $H_1(Z)$ when $X$ and $Y$ are connected.
I managed to compute the elusive $\tilde H_1(Z)$ in the case of $X$ and $Y$ connected.
Using the Mayer-Vietoris sequence with the obvious open sets, which def. retract to $X$ and $Y$, and calling $A$ their intersection which retracts to a set of $r$ discrete points, one gets:
$$ \tilde H_1(A) \to \tilde H_1(X) \oplus \tilde H_1(Y) \to \tilde H_1(Z) \to \tilde H_0(A) \to \tilde H_0(X) \oplus \tilde H_0(Y) $$
Since $A$ is discrete, notice that $\tilde H_1(A) \simeq 0$ and $\tilde H_0(A) \simeq \mathbb Z ^{r-1}$. Moreover, since $X$ and $Y$ are (path) connected, $\tilde H_0(x) \oplus \tilde H_0(Y) \simeq 0$. Thus the above sequence is:
$$ 0 \to \tilde H_1(X) \oplus \tilde H_1(Y) \to \tilde H_1(Z) \to \mathbb Z^{r-1} \to 0 $$
Since $\mathbb Z^{r-1}$ is free, this short exact sequence is splitting, and therefore:
$$ \tilde H_1(Z) \simeq \tilde H_1(X) \oplus \tilde H_1(Y) \oplus \mathbb Z^{r-1} $$