2.3 Mathematical Expectation: Xpxifxisad.R.Vwithp.M.F.Px X E Xfxdxifxisac.R.Vwithp.D.F.Fx
2.3 Mathematical Expectation: Xpxifxisad.R.Vwithp.M.F.Px X E Xfxdxifxisac.R.Vwithp.D.F.Fx
3
Mathematical Expectation
The term expectation is used for the process of averaging when a random variable
is involved. It is the number used to locate the centre of the probability
distribution (p.m.f or p.d.f) of a random variable. A probability distribution is
described by certain satisfied measures which are computed using mathematical
expectation (or expectation)
Find and .
Solution:
Example 2: Find the expectation of the number on a die when thrown.
Solution: Let be the random variable representing the number on a die when
thrown. Then can take any one of the values each with equal
probability . Hence
Example 3: Two unbiased dice are thrown. Find the expected values of the sum
of numbers of points on them.
Solution: Define is the sum of the numbers obtained on the two dice and
and its probability distribution is given by
Example 4: In four tosses of a coin, let be the number of heads. Find the mean
and variance of .
Solution: The sample space consists of outcomes and the following
table gives the outcomes and the value of for each outcome is
1
, 0 x2
f x 2
0 , otherwise
Solution:
2
2 12 1 x2
x. f x dx 2 x.dx 2 2 1 0 1
0 0 0
Variance
2
3
2 2 1 2 2 1 x 1 1 2 1
x 1 . f x dx 2 x 1 .dx 2 3 2 3 3
0 0 0
Example 6: Find the mean of the random variable whose p.d.f. is given by
e x , x 0
f x
0 , otherwise
Solution:
1 2 x x
x e x 0 1 1
x f x dx
20 xe dx
xe 0 e dx 0 0
0 0
The following theorems are proved by assuming that the random variables are
continuous. If the random variables are discrete, the proof remains the same
except replacing integration by summation.
ax b f x .dx a x f x dx b f x .dx a E X b f x .dx 1
Corollary 1: If , then
Now, x y f x, y .dx.dy
x f x, y dxdy y f x, y dxdy
x f x, y dy dx y f x, y dx dy
x f1 x dx y f 2 y dy E X E Y
Now, xy f x, y dx dy
x, y f1 x f 2 y dx dy X and Y are independent
x f1 x dx
y f 2 y dy E X E Y
Theorem 5:
Proof:
is a constant and
Corollary 2: If , then
Covariance: If and are two random variables, then the covariance between
them is defined by
Cov
Note:
Proof:
n n n
Let U ai X i , then ai E X i and ai X E X i
i1 i1 i1
n 2 n n
i i i ai a j X i E X i X j E X j
2
a X E X 2
i1 i1 j 1
i j
n 2
ai E X i E X i 2 ai a j E X i E X i X j E X j
2 n n
i1 i 1 j 1
i j
n
n n n
V ai X i V U ai 2V X i 2 ai a j cov X i ,X j
i1 i1 i1 j 1
i j
Note:
n n
1. If are independent , then V ai X i ai 2V X i
i1 i1
2. If and , then
3. If and , then
2 x y ,0 x 1,0 y 1
f x, y
0 , otherwise
Find
i. m.p.d.fs of and
ii. c.p.d.fs of and
iii. and
iv. Covariance between and
Solutions:
1
1 1 y 2 1 3
i. f1 x f x, y dy 2 x y dy 2 y xy
2 x x
0 0 2
0
2 2
3
x ,0 x 1
f1 x 2
0 , otherwise
3
y ,0 y 1
Similarly f 2 y 2
0 , otherwise
ii. ,
and ,
1 1
3 5
iii. xf1 x dx x 2 x dx 12 and
0 0
1 1
23 1
x f1 x dx x 2 x dx 4
2
0 0
Thus
Similarly
11 1 1 1
iv. xy f x, y dxdy xy 2 x y dxdy 6 (verify!)
00 0 0