Let $X$ be a random variable and $f$ and invertible function. The cumulative distribution (CDF) of $X$ is defined as $$F_{X}(x) = \mathrm{P}(X\leq x).$$
The CDF of $Y=f(X)$ is then $$F_{Y}(y) = \mathrm{P}(Y\leq y) = \mathrm{P}(f(X)\leq y) = \mathrm{P}(X \leq f^{-1}(y)) = F_{X}(f^{-1}(y)).$$
It would appear that this is always true when $f$ is invertible. However, is it so? Is there anything I am missing?
How would I continue from here to get the probability density function of $Y$ as well?