LECTURE#1
LECTURE#1
•Set Theory
•Counting Rules:
The Rule of Multiplication
“SET”:
A = {a, b, c, d} or
B = {1, 2, 3, 7}
The Number of a set A, written as n(A), is
defined as the number of elements in A.
If x is an element of a set A, we write x
A which is read as “x belongs to A” or x is in
A.
If x does not belong to A, i.e. x is not an
element of A, we write x A.
A set that has no elements is called an
empty or a null set and is denoted by the
symbol .
(It must be noted that
{0} is not an empty set as it contains an
element 0.)
If a set contains only one element, it is
called a unit set or a singleton set.
It is also important to note the difference
between an element “x” and a unit set {x}.
A set may be specified in two ways:
1. We may give a list of all the elements of a
set
(the “Roster” method),
e.g.
A = {1, 3, 5, 7, 9, 11} ;
B = {a book, a city, a clock, a
teacher};
2. We may state a rule that enables us to
determine whether or not a given object is a
member of the set
(the “Rule” method or
the “Set Builder” method),
e.g.
ii) B = {x | x is a month of
the year};
iii) C = {x | x is a printing
mistake in a book};
If A = {1, 2, 3, 4, 5, 10}
and B {1, 3, 5}
then B A,
i.e. B is contained in A.
It should be noted that any set is always
regarded a subset of itself.
and an empty set is considered to be a subset
of every set.
Two sets A and B are Equal or Identical, if
and only if they contain exactly the same
elements.
In other words, A = B if and only if A B
and B A.
Proper Subset
If a set B contains some but not all of the
elements of another set A, while A contains
each element of B, i.e. if
B A and B A
EXAMPLE
Consider the set A = {1, 2, 3}.
All possible subsets of this set are:
, {1}, {2}, {3}, {1, 2}, {1, 3},
{2, 3} and {1, 2, 3}.
Hence, there are 23 = 8 subsets of the set A.
EXAMPLE
Consider the set A = {1, 2, 3}.
All possible subsets of this set are:
, {1}, {2}, {3}, {1, 2}, {1, 3},
{2, 3} and {1, 2, 3}.
Hence, there are 23 = 8 subsets of the set A.
VENN DIAGRAM.
A
A Simple Venn
B
Diagram: S
Disjoint Sets
Overlapping Sets
A
B
S
OPERATIONS ON SETS
A
B
A B is shaded
Example:
Let A = {1, 2, 3, 4} and
B = {3, 4, 5, 6}
Then A B = {1, 2, 3, 4, 5, 6}
INTERSECTION OF SETS
A B = {x | x and x B}.
B
Diagrammatically, A B is A
shown by the shaded area as S
below:
A B is shaded
Example:
Let A = {1, 2, 3, 4} and
B = {3, 4, 5, 6}
Then A B = {3, 4}
The operations of union and intersection
that have been defined for two sets may
conveniently be extended to any finite
number of sets.
DISJOINTS SETS
Two sets A and B are defined to be disjoint
or mutually exclusive or non-overlapping
when they have no elements in common, i.e.
when their intersection is an empty set
i.e.
A B = .
On the other hand, two sets A and B are said
to be conjoint when the have at least one
element in common.
SET DIFFERENCE
The difference of two sets A and B, denoted by A – B
or by A – (A B), is the set of all elements of A which do
not belong to B.
Symbolically,
A – B = {x | x A and x B}
It is to be pointed out that in general A – B B – A.
The shaded area of the following Venn diagram
shows the difference A – B:
B
A
Difference A – B is S
shaded
It is to be noted that
A – B and B are disjoint sets.
If A and B are disjoint, then the difference
A – B coincides with the set A.
COMPLEMENTATION
The particular difference S – A, that is, the set of all
those elements of S which do not belong to A, is called the
complement of A and is denoted byA or by Ac.
In symbols:
A = {x | x S and x A}
The complement of S is the empty set .
The complement of A is shown by the shaded portion
in the following Venn diagram.
S A B A is shaded
It should be noted that A – B and
A B, where B is the complement of
set B, are the same set.
Next, we consider the Algebra of Sets.
The algebra of sets provides us with
laws which can be used to solve many
problems in probability calculations.
Let A, B and C be any subsets of the
universal set S. Then, we have:
Commutative laws
A B = B A and
AB=BA
Associative laws
(A B) C = A (B C)
and
(A B) C = A (B C)
Distributive laws
A (B C)
= (A B) (A C)
and A (B C)
= (A B) (A C)
Idempotent laws
A A = A and
AA=A
Identity laws
A S = S,
A S = A,
A = A, and
A = .
Complementation laws
A A = S,
A A = ,
(A ) = A,
S = , and
= S
De Morgan’s laws
(A B ) = A B ,
( A B )= A B
and
PARTITION OF SETS
ii) A1 A2 … An = S.
The subsets in a partition are
called cells.
EXAMPLE
Let us consider a set
S = {a, b, c, d, e}.
Then {a, b}, and {c, d, e} is a partition of
S as each element of S belongs to exactly one
cell.
CLASS OF SETS
POWER SET
A B B A.
Having reviewed the basics of set theory, let us now
review the COUNTING RULES that facilitate the
computation of probabilities in a number of problems.
RULE OF MULTIPLICATION
If a compound experiment consists of two experiments
which that the first experiment has exactly m distinct
outcomes and, if corresponding to each outcome of the first
experiment there can be n distinct outcomes of the second
experiment, then the compound experiment has exactly mn
outcomes.
As stated earlier, if A = {H, T} and B = {1, 2, 3, 4, 5,
6}, then the Cartesian product set is the collection of the
following twelve (2 6) ordered pairs:
AB = { (H, 1); (H, 2);(H, 3); (H, 4);
(H, 6); (H, 6);(T, 1); (T, 2);
(T, 3); (T, 4); (T, 5); (T, 6) }
EXAMPLE:
The compound experiment of tossing a coin and throwing
a die together consists of two experiments:
The coin-tossing experiment consists of two distinct
outcomes
(H, T),
and
the die-throwing experiment consists of six distinct outcomes
(1, 2, 3, 4, 5, 6).
The total number of possible distinct
outcomes of the compound experiment is
therefore 2 6 = 12
as
each of the two outcomes of the coin-tossing
experiment can occur with each of the six
outcomes of die-throwing experiment.