Essential Radio Astronomy

Appendix B Mathematical Derivations

B.1 Evaluation of Planck’s Sum

Planck’s sum (Equation 2.83) for the average energy per mode of blackbody radiation is

⟨E⟩=∑n=0∞n⁢h⁢ν⁢exp⁡(-n⁢h⁢νk⁢T)∑n=0∞exp⁡(-n⁢h⁢νk⁢T).

It is convenient to introduce the variable α≡1/(k⁢T), so

⟨E⟩=∑n=0∞n⁢h⁢ν⁢exp⁡(-α⁢n⁢h⁢ν)∑n=0∞exp⁡(-α⁢n⁢h⁢ν).

Next consider the quantity

-dd⁢α⁢[ln⁢∑n=0∞exp⁡(-α⁢n⁢h⁢ν)].

Using the chain rule to take the derivative yields

-dd⁢α⁢[ln⁢∑n=0∞exp⁡(-α⁢n⁢h⁢ν)] =-[∑n=0∞exp⁡(-α⁢n⁢h⁢ν)]-1⁢dd⁢α⁢[∑n=0∞exp⁡(-α⁢n⁢h⁢ν)]
=∑n=0∞n⁢h⁢ν⁢exp⁡(-α⁢n⁢h⁢ν)∑n=0∞exp⁡(-α⁢n⁢h⁢ν).

Thus

⟨E⟩=-dd⁢α⁢[ln⁢∑n=0∞exp⁡(-α⁢n⁢h⁢ν)].

Then,

∑n=0∞exp⁡(-α⁢n⁢h⁢ν)=1+[exp⁡(-α⁢h⁢ν)]1+[exp⁡(-α⁢h⁢ν)]2+⋯

has the form 1+x+x2+⋯=(1-x)-1, so

∑n=0∞exp⁡(-α⁢n⁢h⁢ν)=[1-exp⁡(-α⁢h⁢ν)]-1

and

⟨E⟩ =-dln[1-exp(αhν)]-1d⁢α
=-[1-exp⁡(-α⁢h⁢ν)]⁢(-1)⁢[1-exp⁡(-α⁢h⁢ν)]-2⁢h⁢ν⁢exp⁡(-α⁢h⁢ν)
=h⁢ν⁢exp⁡(-α⁢h⁢ν)1-exp⁡(-α⁢h⁢ν)=h⁢νexp⁡(α⁢h⁢ν)-1=h⁢νexp⁡(h⁢νk⁢T)-1.

B.2 Derivation of the Stefan–Boltzmann Law

The Stefan–Boltzmann law for the integrated brightness of blackbody radiation at temperature T (Equation 2.89) is

B⁢(T)=∫0∞Bν⁢(T)⁢𝑑ν=σ⁢T4π,

where

Bν⁢(T)=2⁢h⁢ν3c2⁢1exp⁡(h⁢νk⁢T)-1

is Planck’s law and σ is the Stefan–Boltzmann constant. Although the Stefan–Boltzmann law and constant were first determined experimentally, both can be derived mathematically from Planck’s law. For simplicity, define

x≡h⁢νk⁢T,

so

B⁢(T)=∫0∞2⁢hc2⁢(k⁢T⁢xh)3⁢(1ex-1)⁢(k⁢Th)⁢𝑑x=2⁢k4⁢T4c2⁢h3⁢∫0∞x3⁢d⁢xex-1.

The quantity

1ex-1=e-x1-e-x=e-x⁢(11-e-x)

can be expanded in terms of the infinite series

∑m=0∞zm= 1+z+z2+z3+⋯
= 1+z⁢(1+z+z2+z3+⋯)
= 1+z⁢∑m=0∞zm,
∑m=0∞zm= 11-z.

Thus

1ex-1=e-x⁢∑m=0∞e-m⁢x=e-x+e-2⁢x+e-3⁢x+⋯

and the integral becomes

∫0∞x3⁢d⁢xex-1=∫0∞x3⁢(∑m=1∞e-m⁢x)⁢𝑑x.

Each integral in this series can be integrated by parts three times:

∫0∞x3⁢e-m⁢x⁢𝑑x =x3⁢e-m⁢x-m|0∞-∫0∞3⁢x2⁢e-m⁢x-m⁢𝑑x=3m⁢∫0∞x2⁢e-m⁢x⁢𝑑x,
∫0∞x2⁢e-m⁢x⁢𝑑x =x2⁢e-m⁢x-m|0∞-∫0∞2⁢x⁢e-m⁢x-m⁢𝑑x=2m⁢∫0∞x⁢e-m⁢x⁢𝑑x,
∫0∞x⁢e-m⁢x⁢𝑑x =x⁢e-m⁢x-m|0∞-∫0∞x⁢e-m⁢x-m⁢𝑑x=1m⁢∫0∞e-m⁢x⁢𝑑x=1m2,

to give

∫0∞x3⁢e-m⁢x⁢𝑑x=6m4

and

∫0∞x3⁢d⁢xex-1=∫0∞x3⁢(∑m=1∞e-m⁢x)⁢𝑑x=6⁢∑m=1∞1m4.

The sum

∑m=1∞1m4=114+124+134+144+⋯=1+116+181+1256+⋯≈1.082

converges quickly and is the value of the Riemann zeta function ζ⁢(4)=π4/90≈1.082. Thus

∫0∞x3⁢d⁢xex-1=π415. (B.1)

Finally, the integrated brightness of blackbody radiation is

B⁢(T)=2⁢k4⁢T4c2⁢h3⁢∫0∞x3⁢d⁢xex-1=2⁢k4⁢T4c2⁢h3⁢(π415)=2⁢π4⁢k415⁢c2⁢h3⁢T4=σ⁢T4π,

so

σ=2⁢π5⁢k415⁢c2⁢h3≈5.67×10-5⁢ergcm2⁢s⁢K4⁢(sr)

is the value of the Stefan–Boltzmann constant.

Similarly, the integral

∫0∞x2⁢d⁢xex-1

is needed to evaluate the number density nγ of blackbody photons:

nγ=8⁢πc3⁢∫0∞ν2⁢d⁢νexp⁡(h⁢νk⁢T)-1=8⁢πc3⁢(k⁢Th)3⁢∫0∞x2⁢d⁢xex-1.

Following the derivation above,

∫0∞x2⁢d⁢xex-1=∫0∞x2⁢(∑m=1∞e-m⁢x)⁢𝑑x

and

∫0∞x2⁢e-m⁢x⁢𝑑x=2m⁢∫0∞x⁢e-m⁢x⁢𝑑x=2m⁢(1m2)=2m3,

so

∫0∞x2⁢d⁢xex-1=2∑m=1∞1m3=2(113+123+133+⋯)≈2.404. (B.2)

B.3 Complex Exponentials

A complex exponential ei⁢ϕ, where i2=-1 and ϕ is any dimensionless real variable, is a complex number in which the real and imaginary parts are sines and cosines given by Euler’s formula

ei⁢ϕ=cosϕ+isinϕ. (B.3)

Euler’s formula can be derived from the Taylor series

cos⁡ϕ =1-ϕ22!+ϕ44!-ϕ66!+⋯,
sin⁡ϕ =ϕ-ϕ33!+ϕ55!-ϕ77!+⋯,
eϕ =1+ϕ+ϕ22!+ϕ33!+ϕ44!+⋯.

Thus

ei⁢ϕ =1+i⁢ϕ-ϕ22!-i⁢ϕ33!+ϕ44!+i⁢ϕ55!-i⁢ϕ66!-i⁢ϕ77!+⋯
=(1-ϕ22!+ϕ44!-ϕ66!+⋯)+i⁢(ϕ-ϕ33!+ϕ55!-ϕ77!+⋯)
=cos⁡ϕ+i⁢sin⁡ϕ.

Complex exponentials (or sines and cosines) are widely used to represent periodic functions in physics for the following reasons:

  1. 1.

    They comprise a complete and orthogonal set of periodic functions. This set of functions can be used to approximate any piecewise continuous function, and they are the basis of Fourier transforms (Appendix A.1).

  2. 2.

    They are eigenfunctions of the differential operator—that is, the derivatives of complex exponentials are themselves complex exponentials:

    d⁢ei⁢ϕd⁢ϕ=i⁢ei⁢ϕ,d2⁢ei⁢ϕd⁢ϕ2=-ei⁢ϕ,d3⁢ei⁢ϕd⁢ϕ3=-i⁢ei⁢ϕ,d4⁢ei⁢ϕd⁢ϕ4=ei⁢ϕ,….

Most physical systems obey linear differential equations, a low-pass filter consisting of a resistor and a capacitor, for example. A sinusoidal input signal will yield a sinusoidal output signal of the same frequency (but not necessarily with the same amplitude and phase), while a square-wave input will not yield a square-wave output. The response to a square-wave input can be calculated by treating the input square wave as a sum of sinusoidal waves, and the filter output is the sum of these filtered sinusoids. This is the reason why periodic waves or oscillations are almost always treated as combinations of complex exponentials (or sines and cosines).

Real periodic signals can be expressed as the real parts of complex exponentials:

cos⁡ϕ =Re⁢(ei⁢ϕ),
sin⁡ϕ =Im⁢(ei⁢ϕ).

Adding and subtracting the equations

ei⁢ϕ =cos⁡ϕ+i⁢sin⁡ϕ,
e-i⁢ϕ =cos⁡ϕ-i⁢sin⁡ϕ

gives the identities

cos⁡ϕ=ei⁢ϕ+e-i⁢ϕ2 (B.4)

and

sinϕ=ei⁢ϕ-e-i⁢ϕ2⁢i. (B.5)

The advantage of complex exponentials over the equivalent sums of sines and cosines is that they are easier to manipulate mathematically. For example, you can use complex exponentials to calculate the output spectrum of a square-law detector (Section 3.6.2) without having to remember trigonometric identities. A square-law detector is a nonlinear device whose output voltage is the square of its input voltage. If the input voltage is cos⁡(ω⁢t), the output voltage is

cos2⁡(ω⁢t) =(ei⁢ω⁢t+e-i⁢ω⁢t2)2
=e2⁢i⁢ω⁢t+2+e-2⁢i⁢ω⁢t4
=2⁢cos⁡(2⁢ω⁢t)+24
=12⁢[cos⁡(2⁢ω⁢t)+1].

The output spectrum has two frequency components: one at twice the input frequency ω and the other at zero frequency (DC).

B.4 The Fourier Transform of a Gaussian

The normalized Gaussian function is usually written as

f⁢(x)=12⁢π⁢σ⁢exp⁡(-x22⁢σ2), (B.6)

where σ is its rms width. To calculate its Fourier transform

F⁢(s)≡∫-∞∞f⁢(x)⁢exp⁡(-i⁢2⁢π⁢s⁢x)⁢𝑑x, (B.7)

it is easier to use the form f⁢(x)=exp⁡(-π⁢x2), for which σ2=1/(2⁢π). Then

F⁢(s) =∫-∞∞exp⁡(-π⁢x2)⁢exp⁡(-i⁢2⁢π⁢s⁢x)⁢𝑑x (B.8)
=∫-∞∞exp⁡[-π⁢(x2+i⁢2⁢s⁢x+s2-s2)]⁢𝑑x (B.9)
=exp⁡(-π⁢s2)⁢∫-∞+i⁢s∞+i⁢sexp⁡[-π⁢(x+i⁢s)2]⁢d⁢(x+i⁢s) (B.10)
=exp⁡(-π⁢s2)⁢∫-∞∞exp⁡(-π⁢x2)⁢𝑑x. (B.11)

To evaluate this one-dimensional integral, break it into the product of two integrals and change one dummy variable from x to y to suggest Cartesian coordinates in a plane:

∫-∞∞exp⁡(-π⁢x2)⁢𝑑x =[∫-∞∞exp(-πx2)dx∫-∞∞exp(-πy2)dy]1/2 (B.12)
=[∫-∞∞∫-∞∞exp⁡[-π⁢(x2+y2)]⁢𝑑x⁢𝑑y]1/2. (B.13)

Next transform to polar coordinates r,θ so r2=x2+y2 and d⁢x⁢d⁢y=r⁢d⁢r⁢d⁢θ:

∫-∞∞exp⁡(-π⁢x2)⁢𝑑x=[∫r=0∞∫θ=02⁢πexp⁡(-π⁢r2)⁢r⁢𝑑r⁢𝑑θ]1/2. (B.14)

Finally, substitute u≡π⁢r2 and d⁢u=2⁢π⁢r⁢d⁢r to get

∫-∞∞exp⁡(-π⁢x2)⁢𝑑x=[2⁢π⁢∫u=0∞exp⁡(-u)⁢d⁢u2⁢π]1/2=[-e-u|0∞]1/2=1. (B.15)

Thus

F⁢(s)=exp⁡(-π⁢s2). (B.16)

The Fourier transform of a Gaussian is a Gaussian.

B.5 The Gaussian Probability Distribution and Noise Voltage

The voltage V of random noise has a Gaussian probability distribution

P⁢(V)=1(2⁢π)1/2⁢σ⁢exp⁡(-V22⁢σ2), (B.17)

where P⁢(V)⁢d⁢V is the differential probability that the voltage will be within the infinitesimal range V to V+d⁢V and σ is the root mean square (rms) voltage. The probability of measuring some voltage must be unity, so

∫-∞∞P⁢(V)⁢𝑑V=1. (B.18)

The normalization of P⁢(V) in Equation B.17 can be confirmed by evaluating the integral

∫-∞∞1(2⁢π)1/2⁢σ⁢exp⁡(-V22⁢σ2)⁢𝑑V =2⁢∫0∞1(2⁢π)1/2⁢σ⁢exp⁡(-V22⁢σ2)⁢𝑑V (B.19)
=[2(2⁢π)1/2⁢σ]⁢∫0∞exp⁡(-V22⁢σ2)⁢𝑑V. (B.20)

Equation B.15 immediately yields the definite integral

∫0∞exp⁡(-a2⁢x2)⁢𝑑x=π1/22⁢a. (B.21)

Substituting a2=(2⁢σ2)-1 gives the desired result:

∫-∞∞P⁢(V)⁢𝑑V=[2(2⁢π)1/2⁢σ]⁢(π1/22)⁢(2⁢σ2)1/2=1. (B.22)

The rms (root mean square) Σ of a normalized distribution is defined by

Σ2≡⟨V2⟩-⟨V⟩2. (B.23)

For the symmetric Gaussian distribution, ⟨V⟩=0, so

Σ2 =⟨V2⟩=∫-∞∞V2⁢P⁢(V)⁢𝑑V (B.24)
=2⁢∫0∞V2⁢1(2⁢π)1/2⁢σ⁢exp⁡(-V22⁢σ2)⁢𝑑V (B.25)
=[2(2⁢π)1/2⁢σ]⁢∫0∞V2⁢exp⁡(-V22⁢σ2)⁢𝑑V. (B.26)

The definite integral

∫0∞x2⁢exp⁡(-a2⁢x2)⁢𝑑x=π1/24⁢a3 (B.27)

can be derived by integrating Equation B.21 by parts. Inserting a2=(2⁢σ2)-1 yields

Σ2=⟨V2⟩=[2(2⁢π)1/2⁢σ]⁢(π1/24)⁢(2⁢σ2)3/2=σ2, (B.28)

confirming that σ in Equation B.17 is the rms of the Gaussian distribution.

B.6 The Probability Distribution of Noise Power

A square-law detector multiplies the input voltage V by itself to yield an output voltage Vo=V2 that is proportional to the input power. The input voltage distribution is a Gaussian with rms σ (Equation B.17),

P⁢(V)=1(2⁢π)1/2⁢σ⁢exp⁡(-V22⁢σ2). (B.29)

The same value of Vo=V2 is produced by both positive and negative values of V and P⁢(V)=-P⁢(V), so

Po⁢(Vo)⁢d⁢Vo=2⁢P⁢(V)⁢d⁢V (B.30)

for all Vo≥0. Because d⁢Vo=2⁢V⁢d⁢V,

Po⁢(Vo)=[Vo-1/2(2⁢π)1/2⁢σ]⁢exp⁡(-Vo2⁢σ2) (B.31)

for Vo≥0. The distribution of detector output voltage is sharply peaked near Vo=0 and has a long exponentially decaying tail (Figure 3.33).

The mean detector output voltage follows from Equation B.28: ⟨Vo⟩=⟨V2⟩=σ2.

The rms σo of the detector output voltage is

σo2=⟨Vo2⟩-⟨Vo⟩2, (B.32)

where

⟨Vo2⟩ =∫0∞Vo2⁢Po⁢(Vo)⁢𝑑Vo=∫0∞V4⁢2⁢P⁢(V)⁢𝑑V (B.33)
=[2(2⁢π)1/2⁢σ]⁢∫0∞V4⁢exp⁡(-V22⁢σ2)⁢𝑑V. (B.34)

Integrating Equation B.27 by parts yields the definite integral

∫0∞x4⁢exp⁡(-a2⁢x2)⁢𝑑x=3⁢π1/28⁢a5, (B.35)

and substituting a2=(2⁢σ2)-1 gives

⟨Vo2⟩=[2(2⁢π)1/2⁢σ]⁢(3⁢π1/28)⁢(2⁢σ2)5/2=3⁢σ4. (B.36)

Thus

σo2=⟨Vo2⟩-⟨Vo⟩2=3⁢σ4-(σ2)2=2⁢σ4. (B.37)

The rms σo=21/2⁢σ2 of the detector output voltage is 21/2 times the mean output voltage σ2. The rms uncertainty in each independent sample of the measured noise power is 21/2 times the mean noise power. If N≫1 independent samples are averaged, the fractional rms uncertainty of the averaged power is (2/N)1/2. This result is the heart of the ideal radiometer equation (Equation 3.154). According to the central limit theorem, the distribution of these averages approaches a Gaussian as N becomes large.

B.7 Evaluation of the Free–Free Pulse Energy Integral

The integral in Equation 4.22 is

∫0π/2cos4⁡ψ⁢d⁢ψ =∫0π/2cos2⁡ψ⁢(1-sin2⁡ψ)⁢𝑑ψ
=∫0π/2cos2⁡ψ⁢d⁢ψ-∫0π/2cos2⁡ψ⁢sin2⁡ψ⁢d⁢ψ. (B.38)

We have already found that ⟨cos2⁡ψ⟩=1/2 so ∫0π/2cos2⁡ψ⁢d⁢ψ=π/4. Integrate the remaining integral by parts using

u≡cos2⁡ψ⁢sin⁡ψ  and  v⁢d⁢v≡sin⁡ψ⁢d⁢ψ.

Therefore

d⁢u=cos3⁡ψ-2⁢sin2⁡ψ⁢cos⁡ψ  and  v=-cos⁡ψ,

and

∫0π/2cos2⁡ψ⁢sin2⁡ψ⁢d⁢ψ =-cos2⁡ψ⁢sin⁡ψ⁢cos⁡ψ|0π/2
 -∫0π/2-cos⁡ψ⁢(cos3⁡ψ-2⁢sin2⁡ψ⁢cos⁡ψ)⁢d⁢ψ
=∫0π/2cos4⁡ψ⁢d⁢ψ-2⁢∫0π/2cos2⁡ψ⁢sin2⁡ψ⁢d⁢ψ,
which has the same integral on both sides, so
∫0π/2cos2⁡ψ⁢sin2⁡ψ⁢d⁢ψ =13⁢∫0π/2cos4⁡ψ⁢d⁢ψ.

Using Equation B.38 we get

∫0π/2cos4⁡ψ⁢d⁢ψ =π4-13⁢∫0π/2cos4⁡ψ⁢d⁢ψ,
43⁢∫0π/2cos4⁡ψ⁢d⁢ψ =π4,

so

⁢∫0π/2cos4⁡ψ⁢d⁢ψ=3⁢π16. (B.39)

B.8 The Nonrelativistic Maxwellian Speed Distribution

Let v≡|v→| be the speed of a particle (e.g., an electron) of mass m in a gas in LTE at temperature T. From thermodynamics, recall that the average kinetic energy is k⁢T/2 per degree of freedom (e.g., per spatial coordinate for a single particle), so

m⁢⟨vx2⟩2=m⁢⟨vy2⟩2=m⁢⟨vz2⟩2=k⁢T2, (B.40)
⟨v2⟩=⟨vx2⟩+⟨vy2⟩+⟨vz2⟩=3⁢k⁢Tm. (B.41)

Collisions eventually bring the gas into LTE, leading to identical Gaussian distributions (Appendix B.5) for vx, vy, and vz. Writing out only the x-coordinate distribution P⁢(vx) yields

P⁢(vx)=12⁢π⁢σx⁢exp⁡(-vx22⁢σx2), (B.42)

where σx is the rms (root mean square) value of vx. The definition of this rms is

σx2≡⟨vx2⟩ =∫-∞∞vx2⁢P⁢(vx)⁢𝑑vx=∫-∞∞vx22⁢π⁢σx⁢exp⁡(-vx22⁢σx2)⁢𝑑vx (B.43)
=12⁢π⁢σx⁢12⁢π⁢(12⁢σx2)-3/2=k⁢Tm, (B.44)

so

P⁢(vx)=12⁢π⁢(mk⁢T)1/2⁢exp⁡(-m⁢vx22⁢k⁢T). (B.45)

In three dimensions, by isotropy,

P⁢(vx,vy,vz)⁢d⁢vx⁢d⁢vy⁢d⁢vz=P⁢(vx)⁢P⁢(vy)⁢P⁢(vz)⁢d⁢vx⁢d⁢vy⁢d⁢vz, (B.46)
P⁢(vx,vy,vz)=(m2⁢π⁢k⁢T)3/2⁢exp⁡(-m⁢v22⁢k⁢T). (B.47)

All velocities in the spherical shell of radius v=(vx2+vy2+vz2)1/2 correspond to the speed v, so

f⁢(v)=4⁢π⁢v2⁢P⁢(vx,vy,vz), (B.48)
f(v)=4⁢v2π(m2⁢k⁢T)3/2exp(-m⁢v22⁢k⁢T). (B.49)

This is the nonrelativistic Maxwellian distribution f of speeds v≪c for particles of mass m at temperature T. If we normalize the speeds by the rms speed (3⁢k⁢T/m)1/2, the Maxwellian speed distribution looks like Figure 4.6.