# Moment Generating Function - Integration Help

 P: 4 I am working on a probabilty theory problem: Let (X,Y) be distributed with joint density f(x,y)=(1/4)(1+xy(x^2-y^2)) if abs(x)≤1, abs(y)≤1; 0 otherwise Find the MGF of (X,Y). Are X,Y independent? If not, find covariance. I have set up the integral to find the mgf ∫∫e^(sx+ty)f(x,y)dx dy with both integrals from -1 to 1. I am having trouble integrating this though in order to move on with the problem. I began to try integration by parts and I do not think that is the best route but have no other ideas. If anyone can help, I would greatly appreciate it!
HW Helper
Thanks
P: 5,193
 Quote by ARLM I am working on a probabilty theory problem: Let (X,Y) be distributed with joint density f(x,y)=1/4(1+xy(x^2-y^2)) if abs(x)≤1, abs(y)≤1; 0 otherwise Find the MGF of (X,Y). Are X,Y independent? If not, find covariance. I have set up the integral to find the mgf ∫∫e^(sx+ty)f(x,y)dx dy with both integrals from -1 to 1. I am having trouble integrating this though in order to move on with the problem. I began to try integration by parts and I do not think that is the best route but have no other ideas. If anyone can help, I would greatly appreciate it!
Please use parentheses. Do you mean
$$f(x,y) = \frac{1}{4}(1 + xy(x^2 - y^2)),$$
or do you mean
$$f(x,y) = \frac{1}{4(1 + xy(x^2 - y^2))}?$$
If you mean the first one, just write (1/4)(...) to make it clear; if you mean the second one, write 1/(4(...)).
 P: 4 Yes, I mean the first one! Thank you.
HW Helper
Thanks
P: 5,193
Moment Generating Function - Integration Help

 Quote by ARLM Yes, I mean the first one! Thank you.
OK. So given the conditions on |x| and |y|, what are the ranges of x and y themselves?

Since you have a 2-variable integration, you can integrate first over y (for any fixed x), then integrate the result over x; or you can do it in the other order. Is that what you have tried to do?

You really need to supply more details, since we have no way of helping if we do not know where you are stuck.
 P: 4 I set up the integral $\frac{1}{4}$$\int$$\int$e$^{sx+ty}$(1+xy(x$^{2}$+y$^{2}$))dx dy Both integrals are from -1 to 1 (I don't know how to show that) I tried distributing xy and using integration by parts with u = 1+(x^3)y +x(y^3) and dv= e^(sx+ty) but not sure that this is the right idea because it would take numerous integrations before reducing to one function and then I would have to do it again for the second integral. Other than that, I haven't tried anything.
HW Helper
Thanks
P: 1,024
 Quote by ARLM I set up the integral $\frac{1}{4}$$\int$$\int$e$^{sx+ty}$(1+xy(x$^{2}$+y$^{2}$))dx dy Both integrals are from -1 to 1 (I don't know how to show that)
The $x^2 - y^2$ in the original seems to have turned into $x^2 + y^2$.

 I tried distributing xy and using integration by parts with u = 1+(x^3)y +x(y^3) and dv= e^(sx+ty) but not sure that this is the right idea because it would take numerous integrations before reducing to one function and then I would have to do it again for the second integral. Other than that, I haven't tried anything.
Use the fact that $e^{sx+ty} = e^{sx}e^{ty}$, and that $e^{sx}$ does not depend on y to get
$$\frac14 \int_{-1}^1 e^{sx}\left(\int_{-1}^1 e^{ty}(1 + xy(x^2 - y^2))\,\mathrm{d}y\right)\,\mathrm{d}x$$

Start by working out $\int_{-1}^1 xe^{kx}dx$, $\int_{-1}^1 x^2e^{kx}dx$, and $\int_{-1}^1 x^3e^{kx}dx$. You're going to need these repeatedly, so you may as well do them once and then write in the values as needed.

You may also want to note that $e^k - e^{-k} = 2\sinh k$ and that $e^k + e^{-k} = 2\cosh k$
 P: 4 Ok, thanks!

 Related Discussions Precalculus Mathematics Homework 3 Set Theory, Logic, Probability, Statistics 6 Calculus & Beyond Homework 7 Set Theory, Logic, Probability, Statistics 3 Calculus & Beyond Homework 0