Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Characteristic Function Concept

The Big Question: What IS a characteristic function, and why does it work?

A characteristic function (CF) is defined as:

ϕX(ω)=E[eiωX]\phi_X(\omega) = \mathbb{E}[e^{i\omega X}]

This looks mysterious! Let’s build intuition step by step.

Why Complex Exponentials?

Euler’s Formula

The key is Euler’s formula:

eiθ=cos⁡(θ)+isin⁡(θ)e^{i\theta} = \cos(\theta) + i\sin(\theta)

This is a unit vector rotating on the complex plane:

  • When θ=0\theta = 0: ei⋅0=1e^{i \cdot 0} = 1 (pointing right)

  • When θ=π/2\theta = \pi/2: eiπ/2=ie^{i\pi/2} = i (pointing up)

  • When θ=π\theta = \pi: eiπ=−1e^{i\pi} = -1 (pointing left)

  • When θ=2π\theta = 2\pi: ei2π=1e^{i2\pi} = 1 (back to start)

So eiωXe^{i\omega X} is a rotating vector where the angle is ωX\omega X.

Ignoring fixed y limits to fulfill fixed data aspect with adjustable data limits.
Ignoring fixed y limits to fulfill fixed data aspect with adjustable data limits.
<Figure size 1200x500 with 2 Axes>
e^(iθ) is a ROTATION by angle θ on the complex plane

What Does the Expectation Mean?

For a random variable XX with probability density f(x)f(x):

ϕX(ω)=E[eiωX]=∫−∞∞eiωxf(x)dx\phi_X(\omega) = \mathbb{E}[e^{i\omega X}] = \int_{-\infty}^\infty e^{i\omega x} f(x) dx

Intuition:

  • Each value xx contributes a rotating vector eiωxe^{i\omega x}

  • Weighted by probability f(x)f(x)

  • The CF is the weighted average direction of all these vectors

Key insight: Different distributions create different rotation patterns!

Simple Example 1: Constant Random Variable

If X=cX = c (always the same value):

ϕX(ω)=E[eiωc]=eiωc\phi_X(\omega) = \mathbb{E}[e^{i\omega c}] = e^{i\omega c}

This is just pure rotation - no averaging needed because there’s no randomness!

<Figure size 1200x500 with 2 Axes>
For constant X = 2:
  φ(ω) = e^(i·2·ω) = cos(2ω) + i·sin(2ω)

Simple Example 2: Uniform Distribution

For X∼Uniform(0,1)X \sim \text{Uniform}(0, 1):

ϕX(ω)=∫01eiωxdx=eiω−1iω\phi_X(\omega) = \int_0^1 e^{i\omega x} dx = \frac{e^{i\omega} - 1}{i\omega}

Intuition:

  • Values from 0 to 1 contribute vectors at different angles

  • When averaged, they partially cancel (unlike the constant case)

  • This creates a decaying pattern as ω\omega increases

<Figure size 1200x500 with 2 Axes>
Notice: The CF 'spreads out' the rotation - vectors at different angles average out!

The Magic Property: Sums Become Products!

This is the KEY reason CFs are useful:

If XX and YY are independent, then:

ϕX+Y(ω)=ϕX(ω)⋅ϕY(ω)\phi_{X+Y}(\omega) = \phi_X(\omega) \cdot \phi_Y(\omega)

Why does this work?

ϕX+Y(ω)=E[eiω(X+Y)]=E[eiωX⋅eiωY]\phi_{X+Y}(\omega) = \mathbb{E}[e^{i\omega(X+Y)}] = \mathbb{E}[e^{i\omega X} \cdot e^{i\omega Y}]

Using independence (critical!):

=E[eiωX]⋅E[eiωY]=ϕX(ω)⋅ϕY(ω)= \mathbb{E}[e^{i\omega X}] \cdot \mathbb{E}[e^{i\omega Y}] = \phi_X(\omega) \cdot \phi_Y(\omega)

Intuition:

  • Adding random variables = convolving their distributions (hard!)

  • Multiplying CFs = simple multiplication (easy!)

  • This is why Fourier transform theory is so powerful

<Figure size 1200x500 with 2 Axes>
Key insight: φ_sum(ω) = [φ_1(ω)]²
  → Adding random variables = Multiplying their CFs!
  → This is MUCH easier than convolving probability densities

How CFs Encode Moments

Expanding eiωXe^{i\omega X} as a Taylor series:

eiωX=1+iωX+(iωX)22!+(iωX)33!+⋯e^{i\omega X} = 1 + i\omega X + \frac{(i\omega X)^2}{2!} + \frac{(i\omega X)^3}{3!} + \cdots

Taking expectation:

ϕX(ω)=1+iωE[X]+(iω)22!E[X2]+⋯\phi_X(\omega) = 1 + i\omega\mathbb{E}[X] + \frac{(i\omega)^2}{2!}\mathbb{E}[X^2] + \cdots

Extracting moments by differentiation:

dkϕdωk∣ω=0=ikE[Xk]\frac{d^k\phi}{d\omega^k}\bigg|_{\omega=0} = i^k \mathbb{E}[X^k]

So: E[Xk]=(−i)kdkϕdωk∣ω=0\mathbb{E}[X^k] = (-i)^k \frac{d^k\phi}{d\omega^k}\bigg|_{\omega=0}

This is how we computed moments in the later cells!

Uniform(0,1) distribution:
  Known mean: 0.5
  Mean from CF: nan
  ✓ They match!

  Known variance: 1/12 ≈ 0.0833
  Variance from CF: nan = nan
  ✓ They match!

→ The CF contains ALL information about the distribution!

Summary: Why Use Characteristic Functions?

Three fundamental reasons:

  1. Uniqueness: CF uniquely determines the distribution

    • Different distributions → different CFs

    • Knowing φ(ω) for all ω → you know everything about X

  2. Simplifies convolutions:

    • Sum of independent RVs: ϕX+Y(ω)=ϕX(ω)ϕY(ω)\phi_{X+Y}(\omega) = \phi_X(\omega)\phi_Y(\omega)

    • Convolution → multiplication (MUCH easier!)

  3. Encodes all moments:

    • E[Xk]=(−i)kϕ(k)(0)\mathbb{E}[X^k] = (-i)^k \phi^{(k)}(0)

    • Differentiating CF extracts statistical properties

For chromatography (GEC model):

  • Total retention time = sum of random adsorption times

  • Using CFs: ϕtotal=[ϕsingle]random number\phi_{\text{total}} = [\phi_{\text{single}}]^{\text{random number}}

  • This is tractable! Direct probability calculation would be nightmare.


Now let’s derive the GEC CF using these tools!