© by Kenneth H. Rosen, Discrete Mathematics & its Applications, Seventh Edition, Mc Graw-Hill, 2011
CSE 504, Ch.1 (part 3): The foundations:
Logic & Proof, Sets, and Functions
13
Set Operations (2.2) (cont.)Set Operations (2.2) (cont.)
–Examples:
U = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}
A= {1, 2, 3, 4, 5},
B = {4, 5, 6, 7, 8}. Then
•AB = {1, 2, 3, 4, 5, 6, 7, 8}
•A B = {4, 5}
• = {0, 6, 7, 8, 9, 10}
• = {0, 1, 2, 3, 9, 10}
•A - B = {1, 2, 3}
•B - A = {6, 7, 8}
•AB = {1, 2, 3, 6, 7, 8}
A
B