Professional Documents
Culture Documents
CS203B
Lecture 2:
1
ELEMENTARY PROBABILITY THEORY
2
A Random Experiment
•
1.
Experiment results in one of many possible outcomes.
2. Outcome will always be from a specified set.
3. Likelihood of each possible outcome is non-negative.
4. We may be interested in a collection of outcomes.
5
Event in a Probability Space
•
=
Where to use this
formula ?
= complement of .
𝑨 𝒄 )= 𝟏− P( 𝑨 )
P( When computing 6
Is difficult, try computing .
An Important Advice
7
UNION OF EVENTS
8
Union of two Events
•
Given two events and defined over a probability space (,P),
what is P(U) ?
P(U) P() + P() P(∩)
𝑨
𝑩
Ω
Consider any ω ϵ U
Contribution in the R.H.S.
ω belongs to exactly one of and P(ω)
ω belongs to both and P(ω)
9
Union of three Events
•
Given three events , , , defined over a probability space (,P),
what is P(U U ) ?
Consider any ω ϵ U U
ℓ
𝑖<
𝑗<𝑘
(3 ) P(ω)
…
)
0
-------------------------------------------------------------------- 1
Consider any ω ϵ .
Suppose ω belongs to exactly events , ,…,
We are done. 11
UNION OF EVENTS
Application
12
Letters and envelopes
𝟏
• =
𝟐
𝟏
=
𝟑
…
)
--------------------------------------------------------------------
=
P) 𝟏
𝟏
−
… 𝟐!
+𝟏 for large
𝟑!
…
…
P()
𝒌 +𝟏 𝟏
( −𝟏 )
𝒌!
14
…
Homework
•
15
RECRUITMENT PROBLEM
16
•
• There
•
are applicants aspirant for the Google USA.
They are arranged in a uniformly random permutation.
AIM of Google: To hire the best applicant
Constraints:
• Only by taking an interview, the applicant can be evaluated.
• Each applicant must be told the result (job offered/rejected)
immediately after the interview.
Assumption:
There is a total order on the suitability of the applicants for the job.