MHB PDF of X^2: General Method & Question Answered

  • Thread starter Thread starter nacho-man
  • Start date Start date
  • Tags Tags
    Pdf Writing
Click For Summary
To find the PDF of Y = X^2 for a positive continuous random variable X, one must first determine the CDF of Y, which is expressed as P(Y < y) = P(X^2 < y) = P(X < √y). The PDF of Y can then be derived by differentiating this CDF with respect to y. The correct formula involves the PDF of X evaluated at √y, multiplied by the derivative of √y. This method clarifies the relationship between the PDFs of X and Y, addressing the initial confusion about their similarity.
nacho-man
Messages
166
Reaction score
0
I just started this topic and have a question:

For a positive continuous random variable X, write down the PDF of Y = X^2 in terms of the PDF of X.

So; writing the PDF of X, I get

P(0<X<∞) =integral from 0 to ∞ fx(x)dx

Is this correct? For Y=X^2, wouldn't the pdf be the exact same thing, since the question asks for positive continuous random variables anyway?

Is there a general method, approach I should have about this. I find pdfs to be confusing, the textbooks are heavy on jargon.
 
Last edited by a moderator:
Physics news on Phys.org
nacho said:
I just started this topic and have a question:

For a positive continuous random variable X, write down the PDF of Y = X^2 in terms of the PDF of X.

So; writing the PDF of X, I get

P(0<X<∞) =integral from 0 to ∞ fx(x)dx

Is this correct? For Y=X^2, wouldn't the pdf be the exact same thing, since the question asks for positive continuous random variables anyway?

Is there a general method, approach I should have about this. I find pdfs to be confusing, the textbooks are heavy on jargon.

Welcome to MHB, nacho! :)

Since your questions were sufficiently different to warrant their own threads, I have taken the liberty to split them into 2 threads. We prefer 1 question per thread here (unless the questions are parts of the same problem statement).
Now to address your problem, to find a PDF, the general method is to look at the CDF and take its derivative.

In your case the CDF of Y is:
$$P(Y < y) = P(X^2 < y) = P(X < \sqrt y) = \int_{0}^{\sqrt y} f_X(x) dx$$
Note that the lower boundary can be zero, since X is given to be positive.

To find the PDF of Y, you need to differentiate its CDF.
$$f_Y(y) = \frac{d}{dy}P(Y < y)$$
Now supposed $F_X(x)$ is the anti-derivative of $f_X(x)$, which is actually the same as the CDF of X, then you get:
$$f_Y(y) = \frac{d}{dy}P(Y < y) = \frac{d}{dy}\int_{0}^{\sqrt y} f_X(x) dx
=\frac{d}{dy}\Big(F_X(\sqrt y) - 0\Big) = f_X(\sqrt y) \frac{d}{dy}(\sqrt y)$$

Does that answer your question?
 
Last edited:
There is a nice little variation of the problem. The host says, after you have chosen the door, that you can change your guess, but to sweeten the deal, he says you can choose the two other doors, if you wish. This proposition is a no brainer, however before you are quick enough to accept it, the host opens one of the two doors and it is empty. In this version you really want to change your pick, but at the same time ask yourself is the host impartial and does that change anything. The host...

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
2
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 6 ·
Replies
6
Views
4K
Replies
12
Views
5K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 9 ·
Replies
9
Views
4K