Let us define \(Y = {X^2}\)
What is the CDF approach?
A CDF approach is a method of random variable transformation wherein the pdf of the new variable is fetched from the CDF of the new variable, which is in terms of the CDF of the old variable.
The CDF approach steps,
- We substitute the Y variable in the CDF formula in a CDF approach.
- We then substitute Y in terms of X.
- We reduce this form until we bring the CDF in terms of X.
- Since we have already calculated the CDF of X, we replace the form of variable y in the formula for X.
- In the final step, we get the CDF of Y variable as an expression of the CDF of X with y variables.
By using the CDF approach.
\(\begin{aligned}G\left( y \right) &= P\left( {Y \le y} \right)\\ &= P\left( {{X^2} \le y} \right)\\ &= P\left( { - {y^{\frac{1}{2}}} \le X \le {y^{\frac{1}{2}}}} \right)\\ &= \int_{ - {y^{\frac{1}{2}}}}^{{y^{\frac{1}{2}}}} {f\left( x \right)} dx\\ &= {y^{^{\frac{1}{2}}}}\end{aligned}\)
Therefore, the CDF of Y is \({y^{^{\frac{1}{2}}}}\)
Convert the CDF into PDF
For 0<y<1, it follows that p.d.f g(y) of Y is
\(\begin{aligned}g\left( y \right) &= \frac{{dG\left( y \right)}}{{dy}}\\ &= \frac{1}{{2{y^{\frac{1}{2}}}}}\end{aligned}\)