The mean is given by the integral of $x$ times its probability density function. So, we have:
$$E(x) = \int_{0}^{\infty} x \cdot \frac{1}{4} e^{-x / 4} dx$$
To solve this integral, we use integration by parts, where $u=x$ and $dv=\frac{1}{4} e^{-x / 4} dx$. This
Show more…