1 Sets
1 Sets
1 Sets
ON SETS
The Concept of a Set
A set is a well defined collection of distinct
objects called elements or members.
Example
The following are examples of sets.
1.set of the vowels in the English alphabet
2.set of real numbers
3.set of the months of the year
4.set of Filipino animators
Set Notations
Sets are usually denoted by upper-case
letters while elements are denoted by lower-case
letters. If an element a belongs to set A, we write
aA
, which reads "a is an element of A". To
b A that “b is not an element of A”, we write
denote
Example 3B 10 B
If B = set of odd integers then
and .
Ways of Describing a Set
Roster or Tabulation Form
-done by listing the elements
format: {element 1, element 2, element 3,
…, element n}.
Example
A = set of vowels in the English alphabet
A = {a, e, i, o, u}
Ways of Describing a Set
Rule or Set Builder Form
-also called defining property method
format: {x| x is P},
read as "x such that x is P" and
P is the property of the elements
Example
A = set of vowels in the English alphabet
A = {xlx is a vowel in the English alphabet}
Finite and Infinite Sets
A set is said to be finite if it contains a
limited or countable number of elements.
Otherwise, we say that it is infinite.
Example
A = set of IT students in Manila is finite.
B = {xl x is a counting number greater than 11}
is infinite.
Cardinality
The cardinality of a finite set A, denoted by
or lAl or n(A), is the number of elements of A.
Example
1. If A = set of vowels in the English alphabet
then lAl = 5.
2. If B = set of prime numbers less than 10
then n(B) = 4.
3. If C = {x| x is a Filipino astronaut } then |C| = 0.
Empty Set
A set without any element in it is called an
empty set or null set, and is denoted by Ø or
{ }. The cardinality of an empty set is 0.
Example
If A = set of counting numbers between 12 and
Example
Let A = {c, a, r, e, s}, B = {s, c, a, r, e}, and
Example
Let A = {c, a, r, e, s}, B = {s, c, a, r, e}, and
C = set of letters in the word logic.
Then A = B, but A C, and B C .
Relations on Sets
3. Two sets A and B are said to be joint if they
have at least one common element.
Otherwise, they are disjoint.
Example
Let A = {m,a,t,h}, B = {s,e,t}, and
C = {l,o,g,i,c}.
Then A and B are joint while A and C are
disjoint, and B and C are also disjoint.
Subset
Set A is a subset of set B, denoted by A B , if
every element of A is also an element of B.
Furthermore, if A B and A B , then A is a
proper subset of B, denoted byA B .
Example
B A
Let A = {m,a,t,h}, B = {h,a,t}. Then
. B A
More precisely, .
Subset
Any subset that is not a proper subset of a
set is called an improper subset.
Example
Let A = {s, e, t}.
Then the following are the subsets of A:
{ }, {s}, {e}, {t}, {s,e}, {s,t}, {e,t}, and {s,e,t}.
Power Set
The power set of A, denoted by P (A), is the set
of all subsets of A.
Example
Let A = {s, e, t}.
Then
P (A)= { Ø,{s},{e},{t},{s,e},{s,t},{e,t},{s,e,t}}.
Example
Let AA = B{m, a, t, h} and B= {e, a, As,t}.B
Then = {a, e, h, m, s, t} and = {a, t}.
Operations on Sets
Every set under investigation or discussion is a
subset of a fixed set called universal set denoted
by U. It is usually defined or given in discussions.
C
A
3. The complement of a set A, denoted by or A
is the set containing all elements in the
universal set but not in A. In other words,
. A {x | x U and x A }
Example
Let U = {0,1,2,3,4,5,6,7,8,9} and A =
A
{0,2,4,7}.
Then = {1,3,5,6,8,9} .
Operations on Sets
4. The difference between sets A and B or the
relative complement of set B with respect to
set A, denoted by A B , (also read as A minus
B), is the set containing all the elements in A
but not in B. In other words,
A B A B {x | x. A and x B }
Example
Let A = {0,2,4,6,8} and B ={1,3,5,8,9}.
Then A - B = {0,2,4,6} and B - A= {1,3,5,9}
Operations on Sets
5. The symmetric difference of the sets A and B,
denoted by A B , is the set of all elements in
either A or B, but not in both A and B.
In symbols, A B A B A B
.
Example
Let A = {0,2,4,5} and B ={1,2,5,8}.
Then A B {0,4,1,8}.
Operations on Sets
6. The Cartesian product of sets A and B,
denoted by A B , is the set of ordered pairs
(a , b ) aA bB
where and .AFurthermore,
1 , A 2 ,..., A nthe
Cartesian productA 1 Aof2 the ...sets
An ,
denoted a1by, a 2 ,..., a n ai A ithe set of n-
, is
tuples where .
Example
Let A = {0,2,4} B ={1,2} and C ={0,5}.
Then AxB = {(0,1),(0,2),(2,1),(2,2),(4,1),(4,2)}
AxBxC={(0,1,0),(0,1,5),(0,2,0),(0,2,5),(2,1,0),(2,1,5),
Practice Exercise 1
I. Describe each set using
a. roster form; and b. set builder form.
1. consonants in the English alphabet
2. stars in the universe
3. letters in the word intersection
3 2
4. solutions to the equation x 5 x 6 0
5. integers less than 11.
II. Determine which sets in I are infinite.
III.For each finite set in I, determine its cardinality.
Practice Exercise 1
IV. Consider the following sets.
U = {0,1,2,3,4,5,6,7,8,9}
A = {2,4,6,8} B = {1,4,5,8,9}
C = {x| x is even} D = {x|x is an odd multiple of 3}