Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

I am stuck on this problem:

enter image description here

I am given the CDF, and unless there is a shortcut I am not remembering, I need to find the PDF before I can get the moment generating function and solve the problem.

In this case, it looks like the only part that "matters" is the second part, because if f(x) = (d/dx)F(x), the x<1 and x>=2 pieces are just zero. Thus, I think I am left with this PDF: f(x) = (x-1) for 1 <= x < 2. To get the moment generating function, then, I would do this, right? :

enter image description here

If I calculated right, this integral gives me:

enter image description here

I think the second derivative of this would have t stuff in the bottom, so how could I evaluate it at zero (if that is what is being asked for)? Otherwise, where did I go wrong in approaching this?

share|improve this question
add comment

2 Answers 2

The second derivative of the MGF evaluated at 0 is the second moment of the RV, hence the name. So your integral should become easier.

So we have: $E[X^2] = \frac{1}{2} + \int_1^2 t^2 \cdot (t-1) dt = \ldots = \frac{23}{12} \approx 1.92$

Note that the CDF has point mass $\frac{1}{2}$ at $1$, hence the $\frac{1}{2}$.

share|improve this answer
    
Ah! Of course! But where does the 1/2 come from? I thought the second moment was just E[X^2]. –  nicole Apr 7 '13 at 15:51
    
I'm sorry but I cannot recall the definition/fact/theorem that implies that the probability mass at $x=1$ is $\frac{1}{2}$. I believe what's been stated above but I've been looking for the formal definition and I just cannot find it. Stated more formally: how do you find the pdf given a (strictly) right continuous cdf? –  user78000 Jun 15 '13 at 2:19
    
The facts that $F(x)$ is zero for values smaller than $1$ and $\frac{1}{2}$ at $1$ imply the point mass. Where the cdf is differentiable the pdf is the derivative of the cdf. At 1 however, $F(x)$ ist not differentiable, as it has a "jump". –  user1965813 Jun 26 '13 at 12:11
add comment

We have by the substitution $u=x-1$, $$M_X(t)=e^t\int_0^1ue^{tu}du,$$ and defining $h(t):=\int_0^1ue^{tu}du$, we get $$M_X''(t)=e^t(h(t)+2h'(t)+h''(t)),$$ so it remains to compute $h(0)$, $h'(0)$ and $h''(0)$. For $h(0)$, it's simple. We have $h(t)=\frac 1t(e^t-\int_0^1e^{tu}du)=\frac{te^t-e^t+1}{t^2}$, and we can evaluate the limit as $t\to 0$. Use a similar idea for $h''(0)$.

If you know you can differentiate under the integral, the you can avoid these computations.

share|improve this answer
    
Is there a different way to do this besides u-substitution? I am pretty rusty on that. –  nicole Apr 6 '13 at 21:29
add comment

Your Answer

 
discard

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.