Discrete Probability
Discrete Probability
Probability
MODULE 2: Discrete Probability, Continuous Probability Distribution & Joint Probability Distribution
Introduction: Probability is defined as the chance of an event occurring, like playing games of chance, cards, slot
machines and even lottery. Probability is also used in insurance and weather forecasting. This is also a basis of
inferential statistic where predictions are based on probability and hypotheses are tested using probability. The
concepts of probability includes probability experiments sample spaces, the rule of counting, the difference
between permutation and combination for specific situation. Counting rules and Probability rules can be used to
solve a variety of problems.
Counting Rule
Product Rule: In a sequence of n events in which the first has #! possibilities and the second event
has #" , and the third has ## , and so forth, the total number of possibilities of the sequence will be
#! #" ## … . #$
Example: A student has a choice of 5 courses and 6 schools. In how many way can he choose 1 course
and 1 school?
5 courses and 6 schools, the required number of ways = 5*6 =30 ways
#!
0(#, 2) = # 0 2 = 0≤2≤#
(# − 2)!
Permutations with Repeated Elements. It often happens that objects which are virtually identical get arranged.
Our inability to distinguish between these items reduces the number of possible permutations by the number of
ways these identical items themselves can be arranged.
#!
0% = 5ℎ727 #! + #" + ## = #
#! !, #" ! ## !
Circular Permutations; when things are arranged in places along a closed curve or a circle, in which any place
may be regarded as the first or last place, they form a circular permutations. Thus with n distinguishable objects
we have (n-1)! Arrangements.
0& = (# − 1)!
Example: How many different ways can a manager and a supervisor can be selected from a company branch in
Manila if there are 8 employees available?
8! 8.7.6.5.4.3.2.1
0(8,2) = = = 56 5=>? @A ?7B7C@ = !=#=D72 & ?FG72HI?A2
(8 − 2)! 6.5.4.3.2.1
Example: A business man wishes to rank only the top 3 of the 5 outlets. How many different ways he can rank
them?
5! 5∗4∗3∗2∗1
503 = = = 60 5=>?
(5 − 3)! 2∗1
Example: there are 4 copies of Math books, 5 copies of English Books, and 3 copies of History Book. In how
many ways can they be arranged in a shelf?
#! 12!
0# = = = 27,720
#1!, #2!, #3! 4! ∗ 5! ∗ 3!
Combination is a grouping or selection of all or part of a number of thing or object without reference to the
arrangement of the things selected. The number of combinations of n objects taken r at a time is given by:
# #02 #!
K(#, 2) = # K 2 = L M = = , 0≤2≤#
2 2! ( # − 2)! 2!
Combinations of different things taken any number at a time, The total number combinations K# of n different
things taken 1, 2, 3…n at a time is K% = 2% − 1
Example: A newspaper editor has received 8 books to review. He decides that he can use 3 reviews in his
newspaper. How many different ways can these 3 reviews be selected?
8! 8∗7∗6∗5∗4∗3∗2∗1
8 K 3 = 8! = = 56 GA??INIBI@I7?
(8 − 3)! ∗ 3! (5 ∗ 4 ∗ 3 ∗ 2 ∗ 1)(3 ∗ 2 ∗ 1)
Example: In a Club there are 7 women and 5 men. A committee of 3 women and 2 men is to be chosen. How
many different possibilities are there?
7! 5!
7K3 ∗ 5K2 = ∗O P = 350
(7 − 3)! ∗ 3! (5 − 2)! ∗ 2!
I 2 3 4 5 6
4
5
6 (GD 66,6)
Example: Determine the sample space for drawing one card from ordinary deck of cards
4 suits (Diamonds, clubs, hearts and spades), 13 each suits, there are 52 outcomes in each sample
space for an ordinary deck of card.
O 1/52
3rd Question TRUE FALSE TRUE FALSE TRUE FALSE TRUE FALSE
EVENTS is a collection of one or more outcomes of an experiment, it may be simple event or a compound event.
A simple event is an event that includes one and only one of the outcomes for an experiments and is denoted
by E, (ELEMETARY EVENT)
COMPOUND EVENT is a collection of more than one outcome for an experiment; it is also called composite
event.
Example: One group of community, some are in favour of death penalty as a punishment for heinous crime while
others are against it. Three persons are selected at a random and asked whether they are in favour or against
death penalty. How many distinct outcomes are possible?
a. All three persons are in favour of death penalty.
b. At least one person is in favour of death penalty
c. Exactly one person is against death penalty.
FFF FAA
FFA AAF
FAF AFA
AFF AAA
a. All three persons are favour of death penalty includes only one of the eight outcomes – Simple event
b. At least one person is in favour of death penalty (the event includes more than one outcome –compound
event)
c. At least one person is in favour of death penalty {FFA, FAF, and AFF} this event includes more than one
outcome- compound event.
Probability is a numerical measure of the likelihood that a specific event will occur. An event that cannot occur
has zero probability which is called an impossible event and if an event that is certain to occur has a probability
equal to 1 which is called auto
called sure event. There are four basic probability rule that will be helpful in solving
probability problems.
a. The probability of an event is within the range 0 to 1.
0 ≥ 0(R) ≥ 1
b. The sum of the probabilities of all simple events for an experiment is always 1.
Complimentary Events. The complement of an event E is the set of outcomes in the sample space that are not
included in the outcome of event E. The complement of E is denoted by E’ (E prime). The rule for complementary
events are denoted by
0(R ( ) = 1 − 0(R ( ) A2 0(R) = 1 − 0(R ( ) A2 0(R) + 0(R ( ) = 1
A. Classical Probability. A classical Probability assumes that all outcomes in the space are equally likely
{*+,-./ 12 3+4&1,.5 '% 6} {%(6)}
to occur. 0(R) = {8149: %+,-./ 12 1+4&1,.5 '% 4;. 59,<:. 5<9&. =}
= {%(=)}
Example: A card is drawn from an ordinary deck of card. Find these probabilities
6 !
A. Getting King of hearts 0= =
= @"
!# !
B. Getting a spade 0 = @" = A
%(6) {AD(!#E!)} A
C. Getting a 5 or a clubs 0(5 A2 ?G=J7) = B%(=)C = @"
= !#
(Example of inclusive)
ADA "
D. Of Getting a 5 or 7 0= @"
= !#
(Example of Exclusive)
#(!#) #
E. of Getting a card which is not a spade 0 = @"
=A
F
F. of getting 11 of Clubs 0 = @" = 0
!G H
a. A student is a freshmen 0 (V27?ℎ!7#) = @F = "@
A!
b. A student is a sophomore or a freshmen 0 (V A2 Z) = @F
{"#DI} #F #
c. A student is neither a freshmen nor a junior 0 (V A2 [ ) = @F
= @F = @
I A#
d. A student is not a senior 0 (#A@ = Z7#IA2) = 1 − \@F] = @F
C. Subjective Probability. A subjective Probability is the probability assigned to an event based on subjective
judgment, experience, information and belief. For example, a sportswriter may say that there is 90% probability
that San Sebastian Stags will win the NCAA championships. A physician may say that, on the basis of his
diagnosis, there is a probability that peso dollar exchange rate will decrease by 3 pesos.
Two events A and B are mutually exclusive events if they cannot occur at the same time.
Rule 1: When Two events A & B are mutually exclusive, the probability that A or B will occur is:
0 ( ^ A2 _) = 0(^) + 0(_)
0(Z) = 1
Rule 2: If A and B are not mutually exclusive, then
4 7 11
0(27J A2 D277# ) = 0(27J) + 0(D277#) = + = 7H7#@? =27 !F@F=BB> 7bCBF?IH7
19 19 19
Example 2: A single card is drawn from an ordinary deck of card. Find the probability that it is a queen or a diamond.
0(WF77# A2 JI=!A#J) = 0(c) + 0(dI=!A#J) − 0(c & dI=!A#J)
4 13 1 16 4
0= + −O P= =
52 52 52 52 13
Example 3: In a certain insurance company there are 20 senior salespersons and 30 junior salespersons, 8 senior
and 14 junior sales persons are male. If a sales persons is selected, find the probability that the salespersons is a
senior or a female.
Salesperson Male Female Total
Senior 8 12 20
Junior 14 16 30
22 28 50
The multiplication rules can be applied to determine the probability of two events that occur in sequence.
The probability of the intersection of two events is called joint probability. It is written as 0(^ =#J _). These rules
are for independent or dependent events.
Rule 1: When two events are independent, the probability of both occurring is
0(^ =#J _) = 0 (^) ∗ 0(_)
Rule 2: When two events are dependent, the probability of both occurring is
0(^ =#J _) = 0(^) ∗ 0( ^ _)
Rule 3: When two events are mutually exclusive their joint probability is always zero and B are two
mutually exclusive events, then
0 (^ =#J _) = 0
Examples: A die is rolled and a coin is flipped. Find the probability of getting 5 on the die and tail on the coin.
1 1 1
0( 5 =#J @=IB) = 0(5) ∗ 0(@=IB) = ∗ =
6 2 12
Example: A box contains 3 red ball, 8 blue balls and 9 green balls. A first ball is selected, and then it is replaced.
A second ball is selected. Find the probability of selecting
a. 2 red balls
# # H
0 (27J N=BB?) = "F ∗ "F = AFF
b. P (blue and green)
G H I" H
0( NBF7 =#J D277#) = "F ∗ "F = AFF = @F
A. Marginal Probability is a probability of a single event without consideration of any other event; it is also
called single probability. It can be computed using the formula
0(^) = 0(^ =#J _! ) + 0(^ =#J _" ) + ⋯ + 0(^ =#J _$ )
B. Conditional Probability is a probability that an event will occur given that another event has already
occurred. If A and B are two events, then the conditional probability is given as P(A/B) and reads as “The probability
if A given that B has already occurred” In Symbol,
J(K LMN O) J(O LMN K)
P (A/B) = ghi P (B/A) =
J(K) J(O)
Given that P (B) ≠ j ghi k(l) ≠ j
Example: A box contains blue and red balls. A person select two balls without replacement the probability of
selecting a blue ball and a red ball is 12/30, and the probability of selecting a blue ball on the first draw is 3/5, find
the probability of selecting a red ball on the second draw given that the first ball selected was a blue ball.
!"
0( _BF7 =#J m7J) #F 2
0(m _) = = # =
0(_BF7) 3
@
The probability of selecting a red ball on the second draw given that the first ball selected was blue is 2/3.
Example: In a fast food chain, 75% of the customers orders chicken meal. If 40% of the customer order chicken
meal and sundae, find the probability that the customer orders chicken meal will also order a sundae.
0(KℎICn7# =#J ZF#J=7) 40% 8
0( Z K) = = =
0 (K ) 75% 15
The customer has a probability of ordering sundae, given that he ordered chicken meal.
Supposed one person is selected at random from these 250 persons. Find the following probabilities:
a. The respondent answered has shopped, given that the respondent is male
"F
0(o =#J Z) "@F 2
0(Z o) = = HF =
0 (o ) 9
"@F
b. The respondent is a female, given that the respondents answered has never shopped.
#F
0(p V) \"@F] 3
0(X p) = = !FF =
0 (p) \ ] 10 "@F
When one family is randomly selected from this population, the process of randomly selecting a family is called a
random or chance experiment. Let X denotes the number of TV’s owned by the selected family. X denotes the
number of TV’s owned by the selected family. X can assume any of the 4 possible values (0, 1, 2, 3) recorded in
the leftmost column of the table. The value of x depends on the family selected, this value depends on the outcome
of a random experiment. “X” is referred to random variable.
A random variable is a function or rule that assigns a number to each outcome of an experiment (Chance
Variable).
Random Variable can be discrete or Continuous. Discrete Random Variable assumes values that can be counted,
while discrete random variable that can assume all values between any two specific values, a variable obtained by
measuring or are contained one or more intervals.
Requirements for a distribution of a discrete random variable. For a discrete random variable X that can assume
values Xi.
1. 0 ≤ 0(q) ≤ 1, XA2 =BB qI ( rℎ7 G2AN=NIBI@> sF@CA!7 I? N7@577# 0 =#J 1).
2. ∑%'P! 0(q' ) = 1 (rℎ7 ?F! AX =BB GA??INB7 AF@CA!7? I? 1.0)
3. The listing is exhaustive (All possible outcomes are included)
4. The outcomes are mutually exclusive (The outcomes occur at the same time)
Example: Construct a probability distribution for tossing three coins Let X represents number of tails.
Example: A wallet containing four P100 bills, two P200 bills, three P500 bills and one P1000 bill. Construct a
probability distribution for the data:
The mean variance, and standard deviation for a probability distribution are computed differently from the
mean, variance and standard deviation for samples. A new measure called expectation will also discuss
calculations for probability distribution.
= u q ∗ 0(q)
Where q! , q" , q# , … q% are the outcomes and 0(q! ), 0(q" ), 0(q# ), … 0(q% ), are the
corresponding probabilities
Find the variance of a probability distribution by multiplying the square of each outcome by its
corresponding probability, summing those product, and subtracting the square of the mean. The
formula for the variance of a probability distribution is
t = R(q) = u q ∗ 0(q)
Number of ball X 1 2 3 4 5
Probability P(X) 1/5 1/5 1/5 1/5 1/5
! ! ! ! !
The mean is t = ∑ q ∗ 0(q) = 1 y@z + 2 y@z + 3 y@z + 4 y@z + 5 y@z = 3
The Variance is
v " = u{q " ∗ 0(q)} − t"
1 1 1 1 1
v " = u 1" O P + 2" O P + 3" O P + 4" O P + 5" O P − 3" = 2
5 5 5 5 5
v = wv " = √2 = 1.4142
Example: Five hundred raffle tickets are sold at P25 each for three prizes of P4000, P2, 000 and P1000. After each
prize drawing, the winner ticket is then returned to the collection of tickets. What is the expected value if a person
purchases four tickets?
If the probabilities has only two outcomes or can be reduced to two outcomes (the outcomes are
considered as either success or failure these are called binomial experiment. A binomial experiment is a probability
experiment with the following requirements:
2. Each trial can have only two outcomes and are mutually exclusive outcomes.
The outcomes of a binomial experiment and the corresponding probabilities of these outcomes are called a
binomial distribution.
{#!}
0(q) = ∗ G Q ∗ W%ER
{(# − q)! q!
Example: A coin is tossed 3 times. Find the probability of getting exactly two heads
3! 1 " 1 #E" 3
0(2 ℎ7=J?) = ∗O P ∗O P = = 0.375
(3 − 2)! 2! 2 2 8
11!
0(6) = ∗ (0.25)S ∗ (0.75)!!ES = 0.0268
(11 − 6)! 6!
Example: The Department of Labor found that 83% of Filipinos think that having a college education is important
to succeed in life. If random of seven Filipinos is selected, find these probabilities:
7!
0(4) = ∗ (0.83)A (0.17)IEA = 0.0816
(7 − 4)! 4!
7!
0(0) = ∗ (0.83)F (0.17)I = 0.0000
7!
7!
0(1) = ∗ (0.83)! ∗ (0.17)IE! = 0.00014
(7 − 1)! 1!
I!
0(2) = (IE")!"! ∗ (0.83)" (0.17)IE" =0.002054
0(0) + 0(1) + 0(2) = 0.0000 + 0.0001 + 002054 = 0.00215
I!
0(6) = (IES)!S! ∗ (0.83)S ∗ (0.17)IES =0.3891
I!
0(7) = (IEI)!I! ∗ (0.83)I (0.17)IEI =0.2713
0(=@ B7=?@ 5) = 0(5) + 0(6) + 0(7) = 0.8993
A discrete probability distribution that is useful when n is large and p is small and when the independent
variables occur over a period of time is called the Poisson distribution. The poison distribution can be used when
a density of items is distributed over a given area or volume, such as the number of plants growing per acre of
the number of defects in a given length of videotape.
The probability of X occurrences in an interval of time, volume area, etc. for a variable, where ~
Is the mean number of occurrences per unit (time, volume, area, etc.) is
7 EU ~R
0(q: ~) = 5ℎ727 q = 0, 1, 2 …
q!
The letter e is a constant approximately equal to 2.7183
Example: If there are 200 typographical errors randomly distributed in 500-page manuscript, find the probability
that a given page contains exactly 3 errors.
200 2
~= = = 0.4
500 5
7 EU ~R 7 EF.A (0.4)#
0(q: ~) = = = .00715
q! 3!
There is less than 1% chance than any given page will contain exactly 3 errors.
Example: A vintage car breaks down an average of four times per month. Using the Poisson probability
distribution formula, find the probability that during the next month this vintage car will have
~=4
7 EU ~R 7 EA 4#
0(q: ~) = = = 0.1954
q! 3!
7 EU ~R 7 EA 4F 7 EA 4! 7 EA 4"
0(q: ~) = = + + = 0.2381
q! 0! 1! 2!