If x is random, so is any function f(x), and its density follows in three steps: find where f is below a given value, integrate the density of x over that region to get the cumulative distribution of f, and differentiate. The method gives the intensity of thermal light, the position of an oscillator of unknown phase, the wavelength spectrum of black-body photons, and densities of functions of two variables.
If x is a random variable, any function of it is one too. Knowing the density of an atom's speed, say, one may want the density of its kinetic energy, not just its average. This lecture gives one method for finding the density of a function, a method that always works and is the most useful in physics, and applies it to several examples (slides 1–17; notes pp. 35–46). (MIT's material for this lecture is Greytak's slides and his probability notes, Chapter 3; this page follows them in its own words, with its own worked example. The notes' figures are not reproduced.)
The integral in step B rarely needs to be done, because of a rule for differentiating an integral whose limits and integrand depend on the variable (notes p. 35; slide 4):
d over d y the integral from a(y) to b(y) of g(y, x) d x equals g (y, b(y) ) d b over d y minus g (y, a(y) ) d a over d y plus the integral from a(y) to b(y) of partial g(y, x) over partial y, times d x
The instantaneous intensity of a linearly polarized wave is I=aE2; the same square law appears for power in electrical and acoustic systems (notes p. 36). For thermal radiation, the field has a Gaussiandensity with zero mean and varianceσ2. The mean intensity is easy, ⟨I⟩=aσ2, but the density needs the method (notes pp. 36–38; slides 3–5). I<η when ∣E∣<η/a, so PI(η)=∫−η/aη/apE(ζ)dζ, and differentiating the limits:
p sub I ( eta ) equals 1 over the quantity 2 the square root of a eta, times the quantity p sub E ( the square root of eta over a, end of root, ) plus p sub E (- the square root of eta over a, end of root, ), equals 1 over the square root of 2 pi a sigma squared I, times exp (- I over the quantity 2 a sigma squared, ), I greater than 0
Let x=x0sinϕ with ϕuniform on [0,2π): an oscillator of fixed energy observed at a random time, or a binary star seen edge-on at a random moment (notes p. 39). For 0<η<x0, x<η except for ϕ between arcsin(η/x0) and π−arcsin(η/x0), so Px(η)=21+π1arcsin(η/x0); the case x<0 follows the same way or by symmetry. Differentiating (notes pp. 40–42):
Position of an oscillator with random phase
px(η)=πx02−η21,−x0<η<x0
In words
p sub x ( eta ) equals 1 over the quantity pi the square root of x nought squared minus eta squared, end of root, minus x nought less than eta less than x nought
The density of an oscillator's position at a random time, computed from the formula above: lowest, 1/π, at the centre, where it moves fastest, and rising without bound at the turning points.
Functions of two variables, and changes of variable#
The same three steps work for a function of two variables (notes pp. 42–44). For the product z=xy, the region where z<η is bounded by the hyperbolasy=η/x; differentiating gives, for either sign of η (the notes' closing line says "for all z < 0", a slip for all z),
Density of a product
pz(η)=∫−∞∞∣ζ∣dζpx,y(ζ,ζη)
In words
p sub z ( eta ) equals the integral from minus infinity to infinity of d zeta over the absolute value of zeta, times p sub x y ( zeta, eta over zeta )
A common use is a change of variables (notes pp. 45–46). For points uniform in a unit disk, the fraction with radius below r and angle below θ is r2θ/(2π), so p(r,θ)=r/π, and then p(r)=2r for r<1 and p(θ)=1/(2π). Now p(r)p(θ)=p(r,θ): in polar coordinates the two variables are independent, although x and y were not.
Black-body photons (slides 6–9). The frequency of a photon in black-body radiation at temperature T has the densityp(ν)=2.4041ν01exp(ν/ν0)−1(ν/ν0)2, with ν0=kT/h (the slide writes the constant as 2ζ(3)=2.404; slide 6). With λ=c/ν, step B gives P(λ)=∫c/λ∞p(ν)dν, and step C (slide 8):
p( lambda ) equals c over lambda squared, times p sub nu ( c over lambda ) equals 1 over 2.404, times 1 over lambda nought, times the quantity the quantity lambda over lambda nought, all to the power minus 4, all over the quantity exp ( the quantity lambda over lambda nought, all to the power minus 1 ) minus 1, lambda nought equals c over nu nought
At long wavelengths it falls as (λ/λ0)−3; at short ones as (λ/λ0)−4e−λ0/λ (slide 9).
The larger of two random numbers (slides 10–12). If x and y are independent and uniform on (0,1), z=max(x,y) is below η only when both are, so Pz(η)=η2, pz=2η, ⟨z⟩=32, ⟨z2⟩=21, Var(z)=181 and the standard deviation is about 0.24.
A desorbing atom (slides 13–17). An atom leaving a surface has independent speed, polar angle and azimuth, with p(v)=2σ41v3e−v2/(2σ2) and p(θ)=2sinθcosθ. Its velocity along the normal, vz=vcosθ, comes out after a substitution in the angle integral as (slides 15–17)
Normal velocity of a desorbing atom
p(vz)=σ2vzexp(−2σ2vz2),vz>0
In words
p( v sub z ) equals v sub z over sigma squared, times exp (- v sub z squared over the quantity 2 sigma squared, ), v sub z greater than 0
(a) A gas atom's velocity component v is Gaussian with zero mean and varianceσ2=kT/m. Find the density of its kinetic energyK=21mv2 and check that ⟨K⟩=21kT. (b) A pointer spins to a uniformly random angle ϕ; let y=cosϕ. What fraction of spins give ∣y∣>0.9? (c) For two independent uniform numbers on (0,1), find the density and mean of the smaller one.
(a) Kinetic energy
This is the intensity example with a=m/2: p(K)=πkTK1e−K/(kT) for K>0. Its mean is aσ2=2m⋅mkT=21kT, one half kT per quadratic term, a result met again in the canonical ensemble.
(b) A cosine
As for the oscillator, p(y)=π1−y21. Then prob(∣y∣>0.9)=1−π2arcsin0.9≈1−0.713=0.287: more than a quarter of the spins land in the outer tenth of the range.
(c) The smaller number
The smaller one, w, exceeds η only if both do, so 1−Pw(η)=(1−η)2, pw=2(1−η) and ⟨w⟩=∫012η(1−η)dη=31; with the larger one's 32, the two average to 21, as they must.
A quantity whose value cannot be predicted from what is known, although its behaviour follows the rules of probability. Explained in Probability: one random variable.
How much of something (mass, charge, energy, particles or probability) there is in each unit of volume, area, length or other variable. Explained in Density and pressure.
A sum of very many very small pieces, such as the area under a graph; it undoes taking a derivative. Explained in Rates of change and area under a graph.
How much energy a wave, or a beam of particles, carries each second through each square metre of a surface facing it. Explained in Sound and intensity.
Something that has a value at every point of space, such as the temperature, the wind velocity or the electric field at each place. Explained in Newton's law of gravitation.
To fail to settle on a finite value: a series or integral diverges when its partial results grow without limit or never settle. Explained in Improper integrals.
A quantity, measured in joules, that a body or field has because of its motion, position or state; a closed system keeps its total. Explained in Conservation of energy.
A place where a moving body stops for an instant and turns back, because there all its energy is potential energy. Explained in Quadratics and power laws.
An open curve with two separate branches: the set of points whose distances from two fixed points differ by the same amount. Explained in Quadratics and power laws.
The radiation given off by a body in thermal equilibrium, whose spread over wavelengths depends only on its temperature. Explained in Black-body radiation in statistical physics.
The spread of light or other radiation over its wavelengths, or the full set of values a quantity such as energy can take. Explained in Light and the electromagnetic spectrum.
An ideal object that absorbs all light falling on it; when hot, it gives off radiation whose spectrum depends only on its temperature. Explained in Thermal radiation and Planck's photons.
Rewriting a problem in new variables suited to it; in an integral this needs a factor, the Jacobian, for how areas or volumes stretch. Explained in Change of variables in double integrals.
Coordinates in a flat plane that give a point's distance r from the origin and its angle θ from a fixed direction. Explained in Vectors.
Tap or click a word, here or in the text, for its meaning in this lesson. All words: the glossary. How many words are marked in the text: Reading options (the “Aa” button).