Expected Value at Infinity

Calculus Level 4

To calculate E V ( P ) EV(P) , where P P is a natural number, first create a set of numbers with P P elements, where the first element is 1 P \frac{1}{P} , and every subsequent element is 1 P \frac{1}{P} higher than the previous element. An element is selected at random and squared. E V ( P ) EV(P) is the expected value of the final result. What is lim P E V ( P ) \displaystyle \lim_{P\rightarrow\infty} EV(P) ?

1 3 \frac{1}{3} 1 5 \frac{1}{5} 1 9 \frac{1}{9} 1 2 \frac{1}{2} 1 8 \frac{1}{8} 1 7 \frac{1}{7} 1 4 \frac{1}{4} 1 6 \frac{1}{6}

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.

3 solutions

Brian Moehring
Apr 13, 2019

lim P E V ( P ) = lim P k = 1 P ( k P ) 2 × ( 1 P ) = 0 1 x 2 d x = 1 3 \lim_{P\to\infty} EV(P) = \lim_{P\to\infty} \sum_{k=1}^P \left(\frac{k}{P}\right)^2 \times \left(\frac{1}{P}\right) = \int_0^1 x^2\,dx = \frac{1}{3}

Jesse Li
Apr 13, 2019

The first element is 1 P \frac{1}{P} , the second element is 2 P \frac{2}{P} , the third element is 3 P \frac{3}{P} , and so forth until the last element, which is P P \frac{P}{P} .

Since there are P P elements, the probability of each element being selected is 1 P \frac{1}{P} .

The possible results of an element being chosen at random and squared are ( 1 P ) 2 (\frac{1}{P})^2 , ( 2 P ) 2 (\frac{2}{P})^2 , ( 3 P ) 2 (\frac{3}{P})^2 . . . ... ( P P ) 2 (\frac{P}{P})^2 .

Therefore, E V ( P ) = 1 P × ( 1 P ) 2 + 1 P × ( 2 P ) 2 + 1 P × ( 3 P ) 2 . . . 1 P × ( P P ) 2 EV(P)=\frac{1}{P} \times (\frac{1}{P})^2 + \frac{1}{P} \times (\frac{2}{P})^2 + \frac{1}{P} \times (\frac{3}{P})^2... \frac{1}{P} \times (\frac{P}{P})^2 .

We can factor out 1 P × ( 1 P ) 2 \frac{1}{P} \times (\frac{1}{P})^2 , leaving us with E V ( P ) = 1 P 3 × ( 1 2 + 2 2 + 3 2 . . . P 2 ) EV(P)=\frac{1}{P^3}\times(1^2+2^2+3^2...P^2) .

The series 1 2 + 2 2 + 3 2 . . . P 2 1^2+2^2+3^2...P^2 can be represented using the formula P ( P + 1 ) ( 2 P + 1 ) 6 \frac{P(P+1)(2P+1)}{6} . Plugging that into our equation gives E V ( P ) = 1 P 3 × P ( P + 1 ) ( 2 P + 1 ) 6 EV(P)=\frac{1}{P^3} \times \frac{P(P+1)(2P+1)}{6} .

We can simplify:

E V ( P ) = ( P + 1 ) ( 2 P + 1 ) 6 P 2 EV(P)=\frac{(P+1)(2P+1)}{6P^2}

E V ( P ) = 2 P 2 + 3 P + 1 6 P 2 EV(P)=\frac{2P^2+3P+1}{6P^2}

E V ( P ) = 1 6 × ( 2 P 2 P 2 + 3 P P 2 + 1 P 2 ) EV(P)=\frac{1}{6} \times (\frac{2P^2}{P^2}+\frac{3P}{P^2}+\frac{1}{P^2})

E V ( P ) = 1 6 × ( 2 + 3 P + 1 P 2 ) EV(P)=\frac{1}{6} \times (2+\frac{3}{P}+\frac{1}{P^2})

Now, we can plug in \infty for P P . This makes 3 P \frac{3}{P} and 1 P 2 \frac{1}{P^2} equal to 0, leaving us with E V ( P ) = 1 6 × 2 EV(P)=\frac{1}{6} \times 2 , which simplifies to E V ( P ) = 1 3 EV(P)=\boxed{\frac{1}{3}} .

where does P(P+1)(2P+1)/6 come from?

Adam Insall - 2 years, 1 month ago

Log in to reply

watch this: https://www.youtube.com/watch?v=OpA7oNmHobM

Jesse Li - 2 years, 1 month ago

@Adam Insall It is formula for summation of r^2 from r=1 to n ........It is quiet famous and it is advisable to memorize it as it comes in handy for algebra AP GP HP and many kinds of other problems. summation of r^3 from r = 1 to n is given by n^2(n+1)^2 / 4.

Arghyadeep Chatterjee - 2 years, 1 month ago

This question abuses notation by having the letter P both denote the size of the set and also denote a random variable defined on a function as elements of the set are selected.

My first reaction when I saw "P is a natural number, what is EV(P)?" is that it's obviously P.
This comment is about the question itself and not this particular solution.

Richard Desper - 2 years, 1 month ago
Eric Nordstrom
Apr 22, 2019

E V ( P ) = average of squares of elements = i = 1 P ( i P ) 2 P = 1 P 3 i = 1 P i 2 EV(P)=\text{average of squares of elements}=\frac{\sum_{i=1}^P \left(\frac{i}{P}\right)^2}{P}=\frac{1}{P^3}\sum_{i=1}^P i^2

i = 1 P i 2 \sum_{i=1}^P i^2 will be a cubic function of P P because the difference between consecutive sums i = 1 x i 2 i = 1 x 1 i 2 = x 2 \sum_{i=1}^x i^2-\sum_{i=1}^{x-1} i^2=x^2 is quadratic. We can therefore say i = 1 P i 2 = a P 3 + b P 2 + c P + d \sum_{i=1}^P i^2=aP^3+bP^2+cP+d . Noting that i = 1 P i 2 = i = 0 P i 2 \sum_{i=1}^P i^2=\sum_{i=0}^P i^2 , we have the following system of equations:

{ d = 0 a + b + c = 1 8 a + 4 b + 2 c = 1 + 4 = 5 27 a + 9 b + 3 c = 5 + 9 = 14 \begin{cases} d & =0\\ a+b+c & =1\\ 8a+4b+2c & =1+4=5\\ 27a+9b+3c & =5+9=14 \end{cases}

Solving, we get

[ a b c ] = rref ( [ 1 1 1 1 8 4 2 5 27 9 3 14 ] ) × [ 0 0 0 1 ] = [ 1 / 3 1 / 2 1 / 6 ] \begin{bmatrix} a\\ b\\ c \end{bmatrix}=\text{rref}\left(\begin{bmatrix} 1 & 1 & 1 & 1\\ 8 & 4 & 2 & 5\\ 27 & 9 & 3 & 14 \end{bmatrix}\right) \times \begin{bmatrix} 0\\ 0\\ 0\\ 1 \end{bmatrix}=\begin{bmatrix} 1/3\\ 1/2\\ 1/6 \end{bmatrix}

Therefore,

E V ( P ) = P 3 3 + P 2 2 + P 6 P 3 = 1 3 + 1 2 P + 1 6 P 2 lim P E V ( P ) = 1 3 EV(P)=\frac{\frac{P^3}{3}+\frac{P^2}{2}+\frac{P}{6}}{P^3}=\frac{1}{3}+\frac{1}{2P}+\frac{1}{6P^2}\\ \\ \lim_{P\rightarrow \infty} EV(P)=\boxed{\frac{1}{3}}

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...