If the joint probability density of $X$ and $Y$ is given by $$f(x,y)=2 $$ for $x>0,y>0,x+y<1$
Find $P(X>2Y)$
Can anyone give me some hints for this questions? Thanks in advance.
If the joint probability density of $X$ and $Y$ is given by $$f(x,y)=2 $$ for $x>0,y>0,x+y<1$
Find $P(X>2Y)$
Can anyone give me some hints for this questions? Thanks in advance.
Maybe it is better to consider the figure
The area of the red triangles is $\frac16$. The value of the joint density is constant $2$. So, the probability we are after is $$P=\frac13.$$
$$P(X<2Y) = \int_{0}^{\frac{2}{3}}\int_{0}^{\frac{x}{2}}2dydx + \int_{\frac{2}{3}}^{1}\int_{0}^{1-x}2dydx =\frac{1}{3}$$
Goodness, @zoli has added the diagram. From this it is clear that the breakpoint in the integral is $2/3$ for x and y from $0$ to $x/2$ till $2/3$ and from $0$ to $1-x$ from $2/3$ to $1$.
This may be an even simpler interpretation for any future readers.
When working with inequalities like $P(X > aY)$ for Probability Density Functions (PDFs)
After having drawn out a few examples on desmos for $P(X > 2Y)$,$P(X > 3Y)$, $P(X > 4Y)$.
I have found a pattern at the the point of intersection, for example when $P(X>2Y)$ the point of intersection is $(\frac{2}{3}, \frac{1}{3})$ or more simply $(\frac{a}{a+1}, \frac{1}{a+1})$. PDFs of this kind can more easily be calculated once this is known via it's area $\frac{b\cdot h}{2}$ or more simply $\frac{b\cdot(\frac{1}{a+1})}{2}$.
Using your example when $P(X > 6Y)$, we proceed with the following:
Alternatively, we know that we'll always have 2 triangles to integrate over as given in the image above.
Just following on with the fact that $P(X+Y<1)$ we split the block of the sample space into two, and when $P(X > aY)$ we're always integrating beneath the intersected point. One for $x_1 = (0, \frac{a}{a+1})$ , and $x_2 = \left(\frac{a}{a+1}, 1 \right)$, as for y we get $y_1 = (0, 1-\frac{X}{a})$ and $y_2 = \left(0, 1-X \right)$. It may not work in all cases, perhaps only when $f(x,y) = c$ where $c$ is a constant.