<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=Q-function</id>
	<title>Q-function - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=Q-function"/>
	<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Q-function&amp;action=history"/>
	<updated>2026-10-26T12:48:06Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://debianws.lexgopc.com/wiki143/index.php?title=Q-function&amp;diff=5772232&amp;oldid=prev</id>
		<title>imported&gt;Getuar-WCASP: Additional tight, yet simple, upper and lower bound for Q function</title>
		<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Q-function&amp;diff=5772232&amp;oldid=prev"/>
		<updated>2025-03-13T18:40:04Z</updated>

		<summary type="html">&lt;p&gt;Additional tight, yet simple, upper and lower bound for Q function&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Short description|Statistics function}}&lt;br /&gt;
{{For|the phase-space function representing a quantum state|Husimi Q representation}}&lt;br /&gt;
[[Image:Q-function.png|thumb|right|400px|A plot of the Q-function.]]&lt;br /&gt;
In [[statistics]], the &amp;#039;&amp;#039;&amp;#039;Q-function&amp;#039;&amp;#039;&amp;#039; is the [[Cumulative distribution function#Complementary cumulative distribution function (tail distribution)|tail distribution function]] of the [[Normal distribution#Standard normal distribution|standard normal distribution]].&amp;lt;ref&amp;gt;{{cite web|url=http://cnx.org/content/m11537/latest/|title=The Q-function|website=[[cnx.org]]|archive-url=https://web.archive.org/web/20120229030808/http://cnx.org/content/m11537/latest/|archive-date=2012-02-29}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;jo&amp;quot;&amp;gt;{{cite web|url=http://www.eng.tau.ac.il/~jo/academic/Q.pdf|title=Basic properties of the Q-function|archive-url=https://web.archive.org/web/20090325160012/http://www.eng.tau.ac.il/~jo/academic/Q.pdf|archive-date=2009-03-25 |date=2009-03-05 }}&amp;lt;/ref&amp;gt; In other words, &amp;lt;math&amp;gt;Q(x)&amp;lt;/math&amp;gt; is the probability that a normal (Gaussian) [[random variable]] will obtain a value larger than &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; standard deviations. Equivalently, &amp;lt;math&amp;gt;Q(x)&amp;lt;/math&amp;gt; is the probability that a standard normal random variable takes a value larger than &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt; is a Gaussian random variable with mean &amp;lt;math&amp;gt;\mu&amp;lt;/math&amp;gt; and variance &amp;lt;math&amp;gt;\sigma^2&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;X = \frac{Y-\mu}{\sigma}&amp;lt;/math&amp;gt; is  [[Normal distribution#Standard normal distribution|standard normal]] and&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;P(Y &amp;gt; y) = P(X &amp;gt; x) = Q(x)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;x = \frac{y-\mu}{\sigma}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Other definitions of the &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;-function, all of which are simple transformations of the normal [[cumulative distribution function]], are also used occasionally.&amp;lt;ref&amp;gt;[http://mathworld.wolfram.com/NormalDistributionFunction.html Normal Distribution Function – from Wolfram MathWorld&amp;lt;!-- Bot generated title --&amp;gt;]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Because of its relation to the [[cumulative distribution function]] of the normal distribution, the &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;-function can also be expressed in terms of the [[error function]], which is an important function in applied mathematics and physics.&lt;br /&gt;
&lt;br /&gt;
== Definition and basic properties ==&lt;br /&gt;
Formally, the &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;-function is defined as&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Q(x) = \frac{1}{\sqrt{2\pi}} \int_x^\infty \exp\left(-\frac{u^2}{2}\right) \, du.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus,&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Q(x) = 1 - Q(-x) = 1 - \Phi(x)\,\!,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\Phi(x)&amp;lt;/math&amp;gt; is the [[Standard normal distribution#Cumulative distribution function|cumulative distribution function of the standard normal Gaussian distribution]].&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;-function can be expressed in terms of the [[error function]], or the complementary error function, as&amp;lt;ref name=&amp;quot;jo&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
Q(x) &amp;amp;=\frac{1}{2}\left( \frac{2}{\sqrt{\pi}} \int_{x/\sqrt{2}}^\infty \exp\left(-t^2\right) \, dt \right)\\&lt;br /&gt;
&amp;amp;= \frac{1}{2} - \frac{1}{2} \operatorname{erf} \left( \frac{x}{\sqrt{2}} \right) ~~\text{ -or-}\\&lt;br /&gt;
&amp;amp;= \frac{1}{2}\operatorname{erfc} \left(\frac{x}{\sqrt{2}} \right).&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An alternative form of the &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;-function known as Craig&amp;#039;s formula, after its discoverer, is expressed as:&amp;lt;ref&amp;gt;{{cite book |doi=10.1109/MILCOM.1991.258319 |chapter-url=http://wsl.stanford.edu/~ee359/craig.pdf|chapter=A new, simple and exact result for calculating the probability of error for two-dimensional signal constellations|title=MILCOM 91 - Conference record|pages=571–575|year=1991|last1=Craig|first1=J.W.|isbn=0-87942-691-8|s2cid=16034807}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Q(x) = \frac{1}{\pi} \int_0^{\frac{\pi}{2}} \exp \left( - \frac{x^2}{2 \sin^2 \theta} \right) d\theta.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This expression is valid only for positive values of &amp;#039;&amp;#039;x&amp;#039;&amp;#039;, but it can be used in conjunction with &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;(&amp;#039;&amp;#039;x&amp;#039;&amp;#039;) = 1 − &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;(−&amp;#039;&amp;#039;x&amp;#039;&amp;#039;) to obtain &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;(&amp;#039;&amp;#039;x&amp;#039;&amp;#039;) for negative values. This form is advantageous in that the range of integration is fixed and finite.&lt;br /&gt;
&lt;br /&gt;
Craig&amp;#039;s formula was later extended by Behnad (2020)&amp;lt;ref&amp;gt;{{cite journal |doi=10.1109/TCOMM.2020.2986209 |title=A Novel Extension to Craig&amp;#039;s Q-Function Formula and Its Application in Dual-Branch EGC Performance Analysis|journal=IEEE Transactions on Communications |volume=68|issue=7|pages=4117–4125|year=2020|last1=Behnad|first1=Aydin|s2cid=216500014}}&amp;lt;/ref&amp;gt; for the &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;-function of the sum of two non-negative variables, as follows: &lt;br /&gt;
 &lt;br /&gt;
:[[File:Q function complex plot plotted with Mathematica 13.1 ComplexPlot3D.svg|alt=the Q-function plotted in the complex plane|thumb|the Q-function plotted in the complex plane]]&amp;lt;math&amp;gt;Q(x+y) = \frac{1}{\pi} \int_0^{\frac{\pi}{2}} \exp \left( - \frac{x^2}{2 \sin^2 \theta} - \frac{y^2}{2 \cos^2 \theta} \right) d\theta, \quad x,y \geqslant 0 .&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Bounds and approximations==&lt;br /&gt;
*The &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;-function is not an [[elementary function]]. However, it can be upper and lower bounded as,&amp;lt;ref name = &amp;quot;Gordon&amp;quot;&amp;gt;{{Cite journal |doi = 10.1214/aoms/1177731721|title = Values of Mills&amp;#039; ratio of area to bounding ordinate and of the normal probability integral for large values of the argument| journal = Ann. Math. Stat.|volume = 12|issue = 3|pages = 364–366|year = 1941|last = Gordon|first = R.D.}}&amp;lt;/ref&amp;gt;&amp;lt;ref name = &amp;quot;Borjesson&amp;quot;&amp;gt;{{Cite journal |doi = 10.1109/TCOM.1979.1094433|title = Simple Approximations of the Error Function Q(x) for Communications Applications|journal = IEEE Transactions on Communications|volume = 27|issue = 3|pages = 639–643|year = 1979|last1 = Borjesson|first1 = P.|last2 = Sundberg|first2 = C.-E.}}&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\left (\frac{x}{1+x^2} \right ) \phi(x) &amp;lt; Q(x) &amp;lt; \frac{\phi(x)}{x}, \qquad x&amp;gt;0,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:where &amp;lt;math&amp;gt;\phi(x)&amp;lt;/math&amp;gt; is the density function of the standard normal distribution, and the bounds become increasingly tight for large &amp;#039;&amp;#039;x&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
:Using the [[integration by substitution|substitution]] &amp;#039;&amp;#039;v&amp;#039;&amp;#039; =&amp;#039;&amp;#039;u&amp;#039;&amp;#039;&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/2, the upper bound is derived as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;Q(x) =\int_x^\infty\phi(u)\,du &amp;lt;\int_x^\infty\frac ux\phi(u)\,du =\int_{\frac{x^2}{2}}^\infty\frac{e^{-v}}{x\sqrt{2\pi}}\,dv=-\biggl.\frac{e^{-v}}{x\sqrt{2\pi}}\biggr|_{\frac{x^2}{2}}^\infty=\frac{\phi(x)}{x}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:Similarly, using &amp;lt;math&amp;gt;\phi&amp;#039;(u) = - u \phi(u)&amp;lt;/math&amp;gt; and the [[quotient rule]],&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\left(1+\frac1{x^2}\right)Q(x) =\int_x^\infty \left(1+\frac1{x^2}\right)\phi(u)\,du &amp;gt;\int_x^\infty \left(1+\frac1{u^2}\right)\phi(u)\,du =-\biggl.\frac{\phi(u)}u\biggr|_x^\infty&lt;br /&gt;
=\frac{\phi(x)}x. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:Solving for &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;(&amp;#039;&amp;#039;x&amp;#039;&amp;#039;) provides the lower bound.&lt;br /&gt;
&lt;br /&gt;
:The [[geometric mean]] of the upper and lower bound gives a suitable approximation for &amp;lt;math&amp;gt;Q(x)&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;Q(x) \approx \frac{\phi(x)}{\sqrt{1 + x^2}}, \qquad x \geq 0. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Tighter bounds and approximations of &amp;lt;math&amp;gt;Q(x)&amp;lt;/math&amp;gt; can also be obtained by optimizing the following expression &amp;lt;ref name = &amp;quot;Borjesson&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:: &amp;lt;math&amp;gt; \tilde{Q}(x) = \frac{\phi(x)}{(1-a)x + a\sqrt{x^2 + b}}. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:For &amp;lt;math&amp;gt;x \geq 0&amp;lt;/math&amp;gt;, the best upper bound is given by &amp;lt;math&amp;gt;a = 0.344&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b = 5.334&amp;lt;/math&amp;gt; with maximum absolute relative error of 0.44%. Likewise, the best approximation is given by &amp;lt;math&amp;gt;a = 0.339&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b = 5.510&amp;lt;/math&amp;gt; with maximum absolute relative error of 0.27%. Finally, the best lower bound is given by  &amp;lt;math&amp;gt;a = 1/\pi&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b = 2 \pi&amp;lt;/math&amp;gt; with maximum absolute relative error of 1.17%.&lt;br /&gt;
&lt;br /&gt;
*The [[Chernoff bound]] of the &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;-function is&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;Q(x)\leq e^{-\frac{x^2}{2}}, \qquad x&amp;gt;0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Improved exponential bounds and a pure exponential approximation are &amp;lt;ref&amp;gt;{{cite journal |url=http://campus.unibo.it/85943/1/mcddmsTranWIR2003.pdf |doi=10.1109/TWC.2003.814350|title=New exponential bounds and approximations for the computation of error probability in fading channels|journal=IEEE Transactions on Wireless Communications|volume=24|issue=5|pages=840–845|year=2003|last1=Chiani|first1=M.|last2=Dardari|first2=D.|last3=Simon|first3=M.K.}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;Q(x)\leq \tfrac{1}{4}e^{-x^2}+\tfrac{1}{4}e^{-\frac{x^2}{2}} \leq \tfrac{1}{2}e^{-\frac{x^2}{2}}, \qquad x&amp;gt;0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:: &amp;lt;math&amp;gt;Q(x)\approx \frac{1}{12}e^{-\frac{x^2}{2}}+\frac{1}{4}e^{-\frac{2}{3} x^2}, \qquad x&amp;gt;0 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*The above were generalized by Tanash &amp;amp; Riihonen (2020),&amp;lt;ref&amp;gt;{{cite journal |doi=10.1109/TCOMM.2020.3006902|title=Global minimax approximations and bounds for the Gaussian Q-function by sums of exponentials|journal=IEEE Transactions on Communications|year=2020|last1=Tanash|first1=I.M.|last2=Riihonen|first2=T.|volume=68|issue=10|pages=6514–6524|arxiv=2007.06939|s2cid=220514754}}&amp;lt;/ref&amp;gt; who showed that &amp;lt;math&amp;gt;Q(x)&amp;lt;/math&amp;gt; can be accurately approximated or bounded by&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\tilde{Q}(x) = \sum_{n=1}^N a_n e^{-b_n x^2}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:In particular, they presented a systematic methodology to solve the numerical coefficients &amp;lt;math&amp;gt;\{(a_n,b_n)\}_{n=1}^N&amp;lt;/math&amp;gt; that yield a [[minimax approximation algorithm|minimax]] approximation or bound: &amp;lt;math&amp;gt;Q(x) \approx \tilde{Q}(x)&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;Q(x) \leq \tilde{Q}(x)&amp;lt;/math&amp;gt;, or &amp;lt;math&amp;gt;Q(x) \geq \tilde{Q}(x)&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;x\geq0&amp;lt;/math&amp;gt;. With the example coefficients tabulated in the paper for &amp;lt;math&amp;gt;N = 20&amp;lt;/math&amp;gt;, the relative and absolute approximation errors are less than &amp;lt;math&amp;gt;2.831 \cdot 10^{-6}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;1.416 \cdot 10^{-6}&amp;lt;/math&amp;gt;, respectively. The coefficients &amp;lt;math&amp;gt;\{(a_n,b_n)\}_{n=1}^N&amp;lt;/math&amp;gt; for many variations of the exponential approximations and bounds up to &amp;lt;math&amp;gt;N = 25&amp;lt;/math&amp;gt; have been released to open access as a comprehensive dataset.&amp;lt;ref&amp;gt;{{cite journal |doi=10.5281/zenodo.4112978|title=Coefficients for Global Minimax Approximations and Bounds for the Gaussian Q-Function by Sums of Exponentials [Data set]|url=https://zenodo.org/record/4112978|website=Zenodo|year=2020|last1=Tanash|first1=I.M.|last2=Riihonen|first2=T.}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Another approximation of &amp;lt;math&amp;gt;Q(x)&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;x \in [0,\infty)&amp;lt;/math&amp;gt; is given by [[George Karagiannidis|Karagiannidis]] &amp;amp; Lioumpas (2007)&amp;lt;ref&amp;gt;{{cite journal |doi=10.1109/LCOMM.2007.070470 |url=http://users.auth.gr/users/9/3/028239/public_html/pdf/Q_Approxim.pdf|title=An Improved Approximation for the Gaussian Q-Function|journal=IEEE Communications Letters|volume=11|issue=8|pages=644–646|year=2007|last1=Karagiannidis|first1=George|last2=Lioumpas|first2=Athanasios|s2cid=4043576}}&amp;lt;/ref&amp;gt; who showed for the appropriate choice of parameters &amp;lt;math&amp;gt;\{A, B\}&amp;lt;/math&amp;gt; that&lt;br /&gt;
&lt;br /&gt;
:: &amp;lt;math&amp;gt;f(x; A, B) = \frac{\left(1 - e^{-Ax}\right)e^{-x^2}}{B\sqrt{\pi} x} \approx \operatorname{erfc} \left(x\right).&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: The absolute error between &amp;lt;math&amp;gt;f(x; A, B)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\operatorname{erfc}(x)&amp;lt;/math&amp;gt; over the range &amp;lt;math&amp;gt;[0, R]&amp;lt;/math&amp;gt; is minimized by evaluating&lt;br /&gt;
&lt;br /&gt;
:: &amp;lt;math&amp;gt;\{A, B\} = \underset{\{A,B\}}{\arg \min} \frac{1}{R} \int_0^R | f(x; A, B) - \operatorname{erfc}(x) |dx.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: Using &amp;lt;math&amp;gt;R = 20&amp;lt;/math&amp;gt; and numerically integrating, they found the minimum error occurred when &amp;lt;math&amp;gt;\{A, B\} = \{1.98, 1.135\},&amp;lt;/math&amp;gt; which gave a good approximation for &amp;lt;math&amp;gt;\forall x \ge 0.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: Substituting these values and using the relationship between &amp;lt;math&amp;gt;Q(x)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\operatorname{erfc}(x)&amp;lt;/math&amp;gt; from above gives&lt;br /&gt;
&lt;br /&gt;
:: &amp;lt;math&amp;gt; Q(x)\approx\frac{\left(  1-e^{\frac{-1.98x} {\sqrt{2}}}\right)  e^{-\frac{x^{2}}{2}}}{1.135\sqrt{2\pi}x}, x \ge 0. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: Alternative coefficients are also available for the above &amp;#039;Karagiannidis–Lioumpas approximation&amp;#039; for tailoring accuracy for a specific application or transforming it into a tight bound.&amp;lt;ref&amp;gt;{{cite journal |doi=10.1109/LCOMM.2021.3052257|title=Improved coefficients for the Karagiannidis–Lioumpas approximations and bounds to the Gaussian Q-function|journal=IEEE Communications Letters|year=2021|last1=Tanash|first1=I.M.|last2=Riihonen|first2=T.|volume=25|issue=5|pages=1468–1471|arxiv=2101.07631|s2cid=231639206}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*A tighter and more tractable approximation of &amp;lt;math&amp;gt;Q(x)&amp;lt;/math&amp;gt; for positive arguments &amp;lt;math&amp;gt;x \in [0,\infty)&amp;lt;/math&amp;gt; is given by López-Benítez &amp;amp; Casadevall (2011)&amp;lt;ref&amp;gt;{{cite journal |doi=10.1109/TCOMM.2011.012711.100105 |url=http://www.lopezbenitez.es/journals/IEEE_TCOM_2011.pdf|title=Versatile, Accurate, and Analytically Tractable Approximation for the Gaussian Q-Function|journal=IEEE Transactions on Communications|volume=59|issue=4|pages=917–922|year=2011|last1=Lopez-Benitez|first1=Miguel|last2=Casadevall|first2=Fernando|s2cid=1145101}}&amp;lt;/ref&amp;gt;  based on a second-order exponential function:&lt;br /&gt;
&lt;br /&gt;
:: &amp;lt;math&amp;gt; Q(x) \approx e^{-ax^2-bx-c}, \qquad x \ge 0. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: The fitting coefficients &amp;lt;math&amp;gt; (a,b,c) &amp;lt;/math&amp;gt; can be optimized over any desired range of arguments in order to minimize the sum of square errors (&amp;lt;math&amp;gt;a = 0.3842&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b = 0.7640&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;c = 0.6964&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;x \in [0,20]&amp;lt;/math&amp;gt;) or minimize the maximum absolute error (&amp;lt;math&amp;gt;a = 0.4920&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b = 0.2887&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;c = 1.1893&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;x \in [0,20]&amp;lt;/math&amp;gt;). This approximation offers some benefits such as a good trade-off between accuracy and analytical tractability (for example, the extension to any arbitrary power of &amp;lt;math&amp;gt;Q(x)&amp;lt;/math&amp;gt; is trivial and does not alter the algebraic form of the approximation).&lt;br /&gt;
&lt;br /&gt;
*A pair of tight lower and upper bounds on the Gaussian Q-function for positive arguments &amp;lt;math&amp;gt;x \in [0, \infty)&amp;lt;/math&amp;gt; was introduced by Abreu (2012)&amp;lt;ref&amp;gt;{{cite journal |doi=10.1109/TCOMM.2012.080612.110075 |title=Very Simple Tight Bounds on the Q-Function |journal=IEEE Transactions on Communications |volume=60 |issue=9 |pages=2415–2420 |year=2012 |last=Abreu |first=Giuseppe}}&amp;lt;/ref&amp;gt; based on a simple algebraic expression with only two exponential terms:&lt;br /&gt;
&lt;br /&gt;
:: &amp;lt;math&amp;gt; Q(x) \geq \frac{1}{12} e^{-x^2} + \frac{1}{\sqrt{2\pi} (x + 1)} e^{-x^2 / 2}, \qquad x \geq 0, &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:: &amp;lt;math&amp;gt; Q(x) \leq \frac{1}{50} e^{-x^2} + \frac{1}{2 (x + 1)} e^{-x^2 / 2}, \qquad x \geq 0. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These bounds are derived from a unified form &amp;lt;math&amp;gt;Q_{\mathrm{B}}(x; a, b) = \frac{\exp(-x^2)}{a} + \frac{\exp(-x^2 / 2)}{b (x + 1)}&amp;lt;/math&amp;gt;, where the parameters &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt; are chosen to satisfy specific conditions ensuring the lower (&amp;lt;math&amp;gt;a_{\mathrm{L}} = 12&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b_{\mathrm{L}} = \sqrt{2\pi}&amp;lt;/math&amp;gt;) and upper (&amp;lt;math&amp;gt;a_{\mathrm{U}} = 50&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b_{\mathrm{U}} = 2&amp;lt;/math&amp;gt;) bounding properties. The resulting expressions are notable for their simplicity and tightness, offering a favorable trade-off between accuracy and mathematical tractability. These bounds are particularly useful in theoretical analysis, such as in communication theory over fading channels. Additionally, they can be extended to bound &amp;lt;math&amp;gt;Q^n(x)&amp;lt;/math&amp;gt; for positive integers &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; using the binomial theorem, maintaining their simplicity and effectiveness.&lt;br /&gt;
&lt;br /&gt;
==Inverse &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
The inverse &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;-function can be related to the [[error function#Inverse functions|inverse error functions]]:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Q^{-1}(y) = \sqrt{2}\ \mathrm{erf}^{-1}(1-2y)  = \sqrt{2}\ \mathrm{erfc}^{-1}(2y)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The function &amp;lt;math&amp;gt;Q^{-1}(y)&amp;lt;/math&amp;gt; finds application in digital communications. It is usually expressed in [[Decibel#Field quantities and root-power quantities|dB]] and generally called &amp;#039;&amp;#039;&amp;#039;Q-factor&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\mathrm{Q\text{-}factor} = 20 \log_{10}\!\left(Q^{-1}(y)\right)\!~\mathrm{dB}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;#039;&amp;#039;y&amp;#039;&amp;#039; is the bit-error rate (BER) of the digitally modulated signal under analysis. For instance, for [[quadrature phase-shift keying]] (QPSK) in additive white Gaussian noise, the Q-factor defined above coincides with the value in dB of the [[Signal-to-noise ratio#Decibels|signal to noise ratio]] that yields a bit error rate equal to &amp;#039;&amp;#039;y&amp;#039;&amp;#039;.   &lt;br /&gt;
[[File:Q-factor vs BER.png|thumb|none|400px|Q-factor vs. bit error rate (BER).]]&lt;br /&gt;
&lt;br /&gt;
== Values ==&lt;br /&gt;
The &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;-function is well tabulated and can be computed directly in most of the mathematical software packages such as [[R (programming language)|R]] and those available in [[Python (programming language)|Python]], [[MATLAB]] and [[Wolfram Mathematica|Mathematica]]. Some values of the &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;-function are given below for reference.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- This table was calculated in Matlab as follows:&lt;br /&gt;
  x=0:0.1:6;&lt;br /&gt;
  y = qfunc(x);&lt;br /&gt;
  for i=1:length(x),&lt;br /&gt;
      fprintf(&amp;#039;Q(%.1f) = %.9f = 1/%.4f&amp;lt;br/&amp;gt;\n&amp;#039;,x(i),y(i),1/y(i));&lt;br /&gt;
  end;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
{{col-begin}}&lt;br /&gt;
{{col-4}}&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;(0.0)&lt;br /&gt;
| 0.500000000 || 1/2.0000&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;(0.1)&lt;br /&gt;
| 0.460172163 || 1/2.1731&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;(0.2)&lt;br /&gt;
| 0.420740291 || 1/2.3768&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;(0.3)&lt;br /&gt;
| 0.382088578 || 1/2.6172&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;(0.4)&lt;br /&gt;
| 0.344578258 || 1/2.9021&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;(0.5)&lt;br /&gt;
| 0.308537539 || 1/3.2411&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;(0.6)&lt;br /&gt;
| 0.274253118 || 1/3.6463&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;(0.7)&lt;br /&gt;
| 0.241963652 || 1/4.1329&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;(0.8)&lt;br /&gt;
| 0.211855399 || 1/4.7202&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;(0.9)&lt;br /&gt;
| 0.184060125 || 1/5.4330&lt;br /&gt;
|}&lt;br /&gt;
{{col-4}}&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;(1.0)&lt;br /&gt;
| 0.158655254 || 1/6.3030&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;(1.1)&lt;br /&gt;
| 0.135666061 || 1/7.3710&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;(1.2)&lt;br /&gt;
| 0.115069670 || 1/8.6904&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;(1.3)&lt;br /&gt;
| 0.096800485 || 1/10.3305&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;(1.4)&lt;br /&gt;
| 0.080756659 || 1/12.3829&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;(1.5)&lt;br /&gt;
| 0.066807201 || 1/14.9684&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;(1.6)&lt;br /&gt;
| 0.054799292 || 1/18.2484&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;(1.7)&lt;br /&gt;
| 0.044565463 || 1/22.4389&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;(1.8)&lt;br /&gt;
| 0.035930319 || 1/27.8316&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;(1.9)&lt;br /&gt;
| 0.028716560 || 1/34.8231&lt;br /&gt;
|}&lt;br /&gt;
{{col-4}}&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;(2.0)&lt;br /&gt;
| 0.022750132 || 1/43.9558&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;(2.1)&lt;br /&gt;
| 0.017864421 || 1/55.9772&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;(2.2)&lt;br /&gt;
| 0.013903448 || 1/71.9246&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;(2.3)&lt;br /&gt;
| 0.010724110 || 1/93.2478&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;(2.4)&lt;br /&gt;
| 0.008197536 || 1/121.9879&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;(2.5)&lt;br /&gt;
| 0.006209665 || 1/161.0393&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;(2.6)&lt;br /&gt;
| 0.004661188 || 1/214.5376&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;(2.7)&lt;br /&gt;
| 0.003466974 || 1/288.4360&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;(2.8)&lt;br /&gt;
| 0.002555130 || 1/391.3695&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;(2.9)&lt;br /&gt;
| 0.001865813 || 1/535.9593&lt;br /&gt;
|}&lt;br /&gt;
{{col-4}}&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;(3.0)&lt;br /&gt;
| 0.001349898 || 1/740.7967&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;(3.1)&lt;br /&gt;
| 0.000967603 || 1/1033.4815&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;(3.2)&lt;br /&gt;
| 0.000687138 || 1/1455.3119&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;(3.3)&lt;br /&gt;
| 0.000483424 || 1/2068.5769&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;(3.4)&lt;br /&gt;
| 0.000336929 || 1/2967.9820&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;(3.5)&lt;br /&gt;
| 0.000232629 || 1/4298.6887&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;(3.6)&lt;br /&gt;
| 0.000159109 || 1/6285.0158&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;(3.7)&lt;br /&gt;
| 0.000107800 || 1/9276.4608&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;(3.8)&lt;br /&gt;
| 0.000072348 || 1/13822.0738&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;(3.9)&lt;br /&gt;
| 0.000048096 || 1/20791.6011&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;(4.0)&lt;br /&gt;
| 0.000031671 || 1/31574.3855&lt;br /&gt;
|}&lt;br /&gt;
{{col-end}}&lt;br /&gt;
&lt;br /&gt;
== Generalization to high dimensions ==&lt;br /&gt;
The  &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;-function can be generalized to higher dimensions:&amp;lt;ref&amp;gt;{{cite journal|last1=Savage|first1=I. R.|title=Mills ratio for multivariate normal distributions|journal=Journal of Research of the National Bureau of Standards Section B|date=1962|volume=66|issue=3|pages=93–96|doi=10.6028/jres.066B.011|zbl=0105.12601|doi-access=free}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Q(\mathbf{x})= \mathbb{P}(\mathbf{X}\geq \mathbf{x}),&amp;lt;/math&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\mathbf{X}\sim \mathcal{N}(\mathbf{0},\, \Sigma) &amp;lt;/math&amp;gt; follows the multivariate normal distribution with covariance &amp;lt;math&amp;gt;\Sigma &amp;lt;/math&amp;gt; and the threshold is of the form&lt;br /&gt;
&amp;lt;math&amp;gt;\mathbf{x}=\gamma\Sigma\mathbf{l}^*&amp;lt;/math&amp;gt; for some positive vector &amp;lt;math&amp;gt; \mathbf{l}^*&amp;gt;\mathbf{0}&amp;lt;/math&amp;gt; and positive constant &amp;lt;math&amp;gt;\gamma&amp;gt;0&amp;lt;/math&amp;gt;. As in the one dimensional case, there is no simple analytical formula for the &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;-function. Nevertheless, the &amp;#039;&amp;#039;Q&amp;#039;&amp;#039;-function can be [http://www.mathworks.com/matlabcentral/fileexchange/53796 approximated arbitrarily well] as &amp;lt;math&amp;gt;\gamma&amp;lt;/math&amp;gt; becomes larger and larger.&amp;lt;ref&amp;gt;{{cite journal|last1=Botev|first1=Z. I.|title=The normal law under linear restrictions: simulation and estimation via minimax tilting|journal=Journal of the Royal Statistical Society, Series B|volume=79|pages=125–148|date=2016|doi=10.1111/rssb.12162|arxiv=1603.04166|bibcode=2016arXiv160304166B|s2cid=88515228}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;bmc17&amp;quot;&amp;gt;{{cite book |chapter=Logarithmically efficient estimation of the tail of the multivariate normal distribution |last1=Botev |first1=Z. I.  |last2=Mackinlay |first2=D. |last3=Chen |first3=Y.-L.  |date=2017 |publisher=IEEE |isbn=978-1-5386-3428-8 |title= 2017 Winter Simulation Conference (WSC)|pages=1903–191 |doi= 10.1109/WSC.2017.8247926 |s2cid=4626481 }}&lt;br /&gt;
&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Normal distribution]]&lt;br /&gt;
[[Category:Special functions]]&lt;br /&gt;
[[Category:Functions related to probability distributions]]&lt;br /&gt;
[[Category:Articles containing proofs]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Getuar-WCASP</name></author>
	</entry>
</feed>