Wednesday, January 04, 2006

The attack of the academics...

Here is a rather academic problem which nevertheless reduces to some other interesting problems:

What is the expected value of the maximum of N random variables, each of which is between 0 and 1?

What is the expected maximum value of 2 variables under the constraint x+y=1?

If you have figured each of these out, you have passed the qualifying round for this month's IBM ponder this!

12 Comments:

Blogger Niranjan said...

Bala, in the first question, do you mean that each of the N random variables are uniform between 0 and 1?

Wed Jan 04, 10:38:00 PM 2006  
Blogger littlecow said...

Yup! Assume a uniform distribution in q.2. also...

Wed Jan 04, 11:05:00 PM 2006  
Blogger littlecow said...

@grenade: right, ho! both the answers are right!

Thu Jan 05, 12:37:00 PM 2006  
Blogger lenscrafter said...

can u folks explain the physical meaning of 'expected value' ?

according to the n/n+1 solution, if there are 2 random variables, the expected maximum is 2/3 ? this is difficult to comprehend. is there a way to 'see' this visually / physically ?

Thu Jan 05, 04:05:00 PM 2006  
Blogger littlecow said...

expected value is just another name for average value.

Thu Jan 05, 05:40:00 PM 2006  
Blogger littlecow said...

think of it as a shooting game on a square dart board of side 1 unit. we are finding the centroid of the lower triangle formed by joining (0,0) to (1,1). why? because for all points on that triangle x>y...

Thu Jan 05, 05:43:00 PM 2006  
Blogger littlecow said...

...one more way of looking at it:

if the average is M, then equal number of cases exist where the max value occurs equidistant from M.

----x---y---M---- and -----y----x---M--- occur with a prob of M*M
---x----M---y---- occurs with a prob of M*(1-M)
---y----M---x---- occurs with a prob of M*(1-M)

Solve for M in M*M=2M*(1-M) to give M=2/3...

this is probably the boring rigorous way?

Thu Jan 05, 05:56:00 PM 2006  
Blogger littlecow said...

@grenade: you are right.

the second solution i gave is on shaky grounds and is incorrect. infact, if M!=1/2, it is not possible to find matching cases for certain values of x.

btw, have you seen the ancient tamil movie 'thiruvilayadal'? :-D

Sat Jan 07, 08:30:00 PM 2006  
Blogger lenscrafter said...

This comment has been removed by a blog administrator.

Sun Jan 08, 01:10:00 PM 2006  
Blogger lenscrafter said...

@grenade,balakumar: i'm thinking the owvaiyaar conversation with muruga peruman on the fruit. probably a reference to the way u define boring rigorous. i may be mistaken.

Sun Jan 08, 01:10:00 PM 2006  
Blogger littlecow said...

i was reminded of the 'kalviyai nee ketkiraya naan ketkattuma?' conversation which sivaperuman has with the poet.

Sun Jan 08, 02:35:00 PM 2006  
Blogger lenscrafter said...

oh yeah .. the movie may itself be set in ancient times, but it is timeless, not to mention humorous.

Sun Jan 08, 02:48:00 PM 2006  

Post a Comment

<< Home