Skip to main content

Section 6.3 Continuous Uniform Distribution

Modeling the idea of "equally-likely" in a continuous world requires a slightly different perspective since there are obviously infinitely many outcomes to consider. Instead, you should consider requiring that intervals in the domain which are of equal width should have the same probability regardless of where they are in that domain. This behaviour suggests
P(u<X<v)=P(u+Δ<X<v+Δ)
for reasonable values of Δ so that the interval remains inside R.
From before, for X a continuous uniform variable, we get
uvf(x)dx=u+Δv+Δf(x)dxF(v)F(u)=F(v+Δ)F(u+Δ)F(u+Δ)F(u)=F(v+Δ)F(v)F(u+Δ)F(u)Δ=F(v+Δ)F(v)Δ
which is true regardless of \Delta so long as you stay in the domain of interest. Letting Δ0 gives
F(u)=F(v)
but since F is an antiderivative of the probability function,
f(u)=f(v)
for all u and v in R. This only happens if f is constant...say, f(x)=c. If the space of X is a single interval with R=[a,b] then
1=abcdx=c(ba)
which yields c=1ba as desired.
On R=[1,2π],
f(x)=12π1.
Then, if you want to compute something like P(2<X<4.5) integrate
P(2<X<4.5)=24.512π1dx=2.52π1
A man and a woman agree to meet at a cafe about noon. If the man arrives at a time uniformly distributed between 11:30 and 12:15 and if the woman independently arrives at a time uniformly distributed between 11:55 and 12:40, what is the probability that the first to arrive waits no longer than 5 minutes?
Answer.
0.0987654320987654
Suppose R=[0,2][5,7]. Then, as in the theorem proof
1=Rcdx=02cdx+57cdx=4c.
Thus, f(x)=14. For computing probabilities, you will want to break up any resulting integrals in a similar manner.
We can verify most of these here but you can also determine these using Sage below.
For the mean 1,
μ=E[X]=abx1badx=x22(ba)right|ab=b2a22(ba)=b+a2.
For the variance 2,
σ2=E[X2]μ2=abx21badxμ2=x33(ba)right|ab(a+b2)2=b3a33(ba)a2+2ab+b24=4b2+4ab+4a23a26ab3b212=b22ab+a212=(ba)212.
For the skewness 3,
γ0=E[X3]3μE[X2]+2μ3=abx31badx3μb3a33(ba)+2(a+b2)3=x44(ba)right|ab3a+b2b3a33(ba)+2a3+3a2b+3ab2+b38=a miracle of algebra=0.
The kurtosis 4 is more algebra like above. We will just let Sage do that part for us below.
Suppose you know that only one person showed up at the counter of a local business in a given 30 minute interval of time. Then, R = [0,30] given f(x)=1/30.
Further, the probability that the person arrived within the first 6 minutes would be 06130dx=0.2.
For x in this range,
F(x)=ax1badu=uba|ax=xaba.