Paradoja Del Cumpleaños Calculo De N Personas
The Birthday Paradox demonstrates how quickly probabilities increase when considering shared birthdays in a group. This counterintuitive phenomenon shows that in a group of just 23 people, there's a 50% chance that two people share the same birthday.
What is the Birthday Paradox?
The Birthday Paradox, also known as the Birthday Problem, is a probability puzzle that shows how likely it is for at least two people in a group to share the same birthday. At first glance, you might think you'd need a large group to have a significant chance of shared birthdays, but the math shows this happens much sooner than expected.
Key Insight: The paradox arises because we're looking for any pair of people sharing a birthday, not just a specific pair. This changes the calculation from a simple probability to a combinatorial problem.
Historical Context
The problem was first posed in 1939 by Richard von Mises, a mathematician, and later popularized by Martin Gardner in his "Mathematical Games" column. The counterintuitive result became known as the "Birthday Paradox" despite not being a true paradox in the logical sense.
Common Misconceptions
- The paradox doesn't mean birthdays are more common than they actually are
- It's not about predicting specific birthdays, but about the probability of at least one shared birthday
- The "paradox" comes from the surprising result, not from any actual contradiction
How to Calculate Birthday Probabilities
The calculation involves determining the probability that in a group of n people, at least two share the same birthday. Here's how the formula works:
Probability Formula:
P(n) = 1 - (365! / (365n × (365 - n)!))
Where:
- P(n) = Probability of at least one shared birthday
- 365 = Number of days in a year (ignoring leap years)
- n = Number of people in the group
- ! = Factorial (e.g., 5! = 5 × 4 × 3 × 2 × 1)
Assumptions
- All birthdays are equally likely (365 days)
- Birthdays are independent of each other
- Leap years are ignored (February 29 is not considered)
- We're only considering birthdays, not birth dates
Worked Example
Let's calculate the probability for 23 people:
- Calculate the number of possible unique birthday combinations: 365 × 364 × 363 × ... × (365 - 22)
- Calculate the total possible birthday combinations: 36523
- Divide the unique combinations by total combinations to get the probability of all unique birthdays
- Subtract this from 1 to get the probability of at least one shared birthday
The result is approximately 50.7%, meaning in a group of 23 people, there's about a 50% chance that at least two share a birthday.
Comparison Table
| Group Size (n) | Probability of Shared Birthday |
|---|---|
| 5 | 2.7% |
| 10 | 11.7% |
| 20 | 41.1% |
| 23 | 50.7% |
| 30 | 70.6% |
| 50 | 97.0% |
Practical Applications
The Birthday Paradox has applications beyond just mathematical curiosity:
Security Systems
Birthday attacks are a real threat to cryptographic systems. The paradox demonstrates why password systems should have sufficient complexity to prevent brute-force attacks.
Data Analysis
Understanding the paradox helps in designing efficient algorithms for detecting duplicates in large datasets.
Quality Control
Manufacturing processes can use the concept to determine sample sizes needed to detect defects with a certain probability.
Note: While the paradox is mathematically sound, real-world applications may need to account for additional factors like leap years, multiple birthdays, and varying population distributions.