Distribution Function f(x)= .5e^|x|, find EX and Var(x)

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 6K views
badgerbadger
Messages
7
Reaction score
0
Let X be a continuous random variable with density function

f(x)= .5e^|x|

for x range R. Find EX and Var(x)

help please!
 
Physics news on Phys.org
haha yeah its f(x)= 0.5e^{-|x|}

sorry about that.
 
Then [itex]E(x)= \int_{-\infty}^{\infty}xe^{-|x|}dx[/itex] which you should be able to get by "symmetry" without needing to do the integral.

And then [itex]Var(X)= \int_{-\infty}^{\infty}x^2e^{-|x|}dx= 2\int_0^\infty x^2e^{x}dx[/itex] which you can do integrating by parts (twice).