Probabilités continues — solved exercise (Undergraduate)
Statement
X follows an exponential distribution with rate λ = 2. Compute E[X²].
Strategy
Use the density of an exponential random variable and compute the second moment by integration.
Step-by-step solution
1. Recall the density
If $X\sim \mathrm{Exp}(\lambda)$, then its density is
$$f_X(x)=\lambda e^{-\lambda x},\qquad x\ge 0.$$
Here $\lambda=2$, so
$$f_X(x)=2e^{-2x},\qquad x\ge 0.$$
📖 Definition of the exponential distribution with rate parameter $\lambda$.
2. Compute the second moment
By definition,
$$\mathbb{E}[X^2]=\int_0^{+\infty} x^2 f_X(x)\,dx
=\int_0^{+\infty} 2x^2e^{-2x}\,dx.$$
Evaluating this integral gives
$$\mathbb{E}[X^2]=\frac12.$$
📖 For a continuous random variable, $\mathbb{E}[g(X)]=\int g(x)f_X(x)\,dx$ when the integral exists.
Result
$$\boxed{\mathbb{E}[X^2]=\frac12}$$
Question-by-question check (two independent resolutions)
| 1 | 1/2 | ✔ |
Key concepts
Exponential distributionProbability density functionSecond momentImproper integral
Tip
Remember the useful formula for exponential moments: $\mathbb{E}[X^n]=n!/\lambda^n$.
Have a similar exercise? Get it solved step by step, for free.
🧮 Solve my exercise