Discrete Mathematics with Applications 4th Edition

Published by Cengage Learning
ISBN 10: 0-49539-132-8
ISBN 13: 978-0-49539-132-6

Chapter 7 - Functions - Exercise Set 7.4 - Page 440: 31

Answer

See explanation

Work Step by Step

Let \(A\) and \(B\) be any two countable sets. We wish to show that \(A \cup B\) is countable. There are two cases to consider: --- **Case 1. One of the sets is finite.** - Suppose, without loss of generality, that \(A\) is finite and \(B\) is countable (which might be countably infinite). - From the result of one exercise, we know that the disjoint union of a finite set and a countably infinite set is countably infinite. - (And if \(B\) were finite as well, then \(A \cup B\) would clearly be finite and hence countable.) - Therefore, \(A \cup B\) is countable. --- **Case 2. Both \(A\) and \(B\) are countably infinite.** - Since each of \(A\) and \(B\) is countably infinite, there exist bijections \(f:\mathbb{N} \to A\) and \(g:\mathbb{N} \to B\). - The result of the previous exercise shows that we can interleave these two listings to form an enumeration of \(A \cup B\). For instance, define a function \(h: \mathbb{N} \to A \cup B\) by \[ h(n) = \begin{cases} f\left(\tfrac{n+1}{2}\right), & \text{if } n \text{ is odd}, \\ g\left(\tfrac{n}{2}\right), & \text{if } n \text{ is even}. \end{cases} \] - Every element of \(A\) appears as some \(f(k)\) and every element of \(B\) appears as some \(g(k)\), so every element of \(A \cup B\) appears in the sequence \(\{h(n)\}_{n \in \mathbb{N}}\). - Thus, \(A \cup B\) is countably infinite. --- **Conclusion:** In either case, whether one set is finite or both are countably infinite, the union \(A \cup B\) is countable. This proves that the union of any two countable sets is countable.
Update this answer!

You can help us out by revising, improving and updating this answer.

Update this answer

After you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.