Professional Documents
Culture Documents
Example::: The Set of Odd Positive Integers Less Than 10 Can Be Expressed by O (1,3,5,7,9)
Example::: The Set of Odd Positive Integers Less Than 10 Can Be Expressed by O (1,3,5,7,9)
Example::: The Set of Odd Positive Integers Less Than 10 Can Be Expressed by O (1,3,5,7,9)
Example: The set V of all vowels in English alphabet can written as V={a,e,i,o,u}
Example: The set of odd positive integers less than 10 can be expressed by O={1,3,5,7,9}
Example: The set of positive integers less than 100 can be expressed by {1,2,3,…,99}
Equal Sets: Two sets are equal if and only if they have same elements.
Example: Draw a venn diagram to represent V, the set of vowels in the English alphabet.
ae
i o u
Subset: The set A is said to be a subset of B if and only if every element of A is also an
element of B. We use the notation A⊆B To indicate that A is a subset of the set B.
∀ x ¿B)
B
A
Cardinality: Let S be a set .If there are exactly n distinct elements in S where n is a
nonnegative integer ,we say that S is a finite set and that n is the cardinality of S .The cardinality
of S is denoted by |S|.
Example: Let A be the set of odd positive integers less than 10.Then |A|=5.
Example: Let S be the set of letters in the English alphabet. Then |S|=26.
Power set: The set of all subsets of a set A is called power set of set A and is denoted by
P(A).
Note: If a set A has n elements then then P(A) has 2nelements i.e. if| A |=n then | P( A)|= 2n
Example: What is the power set of Empty set? What is the powers set of {∅ }?
Solution: P(∅)={∅}
And P({∅})={∅,{∅}}
Cartesian Products: Let A and B be two sets. The cartesian product of A and B denoted
by A×B is the set of all ordered pairs (a,b) where a∈A and b∈B.Hence
B×A={(a,1),(a,2),(b,1),(b,2),(c,1),(c,2)}
Example: What is the cartesian product of A={0,1} and B={1,2} and {0,1,2}?
Solution:
Exercise 1.4:
Q2:Use the set builder notation to give a description of each of the following sets
a) {0,3,6,9}
={x|x ¿ 3n :n=0,1,2,3}
b) {-3,-2,-1,0,1,2,3}
={ x|x ∈Z ∧ -3≤ x ≤3}
c) {m,n,o,p}
{ x|x is an alphabet between m and p}
Solution: not equal as the first set does not contain any elements and the other contains
one element ∅
Q4: suppose that A={2,4,6},B={2,6},C={4,6} and D={4,6,8}.determine which of these sets are
subsets of which other of these sets.
Solution: B⊆ A, C⊆ A, C⊆ D
Q5: For each of the following sets, determine whether 2 is an element of that set
a){x∈R|x is and integer greater than 1}
Ans:2 does not belong to the set define above as there exists no such x whose square is 2.
c){2,{2}}
d){{2},{{2}}}
e){{2},{2,{2}}}
f){{{2}}}
f) ∅ ∈{x}
Ans: False
Q8:Use a venn diagram to illustrate the relationship A⊆B and B⊆C
Ans:
C
B
A
Q9:Suppose that A,B,C are sets such that A⊆B and B⊆C.Show that A⊆C
Proof: let A⊆B and B⊆C
and x∈A but since A⊆B
so x∈B also B⊆C so x∈C
x∈A⟹ x∈C
so A⊆C
B={a,{a}}
a){a}
ans: 1
b){{a}}
ans: 1
c){a,{a}}
ans: 2
d){a,{a},{a,{a}}
ans: 3
6
d){∅ , {∅ }. {∅ , {∅ }}}
Ans: 3
Q14: Can you conclude that A=B if A and B are two sets with the same power set
Ans:yes
a) A×B×C
Ans: A×B×C={(a,x,0),(a,x,1),(a,y,0),(a,y,1) (b,x,0),(b,x,1),(b,y,0),(b,y,1),(c,x,0),(c,x,1),
(c,y,0),(c,y,1)}
b) C×B×A
c) C×A×B
d) B×B×B
Q23: How many different elements does A×B have if A has m elements and B has n elements?
Ans: |A×B|=m×n