Let $X$ be a continuous random variable.
$X$ has a constant PDF on $(0,1]$, and another constant PDF on $(1,2]$.
The PDF of $X$ is given by: $$ f_X(x)= \begin{cases} c, & \text{for } 0<x\leq 1,\\ d, & \text{for } 1<x\leq 2,\\ 0, & \text{otherwise}. \end{cases} $$ It is known that
$$ \mathbb{P}(1\leq X\leq 2) = 2\cdot\mathbb{P}(0\leq X<1)$$
What are the values of $c$ and $d$?
- $c=\frac{1}{2},\quad d=\frac{1}{2}$
- $c=\frac{1}{3},\quad d=\frac{2}{3}$
- $c=\frac{2}{3},\quad d=\frac{1}{3}$
- $c=\frac{1}{4},\quad d=\frac{3}{4}$