Expectation of 2 random variable, E(|X-Y|^a)

AI Thread Summary
The discussion centers on calculating the expectation E[|X-Y|^a] for independent uniform random variables X and Y over the interval [0,1]. Participants emphasize the importance of defining the expectation value through integration over the joint probability distribution, which is constant due to the uniform nature of X and Y. The integral must be split into two regions based on the condition of |X-Y|, specifically when X > Y and Y > X. Suggestions include using variable substitutions and integrating separately over the triangular areas formed in the unit square. The conversation concludes with encouragement to apply these methods for a correct evaluation of the integral.
Micle
Messages
5
Reaction score
0
Hi, anyone help please.

Let X and Y are independent uniform random variables over the interval [0,1]
E[|X-Y|a]=?

where, a>0
 
Physics news on Phys.org
Do you have any restrictions on a? Is it integer or any real number?

I suggest you start with the definition of the expectation value... you sum or integrate over values times the probability distribution:

E(g(X,Y)) = \int_{x,y\in[0,1]} g(x,y)\cdot f(x,y) dxdy
where f(x,y) is the joint probability distribution. Since X and Y are both uniform the joint distribution will be f(x,y) = constant. You can determine this constant by normalization:
\int_{x,y\in [0,1]} f(x,y) dx dy = 1

As far as doing the integral involving the absolute value you should break the square over which you are integrating into the region where (x-y)>0 and (x-y)<0.
 
The exercise doesn't tell that a is interger or real number, then I just consider it as real number.

As your suggestion, I do following,
Let Z = X-Y, where |Z|>0 and Z \in[-1,1]

E[|Z|a] = \int^{1}_{-1}Zadz
= \int^{1}_{0}Zadz - \int^{0}_{-1}Zadz
= \frac{1}{a+1} - \frac{1}{a+1}(-1)a+1

=\frac{1}{a+1}(1-(-1)a+1).

Sorry for my poorness, this is corrected or not?
 
Not quite. You still have to integrate over an area so you need two variables. I would stick to x and y but use the substitution for for finding indefinite integral.

Consider the area over which you must integrate is the square 0<x<1,0<y<1.
|y
|___
|...|
|___|___ x

The boundary at which the absolute value changes from equal, to negative of is the line y=x which is the diagonal of this square.

You integrate over each of the two triangles separately.
__
| / /|
|/ / | (hope the spacing comes out right)
In the upper triangle y>x so |x-y| = (y-x).
In the lower triangle x>y so |x-y| = (x-y).

So integrate |x-y|^a over each triangle making the above substitutions.

Something like:
\int_{y=0}^1\int_{x=0}^y(y-x)^a dx dy
for the lower triangle.
You may use (z=x-y) or (z=y-x) as a variable substitution to do the indefinite integrals but convert your answer back to x's and y's to evaluate at the limits.
 
Thanks for your advice, let me try!
 
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...
Essentially I just have this problem that I'm stuck on, on a sheet about complex numbers: Show that, for ##|r|<1,## $$1+r\cos(x)+r^2\cos(2x)+r^3\cos(3x)...=\frac{1-r\cos(x)}{1-2r\cos(x)+r^2}$$ My first thought was to express it as a geometric series, where the real part of the sum of the series would be the series you see above: $$1+re^{ix}+r^2e^{2ix}+r^3e^{3ix}...$$ The sum of this series is just: $$\frac{(re^{ix})^n-1}{re^{ix} - 1}$$ I'm having some trouble trying to figure out what to...
Back
Top