Understanding the CDF & PDF of X's Difference

roemi
Messages
5
Reaction score
0
Hi guys!

Homework Statement



Do you know how to get the cdf and pdf of the absolute difference of two iid standard uniform X1 and X2 : X = |X1 − X2| ?

Homework Equations



Come across http://en.wikipedia.org/wiki/Triang...difference_of_two_standard_uniform_variables" we know that the cdf is 2x - x2 and the pdf is 2 -2x.
How do we get/prove it?Thank you very much!
 
Last edited by a moderator:
Physics news on Phys.org


The Attempt at a Solution



Is it solvable using the joint pdf ? Still trying various boundaries for the integral... kinda stuck there... please help ... T_T
F_{X}(x) = \int \int_{|x_{1}-x_{2}|\leq x} f_{x_{1}}(x_{1}) f_{x_{2}}(x_{2}) dx_{1}dx_{2}
 


*bump*
 


roemi said:

The Attempt at a Solution



Is it solvable using the joint pdf ? Still trying various boundaries for the integral... kinda stuck there... please help ... T_T
F_{X}(x) = \int \int_{|x_{1}-x_{2}|\leq x} f_{x_{1}}(x_{1}) f_{x_{2}}(x_{2}) dx_{1}dx_{2}

Yes, this is the way to do it. I'll use different variables to simplify notation. X is uniform on [0,1], and so is Y.

Fix t. Find P(|X-Y|<t). Draw the region {(x,y) : |x - y| < t}. Intersect it with the unit square [0,1] x [0,1]. The shape of the resulting region depends on t. For the interesting (i.e. nontrivial) values of t, you get a hexagon.

Since f_X(x) and f_Y(y) are constants, the "integration" can be done simply by using elementary geometry formulas (e.g. area of square, area of triangle).
 


Thanks for the reply.

Umm... what would be the boundaries/intervals in the first and second integral ?
 


*bump*

Anyone interested in solving this problem, please don't hesitate,

still waiting ... :)
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top