Definitionintro
Gaussian Q-function
Also called Gaussian tail function.
The probability that a standard normal variable exceeds x, the function in which error rates in Gaussian noise are written.
The Gaussian Q-function gives the probability that a standard normal random variable is larger than . In additive Gaussian noise, the probability that the noise pushes a received sample past a decision boundary is a value of , so the error rates of almost all modulation schemes are written with it. This page defines , gives its standard forms and bounds, and shows how to compute it without loss of accuracy in floating point.
Definition
Let . The Q-function is
It is , where is the standard normal distribution function. It is strictly decreasing, , and . In terms of the complementary error function,
Some textbooks, Haykin's among them, write error rates with erfc. The two forms are the same function: for example .
The tail of a general Gaussian. If , then . In the complex AWGN model with , the noise along any fixed real direction has the variance . So the probability that it moves a point past the bisector to a point at the distance is
Craig's form. Theorem (Craig 1991). For ,
Proof. Let be independent standard normals, so . In polar coordinates , with , the event is and . The joint density is times , and . So . The integrand is even in ; substitute on .
The limits of the integral are finite and the argument is not a limit, which makes the form useful for averaging over fading, where is random. The same method gives for , and the exact symbol error rate of -PSK (see phase-shift keying).
Bounds. For :
- Chernoff bound: . It follows from Craig's form, since makes each value of the integrand at most . The general Chernoff bound gives without the factor .
- Upper bound: , where . Proof: on , , so .
- Lower bound: .
The bounds 2 and 3 have the ratio , so both are close for large , and as .
Inverse. is the with . It gives the SNR that a target error rate needs. Since is strictly decreasing and continuous, bisection finds it.
Floating-point computation. The values of that matter in communications are small: a bit error rate of is . Computing as subtracts two nearly equal numbers. In the floating-point model with unit roundoff , is stored with an absolute error of about , so the relative error of the difference is about , which grows without bound as grows. Computing instead keeps a small relative error over the whole range, because the library erfc is computed directly for large arguments. The table is a measurement in IEEE double precision, with and Python's math.erf and math.erfc.
| by erfc | relative error of | |
|---|---|---|
| 3 | ||
| 5 | ||
| 6 | ||
| 7 | ||
| 8 | ||
| 9 | the result is 0 |
Examples and non-examples
Values. , , , , . For the inverse, , and .
The bounds at . The Chernoff bound gives , four times too large. The upper bound gives and the lower bound gives ; the true value lies between them.
BPSK. With the points , , and the bit error rate is . At dB this is , at 4 dB it is , and at 8 dB it is . The bit error rate needs , so , which is 9.588 dB.
Craig's integral in practice. At , the midpoint rule with equal steps on has a relative error of for , for , for , and about for . The integrand is smooth and all its derivatives vanish at , so the rule converges very fast.
Non-example: the tail of a Rayleigh or chi-square variable. The probability that the envelope of complex Gaussian noise exceeds a threshold is , not a value of . Error rates of noncoherent detectors are written with such exponentials, and error rates on a fading channel are averages of over the fading, not values of .
Related definitions
- Normal distribution function. , and is the upper tail of the standard normal distribution. The central limit theorem is one reason Gaussian tails appear so often.
- Error function. and .
- Pairwise error probability. for two points at the distance ; the union bound adds such terms to bound the symbol error rate.
- Error rates. The symbol error rate and the bit error rate of PAM, PSK and QAM in AWGN are sums and products of values of .
- Simulation of small tails. Plain Monte Carlo needs about samples to see 100 errors; importance sampling estimates small tail probabilities with far fewer samples.
References
- John G. Proakis and Masoud Salehi, Digital Communications, fifth edition, McGraw-Hill, 2008, Section 2.3, Some Useful Random Variables (the Gaussian random variable and the Q-function), and Section 2.4, Bounds on Tail Probabilities
- John W. Craig, A new, simple and exact result for calculating the probability of error for two-dimensional signal constellations, MILCOM 91 Conference Record, 1991, pp. 571-575 (the integral of Q over a finite range of angles)
- Marvin K. Simon and Mohamed-Slim Alouini, Digital Communication over Fading Channels, second edition, Wiley, 2005, Chapter 4, Alternative Representations of Classical Functions, Section 4.1, Gaussian Q-Function
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag 8K2YAC Edit this page History Report an error Markdown