Sets and Number Systems - Exercise

illa
JB
as
JB
as
illa
si
lla
JB
a
Numeration System
Exercise
JBasilla
Introduction
Comparing Sets
illa
Exercise
JB
as
illa
JB
as
JB
as
illa
Sets and Number Systems
The empty set
Set Operations
De Morgan’s Law
illa
JB
as
illa
Institute of Mathematics
University of the Philippines-Diliman
[email protected]
JB
as
JB
as
illa
Julius M. Basilla
2014 Jan 8
1/30
illa
JB
as
JB
as
illa
si
lla
JB
a
Sets and Elements
illa
JB
as
illa
Sets - is an aggregate/collection of objects
The individual objects in a set are called the elements.
A set S must be well-defined. For any object, one can
decide whether the object is in the set of not.
Every object in a set must be unique. That is, the same
object cannot be included in a set more than once.
Examples
JB
as
JB
as
illa
Numeration System
Exercise
JBasilla
Introduction
Comparing Sets
The empty set
Set Operations
De Morgan’s Law
illa
JB
as
illa
JB
as
JB
as
illa
{Dopey, Grumpy, Doc, Bashful, Sleepy, Sneezy, Happy}
{2, 4, 6, . . . }
{January, February, March, April, May, June, July,
August, September, October, November, December}
2/30
illa
JB
as
JB
as
illa
si
lla
JB
a
Describing a set
Numeration System
Exercise
JBasilla
illa
JB
as
illa
X = {Dopey, Grumpy, Doc, Bashful, Sleepy, Sneezy,
Happy}
Y = {2, 4, 6, . . . }
Z = {January, February, March, April, May, June, July,
August, September, October, November, December}
JB
as
JB
as
illa
Roster Method- the elements are listed.
Introduction
Comparing Sets
The empty set
Set Operations
De Morgan’s Law
illa
JB
as
illa
X = { x : x is a dwarf of Snowwhite}
Y = { x : x is an even counting number}
Z = {x: x is a month.}
JB
as
JB
as
illa
Descriptive Method- a membership criteria is given.
3/30
illa
JB
as
JB
as
illa
si
lla
JB
a
Notation
Numeration System
Exercise
JBasilla
1. If an element x is an object of a set S, we write
Introduction
Comparing Sets
illa
illa
The empty set
Dopey ∈ X.
2 ∈ Y , 100 ∈ Y , 1004 ∈ Y .
January ∈ Z.
JB
as
JB
2. Example
JB
as
as
illa
x ∈ S.
Set Operations
De Morgan’s Law
illa
x 6∈ X.
JB
as
3. Example
JB
as
JB
as
illa
illa
If the object x is not in X we write
Rasputin 6∈ X.
3 6∈ Y , π 6∈ Y , e 6∈ Y .
Monday 6∈ Z.
4/30
illa
JB
as
JB
as
illa
JB
a
si
lla
Visualizing a set
Venn Diagram or Euler Diagram
Numeration System
Exercise
JBasilla
Introduction
Comparing Sets
illa
illa
JB
as
JB
as
JB
as
illa
The empty set
Set Operations
De Morgan’s Law
Rasputin
A
illa
JB
as
X
illa
JB
as
JB
as
illa
Dopey
The objects that are in the set are drawn inside the
circle representing the set
The objects that are not in the set are drawn outside the
circle representing the set.
5/30
illa
JB
as
JB
as
illa
si
lla
JB
a
Equality
Numeration System
Exercise
JBasilla
illa
JB
as
illa
Let A be the set consisting of the 5 smallest positive
integer.
Let B = {5, 3, 2, 1, 4}.
Is A = B? Yes
JB
as
JB
as
illa
Definition. Two sets are equal if they have exactly the
same elements.
Example
Introduction
Comparing Sets
The empty set
Set Operations
De Morgan’s Law
Example
illa
JB
as
illa
Let A be the set of all vowels in the English Alphabet
Let B be the set of all vowels in the Filipino Alphabet.
Is A = B? Yes
JB
as
JB
as
illa
Example
Let A be the set of all primary colors.
Let B be the set of all colors appearing in the Philippine
flag.
Is A = B? No
6/30
illa
JB
as
JB
as
illa
si
lla
JB
a
Subsets
illa
JB
as
illa
Definition. A set A is a subset of B, written A ⊂ B if and
only if all the elements of A are also in B. This means
that the statement ” If x is in A then x is in B,” is true.
Example
JB
as
JB
as
illa
Numeration System
Exercise
JBasilla
Let A be the set consisting of the even positive integer
less than 6.
Let B = {5, 3, 2, 1, 4}.
Is A ⊂ B? Yes
Introduction
Comparing Sets
The empty set
Set Operations
De Morgan’s Law
illa
JB
as
illa
Let A be the set of all vowels in the English Alphabet
Let B be the set of all letters in the English Alphabet
Is A ⊂ B? Yes
JB
as
JB
as
illa
Example
Example
Let A be the set of all students in this class.
Let B be the set of all engineering students.
Is A ⊂ B? No
Two sets A and B are equal if A ⊂ B and B ⊂ A.
7/30
illa
JB
as
JB
as
illa
si
lla
JB
a
Empty set
Numeration System
Exercise
JBasilla
Introduction
Comparing Sets
illa
JB
as
illa
JB
as
JB
as
illa
The empty set
Set Operations
De Morgan’s Law
The set containing nothing is called an empty set.
An empty set is a subset of any set.
illa
JB
as
illa
JB
as
JB
as
illa
There is only one empty set, called the null set.
8/30
illa
JB
as
JB
as
illa
si
lla
JB
a
Intersection
Numeration System
Exercise
JBasilla
Introduction
Figure : X ∩ Y := { x ∈ X and x ∈ Y }
Comparing Sets
X
JB
as
illa
Set Operations
illa
De Morgan’s Law
JB
as
illa
JB
JB
as
as
illa
illa
JB
JB
as
as
illa
The empty set
Y
9/30
illa
JB
as
JB
as
illa
si
lla
JB
a
Union
Numeration System
Exercise
JBasilla
Introduction
Figure : X ∪ Y := { x ∈ X or x ∈ Y }
Comparing Sets
De Morgan’s Law
illa
illa
JB
as
Set Operations
JB
as
illa
JB
as
illa
JB
as
JB
as
illa
JB
as
illa
The empty set
10/30
illa
JB
as
JB
as
illa
si
lla
JB
a
Complement
Numeration System
Exercise
JBasilla
Introduction
Figure : X 0 := { x 6∈ X}
Comparing Sets
De Morgan’s Law
illa
illa
JB
as
Set Operations
JB
as
illa
JB
JB
as
as
illa
illa
JB
JB
as
as
illa
The empty set
X
11/30
illa
JB
as
JB
as
illa
si
lla
JB
a
The case of 3 sets
Numeration System
Exercise
JBasilla
Introduction
Comparing Sets
A
illa
Set Operations
JB
as
C
De Morgan’s Law
illa
JB
as
illa
JB
as
illa
JB
as
JB
as
illa
JB
as
illa
The empty set
B
12/30
illa
JB
as
JB
as
illa
si
lla
JB
a
The case of 3 sets
Numeration System
Exercise
JBasilla
Introduction
Comparing Sets
The empty set
illa
Set Operations
JB
as
illa
JB
as
JB
as
illa
Figure : A ∩ B
De Morgan’s Law
A
illa
JB
as
illa
JB
as
JB
as
illa
C
B
13/30
illa
JB
as
JB
as
illa
si
lla
JB
a
The case of 3 sets
Numeration System
Exercise
JBasilla
Introduction
Comparing Sets
The empty set
illa
Set Operations
JB
as
illa
JB
as
JB
as
illa
Figure : B ∩ C
De Morgan’s Law
A
illa
JB
as
illa
JB
as
JB
as
illa
C
B
14/30
illa
JB
as
JB
as
illa
si
lla
JB
a
The case of 3 sets
Numeration System
Exercise
JBasilla
Introduction
Comparing Sets
The empty set
illa
Set Operations
JB
as
illa
JB
as
JB
as
illa
Figure : A ∩ C
De Morgan’s Law
A
illa
JB
as
illa
JB
as
JB
as
illa
C
B
15/30
illa
JB
as
JB
as
illa
si
lla
JB
a
The case of 3 sets
Numeration System
Exercise
JBasilla
Introduction
Comparing Sets
The empty set
illa
Set Operations
JB
as
illa
JB
as
JB
as
illa
Figure : A ∩ B ∩ C
De Morgan’s Law
A
illa
JB
as
illa
JB
as
JB
as
illa
C
B
16/30
illa
JB
as
JB
as
illa
si
lla
JB
a
A complex example
Numeration System
Exercise
JBasilla
X
Introduction
Comparing Sets
The empty set
JB
as
illa
Set Operations
De Morgan’s Law
illa
Z
JB
as
illa
JB
as
illa
JB
as
JB
as
illa
JB
as
illa
X : counting numbers which are multiples of 2
Y : counting numbers which are multiples of 3
Z : counting numbers which are multiples of 5
Y
multiples of 2
17/30
illa
JB
as
JB
as
illa
si
lla
JB
a
A complex example
Numeration System
Exercise
JBasilla
X
Introduction
Comparing Sets
The empty set
JB
as
illa
Set Operations
De Morgan’s Law
illa
Z
JB
as
illa
JB
as
illa
JB
as
JB
as
illa
JB
as
illa
X : counting numbers which are multiples of 2
Y : counting numbers which are multiples of 3
Z : counting numbers which are multiples of 5
Y
multiples of 3
18/30
illa
JB
as
JB
as
illa
si
lla
JB
a
A complex example
Numeration System
Exercise
JBasilla
X
Introduction
Comparing Sets
The empty set
JB
as
illa
Set Operations
De Morgan’s Law
illa
Z
JB
as
illa
JB
as
illa
JB
as
JB
as
illa
JB
as
illa
X : counting numbers which are multiples of 2
Y : counting numbers which are multiples of 3
Z : counting numbers which are multiples of 5
Y
multiples of 5
19/30
illa
JB
as
JB
as
illa
si
lla
JB
a
A complex example
Numeration System
Exercise
JBasilla
X
Introduction
Comparing Sets
The empty set
JB
as
illa
Set Operations
De Morgan’s Law
illa
Z
JB
as
illa
JB
as
illa
JB
as
JB
as
illa
JB
as
illa
X : counting numbers which are multiples of 2
Y : counting numbers which are multiples of 3
Z : counting numbers which are multiples of 5
Y
multiples of 30
20/30
illa
JB
as
JB
as
illa
si
lla
JB
a
A complex example
Numeration System
Exercise
JBasilla
X
Introduction
Comparing Sets
The empty set
JB
as
illa
Set Operations
De Morgan’s Law
illa
Z
JB
as
illa
JB
as
illa
JB
as
JB
as
illa
JB
as
illa
X : counting numbers which are multiples of 2
Y : counting numbers which are multiples of 3
Z : counting numbers which are multiples of 5
Y
multiples of 10
21/30
illa
JB
as
JB
as
illa
si
lla
JB
a
A complex example
Numeration System
Exercise
JBasilla
X
Introduction
Comparing Sets
The empty set
JB
as
illa
Set Operations
De Morgan’s Law
illa
Z
JB
as
illa
JB
as
illa
JB
as
JB
as
illa
JB
as
illa
X : counting numbers which are multiples of 2
Y : counting numbers which are multiples of 3
Z : counting numbers which are multiples of 5
Y
multiples of 15
22/30
illa
JB
as
JB
as
illa
si
lla
JB
a
A complex example
Numeration System
Exercise
JBasilla
X
Introduction
Comparing Sets
The empty set
JB
as
illa
Set Operations
De Morgan’s Law
illa
Z
JB
as
illa
JB
as
illa
JB
as
JB
as
illa
JB
as
illa
X : counting numbers which are multiples of 2
Y : counting numbers which are multiples of 3
Z : counting numbers which are multiples of 5
Y
multiples of 6
23/30
illa
JB
as
JB
as
illa
si
lla
JB
a
A complex example
Numeration System
Exercise
JBasilla
X
Introduction
Comparing Sets
The empty set
JB
as
illa
Set Operations
De Morgan’s Law
illa
Z
JB
as
illa
JB
as
illa
JB
as
JB
as
illa
JB
as
illa
X : counting numbers which are multiples of 2
Y : counting numbers which are multiples of 3
Z : counting numbers which are multiples of 5
Y
multiples of 6 or 10
24/30
illa
JB
as
JB
as
illa
si
lla
JB
a
A complex example
Numeration System
Exercise
JBasilla
X
Introduction
Comparing Sets
The empty set
JB
as
illa
Set Operations
De Morgan’s Law
illa
Z
JB
as
illa
JB
as
illa
JB
as
JB
as
illa
JB
as
illa
X : counting numbers which are multiples of 2
Y : counting numbers which are multiples of 3
Z : counting numbers which are multiples of 5
Y
multiples of 6 or 15
25/30
illa
JB
as
JB
as
illa
si
lla
JB
a
A complex example
Numeration System
Exercise
JBasilla
X
Introduction
Comparing Sets
The empty set
JB
as
illa
Set Operations
De Morgan’s Law
illa
Z
JB
as
illa
JB
as
illa
JB
as
JB
as
illa
JB
as
illa
X : counting numbers which are multiples of 2
Y : counting numbers which are multiples of 3
Z : counting numbers which are multiples of 5
Y
multiples of 15 or 10
26/30
illa
JB
as
illa
si
lla
JB
as
JB
a
A complex example
Numeration System
Exercise
JBasilla
X
7
Comparing Sets
The empty set
De Morgan’s Law
Z
15
2
6
JB
as
illa
30
illa
JB
as
JB
as
illa
10
JB
as
5
Introduction
Set Operations
illa
illa
JB
as
JB
as
illa
X : counting numbers which are multiples of 2
Y : counting numbers which are multiples of 3
Z : counting numbers which are multiples of 5
3
Y
27/30
illa
JB
as
JB
as
illa
JB
a
si
lla
(A ∪ B)0 = A0 ∩ B 0
Numeration System
Exercise
JBasilla
(A ∪ B)0
Introduction
Comparing Sets
illa
illa
A
JB
as
JB
JB
as
as
illa
The empty set
Set Operations
De Morgan’s Law
B
illa
JB
as
JB
JB
as
as
illa
illa
A0 ∩ B 0
A
B
28/30
illa
JB
as
JB
as
illa
JB
a
si
lla
(A ∩ B)0 = A0 ∪ B 0
Numeration System
Exercise
JBasilla
(A ∩ B)0
Introduction
Comparing Sets
illa
illa
A
JB
as
JB
JB
as
as
illa
The empty set
Set Operations
De Morgan’s Law
B
illa
JB
as
JB
JB
as
as
illa
illa
A0 ∪ B 0
A
B
29/30
illa
JB
as
JB
as
illa
si
lla
JB
a
The real number system
Numeration System
Exercise
JBasilla
Introduction
Comparing Sets
De Morgan’s Law
illa
illa
JB
as
Set Operations
JB
as
illa
JB
as
illa
JB
as
JB
as
illa
JB
as
illa
The empty set
30/30