Q.3.91

Question

Suppose that n independent trials, each of which results in any of the outcomes 0, 1, or 2, with respective probabilities p0,p1, andp2,i2=0 pi = 1, are performed. Find the probability that outcomes 1 and 2 both occur at least once

Step-by-Step Solution

Verified
Answer

The formula of inclusion and exclusion states,

P(AB)=P(A)+P(B)P(AB)

Therefore,

P(E)=1P(AB)

=1[P(A)+P(B)P(AB)]

=1[(1p2)n+(1p1)np0n]

=1(1p2)n(1p1)n+p0n

1Step 1: Given Information

Given the values,

probabilities P0, P1 and P2 

i2 = 0 P=1

2Step 2 :Explanation

Events:

E = 1 and 2 appear at least once in the sequence.

A - each outcome in a sequence is either 0 or 1

B - each outcome in a sequence is either  0 or 2

The outcomes of different experiments are independent 

Calculate:P(E)

Start by noting,

AB=Ec

Therefore,

P(E)=1P(AB)

The formula of inclusion and exclusion states,

P(AB)=P(A)+P(B)P(AB)

3Step 3: Explanation

The probability that certain experiment will end in either 0 or 1, that is 2, because those events are mutually exclusive is :

1 - P2

Because of independence, probability that n experiments end in not 2 is

P(A)=(1p2)n

Likewise:

P(B)=(1p1)n

And AB means that each outcome is 0 ,because of independence probability of that is:

P(AB)=p0n

Therefore:

P(E)=1P(AB)

=1[P(A)+P(B)P(AB)]

=1[(1p2)n+(1p1)np0n]

=1(1p2)n(1p1)n+p0n

4Step 4:Final Answer

The probability that outcomes 1 and 2 both occur at least once is

=1(1p2)n(1p1)n+p0n