Let Ω=[0,1],J={all intervals in [0,1]}. For an interval I∈J, set P(I)=length of I. Given this setup, there is a σ-algebra M on [0,1] with probability measure λ such that J⊆M and λ(I)=length of I.
There exists a probability space (Ω,M,P∗) such that Ω=[0,1],M⊇J and for any interval I⊆[0,1], P∗(I)=length of I. This triple is called the uniform distribution on [0,1] or the Lebesgue measure on [0,1].
A RV X is called “uniformly distributed over the interval (a,b)”or “uniform over (a,b)” if its pdf is f(x)=\left\{\begin{array} 1\frac{1}{b-a} & a<x<b\\ 0 & otherwise \end{array}\right. and cdf F(x)=\left\{
\begin{array}
1 0&x\le a\\
\frac{x-a}{b-a}&a<x<b\\
1&x\ge b
\end{array}
\right.
For RV X∼\mboxUniform(a,b) E[X]\mboxVar(X)=2a+b=12(b−a)2