I'm totally new to Math Induction. I have a question on using Math Induction proof with union and intersections.
Here's the initial problem: Prove that, for if C, D1, D2, …, Dn are n + 1 sets, that
$$C\bigcap(\bigcup_{i=1}^nD_i)=\bigcup_{i=1}^n(C \bigcap D_i)$$
Basis step.
Prove P(1).
$$P(1):C \bigcap D_i = C \bigcap D_i$$
Induction step
Write out P(k) by replacing “n” with “k” in the original equation.
$$P(k): C\bigcap(\bigcup_{i=1}^kD_i)=\bigcup_{i=1}^k(C \bigcap D_i)$$
Proof
Using the assumption that P(k) is true, add k+1 on the left-hand side and replace “k” with “k+1” to the right-hand side.
$$P(k+1): C\bigcap(\bigcup_{i=1}^{k+1}D_i)=C \bigcap((\bigcup_{i=1}^kD_i)\bigcup D_{k+1})$$
RHS (associative properties - change the grouping )
$$=C \bigcap(\bigcup_{i=1}^kD_i)\bigcup D_{k+1})$$
Question: are we just replacing the k with k+1? if so why? or am I totally off?
RHS of P(k+1)
$$=C \bigcap(\bigcup_{i=1}^{k+1}D_i)$$