Professional Documents
Culture Documents
Engineers
(Introduction, Experiments, Sample Space ,Events, Outcomes
Conditional Probability)
Lecture 01
Dr. Afaq Khattak
Assistant Professor, Department of Civil
Engineering, International Islamic University, Islamabad.
1
Introduction to Probability
• What is probability?
© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 3
or duplicated, or posted to a publicly accessible website, in whole or in part.
PROBABILITY
© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide 4
or duplicated, or posted to a publicly accessible website, in whole or in part.
Experiments, Outcomes, Events and Sample
Spaces
Experiment:
An experiment is any activity from which results are obtained.
A random experiment is one in which the outcomes, or
results, cannot be predicted with certainty.
Examples:
1. Flip a coin
2. Flip a coin 3 times
3. Roll a die
Basic Outcomes and Sample Spaces
Basic Outcome (o): A possible outcome of the experiment
Example:
A company has offices in 8
cities, Islamabad, Doha, Shanghai, Manila, Bradford, London,
Karachi and Kolkata.
A new employee will be randomly assigned to work in any of these
offices.
Example :
A random sample of size two is to be selected from the list of 8
cities, Islamabad, Doha, Shanghai, Manila, Bradford, London,
Karachi and Kolkata.
Events
Events:
A subset of sample space:
It is a collection of required outcomes from the sample space.
Example:
1. Let B be the event that the city selected is in the Pakistan
1. Let A be the event that the city selected are not the Capital.
• Sample space
Example
Set of all possible outcomes or results of a random
experiment. Each outcome in the sample space is called an
element of that set.
• Event
An event is the subset of this sample space.
S
• Additive Law of Probability:
Law of Complements
“If A is an event, then the complement of A, denoted by A ,
represents the event composed of all basic outcomes in S that
do not belong to A.”
Law of Complements:
P( A) 1 P( A)
Example: If the probability of getting a “working” computer is ).7,
What is the probability of getting a defective computer?
Unions and Intersections of Two Events
• Unions of Two Events
A B
S
Additive Law of Probability
Let A and B be two events in a sample space S. The probability
of the union of A and B is
P( A B) P( A) P( B) P( A B).
A B
S
Using Additive Law of Probability
Example: At State U, all first-year students must take
chemistry and math. Suppose 15% fail chemistry, 12% fail
math, and 5% fail both. Suppose a first-year student is selected
at random. What is the probability that student selected failed
at least one of the courses?
A B
S
Mutually Exclusive Events
Mutually Exclusive Events: Events that have no basic
outcomes in common, or equivalently, their intersection is the
empty set.
A B
S
Multiplication Rule and
Independent Events
Multiplication Rule for Independent Events: Let A and B
be two independent events, then
P( A B) P( A) P( B).
Examples:
• Flip a coin twice. What is the probability of observing two heads?
• Flip a coin twice. What is the probability of getting a head and then a tail? A
tail and then a head? One head?
P( A B) P( A and B)
P(B/A) =
P( A) P( A)
Conditional Probability
Example:
A number from the sample space S = {2, 3, 4, 5, 6, 7, 8, 9} is randomly
selected. Given the defined events A and B,
A: selected number is odd, and
B: selected number is a multiple of 3
find the following probabilities.
a) P(B) b) P(A and B) c) P(B/A)
a) B = {3, 6, 9} P(B) = 3/8
b) P(A and B) = P({3, 5, 7, 9} {3, 6, 9})
= P({3, 9}) = 2/8 = 1/4
c) Probability of B given A has occurred:
P(A and B) 1/4
P(B/A) = = = 1/2
P(A) 4/8
• If the outcomes of an experiment are
equally likely, then
number of outcomes in E F
P( E | F )
number of outcomes in F
Conditional Probabilities
529
P( Male | B) 0.4620
1145
770
P( Male) 0.4735
1626
Independent Events
P( A B) P( A | B) P( B)
if and only if
A and B are independent events.
Example
• A coin is tossed and a single 6-sided die is
rolled. Find the probability of getting a head on
the coin and a 3 on the die.
• Probabilities:
P(head) = 1/2
P(3) = 1/6
P(head and 3) = 1/2 * 1/6 = 1/12
Independence Formula –3 events
• Example:
If E, F, and G are independent, then
P( E F G) P( E ) * P( F ) * P(G)