Basic concepts of set
- The empty set. The set that does not contain any element is called an empty set, denoted by ∅ or {}.
- Universal set. A set which contains all elements under consideration. It is denoted by μ.
- Equality. Two sets are equal if they have the same elements. i.e. If A={a,b,c,d} and B={b,c,d,a}
- Equivalent. Two sets are equivalent if they have the same number of elements. i.e. A={a,b,c,d,e} and B={2,1,4,5,6}∴A≡B
- Subset. A is a subset of B if every member of A is also a member of B. It is denoted by A⊆B
- Proper subset. Suppose A={a,b,c} and B={a,b,c,d}A⊂B
- Improper subset. A set is an improper subset of itself. A⊆A
Note i) ∅⊆A (an empty set is a subset of any set)
ii) A⊆A (a set is a subset of itself)
Number of subsets in a set
Let S={a,b,c}
How many subsets does it have?
The subsets are: {},{a,b,c},{a},{b},{c},{a,b},{b,c},{a,c}
→ There are 8 subsets of S.
If A={1} and If B={1,2}
Subset of A are: {} and {1}
Subsets of B are: {1},{2},{},{1,2}
Number of subsets of A=2
Number of subsets of B=4
If a set has n members, the number of subsets =2n
The power set
Is a set which contains all subsets of the given set.
If A={1}, subsets are {},{1}
Power set of A is given by P(A)={{},{1}}
Given B={a,b,c}
The power set of B is given by
P(B)={{a},{b},{c},{a,b},{b,c},{a,c},{a,b,c},{}}
Operation of sets
1. Union
The union of two sets A and B is denoted by A∪B
- A∪B={x:x∈A or x∈B}
- Is a set which has elements of set A or set B without repetition.
Examples
→ If A={a,b,c,d} and B={4,7}
A∪B={a,b,c,d,4,7}
If A={a,b,c,d} and B={c,d,e,f}
A∪B={a,b,c,d,e,f}
2. Intersection
Is a set which has both elements contained in set A and set B
A∩B={x:x∈A and x∈B}
Examples
If A={a,b,c,d} and B={a,f,g,d}
A∩B={a,d}
If A={a,b,c} and B={1,2,3}
A∩B={}
Here A and B are disjoint sets.
3. Complement
The complement of Set A denoted by A′ is the set of all elements which are in universal set but not in A.
E.g. A={1,2,3,4}
μ={1,2,3,4,5,6,7}
A′={5,6,7}
4. Relative complement
Relative complement of A with respect to set B is denoted by A∖B and is defined as follows:
A∖B={x:x∈A and x∈/B}
Example
ABThen A∖BB∖A={a,b,c,d}={a,b,f,g,h}={c,d}={f,g,h}
5. The symmetric difference
All elements which are either in set A or set B but not both.
- The symmetric difference of A and B is denoted by A⊕B
A⊕B={x:x∈A or x∈B but x∈/A∩B}
Examples
A={a,b,c,d,e}
BA⊕B={c,d,e,f,g}={a,b,f,g}
Questions
- List the subsets of the following sets
a) A={2,3,4}
b) B={a,∅}
- Let A={x∈Z+:8≤x≤10}
Write down the subsets of A
- Which of the following are true and which are false?
a) ∅⊆∅
b) 0=∅
c) ∅∈{0}
d) ∅⊆{0}
- Let A={1,2,{6,7,9},10}
a) Is {{2}}∈A
b) Is 2∈A
c) Is {6,7,9}∈A
d) Is {1,{6,7,9}}⊂A
e) Is {2}∈A
f) Is {2}⊂A
- Let μ be the set of all positive integers, A is the set of all even integers and B is the set of all odd integers. What are A∪B and A∩B?