Let $f(x) = a(e^{-2x}-e^{-3x}),$ for $x\geq 0$, and $f(x) = 0$ elsewhere.
(a) Find $a$ so that $f(x)$ is a probability density function.
(b) What is $P(X\leq 1)$?
If it is possible, please show me the detail steps how to solve the first question.
Thank you very very much!
Hint: $a)$ to be a density function, it must be : $\displaystyle \int_{-\infty}^{\infty} f(x)dx = 1$. Split the integral.
$b)$ $P(X\leq 1) = \displaystyle \int_{-\infty}^1 f(x)dx= \displaystyle \int_{0}^1 f(x)dx$