X is a random variable with the density
$$F_X(x) = \begin{cases}2 x^{-2}, & x \in (1,2)\\ 0 & \operatorname{otherwise}\end{cases}$$
How can I find the density of $ Y= 0.5 \, X - 1$?
I thought about transforming it into
$X =2Y+2$
but I do not know how to evaluate it from there. Should I just put it into integral bounds? But from the formula $\int_{-\infty}^Xf(x)$ i get distribution not the density.
$\mathbb{P}(Y\leq y)=\mathbb{P}(X\leq 2y+2)$
If $2y+2\geq2$, i.e. $y\geq 0$ then $f_Y(y)=0$ by differentiation
If $2y+2\leq1$, i.e. $y\leq -\frac{1}{2}$, then again $f_Y(y)=0$
For $1<2y+2<2$ we have that $\mathbb{P}(X\leq 2y+2)=\int_1^{2y+2}\frac{2}{x^2}dx=\frac{2y+1}{y+1}$
Differentiate this (with respect to $y$) to geth that pdf for $y\in (-\frac{1}{2}, 0)$
In general, differentiating the cdf gives the pdf