Finding the expected number of uniform random variables to exceed 1
In this post, we explore the problem of finding the expected value of the minimum number of uniform random variables needed for their sum to exceed 1. We begin by presenting the problem statement, followed by two distinct solutions to the problem. The first solution calculates the expectation by definition, while the second solution approaches the problem by finding a differential equation for the expectation. Finally, we discuss an extension of the problem where we generalize the question to find the expected value of the minimum number of these variables needed for their sum to exceed an arbitrary value \(t\), where \(t \in [0, \infty]\).
Problem
Given \(X_1,...,X_n\) are iid random variables following a uniform distribution on the interval \([0,1]\), what is the expected value of the minimum number of these variables needed for their sum to exceed 1?
Solution 1: Using definition
Let \(N\) be the random variable representing the minimum number of uniform random variables needed for their sum to exceed 1, i.e.,
\[N = \inf_n \{ \sum_{i=1}^n X_i > 1\}.\]