Best way to integrate a moment generating function?

AI Thread Summary
The discussion centers on integrating the function ∫etxx2e-x, with a known solution of -1/(t-3)³. Participants express difficulty with the integration process, particularly using integration by parts, and inquire about potential shortcuts. It is clarified that integration by parts is the standard method and no shortcuts are available, though practicing this technique can simplify the process. An alternative approach suggested involves differentiating with respect to the parameter. The final results for mean and variance align with expected values, indicating that the integration method, despite its complexity, yields correct statistical outcomes.
trojansc82
Messages
57
Reaction score
0

Homework Statement



∫etxx2e-x

Homework Equations



M(t) = etx f(x) dx

The Attempt at a Solution



I know the solution is -1/(t-3)3, however I'm having difficulty integrating the function. UV - ∫ V DU is extremely long and challenging, I'm wondering if there is a shortcut (i.e. quotient rule?)

Also, there is a process used here but I'm unable to understand it:

Untitled-1.jpg
 
Physics news on Phys.org
trojansc82 said:

Homework Statement



∫etxx2e-x

Homework Equations



M(t) = etx f(x) dx

The Attempt at a Solution



I know the solution is -1/(t-3)3, however I'm having difficulty integrating the function. UV - ∫ V DU is extremely long and challenging, I'm wondering if there is a shortcut (i.e. quotient rule?)

Unfortunately, integration by parts is the antiderivative method generated by the product or quotient rules. I don't know of any shortcut. Let u = x2 the first round than u = x the second round and you should be able to integrate the result directly.
 
It looks like that example integrated by parts multiple times. It is easy if you practice. Another method could be differentiation by the parameter.
Let In(t) be integrals like yours where n is the power of x

Then notice
In(t)=DnI0(t)=Dn(-1/(t-1))

where
D is differentiation with respect to t
I0(t)=(-1/(t-1))
 
LCKurtz said:
Unfortunately, integration by parts is the antiderivative method generated by the product or quotient rules. I don't know of any shortcut. Let u = x2 the first round than u = x the second round and you should be able to integrate the result directly.

I did the integration by parts, and I ended up with 1/(1-t)3...is that incorrect?

The mean and variance were still the same as the book's answers (μ = 3, σ2 = 3)
 
Thread 'Use greedy vertex coloring algorithm to prove the upper bound of χ'
Hi! I am struggling with the exercise I mentioned under "Homework statement". The exercise is about a specific "greedy vertex coloring algorithm". One definition (which matches what my book uses) can be found here: https://people.cs.uchicago.edu/~laci/HANDOUTS/greedycoloring.pdf Here is also a screenshot of the relevant parts of the linked PDF, i.e. the def. of the algorithm: Sadly I don't have much to show as far as a solution attempt goes, as I am stuck on how to proceed. I thought...
Back
Top