Sum of random number of variables

Let x 1 , x 2 , x 3 , x_1,x_2,x_3, \ldots be sequence of numbers randomly picked from the interval [ 0 , 1 ] [0,1] with uniform distribution. define S = x 1 + + x n x 1 + + x n 1 x 1 + + x n 1 < 1. S=x_1+\cdots+x_n\mid x_1+\cdots +x_{n}\geq 1 \land x_1+\cdots+x_{n-1}<1.

The expected value E [ S ] E\left[S\right] can be written as a e b \dfrac{ae}{b} , where a a and b b are coprime integers. Find a + b a+b


Inspiration 1 and Inspiration 2 .


The answer is 3.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Aareyan Manzoor
Jun 25, 2017

this solution is wrong, see comments


the trick is to use iterated expectations. first we find the conditional expectation: E [ S N = n ] = E [ x 1 + . . . + x n ] = E [ x 1 ] + . . . + E [ x n ] = n E [ x 1 ] = n 2 E [ S N ] = N 2 E\left[S|N=n\right]=E\left[x_1+...+x_n\right]=E\left[x_1\right]+...+E\left[x_n\right]=nE\left[x_1\right]=\dfrac{n}{2}\\ \to E\left[S|N\right]=\dfrac{N}{2} we know by iterated expectations that E [ S ] = E [ E [ S N ] ] = 1 2 E [ N ] = e 2 E\left[S\right]=E\left[E\left[S|N\right]\right]=\dfrac{1}{2} E\left[N\right]=\dfrac{e}{2} note the result for E [ N ] E\left[N\right] comes from this problem


Hm, I do not think that E [ S N = n ] = n 2 E[ S | N = n ] = \frac{n}{2} . You are skipping the information that x 1 + + x n 1 1 x_1 + \ldots + x_{n-1} \geq 1 .

As an explicit counter example, E [ S n = 1 ] E [ S |n = 1 ] would be 0, since this happens with probability 0.

Also, it should be clear to you that E [ S n = 2 ] > 1 E [ S | n = 2 ] > 1 , since S > 1 S > 1 almost certainly.

Calvin Lin Staff - 3 years, 11 months ago

Log in to reply

that does seem to be the case. although a monte-carlo simulation does reveal an answer close to e / 2 e/2 . i tried making an integral for expected value when N=n but it does become tedious. i guess i will wait for a proper solution to this.

Aareyan Manzoor - 3 years, 11 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...