Sets Theory
Sets Theory
Introduction of Sets
A set is defined as a collection of distinct objects of the same type or class of objects.
The purposes of a set are called elements or members of the set. An object can be
numbers, alphabets, names, etc.
b. A set of vowels.
We broadly denote a set by the capital letter A, B, C, etc. while the fundamentals of the
set by small letter a, b, x, y, etc.
Sets Representation:
Sets are represented in two forms:-
a) Roster or tabular form: In this form of representation, we list all the elements of
the set within braces { } and separate them by commas.
Example: If A= set of all odd numbers less than 10 then in the roster from it can be
expressed as A={ 1,3,5,7,9}.
b) Set Builder form: In this form of representation, we list the properties fulfilled by
all the elements of the set. We note as {x: x satisfies properties P}. and read as 'the set
of those entire x such that each x has properties P.'
Example: If B= {2, 4, 8, 16, 32}, then the set builder representation will be: B={x:
x=2n, where n ∈ N and 1≤ n ≥5}
Standard Notations:
Cardinality of a Sets:
The total number of unique elements in the set is called the cardinality of the set. The
cardinality of the countably infinite set is countably infinite.
Examples:
1. Let P = {k, l, m, n}
1. Finite Sets: A set is said to be finite if it contains exactly n distinct element where n
is a non-negative integer. Here, n is said to be "cardinality of sets." The cardinality of
sets is denoted by |A|, # A, card (A) or n (A).
Example:
A set is called a finite set if there is one to one correspondence between the elements
in the set and the element in some set n, where n is a natural number and n is the
cardinality of the set. Finite Sets are also called numerable sets. n is termed as the
cardinality of sets or a cardinal number of sets.
Countable Infinite: If there is one to one correspondence between the elements in set
and element in N. A countably infinite set is also known as Denumerable. A set that is
either finite or denumerable is known as countable. A set which is not countable is
known as Uncountable. The set of a non-negative even integer is countable Infinite.
Uncountable Infinite: A set which is not countable is called Uncountable Infinite Set
or non-denumerable set or simply Uncountable.
Example: Set R of all +ve real numbers less than 1 that can be represented by the
decimal form 0. a1,a2,a3..... Where a1 is an integer such that 0 ≤ ai ≤ 9.
Properties of Subsets:
Example:
B = {2, 3, 4, 5}
A is a proper subset of B.
Example:-
A is an improper subset of B.
6. Universal Set: If all the sets under investigations are subsets of a fixed set U, then
the set U is called Universal Set.
Example: In the human population studies the universal set consists of all the people
in the world.
7. Null Set or Empty Set: A set having no elements is called a Null set or void set. It
is denoted by∅.
9. Equal Sets: Two sets A and B are said to be equal and written as A = B if both have
the same elements. Therefore, every element which belongs to A is also an element of
the set B and every element which belongs to the set B is also an element of the set A.
1. A = B ⟺ {x ϵ A ⟺ x ϵ B}.
If there is some element in set A that does not belong to set B or vice versa then A ≠ B,
i.e., A is not equal to B.
10. Equivalent Sets: If the cardinalities of two sets are equal, they are called equivalent
sets.
Example: If A= {1, 2, 6} and B= {16, 17, 22}, they are equivalent as cardinality of A
is equal to the cardinality of B. i.e. |A|=|B|=3
11. Disjoint Sets: Two sets A and B are said to be disjoint if no element of A is in B
and no element of B is in A.
Example:
R = {a, b, c}
S = {k, p, m}
12. Power Sets: The power of any given set A is the set of all subsets of A and is
denoted by P(A). If A has n elements, then P (A) has 2n elements.
Example:
A = {1, 2, 3}
P (A) = {∅, {1}, {2}, {3}, {1, 2}, {1, 3}, {2, 3}, {1, 2, 3}}.
Partitions of a Set:
Let S be a nonempty set. A partition of S is a subdivision of S into nonoverlapping,
nonempty subsets. Specifically, a partition of S is a collection {Ai} of nonempty subsets
of S such that:
Venn Diagrams:
Venn diagram is a pictorial representation of sets in which an enclosed area in the plane
represents sets.
Examples:
Operations on Sets
The basic set operations are:
1. Union of Sets: Union of Sets A and B is defined to be the set of all those elements
which belong to A or B or both and is denoted by A∪B.
1. A∪B = {x: x ∈ A or x ∈ B}
Example:
2. Intersection of Sets: Intersection of two sets A and B is the set of all those elements
which belong to both A and B and is denoted by A ∩ B.
1. A ∩ B = {x: x ∈ A and x ∈ B}
Example:
A ∩ B = {13}.
3. Difference of Sets: The difference of two sets A and B is a set of all those elements
which belongs to A but do not belong to B and is denoted by A - B.
1. A - B = {x: x ∈ A and x ∉ B}
Example:
Example:
A = {1, 2, 3}
1. A ⨁ B = (A ∪ B) - (A ∩ B)
Example:-
Let A = {a, b, c, d}
B = {a, b, l, m}
A ⨁ B = {c, d, l, m}
Algebra of Sets
Sets under the operations of union, intersection, and complement satisfy various laws
(identities) which are listed in Table 1.
1. (a) A ∪ A = A
Solution:
Since, B ⊂ A ∪ B, therefore A ⊂ A ∪ A
Let x ∈ A ∪ A ⇒ x ∈ A or x ∈ A ⇒ x ∈ A
∴A∪A⊂A
As A ∪ A ⊂ A and A ⊂ A ∪ A ⇒ A =A ∪ A. Hence Proved.
1. (b) A ∩ A = A
Solution:
Since, A ∩ B ⊂ B, therefore A ∩ A ⊂ A
Let x ∈ A ⇒ x ∈ A and x ∈ A
⇒x∈A∩A ∴A⊂A∩A
As A ∩ A ⊂ A and A ⊂ A ∩ A ⇒ A = A ∩ A. Hence Proved.
Example 2: Prove Associative Laws:
1. (a) (A ∪ B) ∪ C = A ∪ (B ∪ C)
Solution:
1. (b) (A ∩ B) ∩ C = A ∩ (B ∩ C)
Solution:
1. (a) A ∪ B = B ∪ A
Solution:
To Prove
A∪B=B∪A
A ∪ B = {x: x ∈ A or x ∈ B}
= {x: x ∈ B or x ∈ A} (∵ Order is not preserved in case of sets)
A ∪ B = B ∪ A. Hence Proved.
1. (b) A ∩ B = B ∩ A
Solution:
To Prove
A∩B=B∩A
A ∩ B = {x: x ∈ A and x ∈ B}
= {x: x ∈ B and x ∈ A} (∵ Order is not preserved in case of sets)
A ∩ B = B ∩ A. Hence Proved.
Example 4: Prove Distributive Laws
1. (a) A ∪ (B ∩ C) = (A ∪ B) ∩ (A ∪ C)
Solution:
To Prove
Let x ∈ A ∪ (B ∩ C) ⇒ x ∈ A or x ∈ B ∩ C
⇒ (x ∈ A or x ∈ A) or (x ∈ B and x ∈ C)
⇒ (x ∈ A or x ∈ B) and (x ∈ A or x ∈ C)
⇒ x ∈ A ∪ B and x ∈ A ∪ C
⇒ x ∈ (A ∪ B) ∩ (A ∪ C)
Therefore, A ∪ (B ∩ C) ⊂ (A ∪ B) ∩ (A ∪ C)............(i)
Again, Let y ∈ (A ∪ B) ∩ (A ∪ C) ⇒ y ∈ A ∪ B and y ∈ A ∪ C
⇒ (y ∈ A or y ∈ B) and (y ∈ A or y ∈ C)
⇒ (y ∈ A and y ∈ A) or (y ∈ B and y ∈ C)
⇒ y ∈ A or y ∈ B ∩ C
⇒ y ∈ A ∪ (B ∩ C)
Therefore, (A ∪ B) ∩ (A ∪ C) ⊂ A ∪ (B ∩ C)............(ii)
1. (b) A ∩ (B ∪ C) = (A ∩ B) ∪ (A ∩ C)
Solution:
To Prove
Let x ∈ A ∩ (B ∪ C) ⇒ x ∈ A and x ∈ B ∪ C
⇒ (x ∈ A and x ∈ A) and (x ∈ B or x ∈ C)
⇒ (x ∈ A and x ∈ B) or (x ∈ A and x ∈ C)
⇒ x ∈ A ∩ B or x ∈ A ∩ C
⇒ x ∈ (A ∩ B) ∪ (A ∪ C)
(a) (A ∪B)c=Ac∩ Bc
Solution:
To Prove (A ∪B)c=Ac∩ Bc
Let x ∈ (A ∪B)c ⇒ x ∉ A ∪ B (∵ a ∈ A ⇔ a ∉ Ac)
⇒ x ∉ A and x ∉ B
⇒ x ∉ Ac and x ∉ Bc
⇒ x ∉ Ac∩ Bc
Therefore, (A ∪B)c ⊂ Ac∩ Bc............. (i)
Again, let x ∈ Ac∩ Bc ⇒ x ∈ Ac and x ∈ Bc
⇒ x ∉ A and x ∉ B
⇒ x∉ A∪ B
⇒ x ∈ (A ∪B)c
Therefore, Ac∩ Bc ⊂ (A ∪B)c............. (ii)
Combining (i) and (ii), we get Ac∩ Bc =(A ∪B)c. Hence Proved.
Solution:
1. (a) A ∪ ∅ = A
Solution:
To Prove A ∪ ∅ = A
Let x ∈ A ∪ ∅ ⇒ x ∈ A or x ∈ ∅
⇒x∈A (∵x ∈ ∅, as ∅ is the null set )
Therefore, x ∈ A ∪ ∅ ⇒ x ∈ A
Hence, A ∪ ∅ ⊂ A.
We know that A ⊂ A ∪ B for any set B.
But for B = ∅, we have A ⊂ A ∪ ∅
From above, A ⊂ A ∪ ∅ , A ∪ ∅ ⊂ A ⇒ A = A ∪ ∅. Hence Proved.
1. (b) A ∩ ∅ = ∅
Solution:
To Prove A ∩ ∅ = ∅
If x ∈ A, then x ∉ ∅ (∵∅ is a null set)
Therefore, x ∈ A, x ∉ ∅ ⇒ A ∩ ∅ = ∅. Hence Proved.
1. (c) A ∪ U = U
Solution:
To Prove A ∪ U = U
Every set is a subset of a universal set.
∴ A∪U⊆U
Also, U ⊆ A ∪ U
Therefore, A ∪ U = U. Hence Proved.
1. (d) A ∩ U = A
Solution:
To Prove A ∩ U = A
We know A ∩ U ⊂ A................. (i)
So we have to show that A ⊂ A ∩ U
Let x ∈ A ⇒ x ∈ A and x ∈ U (∵ A ⊂ U so x ∈ A ⇒ x ∈ U )
∴ x∈A⇒x∈A∩U
∴ A ⊂ A ∩ U................. (ii)
From (i) and (ii), we get A ∩ U = A. Hence Proved.
(a) A ∪ Ac= U
Solution:
To Prove A ∪ Ac= U
Every set is a subset of U
∴ A ∪ Ac ⊂ U.................. (i)
We have to show that U ⊆ A ∪ Ac
Let x ∈ U ⇒ x ∈ A or x ∉ A
⇒ x ∈ A or x ∈ Ac ⇒ x ∈ A ∪ Ac
∴ U ⊆ A ∪ Ac................... (ii)
From (i) and (ii), we get A ∪ Ac= U. Hence Proved.
(b) A ∩ Ac=∅
Solution:
(c) Uc= ∅
Solution:
Let x ∈ Uc ⇔ x ∉ U ⇔ x ∈ ∅
∴ Uc= ∅. Hence Proved. (As U is the Universal Set).
(d) ∅c = U
Solution:
(a) (Ac )c A.
Solution:
1. (U ∩ A) ∪ (B ∩ A) = A is (∅ ∪ A) ∩ (B ∪ A) = A
It is noted as the principle of duality, that if any equation E is an identity, then its dual E∗ is
also an identity.
Principle of Extension:
According to the Principle of Extension two sets, A and B are the same if and only if they have
the same members. We denote equal sets by A=B.
1. If A= {1, 3, 5} and B= {3, 1, 5}, then A=B i.e., A and B are equal sets.
2. If A= {1, 4, 7} and B= {5, 4, 8}, then A≠ B i.e.., A and B are unequal sets.
Example: Let P = {a, b, c} and Q = {k, l, m, n}. Determine the Cartesian product of P and Q.
Example:
1. A = {l, l, m, m, n, n, n, n}
2. B = {a, a, a, a, a, c}
Operations on Multisets
1. Union of Multisets: The Union of two multisets A and B is a multiset such that the
multiplicity of an element is equal to the maximum of the multiplicity of an element in A
and B and is denoted by A ∪ B.
Example:
1. Let A = {l, l, m, m, n, n, n, n}
2. B = {l, m, m, m, n},
3. A ∪ B = {l, l, m, m, m, n, n, n, n}
Example:
1. Let A = {l, l, m, n, p, q, q, r}
2. B = {l, m, m, p, q, r, r, r, r}
3. A ∩ B = {l, m, p, q, r}.
Example:
1. Let A = {l, m, m, m, n, n, n, p, p, p}
2. B = {l, m, m, m, n, r, r, r}
3. A - B = {n, n, p, p, p}
4. Sum of Multisets: The sum of two multisets A and B, is a multiset such that the
multiplicity of an element is equal to the sum of the multiplicity of an element in A and B
Example:
1. Let A = {l, m, n, p, r}
2. B = {l, l, m, n, n, n, p, r, r}
3. A + B = {l, l, l, m, m, n, n, n, n, p, p, r, r, r}
Example:
1. A = {l, l, m, m, n, n, n, p, p, p, p, q, q, q}
Ordered Set
It is defined as the ordered collection of distinct objects.
Example:
1. Roll no {3, 6, 7, 8, 9}
2. Week Days {S, M, T, W, W, TH, F, S, S}
Ordered Pairs
An Ordered Pair consists of two elements such that one of them is designated as the first
member and other as the second member.
(a, b) and (b, a) are two different ordered pair. An ordered triple can also be written
regarding an ordered pair as {(a, b) c}
An ordered Quadrable is an ordered pair {(((a, b), c) d)} with the first element as ordered
triple.
An ordered n-tuple is an ordered pair where the first component is an ordered (n - 1) tuples,
and the nth element is the second component.
1. {(n -1), n}
Example:
Inclusion-Exclusion Principle
Let A, B be any two finite sets. Then n (A ∪ B) = n (A) + n (B) - n (A ∩ B)
Example 1:
Example 2:
In a town of 10000 families, it was found that 40% of families buy newspaper A, 20%
family buy newspaper B, 10% family buy newspaper C, 5% family buy newspaper A and
B, 3% family buy newspaper B and C and 4% family buy newspaper A and C. If 2% family
buy all the newspaper. Find the number of families which buy
Solution:
1. Number of families which buy all three newspapers:
1. = 40 - 7 = 33%
1. = 20 - 6 = 14%
1. = 10 - 5 = 5%
n (A ∪B ∪C)c = 100 - n (A ∪ B ∪ C)
n (A ∪B ∪C)c = 100 - [40 + 20 + 10 - 5- 3- 4 + 2]
n (A ∪B ∪C)c = 100 - 60 = 40 %
1. = 33 + 14 + 5 = 52%
1. = 3%
1. = 1%
1. = 2%
1. = 8%
11. Number of families which buy at most two newspapers
1. = 98%
1. = 6%
Mathematical Induction
The process to establish the validity of an ordinary result involving natural numbers is the
principle of mathematical induction.
Working Rule:-
Let n0 be a fixed integer. Suppose P (n) is a statement involving the natural number n and
we wish to prove that P (n) is true for all n ≥n0.
2. Induction Step:- Assume that the P (k) is true for n = k. Then P (K+1) must also be
true. Then P (n) is true for all n ≥ n0.
Example 1:
1 + 3 + 5 +.... + 2n - 1 = n2.