The characteristic function of a real-valued, continuous Random variable is a complex-valued function that completely describes its Probability distribution. It is defined as
where is the expectation operator and is the Probability density function of . Mathematically, this is the Fourier transform of the PDF.
Unlike moment-generating functions, which may not exist, the characteristic function is guaranteed to exist for any distribution with a probability density function. Like an MGF, it can be used to calculated the moments of a distribution by series expanding the exponential in a power series to get
For example, the Cauchy distribution has no MGF and requires using the characteristic function to find its (quite irregular) moments.