Modified RNG

Hard
Expectations Conditional Expectation Conditional Variance

Problem

Jimmy picks a number uniformly at random from (0,1). If Jimmy chooses x, then Jon picks a number from (x,1) uniformly at random. If Y represents the number Jon selects, in simplest form, find

Original Problem Link: Click here

Solution

Step 1 - Compute Conditional Expectation and Conditional Variance

For uniform on , the conditional expectation is:

How? Its obvious that its gonna be the middle point! Alternatively, you can integrate and compute using the standard method.

Similarly, for Conditional Variance , we have

Step 2 - Total Expectation

Using the law of total expectation:

Step 3 - Computing Total Variance

Using the law of total variance:

First, compute :

Next, compute :

Therefore:

Final Answer