Discrete Mathematics and Its Applications, Seventh Edition

Published by McGraw-Hill Education
ISBN 10: 0073383090
ISBN 13: 978-0-07338-309-5

Chapter 2 - Section 2.2 - Set Operations - Exercises - Page 137: 58

Answer

Union: $A \cup B$= All elements that are either in A or in B If either string contains a 1 on the $i$th bit, then the union contains a 1 on the $i$th bit as well. If both string contains a 0 on the $i$th bit, then the union contains a 0 on the $i$th bit as well. Intersection: $A\cap B$ =All elements that are in both A AND B If both the string contains a 1 on the $i$th bit, then the intersection contains a 1 on the $i$th bit as well. If either string contains a 0 on the $i$th bit, then the intersection contains a 0 on the $i$th bit as well.

Work Step by Step

Let there be n sets. We require that the universal set is finite. If the universal set U contains m elements, then the bit string corresponding with every set will contain m elements. If the $i$th element of the universal set U is in the set, then the $i$th bit of the string is a 1. If the $i$th element of the universal set U is not in the set, then the $i$th bit of the string is a 0. Union: $A \cup B$= All elements that are either in A or in B If either string contains a 1 on the $i$th bit, then the union contains a 1 on the $i$th bit as well. If both string contains a 0 on the $i$th bit, then the union contains a 0 on the $i$th bit as well. Intersection: $A\cap B$ =All elements that are in both A AND B If both the string contains a 1 on the $i$th bit, then the intersection contains a 1 on the $i$th bit as well. If either string contains a 0 on the $i$th bit, then the intersection contains a 0 on the $i$th bit as well.
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.