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

Click For Summary

Homework Help Overview

The discussion revolves around the transformation of random variables, specifically focusing on the limits for the variable Y derived from X. The original poster expresses confusion regarding the limits for Y in part iv of their homework, particularly in relation to the cumulative distribution function (cdf) and probability density function (pdf) of Y.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • The original poster attempts to derive the cdf of Y based on the cdf of X, questioning the limits for Y. Some participants suggest that the cdf of X should be treated as a piecewise function, indicating that the original poster's calculations may not account for all conditions on X. There is also a discussion about the implications of Y being defined in two intervals based on the values of X.

Discussion Status

Participants are actively engaging with the original poster's attempts, providing feedback on the need for piecewise definitions and clarifying the conditions under which Y is defined. There is recognition of the complexity involved in determining the pdf of Y, particularly regarding the nonzero probability at Y = 0.

Contextual Notes

There are indications that the original poster may be missing certain conditions or definitions related to the random variable transformations, particularly in how the limits for Y are derived from the behavior of X. The discussion highlights the need for careful consideration of the piecewise nature of the functions involved.

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: 407
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 [itex]F_X(x) = \frac{1000^3 + 8}{9} = 111,111,112[/itex], 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
[tex] F_X(x)=<br /> \begin{cases}<br /> ? & \text{if} \quad x>1,<br /> \\<br /> \frac{x^3 + 8}{9} & \text{if} \quad -2 \leq x \leq 1,<br /> \\<br /> ? & \text{if} \quad x < -2<br /> \end{cases}[/tex]

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, [itex]X \leq 0[/itex] and [itex]X > 0[/itex]. The strange thing is that [itex]\mathbf{P}\{Y = 0\}[/itex] 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 [itex]F_X(x) = \frac{1000^3 + 8}{9} = 111,111,112[/itex], 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
[tex] F_X(x)=<br /> \begin{cases}<br /> ? & \text{if} \quad x>1,<br /> \\<br /> \frac{x^3 + 8}{9} & \text{if} \quad -2 \leq x \leq 1,<br /> \\<br /> ? & \text{if} \quad x < -2<br /> \end{cases}[/tex]

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, [itex]X \leq 0[/itex] and [itex]X > 0[/itex]. The strange thing is that [itex]\mathbf{P}\{Y = 0\}[/itex] 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 [itex]X \leq 0[/itex], then you're actually calculating a conditional probability. It's clearer to write the event [itex]\{Y \leq x\}[/itex] as the disjoint union [itex]\{Y \leq x \; \text{and} \; X \leq 0\} \cup \{Y \leq x \; \text{and} \; X > 0\}[/itex]. Then
[tex] \mathbf{P}\{Y \leq x\} = \mathbf{P}\{Y \leq x \; \text{and} \; X \leq 0\} + \mathbf{P}\{Y \leq x \; \text{and} \; X > 0\}.[/tex]
Now let's look at the first term:
[tex] \mathbf{P}\{Y \leq x \; \text{and} \; X \leq 0\} = \mathbf{P}\{-X \leq x \; \text{and} \; X \leq 0\}= \cdots[/tex]

Can you figure out the first term from there? The second term should be easy from the piecewise definition of Y.
 

Similar threads

Replies
4
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
9
Views
2K
Replies
2
Views
2K
Replies
2
Views
2K
Replies
8
Views
1K
Replies
23
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K