What Are the Correct Limits for Y in This Random Variable Transformation?

windowsxp
Messages
3
Reaction score
0

Homework Statement



part iv confuse me,especially the limits for y
please look to my answer for this part and comment

Homework Equations





The Attempt at a Solution



i) I got c = 1/3
ii) P(X^2 >=1)=P(X>=1) + P(X<= -1) = 7/9
iii) P(X-1>=-1/4) = P(X>= -1/4+1)=37/576

iv) we find cdf of X
F(x) = integral from ( -2 to x ) of f(x) = int (1/3x^2) = (1/9)[ x^3 + 8]

the cdf of Y:
P(Y<=y) = P(-X<=y) = P(X>=-y) = 1- P(X<=-y) = 1-F(-y) = 1-(1/9)[- y^3 + 8]
the limits of Y ?

pdf of Y: f(y) = dF(y)/dy = (1/3) y^2

------------------------------------------------
the correct answer:
pdf of Y : f(y) = 1/9 * impulse(y) , y =0
= 1/3 y^2 , 0<y<2
why?
 

Attachments

  • 12.jpg
    12.jpg
    16.8 KB · Views: 386
Physics news on Phys.org
Welcome to PF, windowsxp!

You need to be more careful about the conditions on x when deriving the cdf. You should be getting piecewise functions.

For instance, your result for the cdf of X is incorrect. If I take x = 1000, your formula gives F_X(x) = \frac{1000^3 + 8}{9} = 111,111,112, which can't possibly be right. Similarly, if I choose a large negative number, your formula yields a negative probability, which is impossible. However, for values between -2 and 1, your formula is right. Just make sure you look at the piecewise definition of the density function when calculating the cdf. Your result have the form
<br /> F_X(x)=<br /> \begin{cases}<br /> ? &amp; \text{if} \quad x&gt;1,<br /> \\<br /> \frac{x^3 + 8}{9} &amp; \text{if} \quad -2 \leq x \leq 1,<br /> \\<br /> ? &amp; \text{if} \quad x &lt; -2<br /> \end{cases}<br />

and you should be able to fill in the question marks without too much difficulty.

Similarly for the rest of part iv), you need to take into consideration the fact that Y is also defined as a piecewise function. So there are two cases, X \leq 0 and X &gt; 0. The strange thing is that \mathbf{P}\{Y = 0\} is nonzero, which is why the correct answer for the pdf has that extra condition.
 
spamiam said:
Welcome to PF, windowsxp!

You need to be more careful about the conditions on x when deriving the cdf. You should be getting piecewise functions.

For instance, your result for the cdf of X is incorrect. If I take x = 1000, your formula gives F_X(x) = \frac{1000^3 + 8}{9} = 111,111,112, which can't possibly be right. Similarly, if I choose a large negative number, your formula yields a negative probability, which is impossible. However, for values between -2 and 1, your formula is right. Just make sure you look at the piecewise definition of the density function when calculating the cdf. Your result have the form
<br /> F_X(x)=<br /> \begin{cases}<br /> ? &amp; \text{if} \quad x&gt;1,<br /> \\<br /> \frac{x^3 + 8}{9} &amp; \text{if} \quad -2 \leq x \leq 1,<br /> \\<br /> ? &amp; \text{if} \quad x &lt; -2<br /> \end{cases}<br />

and you should be able to fill in the question marks without too much difficulty.

Similarly for the rest of part iv), you need to take into consideration the fact that Y is also defined as a piecewise function. So there are two cases, X \leq 0 and X &gt; 0. The strange thing is that \mathbf{P}\{Y = 0\} is nonzero, which is why the correct answer for the pdf has that extra condition.

thanx a lot for your comments.

the cdf of X is
F_X(x)=
\begin{cases}
0 & \text{if} \quad x>1,
\\
\frac{x^3 + 8}{9} & \text{if} \quad -2 \leq x \leq 1,
\\
1 & \text{if} \quad x < -2
\end{cases}
[/tex]
right!

Y is defined by two intervals
when X < 0 , Y= -X
from the cdf of X, F(x) = (1/9)[ x^3 + 8] , -2<x< 0
since -2<x< 0 , 0< y< 2
P(Y<=y) = P(-X<=y) = P(X>=-y) = 1- P(X<=-y) = 1-F(-y) = 1-(1/9)[- y^3 + 8]
pdf of Y: f(y) = dF(y)/dy = (1/3) y^2 ,0< y< 2

when X >0 , Y=0
from the cdf of X, F(x) = (1/9)[ x^3 + 8] , 0<x< 1
.....?
 
windowsxp said:
thanx a lot for your comments.

the cdf of X is
F_X(x)=
\begin{cases}
0 & \text{if} \quad x>1,
\\
\frac{x^3 + 8}{9} & \text{if} \quad -2 \leq x \leq 1,
\\
1 & \text{if} \quad x < -2
\end{cases}
[/tex]
right!
Almost, you just mixed up the 0 and the 1. But you have the right idea! :smile:
Y is defined by two intervals
when X < 0 , Y= -X
from the cdf of X, F(x) = (1/9)[ x^3 + 8] , -2<x< 0
since -2<x< 0 , 0< y< 2
P(Y<=y) = P(-X<=y) = P(X>=-y) = 1- P(X<=-y) = 1-F(-y) = 1-(1/9)[- y^3 + 8]
pdf of Y: f(y) = dF(y)/dy = (1/3) y^2 ,0< y< 2

when X >0 , Y=0
from the cdf of X, F(x) = (1/9)[ x^3 + 8] , 0<x< 1
.....?

The problem is, if you assume X \leq 0, then you're actually calculating a conditional probability. It's clearer to write the event \{Y \leq x\} as the disjoint union \{Y \leq x \; \text{and} \; X \leq 0\} \cup \{Y \leq x \; \text{and} \; X &gt; 0\}. Then
<br /> \mathbf{P}\{Y \leq x\} = \mathbf{P}\{Y \leq x \; \text{and} \; X \leq 0\} + \mathbf{P}\{Y \leq x \; \text{and} \; X &gt; 0\}.<br />
Now let's look at the first term:
<br /> \mathbf{P}\{Y \leq x \; \text{and} \; X \leq 0\} = \mathbf{P}\{-X \leq x \; \text{and} \; X \leq 0\}= \cdots<br />

Can you figure out the first term from there? The second term should be easy from the piecewise definition of Y.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top