Professional Documents
Culture Documents
02 Set Theory
Names of Sub-Units
Sets and Subsets, Set Operations, Laws of Set Theory, Counting and Venn Diagrams, A First Word on
Probability
Overview
The Unit begins by introducing concept of set theory. Also, the unit explains the various operations
and laws of set theory, Venn diagram, counting principles and probability.
Learning Objectives
Learning Outcomes
https://en.wikipedia.org/wiki/Set_theory
https://ncert.nic.in/ncerts/l/kemh101.pdf
2.1 INTRODUCTION
Set theory is known as the foundational system for mathematics. It deals with properties of the well-
defined collection of distinguished objects. These objects can be numbers, functions or some non-
mathematical characters such as alphabets or things. Set theory deals with finite as well as infinite sets.
Well-defined or well-determined collection is a collection which has unique interpretation and you do
not have any uncertainty about the existence of its members. In other words, a collection is well defined
if there is no uncertainty as to whether or not an object belongs to it. For example, the collection of tall
persons is not well defined as we don’t have any defined criteria for the tallness of people.
2
UNIT 02: Set Theory JGI JAIN
DEEMED-TO-BE UNI VE RSI TY
3
JGI JAIN
DEEMED-TO-BE UNI VE RSI TY
Mathematical Foundation for Computer Application
2.2.5 Subset
If all the elements of a set A are contained in another set B, then A is the subset of B which is denoted as
A B. In other words, A is a subset of B, then x B x A.
If there is at least one extra element in B then A is known as Proper Subset and B is known as Superset.
For example, A = {1,2,3} is a subset of set of natural numbers, N and
B = {x : x2 – 4 = 0, x N }={2} is a subset of A, i.e., B A.
If a set has order ‘n’, then it has 2n subsets.
4
UNIT 02: Set Theory JGI JAIN
DEEMED-TO-BE UNI VE RSI TY
5
JGI JAIN
DEEMED-TO-BE UNI VE RSI TY
Mathematical Foundation for Computer Application
6
UNIT 02: Set Theory JGI JAIN
DEEMED-TO-BE UNI VE RSI TY
M M = Ø
For any subsets M and N of a universal set U, the following identities hold:
Idempotent Laws
M M = M
NN = N
Absorption Laws
M (M N ) = M
M (M N ) = M
De Morgan’s Laws
(M N ) = M N
(M N ) = M N
INVOLUTION OR DOUBLE COMPLEMENT LAW
M = M
U UA A B= Ø
U A B U A B A’
A B A B A B
U
A B
U
A’ B
U A B’
A B A B
A B A B A B
7
JGI JAIN
DEEMED-TO-BE UNI VE RSI TY
Mathematical Foundation for Computer Application
Counting is the process of evaluating the number of elements of a finite set, i.e., finding the order of a
set. We use a Venn diagram to count various objects.
If n(A), n(B) and n(C) are orders of three finite sets A, B and C respectively, then
i. n(AB) = n(A) + n(B) - n(AB)
ii. n(AB) = n(A) + n(B) when A B = Ø
iii. n(A-B) = n(A) – n(A B)
iv. n((AB)’) = n(U) - n(AB) = n(U) + n(AB) - n(A) - n(B)
v. n(ABC)= n(A) +n(B) + n(C) - n(BC) - n (AB)- n (AC) + n(ABC)
vi. n(A- B- C) = n(A) – n(AB)- n (AC) + n(ABC)
Example: In a group, each person plays Cricket or Hockey or both. The number of people who play
cricket is 11, who play Hockey are 12 and who play both are 3. Find the people who play either cricket or
Hockey?
Solution: Let n(Cricket)= n(P) and n(Hockey) = n(Q)
Then, n(either cricket or hockey) = n(PQ) and n(Cricket and hockey) = n(PQ)
Given n(P) = 11 , n(Q) = 12 and (PQ) = 3
Applying formula for union i.e. n(PQ) = n(P) + n(Q) - n(PQ) = 11 + 12 - 3 = 20
Answer: The number of people who play Cricket or hockey = 20
Example: There are 100 students, 35 choose singing and 45 choose dancing, and 10 change both activities.
How many of the students choose either singing or dancing and neither of them?
Solution: Total number of students = 100
Number of students that choose singing, n(P) = 35
Number of students that choose dancing, n(Q) = 45
Number of students who choose both, n(PQ) = 10Q
You are required to find n(PQ)
Using sets formula, n(PQ) = n(P) + n(Q) – n(PQ)
= 45 + 35 - 10 = 70
Number of students who choose neither = Total students – n(PQ)
= 100 – 70 = 30
Answer: 70 students choose either singing or dancing and 30 students choose neither singing nor
dancing.
2.6 PROBABILITY
Probability is an important concept and can be interpreted in many ways. Probability is a measure of
the chances of occurrence of an event. Whenever you are not sure about the result of a trial we talk
about the possibility of some outcomes. This possibility is known as Probability.
8
UNIT 02: Set Theory JGI JAIN
DEEMED-TO-BE UNI VE RSI TY
The simplest example for studying Probability is the tossing of the coin. When we toss a coin, there are
two possible outcomes Head and Tail. The chances of occurrence of Head as well as Tail are 50%.
1 1
Therefore, Probability of Head = 50% = and Probability of Tail = 50% =
2 2
As the chances of occurrence of both the Head and the Tail are equal, they have the same probability. In
mathematical terms, probability of occurrence of an event A,
Probability makes extensive use of operations of sets. The set of total outcomes of a trial is known as
Sample Space.
The value of probability always varies from 0 to 1 i.e. 0 P(A) 1.
Example: Find the probability of getting a number less than 4 when a dice is rolled.
Solution: Let the probability of getting a number less than 4 be P(A).
Sample space, S = {1,2,3,4,5,6} and Getting a number less than 4, A = {1,2,3}
Therefore, n(S) = 6 and n(A) = 3
1
Answer: The probability of getting a number less than 4 =
2
The concept of sets is used for the foundation of various topics in mathematics.
The collection of well-defined distinguished objects is known as a set.
Order of Power set of a set with order n is 2n.
Venn diagrams are the important tool for sorting populations and counting objects.
Probability makes extensive use of Set operations.
2.8 GLOSSARY
Union of sets: The union of two sets is defined as the collection of elements of both the sets avoiding
repetition of elements.
The intersection of sets: The Intersection of two sets is defined as the collection of only common
elements of both sets.
9
JGI JAINDEEMED-TO-BE UNI VE RSI TY
Mathematical Foundation for Computer Application
Power set: The set of all possible subsets of a set is called the power set of that set.
Probability: Probability is a measure of the chances of occurrence of an event.
11
JGI JAIN
DEEMED-TO-BE UNI VE RSI TY
Mathematical Foundation for Computer Application
x M or x N
x M or x N
x (M N)
(M N) (M N) ….. (1)
Conversely, let x (M N).
Then, x M or x N
x M or x N
x M N
x (M N)
(M N) (M N) …… (2)
From (1) and (2)
(M N) (M N)
(iv) Similar as Part (iii)
https://byjus.com/maths/basics-set-theory/
12