Largest Possible Variance on a Bounded Interval
Problem statement
A random variable $X$ is known only to take values in the interval $[a, b]$; nothing else about its distribution is given.
- Prove that $\operatorname{Var}(X) \le \dfrac{(b-a)^2}{4}$.
- Describe the distribution(s) that attain the bound.
- For $[a, b] = [0, 10]$, what is the largest variance $X$ can have?
Show hint
What nonnegative expression can you build from the facts that $X$ is at least $a$ and at most $b$?
Relevant roles: Data Scientist, Applied Scientist and ML Engineer.