Skip to main content

THE BIRTHDAY PARADOX

    If there are 60  people in a gathering, will any two persons have the same birth day?  We are doubtful. we think if there are more than 365 persons, there may be a possibility of two persons sharing same birthday.  But the statistics' answer is stunning.  Here we go.

     In a coin toss, chance of getting head or tail is 50 % or 1/2.  Chance of head is 1/2 and the tail is 1/2.  Hence the total probability is 1.  

     In a dice throw, chance of getting '1' is 1/6 and the chance of 'not' getting '1' is 5/6 = 1-1/6

     In a gathering, the chance for a person to have any date in a year as a birthday is 365/365=1=100%.  For another person, the chance of not having a birthday same as first person is 364/365.  For a third person, the chance of not having a birthday same as previous two persons is 363/365.  Hence the probability for not having a match (two persons having same birth day ) among three persons is (365/365) * (364/365)*(363/365)  (based on property of probability).

     In another words,  the probability of having a match among three persons is

               1 -  (365/365) * (364/365)*(363/365)    

So the chance of finding a match of birthday among N persons is 

                      = 1 -  (365/365) * (364/365)*(363/365)* ........*(365-N+1/365)

                      = 1-[365*364*363*...........*(365-N+1)/365^N]  
  
Using the above formula, let us calculate the probability of a match for different number of persons N = 1,2,3... and tabulate the results.

N                                P
no. of persons             probability of a match

1                                 0
9                                 0.1 or 10%
23                               0.5 or 50%
30                               0.7 or 70%
58                               1    or 100%




     So the chance for two persons having same birthday (a match)  is 50% even for 23 persons.  A shocking result.  If there are 58 persons in a  room, there is a 100% chance for a match.Try to verify yourself.

     This birthday problem(clash of dates, clash of data, clash of occupancy).  Finds applications in spread of epidemics, photons occupancy and cryptography.    

Comments

Popular posts from this blog

Your heart -you do not know

  Size and Location: The human heart is roughly the size of a clenched fist and is located slightly to the left of the center of the chest. Despite its relatively small size, the heart plays a crucial role in pumping blood throughout the entire body. Heartbeat Variability: The heart does not beat at a constant rate. The interval between heartbeats can vary, and this variability is considered a sign of a healthy heart. Factors such as breathing, emotions, and physical activity influence the heartbeat. Electrical Conduction: The heart's contractions are controlled by electrical impulses. The sinoatrial (SA) node, often called the "natural pacemaker," generates electrical signals that regulate the heartbeat and coordinate the pumping of blood. Blood Pumping Capacity: On average, the human heart pumps about 2,000 gallons (or 7,570 liters) of blood each day. Over a lifetime, this amounts to pumping enough blood to fill several Olympic-sized swimming pools. Heart Chambers and V...

THE WORK HORSE "="

    One cannot think of  a mathematical step without 'is equal to ' .  It balances right hand side and left hand side.  It aids simplification and manipulation of a mathematical expression. example: 2(A+B)  = C 2A+2B  = C         2A = C-2B           A = C-2B/ 2   In an electronic calculator,  the pressing of ' = " sign executes an asthmatic expression  or simply calculates.       In computer languages, it plays very important role.                                                                 A = B   When a computer looks at this expression, the value stored in the location named B is just transferred to the storage named A .  After execution both A and B will have the same value an...

How does your smart phone detect motion, steps, rotation, and location?

 How it works-1  An accelerometer in a smartphone is a microelectromechanical system (MEMS) device that measures acceleration and tilt. It works by detecting changes in motion by measuring the vibration or acceleration of the device. The accelerometer consists of a small mass suspended on a spring inside a sealed chamber. When the device is subjected to acceleration, the mass moves relative to the device, causing a change in capacitance that can be measured and processed by the smartphone's hardware. The accelerometer measures acceleration in three dimensions (x, y, and z) and provides data that the smartphone's software can use to determine the device's orientation, detect motion, and track changes in velocity and acceleration. The accelerometer is used for a variety of purposes in a smartphone, including screen rotation, motion tracking for games and fitness apps, and detecting the position of the device for navigation and location services. Additionally, it can be used t...