How Do You Calculate E[(x+1)^2(y-1)^2] for Independent Variables?

Samwise_geegee
Messages
6
Reaction score
0

Homework Statement


Let x and y be independent random variables with E[x]=1, E[y]=-1, var[x]=1/2, var[y]=2
Calculate E[(x+1)2(y-1)2]


Homework Equations



E[x]=1=μ
E[y]=-1=μ
var[x]=1/2 =E[(x-μ)2]
var[y]=2=E[(x-μ)2]




The Attempt at a Solution



Since x and y are independent,
E[(x+1)2(y-1)2]=E[(x+1)2]*E[(y-1)2]

var[x]=1/2=E[(x-1)2]

var[y]=2=E[(y+1)2

The signs in the equation I need to solve are throwing me off. I feel like I'm missing something simple. Any help is appreciated!
 
Physics news on Phys.org
Samwise_geegee said:

Homework Statement


Let x and y be independent random variables with E[x]=1, E[y]=-1, var[x]=1/2, var[y]=2
Calculate E[(x+1)2(y-1)2]


Homework Equations



E[x]=1=μ
E[y]=-1=μ
var[x]=1/2 =E[(x-μ)2]
var[y]=2=E[(x-μ)2]




The Attempt at a Solution



Since x and y are independent,
E[(x+1)2(y-1)2]=E[(x+1)2]*E[(y-1)2]

var[x]=1/2=E[(x-1)2]

var[y]=2=E[(y+1)2

The signs in the equation I need to solve are throwing me off. I feel like I'm missing something simple. Any help is appreciated!

Sometimes the easiest approach is to use the standard result
\text{Var}(Y) = E(Y^2) - (E Y)^2,
which is true for any random variable having finite mean and variance. (At some point in your life, you should prove it.) You can expand out ##(Y-1)^2## and go on from there.
 
  • Like
Likes 1 person
Thanks Ray!

Thank you for the hint! Does this look right?

E[(x+1)2]*E[(y-1)2]

=(E[X2]+2E[X]+E[1])(E[Y2]-2E[Y]+E[1])

=(Var[X]+E[X]2+2E[X]+E[1])(Var[Y]+E[Y]2-2E[Y]+E[1])

=(.5+1+2+1)(2+1+1+1)=18
 
Last edited:
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top