StatlectThe Digital Textbook

Characteristic function

In the lecture entitled Moment generating function, we have explained that the distribution of a random variable can be characterized in terms of its moment generating function, a real function that enjoys two important properties: it uniquely determines its associated probability distribution, and its derivatives at zero are equal to the moments of the random variable. We have also explained that not all random variables possess a moment generating function.

The characteristic function (cf) enjoys properties that are almost identical to those enjoyed by the moment generating function, but it has an important advantage: all random variables possess a characteristic function.

Definition

We start this lecture with a definition of characteristic function.

Definition Let be a random variable. Let be the imaginary unit. The function defined byis called the characteristic function of .

The first thing to be noted is that exists for any . This can be proved as follows:and the last two expected values are well-defined, because the sine and cosine functions are bounded in the interval .

Deriving moments with the characteristic function

Like the moment generating function of a random variable, the characteristic function can be used to derive the moments of , as stated in the following proposition.

Proposition Let be a random variable and its cf. Let . If the -th moment of , denoted by , exists and is finite, then is times continuously differentiable andwhere is the -th derivative of with respect to , evaluated at the point .

Proof

The proof of this proposition is quite complex (see, e.g., Resnick, S. I. (1999) A Probability Path, Birkhauser) and we give here only a sketch, without taking technical details into consideration. By virtue of the linearity of the expected value and of the derivative operator, the derivative can be brought inside the expected value, as follows:When , the latter becomes

In practice, the proposition above is not very useful when one wants to compute a moment of a random variable, because the proposition requires to know in advance whether the moment exists or not. A much more useful proposition is the following.

Proposition Let be a random variable and its characteristic function. If is times differentiable at the point , then

1. if is even, the -th moment of exists and is finite for any ;

2. if is odd, the -th moment of exists and is finite for any .

In both cases,where is the -th derivative of with respect to , evaluated at the point .

Proof

See, e.g., Ushakov, N. G. (1999) Selected topics in characteristic functions, VSP.

The next example shows how this proposition can be used to compute the second moment of an exponential random variable.

Example Let be an exponential random variable with parameter . Its support is the set of positive real numbers:and its probability density function isIts cf iswhich is proved in the lecture entitled Exponential distribution. Note that the division above does not pose any division-by-zero problem, because the denominator is different from also when (because ). The first derivative of the cf isThe second derivative of the cf isEvaluating it at , we obtainTherefore, the second moment of exists and is finite. Furthermore, it can be computed as

Characterization of a distribution via the characteristic function

Characteristic functions, like moment generating functions, can also be used to characterize the distribution of a random variable.

Proposition Let and be two random variables. Denote by and their distribution functions and by and their cfs. Then, and have the same distribution, i.e., for any , if and only if they have the same cf, i.e., for any .

Proof

See, e.g., Resnick, S. I. (1999) A Probability Path, Birkhauser.

In applications, this proposition is often used to prove that two distributions are equal, especially when it is too difficult to directly prove the equality of the two distribution functions and .

More details

Characteristic function of a linear transformation

Let be a random variable with cf . Definewhere are two constants and . Then, the cf of is

Proof

Using the definition of cf, we obtain

Characteristic function of a sum of mutually independent random variables

Let , ..., be mutually independent random variables. Let be their sum:Then, the cf of is the product of the cfs of , ..., :

Proof

It can be demonstrated as follows:

Computation of the characteristic function

When is a discrete random variable with support and probability mass function , its cf isThus, the computation of the characteristic function is pretty straightforward: all we need to do is to sum the complex numbers over all values of belonging to the support of .

When is an absolutely continuous random variable with probability density function , its cf isThe right-hand side integral is a contour integral of a complex function along the real axis. As people reading these lecture notes are usually not familiar with contour integration (a topic in complex analysis), we avoid it altogether and instead exploit the fact thatto rewrite the contour integral as the complex sum of two ordinary integrals:and to compute the two integrals separately.

Solved exercises

Below you can find some exercises with explained solutions:

1. Exercise set 1 (derivation and use of characteristic functions).

The book

Most learning materials found on this website are now available in a traditional textbook format.

Glossary entries
Share