Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Could someone please help me with these? I am a new member, so I had to hyperlink my pdf function. Please provide me with answer, I have an assasement test very soon.

A continuous random variable x has a probability density function:

\[ \mathrm{pdf}(x) = \frac{\exp\left(-\frac{(x-3)^2}{16}\right)}{\sqrt{16\pi}}, \qquad x\in (-\infty, \infty) \]

a) Find the expected value, variance and the standard deviation of continuous random variable.

b) Find the expected value of a random variable $\exp(-x/2)$

share|cite|improve this question
Hint: (a) Do you know about normal random variables? (b) Complete the square. – Dilip Sarwate Nov 9 '12 at 16:13
up vote 1 down vote accepted

Continuing on Dilip's suggestion. PDF or a Normal RV is $$ f(x)=\frac{1}{\sqrt{2 \pi} \sigma}e^{-\big( \frac{x- \mu}{\sigma \sqrt{2}} \big)^2} $$ Using the values, you get $\mu=3, \sigma^2=8$, hence $X \sim N(3,8)$.

EDIT I probably misunderstood the OP's second question, as Dilip pointed out. Here's what I'd do. If $X \sim N(0,1)$, then: $$ \mathbf{E}e^{-\frac{x}{2}}=\frac{1}{\sqrt{2 \pi}} \int_{-\infty}^{\infty}e^{-\frac{x}{2}}e^{-\frac{x^2}{2}}dx=\frac{1}{\sqrt{2 \pi}} \int_{-\infty}^{\infty}e^{-\big(\frac{x^2}{2}+\frac{x}{2})}dx=\frac{e^{\frac{1}{8}}}{\sqrt{2 \pi}} \int_{-\infty}^{\infty}e^{-\frac{1}{2} \big(x+ \frac{1}{2} \big)^2}dx = e^{\frac{1}{8}} \cdot 1\\ $$ The last step is since the integral is $\mathbf{P}(-\infty < X<\infty)$=1, where $X \sim N(-\frac{1}{2},1)$

share|cite|improve this answer
I think the second question asks for $E[\exp(-X/2)]$ and $X\sim N(0,1)$ has nothing to do with the matter. – Dilip Sarwate Nov 10 '12 at 5:24
Thanks, edited. – Alex Nov 12 '12 at 1:11

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.