Density Function for X-Y on [0,1]

flybyme
Messages
20
Reaction score
0
hi..

Homework Statement


what's the density function for X-Y if X and Y are independent and continously distributed on [0,1]?
 
Physics news on Phys.org
hi,

you must show some work before getting help; what have you tried?
 
The answer of course depends on how X and Y are distributed. Are you given two specific distributions or do you want to calculate the answer in all its generality? See the Jacobi method to get a way of calculating the pdf of X-Y.
 
ok... here's my try...

X has the uniform distribution f_X(x) = 1. to get the distribution for Y: F_{-Y}(y) = P(-Y \leq y) = P(Y \geq -y) = 1 - F_Y(-y) \Rightarrow f_Y(y) = f_Y(-y) = -1

the formula for convulsion in this case is f_Z(z) = \int_\infty^\infty f_X(z-y)f_Y(y)dy.

combining this with f_Y(y) leads to f_Z(z) = -\int_0^1 f_X(z-y)dy

the integrand is zero if the condition 0 <= z-y <= 1 (z-1 <= y <= z) isn't fulfilled.

we get three cases:

1. if 0 <= z <= 1: f_Z(z) = -\int^z_0 dy = -z
2. if 1 < z <= 2: f_Z(z) = -\int^1_{z-1} dy = z - 2
3. if z < 0 or z > 2: f_Z(z) = 0

it seems correct to me, but I'm not sure..
 
here is my hint:

1. first define X - Y as Z

2. then graph X - Y <= Z on a graph

3. find the limits of integration

4. solve it and this gives the cumulative distribution function

5. take the derivative of the CDF with respect to Z
 
Prove $$\int\limits_0^{\sqrt2/4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx = \frac{\pi^2}{8}.$$ Let $$I = \int\limits_0^{\sqrt 2 / 4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx. \tag{1}$$ The representation integral of ##\arcsin## is $$\arcsin u = \int\limits_{0}^{1} \frac{\mathrm dt}{\sqrt{1-t^2}}, \qquad 0 \leqslant u \leqslant 1.$$ Plugging identity above into ##(1)## with ##u...
Back
Top