I am reading some probability courses on the https://www.probabilitycourse.com/chapter4/4_1_3_functions_continuous_var.php . It says the following :
Let X be a Uniform(0,1) random variable, and let $Y=e^X$
I would like to ask why the following equation is correct:
$$P(e^X \leq y)=P(X \leq \ln y)$$
Intuitively, we can apply the ln operator in the first CDF to get the second CDF. However, I am confused when I expand these 2 cumulative distribution functions into the integral format.
$$P(Y \leq y) = P(e^X \leq y)=\int_{{-\infty}}^{y} f_y(y) dy=\int_{{-\infty}}^{y} f_y(e^x) dy=\int_{{-\infty}}^{\ln y} f_y(e^x) e^x dx$$
$$P(X \leq \ln y)=\int_{{-\infty}}^{\ln y} f_x(x) dx$$
$f_x$ and $f_y$ are the corresponding pdfs.
I can not see directly that the equation $\int_{{-\infty}}^{\ln y} f_y(e^x) e^x dx = \int_{{-\infty}}^{\ln y} f_x(x) dx$ can really hold .
So I would like to ask why the transformation in the scope of the cumulative distribution function works ? Did I miss some axiom ? I guess it should be a basic question but I can not get it from google.
Thank you
I agree with @Grada Gukovi's comment, and I find the Method of Transformation will produce the equation $ f_y(e^x) e^x = f_y(y) e^x = f_x(x) $ .
What I think in this problem is that , the statement of $P(e^X \leq y)=P(X \leq \ln y)$ should not be a simple transformation without evidence. Because $P(e^X \leq y)$ is the integral for random variable y and $P(X \leq \ln y)$ is the integral for random variable x. This equation is not easy to be derived and gives me lots of worrys. From my thinking, we can only get this equation after using the Method of Transformation.
I guess we can not say $P(e^X \leq y) = P(X \leq \ln y) $ if $(e^X \leq y) = (X \leq \ln y) $ simply.