How do you find moment generating function?

AI Thread Summary
To find the moment generating function (MGF) for the given random variable X with the specified probability density function (pdf), one must compute the integral of e^(tk) multiplied by the pdf over its defined intervals. The correct approach involves integrating from 0 to 1 for the first part of the pdf and from 1 to 2 for the second part. Specifically, the MGF is calculated as the sum of the integrals: from 0 to 1 of e^(tk) * x and from 1 to 2 of e^(tk) * (2 - x). This method effectively combines the contributions from both segments of the pdf to derive the MGF. Understanding this integration process is crucial for solving MGF problems involving piecewise functions.
semidevil
Messages
156
Reaction score
2
I have absolutly no idea how to do this.

so let X be a random variable with pdf fx(xy) =
x for 0<=x<=1
2 - x for 1 <= 1 <= 2
0 otherwise.

I"m looking through my book, and it doesn't give examples that resembles this.

all I see is the moment is e^(tk) * the function...

and tI don't know what to do when it comes to my problem.

is it the integeral from 0 to 1 of e^(tk) * x + the integeral from 1 to 2 of e^tk * 2 - x?
 
Physics news on Phys.org
If you mean int(e^(t*k) *x,x= 0 .. 1) + int(e^(t*k) * (2-x),x=1 ..2) you are right.
 
I was reading documentation about the soundness and completeness of logic formal systems. Consider the following $$\vdash_S \phi$$ where ##S## is the proof-system making part the formal system and ##\phi## is a wff (well formed formula) of the formal language. Note the blank on left of the turnstile symbol ##\vdash_S##, as far as I can tell it actually represents the empty set. So what does it mean ? I guess it actually means ##\phi## is a theorem of the formal system, i.e. there is a...
Back
Top