For $Y$ a random variable that has sample space $S = [0, \infty)$ with a density function, $$ f_Y (y) = 9ye^{−3y} $$
Find:
1) $P\{Y > \frac 1 3\}$
2) $\operatorname{E}\left(\frac 1 Y \right)$
I learned how to integrate by parts (years ago, so I'm a bit rusty) and I know there's countless resources online, but in terms of probability density functions I get a bit confused. My notes from lecture uses substitution when simplifying an integral something with gamma or E? I'm guessing this shortcut in simplifying is how to get through this problem.
For the first integral, you have
$$P(Y > \frac{1}{3}) = \int_{1/3}^{\infty} 9ye^{-3y} \> dy$$
Integration by parts is loosely just
$$\int u \> dv = uv - \int v \> du$$
We see that letting $u=y$ will simplify computation. This leaves
$$P(Y > \frac{1}{3}) = 9 \left( \left. (y(-\frac{1}{3}e^{-3y}))\right|_{1/3}^{\infty} - \int_{1/3}^{\infty} -\frac{1}{3}e^{-3y} \> dy \right)$$
You should be able to evaluate from here. Using LOTUS the expectation is just
$$E(\frac{1}{y}) = \int_0^{\infty} \frac{1}{y} 9ye^{-3y} \> dy = \int_0^{\infty} 9e^{-3y} \> dy$$