Lecture-7 Basic Probability Lecture
Lecture-7 Basic Probability Lecture
LECTURE – 7
INTRODUCTION TO
PROBABILITY
PREPARED BY
HAZBER SAMSON
FAST NUCES ISLAMABAD
MT-2005 PROBABILITY AND STATISTICS INTRODUCTION TO PROBABILITY
DEFINITION The collection of well-defined and distinct objects is called a set. Sets are
usually denoted by capital letters while elements of the set are denoted by small letters.
N 1,2,3,......
W 0,1,2,3,......
3. Set of Integers
Z 0,1,2,3,......
P 2,3,5,7,......
TYPES OF SETS
EMPTY SET A set which contains no element is called empty set. It is denoted by φ
or { }.
SUBSET If A and B are two sets and if all the elements of A are the elements of B then
set A is called subset of set B. It is denoted by A B.
PROPER SUBSET If A and B are two sets than set A is called proper subset of set B if
A B and there is at least one element in B which is not in A. It is denoted by A B.
IMPROPER SUBSET If A and B are two sets than set A is called an improper subset of
set B if A B and there is no element in B which is not in A. It is denoted by A B.
UNIVERSAL SET A set which is superset of all the sets under consideration is called
universal set. It is usually denoted by U.
POWER SET The power set of a set S is the set which contains all the possible subsets
of S. It is denoted by P(A).
OPERATIONS ON SETS
UNION OF SETS
If A and B are two sets then their union is denoted by A U B and it contains all the
elements of A and B.
NOTE 1 A A A, 2 A A, 3 A U U , 4 , 5 A B B A
INTERSECTION OF SETS
If A and B are two sets than their intersection is denoted by A ∩ B and it contains the
common elements of A and B.
NOTE 1 A A A, 2 A , 3 A U A, 4 , 5 A B B A
DIFFERENCE OF SETS
If A and B are two sets than their difference is denoted by A – B and it contains elements
of A which are not in B.
EXAMPLES 1- If A = {1,2,3} and B = {2,3,4} than A-B = {1} and B-A = {4}
2- If A = {a} and B= {b} than A-B = { } and B-A = { }.
NOTE 1 A A , 2 A A, 3 U A Ac , 4 , 5 A B B A
LAWS OF SETS
If A, B and C are subsets of a Universal set U then the following laws hold
DEMORGAN LAWS
1 A B Ac B c
c
2 A B Ac B c
c
DISTRIBUTIVE LAWS
1 A ( B C ) ( A B) A C
2 A ( B C ) ( A B) A C
ASSOCIATIVE LAWS
1 ( A B) C A ( B C )
2 ( A B) C A ( B C )
3
Page
EXAMPLES
1-Toss a coin,
2-Throw a die etc.
SAMPLE SPACE The set of all possible outcomes of a random experiment is called
sample space. It is denoted by S. Each element in a sample space is called sample
point.
EXAMPLES
S 1,2,3,4,5,6
Page
TYPES OF EVENTS
SIMPLE EVENT An event that contains exactly one sample point is called simple event.
It is also called elementary event. For example
1. When two coins are tossed once then the event A HH is a simple event.
2. When a die is rolled once then the event B 3 is a simple event.
COMPOUND EVENT An event that contains more then one sample point is called
compound event. It is also called composite event. For example
1. When two coins are tossed once then the event A HH .HT is a compound event.
2. When a die is rolled once then the event B 2,4,6is compound event.
IMPOSSIBLE EVENT An event that contains no sample point is called impossible event.
It is also called null event. For example
A is impossible event for every sample space.
SURE EVENT An event that contains all the sample points is called sure event. It is also called
certain event. For example
1. When a coin is tossed once then the event A H , T is sure event.
2. When a die is rolled once then the event B 1,2,3,4,5,6is sure event.
EQUALLY LIKELY EVENTS Two events A and b are said to be equally likely, if number
of elements in A and B are same. ie n( A) n( B) . For example
1. When a coin is tossed once then the events A H and B T are equally likely events.
2. When a die is rolled once then the events A 1,3,5 and B 2,4.6 are equally likely events.
5
Page
SETS (SUITS)
1. Clubs ♣
2. Hearts ♥
3. Spades ♠
4. Diamonds ♦
ORDER OF CARDS
Ace Queen
A 2 3 4 5 6 7 8 9 10 J Q K
jack King
TYPES
HANDS
Bridge Hand = 13
Poker Hand = 5
6
Page
PROBABILITY
CLASSICAL DEFINITION If there are equally likely, mutually exclusive and collectively
exhaustive outcomes and m of which are favorable to the occurrence of an event A then
the probability of the occurrence of the event A, is denoted by P(A) and is given by
P A
no of favourableoutcomes
no of possible outcomes
P A
m
Or
n
MATHEMATICAL DEFINITION The probability that an event will occur, is the ratio of the
number of sample points in A to the total no of sample points in S.
P A
no of elements in A
Mathematically
no of elements in S
n A
Or P A
n S
AXIOMS OF PROBABILITY
P Ac 1 P A
Also
P A 1 P Ac 7
Page
EXAMPLES OF PROBABILITY
EXAMPLE-1 A box contains two white, three red and five blue balls. A ball is selected at
random what is the probability that selected ball is a
(a) white ball
(b) red ball
(c) not blue ball
SOLUTION Here White balls 2, Re d balls 3, Blue balls 5
(a) Let A denote the event that selected ball is a white ball
n A 2 1
P A
nS 10 5
(b) Let B denote the event that selected ball is a red ball
n B 3
P B
nS 10
(c) Let C denote the event that selected ball is a Blue ball
nC
PC c 1 PC 1
5 5 1
1
nS 10 10 2
EXAMPLE-2 A card is selected from a deck of 52 playing cards. What is the probability
that selected card is
(a) an ace
(b) a diamond card
(c) a queen of hearts
(d) an even numbered card
(e) a prime number card of c lub s
SOLUTION Here nS 52
(a) Let A denote the event that selected card is an ace
n A 4
P A
1
nS 52 13
(b) Let B denote the event that selected card is a diamond card
nB 13 1
P B
nS 52 4
(c) Let C denote the event that selected card is a queen of hearts
nC 1
PC
nS 52
(d ) Let D denote the event that selected card is an even numbered card
nD 20 5
P D
nS 52 13
(e) Let E denote the event that selected card is a prime numbered card of c lub s
8
n E 4
P E
1
Page
nS 52 13
EXAMPLE-4 A die is rolled once. What is the probability that die shows
(a) an even n number
(b) an odd number
(c) a prime number
(d ) a number greater than 2
(e) a number less than equals to 2
(a) Let A denote the event that die shows an even number A {2, 4, 6}
n A 3 1
P A
nS 6 2
(b) Let B denote the event that die shows an odd number B {1, 3, 5}
n B 3 1
9
P B
Page
nS 6 2
(c) Let C denote the event that die shows a prime number C {2, 3, 5}
nC 3 1
PC
nS 6 2
(d ) Let D denote the event that die shows a number greater than 2 D {3, 4, 5, 6}
n D 4 2
P D
nS 6 3
(e) Let C denote the event that die shows a number less than equals to 2 E {1, 2}
n E 2 1
P E
nS 6 3
EXAMPLE-5 Two dice are rolled once. What is the probability that
(a) sum of dots appeared is a prime number
(b) difference of dots is an even numer
(c) product of dots is divisible by 5
(a) Let A denote the event that sum of dots appeated is a prime number
A (1,1), (1,2), (1,4), (1,6), (2,1), (2,3), (2,5), (3,2), (3,4), (4,1), (4,3), (5,2), (5,6), (6,1), (6,5)
n A 15 5
P A
nS 36 12
(b) Let B denote the event that difference of dots appeared is an even number
(1,1), (1,3), (1,5), (2,2), (2,4), (2,6), (3,1), (3,3), (3,5), (4,2), (4,4), (4,6), (5,1), ((5,3), (5,5),
B
(6,2), (6,4), (6,6)
nB 18 1
P B
nS 36 2
nC 11
PC
nS 36
Page