- #1
libelec
- 176
- 0
Homework Statement
[1] A random variable X is distributed as fX(x) = 1/9*(1+x)^2 1{-1<= x<= 2}.
a) Find the density function of Y = -X^2 + X + 2.
b) Find the cummulative distribution function of Y = X1{-1<=X<=1} + 1{X>=1}
[2] Find the function that transforms a variable X with fX(x) = e^(-x) 1{x>0} into a variable Y with fY(y) = 31{0<=y<=1/4} + 1/31{1/4<y<1}.
The Attempt at a Solution
The problem with exercise 1 is that the functions aren't injective in the domain of X. My first guess with a) was to use equivalent events:
FY(y) = P(Y<=y) = P(-X^2 + X + 2 <= y)
FY(y) = P(-X^2 + X + 2 - y<=0) = P([tex]X \le \frac{1}{2} - \frac{{\sqrt {9 - 4y} }}{2}[/tex]) + P([tex]X \ge \frac{1}{2} + \frac{{\sqrt {9 - 4y} }}{2}[/tex])
Then, taking into account that X is absolutely continuous:
FY(y) = P([tex]X \le \frac{1}{2} - \frac{{\sqrt {9 - 4y} }}{2}[/tex]) + (1 - P([tex]X \le \frac{1}{2} + \frac{{\sqrt {9 - 4y} }}{2}[/tex]))
FY(y) = FX([tex]\frac{1}{2} - \frac{{\sqrt {9 - 4y} }}{2}[/tex]) + (1 - FX([tex]\frac{1}{2} + \frac{{\sqrt {9 - 4y} }}{2}[/tex])).
Then I could derive term to term and find fY(y). Is this OK? I'm mainly worried about the unicity of all this, due to g(x) not being injective.
For point b), on the other hand, I don't know how to interprete it. Should I consider this a problem of conditional probabilities? I mean, FY(y) = FX|-1<=X<=1(x) + ?
For exercise 2, I need a hint. Best thing I could think was that, since fY(y) = fX(g-1(y))/(g'(g-1(y))), that in both cases g(x) must some sort of logarithmic function.
Any recomendations? Thanks.