I want to calculate $E(X^3)$ knowing that $X\sim\exp(2).$ I have tried using the definition of expected value to calculate $E(X^3)$ and got the integral $$ \int_0^\infty x^3 2e^{-2x} \,dx.$$ Is this correct or is there an easier way to do it that I am missing?
2026-04-01 04:35:22.1775018122
On
Determine $E(X^3)$ if $X$ is $\exp(2)$
195 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
3
There are 3 best solutions below
0
On
You can use the Gamma r.v. density function, i.e., if $X\sim Gamma(n, \lambda)$, then $$ \int_{\mathbb{R}_+} \frac{\lambda ^ n}{ \Gamma(n)}e^{-\lambda x} x^{n-1} dx = 1 $$ In your case $$ \int x ^ 3 \cdot 2e ^{-2x} dx = 2\cdot \frac{3!}{2^4}\int\frac{2^4}{3!}x ^ 3 e ^{-2x}dx = \frac{3!}{2^3} $$
where $\Gamma(n) = (n-1)!$ for $n\in \mathbb{N}$.
Looks right to me.
You can calculate that integral by doing integration by parts three times. Or if you already know $E(X^2),$ once is enough, because integration by parts gives you an expression in terms of $E(X^2).$
That’s how I would expect you to do the question (at least, if you don’t know the integral already.)
A more advanced trick lets you calculate all $E(X^n)$ at once, using the Moment Generating Function:
$$\begin{align}\sum_{n=0}^\infty \frac{E(X^n)}{n!}t^n&=E\left(e^{tX}\right)\\&=\int_0^\infty 2e^{tx}e^{-2x}\,dx\\ &=\frac{2}{t-2}e^{(t-2)x}\Bigg|_0^\infty\\ &=\frac{1}{1-t/2}\quad\text{Assuming }t<2 \end{align}$$
This shows that $$E(X^n)=\frac{n!}{2^n}$$