Settheory 130723000730 Phpapp02
Settheory 130723000730 Phpapp02
Theory
By iTutor.com
T- 1-855-694-8886
Email- info@iT
What is a set?
Sets are used to define the concepts of relations and functions.
The study of geometry, sequences, probability, etc. requires the
knowledge of sets.
E = {0, 2, 4, 6. . .}
(set of even natural numbers)
- "proper superset"
A B - A is a proper superset of B (A
B) A B
Every
( x: x element
B inxB isA)alsoA in A and
B
Example: N
Z Q R
Numbers and Set
There are different types of numbers:
Cardinal numbers - answer the question “How many?”
Ordinal numbers - such as first, second, third. . .
Nominal numbers – which are used to name things.
Examples of nominal numbers would be your driver’s
license number or your student ID number.
The cardinal number of a set S, symbolized as n(S), is the
number of elements in set S.
If S = { blue, red, green, yellow } then n(S) = 4.
Power Sets
Given any set, we can form a set of all possible subsets.
This set is called the power set.
Notation: power set or set A denoted as P(A)
Ex: Let A = {a}
P(A) = {Ø, {a}}
• Let B = {1, 2, 3}
Let A = {a, b}
P(B)={Ø,{1},{2},{3},{1,2},{1,3}
P(A) = {Ø, {a}, {b}, { a, b}}
,{2,3},{1,2,3}}
Cartesain Product
Ordered pairs - A list of elements in which the order is
significant.
Order is not significant for sets! {a,b} =
Notation: use round brackets. {b,a}
• (a, • (1, 2) • (2, 1) (a,b)
b) (b,a)
Cartesian Product: Given two sets A and B, the set of
– all ordered pairs of the form (a , b) where a is any
– element of A and b any element of B, is called the
– Cartesian product of A and B.
Denoted as A x B
• A x B = {(a,b) | a A and b B}
• Ex: Let A = {1,2,3}; B = {x,y}
– A x B = {(1,x),(1,y),(2,x),(2,y),(3,x),(3,y)}
– B x A = {(x,1),(y,1),(x,2),(y,2),(x,3),(y,3)}
– B x B = B2 = {(x,x),(x,y),(y,x),(y,y)}
Set Operators
Union of two sets A and B is the set of all elements in
either set A or B.
Written A B.
A B = {x | x A or x B}
1 3
0 4
2
5 6
9
8
7
Universal Set
A universal set is the super set of all sets under
consideration and is denoted by U.
Example: If we consider the sets A, B and C as the
cricketers of India, Australia and England respectively,
then we can say that the universal set (U) of these sets
contains all the cricketers of the world.
The union of two sets A and B is the set which contains
all those elements which
are only in A, only in B and in both A and B, and this set
is denoted by “A B”.
A B {x : x A or x B}
Example: If A = {a, 1 , x, p} and B = {p, q, 2, x},
then A B = {a, p, q, x, 1 , 2}.
Here, a and 1 are contained only in A; q and 2 are
contained only in B; and p and x are contained in both A and B.
Set Properties
Property 1 (Properties of Ø and
– )A Ø = A , A U=A
– A U=U , A Ø=Ø
Property 2 ( The idempotent properties)
– A
Property 3 (The commutative properties)
– A
Property 4 (The associative properties)
– A C) = (A C
– A C) = (A B) C
The End