Download presentation
Presentation is loading. Please wait.
1
Set Theoretic Operations
Set theoretic operations allow us to build new sets out of old ones. Given sets A and B, the set theoretic operators of interest to the probability course are: Union () Intersection () Complement (“—”) give us new sets AB, AB, andA . L5
2
Venn Diagrams Venn diagrams are useful in representing sets and set operations. Various sets are represented by circles inside a big rectangle representing the universe of reference. L5
3
Elements in at least one of the two sets:
Union Elements in at least one of the two sets: AB = { x | x A x B } U AB A B L5
4
Elements in exactly one of the two sets:
Intersection Elements in exactly one of the two sets: AB = { x | x A x B } U A AB B L5
5
Disjoint Sets U A B DEF: If A and B have no common elements, they
are said to be disjoint, i.e. A B = . U A B L5
6
Disjoint Union When A and B are disjoint, the disjoint union operation is well defined. The circle above the union symbol indicates disjointedness. U A B L5
7
Disjoint Union FACT: In a disjoint union of finite sets, cardinality of the union is the sum of the cardinalities. I.e. L5
8
Elements in first set but not second:
Set Difference Elements in first set but not second: A-B = { x | x A x B } U A-B B A L5
9
Elements in exactly one of the two sets:
Symmetric Difference Elements in exactly one of the two sets: AB = { x | x A x B } AB U A B L5
10
Elements not in the set (unary operator):
Complement Elements not in the set (unary operator): A = { x | x A } U A A L5
11
Set Identities In fact, the logical identities create the set identities by applying the definitions of the various set operations. For example: LEMMA: (Associativity of Unions) (AB )C = A(B C ) L5
12
Set Identities In fact, the logical identities create the set identities by applying the definitions of the various set operations. For example: LEMMA: (Associativity of Unions) (AB )C = A(B C ) Proof : (AB )C = {x | x A B x C } (by def.) L5
13
Set Identities In fact, the logical identities create the set identities by applying the definitions of the various set operations. For example: LEMMA: (Associativity of Unions) (AB )C = A(B C ) Proof : (AB )C = {x | x A B x C } (by def.) = {x | (x A x B ) x C } (by def.) L5
14
Set Identities In fact, the logical identities create the set identities by applying the definitions of the various set operations. For example: LEMMA: (Associativity of Unions) (AB )C = A(B C ) Proof : (AB )C = {x | x A B x C } (by def.) = {x | (x A x B ) x C } (by def.) = {x | x A ( x B x C ) } (logical assoc.) L5
15
Set Identities In fact, the logical identities create the set identities by applying the definitions of the various set operations. For example: LEMMA: (Associativity of Unions) (AB )C = A(B C ) Proof : (AB )C = {x | x A B x C } (by def.) = {x | (x A x B ) x C } (by def.) = {x | x A ( x B x C ) } (logical assoc.) = {x | x A x B C ) } (by def.) L5
16
Set Identities In fact, the logical identities create the set identities by applying the definitions of the various set operations. For example: LEMMA: (Associativity of Unions) (AB )C = A(B C ) Proof : (AB )C = {x | x A B x C } (by def.) = {x | (x A x B ) x C } (by def.) = {x | x A ( x B x C ) } (logical assoc.) = {x | x A (x B C ) } (by def.) = A(B C ) (by def.) Other identities are derived similarly. L5
17
Set Identities via Venn
It’s often simpler to understand an identity by drawing a Venn Diagram. For example DeMorgan’s first law can be visualized as follows. L5
18
Visual DeMorgan B: A: L5
19
Visual DeMorgan B: A: AB : L5
20
Visual DeMorgan B: A: AB : L5
21
Visual DeMorgan B: A: L5
22
Visual DeMorgan B: A: A: B: L5
23
Visual DeMorgan B: A: A: B: L5
24
Visual DeMorgan = L5
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.