We have given that,
f(x)=0.25e−0.25x,x>0
We have to find the value of E(X),
We know,
E(X)=∫0∞x0.25e−0.25xdx
=0.25∫0∞xe−0.25xdx
=0.25[−4xe−0.25x−16e−0.25x]0∞
=0.25×16
=4
Hence, E(X)=4
Var(X)=E(X2)−E(X)2
E(X2)=0.25∫0∞x2e−0.25xd x
=0.25[−4x2e−0.25x−32xe−0.25x−128e−0.25x]0∞
=0.25×128
=32
Hence, Var(X)=32−16=16
Comments