Thursday, June 27, 2013

Quote of the Day

It is better to aim high and fail than to aim low and succeed. 


-PTS

Thursday, January 3, 2013

Quote of the Day

Television often depicts people living perfect lives without any imperfections.  I simply strive to live an imperfect life to perfection. 


-PTS

Wednesday, October 24, 2012

A Very Real Life Application of the Stable Marriage Problem

I recently stumbled upon a mathematical problem known as the Stable Marriage Problem (SMP).  Per Wikipedia, the problem is commonly stated as:

Given N men and N women, where each person has ranked all members of the opposite sex with a unique number between 1 and n in order of preference, marry the men and women together such that there are no two people of opposite sex who would both rather have each other than their current partners. If there are no such people, all the marriages are "stable".

The SMP has real-life applications to any problems requiring stable pairing of two sets of equal size. In fact, this problem is always solvable using the Gale-Shapley algorithm.

There is a rather big catch however.  While the marriages are always stable, they may not be ideal from the vantage point of an individual.  To illustrate this, imagine three men A,B,C and three women X,Y,Z. Here are their ranked preferences for members of the other group:

A: YXZ B: ZYX C: XZY X: BAC Y: CBA Z: ACB

There are three possible stable matchings:

1. The men get their first choice and the women their third (AY, BZ, CX)
2. All participants get their second choice (AX, BY, CZ)
3. The women get their first choice and the men their third (AZ, BX, CY)

According to Gale-Shapley, scenario 1 will materialize. This is because the algorithm dictates that the men (initiators) can choose from the entire set of women, while the women (reviewers) choose between a limited subset of initiators at any one time. 

This mathematical problem actually offers an explanation to a common phenomenon in the world of dating. Have you ever seen a breathtaking beauty hooking up with a mediocre Joe? You turn green with envy while cursing her judgement.  Well, the answer can be found above. Females still largely play the role of reviewers in today's dating scene. As a result, they can only choose from men who dare approach them in the first place. In other words, if Brad Pitt did not initiate the relationship with Angelina Jolie (let's play along suppose he did), chances are they will not be together. The moral? Your chances of successfully dating a pretty girl is higher than you think, even when you are not a Pitt-look-alike. Of course, looking like Pitt helps but taking the leap by initiating the dating routine is the more crucial key. So why wait any longer? Ask out the girl of your dreams now!


-PTS

Saturday, April 28, 2012

Brian Greene's Talk on TED

Here is a great video from Brian Greene, renowned theoretical physicist and author of The Elegant Universe, among various books.  The video touches on a number of hot concepts of the day, from inflation, dark matter, string theories, to explaining why we are indeed living in a multi-verse.


-PTS