SlideShare a Scribd company logo
3
Most read
8
Most read
9
Most read
Birthday Paradox
Dr. Sajid Iqbal
2
Today, we hope to learn ...
Birthday paradox
3
What is Birthday paradox?
 The Birthday Paradox, aka the Birthday
Problem, states that in a random group of 23
people, there is about a 50 % chance that two
people have the same birthday.
 The birthday paradox is strange, counter-
intuitive, and completely true.
4
What is Birthday paradox?(contd.)
 It’s only a paradox because our brains can’t
handle the compounding power of exponents.
 We expect probabilities to be linear and only
consider the scenarios we’re involved in (both
faulty assumptions).
5
 It is used in several different areas
e.g., cryptography and hashing algorithms.
 The reason this is so surprising is because we
are used to comparing our particular birthdays
with others.
 For instance, if you meet someone randomly
and ask him what his birthday is, the chance of
the two of you having the same birthday is only
1/365 (0.27%).
What is Birthday paradox?(contd.)
6
Birthday paradox (contd.)
 A person's birthday is one out of 365
possibilities (excluding Feb 29 birthdays).
 In other words, the probability of any two
individuals having the same birthday is
extremely low.
 Even if you ask 20 people, the probability is still
low -- less than 5%.
7
Birthday paradox (contd.)
 BUT, in a group of 23 people, there are (22 +
21 + 20 + 19 + … +1) comparisons, or
253combinations, that can be made.
 So, we're not looking at just one comparison,
but at 253 comparisons.
8
Birthday paradox (contd.)
 Every one of the 253 combinations has the same
odds, 99.7 %, of not being a match. If you multiply
99.7 percent by 99.7 253 times, or calculate
(364/365)253, you'll find there's a 49.952 %
chance that all 253 comparisons contain no
matches.
 Consequently, the odds that there is a birthday
match in those 253 comparisons is 1 – 49.952
percent = 50.048 %, or just over half!
 The more trials you run, the closer the actual
probability should approach 50 percent.
9
Birthday paradox (contd.)
In a room of just 23 people, there is a 50-50
chance of two people having the same birthday.
In a room of 75 there’s a 99.9% likelihood of
two people matching.

More Related Content

PPTX
Metaverse Education Presentation
PDF
Metaverse .pdf
PDF
DNS (Domain Name System)
PDF
Is Metaverse The Next Big Thing?
PPT
Deadlock Detection in Distributed Systems
PPTX
GitHub Presentation
PPTX
Cyber security
PDF
AN OVERVIEW OF THE METAVERSE
Metaverse Education Presentation
Metaverse .pdf
DNS (Domain Name System)
Is Metaverse The Next Big Thing?
Deadlock Detection in Distributed Systems
GitHub Presentation
Cyber security
AN OVERVIEW OF THE METAVERSE

What's hot (20)

PDF
Bayes Belief Networks
PDF
Topic Modeling
PDF
CounterFactual Explanations.pdf
PPTX
Genetic algorithms
PPTX
AI-09 Logic in AI
PPT
2.4 rule based classification
PPTX
Decision tree in artificial intelligence
PDF
Dynamic Programming
PPTX
Probabilistic logic
PPTX
1609 Fraud Data Science
PPTX
knowledge representation using rules
PPTX
weak slot and filler structure
PPT
Bayesian networks
PPTX
Randomized Algorithm- Advanced Algorithm
PPTX
Data decomposition techniques
PDF
Feature Engineering in Machine Learning
PDF
Bayesian Networks - A Brief Introduction
PPTX
Knowledge representation In Artificial Intelligence
PPT
Problems, Problem spaces and Search
Bayes Belief Networks
Topic Modeling
CounterFactual Explanations.pdf
Genetic algorithms
AI-09 Logic in AI
2.4 rule based classification
Decision tree in artificial intelligence
Dynamic Programming
Probabilistic logic
1609 Fraud Data Science
knowledge representation using rules
weak slot and filler structure
Bayesian networks
Randomized Algorithm- Advanced Algorithm
Data decomposition techniques
Feature Engineering in Machine Learning
Bayesian Networks - A Brief Introduction
Knowledge representation In Artificial Intelligence
Problems, Problem spaces and Search
Ad

More from Sajid Iqbal (17)

PPTX
Classroom activities and games
PPT
Scholarship Opportunities in China 2022
PDF
Stress Management for Boomers, Gen Xers, and Millennials
PDF
Career Management for 21st Century Workforce
PDF
Tools to improve your professional writing
PDF
Coastline paradox
PDF
How to write scientific papers correctly, clearly, and concisely - Part III W...
PDF
How to write scientific papers correctly, clearly, and concisely - Part II Wr...
PPTX
Status of Open Education in Pakistan
PPTX
Open Source Software and Open Data by Dr. Waqar Mahmood
PDF
Open Access in Engineering and Technology Recent Status & Way Forward for UET
PPTX
Introduction to Open Education
PDF
MOOCs and Engineering Education
PDF
Status of MOOCs in Pakistan: Optimism and Concerns
PDF
Are MOOCs advancing as predicted by IEEE CS 2022 Report?
PDF
Towards MOOCs and Their Role in Engineering Education
PDF
Introducing Undergraduate Electrical Engineering Students to Chaotic Dynamics...
Classroom activities and games
Scholarship Opportunities in China 2022
Stress Management for Boomers, Gen Xers, and Millennials
Career Management for 21st Century Workforce
Tools to improve your professional writing
Coastline paradox
How to write scientific papers correctly, clearly, and concisely - Part III W...
How to write scientific papers correctly, clearly, and concisely - Part II Wr...
Status of Open Education in Pakistan
Open Source Software and Open Data by Dr. Waqar Mahmood
Open Access in Engineering and Technology Recent Status & Way Forward for UET
Introduction to Open Education
MOOCs and Engineering Education
Status of MOOCs in Pakistan: Optimism and Concerns
Are MOOCs advancing as predicted by IEEE CS 2022 Report?
Towards MOOCs and Their Role in Engineering Education
Introducing Undergraduate Electrical Engineering Students to Chaotic Dynamics...
Ad

Recently uploaded (20)

PDF
VCE English Exam - Section C Student Revision Booklet
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
PPTX
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
PPTX
Institutional Correction lecture only . . .
PDF
RMMM.pdf make it easy to upload and study
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PDF
Basic Mud Logging Guide for educational purpose
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
PDF
Complications of Minimal Access Surgery at WLH
PDF
01-Introduction-to-Information-Management.pdf
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PPTX
Week 4 Term 3 Study Techniques revisited.pptx
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
Microbial diseases, their pathogenesis and prophylaxis
VCE English Exam - Section C Student Revision Booklet
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
Institutional Correction lecture only . . .
RMMM.pdf make it easy to upload and study
Supply Chain Operations Speaking Notes -ICLT Program
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
Basic Mud Logging Guide for educational purpose
Anesthesia in Laparoscopic Surgery in India
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
Complications of Minimal Access Surgery at WLH
01-Introduction-to-Information-Management.pdf
102 student loan defaulters named and shamed – Is someone you know on the list?
Abdominal Access Techniques with Prof. Dr. R K Mishra
TR - Agricultural Crops Production NC III.pdf
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Week 4 Term 3 Study Techniques revisited.pptx
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Microbial diseases, their pathogenesis and prophylaxis

Birthday paradox

  • 2. 2 Today, we hope to learn ... Birthday paradox
  • 3. 3 What is Birthday paradox?  The Birthday Paradox, aka the Birthday Problem, states that in a random group of 23 people, there is about a 50 % chance that two people have the same birthday.  The birthday paradox is strange, counter- intuitive, and completely true.
  • 4. 4 What is Birthday paradox?(contd.)  It’s only a paradox because our brains can’t handle the compounding power of exponents.  We expect probabilities to be linear and only consider the scenarios we’re involved in (both faulty assumptions).
  • 5. 5  It is used in several different areas e.g., cryptography and hashing algorithms.  The reason this is so surprising is because we are used to comparing our particular birthdays with others.  For instance, if you meet someone randomly and ask him what his birthday is, the chance of the two of you having the same birthday is only 1/365 (0.27%). What is Birthday paradox?(contd.)
  • 6. 6 Birthday paradox (contd.)  A person's birthday is one out of 365 possibilities (excluding Feb 29 birthdays).  In other words, the probability of any two individuals having the same birthday is extremely low.  Even if you ask 20 people, the probability is still low -- less than 5%.
  • 7. 7 Birthday paradox (contd.)  BUT, in a group of 23 people, there are (22 + 21 + 20 + 19 + … +1) comparisons, or 253combinations, that can be made.  So, we're not looking at just one comparison, but at 253 comparisons.
  • 8. 8 Birthday paradox (contd.)  Every one of the 253 combinations has the same odds, 99.7 %, of not being a match. If you multiply 99.7 percent by 99.7 253 times, or calculate (364/365)253, you'll find there's a 49.952 % chance that all 253 comparisons contain no matches.  Consequently, the odds that there is a birthday match in those 253 comparisons is 1 – 49.952 percent = 50.048 %, or just over half!  The more trials you run, the closer the actual probability should approach 50 percent.
  • 9. 9 Birthday paradox (contd.) In a room of just 23 people, there is a 50-50 chance of two people having the same birthday. In a room of 75 there’s a 99.9% likelihood of two people matching.