E(X)=∫xf(x)dx
=∫0∞0.25e0.25x.xdx
=∫0∞0.25xe0.25xdx
apply integration by parts
=0.25(4e0.25xx−∫4e0.25xdx)
=0.25(4e0.25xx−16e0.25x)]0∞
=0.25((0−0)−(0−16))
=4
Var(X)
Var(X)=E(X2)−(E(X))2
E(X2)=∫x2f(x)dx
=∫0∞0.25e0.25x.x2dx
=∫0∞0.25x2e0.25xdx
apply integration by parts
=0.25(4e0.25xx2−∫8e0.25xxdx)
=0.25(4e0.25xx2−8(4e0.25xx−16e0.25x))]0∞
=0.25((0-0)-(0-8(0-16)))
=0.25*128
=32
Var(x)=32−42
=16
Comments