Chapter 2 Probability
Chapter 2 Probability
B: Walpole
Chapter 2
Mathematics of Probability
Solution: 2 × 4 × 3 × 5 = 120
If an operation can be performed in ways, and if for each of
n1
these a second operation can be performed in n2 ways, and for
each of the first two a third operation can be performed in
n3
ways, and so forth,
n × then
n × the
n sequence of ways.
×........× k operations can be
performed in 1 2 3
nk
De Morgan’s
de Morgan's ruleRule
stales that the complement of the union is
equal to the intersection of the respective complements, or the
complement of the intersection is equal to the union of the
respective complements.
i) E1 ∪ E2 ∪ E3 ,......,∪En = E1 E2 E3 ,......., En
ii) E1E2 E3 ,......, En = E1 ∪ E2 ∪ E3 ,.......,∪En
B: Mahadevan
Axioms of Probability
1. The probability of an event, denoted hereafter as P(E), will
always be nonnegative, that is, P(E) ≥ 0.
2. The probability of a certain event or the sample space S is 1.0;
that is, P(S) = 1.0, or 0 ≤ P(E) ≤ 1.0.
3. For two mutually exclusive events A and B, the probability of
their union is equal to the summation of their individual
probability. Mathematically, this can be expressed as:
P (A ∪ B ) = P (A )+ P (B )
(Relative)
B: Mahadevan
Probability of Events
Alternatively,
Additive Rule
Additive Rules
Example Problem
Suppose the manufacturer’s specifications for the length of a
certain type of computer cable are 2000 ± 10 millimeters. In
this industry, it is known that small cable is just as likely to be
defective (not meeting specifications) as large cable. That is,
the probability of randomly producing a cable with length
exceeding 2010 millimeters is equal to the probability of
producing a cable with length smaller than 1990 millimeters.
The probability that the production procedure meets
specifications is known to be 0.99.
a) What is the probability that a cable selected randomly
is too large?
b) What is the probability that a randomly selected cable
is larger than 1990 millimeters?
Conditional Probability
The probability of an event B occurring when it is known that
some event A has occurred is called a conditional probability
and is denoted by P(B|A).
Consider the event B of getting a perfect square when a die is
tossed. The die is constructed so that the even numbers are
twice as likely to occur as the odd numbers. The probability
of B occurring is 1/3.
Now suppose that it is known that the toss of the die resulted
in a number greater than 3. We are now dealing with a
reduced sample space A = {4, 5, 6}. What is the probability
that B occurs, relative to the space A?
P(B|A) = 2/5, or,
Conditional Probability
Find the probability that it arrives on time, given that it did not depart on
time.
Independent Events
and
∑
= P( A | Ei )P(Ei )
i=1
B: Mahadevan
Bayes’
Theorem
In the context of the theorem of total probability, the probability
of occurrence of an event A is calculated, which depends on other
mutually exclusive and collectively exhaustive events Ei.
Sometimes it is also of interest to know the probability of an
event Ei given that A has occurred, an inverse problem.
Using the same example considered for the theorem of total
probability, and knowing that the building has been damaged, we
can use Bayes' theorem to calculate the probability that the
damage was caused by fire, wind, or earthquake, that is, P(F|D),
P(W|D), or P(E|D).
P(E i ∩ P( A | Ei )P(Ei
P(E i | A) = n
A) P( )
=
A) ∑ P( A | Ei )P(Ei
i=1 )
Review Problem - 1 B: Mahadevan
A community is concerned about its power supply for the coming winter. There
are three major sources of power supply, namely electricity, gas, and oil. Let E,
G, and O denote the events of shortages of each of these power sources,
respectively. Their probabilities are estimated to be 0.15, 0.1, and 0.2,
respectively. Furthermore, assume that if there is a shortage in the oil supply,
the probability of an electrical power shortage will be doubled, that is, twice the
probability of E. The shortage of gas may be assumed to be independent of
shortages of oil and electricity.
(a) What is the probability that there will be a shortage of all three major
sources of power supply?
)What is the probability that a shortage will occur in at least one of the
following sources: gas, electricity?
)What is the probability that exactly two of the three sources of power supply
will be short?
)If there is a shortage of electricity, what is the probability that gas and oil also
will be scarce?
Review Problem - 2 Term Final (January
2016)
King’s Landing, the royal capital of Westeros, is expected to go through an
economic recession. All the gold mines it owns are currently empty. Money for
King’s Landing is supplied from two sources during an economic recession
period. The sources are the Iron Bank of Braavos (Source A) and the House
Tyrell of Highgarden (Source B). Data reveals that during the recession period,
the probability that the supply from Source A will be below normal is 0.30; the
corresponding probability for Source B is 0.15. However, if Source A is below
normal, the probability that Source B will also be below normal during the
same recession period is increased to 0.30.
The probability of money shortage in King’s Landing will obviously depend on
the supplies from the two sources. In particular, if only Source A is below
normal supply, the probability of money shortage is 0.20, whereas if only
Source B is below normal the corresponding probability of shortage is 0.25.
Obviously, if none of the sources are below normal, there would be no chance
of shortage, whereas if both sources are below normal during the recession
period, the probability of money shortage in the capital would be 0.80.
What is the probability of money shortage in King’s Landing during the
expected recession period?