Discrete Math�Fall 2012
Sections 2.1 and 2.2
Set Operations
Example:
A = { 1,2,3} B = {3,4,5}
Universal Set
Many times all of the sets in question are a subset of one set.
Complement
Example 2
Let A={1,2,4}, B = {2,4,6,8}, C = {3,6,9} and U = {1,2,3,4,6,8,9}.
Theorem 2.1
Let U be a universal set. For any subsets A, B, and C of U, the following are true:
Page 43 has more….
De Morgan’s Laws
For any subsets A and B of a universal set U, the following are true:
Example De Morgan’s Laws:
The Cartesian Product
Example:
Let A = {a,b,c} and B ={2,3,4}
Section 2.2 Relations
Remember the marriage problem?
Brides Grooms
Sue Bobby
Jess Tim
Beth Mike
{(Sue,Bobby), (Jess, Bobby), (Jess,Mike),
(Beth, Tim)}
Relations
Example
Let S = {1,2,3,4}. Define a relation R on S by letting x R y mean x<y.
Possible Properties of Relations
Example
Let S = {1,2,3,4}. Define a relation R on S by letting x R y mean x<y.
Equivalence Relations
Let S be the set of people in this classroom. Let x R y if person x and person y have the same favorite color.
Equivalence classes
Theorem 2.3
Let R be an equivalence relation on a set S.
Time permitting– proof…
Partition
Example
Let A = {1,2,3}, B = {4,5}, and C = {6,7}. Then
P ={A,B,C} is a partition of S = {1,2,3,4,5,6,7}.
Theorem 2.4