Q Function and Error Function: Properties and Relationships, Exercises of Theories of Communication

An in-depth analysis of the q function and error function, essential concepts in probability theory and digital communication. The q function is defined, and its monotonicity, properties, and known bounds are discussed. The document also explains how to calculate q using the erf function in matlab and derives the relationship between q and erf. Lastly, the document discusses the application of q function in calculating the probability of a normal variable being away from its expectation.

Typology: Exercises

2016/2017

Uploaded on 06/04/2017

2123419
2123419 🇻🇳

1 document

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Last version available at www.eng.tau.ac.il/jo/teaching
Q function and error function
We first note that
Z
−∞
ex2dx =π;Z
−∞
eax2
2dx =r2π
a
For our needs in Digital Communication course, we define:
Q(α)
=1
2πZ
α
ex2
2dx
The Q(·) function is monotonically decreasing. Some features:
Q(−∞) = 1 ; Q(0) = 1
2;Q() = 0 ; Q(x) = 1 Q(x)
Known bounds (valid for x > 0):
1
2πx µ11
x2ex2/2< Q(x)<1
2πx ex2/2
Q(x)1
2ex2/2
Matlab does not have a build-in function for Q(·). Instead, we use its erf function:
erf(α)
=2
πZα
0
ex2dx
Note that erf function is defined over [0,) only, and
erf(0) = 0 ; erf() = 1
The relations between the two functions are
Q(α) = 1
21
2erf µα
2; erf(α) = 1 2Q(2α)
If we have a normal variable XN(µ, σ2), the probability that X > x is
Pr{X > x}=Qµxµ
σ
Now, if we want to know the probability of Xto be away from its expectation µby at least a
(either to the left or to the right) we have:
Pr{X > µ +a}= Pr{X < µ a}=Qµa
σ
The probability to be away from the center where we don’t matter in which direction is 2 ·Q(a
σ).
This version compiled on April 6, 2006

Partial preview of the text

Download Q Function and Error Function: Properties and Relationships and more Exercises Theories of Communication in PDF only on Docsity!

Last version available at www.eng.tau.ac.il/∼jo/teaching

Q function and error function

We first note that ∫ (^) ∞

−∞

e−x

2 dx =

π ;

∫ (^) ∞

−∞

e−^

ax 2 2 dx =

√ 2 π a

For our needs in Digital Communication course, we define:

Q(α) =∆

√^1

2 π

∫ (^) ∞

α

e−^

x 22 dx

The Q(·) function is monotonically decreasing. Some features:

Q(−∞) = 1 ; Q(0) =

2 ;^ Q(∞) = 0^ ;^ Q(−x) = 1^ −^ Q(x)

Known bounds (valid for x > 0):

√^1 2 πx

( 1 −

x^2

) e−x

(^2) / 2 < Q(x) <

√^1

2 πx

e−x

(^2) / 2

Q(x) ≤ 1 2

e−x^2 /^2

Matlab does not have a build-in function for Q(·). Instead, we use its erf function:

erf(α) = ∆ √^2 π

∫ (^) α

0

e−x^2 dx

Note that erf function is defined over [0, ∞) only, and

erf(0) = 0 ; erf(∞) = 1

The relations between the two functions are

Q(α) =^1 2

erf

( (^) α √ 2

) ; erf(α) = 1 − 2 Q(

2 α)

If we have a normal variable X ∼ N (μ, σ^2 ), the probability that X > x is

Pr{X > x} = Q

( (^) x − μ σ

)

Now, if we want to know the probability of X to be away from its expectation μ by at least a

(either to the left or to the right) we have:

Pr{X > μ + a} = Pr{X < μ − a} = Q

( (^) a σ

)

The probability to be away from the center where we don’t matter in which direction is 2 · Q( (^) σa ).

This version compiled on April 6, 2006