Error Probability in AWGN
The Q-function as Universal Currency
Section 9.1 established the optimal detector structure. Now we compute the exact error probabilities for the constellations introduced in Chapter 8. Every BER/SER expression in AWGN ultimately reduces to the Gaussian Q-function or its close relative, the complementary error function. We also introduce Craig's formula β an alternative Q-function representation that is indispensable for averaging BER over fading distributions in Section 9.4.
Definition: The Gaussian Q-Function
The Gaussian Q-Function
The Q-function is the tail probability of the standard normal distribution:
Key properties:
- , ,
- Symmetry:
- Monotonically decreasing for
- Relationship to erfc:
Chernoff bound: for ,
Tighter bounds: for ,
The Q-function is implemented as a built-in function in MATLAB (qfunc), Python/SciPy (from scipy.stats import norm; norm.sf), and most numerical computing environments.
Theorem: BER for BPSK and QPSK in AWGN
The bit error rate for BPSK and QPSK with Gray mapping in an AWGN channel is
For QPSK, this result holds because the I and Q channels are independent BPSK detectors, each with energy per bit.
Equivalently, in terms of symbol energy :
since for BPSK and for QPSK.
The argument of the Q-function is , which is the ratio of half the minimum distance to the noise standard deviation. Larger or smaller gives a larger argument and hence lower .
BPSK derivation
Signal points: , . The ML detector decides if .
By symmetry, , so .
QPSK decomposition
QPSK decomposes into two independent BPSK channels (I and Q), each with bit energy . Each channel has . Since the bit errors on I and Q are independent, the overall BER is the same:
QPSK achieves the same BER as BPSK at twice the spectral efficiency.
Theorem: Approximate BER for M-QAM in AWGN
For square -QAM () with Gray mapping in AWGN, the bit error rate is approximately
This approximation becomes exact as SNR (where only nearest-neighbour errors contribute).
In terms of symbol energy:
The factor accounts for the fraction of nearest neighbours: corner points have 2 neighbours, edge points have 3, and interior points have 4. The average number of neighbours weighted by position gives per symbol.
SER decomposition
Square -QAM -PAM -PAM. The SER for -PAM is
The symbol is correct iff both I and Q are correct: at high SNR.
SER to BER with Gray mapping
With Gray mapping, BER SER:
using .
Definition: Craig's Formula (Alternative Q-Function Representation)
Craig's Formula (Alternative Q-Function Representation)
Craig's formula expresses the Q-function as a single integral with finite limits:
More generally, the square of the Q-function is
Craig's formula is essential for computing average BER over fading channels because:
- The SNR appears only in the exponent
- The expectation can be taken inside the integral, yielding the MGF of
- The resulting integral over has finite limits and can often be evaluated in closed form
Substituting :
Craig's formula was published in 1991 and immediately became the standard tool for performance analysis of digital communications over fading channels. Before this result, averaging BER over fading required numerical integration of nested integrals.
Example: Computing BER at Specific
Compute the BER for BPSK, QPSK, 16-QAM, and 64-QAM at dB in AWGN.
Convert to linear
dB (linear).
BPSK and QPSK
16-QAM
64-QAM
At 10 dB, 64-QAM has BER , far too high for uncoded transmission but correctable with FEC.
Example: Comparing Modulation Schemes
Find the required for BER for BPSK, QPSK, 16-QAM, and 64-QAM. What is the power penalty (in dB) of each scheme relative to BPSK?
BPSK and QPSK
dB
BPSK and QPSK require the same dB.
16-QAM
Solving numerically:
dB.
Power penalty over BPSK: dB.
64-QAM
Solving for 64-QAM numerically:
dB.
Power penalty over BPSK: dB.
Each doubling of spectral efficiency costs roughly 4 dB in .
BER Curves in AWGN
Compare the bit error rate of standard modulation schemes as a function of . Toggle modulation formats on/off and optionally show the Chernoff and high-SNR approximations. Note the 3 dB gap between each doubling of for QAM.
Parameters
Q-Function and Its Approximations
Compare the exact Q-function with the Chernoff bound and Craig's integral form. The plot shows on a log scale. Notice that the Chernoff bound is within 3 dB for , while Craig's formula is exact (the curves coincide).
Parameters
Quick Check
Rank the following modulation schemes from lowest to highest BER at dB in AWGN: (A) BPSK, (B) 16-QAM, (C) 64-QAM, (D) QPSK.
A = D < B < C
A < D < B < C
C < B < D < A
A < D < C < B
BPSK and QPSK have identical BER: . 16-QAM requires more than BPSK/QPSK for the same BER, and 64-QAM requires even more. Therefore, at fixed , BER increases from BPSK/QPSK to 16-QAM to 64-QAM.
Common Mistake: Confusing with SNR
Mistake:
Using and SNR interchangeably in BER calculations.
Correction:
and SNR are related but not the same:
For Nyquist signaling ():
At the same , higher-order modulations have higher SNR (more energy per symbol) but also more constellation points to distinguish. The BER depends on the ratio , which decreases with .
Common Mistake: Using BER Formulas Outside Their Validity Range
Mistake:
Applying the approximate BER formula at low SNR where multiple error events contribute significantly.
Correction:
The nearest-neighbour approximation is accurate only at high SNR (typically dB for QAM). At low SNR:
- Second and third nearest neighbours contribute non-negligibly
- The union bound overestimates significantly
- The Gray mapping approximation BER SER breaks down because errors to distant symbols become probable
For low-SNR analysis, use the exact SER expression (summing over all decision region boundaries) or Monte Carlo simulation.
Numerical Computation of the Q-Function
Computing for large (high SNR) requires care. The naive formula suffers from catastrophic cancellation in floating-point arithmetic when (roughly ).
Recommended implementations:
-
Python/SciPy: Use
scipy.special.erfcorscipy.stats.norm.sf, which use extended-precision internal routines. Alternatively,scipy.special.log_ndtrcomputes directly, avoiding underflow for up to 37. -
MATLAB:
qfunc(x)handles large arguments correctly. -
C/C++: Use
erfc()from<math.h>(IEEE 754 compliant), or the logarithmic form for asymptotic regimes.
For Monte Carlo BER simulations, avoid computing and instead count errors directly. To reliably estimate , collect at least transmitted symbols.
- β’
Double-precision floating point: accurate for Q(x) down to approximately 1e-308
- β’
Monte Carlo: 100/P_e symbols needed for 10% relative accuracy
Key Takeaway
The core message of this section in three points:
-
The Q-function is the universal building block for error probability in AWGN: every BER and SER expression reduces to .
-
BER improves exponentially with SNR in AWGN: doubling (3 dB) dramatically reduces BER, and the improvement accelerates at higher SNR.
-
Craig's formula rewrites with only in the exponent, enabling closed-form BER averaging over fading via the MGF β the key technique in Section 9.4.
Q-Function
The tail probability of the standard Gaussian distribution: for . It is the universal function for expressing error probabilities in AWGN channels. Related to erfc by .
Related: Forgetting the in the Q-function vs erfc Relationship, MGF Approach for Averaging BER Over Fading, Craig's Formula (Alternative Q-Function Representation)
Bit Error Rate (BER)
The probability that a transmitted bit is decoded incorrectly at the receiver. For uncoded systems in AWGN, BER depends on the modulation scheme and . With Gray mapping, BER SER at high SNR.
Related: Ser, The Gaussian Q-Function, Modulation and Coding Scheme (MCS) Tables