All Exams Test series for 1 year @ ₹349 only
Question

A continuous random variable $x$ has a probability density function given by 

$f(x) = e^{-a|x|} \text{ } (-\infty < x < \infty)$ 

where $a$ is a real constant. The variance of $x$ is __________ (correct up to one decimal place).

Determine PDF Constant 'a'

The given probability density function (PDF) is $f(x) = e^{-a|x|}$. For $f(x)$ to be a valid PDF, its integral over its domain must equal 1:

$ \int_{-\infty}^{\infty} f(x) dx = \int_{-\infty}^{\infty} e^{-a|x|} dx = 1 $

Since $e^{-a|x|}$ is an even function ($f(-x) = f(x)$), the integral can be written as:

$ 2 \int_{0}^{\infty} e^{-ax} dx = 1 $

For the integral to converge, we require $a > 0$. Evaluating the integral:

$ 2 \left[ \frac{e^{-ax}}{-a} \right]_{0}^{\infty} = 1 $

$ 2 \left( 0 - \frac{e^0}{-a} \right) = 1 \implies 2 \left( \frac{1}{a} \right) = 1 $

This yields $ a = 2 $. The PDF is therefore $f(x) = e^{-2|x|}$.

Calculate Expected Value E[x]

The expected value $E[x]$ is given by:

$ E[x] = \int_{-\infty}^{\infty} x f(x) dx = \int_{-\infty}^{\infty} x e^{-2|x|} dx $

The function $g(x) = x e^{-2|x|}$ is an odd function ($g(-x) = -g(x)$). The integral of an odd function over a symmetric interval $(-\infty, \infty)$ is always 0.

$ E[x] = 0 $

Calculate Expected Value E[x^2]

The second moment $E[x^2]$ is calculated as:

$ E[x^2] = \int_{-\infty}^{\infty} x^2 f(x) dx = \int_{-\infty}^{\infty} x^2 e^{-2|x|} dx $

Since $h(x) = x^2 e^{-2|x|}$ is an even function ($h(-x) = h(x)$), we simplify:

$ E[x^2] = 2 \int_{0}^{\infty} x^2 e^{-2x} dx $

This integral can be solved using the standard formula $ \int_0^\infty x^n e^{-kx} dx = \frac{n!}{k^{n+1}} $. Here, $n=2$ and $k=2$.

$ \int_{0}^{\infty} x^2 e^{-2x} dx = \frac{2!}{2^{2+1}} = \frac{2}{2^3} = \frac{2}{8} = \frac{1}{4} $

Therefore, $ E[x^2] = 2 \times \frac{1}{4} = \frac{1}{2} $.

Compute Variance Var(x)

The variance of a random variable $x$ is defined as $ Var(x) = E[x^2] - (E[x])^2 $.

Substituting the computed values:

$ Var(x) = \frac{1}{2} - (0)^2 $

$ Var(x) = \frac{1}{2} = 0.5 $

The variance is 0.5.

Was this answer helpful?

Important Questions from Variance

  1. Consider a random variable $X$ with mean $\mu_X = 0.1$ and variance $\sigma_X^2 = 0.2$. A new random variable $Y = 2X + 1$ is defined. The variance of the random variable $Y$ (rounded off to one decimal place) is ________________.
  2. Variance of the sum of two statistically independent random variables $X$ and $Y$, $\sigma_{X+Y}^2$, is
  3. Two yarns have variance of strength as $V_1$ and $V_2$. If $V_1 < V_2$, the variance ratio 'F' would be
  4. People were prohibited ________ their vehicles near the entrance of the main administrative building.

  5. Analysis of variance (ANOVA) can be used to compare multiple groups of samples. Select the correct option that reflects the principle behind ANOVA.
Need Expert Advice?

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App