Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Probability Density Function with an exponential random variable

  1. Aug 7, 2008 #1
    The question is: if X is an exponential random variable with parameter [tex]\lambda = 1[/tex], compute the probability density function of the random variable Y defined by [tex]Y = \log X[/tex].

    I did [tex]F_Y(y) = P \{ Y \leq y \} = P \{\log X \leq y \} = P \{ X \leq e^y \} = \int_{0}^{e^y} \lambda e^{- \lambda x} dx = \int_{0}^{e^y} e^{- x} dx = -e^{-x} \Big |_0^{e^y} = -e^{-e^y} + 1 = 1 - e^{-e^y}[/tex]

    so

    [tex] \frac {d F_{|X|} (x) } {dx} = p(x) = e^x e^{-e^x}[/tex]

    Unfortunately the answer isn't in the back of the book. Does that look okay?
     
  2. jcsd
  3. Aug 8, 2008 #2

    HallsofIvy

    User Avatar
    Science Advisor

    This step is wrong. Obviously you can't just drop the [itex]\lambda[/itex] like that. I suspect what you did was a substitution but you kept the same variable. If you let [itex]u= \lambda x[/itex], then du= \lambda dx so the integrand becomes e^u du. But you need to change the limits of integration also. When x= 0, u= 0 but when x= ey, u= \lambda e^y. The correct integral is now
    [tex]\int_0^{\lambda e^y} e^{-u}du= -e^{-u}\right|_{0}^{\lambda e^y}[/tex]

     
  4. Aug 8, 2008 #3
    Since [tex]\lambda = 1[/tex] I just sort of dropped/substituted it. Thanks :-)
     
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook