Week 5
Week 5
2009-2010 Spring
Chapter 3
Probability
Today
• Probability of an event
• Additive Rules
• Conditional Probability
• Multiplicative and Total Probability Rules
• Independent Events
• Bayes’ Rule
2
Probability of an event
Probability:
• Used to quantify likelihood or chance
• Used to represent risk or uncertainty in engineering
applications
• Can be interpreted as our degree of belief or relative
frequency
nnAA number
number of
of simple
simple events
events in
in A
A
PP((AA))
NN total
totalnumber
numberof of simple
simpleevents
events
4
Probability of an event
Axioms of Probability
6
Additive Rules
Mutually Exclusive Events
7
Example 4: A student is selected from the
classroom and his/her hair color and gender are
recorded.
Events:
– A: student has brown hair
– B: student is female
– C: student is male
P(AB)
P(AB) ==
When two events A and B are mutually exclusive,
P(AB) = 0 and P(AB) = P(A) + P(B).
P(A
P(A )) == 11 –– P(A)
CC
P(A)
11
Additive Rules
Three Events
12
Additive Rules
Venn diagram of
four mutually
exclusive events
13
Conditional Probability
• The probability of an event B occurring when it is known
that some event A has occured is called conditional
probability and is denoted by P(B|A) is usually read “ the
probability that B occurs given that A oocurs” or simply
the “ the probability of B, given A.”
14
Multiplicative and Total Probability Rules
Multiplication Rule
15
Multiplicative and Total Probability Rules
17
Multiplicative and Total Probability Rules
18
• Example 7: One bag contains 4 white balls and 3
black balls, and a second bag contains 3 white balls and
5 black balls. One ball is drawn the first bag and placed
unseen in second bag. What is the probability that a ball
now drawn from the second bag is black?
19
Independence
Definition (two events)
20
Independence
• Example 8: A town has 2 fire engines operating
independently. The probability that a specific engine is
available when needed is 0,96.
21
Bayes’ Theorem
Definition
Bayes’ Theorem
22
Example 9: In a certain assembly plant, three
machines, B1, B2, and B3, make 30%, 45%, and
25% respectively, of the products. It is known from
past experience that 2%, 3%, and 2% of the
products made by each machine, respectively, are
defective. Now, suppose that a finished product is
randomly selected. What is the probability that it is
defective? If a product were chosen randomly and
found to be defective, what is the probability that it
was made by machine B3?
23