0% found this document useful (0 votes)
9 views24 pages

Stat Chap 5

Chapter Five discusses elementary probability, introducing key concepts such as random experiments, outcomes, sample spaces, events, and various types of events including mutually exclusive and independent events. It also covers counting techniques necessary for calculating probabilities, including the multiplication and addition rules, permutations, and combinations. The chapter provides examples and exercises to illustrate these concepts and their applications.

Uploaded by

Tesfalegn Yakob
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views24 pages

Stat Chap 5

Chapter Five discusses elementary probability, introducing key concepts such as random experiments, outcomes, sample spaces, events, and various types of events including mutually exclusive and independent events. It also covers counting techniques necessary for calculating probabilities, including the multiplication and addition rules, permutations, and combinations. The chapter provides examples and exercises to illustrate these concepts and their applications.

Uploaded by

Tesfalegn Yakob
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 24

CHAPTER FIVE

5. ELEMENTAARY PROBABILITY

5.1 Introduction
 Probability theory is the foundation upon which the logic of inference is built.
 It helps us to cope up with uncertainty.
 In general, probability is the chance of an outcome of an experiment. It is the
measure of how likely an outcome is to occur.

5.2 Definition of and concepts of some probability terms

Random (Probability) Experiment: It is an experiment that can be repeated any number


of times under similar conditions and it is possible to enumerate the total number of
outcomes without predicting an individual outcome.
Example 1: If a fair die is rolled once it is possible to list all the possible outcomes i.e.
1, 2, 3, 4, 5, 6 but it is not possible to predict which outcome will occur.
Example 2: Tossing a coin two times and observing the no of heads appearing on the top.

Outcome: the result of a single trial of a random experiment

Example 1: when a coin is tossed once, then the possible outcomes are: head (H) or tail (T).
Example 2: If the experiment consists of flipping two coins, then the possible outcomes are:
Outcome = ( H , H )∨( H , T ) ∨( T , H )∨( T ,T ) .
Sample space (S): is a set of all possible outcomes of a random experiment and each
outcome is called a simple event (sample point).
 Example 1: Rolling a die: S= { 1, 2 , 3 ,… ,6 } ,
 Example 2: Tossing a coin once: S= { H , T }.
 Example 3: Tossing a coin twice: S= { HH , HT ,TH , TT }.
 If a sample space has a finite number of points, it is called a finite sample space. If it
has as many points as there are natural numbers 1 , 2, 3 , … . , it is called a countably
infinite sample space. If it has as many points as there are in some interval on the x
axis, such as 0 ≤ x ≤ 1 , it is called a non countably infinite sample space. A sample
space that is finite or countably infinite is often called a discrete sample space, while
one that is non countably infinite is called a non-discrete sample space.
Event: Is a subset of sample space. It is a statement of one or more outcomes of a
random experiment. They are denoted by capital letters.

1
Example: Getting an odd numbers in rolling a die.
Solution: Let A−¿ is an event of getting odd numbers. Then A={ 1 ,3 , 5 } .
Complement of an event: The complement of an event A means non- occurrence of
A and is denoted by A' which contains those points of the sample space which don’t
belong to A.
Example: a) Find the complement of an event of getting odd numbers in rolling a die.
b) If tossing two coins and getting all heads.
Solution: a) Let A−¿ is an event of getting odd numbers in rolling a die.
→ ≫ A= {1 , 3 ,5 } ; then A ={ 2 , 4 , 6 } , Note : A ∪ A =S .
' '

b) Let B−¿ be an event of getting all heads in tossing two coins


B= { HH } ; thenB ={ HT ,TH , TT } , Note : B ∪ B =S .
' '

Mutually exclusive (disjoint) events: Two events which cannot happen at the same
time. Or two events A and B are mutually exclusive, or disjoint, if A ∩ B =∅ , that is,
if A and B have no elements in common.

Example: Experiment -Toss a coin twice

S= HH, HT, TH, TT

Let A= Two heads occur HH

B= Two tails occur TT

C= At least one head occur HH, HT, TH

A  B=   A and B are mutually exclusive events

B  C=   B and C are mutually exclusive events

A  C= HH  A and C are not mutually exclusive

Equally likely events: Events that have the same probability of occurring.
 Example: when a single die is rolled, each outcome has the same probability of
occurrence 1/6.

Independent Events: Two events are independent if the occurrence of one does not

affect the probability of the other occurring.

2
Dependent Events: Two events are dependent if the first event affects the outcome or
occurrence of the second event in a way the probability is changed.
Finite sample space: it is a sample space which consists of a finite number of elements.
Suppose that S = {x1, x2, …, xn} where xi’s are possible outcomes of an experiment,
then S is a finite sample space.

5.3 Counting Techniques

 In order to calculate probabilities, we have to know:


 The number of elements in the event i .e . n( A).
 The number of elements in the sample spacei .e . n(S )..
 That is, in order to judge what is probable, we have to know what is possible.
 In order to determine the number of outcomes, one can use several rules of
counting.
 The addition rule
 The multiplication rule
 The permutation rule
 The combination rule
 To list the outcomes of the sequence of events, a useful device called tree diagram is
used.
1. Multiplication and Addition

Assume that we have K operations or procedures denoted by O 1, O2,…, Ok which can be


performed in n1, n2, …., nk ways respectively.

a) Multiplication Rule: The number of ways in which O1 then O2 then O3 … and finally Ok
k
n1 ×n 2×n 3×. . .×n k=∏ ni
can be performed is given by i=1 .

 We use the multiplication rule iff the completion of the whole process requires the
completion of each and every operation. Meaning, O 1 and O2 and….and Ok should all be
accomplished. Note that the word “and” is very crucial and it is used in the sense of
intersection.

Example1: A paint manufacturer wishes to manufacture several different paints. The


categories include three types of colors (i.e. red, white, blue), two types of type (i.e.

3
latex and oil) and two types of use (i.e. outdoor & indoor). How many different kinds
of paints can be made if a person can select one color, one type and one use?
Latex Outdour =RLO
Solution: Indour =RLO
Oil Outdour =ROO
Red Indour =ROI
Latex Outdour =WLO
Indour =WLI
Person White Oil Outdour =WOO 12 different ways.
Indour =WOI
Blue Latex Outdour =BLO
Indour =BLI
Oil Outdour =BOO
Indour =BOI
k =3 , n1=3 , n2=2 , n3=2; total number of ways=n1∗n2∗n3=3∗2∗2=12 differnt ways .
Example 2: Hawassa University Registrar Office wants to give identity number for students
by using 4 digits. The number should be considered by the following numbers only:
{0 ,1 , 2 ,3 , 4 ,5 ,∧6 }. Hence, how many different ID Numbers could be given by the Registrar
?
a) If repetitions are permitted?
b) If repetitions are not permitted?
Solution: 1st digit 2nd digit 3rd digit 4th digit

a. → ≫7∗7∗7∗7=2,401 differnt cards are posible .


b. → ≫7∗6∗5∗4=840 differnt cards are posible .

Exercise

If a test consists of ten multiple choice questions with each permitting four possible answers,
how many ways are there in which a student give his answers? Out of these how many ways
are there in which all the answers will be correct?

Remark: Tree diagram may be used to list all possibilities.

b) Addition Rule: Suppose that there are K operations such that no two operations can be
performed together. The number of ways in which O 1 or O2 or … or Ok can be performed

4
k
n1 +n2 + n3 +. ..+ nk =∑ ni
is i =1 . Here, unlike the case of multiplication rule, the process can
be accomplished if and only if one of the k operations is performed. The k operations are
just alternative ways of performing the process. Note that when it comes to the addition
rule the word or is very crucial.
Example 1: There are two transportation means from city A to city B, either using bus
transportation or train transportation. There are 3 buses and 2 trains. How many ways of
transportation is there from city A to city B?
Solution: A person can take any of 5 means of transportation from city A to B.
k =2 , n1=3 , n2=2 ; total number of ways=n1 +n 2=3+2=5 .

Example 2: A student goes to the nearest snack (Cafe) to have a breakfast. He can take tea,
coffee, or milk with bread, cake or sandwich. How many possibilities does he have?

Solution: Bread Bread Bread


Tea Cake or Coffee Cake or Milk Cake
Sandwich Sandwich
Sandwich
k =3 , n1=3 , n2=3 , n3 =3 ; total number of ways=n1 +n2 +n3 =3+3+3=9 .
Example 2: There are two transportation means from city A to city B, either using bus
transportation or train transportation. There are 3 buses and 2 trains. How many ways of
transportation is there from city A to city B?
Solution: A person can take any of 5 means of transportation from city A to B.
k =2 , n1=3 , n2=2 ; total number of ways=n1 +n 2=3+2=5 .

2. Permutation

Definition: Permutation is an arrangement of "n distinct" objects in a specific order.


Permutation Rules:
1. The arrangement of n distinct objects in a specified order using r objects at a time is nPr .

{
n!
=n ( n−1 ) ( n−2 ) … ( n−r +1 ) → without replacement .
nPr = ( n−r ) !
r
n → withreplacement .
2. The arrangement of n distinct objects taken all together is n ! or nP n .
n !=n∗( n−1 )∗( n−2 )∗, … , 3∗2∗1. Note :1 !=1∧0 !=1.

5
3. The arrangement of n objects in which k 1 are alike (the same), k 2 are alike (the same), ...

k p are alike, then the total number of arrangements is

n!
Total number of arrangements= ; where :k 1 +k 2 + k 3+ …+k p=n .
k 1 !∗k 2∗k 3∗…∗k p
4. The arrangement of n distinct objects in a circle is (n−1)!.
Example 1: Suppose we have a letters A,B,C,D
a) How many permutations are there taking all the four?
b) How many permutations are there taken two letter at a time.?
c) How many different permutation can be made from the letters in the word
“CORRECTIO”?
Solutions:
a) Here n=4, there are four distinct object ¿ ≫ There are 4!=24 permutations.
4! 4 x 3 ×2 ×1
b) Here n=4 ,r =2 ;=≫ There are 2= = =12.
( 4−2 ) ! 2!
c) Here n=10 of which 2 are C, 2 are O, 2 are R, 1E, 1T, 1I, 1N
¿ ≫ k1=2, k2=2, k3=2, k4=k5=k6=k7=1
10 !
Using the third rule of permutation, there are 453600 permutations.
2∗2 !∗2!∗1 !
Exercise
1. Six different statistics books, seven different physics books, and 3 different Economics
books are arranged on a shelf. How many different arrangements are possible if;
i. The books in each particular subject must all stand together
ii. Only the statistics books must stand together
1. If the permutation of the word WHITE is selected at random, how many of the
permutations
a) Begins with a consonant?
b) Ends with a vowel?
c) Has a consonant and vowels alternating?

2. Combinations

 Combination is a selection of n distinct objects without regard to order.


 It is used when the order of arrangement is not important, as in the selection
process.

6
 The number of combinations of r objects selected from n objects is denoted by

()
nC r∨ n .
r

{
n! n ( n−1 ) ( n−2 ) … ( n−r +1 )
= → without replacement .
nC r= r ! ( n−r ) ! r!
nr → withreplacement .
Example 1: Given the letters A , B ,C∧D . List the number of permutations & combinations
for selecting two letters at a time.
Solution:

Permutation :nPr =4 P2 =12; i . e . AB , AC , AD , BA , BC , BD ,CA , CB ,CD , DA , DB , DC .
 Combination : nCr =4 C2=6 ; i . e . AB , AC , AD , BC , BD , CD .
 Note that in permutation AB is different from BA. But in combination AB is the same
as BA.
Example
1. In how many ways a committee of 5 people be chosen out of 9 people?
Solutions:

n=9 , r=5

()
n n!
= =
9!
r (n−r)!*r! 4 !*5!
=126 ways

2. Among 15 clocks there are two defectives .In how many ways can an inspector chose
three of the clocks for inspection so that:
a) There is no restriction.
b) None of the defective clock is included.
c) Only one of the defective clocks is included.
d) Two of the defective clock is included.
Solutions:

n=15 of which 2 are defective and 13 are non −defective .


r =3

a) If there is no restriction select three clocks from 15 clocks and this can be done in :

7
n=15 , r=3

()
n n!
= =
15 !
r (n−r)!*r! 12 !*3!
=455 ways

b) None of the defective clocks is included.


This is equivalent to zero defective and three non defective, which can be done in:

( )( )
2 13
0

3
=286 ways .

c) Only one of the defective clocks is included.


This is equivalent to one defective and two non defective, which can be done in:

( )( )
2 13
1

2
=156 ways .

d) Two of the defective clock is included.


This is equivalent to two defective and one non defective, which can be done in:

( )( )
2 13
2

3
=13 ways .

5.4 Approaches to Measuring Probability

 There are four different conceptual approaches to the study of probability theory.
These are:
1. The Classical (Mathematical) Approach.
2. The Frequents (Empirical) Approach.
3. Subjective probability
4. Objective probability
1. The Classical (Mathematical) Approach
 This approach is used when:
 All outcomes are equally likely.
 Total number of outcome is finite, say n.

8
Definition: If a random experiment with "n" equally likely outcomes is conducted and out of
these "k" outcomes are favorable to an event A, then the probability that an event A occur

denoted by P( A) is defined as:


¿ n( A) k
P ( A )=number of outcomes favorable ¿ event A = = .
Total nu mber of outcomes n (S) n
1. Example 1: A fair die is tossed once. What is the probability of getting
a) Number 4?
b) An odd number?
c) An even number?
d) Number 8?
Solutions:

First identify the sample space, say S

S={ 1, 2, 3, 4 , 5, 6 }
⇒ N =n( S)=6
a) Let A be the event of number 4

A={ 4 }
⇒ N A=n ( A )=1
n( A )
P( A )= =1/6
n( S )
b) Let A be the event of odd numbers

A={ 1 ,3 , 5 }
⇒ N A=n ( A )=3
n( A )
P( A )= =3 /6=0 . 5
n( S )
c) Let A be the event of even numbers

9
A={ 2 , 4 , 6 }
⇒ N A=n ( A )=3
n( A )
P( A )= =3 /6=0 . 5
n( S )
d) Let A be the event of number 8
A= Ø

⇒ N A=n ( A )=0
n( A )
P( A )= =0 /6=0
n( S )
2. A box of 80 candles consists of 30 defective and 50 non defective candles. If 10 of
this candles are selected at random, what is the probability
a) All will be defective.
b) 6 will be non defective
c) All will be non defective
Solutions:

Total selection= ( )
80
10
=N =n( S )

a) Let A be the event that all will be defective.

Total way in which A occur= ( )( )


30 50

10 0
=N A=n( A )

⇒ P ( A )=
n( A )
=
( ) ( ) =0. 00001825
30 ∗ 50
10 0
n(S ) 80
10 ( )
b) Let A be the event that 6 will be non defective.
10
Total way in which A occur= ( 304 )∗(506 )=N =n( A )
A

⇒ P ( A )=
n( A )
=
( ) ( ) =0 .265
30 50
4

6
n(S ) 80
10 ( )
c) Let A be the event that all will be non defective.

Total way in which A occur= (300 )∗(5010 )=N =n( A )


A

⇒ P ( A )=
n( A ) 0
=
( )( )
30 ∗ 50
10
=0. 00624
n(S ) 80
10 ( )
Exercise: If 3 books are picked at random from a shelf containing 5 novels, 3 books of
poems and a dictionary, then what is the probability that
a) The dictionary is selected?
b) 2 novels and 1 book of poems are selected?

Limitations:

 It cannot used if the outcomes are not equally likely


 It can be used only on finite sample sample space

2) The Frequents Approach (Empirical Probability):


This is based on the relative frequencies of outcomes belonging to an event.
Definition: The probability of an event A is the proportion of outcomes favorable to A in
the long run when the experiment is repeated under the same condition.
number of ×event A has occured k
P ( A )= = .
total number of observations n
 In a given frequency distribution, the probability of an event A being in a given class is:
frequency of a class f
P ( A )= = .
total frequency∈the distribution n
Example: If records show that 60 out of 100,000 bulbs produced are defective. What is the
probability of a newly produced bulb to be defective?
Solution: Let A - be the event that the newly produced bulb is defective.

11
number of ×event A has occured k 60
P ( A )= = = =0.0006 .
total number of observations n 100,000
Example 2: In a sample of 50 people, 22 had type "A", 5 had type "B", 2 had type "AB" and
21 had type "O" blood. Find the probability that a person has blood type "O"?
Solution: Let A−¿ be the event that a person has blood type "O". Then
frequency of a class f 21
P ( A )= = = .
tota l frequency ∈the distribution n 50
1.7 Axiomatic of Probability
Let E be a random experiment and S be a sample space associated with E. With each
event A areal number called the P ( A ) satisfies the following properties called axioms of
probability.
1. 0 ≤ P( A)≤ 1. 2. P ( S )=1 , S is the sure event .
3. P(ϕ)=0 , ϕ isimpossible event . 4. P ( A ' )=1−P ( A ) .
5. if A and B are disjoint (mutually exclusive) events, then P ( AUB )=P ( A ) + P ( B ) .
Remark: The Venn-diagrams can be used to solve probability problems.

Remark: The axiomatic approach does not give us ways of computing probability but it
states certain axioms that a probability of an event should satisfy.

5.5 Derived theorems of Probability

The addition Rules for Probability


1. If two events A and B are mutually exclusive, then the probability that A or B will occur
is
P ( A∨B ) =P ( A ∪ B )=P ( A )+ P ( B ) .
2. If two events A and B are not mutually exclusive, then the probability that A or B will
occur is P( A∨B)=P( A ∪B)=P (A )+ P(B)−P( A ∩ B) .
Example 1: If a single card is drawn from an ordinary deck and its number is noted, then
find the probability that:
a) It is an ace or a diamond. b) It is an ace or a black. c) It is an ace or a Jack.
Solution: Let ; A−¿ be the event that an ace will be selected. → ≫ P (A )=4 /52.

12
B−¿ be the event that a diamond will be selected. → ≫ P (B)=13 /52.
C−¿ be the event that a black will be selected. → ≫ P (C)=26 /52.
4
D−¿ be the event that a jack will be selected. → ≫ P ( D)= .
52
4 13 1 16 4
a) P ( A∨B ) =P ( A ∪ B )=P ( A )+ P ( B )−P ( A ∩ B )= + − = = .
52 52 52 52 13
4 26 2 28
b) P ( A∨C )=P ( A ∪ C )=P ( A ) + P ( C )−P ( A ∩C )= + − = .
52 52 52 52
4 4 8
c) P ( A∨D )=P ( A ∪ D )=P ( A ) + P ( D )−P ( A ∩ D )= + −0= .
52 52 52
Example 2: Suppose that In adare hospital unit there are 8 nurses and 5 physicians; 7 nurses
and 3 physicians are females. If a staff person is selected at random, find the probability that:
a. The subject is a nurse or a male.
b. The subject is a physician or a female.
Solution: The sample space is shown here.
Staff Females Males Total

Nurses 7 1 8

Physician 3 2 5
s

Total 10 3 13

a. P ( nurse∨male )=P ( nurse ) + P ( male )−P(male∧nurse)


¿> ¿ P ( nurse ∪ male ) =P ( nurse )+ P ( male )−P(male ∩nurse)
8 3 1 10
¿ + − = .
13 13 13 13
b . P ( pysician∨female )=P ( pysician ) + P ( female )−P( female∧ pysician)
¿> P ( pysician ∪ female )=P ( pysician ) + P ( female ) −P ( female ∩ pysician )
5 10 3 12
¿ + − = .
13 13 13 13
Note: If A , B∧C are any three events, then
P ( A ∪ B ∪C )=P ( A ) + P ( B )+ P ( C )−P ( A ∩ B )−P ( A ∩C )−P ( B ∩C )+ P ( A ∩ B ∩C ) .
In general, Let A1 , A 2 , A3 , … , A k be any k events, then
k k k
P ( A 1 ∪ A 2 ∪ …∪ A k )=∑ P ( A i)− ∑ P ( A i ∩ A j ) +¿ ∑ P ( A i ∩ A j ∩ Ar ) +…+(−1) k−1 P ( A 1 ∩ A 2 ∩ …∩ A k )
i=1 i< j=2 i< j<r =3

13
Exercise: The following statement deals with the probability that exactly one of the events A
or B occurs.
Show that P[ ( A ∩ B' ) ∪ ( B ∩ A' ) ]=P( A)+ P(B)−2 P (A ∩B).

Theorem: If  is the impossible event then P() = 0

Proof: For any event A, A  =A

P (A ) = P(A)

P(A) + P() = P(A) since A   = 

P() = 0

Theorem: If A/ is the complement of A, then P(A) = 1-P(A/)

Proof: S=A A/

P(S) = P(A A/) = 1

P(S) = P(A) + P(A/) since A  A/ = 

P (A/) = 1- P(A)

Theorem: If A and B are any two events then P (A B) = P (A) + P (B) – P (A  B)

Proof: A B = A (A/  B)

P(A B) = P (A) + P (A/  B)

And B = (A  B)  (A/  B)

P(B) = P(A  B) + P(A/  B)

Thus P(A B) – P (B) = P (A) - P(A  B)

P (A B) = P (A) + P (B) – P (A  B)

Theorem: For any events A, B, C

P(A  B  C ) = P(A) + P(B) + P(C) - P(A  B) - P(A  C) - P(B  C) + P(A  B  C)

Proof: Let A  B = D

P(D  C) = P (A  B  C )

P (A  B  C ) = P (D) + P (C) - P ((A  B ) C)

14
= P(D) + P(C) – P((A  C)  (B  C))

= P (A  B) + P (C) – P((A  C)  (B  C))

= P(A) + P(B) - P(A  B) + P(C) - P(A  C) - P(B  C)+ P(A  B  C)

P(A  B  C ) = P(A) + P(B) + P(C) - P(A  B) - P(A  C) - P(B  C) + P(A  B  C)

Theorem: If A  B then P(A)  P ( B)

Proof: B = A (A/  B)

P(B) = P (A) + P (A/  B) – P(A  A/  B)

P(B) = P (A) + P (A/  B) since A and A/ are mutually exclusive

Since P (A/  B)  0

P(A)  P(B)

Theorem: The probability that exactly one of the events A or B occurs is

P(A) + P (B) - 2P (A  B)

Proof: P((A  B/)  (B  A/ ))

= P(A  B/) + P (B  A/)

= P (A  B) – P(B) + P(A  B) – P(A)

= 2P(A  B) – P(A) –P(B)

= 2P(A  B) – P(A) –P(B)

= 2P(A) + 2P(B)- 2P(A  B) – P(A) –P(B)

= P(A) + P(B)- 2P(A  B)

Examples
1) For any events A and B show that P(A  B)  P(A) + P(B)
Solution

P (A  B) = P (A) + P (B) – P (A  B)

Since P (A  B)  0

P (A  B)  P(A) + P(B)

15
5.6 Conditional Probability and Independence
1. Conditional Probability
The conditional probability of an event is a probability obtained with additional
information that some other event has already occurred.
 The conditional probability of event B occurring, given that event A has already
occurred, can be found by:
P ( A ∩ B)
 P ( B / A )= ,if P ( A ) ≠ 0.
P( A)
 The conditional probability of event A occurring, given that event B has already
occurred, can be found by:
P ( A ∩ B)
 P ( A / B )= ,if P ( B ) ≠ 0.
P ( B)
∴ P ( A ∩ B ) =P ( A ) x P ( B/ A )=P ( B ) x P( A /B).
Note : If A∧B areindependent ,then P ( A /B ) =P ( A )∧P ( B / A )=P ( B ) .
Example 1: A card is drawn from an ordinary deck and its number noted. Then it is not
replaced. A second card is drawn and its number noted, and then, find the probability of:

a) Getting two Jacks (J). b) Getting an ace ( A) and a king (K) in order.
c) Getting a flower and a spade. d) Getting a red and a black in order.
4 3 12
Solution: a) P ( Jack ∧Jack )=P ( Jack ∩ Jack )=P ( Jack ) x P ( Jack /Jack )= x = .
52 51 2802
4 4 16
b) P ( ace∧king ) =p ( ace ∩king ) =P ( ace ) x P ( King / Ace )= x = .
52 51 2802
c)
13 13 169
P ( flower∧spade )=P ( flower ∩spade ) =P ( flower ) x P ( Spade /flower )= x = .
52 51 2802
26 26 676
d) P ( red∧black )=P ( red ∩black )=P ( red ) x P ( blac k /red )= x = .
52 51 2802
Example 2: A box contains black chips and white chips. A person selects two chips without
replacement. If the probability of selecting a black chip and a white chip is 15/56 , and the
probability of selecting a black chip on the first draw is 3/8 , , find the probability of selecting
the white chip on the second draw, given that the first chip selected was a black chip.
Solution : Let ; B=selecting a black chip∧W =selecting a white chip . Then
P ( B ∩W ) 15/56 15 8 5
P ( W / B )= = = x = .
P (B ) 3/8 56 3 7
'
Remark: (1) p( A / B )=1− p( A / B )

16
p( B' / A )=1− p( B / A )
(2)

Remark: For a given event B, for which P (B)>0, the conditional probability p (A|B) is a
legitimate probability law since it satisfies the axioms of probability. That is,

1) 0<P(A|B)
2) P(S|B)=1
) and P(A2) are mutually exclusive events, then
3) P (A1

(A1 UA2 |B= P(A1)


P(

Example 4: To study the proportion of smokers by sex from a population, a random


sample of 200 persons was taken. The following table shows the result.

Non-smoker Smoker Total


(A/) (A)

Female 64 16 80
(B)

Male 42 78 120
(B/)

Total 106 94 200

Find

a) The probability of getting a non-smoker given that the person selected is a female.
b) The probability of getting a non-smoker given that the person selected is a male.
c) The probability of getting a female given that the person selected is a smoker.
Solution:

Let A: A selected person is smoker B: The selected person is female.

17
'
n( A ∩B )
'
' P( A ∩B ) n( S ) n( A ' ∩B ) 64 4
P( A / B)= = = = =
P( B ) n( B ) n(B ) 80 5
a) n( S )

' '
n ( A ∩B )
' ' ' '
' ' P( A ∩B ) n( S ) n( A ∩B ) 42 7
P( A / B )= = = = =
P( B )
'
n( B )
' '
n(B ) 120 20
b) n( S )

n(B∩ A )
P (B∩A ) n (S ) n( B∩ A ) 16 32
P( B/ A )= = = = =
P(A) n( A ) n( A ) 94 47
c) n (S )

Exercises
1. Let A and B are two events such that
P ( A ∪ B )=3/4 , P ( A ∩ B )=1 /4∧P ( A ' )=2/3 , then find P( A ' /B)? Ans=5 /8.
2. A lot consists of 20 defective and 80 non-defective items from which two items are
chosen without replacement. Events A & B are defined as A = the first item chosen is
defective, B = the second item chosen is defective

a. What is the probability that both items are defective?


b. What is the probability that the second item is defective?
3. If A and B are two events associated with an experiment and P (A) = 0.5 P (A∪ B) = 0.6
and P (B) = p. Then, find P for which A and B are Independent.
4. A box contains 4 bad and 6 good tubes. Two are drawn together. One of them is tested
and found to be good. What is the probability that the other one is also good?
5. If the probability that a student will pass the mid semester exam is 0.7 and the
probability that he will pass both the mid and final examinations is 0.4. What is the
probability that he will pass the final examination if he passed the mid-semester
examination?
2. The Multiplication Rules (Theorems)
The multiplication rules can be used to find the probability of two or more events that occur
in sequence.
Independent events: Two events A and B are independent if the occurrence of "A" does not
affect the probability of "B" occurring.
Dependent events: Two events are dependent if the first event affects the outcome or
occurrence of the second event in a way the probability is changed.

18
2.1.1 The Multiplication Rules for Probability
1. If two events A and B are independent, then the probability of both A and B will occur is
P ( A∧B ) =P ( A ∩ B )=P ( A ) x P ( B ) .
2. If two events A and B are dependent, then the probability of both A and B will occur is
P ( A∧B ) =P ( A ∩ B )=P ( A ) x P (B / A)=P ( B ) x P( A /B).
Note: Extension of multiplication law of probability for ‘n’ events A1, A2, …, An we have

P (A1 n A2 n…An) = P (A1) P(A2/A1) P (A3/A1 n A2)…P(An/ A1 n A2 n…An-1).

Example 1: A coin is flipped and a die is rolled. Find the probability of getting a head on the
coin and a 4 on the die.
Solution: These two events are independent since the outcome of the first event (tossing a
coin) does not affect the probability outcome of the second event (rolling a die).
1 1 1
P ( head∧4 ) =P ( head ) x P ( 4 ) = x = .
2 6 12
Example 2: An urn contains 3 red balls, 2 blue balls and 5 white balls. A ball is selected and
its color noted. Then it is replaced. A second ball is selected and its color noted. Find the
probability of :
a) Selecting two blue balls.
b) Selecting a blue ball and then a white ball.
c) Selecting a red ball and then a blue ball.
2 2 4 1
Solution: a) P ( blue∧blue )=P ( blue∩ blue )=P ( blue ) x P ( blue )= x = = .
10 10 100 25
2 5 10 1
b) P ( blue∧white )=P ( blue ∩white ) =P ( blue ) x P ( white )= x = = .
10 10 100 10
3 2 6 3
c) P ( red∧blue )=P ( red ∩ blue )=P ( red ) x P ( blue ) = x = = .
10 10 100 50
Exercise : If the probabilities are 0.75, 0.7 and 0.525 that a student A, B, or both can solve the
problems in a text book respectively. What is the probability that:
a) Student A can only solve the problem selected at random from the book?
b) Student B can only solve the problem selected at random from the book?
Solution:
A ' A
a) A∩B b) A'∩B
B B
a)

P ( A ∩B ' ) =P ( A )− p ( A ∩ B )=0.75−0.525=0.225 .; b ¿ P (A ' ∩B)=P (B)−p ( A ∩B)=0.7−0.525=0.175 .

19
3. Total Probability Theorem
The law of total probability: Suppose B1 , B2 , … , Bm are disjoint events that form a partition
of S(each possible outcome is included in one and only one of the events B1 , B2 , … , Bm ) and
assume that p(Bi)>0 such that B1 ∪ B2 ∪ … ∪ B m=S=B . The probability of an arbitrary
event A can be expressed as:
P ( A )=P ( B1 ∩ A )+ …+ P(Bm ∩ A )

= P ( B 1 ) x P ( A /B 1) + P ( B2 ) x P ( A /B2 ) +… + P ( Bm ) x P ( A /B m ) .
The following Figure illustrates the law for m = 5. The event A is the disjoint union of
A ∩ Bi , for i=1 , 2, … , 5 , so P ( A )=P( A ∩ B1 )+ P( A ∩ B2)+ …+ P( A ∩ B5), and for each i

the multiplication rule states P ( A ∩B i )=P ( Bi ) x P ( A / Bi ).

B1 B2
b1 A vBd
A ∩ B1 A ∩ B2

B5 A ∩ B5 A ∩ B3B3 B3
A ∩ B4
S=B
B4

4. Bayes’s Theorem
Bayes' Rule: Suppose the events B1 , B2 , … , Bm are disjoint (partition of S) and
B1 ∪ B2 ∪ … ∪ B m=S=B . The conditional probability of Bi , given an arbitrary event A, can
be expressed as:

P (B i ∩ A ) P ( B i) x P ( A /B i)
P ( B i / A )= = ; i=1 , 2 ,3 ,… , m .
P ( A) P ( B1 ) x P ( A / B1 ) + P ( B 2) x P ( A /B 2) + …+ P ( B m ) x P ( A / Bm )

Example 1: Box 1 contains 2 red balls and one blue ball. Box 2 contains 3 blue balls and one
red ball. A coin is tossed. If it falls heads up, Box 1 is selected and a ball is drawn. If it falls
tails up, Box 2 is selected and a ball is drawn. Then find the probability of selecting a red
ball.
Solution: Let; B1−¿ be the event that box 1 is selected.
B2−¿ be the event that box 2 is selected.

R−¿ be the event that a red ball is selected.

20
B−¿ be the event that a blue ball is selected

P(R /B1 )=2/3 R


P(B1 )=1/2 B1
P(B/ B1)=1/3 B
R
P(B2 )=1/2 B2 P(R /B2 )=1/4

P(B/ B2)=3/4 B
 R is selected, if and only if, B1 is selected and R is selected or B2 is selected and R is
selected.
→ ≫ R=( B1∧R ) ∨( B2∧R ) =( B1 ∩ R ) ∪ ( B 2 ∩ R ) .
P(R)=P {(B1 ∩ R)∪( B2 ∩ R)}=P( B1 ∩ R)+ P (B 2 ∩ R)=P( B1 )x P(R/ B1)+ P( B2 )x P(R/ B2 )
1 2 1 1 1 1 11
¿ x + x = + = .
2 3 2 4 3 8 24

Example 3: A shipment of two boxes, each containing 6 telephones, is received by a store.


Box1 contains one defective phone and box 2 contains 2 defective phones. After the boxes
are unpacked (stocked), a phone is selected and found to be defective. Then find the
probability that it came from box 2.
Solution: Let B1−¿ be the event that the phone is came from box 1.
B2−¿be the event that the phone is came from box 2.
D−¿ be the event that defective phone is selected.
ND−¿ be the event that non defective phone is
selected.

P(D /B1 )=1/6 D

P(B1 )=6/12 B1 P(ND /B 1)=5 /6


ND
P(D /B2 )=2/6 D
P(B2 )=6 /12 B2

P(ND /B 2)=4 /6 ND
P(B2 / D)=?
P ( B2 ∩ D ) P ( B 2 ) x P ( D /B2 ) P ( B2 ) x P ( D/ B2 )
P ( B 2 /D )= = = .
P (D) P {( B1 ∩ D ) ∪ ( B2 ∩ D ) } P ( B1 ∩ D ) + P ( B2 ∩ D )

21
Since, D is selected, iff, B1 is selected and D is selected or B2 is selected and D is
selected.

P ( D )=P {( B1 ∩ D ) ∪ ( B 2 ∩ D ) }=P(B1 ∩ D)+ P (B 2 ∩ D)=P(B1 )x P (D/B 1)+ P(B2 )x P (D/B 2).


1 1 1 2 1 2 3 1
¿ x + x = + = = . Then
2 6 2 6 12 12 12 4

P ( B2 ∩ D ) P ( B 2) x P ( D /B2 ) 1/2 x 2/6 1/6 1 4 2


P ( B 2 /D )= = = = = x = .
P (D) P(D) 1/4 1/4 6 1 3

5. Independent Event

Definition (Independent events): Two events A and B are said to be independent iff P(AB)=P(A)
P(B)

Verbally speaking, A and B are independent provided knowledge of the occurrence of A by


no means influences the probability of occurrence of B.
Example: Let a box contains M red balls and N-M white balls. Let a random sample of 2
balls be drawn successively.

Let A: red ball is drawn in the first draw.


B: red ball is drawn in the second draw.

Are A and B independent?

Solution:

Consider the following two cases

a) Sampling with replacement.

M
P(B/A)= = P(B) independent
N
b) Sampling with out replacement

M-1
P(B/A)= ≠P(B) dependent
N-1
22
Remarks
1) If A and B are mutually exclusive when do they become independent?
P(A  B) = P()  P(A) P(B) = 0

 A and B are independent and mutually exclusive iff A  B =  and either P(A) =0
or P(B)=0
2) If A  B then A  B = A
 P(A  B) = P(A)

 A and B cannot be independent unless P(B)= 1

B=S

3)  and S are independent of any event


Theorem: Let A and B be independent. Then

i. A and B/ are independent


ii. A/ and B/ are independent
iii. A/ and B are independent
Remark: Pair wise independence does not imply independence of several events

Example; A box contains four black and six white balls. What is the probability of getting
two black balls in drawing one after the other under the following conditions?

a. The first ball drawn is not replaced


b. The first ball drawn is replaced
Solution; Let A= first drawn ball is black

B= second drawn is black

Required p ( A∩B )

a. p ( A∩B ) =p ( B/ A ) . p ( A )=( 4 /10 ) ( 3/9 )=2/15


b. p ( A∩B ) =p ( A ) . p ( B )=( 4 /10 ) ( 4 /10 )=4 /25

23
24

You might also like