Physics of active and passive motion in biology
Sep 12, 2024
Table of contents
Exercise: Observation of Brownian motion
Exercise: Random walk simulation
The childhood of statistical physics
The Langevin equation: fluctuating forces and fluid friction
Exercise: Brownian motion put together
Biological relevance of diffusion
Oxygen diffusion limit on microbial metabolism
Ions at membranes, a first look
Size of eukaryotes and prokaryotes
Project: Passive and active motion
Make sure to read chapters 3 and 4 in Nelson! Here is the pdf version of this document (hyperlinks will not be correct).
Exercise: Observation of Brownian motion
This is a lab exercise where everything is explained on the blackboard and in the lab. This is a Norwegian lab text that explains the whole lab and how to analyse the data with Matlab. Nowadays we use Trackpy instead. You can start testing this analysis using a short image sequence from an experiment done during this lab. (To see all the images: remove the filename brownian0000.png
from the address in your browser and you will see the list of files.) Follow the Trackpy Walkthrough. There is also a small Jupyter notebook that shows how you may show a small part of your image and adjust pixelsize (diameter) and the minmass
to follow only real particles and not all kinds of stuff in the image.
In the end you want to
- use your own complete movie or image sequence
- plot the mean square displacement (MSD) as function of time.
Plot the MSD with linear axis, not logarithmic as in the Walkthrough. The reason is that you want to fit a straight line to the data to get the slope in \( \mu m^2/s \). As you continue through this document you will understand why that is the main quantity you want from the experiment.
Exercise: Random walk simulation
A random walk is a model of a fundamental physical process in which a random walker — a particle, an atom, a measurement, an individual — moves in random steps. A typical example is the Browian motion of small particles due to the thermal motion of atoms. Another example is the spreading of an atom throughout a fluid.
A random walker in 1D moves \( N \) steps back and forth and has random probability of moving left or right. None of the steps are correlated, the step length is \( d \) and the \( i \) -th step is thus \( u_i=\pm d \). The position after n steps is thus
$$ \begin{equation} x_n=x_0+\sum_{i=1}^nu_i \label{_auto1} \end{equation} $$
The ensemble average over a large number of the displacement of walkers is
$$ \begin{equation} \langle x_n-x_0\rangle=\langle \sum_{i=1}^nu_i\rangle=\sum_{i=1}^n\langle u_i\rangle=0. \label{_auto2} \end{equation} $$
The mean square displacement (MSD) is
$$ \begin{equation} \langle (x_n-x_0)^2\rangle=\langle (\sum_{i=1}^nu_i)^2\rangle =\langle \sum_{i=1}^nu_i\sum_{j=1}^nu_j\rangle = \sum_{i=1}^n\langle u_i^2 \rangle+ \sum_{i=1}^n\sum_{j=1}^n\langle u_iu_j\rangle=nd^2. \label{_auto3} \end{equation} $$
The last sum equals zero because the steps are uncorrelated. This equation says that the mean square displacement increases linearly with number of steps \( n \) and that the slope of this linear relation is \( d^2 \).
The Python script randomwalk_1D.py is a 1D random walk simulation showing the position distribution and cumulative position distribution at the final time step and the mean square displacement of the walkers.
The Python script randomwalk_exercise.py is a very simple realization of a random walk where a number of random walkers are placed randomly in a part of the \( xy \)-plane and then moved in a random direction with a normally distributed step length (the width of the distribution is stepsize) over a given number of time steps. The step length is chosen so that the visualization of the simulation resembles what you would see in the microscope during the laboratory exercise. The mean squared displacement shown at the end is calculated based on approximately 4 times as many particles as those shown in the box. The positions of the particles shown in the box are also stored. This list of positions at different time steps has the same structure as the list of particle positions you will create from the experiment in the laboratory exercise.
Run the scripts and analyse theoretically what the slope of the plots should be. Change parameters like number of particles and duration to get similar statistics as in your experiment
Diffusion
Diffusion is the mixing of a substance that is unevenly distributed in a medium (gas, liquid or solid). The diffusion equation (here in one dimension) states that the flux \( J \) of the substance is proposrtional to the gradient of the local density, or concentration \( \rho=n/V \) of the substance:
$$ \begin{equation} J=-D\frac{\partial \rho}{\partial x}, \label{_auto4} \end{equation} $$
where the diffusion coefficient \( D \) is the proportionality constant. The conservation of matter (matter cannot appear or disappear) can be formulated by the divergence theorem, also known as the continuity equation:
$$ \begin{equation} \frac{\partial \rho}{\partial t}+\nabla J=0 \label{_auto5} \end{equation} $$
Combine the two to get the partial differential equation for diffusion:
$$ \begin{equation} \frac{\partial \rho}{\partial t}+ D\frac{\partial^2 \rho}{\partial x^2}=0 \label{_auto6} \end{equation} $$
Starting with particles in \( y=0 \) at time \( t=0 \): \( \rho(t=0,x)=\delta(x) \), where \( \delta \) is the Kroeneker delta function the diffusion equation has solution (you may easily verify this):
$$ \begin{equation} \rho(t,x)= \frac{1}{\sqrt{4\pi Dt}}\exp(-\frac{x^2}{4Dt}) \label{_auto7} \end{equation} $$
This is a Gaussian distribution with mean \( y=0 \) and standard deviation \( \sqrt{4Dt} \). Thus the width of the distribution is proportional to the square root of the diffusion coefficient. When data is sparse and noisy one always obtains a more precise estimate of the width by integrating over all the data. The second moment of the distribution is:
$$ \begin{equation} \langle x^2\rangle=\int_{-\infty}^{\infty}x^2\rho(t,y)dt= 2Dt \label{_auto8} \end{equation} $$
where I have used that
$$ \begin{equation} \int_{-\infty}^{\infty}x^2e^{-x^2/a}dt= \frac{\sqrt{\pi}}{2}a^{3/2} \label{_auto9} \end{equation} $$ This result, that the mean square displacement (MSD) \( =\langle x^2\rangle=2Dt \) shows how the random walk and Brownian motion are linked to diffusion.
Viscous drag
Dimensions
All physical quantities have dimensions. In addition we have measurement units like the SI units for all these quantities.
Drag
Drag is the force from the fluid \( F_d \) on a body moving with velocity \( v \). You can also think of \( F_d \) as the force you need to pull on the particle to keep it a a constant velocity \( v \). When biking on a flat road, the force you put into your pedals to keep at a constant speed is almost equal to the drag force of the air on your body.
What physical quantities are important?
- The drag force: \( F_d \), \( [F_d]=M L T^{-2} \)
- The velocity with respct to the fluid far away: \( v \), \( [v]=L T^{-1} \)
- The size of the body: \( r \), \( [r]=L \)
- The fluid density: \( \rho \), \( [\rho]=M L^{-3} \)
- The fluid viscosity: \( \eta \), \( [\mu]=M L^{-1}T^{-1} \)
Viscosity
What is viscosity?
Dimensional analysis
The number of independent dimensionless parameters necessary to describe a system is the number of physical quantities minus the number of independent dimensions.
In our case this gives: 5-3=2 dimensionless quantities that govern the behaviour of the system.
Let's try use the other quantities to make a dimensionless parameter with \( F_d \) and start with \( \rho \): \( [F_d/\rho]=T^{-2}L^4 \). Then let's remove the dimension \( T \): \( [F_d/\rho v^2]=L^2 \) and then \( L \):
$$ \begin{equation} C_{R}=\frac{F_d}{\rho v^2r^2}. \label{eq:Rayleigh} \end{equation} $$
\( C_{R} \) is a dimensionless number that we will call the R drag coefficient
But we may also use \( \eta \) to remove the mass dimension from \( F_d \): \( [F_d/\eta]=L^2T^{-1} \), then we use \( v \) to remove the time: \( [F_d/\eta v]=L \) and then the length:
$$ \begin{equation} C_{S}=\frac{F_d}{\eta v r}. \label{eq:Stokes} \end{equation} $$
\( C_{S} \) is a dimensionless number that we will call the S drag coefficient. The two drag coefficients are pure numbers that depend on the shape of the body. According to Buckingham's Pi-theorem we have now found the two dimensionless numbers that are needed to describe the system.
Stokes and Reynolds drag
But these two dimensionless numbers correspond to two very different drag forces. How can they both be a description of the same physical phenomenon? Well, they describe two different ways the fluid can react to the moving body, either flowing smoothly as a laminar flow around the body or by whirling turbulently in the wake of the body. Let's have a look at the ratio between the two drag forces:
$$ \begin{equation} \frac{F_{dR}}{F_{dS}}=\frac{C_R\rho v^2r^2}{C_S\eta v r}=\frac{C_R\rho vr}{C_S\eta}\approx \frac{\rho vr}{\eta}=Re \label{_auto10} \end{equation} $$
The ratio \( \frac{F_{dR}}{F_{dS}} \) is the ratio between the inertial and viscous drag forces. This is called the Reynolds number \( Re \). This tells us that when \( Re>>1 \) the inertial, Rayleigh, drag force \( F_{dR} \) dominates. This is the case when the fluid accelerates a lot and becomes turbulent. When \( Re < <1 \) the viscous, Stokes, drag force \( F_{dS} \) dominates. This is true when the flow is laminar. Stokes drag for a sphere is \( F_{dS}=C_s\eta vr=6\pi\eta vr \).
What is the Reynolds number of the Brownian particles in our experiment? \( Re=\frac{\rho vr}{\eta}\approx \frac{10^3 10^{-6}10^{-6}}{10^{-3}}=10^{-6} \), clearly they are in the Stokes, low Reynolds number regime.
Sometimes we also use the viscous friction coefficient \( \xi \) that is defined as the ratio between the drag force and the velocity.
$$ \begin{equation} \xi=\frac{F_d}{v} \label{_auto11} \end{equation} $$
The viscous friction coefficient in the Stokes regime (\( Re < <1 \)) for a sphere is \( \xi=6\pi\eta r \).
Theory of Brownian motion
The childhood of statistical physics
In the beginning of the 1900s, it became increasingly clear to physicists that the "molecular-kinetic theory" (which described a statistical microscopic basis for thermodynamics) had to prevail. One of the final nails in the coffin for those who opposed it was one of Einstein's 1905 articles: Investigations on the theory of the Brownian movement. Einstein had been made aware of microscopic observations by biologist Brown where small pollen particles in a liquid moved around randomly. Einstein used this as a basis and created a quantitative model where measurable quantities could be compared. It did not take many years before experimentalists were able to measure the different quantities independently and thus confirm Einstein's model and thereby the microscopic theory of heat that we take for granted today.
The Langevin equation: fluctuating forces and fluid friction
In 1908 Langevin published a simpler and more elegant derivation of the model of Brownian motion: Sur la theorie du mouvement brownien. Molecular motion and the equipartition principle are fundamental to the microscopic theory of heat:
The kinetic energy of every quadratic degree of freedom of motion is \( kT/2 \)
where \( k \) is the Boltzmann constant and \( T \) the temperature. For the translational velocity \( v_x=dx/dt \) of a molecule in the \( x \)-direction the kinetic energy is
$$ \begin{equation} \frac{1}{2}m < v_x^2>=\frac{1}{2}kT, \label{_auto12} \end{equation} $$
where \( < ...> \) means the the "ensemble average" or the average over many molecules.
Viscous damping
For particles that are much larger than the average distance between the liquid molecules, the liquid can be treated as a continuum and the hydrodynamic damping of the particle motion can be studied. Fluid resistance for a sphere in a viscous liquid at low Reynolds numbers is, as shown above:
$$ \begin{equation} F_d=6\pi\eta v_xr, \label{_auto13} \end{equation} $$
where \( \eta \) is the shear viscosity of the fluid and \( r \) is the radius of the sphere
The Langevin equation
The macroscopic particles are subject to a {\em rapidly varying random force} \( F_r \) due to the thermal motion of the liquid molecules and a {\em slowly varying damping force} \( F_d \) due to the viscosity of the liquid. Langevin combined these forces into an equation of motion for the particles:
$$ \begin{equation} m\frac{d^2x}{dt^2}=F_r-F_d=F_r-6\pi\eta r\frac{dx}{dt}. \label{eq:Langevin} \end{equation} $$
This type of equation of motion for systems that can be divided into a fast varying and a slow varying force is called a Langevin equation. By multiplying both sides with \( x \) and using the chain rule in differentiation, \eqref{eq:Langevin} can be written as
$$ \begin{equation} \frac{1}{2}m\left(\frac{d^2x^2}{dt^2}-2v_x^2\right)=xF_r-3\pi\eta r\frac{dx^2}{dt}. \label{eq:Langevin2} \end{equation} $$
Take the ensemble average and solve the equation
If one takes the ensemble average of \eqref{eq:Langevin2} the direct contribution from \( F_r \) disappears because \( < xF_r>=0 \) because the force \( F_r \) is not correlated with itself in time or space. Equation \eqref{eq:Langevin2} can now be written as:
$$ \begin{equation} \frac{1}{2}m\frac{d^2 < x^2>}{dt^2}-kT=-3\pi\eta r\frac{d < x^2>}{dt}. \label{eq:Langevin3} \end{equation} $$
This equation can be solved:
$$ \begin{equation} \frac{d < x^2>}{dt}=\frac{kT}{3\pi\eta r}+Ce^{6\pi\eta r t/m}, \label{eq:langevinsolved} \end{equation} $$
where the last term disappears when \( t>>m/6\pi\eta r\sim10^{-8} \) s. That means that if we can track the positions of many particles and calculate the mean square displacement per unit of time, and we know the viscosity and radius of the particle, we can determine Boltzmann's constant, k. Such a determination of k and comparison with other methods of determining k was the first test of Einstein's model for Brownian motion.
Eistein relation
Since \( 2D=\frac{d\langle x^2\rangle}{dt} \) and \( \xi=6\pi\eta r \), then according to equation \eqref{eq:langevinsolved} \( \frac{d\langle x^2\rangle}{dt}=\frac{kT}{\xi/2} \) then we get the
$$ \begin{equation} \xi D=kT \label{_auto14} \end{equation} $$
Exercise: Brownian motion put together
Do the following exercises, note the answers and figures as a first draft of a report about Passive and active transport. (We will start on the active part next)
- Nelson, Your turn 4B
- Nelson, Your turn 4C
- Finish your analysis of the Brownian motion experiment (the section Exercise: Random walk simulation) to obtain a fit of a straight line to the data to get the slope in \( \mu m^2/s \).
- You have values for \( kT \) and viscosity of water \( \eta \) and have found the slope of the MSD in \( \mu m^2/s \). What is the diameter of your particles according to your experiment?
- Finish the analysis of the random walk exercise (the section Exercise: Observation of Brownian motion) and analyse theoretically what the slope of the plots should be. Change parameters like number of particles and duration to get similar statistics as in your experiment. What physical dimensions and numbers must your parameters (step length, timestep) need to have to match the slope to the experiments?
- Why does not the mass of the Brownian particle figure in RW model or the final results of the theory?
Life at low Reynolds number
We will read the beautiful paper Life at low Reynolds number by E. M. Purcell.
Biological relevance of diffusion
Permeation through a membrane
Flux (flow rate per unit area): \( J_i=\frac{1}{A}\frac{\Delta N_i}{\Delta t} \)
How does \( c_i \) change with time? (\( c_0 \) is const.)
$$ \begin{equation} \frac{\partial c_i}{\partial t}=-\frac{\partial\Delta c}{\partial t}=\frac{1}{V}\frac{\partial N_i}{\partial t}=\frac{3}{r}J_i \label{_auto15} \end{equation} $$
because \( A=4\pi r^2 \), \( V=\frac{4}{3}\pi r^3 \), \( V/A=r/3 \). The permeability \( P \) is defined \( J=P\Delta c \). We can enter this into the above equation and solve:
$$ \begin{eqnarray} -\frac{\partial\Delta c}{t}&=&\frac{3}{r}P\Delta c\\ \int_{\Delta c_0}^{\Delta c}\frac{\Delta c}{\Delta c}&=&-\frac{3P}{r}\int_0^t\partial t\\ \ln\Delta c-\ln\Delta c_0&=&-\frac{3P}{t}\\ \frac{\Delta c}{\Delta c_0}&=&e^{-t/\tau}, \hspace{2em} \tau=\frac{r}{3P}. \end{eqnarray} $$
The permeation is diffusion through the membrane and resistance to entry/exit. The partition coefficient \( B \) is
$$ \begin{equation} B=\frac{\mathrm{solubility\; in\; oil}}{\mathrm{solubility\; in\; water}} \label{_auto16} \end{equation} $$
Diffusion in membrane is
$$ \begin{equation} J=-D\frac{dc}{dt}=-\frac{DB\Delta c}{L}=P\Delta c \hspace{1em} \Rightarrow \hspace{2em} P=\frac{DB}{L} \label{_auto17} \end{equation} $$
Some numbers:
- Partition coefficient of water in lipid bilayer membrane: \( B=4.2\cdot 10^{-5} \) (A Finkelstein, J. Gen. Phys. 68, 127 (1976))
- Thickness of cell membrane: \( L=7.5-10 \) nm. (B10NUMB3R5)
- This gives a permeability of \( P=10^{-9} 4\cdot 10^{-5}/10^{-8} \) m/s$\approx 4$ $\mu$m/s.
- And a time constant of permeation of water into a cell with radius 10 $\mu$m: \( \tau=r/(3P)\approx 1 \) s. That's pretty fast!
- Partition coefficient of monovalent ions: \( B\approx 10^{-60} \). That's why cells need ion channels.
Oxygen diffusion limit on microbial metabolism
See Nelson 4.6.2 p.138.
- Oxygen is consumed by microbe
- Transport of oxygen from outside
- Lakes, ocean: turbulent flow
- ECM, ponds: diffusion
- Assume instant uptake at microbial surface
$$ \begin{eqnarray} J(r)=\frac{I}{4\pi r^2}&=&-D\frac{dc}{dr}\\ -\frac{I}{4\pi r^2}\frac{dr}{r}&=&dc\\ -\frac{I}{4\pi r^2}\left.\frac{1}{r}\right|_{r_0}^\infty&=&\left. c\right|_{0}^{c\infty}\\ -\frac{I}{4\pi r^2}\left(-\frac{1}{r_0}\right)&=&c_\infty\\ I&=&4\pi Dc_\infty r_0 \end{eqnarray} $$
This is the maximum rate at which O$_2$ can be consumed by any bacterium whatsoever.
So the maximum O$_2$ diffusion rate scales linearly with radius \( r \) of the microbe. How does the consumption rate scale with size of the organism? A first guess would be \( I\propto r^3 \), but it turns out there is an empirical relationship called Kleiber's law that has been shown to be valid all the way down to microbe size: \( I\propto M^{0.75} \), where \( M \) is the mass of the organism. So since \( M\propto r^3 \) the scaling is \( I\propto r^{9/4}=r^{2.25} \). (T.E. Riedel, W.M. Berelson, K.H. Nealson, S.E. Finkel, Applied and Environ. Microbiol. 79, 4921 (2013))
Plotting the scaling of consumption and transport rate with microbe size one finds that there must be an upper limit to the size \( r_{\rm max} \) of a microbe that does noot swim or lives in a turbulent world.
Ions at membranes, a first look
Size of eukaryotes and prokaryotes
Here is another nice and simple paper to analyse
Active matter
Follow this link: Active matter
Vicsek model
Project: Passive and active motion
Introduction
The first weeks of the course we have discussed biological relevance of diffusion, both on the molecular scale and on the micro-organism scale. We have seen that our models of molecular motion, diffusion and low Reynolds number drag are relevant on several scales. We have studied both passive, Brownian particles and discussed active E-coli bacteria.
The last part of the project focuses on generalization of physics models to active particle systems and new types of "diffusive" behaviour and other collective phenomena creating long range order.
Objective of report
One objective of the report is to document your understanding, knowledge and skills in the subject. On the reports you will get pass or fail plus comments in the reports.
The reports have another objective as well: Aiding your learning. By presenting your work in a report you are forced to be stringent and logical in combining the different pieces of text, figures, equations, etc. The process of doing this is intensive learning.
Structure of reports
The point is not that you spend a lot of time on formatting and typesetting, but that you spend time thinking, discussing and doing physics and that you present this process in a report as efficiently as possible.
Elements that should be included
You are free to emphasize what you like and add other elements.
- Motion and forces at low Reynolds number
- Different models
- Random walk
- Brownian motion
- Active Brownian motion
- Vicsek model
- Active elastic solid model
- Biological relevance
- Nutrient diffusion
- Run and tumble for seeking food
- ...
Requirements
Document your answer to questions, calculations, analyses, discussions, conclusions, etc. in one single, coherent "report" with the following requirements
- include both experiments, analytical and numerical work in the same report
- the report should have the following parts
- "Introduction"
- Main body. This includes (methods,) results and discussion, but you may subdivide the text in any way you find best.
- "Summary" or "Conclusions"
- there should be a red thread through the report connecting the different parts. This should be established in the Introduction. The results should be discussed in relation to the red thread and in the end you should summarise the relations between the different parts of the study and how they relate to the red thread.
- you may write by hand or use any typesetting system you like, but the report and all figures and labels should be easily readable.
- the report should be a single PDF file.
Details that matter
- do not copy text, lists of equipment and units and procedures and method descriptions from the texts given to you.
- All symbols must be defined in the text unless they have been defined in the text given to you.
- All equations, figures and tables must be described in the text.
- All figures must use fonts and symbols that are large enough to be legible (minimum 9pt fonts).
- All but dimensionless numbers must be given with the right units.