MGF-Based Error Analysis and Craig's Formula
From AWGN to Fading: Why MGFs?
In AWGN the signal energy is deterministic and error probability is a clean function of . Wireless channels are fading — the received energy is itself a random variable with some distribution . The average error probability is therefore . Direct numerical integration is feasible but uninformative; the moment generating function (MGF) method converts these averages into one-dimensional integrals of the channel MGF — often producing closed forms and, more importantly, exposing the diversity order directly.
Definition: Craig's Formula for the Q-function
Craig's Formula for the Q-function
Craig (1991) showed that the Gaussian tail can be written as a definite integral: The generalization is also useful for error-floor analysis.
The power of Craig's formula is that its integrand is bounded and finite over the full integration range — unlike the usual , where the infinite upper limit complicates averaging over .
Theorem: Proof of Craig's Formula
For , .
Interpret as the probability that a 2-D standard Gaussian vector lies outside a half-plane; convert to polar coordinates and the radial integral evaluates in closed form, leaving only an angular integral.
Set up the 2-D probability
Let . Then . Since is isotropic, we may equivalently compute for any fixed , or indeed where .
Polar coordinates
Change to polar coordinates and note that the half-plane in polar form is , i.e. with . Thus
Evaluate the radial integral
. Substituting, .
Substitute $\theta \to \pi/2 - \theta$
, giving the stated form.
Theorem: MGF-Based Averaging of Q-function over Fading
Let the instantaneous symbol SNR be with MGF . Then For -PSK with equal priors in fading, the exact average symbol error probability is
Applying Craig's formula inside the expectation and swapping the order of integration turns a "fading-averaged Q-function" into "MGF evaluated at an angle-dependent argument, then integrated over a bounded angle range." Because the MGF of many common fading distributions (Rayleigh, Ricean, Nakagami-m) has a closed form, we get closed-form expressions for .
Apply Craig's formula
. Take expectation over :
Recognize the MGF
by the definition of the MGF. Swapping expectation and integration is justified by Fubini (non-negative integrand).
M-PSK case
For M-PSK the exact conditional SER is . Averaging over gives the stated formula.
Example: BPSK in Rayleigh Fading
In Rayleigh fading, with mean . Compute the average BPSK error probability , and find its high-SNR slope.
Rayleigh SNR MGF
For , for .
Plug into MGF formula
.
Evaluate in closed form
Using the standard integral , we obtain
High-SNR slope
Taylor expand around : , hence . The error decays as — diversity order 1 — in stark contrast to the exponential AWGN decay .
Theorem: Diversity Order from the MGF
Suppose as for some constants . Then for any constellation at high SNR, The exponent is called the diversity order of the channel. Rayleigh fading has ; -branch MRC or a Nakagami- channel with parameter has diversity order .
The fading-averaged BER at high SNR is governed by the behaviour of the MGF near ; this behaviour is controlled by how quickly the fading distribution puts mass near (deep-fade probability). Diversity techniques reduce the mass near zero, raising .
Leading-order of the integrand
At high , the argument of the MGF diverges (after rescaling), so .
Integrate
. The angular integral is a finite constant (expressible via beta functions), so .
MGF-Based SER in Rayleigh and Nakagami Fading
Compute the exact fading-averaged SER via Craig's integral for M-PSK under Rayleigh and Nakagami- fading and compare with the AWGN baseline. The diversity-order slope (dB/decade) emerges on the log-log plot.
Parameters
Why This Matters: MGF Method in Research
The MGF method is the workhorse of performance analysis in wireless communications research. Every major textbook on fading channels (Simon and Alouini's Digital Communication over Fading Channels, 2005) tabulates MGFs for dozens of fading distributions. The method extends to diversity combining (MRC, EGC, SC), cooperative relaying, RIS-assisted channels, and cell-free massive MIMO — a single formula covers all of them once the SNR MGF is derived.
See full treatment in Chapter 4
Common Mistake: Sign Conventions for the MGF
Mistake:
Some books define while others use (the Laplace transform of the pdf), flipping the sign of . Applying a formula from a mismatched source silently gives a wrong answer.
Correction:
We adopt throughout, which is the statistics-textbook convention. Under this convention, the MGF formula for fading-averaged evaluates at negative arguments. If you import a formula, verify the sign convention by checking the Rayleigh case against the closed-form result .
Historical Note: Craig's 1991 Insight
1991-1998James Craig introduced his alternative Q-function representation in a 1991 MILCOM paper titled "A New, Simple and Exact Result for Calculating the Probability of Error for Two-Dimensional Signal Constellations." The formula had been hiding in plain sight for decades but no one had recognized its value for fading analysis. Simon and Alouini popularized the MGF method built around Craig's formula in a series of papers through the mid-1990s, culminating in their 2005 textbook which tabulates error formulas for essentially every fading distribution and modulation of practical interest.
MGF Tools for ISAC Performance Analysis
In recent work, Caire and collaborators at TU Berlin extended the MGF-based error-analysis framework from pure communications to integrated sensing and communication (ISAC) scenarios. The key observation: both the detection probability (sensing) and the symbol-error probability (communication) can be expressed via MGFs of the same effective channel gain, enabling a unified Pareto-front analysis of the sensing-communication tradeoff in generalized fading environments.
Quick Check
A receiver uses 3-branch MRC with i.i.d. Rayleigh fading per branch. What is the diversity order of the combined SNR?
1
2
3
6
The combined SNR is gamma-distributed with shape 3, so MGF decays as : diversity order 3.