Tutorials › Stochastic Processes › Characteristic Functions Of Standard Distributions

Generating Functions and Transforms · Tutorial 37 of 994

Characteristic Functions Of Standard Distributions

Learn to calculate and verify the characteristic functions of five standard distributions using finite sums and integrals.

Intermediate 10 min read

What You'll Learn

  • Calculate the characteristic function of a Bernoulli variable, including endpoint probabilities.
  • Derive the binomial characteristic function from its finite probability sum.
  • Evaluate the Poisson probability series using the exponential series.
  • Integrate the exponential density to obtain its characteristic function.
  • Derive the normal characteristic function using differentiation and integration by parts.
  • Check transform calculations at specific arguments and identify a common sign error.

From a Distribution to Its Characteristic Function

A characteristic function packages a probability distribution into a complex-valued function of a real argument. For the standard distributions in this tutorial, its calculation is direct: sum over the possible values of a discrete random variable, or integrate its density for a continuous one. The resulting formulas are useful only when their parameters and signs are handled correctly, so each calculation below begins with the distribution itself and is checked against a concrete case.

Definition: On a probability space \((\Omega,\mathcal{F},\mathbb{P})\), the characteristic function of a real-valued random variable \(X\) is \(\varphi_X(t)=\mathbb{E}[e^{itX}]\), for \(t\in\mathbb{R}\), where \(i^2=-1\). This expectation is always defined: \(|e^{itX}|=1\), so the integrand is bounded. If \(X\) takes values \(k\) with probabilities \(p_k\), then \(\varphi_X(t)=\sum_k p_k e^{itk}\); if \(X\) has density \(f_X\), then \(\varphi_X(t)=\int_{-\infty}^{\infty}e^{itx}f_X(x)\,dx\).

The argument \(t\) is real, but the value of \(\varphi_X(t)\) is generally complex. The factor \(i\) in the exponent is essential. In particular, these calculations use \(e^{itx}\), not \(e^{tx}\), which is the exponential appearing in a moment generating function. No moment assumptions are needed for a characteristic function to exist.

Discrete Distributions: Finite Sums and a Probability Series

Theorem: For \(t\in\mathbb{R}\), the characteristic functions of the Bernoulli distribution with parameter \(p\in[0,1]\), the binomial distribution with parameters \(n\in\{0,1,2,\ldots\}\) and \(p\in[0,1]\), and the Poisson distribution with parameter \(\lambda\ge 0\), respectively, are $$ \varphi_{\mathrm{Bernoulli}(p)}(t)=1-p+pe^{it},\qquad \varphi_{\mathrm{Binomial}(n,p)}(t)=(1-p+pe^{it})^n,\qquad \varphi_{\mathrm{Poisson}(\lambda)}(t)=\exp\!\bigl(\lambda(e^{it}-1)\bigr). $$

Proof. For a Bernoulli random variable, the value is \(0\) with probability \(1-p\) and \(1\) with probability \(p\). The finite-sum definition therefore gives \((1-p)e^{it\cdot0}+pe^{it\cdot1}=1-p+pe^{it}\). This calculation includes \(p=0\) and \(p=1\).

For a binomial random variable, the probability of \(k\) is \(\binom{n}{k}p^k(1-p)^{n-k}\), for \(k=0,\ldots,n\). Substituting those probabilities into the definition and applying the binomial theorem gives $$ \begin{aligned} \varphi(t) &=\sum_{k=0}^{n}\binom{n}{k}p^k(1-p)^{n-k}e^{itk}\\ &=\sum_{k=0}^{n}\binom{n}{k}(pe^{it})^k(1-p)^{n-k}\\ &=(1-p+pe^{it})^n. \end{aligned} $$ The formula also covers \(n=0\), when the variable is identically zero, and \(p=0\) or \(p=1\).

For a Poisson random variable, the probability of \(k\) is \(e^{-\lambda}\lambda^k/k!\), for \(k=0,1,\ldots\). Thus $$ \begin{aligned} \varphi(t) &=\sum_{k=0}^{\infty}e^{-\lambda}\frac{\lambda^k}{k!}e^{itk}\\ &=e^{-\lambda}\sum_{k=0}^{\infty}\frac{(\lambda e^{it})^k}{k!}\\ &=e^{-\lambda}\exp(\lambda e^{it}) =\exp\!\bigl(\lambda(e^{it}-1)\bigr). \end{aligned} $$ The series evaluation uses the exponential power series, which converges for every complex argument. When \(\lambda=0\), the variable is zero with probability one and the displayed formula equals \(1\). In all three cases, setting \(t=0\) gives \(1\), as required by \(\mathbb{E}[e^{i0X}]=1\). \(\square\)

Worked Example: A Bernoulli Variable at \(t=\pi\)

Let \(X\) have a Bernoulli distribution with \(p=\tfrac13\). Its characteristic function is $$ \varphi_X(t)=\frac23+\frac13e^{it}. $$ At \(t=\pi\), \(e^{i\pi}=\cos(\pi)+i\sin(\pi)=-1+0i=-1\), so $$ \varphi_X(\pi)=\frac23+\frac13(-1)=\frac13. $$

Check by the probability sum: the value \(0\) contributes \(\tfrac23e^{i\pi\cdot0}=\tfrac23\), and the value \(1\) contributes \(\tfrac13e^{i\pi\cdot1}=-\tfrac13\). Their sum is \(\tfrac23-\tfrac13=\tfrac13\), matching the formula.

Worked Example: A Binomial Variable at \(t=\tfrac{\pi}{2}\)

Let \(X\) have a binomial distribution with \(n=3\) and \(p=\tfrac12\). Every value \(k=0,1,2,3\) has probability \(\binom{3}{k}/8\), so the characteristic function is $$ \varphi_X(t)=\left(\frac{1+e^{it}}{2}\right)^3. $$ At \(t=\tfrac{\pi}{2}\), \(e^{it}=i\), and hence $$ \varphi_X\!\left(\frac{\pi}{2}\right) =\left(\frac{1+i}{2}\right)^3 =\frac{(1+i)^3}{8} =\frac{-2+2i}{8} =\frac{-1+i}{4}. $$

Check by the finite sum: multiplying the sum by \(8\), its four terms are \(1\), \(3i\), \(3e^{i\pi}=-3\), and \(e^{i3\pi/2}=-i\). The sum is therefore \((1+3i-3-i)/8=(-2+2i)/8=(-1+i)/4\), as obtained from the formula.

Worked Example: A Poisson Variable at \(t=\pi\)

Let \(X\) have a Poisson distribution with \(\lambda=2\). At \(t=\pi\), \(e^{i\pi}=-1\), and the formula gives $$ \varphi_X(\pi)=\exp\!\bigl(2(-1-1)\bigr)=e^{-4}. $$

Check by the probability series: substituting \(e^{i\pi k}=(-1)^k\) into the defining sum gives $$ \varphi_X(\pi)=e^{-2}\sum_{k=0}^{\infty}\frac{(-2)^k}{k!} =e^{-2}e^{-2}=e^{-4}. $$ The second equality is the exponential power series evaluated at \(-2\), confirming the result directly.

Continuous Distributions: Density Integrals

Theorem: If \(X\) has an exponential distribution with rate \(\lambda>0\), with density \(f_X(x)=\lambda e^{-\lambda x}\) for \(x\ge0\) and zero otherwise, then $$ \varphi_X(t)=\frac{\lambda}{\lambda-it},\qquad t\in\mathbb{R}. $$ If \(X\) has a normal distribution with mean \(\mu\in\mathbb{R}\) and variance \(\sigma^2>0\), then $$ \varphi_X(t)=\exp\!\left(i\mu t-\frac{\sigma^2t^2}{2}\right),\qquad t\in\mathbb{R}. $$

Proof. For the exponential density, the definition gives $$ \varphi_X(t)=\int_0^\infty e^{itx}\lambda e^{-\lambda x}\,dx =\lambda\int_0^\infty e^{-(\lambda-it)x}\,dx. $$ Since \(\lambda>0\), the real part of \(\lambda-it\) is positive, and \(e^{-(\lambda-it)x}\) tends to zero as \(x\) tends to infinity. Evaluating the antiderivative, $$ \lambda\left[\frac{-e^{-(\lambda-it)x}}{\lambda-it}\right]_{0}^{\infty} =\frac{\lambda}{\lambda-it}. $$ This establishes the exponential formula, including its convergence condition.

For the normal formula, first take a standard normal random variable \(Z\), whose density is \(g(x)=(2\pi)^{-1/2}e^{-x^2/2}\), and write $$ I(t)=\int_{-\infty}^{\infty}e^{itx}g(x)\,dx. $$ Differentiation under the integral is valid because the absolute value of the derivative of the integrand is \(|x|g(x)\), which is integrable. It follows that \(I'(t)=i\int_{-\infty}^{\infty}xe^{itx}g(x)\,dx\). Since \(g'(x)=-xg(x)\), this becomes \(I'(t)=-i\int_{-\infty}^{\infty}e^{itx}g'(x)\,dx\). Integration by parts has zero boundary term because \(g(x)\) tends to zero at both ends and \(|e^{itx}|=1\). Therefore $$ \int_{-\infty}^{\infty}e^{itx}g'(x)\,dx =-it\int_{-\infty}^{\infty}e^{itx}g(x)\,dx=-itI(t), $$ so \(I'(t)=-tI(t)\). Also \(I(0)=1\), since \(g\) is a probability density. Multiplying the differential equation by \(e^{t^2/2}\) gives \(\frac{d}{dt}(e^{t^2/2}I(t))=0\); its constant value is \(1\) at \(t=0\). Hence \(I(t)=e^{-t^2/2}\).

For a normal random variable \(X\) with mean \(\mu\) and variance \(\sigma^2>0\), substitute \(x=\mu+\sigma z\) in its density integral. The density times \(dx\) becomes \(g(z)\,dz\), and the exponential factor becomes \(e^{it(\mu+\sigma z)}\). Thus $$ \varphi_X(t)=e^{i\mu t}\int_{-\infty}^{\infty}e^{i(\sigma t)z}g(z)\,dz =e^{i\mu t}I(\sigma t) =\exp\!\left(i\mu t-\frac{\sigma^2t^2}{2}\right). $$ This proves both continuous-distribution formulas. \(\square\)

Worked Example: An Exponential Variable at \(t=1\)

Let \(X\) have an exponential distribution with rate \(\lambda=2\). Its characteristic function at \(t=1\) is $$ \varphi_X(1)=\frac{2}{2-i} =\frac{2(2+i)}{(2-i)(2+i)} =\frac{4+2i}{5}. $$

Check from the density integral: the integral is \(2\int_0^\infty e^{-(2-i)x}\,dx\). Its antiderivative gives \(2/(2-i)\), because the exponential term tends to zero at infinity when its exponent has real part \(-2x\). Rationalizing the denominator gives \((4+2i)/5\), the same value. At \(t=0\), the general formula gives \(2/2=1\), also confirming normalization.

Worked Example: A Normal Variable at \(t=1\)

Let \(X\) have a normal distribution with mean \(\mu=1\) and variance \(\sigma^2=4\), so \(\sigma=2\). The formula gives $$ \varphi_X(1)=\exp\!\left(i\cdot1-\frac{4\cdot1^2}{2}\right)=e^{-2+i}=e^{-2}(\cos 1+i\sin 1). $$

Check by standardizing in the integral: substituting \(x=1+2z\) in the normal density integral gives the factor \(e^{i(1+2z)}=e^i e^{i2z}\) and leaves the standard normal density in \(z\). The remaining integral is \(I(2)=e^{-2^2/2}=e^{-2}\), so the result is \(e^i e^{-2}\), exactly the value above. At \(t=0\), the formula gives \(e^0=1\).

Reading and Checking the Formulas

The finite-sum and integral calculations share one check: at \(t=0\), every characteristic function must equal \(1\). This follows directly from its definition, but it is also a useful way to detect missing probability mass or a misplaced parameter. For instance, the exponential expression \(\lambda/(\lambda-it)\) gives \(1\) at zero only when its numerator and rate in the denominator agree.

A second useful check is to keep the complex argument intact until the calculation is finished. For the exponential density, the integral involves \(\lambda-it\), not \(\lambda-t\). For the normal density, the location contributes \(i\mu t\), while the variance contributes the real, nonpositive term \(-\sigma^2t^2/2\). These signs are consistent with the fact that a characteristic function has absolute value at most \(1\): for the normal formula its absolute value is \(e^{-\sigma^2t^2/2}\le1\), and for the exponential formula it is \(\lambda/\sqrt{\lambda^2+t^2}\le1\).

Common mistake: substituting a real argument into an MGF formula. For an exponential variable with rate \(2\), an incorrect calculation might take the MGF expression \(2/(2-s)\) and put \(s=1\), obtaining \(2\). That cannot be the characteristic function at \(t=1\), since its absolute value would exceed \(1\). The correct substitution is \(s=it\), yielding \(2/(2-i)=(4+2i)/5\), whose absolute value is \(2/\sqrt{5}\le1\). The same distinction matters for a normal variable: the location term is \(i\mu t\), not \(\mu t\).

Check Your Understanding

Use the defining sum or integral as well as the relevant formula to check your answers.

  1. For a Bernoulli random variable with \(p=\tfrac14\), calculate \(\varphi_X(\pi)\) directly from its two possible values.
  2. For a binomial random variable with \(n=2\) and \(p=\tfrac13\), write the three-term finite sum for \(\varphi_X(t)\), then simplify it to the power formula.
  3. Evaluate the characteristic function of a Poisson random variable with parameter \(\lambda=1\) at \(t=0\), using its probability series.
  4. For an exponential random variable with rate \(\lambda=3\), calculate \(\varphi_X(2)\) and rationalize its denominator.
  5. For a normal random variable with mean \(\mu=0\) and variance \(\sigma^2=1\), evaluate \(\varphi_X(t)\) and state its value at \(t=0\).