PDF of X^2: General Method & Question Answered

  • Context: MHB 
  • Thread starter Thread starter nacho-man
  • Start date Start date
  • Tags Tags
    Pdf Writing
Click For Summary
SUMMARY

The discussion focuses on deriving the probability density function (PDF) of the transformed random variable Y = X^2 from the PDF of a positive continuous random variable X. The correct approach involves using the cumulative distribution function (CDF) of Y, which is expressed as P(Y < y) = P(X < √y) = ∫0√y fX(x) dx. To obtain the PDF of Y, one must differentiate this CDF, resulting in fY(y) = fX(√y) * (1/(2√y)). This method clarifies the relationship between the PDFs of X and Y.

PREREQUISITES
  • Understanding of probability density functions (PDFs)
  • Familiarity with cumulative distribution functions (CDFs)
  • Knowledge of differentiation in calculus
  • Concept of transformation of random variables
NEXT STEPS
  • Study the relationship between CDFs and PDFs in probability theory
  • Learn about transformations of random variables in statistics
  • Explore the differentiation techniques for functions involving square roots
  • Review examples of deriving PDFs from known distributions
USEFUL FOR

Students and professionals in statistics, data science, and mathematics who are working with probability distributions and transformations of random variables.

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:

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
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
3K
  • · Replies 6 ·
Replies
6
Views
5K
  • · Replies 12 ·
Replies
12
Views
5K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 9 ·
Replies
9
Views
5K