A frog hops on the real number line, starting from the origin:
- Each second, it moves right uniformly at random a distance between $0$ and $1$.
- There is an abyss between $1$ and $5/4$, and if the frog lands there it will fall into the abyss.
- If the frog makes it to or passes $3$ without falling in the abyss, then the frog is safe. $$ \large\mbox{What is the probability it is safe ?.} $$ Let us invoke Irwin Hall Distribution and work on the probability of falling into abyss and then inferring probability that it is safe.
The CDF of the sum of $n$ independent random variables uniformly distributed on $(0,1)$ [1]:
$$P(X\le x,n) = \dfrac{1}{n!} \sum_{k=0}^{\lfloor x \rfloor} (-1)^k {n\choose k} {(x-k)}^n$$
Thus $P(X\le x)$, given that x of abyss is in the range $(1\le x \le2)$,
for n=1, $P(X\le x) =1$
for n=2, $P(X\le x) = \dfrac{1}{2.2!}\left[(-1)^0.{2\choose0}x^2 +(-1)^1.{2\choose 1} (x-1)^2\right]$
For n=3, $P(X\le x) =\dfrac{1}{3.3!}\left[ (-1)^0.{3\choose0}x^3 +(-1)^1.{3\choose 1} (x-1)^3\right]$
and n=..
To summarise
CDF can be be written such as
$P(X\le x) = \left[1+ \dfrac{x^2}{2.2!}+\dfrac{x^3}{3.3!}+\cdots\right] - \left[ \dfrac{(x-1)^2}{2!} + \dfrac{(x-1)^3}{3!}-\cdots\right]$
PDF is the derivative of this
P(X = x) $= \left[\dfrac{(x)}{2!}+\dfrac{(x^2)}{3!}+\cdots \right] - \left[(x-1) + \dfrac{(x-1)^2}{2!}+\dfrac{(x-1)^3}{3!}+\cdots\right]$
This translates $ P(X= x) = \dfrac{(e^x - 1)}{x} - e^{x-1}$
Thus $P(\text{falling into the abyss}) = \int_{1}^{5/4} P(X=x) = 0.178761$
$P(\text{the frog is safe}) = 1-.178761 = 0.821$
It sounds logical but to see if abyss happens to be (1.1 and 1.75),say, the probability results in 0.56
https://www.stanfordmathtournament.com/pdfs/smt2023/calculus-tiebreaker-solutions.pdf