Skip to main content

MATHEMATICS OF LOVE

   


    How some sites like "okcupid" find your 'match' or 'would be', mathematically.  We will see that algorithm in simple language.
     The site or the app asks a number of simple questions.  One can choose and answer the questions.  The more you answer, the more likely you will get a match.  While answering, three things should be done.  1. Attach some importance to the question. 2. Give what answer you expect for the question from other person. 3. Answer the question yourself.  Let us see an example.

SCORES FOR IMPORTANCE
Irreverent - 0
A little important - 1
Some what important - 10
Very important - 50
Mandatory - 250

Let us take 2 questions
1. Does my height matter for you?
2. Do you earn a five figure salary?
Let us assume that 'you' and your would be partner 'x' answer these questions.


    Now, we have to view the scores in your point of view and in X's point of view.  
       
IN YOUR EYES
    For the first question, X scored 50/50.  Since X have given the answer you want and you have attached very important to it

   For the second question X scored 0/1 , since the answer is not expected one.  Now combining both the scores.
50+0/50+1 =50/51 = 58%
Hence X scored 98% in your angle.

IN X'S EYES
    For first question, you scored 0/1
(not expected answer, little important)
For second question, your score 10/10(expected answer, somewhat important) combining the points.
10+0/10+1 = 91%
Your score is 91% in X's eyes.
The final step of the algorithm is to find 'match percentage'.  Here, we are going to take geometric mean of two persons' scores.  So, multiply two scores and take square root.
square root of( .98*.91) = .94=94%
94% is the match percentage for you and X.  A good percentage.
     Suppose, three questions are answered, we have to take cube root.  If n questions are answered, we should go for nth root.  The higher 'n' gives, high match percentage.  (please work out and find yourself).  The higher your match percentage with a person, the higher up your profile will appear in their results and their profile in yours.  Hence, the more you answer, the wider your pool of questions, your chance of finding the 'date' increases.  Good luck.

FOOT NOTE:  This article does not favour or disfavour the algorithm.  But only appreciates the math element in it. 
----------------------------------------------------------------                                                        

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, ...

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 ...

CASINO'S GAME

           Let us find out how the casino survives with mathematics.      Say, your friend invite you for a game of dice.  You must bet (wager) 2 dollars.  If you roll 'six' you will get back 8 dollars.  The game will go on for 30 rounds.  All sounds good.      The probability of rolling 'six' is 1/6.  Since the game will be played for 30 times, the 'expected win' is 30*1/6 = 5.  That is, you are expected to win 5 rounds out of 30.  Hence your gain will be 5 * 8 =40 dollars.  ok.  This also implies that you will loose 25 rounds.  Hence your loss will be 25*2 =50 dollars.  Your net gain will be gain-less = 40-50 = -10 dollars. For 30 rounds, the loss is -10 dollars, Hence, for one round =-10/30 = -1/3 dollars.  There will be a loss of -1/3 or 0.33 dollars per round.  It is not a fair game.     Let us make a simple formula to calculate  'Pa...