2
$\begingroup$

So let's say I have two independent random variables $X \sim U(0,1)$ and $Y \sim U(0,1)$. I want to find the probability $P(Y>2X)$

For a uniformly distributed random variable $P(X<a) = F(x) = \frac{x-a}{b-a}$

However, I'm not sure how to calculate the probability when $a$ is a random variable.

$\endgroup$

3 Answers 3

1
$\begingroup$

Consider the RV $Z=Y-2X$ (which takes values from $[-2,1]$). The probability that $Z<0$ is the probability that $2X> 1$ (probability $1/2$) plus the probability that $2X\le 1$ (i.e., $X\le 1/2$ - with probability $1/2$) and $Y\le 2X$, which is the probability that one random uniform $[0,1]$ distributed RV is smaller or equal than another. The latter event has probability $1/2$ since $P(X>Y)+P(X<Y)=1$ and then use symmetry.

So, $P(Z<0)=\frac{1}{2}+\frac{1}{2}\frac{1}{2}=\frac{3}{4}$, so

$$P(Y-2X\ge 0)=P(Z\ge 0)=1-\frac{3}{4}=\frac{1}{4}.$$

$\endgroup$
4
  • 1
    $\begingroup$ Exactly what I wanted. Thanks! $\endgroup$
    – Ortix92
    Jun 22, 2014 at 13:51
  • $\begingroup$ I do have 1 question though. Why is it [-2,1]? Shouldn't it be [0,-1]? $\endgroup$
    – Ortix92
    Jun 22, 2014 at 13:53
  • 1
    $\begingroup$ It's because the largest value that $Y$ takes is $1$ and the smallest that $2X$ takes is $0$ (which gives the upper bound $1$) and the smallest value of $Y$ is $0$ and the largest of $2X$ is $2$ (which gives the lower bound $0-2=-2$). $\endgroup$
    – mathse
    Jun 22, 2014 at 13:56
  • $\begingroup$ That makes sense $\endgroup$
    – Ortix92
    Jun 22, 2014 at 13:58
1
$\begingroup$

Draw a pair of axes, and the $1\times 1$ square on which the joint density function "lives."

Draw the line $y=2x$.

We want the probability that the pair $(X,Y)$ ends up (in the square and) above the line.

This is the area of a certain right triangle, divided by the area of the square, which conveniently happens to be $1$.

Remark: If the joint density function happened to be zero outside the square, but not constant in the square, the procedure is roughly similar. But instead of finding the area of the triangle, you would integrate the joint density function over the triangle.

$\endgroup$
1
$\begingroup$

For independent $X$ and $Y$ we have $$ P((X,Y)\in A)=\int_\mathbb{R} P((x,Y)\in A)\, P_X(\mathrm dx)=\int_\mathbb{R} P((X,y)\in A)\, P_Y(\mathrm dy) $$ for any (measurable) $A\subseteq \mathbb{R}$. Use this with $A=\{(x,y)\in\mathbb{R}^2\mid y>2x\}$.

The above immediately yields $$ \begin{align} P(X<\tfrac12 Y)&=\int_\mathbb{R} P(X<\tfrac12y) f_Y(y)\,\mathrm dy\\ &=\int_0^1 F_X(\tfrac12 y)\,\mathrm dy=\frac14 \end{align} $$ since $F_X(x)=x$ for $x\in [0,1]$.

$\endgroup$
2
  • $\begingroup$ I'll just be straight up that I don't understand that... $\endgroup$
    – Ortix92
    Jun 22, 2014 at 13:43
  • 1
    $\begingroup$ @Ortix92: I've added some additional steps. $\endgroup$ Jun 23, 2014 at 11:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .