Question: Let $Y= 1-X$. Find its cumulative distribution function and its density, in terms of $F_X$ and $f_X$
My way to do:
$$F_{Y}(y)=P(1-X<y)=P(X>1-y)\\=1-P(X\le1-y)\\=1-F_X(1-y) \\=1-\lim \limits_{x \to 1-y} F_X(x)$$
$$F_{Y}(y)=1-\lim \limits_{x \to 1-y} F_X(x)$$
Then, I want to find PDF by $\frac{d(F_{Y}(y))}{dy}$.
Is PDF just $-\lim \limits_{x \to 1-y}f_X(x)$ ? If wrong, how can I get that.
$$F_Y(y)=P(1-X\leq y)=P(X\geq1-y)=1-P(X<1-y)=1-P(X\leq1-y)=$$$$1-F_X(1-y)\tag1$$where the $4$-th equality is implied by the fact that $F_X$ is continuous.
This is enough concerning CDF: $F_Y$ is expressed by means of $F_X$.
If $F_X(x)$ would be differentiable (we don't know) having derivative $f(x)$ then $(1)$ tells us that $F_Y(y)$ is differentiable having derivative $f(1-y)$.
This makes us "suspect" that the function $g(y)=f_X(1-y)$ will serve as PDF of $Y$.
This can be verified by:$$\int_{-\infty}^yf_X(1-z)dz=\int_{1-y}^{\infty}f_X(x)dx=P(X\geq1-y)=P(Y\leq y)$$
Proved is now that: $$f_Y(y)=f_X(1-y)$$
This is enough concerning PDF: $f_Y$ is expressed by means of $f_X$.