Professional Documents
Culture Documents
Lesson 6 - Sets
Lesson 6 - Sets
Modern World
Basic Concepts
Sets
A C and B C
A is not a subset of B, since 1 {{1}}
A C and B C
A B, since A is not a subset of B
A A, since A = A
A
AA
(A B) → (A B)
Example : If A = {1, 2, 3}
(A) = {, {1}, {2}, {3}, {1,2}, (1,3}, {2,3},
{1,2,3}}
Cardinality of (A) = 23 = 8
Union of A and B
AB={x/x A xB}
AB is the set of all elements that are in A
or B.
Difference of A and B
A-B={x/x A xB}
A-B is the set of all elements that are in A
but not in set B.
A-B = A B’
Mathematics in the Modern World copyright©2020 esnatalio
Binary Operations on Sets
Symmetric Difference of A and B
AB = {x/ (x A xB) (x A xB) }
AB is the set of all elements that either
in A or B but not both
AB = (AB) – (AB)
AB = {1,2,3,4,5,7}
AB = {1,3}
A’ = {2,4,6,8,9,10}
B’ = {5,6,7,8,9,10}
A-B = {5,7}
B-A = {2,4}
AB = {2,4,5,7}
U U
A’
A A -B A B
A’
U U
AB A B
Union
You can now list your friends that play Soccer OR Tennis.
This is called a "Union" of sets and has the special symbol ∪:
Soccer ∪ Tennis = {alex, casey, drew, hunter, jade}
U=
{alex, blair, casey, drew, erin,
francis, glen, hunter, ira, jade}
U−S=
{blair, erin, francis, glen, ira, jade}
S’ =
{blair, erin, francis, glen, ira, jade}
(exactly the same as the
U − S example from above)
a. x A d. B C
b. A B e. B C
c. A B f. B
Perform
a. (AB)C d. (A-(BC))D
b. A(BC) e. (AB)-(AB)’
c. A-(B-C) f. What is (())?
a. (A-B)’
b. A’ B