let X be an exponential random variable with parameter 1. $X = exp(1)$, and let Y be equal to $$Y = \frac{x+1}{x}$$ I need to find density function of Y. $f_y(x)$.
I've done as follows: $$F_y(Y) = P(Y \leq y) = P(\frac{x+1}{x} \leq y)$$ but here's the problem, because I don't know how to get $P(X <= y)$ from $P(\frac{x+1}{x} \leq y)$. Meaning, I need to obtain X in the left hand side, and the rest on the right hand side, because this is the way to obtain $F_x(y)$. When I have distribution function I can take the first derivative and obtain the density function. But the problem is that I don't know how to proceed further. For now, I'm stuck in this phase: $$P(\frac{x+1}{x} \leq y)$$
EDIT: I think I can simplify the fraction as follows: $$\frac{x}{x} + \frac{1}{x}$$ and I'd get: $$x >= \frac{1}{y-1}$$ and I get: $$1-F_x( \frac{1}{y-1})$$ and the other steps are about finding the derivatives and substitute what I got with the exponential distribution. (I think that's the correct answer).
Because $P(X > 0) = 1$ and $Y = 1 + \frac{1}{X}$, we have $P(Y > 1) = 1$. Hence, $$ F_Y(y) = 0, \qquad y \le 1. $$ Next, for y > 1 it follows that $$ P(Y \le y) = P(\tfrac{X+1}{X} \le y) = P(X+1 \le Xy) = P\bigl(X(1-y) \le -1\bigr) = P(X \ge \tfrac{1}{y-1})\\ = 1 - F_Y(\tfrac{1}{y-1}). $$ Finally $$ F_Y(y) = \begin{cases} 0, & y \le 1,\\ 1 - F_X(\tfrac{1}{y-1}), & y > 1. \end{cases} $$