AMA2104 Probability and Engineering Statistics 1 Probability
AMA2104 Probability and Engineering Statistics 1 Probability
AMA2104 Probability and Engineering Statistics 1 Probability
1 Probability
Dr Bob He
Review: the Set Notations
Concept
Set: a collection of objects satisfying:
1. Rigorous membership: whether an object is in one set is well defined.
2. Uniqueness: all the objects in a set are distinct.
3. No order: there is not any order among the objects in a set.
Examples:
a A= {All the students in the class AMA2104 in Fall 2019}
a B = { v'2, 34, 1r}
5x -3 = 0}={3, - ½}
a C ={x : 2x2 -
a D={x:-l.5<x::;3}=(-1.5,3]
Counterexamples: The following examples are NOT sets
a {All the nice people} (ambiguous membership: Am I nice? Always
so?)
a {1,3,3, 4} (The number "3" appears twice.)
1
Set Relations
a x ES: x is an element of the set S.
a x (j. S: x is not an element of the set S.
a A is a subset of B if and only if every element of A is also an
element of B. This subset relation is denoted by AC B, or B::) A.
a A= B if and only if Ac B and B c A
2
Set Intersection
Set Intersection B
An B: intersection of A and B.
That is
AnB = {x: x EA and x EB}.
Example AnB
{v2,1r} n {1r,5} = {1r},
Figure: Venn diagram for the set
[-1,3] n (o,5] = (o,3].
intersection.
3
Set Union
Recall that N = {1, 2, ...} is the set of all the positive integers.
Set Union
AUB: the union of two sets A
and B. That is, A B
A U B = { x:xE A or xEB}.
Example AUB
Let A be the set of odd positive
Figure: Venn diagram for the set
integers and B be the set of union.
even positive integers, then
AUB=N.
Experiment Outcomes
Toss a coin Head, Tail
Roll a die 1,2,3,4,5,6
Play a football game win, lose, tie
Definition (Experiment)
An experiment is defined to be any process which randomly generates
well defined outcomes.
5
Sample space
Definition
The sample space is defined as the set of all possible experimental
outcomes. Any one particular experimental outcome is referred to as a
sample and is an element of the sample space.
Definition
An event is a set of zero, one, or more of the possible outcomes of an
experiment.
Definition
Probability is a numerical measure of the likelihood that a specific event
will occur.
7
Addition Rule
AUB
s s AnB
s s
8
Definition (Mutually Exclusive)
Two events are said to be mutually exclusive if when one of them
occurs, the other will not occur for sure. Therefore,
P(AnB) = 0
s
00
Venn diagram: the events A and B are mutually exclusive.
9
Definition
The complement of an event A, denoted by A, or Ac , or A', is defined
to be the event consisting of all sample points that are not in A.
s
Venn diagram: the event A and its complement A. We see that they are
mutually exclusive, and collectively exhaustive.
11
Conditional Probability and Independence
P(A n B) = P(A)P(BIA).
Definition (Independence)
Two events A and B are independent if P(A n B) = P(A)P(B).
12
The difference/ relation between independent" and
II
11
mutually exclusive"
13
Law of Total Probability
Theorem (Law of total probability)
Assume that events B 1 , B2 , . . . , B n form a partition of the sample space
{i.e., they are collectively exhaustive, and any pair of them are mutually
exclusive), and P(Bi) >0 for i = 1, ... , n. Then for any event A,
P(Bk n A) P(Bk)P(AIBk)
P(BklA) = = P(B1)P(AIB1) + · · · + P(Bn)P(AIBn)
P(A)
P(C)P(BIC)
P( GIB) =
P(C)P(BIC) + P(C)P(BIC)
0.001 X 0.99
= 0.090 l 6393·
0.999 X 0.01 + 0.001 X 0.99 15
Example: the Monty Hall problem
Suppose you're on a game show, and you're given the choice of three
doors: Behind one door is a car; behind the others, goats. You pick a
door, say No. 1, and the host, who knows what's behind the doors, opens
another door, say No. 3, which has a goat. He then says to you, "Do you
want to pick door No. 2?" Is it to your advantage to switch your choice?
1 2
·7 ·7 •
16
Suppose that Tom will switch, John will not. Suppose that they attend
the game independently. Denote:
a T1: The car is behind Tom's first selected door;
a Tw : Tom wins the car;
a J1 : The car is behind John's first selected door;
a Jw: John wins the car;
17