5.10 EXPECTATION OF A FUNCTION

The expectation of function Y = g(X) of random variable X can be computed in two ways: (i) deriving the pdf fY(y) and then calculating or (ii) directly calculating based on FX(x). We demonstrate the equivalence of both approaches in the following theorem.

Theorem 5.4 The expectation of function Y = g(X) of random variable X is

(5.76) Numbered Display Equation

Proof. (Discrete random variable). The proof is a straightforward application of the mapping process from X to Y:

(5.77) Numbered Display Equation

The inner sum accounts for all values of x (and the corresponding probability mass) that map to value y. The double sum is the same as a single sum over all possible values of g(x), weighted by pX[x]:

(5.78) Numbered Display Equation

(Continuous random variable). Assume that g(X) is monotonically increasing where each x maps to a unique y. Thus

(5.79) Numbered Display Equation

Substituting y = g(x) and x = g−1(y) gives

(5.80)

where dx/dy>0 for a monotonically ...

Get Probability, Random Variables, and Random Processes: Theory and Signal Processing Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.