Lesson 1 of 15
Diffusion & Brownian Motion
Diffusion & Brownian Motion
Brownian Motion
Brownian motion describes the random thermal motion of particles suspended in a fluid. In 1905, Einstein derived the relationship between this random motion and the diffusion coefficient.
Stokes-Einstein Relation
For a spherical particle of radius r in a fluid of viscosity η at temperature T:
- k_B = 1.381 × 10⁻²³ J/K (Boltzmann constant)
- T = temperature in Kelvin
- η = dynamic viscosity in Pa·s (water ≈ 1 × 10⁻³ Pa·s at 20°C)
- r = hydrodynamic radius in meters
Mean Squared Displacement (MSD)
The MSD grows linearly with time, a hallmark of diffusion:
where d is the number of spatial dimensions (d=1 for 1D, d=3 for 3D). The root mean square displacement is:
Time to Diffuse a Distance
Rearranging MSD, the characteristic time to diffuse a distance L is:
This scales as L², meaning diffusion becomes extremely slow over long distances — a 10× larger cell takes 100× longer to transport molecules by diffusion alone.
Biological Examples
| Molecule | Radius | D in water (25°C) |
|---|---|---|
| Small protein (~1 nm) | 1 nm | ~2.2 × 10⁻¹⁰ m²/s |
| Lipid vesicle (50 nm) | 50 nm | ~4.4 × 10⁻¹² m²/s |
| Bacterium (~1 μm) | 500 nm | ~4.4 × 10⁻¹³ m²/s |
Your Task
Implement three functions:
diffusion_coefficient_m2_s(T_K, eta_Pa_s, r_m)— Stokes-Einstein diffusion coefficient in m²/smsd_m2(D_m2_s, t_s, d=3)— Mean squared displacement in m² (default 3D)diffusion_time_s(L_m, D_m2_s, d=3)— Time to diffuse distance L in seconds (default 3D)
Python runtime loading...
Loading...
Click "Run" to execute your code.