1.AIS Discrete and Binomial Probability
1.AIS Discrete and Binomial Probability
ANALYSIS
&PROBABILITY
Statistics and
Probability
For Senior High School
Compiled by
Cunanan, A. S.
Other Discrete Probability Distributions
A random variable has a discrete uniform distribution when all the values of
the random variable are equally alike, that is they have equal probabilities.
If the random variable x assumes the values x1, x2, x3, … xn, that are equally
1
alike, it has a discrete uniform distribution. The probability of any outcome xi is .
n
The formulas for mean, variance and standard deviation are as follows;
N +1
√
2
1. μ = 2. σ 2 =
N −1
3. σ = N 2−1
2 12 12
Example 1: When a fair die is thrown, the possible outcomes are 1, 2, 3, 4, 5, & 6.
Each time the die is thrown, it can roll on any of these numbers. Since there are 6
1
numbers, the probability of a given score is . Therefore, we have a discrete
6
uniform distribution. The probabilities are equal as shown below.
1 1 1
P ( 1 )= P ( 2 )= P ( 3 )=
6 6 6
1 1 1
P ( 4 )= P ( 5 )= P ( 6 )=
6 6 6
The probability distribution of x is shown in the table below, where the random
variable x represents the outcomes.
x 1 2 3 4 5 6
1 1 1 1 1 1
P(x)
6 6 6 6 6 6
The mean, variance and standard deviation can be calculated using the following
formulas.
N +1
1. μ = =3.5
2
2
N −1
2. σ 2 = = 2.9167
12
3. σ =
√ N 2−1
12
= 1.7078
The Bernoulli distribution with parameter p where 0 < p < 1, has the
following probability mass function.
P x ( x )=¿
The formula for mean, variance and standard deviation of the Bernoulli
random variable x, are as follows
μ= p
σ 2=pq= p ( 1− p )
σ =√ pq=√ p(1− p)
Solution:
μ= p=0.5
2
σ =p (1−P)= 0.5(0.5) = 0.25
σ =√ 0.25=0.5
Solution:
1 1 5
Thus, the probability of a succession is and the probability of a failure is 1− =
6 6 6
1
μ= p=
6
1
∗5
2 6 5
σ =p (1−P )= =
6 36
σ=
√ 5
36
=0.3727
()
n!
P ( x )= n p x qn− x = p x qn− x =n C x∗p x qn− x for x = 0, 1, 2, …, n
x x !(n−x)!
1
a. If n = 5 and p = , find P(X=3)
5
b. If n = 4 and p = 0.2, find P(X=1)
Solution:
a. P ( x )= ( nx) p q
x n− x
( )( ) ( )
3
1 4 2
P ( 3 )= 5 =0.0512 or;
3 5 5
n! x n −x
P ( x )= p q
x !(n−x )!
( )( ) ( )( 1625 )=0.0512
3 2
5! 1 4 1
P ( 3 )= ∗ =5 C 3∗
( )
3 ! 5−3 ! 5 5 125
Solution:
X Bi(4 , 0.5)
()
n!
(a) P ( x )= n p x qn− x = p x qn− x
x x !(n−x)!
( )( ) ( )
4 0
1 1 1
P ( 4 heads ) =P ( 4 ) = 4 =
4 2 2 16
(b) The probability of having at least one head is equivalent to getting all the
sum of the probabilities from getting 1 head to getting 4 heads. So, using
the same formula used in (a) we have;
( )( ) ( )
1
1 1 3 1
P ( 1head )=P (1 )= 4 =
1 2 2 4
( )( ) ( )
2 2
1 1 3
P ( 2 heads ) =P ( 2 ) = 4 =
2 2 2 8
( )( ) ( )
3
1 1 1 1
P ( 3 heads )=P (3 )= 4 =
3 2 2 4
( )( ) ( )
4 0
1 1 1
P ( 4 heads ) =P ( 4 ) = 4 =
4 2 2 16
1 3 1 1 15
¿ + + + =
4 8 4 16 16
( )( ) ( )
0 4
1 1 15
P ( no head )=1− 4 =
0 2 2 16
Example 6: Experience has shown that 1 for every 100 of the USB flash drives
produced by certain factory is defective. If a test is randomly done on 12 USB
flash drives, compute each of the following.
Solution:
1 99
P= n=12 q=1− p=
100 100
( )( ) ( ) =0.1074
1 11
( a ) P ( A )= 12 1 99
1 100 100
The probability of having at most two defectives is equal to having the sum of
probabilities of getting no defective up to getting 2 defectives.
( )( ) ( ) ( )( ) ( ) ( )( ) ( )
0 12 1 11 2 10
( b ) . P ( B )= 12 1 99
+ 12
1 99
+ 12
1 99
0 100 100 1 100 100 2 100 100
P ( B )=¿ 0.9998
12∗1 3
( c ) μ=np= =
100 25
12∗1
∗99
2 100
σ =npq= =0.1188
100
σ =√ npq=√ 0.1188=0.3447
P ( x )=
( x )( n−x ) k C x∗N −k C n−k
k N−k
= for x=0 ,1 , 2 , … ,n
(n )
N N Cn
Where:
N = population size
n = sample size
Example 1: There are 6 white balls and 34 blue balls in the basket. If you draw 8
balls from the basket without replacement, what is the probability that exactly 3 of
the 8 balls are white?
Solution:
Treat drawing a white a ball as a success and drawing a blue ball as a failure.
P ( x )=
( x )( n−x )
k N−k
(nn)
P ( 3 )=
( )(
6 40−6
3 8−3 ) =
( 3 )( 5 )
6 34
=0.0724
(8) (8)
40 40
Solution:
P ( A )=
( 1 )( 3−1 ) ( 2 )( 3−2 ) ( 3 )( 3−3 )
10 15−10
+
10 15−10
+
10 15−10
(3)
15
(3)
15
(153)
P ( A )=
( 1 )( 2) ( 2 )( 1 ) ( 3 )( 0)
10 5 + 10 5 + 10 5
( 153)
P ( A )=0.978
Alternate solution:
P ( A )=1−
( 0 )(
10 15−10
3−0 ) =1−
( 0 )( 3 )
10 5
=0.978
(3)
15
(3)
15
The following formulas can be used in determining the mean, variance and standard
deviation of a hypergeometric probability distribution
Exercises 1:
Mathinik
Find the mean, variance and standard deviation of a discrete random variable X
that follows a hypergeometric distribution with the following parameters.
8. N = 16, n = 6, and k = 8
9. N = 10, n = 5, and k = 4
10.N = 12, n = 4, and k = 3
11.N = 18, n = 5, and k = 10
12. Suppose there are 20 call centers in MM and that 5 of them are located in
QC. If 3 call centers are selected at random from the list, what is the
probability that one or more of the selected call centers is located in QC?
13.Suppose there 20 math teachers in your school and that 6 of them have
master’s degree in math. If 4 teachers are selected at random from the
entire list, what is the probability that 2 of the selected has master’s
degree in math?
15.A box contains 8 green marbles and 12 brown marbles. If 6 marbles are to
be chosen at random without replacement, what is the probability that 3
will be green?
Where:
μ=E ( X )=np
e = 2.71828…
n = number of samples
p = probability of success
The mean, variance and standard deviation formulas are written as follows:
Variance = μ
SD = √μ
One interesting feature of the Poisson distribution is that its mean
and variance are equal or the same.
Example 1: The average number of cell phones sold by a store at a shopping mall is
3 per day. What is the probability that exactly 4 cell phones will be sold tomorrow?
Solution:
X Po ( 3 )
μ=3 , x=4
x −μ 4 −3
μ e 3 e
P ( x )= = =0.168032
x1 4!
(a) Find the probability that zero accident happen on that certain intersection
in a month period. P(0)
(b) Find the probability that at most 4 accidents occur on that intersection in
a 2-month period. P(X≤4)=P(A)
Solution:
0 −2
( ) 2 e
P 0= =0.135335
0!
P ( A )=P ( 0 )+ P ( 1 ) + P ( 2 ) + P (3 ) P+ P( 4)
P ( A )=0.628837
Example 3: The number of days classes is suspended due to flood during rainy
season in Pampanga is 5. What is the probability that the classes will be suspended
in Pampanga for 6 days during the rainy seasons?
Solution:
μ=5 ,∧x=6
6 −5
5 e
P ( 6 )= =0.14622
6!
Exercises 2
2. Suppose that on the average, two persons for every 1000 people smoke a
cigarette. Find the probability that a random sample of 3000 people would
yield fewer than 5 persons who smoke cigarette?
3. At an SCTEX toll gate, an average of 3 cars arrives every 20 seconds.
What is the probability that exactly 4 cars will arrive in a 20 second
period?
End of Module M1