Fundamentals / Physics / Thermodynamics and statistical physics / Notebooks

Weigh a colloid by counting where it spends its time

Brownian motion spreads a dilute suspension through a cell whilst buoyancy biases its vertical position. Derive the equilibrium concentration, predict counts in finite camera bins and estimate a buoyant mass without measuring how quickly any individual sphere falls.

Try it · Sedimentation

Change the inputs and compare the recalculated curves with the preceding derivation and baseline figure. The axes give the units; the numerical readout states the model assumptions and any limiting cases. Reset the inputs to return to the reference setting.

Download the corresponding editable notebook. The browser recalculates the reduced equations directly; the notebook exposes the full calculation and its checks.

Save notebook (.ipynb)

Python runs on this device. The first run loads the scientific libraries.

Balance drift against diffusion

Measure \(z\) upwards from the bottom of a closed cell. A sphere of volume \(V\) displaces fluid of density \(\rho_f\). The downward gravitational force on the particle exceeds the upward buoyancy force by \(m_bg\), where \(m_b=V(\rho_p-\rho_f)\). Signed buoyant mass is what a concentration profile can reveal. Let \(\mu\) denote mobility, the ratio of speed to applied force. For dilute, independently moving particles at uniform temperature, the total vertical number flux is

\[J=-D\frac{dn}{dz}-\mu m_b g n.\]

At steady state the flux is constant, and impermeable cell ends set that constant to zero. The Einstein relation \(D=\mu k_BT\) eliminates the mobility. Integrating \(d\ln n/dz=-a\) with \(a=m_bg/(k_BT)\) gives

\[n(z)=n(0)e^{-az}.\]

The signed slope changes sign for buoyant particles and vanishes at exact density matching. Viscosity affects the time to reach equilibrium.

Suppose the camera counts centres in equal-width horizontal slices of a column with uniform cross-section. A bin centred at \(z_i\) has expected count proportional to \(e^{-az_i} \int_{-h/2}^{h/2}e^{-au}du\). The integral is common to all bins, hence normalising the exponential values at their centres yields the exact bin probabilities for this model. Wall exclusion sets the interval accessible to centres. Define the specified cell height as that accessible interval.

Infer a mass with its sign

Use a radius of 0.50 µm, particle excess density 50 kg/m³ and temperature 293 K. The volume is \(5.236\times10^{-19}\) m³, the buoyant mass is \(2.618\times10^{-17}\) kg and \(k_BT/(m_bg)=15.75\) µm. Counts in two equal slices separated by 10 µm should have lower-to-upper ratio \(e^{10/15.75}\simeq1.89\). Doubling the radius at fixed density ratio multiplies the mass by eight and divides the gravitational length by eight.

Sampling is important when using the upper part of a steep profile. Suppose bins separated by 10 µm contain 120 and 60 approximately independent particle observations. The estimated slope is \(\ln(2)/10=0.0693\) µm⁻¹. For independent Poisson counts the standard error from propagating the two count variances is \(\sqrt{1/120+1/60}/10=0.0158\) µm⁻¹. Repeatedly imaging the same particle at closely spaced times introduces correlations. Counting all those frames as independent would make the quoted sampling precision too optimistic.

Set the experimental inputs

Edit these values, then run the calculation and both figures again.

The total probability in the cell is one for each curve. Matching the fluid density removes the gravity-induced concentration gradient.

Reduce the number of independent particle observations and change the random seed. Noise is particularly large relative to the expected number in sparsely occupied slices.

Exercise · determine the size of a density-matched particle

A uniform profile persists in a well-equilibrated, isothermal cell. Can gravity alone distinguish two different radii if the particles have the same density as the fluid?

At exact density matching, \(m_b=V(\rho_p-\rho_f)=0\) for either radius, so both profiles are uniform. Their diffusion times can still differ because hydrodynamic mobility depends on size. A time-resolved measurement carries information absent from the equilibrium profile.

Exercise · reverse the measured gradient

Two equally wide slices separated vertically by 12 µm contain 80 and 160 observations, in order of increasing height. Estimate \(m_b\) at 293 K.

The signed slope is \(\ln(80/160)/(12\ \mathrm{µm})=-0.05776\) µm⁻¹. Converting to metres and multiplying by \(k_BT/g\) gives \(m_b\simeq-2.38\times10^{-17}\) kg. The sign indicates that the displaced fluid is heavier than the particle.