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

THE EARTH, A SUPER ORGANISM

     JOIN MY COURSE: "Become a programmer in a day with python"       A man called 'love lock' (what a name) proposed a theory called Gaia theory, named after Greek Goddess.      It says, "Earth is a self-regulating organism like a human being.  The organic life in it interacts with in-organic matter and maintains atmosphere, temperature and environment".  Hence the earth is still suitable for the life to thrive.      Imagine, in a particular place, there are lot of flowers.  Some flowers are white and some are darkly coloured.  We know, white reflects light and heat while dark absorbs the same.  White flowers can thrive in hot climate.  But dark flowers requires cold climate.  The absorption and reflection balances and the environment reaches average, warm temperature at which both the flowers can co-exist.  This is the essence of "Gaia" theory.      On our earth, the oxygen constitute 20% of the atmosphere.  The oxygen level is always mai

THE PARABOLA

          A jet of water shooting from a hose pipe will follow a parabolic path.  What is the so special about parabola.    Y= x^2 Draw a graph for the above equation.  It will result in a parabola.  This parabola is also called unit parabola.  Any equation involving square will yield a parabola. Example:  Y = 2x^2 +3x+3 (also called quadratic equation)    X= 2 and -2, both  satisfies the equation 4 = X^2.  Parabolic equations always have two solutions.     Any motion taking place freely under gravity follows parabolic path. Examples:   An object dropped from a moving train,   A bomb dropped from flying plane,  A ball kicked upwards.      If a beam of light rays fall on the parabolic shaped mirror, they will be reflected and brought to focus on a point.  This fact is made use of in Dish Antenna, Telescope mirrors, etc.      Inverted parabola shape is used in the construction of buildings and bridges.  Because the shape is able to bear more weight.      A plane

DISORDER IS THE "ORDER OF THE DAY"

         Imagine a balloon full of air.  The air molecules are moving randomly inside the balloon.  Let us pierce the balloon with a pin.  The air rushes out.  Why should not the air molecules stay inside the balloon safely and ignore the little hole?  That is not the way the world works.  The molecules always "want to occupy as many states as possible".  Hence the air goes out in the open to occupy more volume.   The things always goes into disorder (entropy) and the disorder increases with time.  The above statement is what we call "second law of thermodynamics".      Consider a cup of coffee on the table. Suppose the heat from entire room flows to your cup of coffee, the coffee will boil and the rest of the room will freeze.  Freezing means bringing things to order and arrangement.  It violates the second law.  Hence it will never happen.  Hence heat must flow from high temperature to low temperature and not the other way.        The air molecules in y