Integral involving exponential logarithm

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
1 reply · 2K views
cielo
Messages
14
Reaction score
0

Homework Statement


If X is a random variable with density function: f(x) = [tex]\lambda[/tex]e[tex]^{-x \lambda}[/tex]where X>=0.

Homework Equations


Why is the expected value of X, or E[X] = [tex]\frac{1}{\lambda}[/tex]?

The Attempt at a Solution


E[X] = [tex]\int[/tex] x*([tex]\lambda[/tex]e[tex]^{- \lambda}[/tex][tex]^{x}[/tex]) dx, where the integral is from 0 to infinity.

I let u = -[tex]\lambda[/tex]x
du = -[tex]\lambda[/tex] dx

but I can't get the [tex]\frac{1}{\lambda}[/tex] as the answer when I performed the integration.
 
Physics news on Phys.org
If you let [itex]u= \lambda x[/itex] then [itex]x= u/\lambda[/itex] and the integral becomes
[tex]\int \frac{u}{\lambda}e^{-u} du= \frac{1}{\lambda}\int ue^{-u}du[/tex]

Did you remember to replace the "x" multiplying the exponential with [itex]u/\lambda[/itex]?