An Introduction to Random Variables (Part 2)

Posted: 11 Jan 03

This article follows on from An Introduction to Random Variables (Part 1).  Here, fundamental results regarding the expectation and variance of random variables (discrete or continuous) are stated and proved.

Property 1

For some constant c Î Â and random variable X,

E(cX) = cE(X).   (1)

Proof:
From Part 1-(1), for X discrete

Equation

while from Part 1-(8), for X continuous

Equation

Property 2

For discrete or continuous random variables X and Y,

E(X + Y) = E(X) + E(Y).    (2)

Proof:
Suppose X and Y have joint mass function fX,Y : Â2 ® [0, 1] given by fX,Y(x, y) = P(X = x and Y = y). Then, for X and Y discrete, an extension of Part 1-(1) gives

Equation

Noting Part 1-(8), for X and Y continuous the proof begins

Equation

where fX,Y(x, y) : Â2 ® [0, ¥) is the joint density function of X and Y. The proof then proceeds in a similar way to the discrete case with summations replaced by integrations.

Property 3

For discrete or continuous independent random variables X and Y,

E(XY) = E(X)×E(Y)    (3)

Proof:
The proof of (3) is first presented for discrete random variables X and Y. Let X and Y have joint mass function fX,Y(x, y) : Â2 ® [0, 1] given by fX,Y = P(X = x and Y = y). If X and Y are independent, then (by definition) the probability of Y occurring is not affected by the occurrence or non-occurrence of X. For X and Y independent,

P(X = x and Y = y) = P((X = x) Ç (Y = y)) = P(X = x)×P(Y = y),

so that fX,Y(x, y) = fX(x)×fY(y). Therefore,

Equation

For X and Y continuous, the proof begins

Equation

where fX,Y : Â2 ® [0, ¥) is the joint density function of X and Y. The proof then proceeds in a similar way to the discrete case with summations replaced by integrations.

Property 4

For the discrete or continuous random variable X,

Equation 4   (4)

Proof:
The proof of (4) holds for X discrete or continuous. As a shorthand notation, let m = E(X). Then,

Equation

Property 5

For the discrete or continuous random variable X and the constant c Î Â,

Var(cX) = c2×Var(X).    (5)

Proof:
The proof of (5) holds for X discrete or continuous. Again, let m = E(X). Then,

Var(cX) = E((cX - cm)2) = E(c2×(X - m)2) = c2×E((X - m)2) = c2×Var(X).

Property 6

For discrete or continuous independent random variables X and Y,

Var(X + Y) = Var(X) + Var(Y).    (6)

Proof:
The proof of (6) holds for X and Y discrete or continuous. As a shorthand notation, let mX = E(X) and mY = E(Y). Then,

Equation

However, from (3), if X and Y are independent random variables, then

Equation

Search:
ThreadThreadStarted ByLast PostRepliesViews
No Threads