Probability: Mathematics For Computer Science - III Mathematics For Computer Science - III
Probability: Mathematics For Computer Science - III Mathematics For Computer Science - III
Probability: Mathematics For Computer Science - III Mathematics For Computer Science - III
Mathematics
CS203
Lecture 1
1
Aim of the course
• To equip the students with tools of probability theory from
perspective of computer science.
2
A PARADOX
3
Chord and an equilateral triangle
C
A B
4
=
Answer 1
C
A B
A B
Fact 2: Length of a chord is uniquely defined if we know the center of the chord.
A B
Fact 3: Length of a chord is uniquely defined if we know its distance from the center of circle.
3-dices
8
3-dices
10
Letters and envelopes
𝟏
• =
𝟐
𝟏
=
𝟑
5-Coins
12
5-Coins
Ponder over these
• 2 normal coins
questions and answers
• 2 coins with HEAD on both sides with fresh mind .
• 1 coins with TAIL on both sides
A coin is picked randomly uniformly
The coin is tossed.
𝟑
Question: What is probability that outcome of toss is HEAD ?
𝟓
The outcome is
Area of shadow
14
A convex body
Definition:
A 3-D body is said to be convex if for each pair of points on the body,
all the points lying on the line joining them also lie inside the body.
15
A convex body
Definition:
A 3-D body is said to be convex if for each pair of points on the body,
all the points lying on the line joining them also lie inside the body.
16
A convex body
•
Definition:
A 3-D body is said to be convex if for each pair of points on the body,
all the points lying on the line joining them also lies inside the body.
18
•
• 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.