Q. 5.22

Question

Let U be a uniform (0,1) random variable, and let a<b be constants.

(a) Show that ifb>0, then bU is uniformly distributed on (0, b), and if b<0, then bUis uniformly distributed on (b, 0).

(b) Show that a+U is uniformly distributed on (a, 1+a).

(c) What function of U is uniformly distributed on (a, b) ?

(d) Show that min(U,1-U) is a uniform (0, 1/2) random variable.

(e) Show that max(U,1-U) is a uniform (1/2,1) random variable.

Step-by-Step Solution

Verified
Answer

a. When b>0, bU is uniformly distributed on (0,b), and when b<0, bU is uniformly distributed on (b,0).

b. On (a, 1+a), a+U is uniformly distributed.

c. Uis distributed on a+(b-a) .

d. (0,12)is distributed on (U,1-U).

e. (12,1)is distributed on (U,1-U).

1Step 1: Introduction

Over(1,-1),Uhas a uniform distribution.


a=0 

 b=1 


On the interval between the boundaries, the probability density function of a uniform distribution is the reciprocal of the difference of the boundaries.


fU(x)=1b-a=11-0

=11=1


The density function's integral.

FU(x)=P(Xx)

=-xf(x)dx

=0x1dx

=(x)0x

=x-0

=x


2Step 2: Explanation (part a)

a.

The random variable's cumulative distribution function Ub.

b>0  FbU(y)=P(bUy)

=PUyb

=FUyb

=yb

0<y<b

b<0  FbU(y)=P(bUy)

=PUyb

=1-PUyb

=1-FUyb

=1-yb

Finally, the derivative of the cumulative distribution function of the random variable,


b>0fbU(y)=ddyFbU(y)=ddyyb=1b

0<y<b

b<0fbU(y)=ddyFbU(y)=ddy1-yb=-1b

3Step 3: Explanation (part b)

Cumulative function is,

Fa+U(y)=P(a+Uy)

=P(Uy-a)

=FU(y-a)

=y-a

a<y<1+a

density function is,

fa+U(y)=ddyFa+U(y)=ddy(y-a)=1

a<y<1+a

4Step 4: Explanation (part c)

c.

On the interval between the borders, the probability density function of a uniform distribution is the reciprocal of the difference of the boundaries:

fg(U)(x)=1b-a

Cumulative function is,

Fg(U)(x)=P(g(U)x)

=-xfg(U)(x)dx

=xb-aax

=x-ab-a

Fg(U)(x)=P(g(U)x)=PUg-1(x)=FUg-1(x)=g-1(x)

g-1(x)=x-ab-a

y=x-ab-a

a+(b-a) y=x

g(y)=a+(b-a) y

5Step 5: Explanation (part d)

d.

Cumulative function is,

Fmin(U,1-U)(y)=P(min(U,1-U)y)

=P(U  y)+P(1-U y)

=P(Uy)+P(-Uy-1)

=P(Uy)+P(U1-y)

=P(Uy)+1-P(U1-y)

=y+1-1+y=2y

0<y<12

Density function is,

fmin(U,1-U)(y)=ddyFmin(U,1-U)(y)=ddy2y=2

0<y<12

6Step 6: Explanation (part e)

e.

Cumulative function,

Fmin(U,1-U)(y)=P(min(U,1-U)y)

=P(Uy)+P(-Uy-1)

=P(Uy)+P(U1-y)

=P(Uy)-P(U1-y)

=y-1+y=2y-1

12<y<1

Density function is,

fmax(U,1-U)(y)=ddyFmax(U,1-U)(y)=ddy(2y-1)=2

12<y<1