Foundations included in this file
Reading a graph
How does a curve show the relationship between two physical quantities?
Walk for a minute and note how far you have gone every ten seconds: 0 m at the start, 14 m after ten seconds, 28 m after twenty, and so on. The first drawing below puts time along the bottom and distance up the side, with a dot for each pair. That is a graph: each dot is one moment, read across for the time and up for the distance.
The dots of a steady walk fall on a straight line, and the steeper the line, the faster the walk. This one climbs 14 metres for every 10 seconds: 1.4 metres per second. A flat line would mean standing still, and a line that bends upward would mean speeding up.
The papers draw other pairs the same way. Along the bottom goes what you choose or wait for, such as a position or a time; up the side goes what you then find, such as how many particles sit there. A bell-shaped curve, high in the middle and falling away on both sides, says that most particles are near the centre and fewer are farther out.
Worked example: Four particles that average to zero
- Four particles end at −3, −1, +1 and +3 micrometres from where they started.
- The second drawing puts those positions along the bottom, with a bar one particle tall above each.
- The bars stand two on each side of zero, at the same distances out. The picture is symmetric, so the average position is 0.
- Yet no bar stands at zero: every particle moved. The graph shows at a glance what the average hides.
Where this lesson stops
Before reading a curve, read its two labels and their units, and ask whether its height is a count, a density or a running total.
This lesson builds on
Return to the chapter
A letter stands for a quantity
What does a letter such as t mean in a formula?
Fill in the blanks: "After ___ seconds the particle had wandered about ___ micrometres." The Brownian paper fills them twice. After 1 second, about 0.8 micrometres; after 60 seconds, about 6.
Write t for the first blank and λx for the second, and the sentence becomes a relation between two quantities. The letter t keeps meaning the time elapsed, in seconds, while its value goes from 1 to 60. The letter λx keeps meaning how far the particle has wandered along one direction while its value grows from about 0.8 to about 6 micrometres.
A letter's meaning belongs to the place where it is used, not to the letter. In the light-quanta paper L is the speed of light in §§1 and 2, and in §9 it is the light energy absorbed. Each passage says what its letters mean, and so does every formula on this site, in its legend.
Worked example: The paper's two estimates, and where they come from
- §5 of the Brownian paper prints λx = 8 × 10⁻⁵ cm = 0.8 micrometres for t = 1 second, and about 6 micrometres for one minute, for a particle 0.001 mm across in water at 17 °C.
- Worked out again with the paper's own constants, R = 8.31 and N = 6 × 10²³ (the constant set einstein-1905-brownian-printed), the values are 0.7948 μm at t = 1 s and 6.1564 μm at t = 60 s.
- With the modern Boltzmann constant in place of R/N (the exact value of the set modern-si-2019), and the same particle and water, they are 0.7935 μm and 6.1467 μm.
- In every line t means the same thing, the time elapsed. Only its value changes, and λx changes with it.
Where this lesson stops
A letter names a quantity: its value can change while its meaning stays the same. The rule that turns t into λx is the subject of the Brownian paper's §4.
Return to the chapter
A sign records direction
How can movement add up to zero?
On the ruler below, the starting point is zero. A final mark three units to the right has displacement +3; one three units to the left has displacement −3. Adding the signed displacements gives zero. Adding the distances from the start gives six.
Displacement compares where something ends with where it started, whatever it did in between. A walker who goes three units right and comes back has displacement zero after walking six, which is the lower pair of arrows in the drawing.
Worked example: Two walkers, opposite directions, average zero
Two walkers both finish one unit from their start, one at −1 and the other at +1. The signed average is zero. The average distance is one.
Where this lesson stops
The sign names a direction relative to a chosen axis; it does not mean a negative distance.
This lesson builds on
Return to the chapter
Squares and square roots
If the mean square grows four times, why does the typical distance only double?
Both +3 and −3 have square 9, so squaring removes the sign, and it weights a large distance more than a small one. A square root returns to the original unit: the square root of a square micrometre is a micrometre.
The root mean square, or RMS, uses both steps: square each displacement, average the squares, then take the square root. The result is a typical distance from the start, in the original unit.
The square root of four q is twice the square root of q, for nonnegative q.
Worked example: Doubling every displacement, and what the RMS does
- The displacements −3, −1, +1, +3 have squares 9, 1, 1, 9. Their average is 5, so the RMS is √5, about 2.236.
- Double each displacement: −6, −2, +2, +6. The squares are 36, 4, 4, 36, and their average is 20.
- The mean square went from 5 to 20, four times as large. The RMS went from about 2.236 to √20, about 4.472: twice as large.
Where this lesson stops
Four times the mean square is twice the RMS. That is why, in the Brownian paper, waiting four times as long doubles the typical distance.
This lesson builds on
Return to the chapter
Adding and averaging
What does an average keep, and what does it lose?
Four jars hold 3, 1, 1 and 3 marbles. Pour them together and there are 8. Share the 8 equally between the four jars and each holds 2. Two is the average, although no jar held 2 to begin with.
The average keeps the total and the count and nothing else, so 3, 1, 1, 3 and 2, 2, 2, 2 have the same average. Listing every value twice doubles both the total and the count, and the average stays at 2.
Worked example: Three mornings with the same average
- One morning the four jars hold 3, 1, 1 and 3 marbles. Add them: 8. Divide by the four jars: an average of 2.
- Another morning they hold 8, 0, 0 and 0. Add them: 8 again. Divide by four: 2 again, and now three jars are empty.
- A third morning every jar holds 2, which is the average itself. Add them: 8. Divide by four: 2.
- Write any of those three lists out twice over. The total doubles to 16 and the count doubles to 8 jars, and 16 divided by 8 is still 2.
- Four descriptions and one average. It keeps the total and the count, and the differences between the mornings are what it leaves behind.
Where this lesson stops
An average is the total shared equally among the observations, and two very different lists can have the same one.
Return to the chapter
Rates of change and derivatives
How can a body have a speed at a single instant?
A speed needs two readings of position and the time between them: divide the distance covered by the time taken, and you have the average speed over that interval. An instant has no duration, so that recipe cannot be used at an instant as it stands.
So shorten the interval and watch what happens. A ball rolls so that after t seconds it has gone 3t² metres: 3 m after one second, 12 m after two. Start at the one-second mark and average over shorter and shorter stretches:
- Over the next second it goes from 3 m to 12 m: 9 m in 1 s, an average of 9 m/s.
- Over the next tenth of a second it reaches 3.63 m: 0.63 m in 0.1 s, an average of 6.3 m/s.
- Over the next hundredth it reaches 3.0603 m: 0.0603 m in 0.01 s, an average of 6.03 m/s.
- Over the next thousandth it reaches 3.006003 m: 0.006003 m in 0.001 s, an average of 6.003 m/s.
The averages close in on 6 m/s. That number is the derivative: the ball's speed at the instant t = 1 s. The interval is never set to zero, which would mean dividing zero distance by zero time. It only shrinks, and the averages settle.
In symbols, with Δt for the short interval, the same recipe reads:
d x by d t is the value that the change in position divided by the change in time settles on as delta t shrinks towards zero.
A derivative carries units: those of the quantity that changes, divided by those of the quantity you vary. Position in metres, varied over time in seconds, gives metres per second. On a graph of position against time, the derivative at a point is the steepness of the curve there.
Einstein's Brownian paper needs rates like this for a concentration of particles, which changes along a tube and in time at once. With two things changing, a rate has to say which one it follows, so the paper writes a curly ∂ and holds the other fixed:
The partial derivative of f with respect to t equals D times the second partial derivative of f with respect to x.
The lesson on partial derivatives, listed at the end of this page, reads that equation one piece at a time.
Worked example: Why the averages settle on 6 m/s
The list of averages can be explained, not only watched. Start at any time t and let the interval be Δt. In that interval the ball moves 3(t + Δt)² − 3t² metres. Since (t + Δt)² is t² + 2tΔt + (Δt)², that distance is:
Three times t plus delta t, squared, minus three t squared, equals six t delta t plus three delta t squared.
Divide that distance by the time Δt to get the average speed over the interval:
Six t delta t plus three delta t squared, divided by delta t, equals six t plus three delta t.
The 3Δt term shrinks with the interval and leaves 6t metres per second. At t = 1 s that is 6 m/s. The extra 3, 0.3, 0.03 and 0.003 in the list above are that 3Δt term, for Δt of 1, 0.1, 0.01 and 0.001 seconds.
Where this lesson stops
A derivative is the value an average rate settles on as the interval shrinks, in units of one quantity per unit of the other. The interval shrinks but is never set to zero, so nothing is ever divided by zero.
This lesson builds on
Return to the chapter
What the diffusion coefficient means
What changes when D changes?
Put a drop of dye into a long tube of still water. At first the dye sits in one spot; an hour later it has spread along the tube, thinner and wider. The diffusion coefficient D says how fast that spreading goes.
The rule it follows is local. Look at one spot. If the dye is thicker on both sides than at the spot itself, a dip, dye drifts in from both sides and the spot fills. If the spot is a peak, thicker than its neighbours, dye drifts out and it thins. The more sharply the dip or peak is curved, the faster it changes, and D sets the pace. With p for how much dye sits per metre of tube at place x and time t:
The time rate of change of density is D times its spatial curvature.
The right-hand side is D times the curvature, which is positive at a dip and negative at a peak. For one particle instead of a drop of dye, p is the probability per metre of finding it at x. Where the tube ends matters too: a closed tube keeps all its dye, and after a long time spreads it evenly, not in the ever-widening bell of an endless tube.
The same rule can be read as a flow. The amount crossing a point each second runs from thick to thin, faster where the density falls more steeply:
Fick’s constitutive law sends flux down the density gradient.
Combining the flux law with conservation gives the diffusion equation for constant D. The flux law itself is a model premise in this route, not something conservation alone proves.
Worked example: Doubling the diffusion coefficient, then quadrupling the time
Suppose the dye's typical distance from where it started is 1 mm after one minute. Double D, keeping everything else the same: the mean square doubles, so the typical distance becomes about 1.4 mm, the square root of 2 times as far, not twice. Keep the original D and wait four minutes instead of one: the typical distance doubles, to 2 mm. Neither comparison says where any single particle goes.
Where this lesson stops
D is measured in square metres per second. Before using it, say where the tube ends and what the model assumes, since both change the answer.
This lesson builds on
Return to the chapter
Density is not probability
What does the height of a probability curve mean?
Mark where 100 particles end up on a ruler divided into 2 μm bins. If 30 land in one bin, that bin holds a probability of about 0.3, and the density there is 0.3 divided by 2 μm, or 0.15 per micrometre. Measured in metres the same density is 150,000 per metre, while the bin still holds 0.3: the height depends on the unit of length, and the probability does not.
The probability of the interval from a to b is the integral of the density over that interval.
Under a smooth curve, any single exact position has probability zero, since an interval of zero width has no area. At the starting instant of the Brownian problem every particle sits at one point. No curve can draw that: the whole probability, 1, sits on the single point, and a curve appears only once the particles have begun to spread.
Worked example: A flat density across four micrometres
- Spread the probability evenly over 4 μm. The density is 1 divided by 4 μm, or 0.25 per micrometre.
- The area over the whole 4 μm is 0.25 per μm × 4 μm = 1.
- A 1 μm piece has probability 0.25 × 1 = 0.25, and a 2 μm piece has 0.5.
- Squeeze the same probability into 2 μm and the height doubles to 0.5 per micrometre, while the total stays 1. The height was never a probability.
Where this lesson stops
The height of the curve is a density, a probability per unit length. Only the area over an interval is a probability.
This lesson builds on
Return to the chapter
Exponential change
What kind of change does an exponential describe?
Suppose a quantity changes at a rate proportional to its own size. A radioactive sample loses the same fraction of its atoms every hour; a beam of light loses the same fraction of its intensity in every millimetre of absorbing glass. Take 1,000 atoms that lose half their number each hour:
- After one hour 500 remain, after two 250, after three 125.
- The losses shrink as the sample does: 500 in the first hour, 250 in the second, 125 in the third.
- Each hour multiplies the count by the same factor, one half. Equal steps, equal factors: that is exponential change.
The function e to the power x, with e about 2.718, is the one whose rate of change equals its own value everywhere, which is why it describes this kind of change. In symbols, with N₀ atoms at the start and a constant k that sets how fast they decay (for halving every hour, k is about 0.693 per hour):
If the rate of change of N is minus k times N, then N at time t is N nought times e to the minus k t.
Whatever sits in the exponent must be a pure number with no units. The reason is the series that defines e to the power x:
e to the x equals one plus x plus x squared over two plus x cubed over six, and so on.
If x were a length, the series would add a length to an area to a volume, which has no meaning. In the decay law, k is a rate per hour and t is in hours, so kt is a pure number.
Two exponentials from the 1905 papers pass that check. Wien's radiation law, which the light-quanta paper uses from §4 on, contains βν/T: β times a frequency is a temperature, so dividing by the temperature T leaves a pure number. The formula below writes e to the power −βν/T as exp(−βν/T). exp(u) is another way of writing e to the power u, used when the power is long.
Rho equals alpha nu cubed times e to the minus beta nu over T.
The Brownian paper's §4 solution contains x²/4Dt: x² is an area, and a diffusion coefficient D in square metres per second times a time t in seconds is also an area, so their ratio is a pure number.
f of x and t equals n over the square root of four pi D, times e to the minus x squared over four D t, divided by the square root of t.
Worked example: The bell curve at its centre and one width out
The Brownian curve's shape comes from its exponential factor, e raised to −x²/4Dt. Follow that factor outward from the centre:
- At the centre, x = 0, the exponent is 0 and e⁰ = 1: the curve is at its peak.
- At x = √(2Dt), one root-mean-square width out, the exponent is −2Dt/4Dt = −1/2, and e raised to −1/2 is about 0.607 of the peak.
- At x = √(4Dt), the exponent is −1, and e raised to −1 is about 0.368 of the peak.
- Doubling the time doubles 4Dt, so each of these heights is reached √2 times farther from the centre.
None of these steps depends on the units chosen for x, t and D, as long as they agree with one another. That is what a pure-number exponent guarantees.
Where this lesson stops
Whatever sits in an exponent must be a pure number. Check it by cancelling the units, as with βν/T and x²/4Dt.
This lesson builds on
Return to the chapter
Counting what crosses a boundary
If particles keep crossing the edges of a region, what decides whether it fills up or empties?
Take a short stretch of a tube. If more particles cross into it than cross out, the number inside goes up. The flux J counts the net number crossing a surface per unit area and per second, with rightward crossings positive; the concentration c counts particles per unit volume. They measure different things, and the equation below connects them.
The rate at which the concentration changes equals minus the rate at which the flux changes along x.
The minus sign is the bookkeeping. If the rightward flux is larger at the right end of the stretch than at the left, more particles leave on the right than arrive on the left, and the concentration falls.
Worked example: Seven particles in, five out
- In one second, 7 particles cross into the stretch and 5 cross out. The count inside rises by 2.
- Next second, 5 cross in and 5 cross out. The count is unchanged, although 10 particles crossed.
Where this lesson stops
The contents change by the net crossing. A steady count does not mean the particles have stopped, only that as many leave as arrive.
This lesson builds on
Return to the chapter
Functions and graphs
How does a graph record the way one quantity depends on another?
A bath fills from a tap. After one minute it holds 10 litres, after two 20, after three 30. For each time there is exactly one amount of water, and that pairing, one output for each input, is a function. Plot the pairs with time along the bottom and litres up the side and they fall on a straight line that climbs 10 litres for every minute. The slope, in litres per minute, is how fast the bath fills.
In the papers the pairs are physical: the mean square displacement of a Brownian particle for each elapsed time, or the concentration for each position along a tube. A function says how one thing responds when another changes.
A graph puts the input along the horizontal axis and the output up the vertical one, so each point is one pair. Both axes carry units, and so does everything read off the graph: the slope of mean square displacement against time is in square micrometres per second, and the area under a probability density is a plain probability.
A formula such as ⟨x²⟩ = 2Dt describes an average over many particles. One particle's squared displacement scatters widely around the line; the average over many lies close to it. The Brownian paper predicts the average, and ends by hoping that a researcher will soon decide the question by observation.
Worked example: Mean square displacement plotted against time
The mean square displacement equals two times the diffusion coefficient times the time.
- Take D = 0.5 square micrometres per second, so 2D = 1 square micrometre per second.
- At t = 1 s the mean square displacement is 1 µm²; at t = 4 s it is 4 µm²; at t = 9 s, 9 µm².
- Plotted against time, these points lie on a straight line through the origin whose slope is 2D, 1 µm² per second.
- Their square roots, the root-mean-square displacements, are 1, 2 and 3 µm: four times the time gives twice the distance.
Where this lesson stops
A graph is a record of paired quantities, each with its units. A slope read off it has units too, and a slope stated without them explains nothing.
This lesson builds on
Return to the chapter
The Gaussian and its width
After a time t, where is a spreading particle likely to be?
Release many particles at one point in still water and look again after a time t. They have spread out: most are still near the start, fewer are farther away, and as many went left as right. Count how many ended up at each distance and the counts make a bell-shaped curve, the Gaussian. One number sets its width, √(2Dt), the root-mean-square distance. For D = 0.5 µm² per second and t = 1 s the width is 1 µm, and:
- Within one width of the start, between −1 µm and +1 µm, end about 68 per cent of the particles.
- Within two widths, ±2 µm, end about 95 per cent; within three, about 99.7 per cent.
- So about one particle in three ends more than one width from where it started, and about one in twenty more than two widths away.
Wait four times as long and the width doubles, because it grows as the square root of the time. The curve itself, with p the probability per micrometre of finding a particle at displacement x after time t, is:
p of x and t equals one over the square root of four pi D t, times e to the minus x squared over four D t.
The factor in front keeps the total probability at one as the curve spreads: a wider bell has to be a lower one. The exponential makes the curve fall away on both sides, the same way to the left as to the right, because x appears squared.
Worked example: Checking the curve: total probability one, and mean square 2Dt
In the formula above, x is the displacement, t the time since the start and D the diffusion coefficient. Two things need checking: that the total probability under the curve is 1, and that the mean square displacement is 2Dt. One change of variable turns both into standard integrals.
Let u equal x over the square root of four D t. Then d x equals the square root of four D t, times d u.
The total probability becomes one over the square root of pi, times the integral of e to the minus u squared, and that equals one.
The last step needs the integral of e to the minus u squared to be √π. One way to see it is to square the integral, which makes it an integral over a whole plane, and then add the plane up in rings around the origin: a ring of radius r and width dr has area 2πr dr. This check is a modern one; the paper does not show it.
I squared is the integral of e to the minus u squared plus v squared over the whole plane, which equals the integral from zero to infinity of e to the minus r squared times two pi r d r, which is pi.
For the mean square, the same substitution leaves the integral of u² times e to the minus u squared. Integrating by parts once, the end terms vanish at both infinities, and half the integral above remains:
The normalized integral of u squared times e to the minus u squared is one half.
Substituting back, the mean square is 4Dt times one half, which is 2Dt: the value the Brownian paper's §4 gives for the mean of the squared displacement, λx² = 2Dt.
Where this lesson stops
The bell curve says where many particles end up. Any one particle can end anywhere, and about one in three ends more than one width from its start.
This lesson builds on
Return to the chapter
Adding continuously
How do you add up something that varies continuously?
Chance spread along a line is measured per unit length: a density. Where the density is the same all along a stretch, the chance of the stretch is the density times its length. A particle equally likely to be anywhere in a 4 µm stretch has density 0.25 per micrometre, and the chance of finding it in the first 1.5 µm is 0.25 × 1.5 = 0.375.
Where the density changes from place to place, cut the line into narrow strips. Each strip contributes its height times its width, as if the density were flat across it. Add the strips, then cut them narrower and add again. For a smooth curve the totals settle on one value, and that value is the integral:
The integral of p of x from a to b is the value that the sum of p of x i times delta x settles on as delta x shrinks.
The units multiply. A probability density is a probability per metre, so a strip of it, times a width in metres, is a plain probability. For a density the whole area must be 1, because the particle has to be somewhere. The Brownian paper's §4 writes exactly that for the chances of a jump Δ, ∫φ(Δ) dΔ = 1, and the light-quanta paper's §3 adds entropy over every frequency, S = v∫φ dν.
One more tool recurs in the papers: integration by parts. It is the product rule for derivatives added up over an interval, and it moves a derivative from one factor to the other at the price of an endpoint term:
The integral of u times the derivative of v equals u v at b minus u v at a, minus the integral of v times the derivative of u.
The endpoint term, uv at b minus uv at a, is part of the answer. It disappears only when uv is zero at both ends, as it is for a density that falls to zero far out on both sides.
Worked example: A rising density, added up in narrower strips
- A particle's density rises steadily across a 4 µm stretch, from 0 at the left end to 0.5 per micrometre at the right. The whole area is a triangle, ½ × 4 × 0.5 = 1.
- Four strips 1 µm wide, each taking the height at its left edge: 0 + 0.125 + 0.25 + 0.375 = 0.75.
- Eight strips 0.5 µm wide: the heights add to 1.75, and times 0.5 that is 0.875.
- Sixteen strips 0.25 µm wide: 0.9375. The shortfall halves each time the strips do: 0.25, then 0.125, then 0.0625.
- The totals settle on 1, the area of the triangle. That settled value is the integral.
A flat density gives the same total for every cut, which is why the uniform stretch above needed no strips. A curved one, such as the Brownian bell curve, does, and the integral is the value the totals settle on.
Where this lesson stops
An integral is a total of height times width over a range, in the units of both. The widths and any endpoint term are part of the calculation, not decoration on the integral sign.
This lesson builds on
Return to the chapter
Mean, variance and RMS
If particles wander both ways, which average shows how far they got?
Four particles move −3, −1, +1 and +3 micrometres. Their average position has not changed, yet they have spread out. Three averages answer three different questions.
Add the M signed displacements and divide by M.
Square each displacement before adding and dividing by M.
Variance is the mean square minus the square of the mean.
RMS means root mean square: average the squares, then take the square root. The standard deviation is the square root of the variance, so it measures spread around the mean, where the RMS measures distance from zero. The two are equal only when the mean is zero. The average of the distances, ignoring sign, is a third statistic and gives a different number.
Worked example: Four displacements, four different averages
- For −3, −1, +1, +3 the signed sum is 0, so the mean is 0.
- The distances, ignoring sign, are 3, 1, 1, 3; their mean is 2.
- The squares are 9, 1, 1, 9; their mean is 5.
- The RMS is the square root of 5, about 2.236. With a mean of 0, the variance is also 5 and the standard deviation is also about 2.236.
- A small random sample need not have a signed mean of exactly zero, even when the model's mean is zero.
Where this lesson stops
Say which average you mean. Squaring then averaging, averaging then squaring, and averaging the distances give three different numbers.
This lesson builds on
Return to the chapter
Partial derivatives and held-fixed quantities
When a quantity depends on two things, what does its rate of change mean?
The concentration of particles in a tube depends on where you look, x, and when you look, t. Ask how fast the concentration changes and there are two different answers: how it changes as you move along the tube at one instant, and how it changes at one place as time passes.
A partial derivative picks one of them. ∂f/∂x is the rate of change along the tube with the time t held fixed, like comparing points in one photograph. ∂f/∂t is the rate of change in time at a fixed position x, like watching one spot under the microscope. The curly ∂ says that something else is being held fixed, and a subscript names it:
The partial derivative of f with respect to x at fixed t, and the partial derivative of f with respect to t at fixed x.
Thermodynamics depends on the same care. How much a gas's volume changes as the pressure changes depends on whether its temperature T is held fixed, with heat flowing in and out, or its entropy S is held fixed, with the gas insulated. The two derivatives have different values, and ∂V/∂p written alone does not say which is meant:
The partial derivative of V with respect to p at fixed temperature T, versus the same derivative at fixed entropy S.
In §3 of the light-quanta paper, radiation fills a fixed volume and φ is its entropy per unit volume and per unit interval of frequency, a function of the energy density ρ and of ν. Varying ρ with the frequency ν held fixed, Einstein finds that the derivative is 1/T:
The partial derivative of phi with respect to rho, at fixed frequency nu, equals one over T.
In §6 of the relativity paper, Maxwell's equations are rewritten in the coordinates ξ, η, ζ, τ of a moving system. A derivative with respect to x taken with y, z and t held fixed then becomes a combination of a derivative with respect to ξ and one with respect to τ, because holding the resting time t fixed does not hold the moving time τ fixed.
Worked example: The same diffusion profile, differentiated two ways
Take the spreading profile of the Brownian paper's §4, written for a single particle:
f of x and t equals one over the square root of four pi D t, times e to the minus x squared over four D t.
Hold t fixed and differentiate with respect to x. Only the exponent depends on x, and the derivative of −x²/4Dt with respect to x is −x/2Dt:
The partial derivative of f with respect to x at fixed t equals minus x over two D t, times f.
That is the slope of the profile in one snapshot: downhill to the right of the centre, uphill to the left. Now hold x fixed and differentiate with respect to t. Both the factor in front and the exponent depend on t:
The partial derivative of f with respect to t at fixed x equals minus one over two t, plus x squared over four D t squared, all times f.
That is what a probe fixed at one place records. Near the centre, where x² is less than 2Dt, the bracket is negative: the concentration falls as the cloud spreads away. Farther out it is positive: the concentration rises as the cloud arrives. Differentiate the first result once more with respect to x and multiply by D, and you get the second. That is the §4 equation ∂f/∂t = D ∂²f/∂x², a rate at one place equal to a curvature at one time.
Where this lesson stops
A partial derivative is not defined until you have said which quantities are held fixed.
This lesson builds on
Return to the chapter
Probability and independence
When you square a sum of random steps, why do the mixed terms average to zero?
Flip a coin twice and take one step for each flip: a metre to the right for heads, a metre to the left for tails. How far from the start do you end up, on average?
- The four outcomes, right-right, right-left, left-right and left-left, are equally likely: one chance in four each.
- They leave you 2 m to the right, back at the start, back at the start, or 2 m to the left.
- Square those distances so that left and right count alike: 4, 0, 0 and 4. Their average is 2, one square metre for each step.
Combining the two steps added nothing beyond one square metre each. In symbols, with Δ₁ and Δ₂ for the two steps, squaring the sum gives each step squared and a mixed term, twice their product:
Delta one plus delta two, squared, equals delta one squared plus two delta one delta two plus delta two squared.
In the coin walk the product of the two steps is +1 for right-right and left-left and −1 for the other two, so on average it is zero and the mixed term adds nothing. Two conditions make that happen. Independence: learning the first step does not change the chances for the second, so the chance of a pair is the product of the two chances. Centring: each step averages zero, left as likely as right. Then the average of the product is the product of the averages, zero times zero:
The average of delta one times delta two equals the average of delta one times the average of delta two, which is zero.
Both conditions matter. If each step drifts, averaging +1, the product of the averages is 1, not 0. If the second step tends to copy the first, the product is positive more often than negative. The Brownian paper's §4 assumes that a particle's motions in successive intervals are independent, as long as the intervals are not chosen too small.
Worked example: What changes when the second step copies the first
- Now let the second flip always copy the first. Only right-right and left-left can happen, one chance in two each.
- The product of the two steps is +1 every time, so the mixed term no longer averages zero.
- You always end 2 m from the start, so the squared distance is 4 every time: the average is 4, not 2. Independence removed that extra 2.
Where this lesson stops
Before dropping a mixed term, ask two things: does learning one step change the chances for the next, and does each step average zero?
This lesson builds on
Return to the chapter
From steps to spread
Why does typical displacement grow as the square root of the step count?
A walker flips a coin before every step: heads, one metre to the right; tails, one metre to the left. After four steps, how far from the start is the walker likely to be? Not four metres: the steps partly cancel. Count the walks, and square each final distance so that left and right count alike:
- After one step the walker is 1 m away, every time. The squared distance is 1.
- After two steps there are four equally likely walks, ending 2 m right, at the start, at the start, or 2 m left. The squared distances 4, 0, 0 and 4 average 2.
- After four steps there are sixteen equally likely walks. Two end 4 m out, eight end 2 m out and six end at the start. The squared distances average (2 × 16 + 8 × 4) ÷ 16 = 4.
The average squared distance grows by one square metre per step: after n steps it is n. The typical distance, its square root, grows only as the square root of n: 1 m after one step, about 1.4 m after two, 2 m after four, 10 m after a hundred. To get twice as far takes four times as many steps.
In symbols, call the steps Δ₁, Δ₂ and so on, and the position after n steps X, their sum:
Position after n steps is the sum of the n signed increments.
Suppose each step averages zero and has the same mean square l², where l is the typical size of one step (1 m in the coin walk). Squaring the sum gives the n squared steps and many products of two different steps. When the steps are independent and each averages zero, every such product averages zero, as the lesson on independence shows for two coin steps. Only the squares are left to add up:
The mean square is n times ell squared, and RMS displacement is ell times the square root of n.
Worked example: A hundred steps, then four hundred
A hundred steps of typical size 1 m leave a typical distance of 10 m from the start, because the square root of 100 is 10. Four hundred steps leave 20 m: four times the steps, twice the distance. No single walker has to end exactly 10 or 20 m away; these are typical sizes over many walkers. Nor is the distance from the start the length of the path: to end 10 m from home, the walker has walked 100 m.
Where this lesson stops
The coin walk is a picture, not a claim that molecules push a particle in fixed jumps. The Brownian paper needs only that the particle's moves in successive intervals are independent of one another.
This lesson builds on
Return to the chapter
Approximating a curve near a point
Why can a curve be replaced, close to one point, by a few simple terms?
What is 2.1 squared, without a calculator? Start from what you know: 2 squared is 4. Picture a square 2 wide growing to 2.1 wide. It gains two strips, each 2 long and 0.1 thick, which add 0.4, and a small corner, 0.1 by 0.1, which adds 0.01. So 2.1 squared is 4.41. The first correction, 0.4, did almost all the work; the second, 0.01, is forty times smaller.
The same recipe works for any smooth curve, close to a point where you know it. Start with its value there. Add its slope times the step Δ: the slope, or first derivative, is the change in output per unit of input. Then add half its curvature times Δ²: the curvature, or second derivative, says how fast the slope itself changes. Further terms carry higher powers of Δ, so they are small only when Δ is:
The value a step delta away equals the value, plus delta times the slope, plus half of delta squared times the curvature, plus further terms.
The Brownian paper does exactly this in §4. It expands the number of particles at x + Δ in powers of the jump Δ and keeps the terms up to Δ², because only very small jumps contribute and each further surviving term is much smaller than the one before. The Δ term averages away, since jumps to the left and to the right are equally likely, and the Δ² term becomes the diffusion coefficient. A real particle does not make independent jumps over arbitrarily short times, so the expansion holds for times long enough for successive jumps to be independent and short enough for each jump to be small.
Worked example: What the dropped term costs
For the square function, the local expansion is exact through the quadratic term.
Keep only the value and the slope term, 4 + 2 × 2 × Δ, and see what dropping Δ² costs as the step grows:
- Δ = 0.1: 4.4 instead of 4.41. The error, 0.01, is about 0.2 per cent.
- Δ = 0.5: 6 instead of 6.25. The error, 0.25, is 4 per cent.
- Δ = 2: 12 instead of 16. The error, 4, is a quarter of the answer.
- Halving the step quarters the error, because the dropped term is Δ².
Where this lesson stops
An expansion is a claim about size. Say which terms you keep, and why the ones you drop are smaller: here, because they carry higher powers of a small step.
This lesson builds on
Return to the chapter