What Is the PDF of X^2 for a Uniformly Distributed Variable X?

Click For Summary

Discussion Overview

The discussion revolves around determining the probability distribution function (pdf) of the square of a uniformly distributed random variable X, specifically when X is uniformly distributed between [0, 2]. The scope includes mathematical reasoning and exploration of different approaches to derive the pdf of X^2.

Discussion Character

  • Exploratory
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant poses the question of finding the pdf of X^2 given that X is uniformly distributed between [0, 2].
  • Another participant suggests calculating the cumulative distribution of X^2 by integration and then differentiating to find the pdf.
  • A different participant attempts to derive the pdf by squaring the pdf of X, proposing a uniform distribution for X^2 over [0, 4].
  • Several participants challenge the squaring approach, emphasizing the need for integration to find the cumulative distribution function (CDF) instead.
  • One participant provides the CDF for X^2 as an integral from 0 to √x, noting that X has zero probability in the negative range.
  • A later reply expresses confusion about the initial approach and acknowledges a misunderstanding regarding the interpretation of the pdf.
  • Another participant discusses the implications of interpreting the pdf of a continuous random variable, highlighting potential pitfalls in reasoning.
  • One participant mentions the change-of-variables rule for PDFs as an alternative method for solving the problem.

Areas of Agreement / Disagreement

Participants express differing views on the correct method to derive the pdf of X^2, with some advocating for integration while others initially propose squaring the pdf of X. The discussion remains unresolved regarding the best approach.

Contextual Notes

Participants note that the interpretation of the pdf can lead to confusion, particularly in continuous distributions, and that the problem illustrates the importance of careful reasoning in probability theory.

Tamis
Messages
7
Reaction score
0
Oke this is a simple question but it has me a bit stumped.

Given a random variable X with a uniform probability distribution between [0,2].

What is the probability distribution function (pdf) of X^2 ?
 
Last edited:
Physics news on Phys.org
Caclulate the cumulative distribution of X^2 by integration. Then find it's pdf by differentiating its cumulative.
 
Tamis said:
Oke this is a simple question but it has me a bit stumped.

Given a random variable X with a uniform probability distribution between [0,2].

What is the probability distribution function (pdf) of X^2 ?

Well, let's think through it logically. According to what you have said, the probability distribution function for ##X## is ##P(X=k)=\left\{\begin{matrix} 1/2 & k\in [0,2] \\ 0 & k\not\in [0,2] \end{matrix}\right.##

If ##X## is between 0 and 2, then ##X^2## is between 0 and 4. Since we square the stochastic variable, we square its pdf to attain the probability distribution.

Thus, our new pdf is given by ##P(X^2=k)=\left\{\begin{matrix} 1/4 & k\in [0,4] \\ 0 & k\not\in [0,4] \end{matrix}\right.##.
 
we square its pdf to attain the probability distribution.
That isn't correct. Do the integration instead.

P(X^2 \le x) = P( 0 \le X \le \sqrt{x}) since, in this particular problem, X has zero probability of being in [-\sqrt{x},0].
For 0 \le x \le 4 , the cumulative is given by:
P(X^2 \le x) = \int_0^{\sqrt{x}} \frac{1}{2} dx
 
Thnx Stephen! that was exactly what i was looking for!
 
Stephen Tashi said:
That isn't correct. Do the integration instead.

P(X^2 \le x) = P( 0 \le X \le \sqrt{x}) since, in this particular problem, X has zero probability of being in [-\sqrt{x},0].
For 0 \le x \le 4 , the cumulative is given by:
P(X^2 \le x) = \int_0^{\sqrt{x}} \frac{1}{2} dx
That makes sense...but why doesn't my answer work? I'm off by a factor of ##\frac{1}{\sqrt{x}}##. :confused:

Edit: Derp. The square root of a positive real number greater than 1 is a smaller positive real number. Thus, there is a skew. Sorry. Ignore me while I sit in the corner of shame.:-p
 
Last edited:
This problem is an example of the fact that the pdf f(x) of a continuous random variable X doesn't really have the interpretation "f(x) is the probability that X = x".

If it did have that interpretation then we could claim "the probability that X^2 = x) = the probability that X = sqrt(x) or x = - sqrt(x)), which in this problem is the probability that X = sqrt(x), which is the constant 1/2 for x in [0,4]".

Even though thinking about a pdf in such a manner gives the wrong answer in this problem, there are many other situations in probability theory where thinking about the pdf in that wrong way does suggest the correct formula.
 
Another way to solve this type of problem is the change-of-variables rule for PDFs.

The method Stephen Tashi described is also useful. IMO it is a very good idea to do some simple practice problems (like this one) with both methods.
 

Similar threads

  • · Replies 30 ·
2
Replies
30
Views
5K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 6 ·
Replies
6
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K