Академический Документы
Профессиональный Документы
Культура Документы
Module 1
COUNTING
TECHNIQUES
COUNTING TECHNIQUES-probability is primarily concerned with
predicting chances, especially the occurrence of an event. Any
probability activity, called an experiment, gives results which are also
known as outcomes
You are off to soccer, and love being the Goalkeeper, but that depends who is
the Coach today:
Sam is Coach more often ... about 6 out of every 10 games (a probability
of 0.6).
Sam
Alex
Example:
Outfit Selection: Suppose you have 3 tops, 3 pairs of pants, and 2 pair of
shoes.
T1 T2
P1 P2 P3 P1 P2 P3
S1 S2 S1 S2 S1 S2 S1 S2 S1 S2 S1 S2
T2
P1 P2 P3
S1 S2 S1 S2 S1 S2
Tree diagram of the 18 outfits
Factorial Notation
As the product of all the positive integers less than or equal to n.
In symbols, it is written as n!. For example, 5! = 5 × 4 × 3 × 2 × 1
Example: Evaluate the following factorial notations.
9!
a. 3! d.
6!
b. 6! e. 0!
c. 8!
Solution:
a. 3! = 3 × 2 × 1 = 6
b. 6! = 6 × 5 × 4 × 3 × 2 × 1 = 720
c. 8! = 8 × 7 × 6 × 5 × 4 × 3 × 2 × 1 = 40320
9! 9×8×7×6!
d. = = 9×8×7 = 504
6! 6!
e. 0! = 1
Permutation
The arrangement of objects in a set-in order is called permutation.
Example:
P(n,r)=10!(10−4)!=10⋅9⋅8⋅7⋅6⋅5⋅4⋅3⋅2⋅16⋅5⋅4⋅3⋅2⋅1=5040
𝑛!
Formula: P(n,r)= (𝑛−𝑟)!
Permutation of n Distinct Objects
𝒏!
Taken r at a time: nPr = (𝒏−𝒓)!
Example: How many distinct permutations are there for the word
PHILIPPINES?
𝟏𝟏! 𝟏𝟏×𝟏𝟎×𝟗×𝟖×𝟕×𝟔×𝟓×𝟒×𝟑!
= (𝟑×𝟐×𝟏)𝟑!
= 1,108,800 permutations
𝟑!𝟑!
Circular Permutation
Circular permutation is the number of ways to set up n distinct
objects beside a fixed circle. If n objects are arranged in a circle, then there
is a total of (n – 1)! permutations.
Example: In how many ways can you sit 8 people in a round tables with
8 seats?
Solution: (8-1)! = 7! = 5,040 ways.
Combinations
A combination is a mathematical technique that determines the
number of possible arrangements in a collection of items where the order
of the selection does not matter. In combinations, you can select the items
in any order.
𝒏𝑷𝒓
Formula: nCr =
𝒓!
Example: Four children are chosen from a class of 30 for a survey. How
many ways can this be done?
Solution: The selection requires combination because order is not
important. Substituting n = 30 and r = 4 gives:
𝟑𝟎! 𝟑𝟎! 𝟑𝟎×𝟐𝟗×𝟐𝟖×𝟐𝟕×𝟐𝟔!
30 C4 = = = = 27,405 ways
𝟒!(𝟑𝟎−𝟒)! 𝟒!𝟐𝟔! 𝟒×𝟑×𝟐×𝟏 𝟐𝟔!
Module 2
Computing
Probabilities
Sample Space
Also called the Outcome space, is a set of all possible
outcomes of and experiment.
Event
Refers to as subset of the sample space
Example: Two fair dice are rolled and the outcome is recorded. Write a
set of the following events: (a) sum of five and (b) doubles
Solution: Since there are two dice in the experiment and each die has six
faces, by the fundamental principle of counting, then there are 6×6=36
outcomes. Thus the sample space S is:
S= {(1,1), (1,2), (1,3), (1,4), (1,5), (1,6), (2,1), (2,2), (2,3), (2,4), (2,5),
(2,6), (3,1), (3,2), (3,3), (3,4), (3,5), (3,6), (4,1), (4,2), (4,3), (4,4), (4,5),
(4,6), (5,1), (5,2), (5,3), (5,4), (5,5), (5,6), (6,1), (6,2), (6,3), (6,4), (6,5),
(6,6)}
From the sample space, the event “sum of 5” is the set F= {(1,4),
(2,3), (3,2), (4,1) and the event of “doubles” is the set D= {(1,1), (2,2),
(3,3), (4,4), (5,5), (6,6)}
Simple Probability
The ratio of the number of outcomes favorable for the event to the
total number of possible outcomes is termed as probability. In other
words, a measure of the likelihood of an event (or measure of chance) is
called probability.
The Probability of an Event is a numerical value that describes the
likelihood that an event will happen or not.
The Probability of an event is denoted as P(E), is the numerical
measure of the likelihood that an event will occur
𝒏(𝑬)
P(E)=
𝒏(𝑺)
Where n(E) is the number of elements in the event and n(S) is the number
of elements in the sample space.
Example: If a card is selected at random from a standard deck of 52 cards,
the event “black jack” ahs two elements since E= (jack of spades, jack of
clubs). What is the probability of picking a black jack at random?
𝒏(𝑬) 𝟐 𝟏
P(E)= = = or approximately 3.85%
𝒏(𝑺) 𝟓𝟐 𝟐𝟔
Probability Involving a Sequence of Events
This rules especially applies when the events are independent, that,
is, two events in which the outcome of one does not affect the other
Multiplication rule of Probability: Independent Events
Two events A and B are independent when the outcomes of the first
does not affect the outcomes of the others. In general, the probability of
event A followed by another independent event B occurring is given by
P(A∩B) = P(A) × P(B)
Example: A coin is tossed and a die is rolled. What is the probability of
getting a head followed by four?
Solution: Let A be the event of getting a head from the coin toss and B the
event of getting a 4 from rolling a die.
𝟏 𝟏
P(A)= and P(B)=
𝟐 𝟔
P (red or face card) = P (red card) + P (face card) – P (red face card)
26 𝟏𝟐 𝟔 𝟑𝟐 𝟖
P (red or face card) = + − = =
52 𝟓𝟐 𝟓𝟐 𝟓𝟐 𝟏𝟑
Conditional Probability
An event is its probability based on a condition from a precedent
event.
Conditional Probability of an Event
The conditional probability of an event is the probability of the event
given the condition that another ever has previously occurred. It is
computed using the formula
𝑷 ( 𝑨 ∩B)
P(B\A) = , where P(A) ≠ 0.
𝑷(𝑨)
Solution: Let A be the event of selecting a blue strip and B the event of
selecting a white strip. From the problem, it is given that P(A ∩B) = 0.54
and P(A) = 0.72. Applying the conditional probability formula, we have
𝑷 ( 𝑨 ∩B)
P(B\A) =
𝑷(𝑨)
𝟎.𝟓𝟒 𝟑
P(B\A) = = .
𝟎.𝟕𝟐 𝟒
The probability of choosing a white strip given that the first strip chosen
𝟑
was blue is or 75%.
𝟒
Module 3
Discrete
Probability
Distribution
Random Variables
A rule that assigns a numerical value or characteristic to an outcome
of an outcome of an experiment.
Discrete random variable
Takes on countable number of distinct values, which are whole
numbers such as 0, 1, 2, 3, 4, 5, ….
Continuous random variable
Assumes an infinite number of possible values including the
decimals between two counting numbers.
Example:
Suppose an individual plays a gambling game where it is possible to lose
$1.00, break even, win $3.00, or win $10.00 each time she plays. The
probability distribution for each outcome is provided by the following
table:
Outcome -$1.00 $0.00 $3.00 $5.00
Probability 0.30 0.40 0.20 0.10
Solution:
The mean outcome for this game is calculated as follows:
= (-1*.3) + (0*.4) + (3*.2) + (10*0.1) = -0.3 + 0.6 + 0.5 = 0.8.
In the long run, then, the player can expect to win about 80 cents playing
this game -- the odds are in her favor.
σ2 = Σ { [ x i - ]2 * P(xi) }
σ2 = 9(0.25)=1(0.25)+1(0.25)+9(0.25)
σ2=5
σ2=√5 = 2.24