P(|X-Y|<1): Find Probability of Difference b/w X and Y

  • Thread starter Thread starter cse63146
  • Start date Start date
Click For Summary

Homework Help Overview

The problem involves finding the probability that the absolute difference between two independent uniformly distributed random variables, X and Y, on the interval (-1, 1) is less than 1. The original poster attempts to set up the problem using double integrals and geometric reasoning.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants discuss the use of double integrals to determine the probability and explore the geometric interpretation of the problem. There are attempts to set up the integrals based on the conditions given, and some participants suggest sketching the region of integration to better understand the problem. Questions arise regarding the limits of integration and the necessity of integrating versus using geometric area calculations.

Discussion Status

There is an ongoing exploration of different methods to approach the problem, including integration and geometric reasoning. Some participants provide guidance on how to visualize the problem and check the results through area calculations. Multiple interpretations of the setup and limits of integration are being discussed without reaching a consensus.

Contextual Notes

Participants note the importance of sketching the region defined by the inequalities and the constraints of the problem, including the bounds of the uniform distribution. There is also mention of a related question regarding the expected value of the absolute difference, which adds complexity to the discussion.

cse63146
Messages
435
Reaction score
0

Homework Statement



Suppose X and Y are independent and uniformly distributed on the unit interval (-1,1).

Determine P(|X-Y|<1)

Homework Equations





The Attempt at a Solution



so X = Y + 1. I haven't done double integrals with absolute value, but I know for the single variable case, you need to find the roots of the equations. Is this right:

[tex]\int^0_{-1} \int^1_{Y+1} dx dy + \int^1_0\int^1_{Y+1} dx dy[/tex]
 
Last edited:
Physics news on Phys.org
The solution to |x-y|=1 is the two lines x-y=1 and -(x-y)=1. Sketch those two lines and figure out the region that intersects the square that defines your region of integration. You shouldn't even have to really integrate. You can use geometry to find the area.
 
Last edited:
My prof wants to do this through integration.

so the lines are X - Y = 1 and -X + Y = 1 and re - writing in terms of X, I get X = 1 + Y and X = Y - 1

so [tex]\int^0_{-1} \int^1_{Y+1} dx dy + \int^1_0\int^1_{Y-1} dx dy[/tex] ?
 
You CAN solve it by integration. But you still need to sketch a picture of the region you are integrating over. Why do you think the upper limit in x is always 1? My picture says otherwise.
 
http://img34.imageshack.us/img34/1728/75248295.jpg

so I need to integrate what's under the area between the 2 equations?
 
Last edited by a moderator:
You need to integrate what's between the two equations and inside of the square -1<=x<=1 and -1<=y<=1, yes.
 
Let me give this another try

[tex]\int^0_{-1} \int^{o}_{Y+1} dx dy + \int^1_0\int^1_{Y-1} dx dy[/tex]

There's another part of the question where it wnats me to find E[|X-Y|]. Would I just multiply the integral in the bottom right quadrant by y - x and the integral of the top left quadrant by x - y?
 
Last edited:
You still haven't got it. Take your picture and split it into triangles. The total area of the square is four. The area of the region between the curves is 3=3/2+3/2. That's the answer you are looking for. Now figure out why your integrals don't give you this. For E[|x-y|] you don't 'multiply' integrals by anything. You integrate |x-y| instead of 1. |x-y|=x-y if x>y and -(x-y) if y<x. You'll have to subdivide your region some more.
 
3 was the correct answer? Than the following integrals give me that answer

[tex]\int^0_{-1} \int^{Y+1}_{-1} dx dy + \int^1_0\int^1_{Y-1} dx dy[/tex]

cause when you integrate both double integrals, you get 3/2(each), like you said (unless I made a mistake somewhere)
 
  • #10
That's right. You may have to solve these problems by showing an integration but that doesn't mean you can't use geometry to find the area and check your answer. Of course, you still have to figure out the probability from the area.
 
  • #11
Thanks for all your help.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
7
Views
2K
Replies
14
Views
10K
Replies
2
Views
2K
Replies
12
Views
1K
Replies
11
Views
3K
  • · Replies 19 ·
Replies
19
Views
4K
  • · Replies 18 ·
Replies
18
Views
3K