0% found this document useful (0 votes)
2 views

Chapter 2 Probability

The document discusses the mathematics of probability, including concepts such as sample space, events, and the axioms of probability. It covers various rules and theorems related to probability, including conditional probability, independent events, and Bayes' theorem, with examples illustrating their applications. Additionally, it presents problems related to probability calculations in real-world scenarios.

Uploaded by

Tanjilur rahman
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Chapter 2 Probability

The document discusses the mathematics of probability, including concepts such as sample space, events, and the axioms of probability. It covers various rules and theorems related to probability, including conditional probability, independent events, and Bayes' theorem, with examples illustrating their applications. Additionally, it presents problems related to probability calculations in real-world scenarios.

Uploaded by

Tanjilur rahman
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 25

PROBABILITY

B: Walpole

Chapter 2
Mathematics of Probability

Md. Gulam Kibria


Lecturer, Dept. of IPE,
BUET
Sample Space and Sample Point

Assume that a car can only be in good (G) operating condition


or bad (B) operating condition. If there are three cars (n = 3),
the number of possible states are:
✔ GGG
* Example taken
✔ GGB from Mahadevan
✔ GBG (Ch. 2)
✔ BGG
✔ GBB n
✔ BGB Number of state =


BBG
BBB
2
All eight outcomes collectively constitute the sample space for
the problem, and each of the eight individual outcomes constitutes
a sample point.
Sample Space and Sample Point

Sample spaces with a large or infinite number of sample points


are best described by a statement or rule method. For example,
if the possible outcomes of an experiment are the set of cities in
the world with a population over 1 million, our sample space is
written as:

S = {x | x is a city with a population over 1 million}

If S is the set of all points (x, y) on the boundary or the interior


of a circle of radius 2 with center at the origin, we write the rule
as:
S= {(x, y) x + y 2 2

4 }
Events and Complement of Events
For any given experiment, we may be interested in the
occurrence of certain events rather than in the occurrence of a
specific element in the sample space.
For instance, we may be interested in the event A that the
outcome when a die is tossed is divisible by 3. This will occur
if the outcome is an element of the subset A = {3, 6} of the
sample space S = {1, 2, 3, 4, 5, 6}.
An event is a subset of a sample space.
To each event we assign a collection of sample points, which
constitute a subset of the sample space. That subset represents
all of the elements for which the event is true.
The complement of an event A with respect to S is the subset
of all elements of S that are not in A. We denote the
complement of A by the symbol A' or . A' = {1, 2, 4, 5} in the
Mutually Exclusive and Collectively Exhaustive Events

When the occurrence of one event precludes the occurrence of


the other, they are called mutually exclusive events.

If the union of events, whether mutually exclusive or not,


constitutes the entire sample space, the events are called
collectively exhaustive events. no other outcomes are possible.
If the events are collectively exhaustive, and there is no
overlapping between them, they are called mutually exclusive
and collectively exhaustive events.
Counting Sample Points
Sam is going to assemble a computer by himself. He has the
choice of chips from two brands, a hard drive from four,
memory from three, and an accessory bundle from five local
stores. How many different ways can Sam order the parts?

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 )

Keep in mind that P(A) + P(Aʹ) = 1


or P(failure) + P(survival) = 1
, risk + reliability = 1
or
,
Probability of Events
If an experiment can result in any one of N different equally
likely outcomes, and if exactly n of these outcomes
correspond to event A, then the probability of event A is
P(A) = n/N
A statistics class for engineers consists of 10 mechanical, 10
electrical, and 8 civil engineering students. If a person is
randomly selected by the instructor to answer a question, find
the probability that the student chosen is (a) a mechanical
engineering major and (b) a civil engineering or an electrical
engineering major.
In a poker hand consisting of 5 cards, find the probability of
holding 2 aces and 3 jacks.
B: Mahadevan
Probability of Events

(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

Consider an experiment in which 2 cards are drawn in


succession from an ordinary deck, with replacement. The
events are defined as:
A: the first card is an ace,
B: the second card is a spade.
Determine P(B|A).
Example: Three cards are drawn in succession, without
replacement, from an ordinary deck of playing cards. Find the
probability that the event (A1∩A2∩A3) occurs, where A1 is the
event that the first card is a red ace, A2 is the event that the
second card is a 10 or a jack, and A3 is the event that the third
card is greater than 3 but less than 7.
B: Mahadevan
Theorem of Total
Suppose thatProbability
structural damage (D) to a building can only be
caused by three events: fire (F), high wind (W), or earthquake (E).
Obviously, D will depend on whether F, W, or E has occurred,
and the likelihood of occurrence of F, W, and E. Assume further
that F, W, and E are collectively exhaustive and mutually
exclusive events. The probability of damage to the building can
be calculated as:

P(D) = P(D | F )P(F ) + P(D | W )P(W ) + P(D | E)P(E)


The concept represented by this equation is called the theorem of
total probability.
B: Mahadevan
Theorem of Total
The theoremProbability
of total probability can be formally presented by the
Venn diagram. The occurrence of event A depends on the
occurrence of other events E1, E2, E3,……, En. They are mutually
exclusive (no overlapping), collectively exhaustive (their union
constitutes the entire sample space). P(Ei) > 0, i = 1, 2, 3,….., n.
B: Mahadevan
Theorem of Total
Probability
A = AS = A(E1 ∪ E2 ∪ E3 ,....,∪En ) = AE1 ∪ AE2 ∪ AE3 ,....,∪ AEn
The events AEi are also mutually exclusive. From axiom 3,
P( A) = P( AE1 ∪ AE2 ∪ AE3 ,....,∪AEn )
= P( AE1 ) + P( AE2 ) +.........+ P( AEn )
= P( A | E1 )P(E1 ) + P( A | E2 )P(E2 ) +........+ P( A | En
)P(E
n
n
)


= 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(F ∩ D) P(D | F )P(F )


P(F | D) = =
P(D) P(D)
B: Mahadevan
Bayes’
Theorem

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?

You might also like