This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

Swimmer dynamics in externally-driven fluid flows: The role of noise

Simon  A. Berman and Kevin A. Mitchell Department of Physics, University of California, Merced, CA 95344 USA
Abstract

We theoretically investigate the effect of random fluctuations on the motion of elongated microswimmers near hydrodynamic transport barriers in externally-driven fluid flows. Focusing on the two-dimensional hyperbolic flow, we consider the effects of translational and rotational diffusion as well as tumbling, i.e. sudden jumps in the swimmer orientation. Regardless of whether diffusion or tumbling are the primary source of fluctuations, we find that noise significantly increases the probability that a swimmer crosses one-way barriers in the flow, which block the swimmer from returning to its initial position. We employ an asymptotic method for calculating the probability density of noisy swimmer trajectories in a given fluid flow, which produces solutions to the time-dependent Fokker-Planck equation in the weak-noise limit. This procedure mirrors the semiclassical approximation in quantum mechanics and similarly involves calculating the least-action paths of a Hamiltonian system derived from the swimmer’s Fokker-Planck equation. Using the semiclassical technique, we compute (i) the steady-state orientation distribution of swimmers with rotational diffusion and tumbling and (ii) the probability that a diffusive swimmer crosses a one-way barrier. The semiclassical results compare favorably with Monte Carlo calculations.

I Introduction

The advection of self-propelled particles in externally-driven fluid flows presents many surprises when compared to passive advection. Perhaps the biggest surprise is that the transport efficiency of swimmers does not simply increase as swimming speed increases. For example, when swimmers are placed in a two-dimensional (2D) oscillating vortex array exhibiting chaotic mixing, faster swimming does not always lead to faster transport Khurana2011 ; Khurana2012 . Even in a steady 2D vortex array, swimmer trapping inside vortices may be enhanced when the particles swim faster, depending on the shape of the particle Berman2020 . Similarly, transport efficiency does not simply increase as a swimmer’s rotational diffusivity increases, either. In fact, the opposite occurs in the 2D oscillating vortex array Torney2007 ; Khurana2012 . It is reasonable to expect that the more a swimmer’s propulsion direction fluctuates, the smaller its net displacement in a fixed amount of time, and hence the lower the transport efficiency. Unexpectedly however, the presence of both rotational noise and shear flow can effectively trap swimmers in certain regions, as has been experimentally observed for swimming bacteria Rusconi2014 and swimming phytoplankton Barry2015 in a channel flow. While numerous studies have investigated the spatial distributions of noisy swimmers in a variety of flows Santamaria2014 ; Bearon2015 ; Ezhilan2015 ; Vennamneni2020 ; Dehkharghani2019 , a basic understanding of how rotational noise alters swimmer trajectories is lacking. Our objective in this paper is to develop a theory that quantifies the effect of noise on swimmer dynamics in externally driven fluid flows, especially near transport barriers.

Recently, transport barriers analogous to separatrices—and the related invariant manifolds—of passive advection were identified for self-propelled particles in fluid flows Berman2021a . Perfectly smooth-swimming particles are blocked by so-called swimming invariant manifolds (SwIMs) in position-orientation space. The SwIMs project to one-way barriers, called SwIM edges, to swimmer motion in position space. Swimmers with orientational noise, on the other hand, can cross SwIM edges, but they are still blocked by one-way barriers known as burning invariant manifolds (BIMs), which were originally introduced as barriers for propagating chemical reaction fronts in fluid flows Mahoney2012 ; Mitchell2012 . By one-way barriers, we mean that swimmers can pass through a BIM or SwIM edge in one direction, but not the other.

Refer to caption
Figure 1: Experimental data of swimming B. subtilis bacteria trajectories in a microfluidic hyperbolic flow, 𝐮=(Bx,By){\bf u}=(Bx,-By), from Ref. Berman2021a . B=0.44s1B=0.44{\rm s}^{-1}. (a) Streamlines of the hyperbolic fluid flow. (b) Smooth-swimming bacteria. (c) Run-and-tumble bacteria. The vertical blue lines are SwIM edges blocking inward swimming particles. The horizontal red lines are SwIM edges blocking outward swimming particles. In (b) and (c), each trajectory is plotted in units of v0/Bv_{0}/B, where v0v_{0} is the individual bacterium’s measured swimming speed. Every experimentally recorded trajectory is plotted, and the xxx\mapsto-x and yyy\mapsto-y symmetries have been used to rectify the trajectories so they all appear to enter from above and exit right.

This theory was applied to analyze the experimental trajectories of smooth-swimming and run-and-tumble Bacillus subtilis bacteria in a microfluidic cross-channel featuring a hyperbolic fluid flow, illustrated in Fig. 1a. Whereas the run-and-tumble bacteria exhibit strong rotational noise in the form of sporadic, abrupt changes in swimming direction (Fig. 1c), the smooth-swimming bacteria tend to swim straight in the absence of a flow, with minimal rotational noise (Fig. 1b). The vertical lines in Figs. 1b and 1c are the SwIM edges blocking inward swimming particles, while the horizontal lines are the SwIM edges blocking outward swimming particles. In the hyperbolic flow, the BIMs coincide exactly with the SwIM edges, and hence these curves are one-way barriers for both the smooth swimming and run-and-tumble bacteria. Here, all experimentally recorded trajectories are rectified so they appear to enter the flow from above and exit to the right. Therefore, there can be no trajectories to the left of the SwIM edge x=1x=-1, beyond which any trajectory would be swept to the left, as is evident from Figs. 1b and 1c. However, we observe a gap between the left SwIM edge and the measured trajectories of run-and-tumble bacteria in Fig. 1c, compared to the smooth-swimmers in Fig. 1b that can just graze the left SwIM edge before swimming off to the right. Because the gap represents a depletion of the density of trajectories near the SwIM edge relative to the smooth swimmer case, we refer to it as the depletion effect. The depletion effect is caused by the orientation fluctuations of the run-and-tumble bacteria. A run-and-tumble swimmer near this SwIM edge and initially swimming to the right is very likely to tumble and end up crossing the left SwIM edge, forcing it to escape to the left. At the same time, we observe that the run-and-tumble bacteria swim much closer to the lower SwIM edge than their smooth-swimming counterparts. This again is due to tumbling. While smooth swimmers get aligned with the extensional xx direction of the flow and thus cannot swim very far below the line y=0y=0, run-and-tumble swimmers can tumble out of alignment and swim towards the lower SwIM edge. These stark differences between the trajectories of smooth versus run-and-tumble swimmers have motivated the present work.

In this paper, we show how to calculate the probability of particular noisy swimmer trajectories in a given fluid flow, taking the hyperbolic flow as a case study. Our approach focuses on computing solutions to the time-dependent Fokker-Planck equation of a swimmer (alternately known as a master equation or Smoluchowski equation) in the weak-noise limit Graham1984 ; Dykman1996 ; Gaspard2002 ; Nolting2016 ; Gu2020 . This differs from traditional approaches to the swimmer Fokker-Planck equation, which are focused on the stationary (time-independent) solution and are in the Eulerian frame-of-reference Rusconi2014 ; Bearon2015 ; Ezhilan2015 ; Vennamneni2020 . In contrast, we construct a time-dependent swimmer probability density function by following the Lagrangian paths of a swimmer. This procedure is derived from the weak-noise limit in a manner that is nearly identical to the semiclassical approximation in quantum mechanics Littlejohn1992 , so we refer to it as the semiclassical approximation to the Fokker-Planck equation. We use this approach to quantify the depletion of noisy swimmers near a BIM, and compare the results of our semiclassical calculations with Monte Carlo calculations, i.e. direct numerical simulations of the swimmer equations of motion.

The paper is organized as follows. In Sec. II, we provide background information on the model for swimmer motion employed here and the semiclassical approximation to the Fokker-Planck equation. In Sec. III, we review the dynamics of a deterministic smooth swimmer in the hyperbolic flow, in particular the role of the SwIMs and BIMs. In Sec. IV, we compute the position-independent orientation distributions of a swimmer in the hyperbolic flow, obtaining results analogous to the orientation distributions of magnetotactic and viscotactic swimmers in external fields Waisbord2016 ; Rupprecht2016 ; Stehnach2021 , and we apply the semiclassical approximation to calculate the orientation distribution of swimmers with both rotational diffusion and run-and-tumble dynamics. In Sec. V, we compare Monte Carlo and semiclassical calculations of the depletion effect. Concluding remarks are in Sec. VI. In the appendix, we present a complete derivation of the semiclassical approximation to the Fokker-Planck equation.

II Noisy swimmer dynamics

We consider the motion of an ellipsoidal swimmer in two dimensions, with position 𝐫=(x,y){\bf r}=(x,y) and orientation 𝐧^=(cosθ,sinθ)\hat{{\bf n}}=(\cos\theta,\sin\theta). The stochastic differential equations describing a noisy swimmer in a fluid flow 𝐮(𝐫){{\bf u}}({\bf r}) are Torney2007 ; Khurana2012

d𝐫=[𝐮(𝐫)+v0𝐧^]dt+2DTdw𝐫,\displaystyle{\rm d}{\bf r}=\left[{\bf u}({\bf r})+v_{0}\hat{{\bf n}}\right]{\rm d}t+\sqrt{2D_{T}}\,{\rm d}w_{\bf r}, (1a)
dθ=[ω(𝐫)2+α𝐧^𝖤(𝐫)𝐧^]dt+2DRdwθ+dL(ν),\displaystyle{\rm d}\theta=\left[\frac{\omega({\bf r})}{2}+\alpha\hat{{\bf n}}_{\perp}\cdot{\mathsf{E}}({\bf r})\hat{{\bf n}}\right]{\rm d}t+\sqrt{2D_{R}}\,{\rm d}w_{\theta}+{\rm d}L(\nu), (1b)

where ω=𝐳^(×𝐮)\omega=\hat{\bf z}\cdot(\nabla\times{\bf u}) is the vorticity, 𝐧^=(sinθ,cosθ)\hat{{\bf n}}_{\perp}=(-\sin\theta,\cos\theta), and 𝖤=(𝐮+𝐮T)/2{\mathsf{E}}=(\nabla{\bf u}+\nabla{\bf u}^{\rm T})/2 is the symmetric rate-of-strain tensor. The shape parameter α\alpha equals (a21)/(a2+1)(a^{2}-1)/(a^{2}+1), where aa is the aspect ratio of the ellipse; α\alpha varies from 1-1 to 11, where α=0\alpha=0 is a circle, and |α|=1|\alpha|=1 is an infinitely thin rod. Positive (negative) values of α\alpha correspond to swimming parallel (perpendicular) to the major axis. Each equation of (1) contains a deterministic drift term, proportional to dt{\rm d}t, and noise terms. In Eq. (1a), the noise terms are the independent Wiener processes w𝐫=(wx,wy)w_{\bf r}=(w_{x},w_{y}) and account for translational diffusion with diffusivity DTD_{T}. Note that for certain swimmers, the strength of the translational diffusivity along the particle’s major axis may differ from the translational diffusivity along the minor axis, and their may be additional correlations between translational and rotational noise Thiffeault2021 . We ignore these issues here for simplicity.

Equation (1b), on the other hand, contains two stochastic terms describing fluctuations in the swimming direction. We distinguish between two types of rotational noise: rotational diffusion and tumbling. Rotational diffusion refers to continual random perturbations in the swimmer orientation, such that in the absence of a flow, the orientation θ\theta would exhibit free diffusion (given by the Wiener process wθw_{\theta}) with a rotational diffusivity DRD_{R}. This can arise due to random fluctuations in the propulsion force of the swimmer Hyon2012 ; Thiffeault2021 or from the thermal fluctuations of the surrounding fluid. In the former case, the noise mechanism would lead to correlations between translational and rotational diffusion, but here we neglect those for simplicity. Tumbling refers to the sudden resetting of θ\theta to a random orientation, independent of its present value, which occurs sporadically as a Poisson process L(ν)L(\nu) with frequency ν\nu. This kind of sudden, random reorientation is seen in swimming bacteria in the “run-and-tumble” mode of swimming. In practice, the distribution of new orientations may depend on the previous value, as is the case for wild-type strains of the swimming bacteria E. coli Berg1972 , but we neglect this here for simplicity. Hence, the new angle after a tumble is uniformly and randomly distributed between 0 and 2π2\pi.

Our goal in this paper is to estimate the probability of various swimmer trajectories of Eq. (1). This can certainly be accomplished by Monte Carlo simulations, i.e. direct numerical simulations of Eq. (1), but we also develop an analytical approach to calculating such probabilities, which is less computationally costly and provides deeper theoretical insight into the swimmer dynamics. To study the probability of swimmer trajectories, we investigate the Fokker-Planck equation for the probability density of the particle P(𝐫,θ,t)P({\bf r},\theta,t) Solon2015 ,

Pt=(𝐅P)+ε2[γ(2Px2+2Py2)+2Pθ2]+λ[P+12π02πP(𝐫,θ,t)dθ],\frac{\partial P}{\partial t}=-\nabla\cdot({\bf F}P)+\frac{\varepsilon}{2}\left[\gamma\left(\frac{\partial^{2}P}{\partial x^{2}}+\frac{\partial^{2}P}{\partial y^{2}}\right)+\frac{\partial^{2}P}{\partial\theta^{2}}\right]+\lambda\left[-P+\frac{1}{2\pi}\int_{0}^{2\pi}P({\bf r},\theta^{\prime},t){\rm d}\theta^{\prime}\right], (2)

where we have abbreviated the deterministic drift terms from Eq. (1) as 𝐅{\bf F}, with

𝐅=(ux+v0cosθ,uy+v0sinθ,ω2+α𝐧^𝖤𝐧^).{\bf F}=\left(u_{x}+v_{0}\cos\theta,\,\,u_{y}+v_{0}\sin\theta,\,\,\frac{\omega}{2}+\alpha\hat{\bf n}_{\perp}\cdot{\mathsf{E}}\hat{\bf n}\right). (3)

Here, =(/x,/y,/θ)\nabla=(\partial/\partial x,\partial/\partial y,\partial/\partial\theta). We have non-dimensionalized the coordinates using a length scale \mathcal{L} and velocity scale 𝒰\mathcal{U}, so that

ε=2DR𝒰\varepsilon=\frac{2D_{R}\mathcal{L}}{\mathcal{U}} (4)

is the strength of rotational diffusion, γ=DT/(2DR)\gamma=D_{T}/(\mathcal{L}^{2}D_{R}) is the ratio of translational diffusion to rotational diffusion (usually γ<1\gamma<1), and λ=ν/𝒰\lambda=\nu\mathcal{L}/\mathcal{U} is the non-dimensional tumbling rate. Note that the rotational Péclet number is Pe=2/ε{\rm Pe}=2/\varepsilon Ezhilan2015 . The first two terms on the right-hand side of Eq. (2) are the usual drift and diffusion terms. The third term proportional to λ\lambda accounts for tumbling, with the first term in brackets describing the loss of probability due to tumbling out of the present angle, and the second term describing the gain of probability from the swimmers at all other angles that have tumbled into the present angle. Equation (2) is difficult to attack in general, so we focus on special cases where exact or approximate analytical (or semi-analytical) solutions may be found.

Of particular interest is the λ=0\lambda=0 case, describing non-tumbling swimmers or, alternatively, the evolution of the probability density in between tumble events. In this case we seek asymptotic solutions in the weak diffusion (ε1\varepsilon\ll 1) limit, which have the WKB form

P(𝐫,θ,t)A(𝐫,θ,t)exp[W(𝐫,θ,t)ε].P({\bf r},\theta,t)\approx A({\bf r},\theta,t)\exp\left[-\frac{W({\bf r},\theta,t)}{\varepsilon}\right]. (5)

Equation (5) has the same form as the semiclassical approximation to the wave function in quantum mechanics, and hence we refer to it as the semiclassical approximation. Substituting this approximation into Eq. (2) with λ=0\lambda=0 leads to a Hamilton-Jacobi equation for WW and a related transport equation for AA.

Here, we briefly describe the mathematical theory of approximation (5), while a detailed derivation and discussion are contained in Appendix A. The solution WW to the Hamilton-Jacobi equation (52) is related to the classical action accumulated along the trajectories of a particular Hamiltonian system associated with Eq. (2). The Hamiltonian is given by

H(𝐪,𝐩)=12[γ(px2+py2)+pθ2]+𝐩𝐅(𝐪),H({\bf q},{\bf p})=\frac{1}{2}\left[\gamma(p_{x}^{2}+p_{y}^{2})+p_{\theta}^{2}\right]+{\bf p}\cdot{\bf F}({\bf q}), (6)

where 𝐪=(x,y,θ){\bf q}=(x,y,\theta) and 𝐩=(px,py,pθ){\bf p}=(p_{x},p_{y},p_{\theta}). Equation (6) follows from the Hamiltonian (53) for a general Fokker-Planck equation (43), of which Eq. (2) (with λ=0\lambda=0) is a special case. The function WW is equivalent to the Onsager-Machlup-Freidlin-Wentzell action function Onsager1953a ; Freidlin2012 ; Gaspard2002 which arises in nonequilibrium statistical mechanics Graham1984 ; Dykman1996 and rare event modeling Forgoston2018 . At each point (𝐫,θ)({\bf r},\theta), the action W(𝐫,θ,t)W({\bf r},\theta,t) can be expressed as an integral along the trajectory of the Hamiltonian system with Hamiltonian (6) that arrives at that point at time tt. This makes Eq. (5) a Lagrangian, as opposed to Eulerian, description of the probability density. The trajectories associated with the minima of WW, i.e. the minimum-action paths, correspond to the most likely trajectories of a noisy swimmer, because at lowest order in ε\varepsilon, the probability density (5) is peaked at these points. Hence, finding the minimum-action paths is the main focus of most works involving the Onsager-Machlup-Freidlin-Wentzell action function, including recent work on escape paths of active particles in potential wells Gu2020 . In contrast, we consider all possible paths, in order to get a global approximation to the probability density (5).

Throughout the paper, we focus on the hyperbolic flow 𝐮=(Bx,By){\bf u}=(Bx,-By). Therefore, Eq. (1) becomes

dx=(x+cosθ)dt+εγdwx,\displaystyle{\rm d}x=(x+\cos\theta){\rm d}t+\sqrt{\varepsilon\gamma}{\rm d}w_{x}, (7a)
dy=(y+sinθ)dt+εγdwy\displaystyle{\rm d}y=(-y+\sin\theta){\rm d}t+\sqrt{\varepsilon\gamma}{\rm d}w_{y} (7b)
dθ=αsin(2θ)dt+εdwθ+dL(λ).\displaystyle{\rm d}\theta=-\alpha\sin(2\theta){\rm d}t+\sqrt{\varepsilon}{\rm d}w_{\theta}+{\rm d}L(\lambda). (7c)

We have taken the velocity scale 𝒰=v0\mathcal{U}=v_{0} and the length scale =v0/B\mathcal{L}=v_{0}/B in the non-dimensional equation (7). The typical values of ε\varepsilon, γ\gamma, λ\lambda, and α\alpha depend on the system being considered. In the hyperbolic flow experiments leading to Fig. 1, B=0.44s1B=0.44\,\,{\rm s}^{-1} Berman2021a . The measured rotational diffusivity for several species of swimming phytoplankton is DR=0.15D_{R}=0.150.27rad2/s0.27\,\,{\rm rad}^{2}/{\rm s} Barry2015 , which in the hyperbolic flow would yield ε=0.68\varepsilon=0.681.21.2. For wild-type E. coli, which exhibit run-and-tumble behavior, the rotational diffusivity during runs is DR=0.06rad2/sD_{R}=0.06\,\,{\rm rad}^{2}/{\rm s} Locsei2009 and the tumbling frequency is approximately ν=1s1\nu=1\,\,{\rm s}^{-1} Berg1972 , which in the hyperbolic flow would yield ε=0.27\varepsilon=0.27 and λ=2.3\lambda=2.3. Assuming that the translational diffusion for wild-type E. coli is due only to thermal fluctuations so that DT=0.2μm2/sD_{T}=0.2\,\,\mu{\rm m}^{2}/{\rm s} Bearon2015 and a swimming speed v0=14μm/sv_{0}=14\,\,\mu{\rm m}/s Berg1972 , the translational-to-rotational diffusion ratio would be γ=0.003\gamma=0.003. Note that in the hyperbolic flow, ε\varepsilon and λ\lambda can always be made smaller and γ\gamma larger by increasing BB, the flow strength parameter. We take α=1\alpha=1 in all numerical computations, corresponding to the elongated shape of swimming bacteria like E. coli and B. subtilis. Numerical solutions of Eq. (7) are obtained using the Euler-Maruyama method. Before investigating the dynamics of noisy swimmers in the hyperbolic flow, we study the deterministic dynamics of Eq. (7) with ε=0\varepsilon=0 and λ=0\lambda=0.

III Deterministic dynamics in the hyperbolic flow

Refer to caption
Figure 2: Phase space structure of a swimmer in the hyperbolic flow, for α=1\alpha=1. (a) Swimming fixed points (SFPs) and their invariant manifolds (SwIMs). The red surfaces are the unstable SwIMs of 𝐪±out{\bf q}^{\rm out}_{\pm}, and the blue surfaces are the stable SwIMs of 𝐪±in{\bf q}^{\rm in}_{\pm}. The dark blue lines are the 1D stable SwIMs of 𝐪±out{\bf q}^{\rm out}_{\pm}. The dark and light grey planes are constant-θ\theta invariant surfaces which are displayed for visualization purposes. (b) Projection of swimming fixed points and SwIMs into the xyxy plane. The black curves are the streamlines of the hyperbolic flow. The red (blue) lines are the unstable (stable) SwIM edges. The small arrows perpendicular to the SwIM edges point in the swimming direction.

The deterministic dynamics of Eq. (7) is best understood through the system’s fixed points and invariant manifolds, previously studied in Ref. Berman2021a . The system possesses four fixed points, which we refer to as swimming fixed points (SFPs) to distinguish them from the passive fixed points of the fluid flow. Denoting the phase-space coordinate 𝐪=(x,y,θ){\bf q}=(x,y,\theta), the fixed points are

𝐪±out=(0,±1,±π2),𝐪+in=(1,0,π),𝐪in=(1,0,0),{\bf q}_{\pm}^{\rm out}=\left(0,\pm 1,\pm\frac{\pi}{2}\right),\quad{\bf q}^{\rm in}_{+}=(1,0,\pi),\quad{\bf q}^{\rm in}_{-}=(-1,0,0), (8)

illustrated in Fig. 2. Each of the SFPs is a saddle. When α>0\alpha>0, and in particular when α=1\alpha=1, the 𝐪±out{\bf q}_{\pm}^{\rm out} fixed points have stable-unstable-unstable (SUU) linear stability, and the 𝐪±in{\bf q}_{\pm}^{\rm in} fixed points have stable-stable-unstable (SSU) linear stability. Hence, the 𝐪±out{\bf q}_{\pm}^{\rm out} SFPs possess 2D unstable manifolds, while the 𝐪±in{\bf q}_{\pm}^{\rm in} fixed points possess 2D stable manifolds. We refer to these 2D manifolds as swimming invariant manifolds (SwIMs), to distinguish them from the invariant manifolds of passive advection Berman2021a .

Taken as a whole, the stable and unstable SwIMs consist of two interlocking S-shaped sheets, plotted in Fig. 2a. The stable SwIMs (the blue surface) attached to 𝐪+in{\bf q}_{+}^{\rm in} and 𝐪in{\bf q}_{-}^{\rm in} share common boundaries along the lines {(x,y,θ)|x=0,θ=±π}\{(x,y,\theta)\,\,|\,\,x=0,\,\,\theta=\pm\pi\} which are the 1D stable manifolds of 𝐪±out{\bf q}_{\pm}^{\rm out} (dark blue lines). Hence, the union of the 2D stable SwIMs with the 1D stable manifolds of 𝐪±out{\bf q}_{\pm}^{\rm out} is a surface (blue surface in Fig. 2a) which separates phase space into two pieces. By symmetry, the same geometric shape can be constructed by taking the union of the unstable SwIMs of 𝐪±out{\bf q}_{\pm}^{\rm out} with the 1D unstable manifolds of 𝐪±in{\bf q}_{\pm}^{\rm in}, leading to the red surface in Fig. 2a. The shape of the stable SwIMs is independent of the yy coordinate and, similarly, the shape of the unstable SwIMs is independent of the xx coordinate. This occurs because in the hyperbolic flow, the xθx\theta equations Eq. (7a) and (7c) are decoupled from yy and similarly the yθy\theta equations Eq. (7b) and (7c) are decoupled from xx. The stable and unstable SwIMs intersect along heteroclinic orbits going from one fixed point to another, indicated by the yellow curves in Fig. 2a.

Cross-sections of the SwIMs are shown in Fig. 3, along with the phase portraits of the xθx\theta dynamics and the yθy\theta dynamics. Figure 3a shows that swimmers on the left of the stable SwIM ultimately exit the flow to the left, while swimmers on the right ultimately exit right. Similarly, the unstable SwIM (Fig. 3b) separates swimmers that entered the flow from the top from those which entered from the bottom. The SwIMs are therefore transport barriers to swimmers in the hyperbolic flow, because they carve out the xyθxy\theta phase space into distinct, qualitatively different families of trajectories. Importantly, these barriers are nonporous in phase space, meaning no swimmer trajectory can cross them (in the absence of noise).

On the other hand, in position space, the SwIMs project to one-way barriers, allowing swimmers to cross in one direction but not the other. Figure 2b shows the singularities of the projection of the SwIMs into the xyxy plane—that is, the folds of the S-shapes which bound the projection of the 2D surfaces into the plane. We refer to these curves as SwIM edges Berman2021a . The stable SwIM edges at x=±1x=\pm 1 (blue curves in Fig. 2b) block inward swimming particles, while allowing outward swimming particles through. To see this, note that for x=1x=-1, x˙0\dot{x}\leq 0 for all θ\theta, and for x=1x=1, x˙0\dot{x}\geq 0 for all θ\theta, as shown in Fig. 3a. Along the stable SwIM edges, the outward fluid flow overpowers the swimmers and they are swept away from the center of the flow. Similarly, the unstable SwIM edges (red curves in Fig. 2b) block outward swimming particles, while inward swimming particles can pass through them. Here, for y=1y=1, y˙0\dot{y}\leq 0, and for y=1y=-1, y˙0\dot{y}\geq 0. On the unstable SwIM edges, it is the inward flow which overpowers the swimmers and pushes them towards the center of the flow.

The SwIM edges in the hyperbolic flow coincide exactly with the BIMs—the 1D invariant manifolds of the SFPs when α=1\alpha=-1 Berman2021a ; Mahoney2015 . This is important because SwIM edges are only guaranteed to be one-way barriers for purely deterministic swimmers. BIMs, on the other hand, have stronger barrier properties, in that they are also one-way barriers for swimmers with rotational diffusion or run-and-tumble dynamics in the limit of negligible translational diffusion Berman2021a . Thus, in the hyperbolic flow, the SwIM edges also act as one-way barriers for swimmers with rotational noise. This explains why the run-and-tumble bacteria in the hyperbolic flow experiment remain bounded by the unstable SwIM edge at y=1y=-1 in Fig. 1b. Similarly, the stable SwIM edges act as points of no return for all swimmers. Once a swimmer swims over a stable SwIM edge, it is unable to swim back to the center of the flow. This is the origin of the depletion effect we observe when comparing the smooth swimming bacteria data (Fig. 1a) to the run-and-tumble data (Fig. 1b). The orientation fluctuations of tumbling bacteria make it very likely that a bacterium near the SwIM edge at x=1x=-1, for example, swims across it, precluding the possibility that it subsequently exits the flow to the right. Hence, we expect to observe much fewer trajectories of run-and-tumble swimmers initially near the left SwIM edge and exiting right relative to smooth swimmers, consistent with the experimental data.

Refer to caption
Figure 3: Phase portraits of swimmer dynamics in the hyperbolic flow, for α=1\alpha=1. (a) xθx\theta cross-section of the dynamics. The blue curve is the cross-section of the stable SwIM of 𝐪±in{\bf q}_{\pm}^{\rm in}. (b) yθy\theta cross-section of the dynamics. The red curve is the cross-section of the unstable SwIM of 𝐪±out{\bf q}_{\pm}^{\rm out}. In both panels, the solid and dotted grey lines are cross-sections of the stable and unstable constant-θ\theta invariant surfaces, respectively.

IV Steady-state orientation distributions in the hyperbolic flow

Because the θ˙\dot{\theta} equation (7c) is independent of xx and yy, we begin by looking at the effect of noise on the orientation dynamics alone in the hyperbolic flow. The Fokker-Planck equation for the probability density P(θ,t)P(\theta,t) restricted to the orientation degree-of-freedom is

Pt=θ[αsin(2θ)P]+ε22Pθ2+λ(P+12π).\frac{\partial P}{\partial t}=-\frac{\partial}{\partial\theta}[-\alpha\sin(2\theta)P]+\frac{\varepsilon}{2}\frac{\partial^{2}P}{\partial\theta^{2}}+\lambda\left(-P+\frac{1}{2\pi}\right). (9)

We focus on the stationary distributions of the θ\theta variable, which are the stationary solutions (P/t=0\partial P/\partial t=0) of Eq. (9). We first treat the two limiting cases (i) no tumbling (λ=0\lambda=0), and (ii) no rotational diffusion (ε=0\varepsilon=0), before proceeding to the case where there is both tumbling and rotational diffusion. Note that the orientation dynamics of a noisy swimmer in the hyperbolic flow is very similar to the orientation dynamics of swimmers in other types external fields, such as magnetotactic swimmers in external magnetic fields Rupprecht2016 ; Waisbord2016 and swimmers in viscocity gradients Stehnach2021 . The main difference here compared to the preceding examples, aside from the source of the torque on the swimmer, is that Eq. (9) is invariant under the symmetry θθ+π\theta\mapsto\theta+\pi.

IV.1 Orientation dynamics with rotational diffusion only (λ=0\lambda=0)

Without tumbling, the θ\theta dynamics is governed by

dθ=αsin(2θ)dt+εdwθ.{\rm d}\theta=-\alpha\sin(2\theta){\rm d}t+\sqrt{\varepsilon}{\rm d}w_{\theta}. (10)

The deterministic part of the equation has the form of the gradient of a potential V(θ)V(\theta), meaning we can write dθ=(V/θ)dt+εdwθ{\rm d}\theta=-(\partial V/\partial\theta){\rm d}t+\sqrt{\varepsilon}{\rm d}w_{\theta}, with V(θ)=αcos(2θ)/2V(\theta)=-\alpha\cos(2\theta)/2. Hence, the dynamics is equivalent to that of an overdamped particle in the potential V(θ)V(\theta) with noisy driving. In this case, the long-time probability distribution of θ\theta evolves towards a stationary state which is peaked at the potential wells at θ=0\theta=0 and θ=π\theta=\pi (for α>0\alpha>0). This probability distribution Pε(θ)P^{\varepsilon}(\theta) can be found by solving for the stationary state of Eq. (9) with λ=0\lambda=0. For gradient systems, the solution is simply Pε(θ)exp[2V(θ)/ε]P^{\varepsilon}(\theta)\propto\exp[-2V(\theta)/\varepsilon], which is simple to verify, and hence we have

Pε(θ)exp[αεcos2θ].P^{\varepsilon}(\theta)\propto\exp\left[\frac{\alpha}{\varepsilon}\cos 2\theta\right]. (11)

Clearly, the distribution depends on a single dimensionless parameter,

αε=Aα2DR,\frac{\alpha}{\varepsilon}=\frac{A\alpha}{2D_{R}}, (12)

which is the ratio of the rate of alignment with the extensional direction of the flow, AαA\alpha, to the intensity of the noise. Normalizing the probability distribution, we obtain

Pε(θ)=[2πI0(αε)]1exp[αεcos2θ],P^{\varepsilon}(\theta)=\left[2\pi I_{0}\left(\frac{\alpha}{\varepsilon}\right)\right]^{-1}\exp\left[\frac{\alpha}{\varepsilon}\cos 2\theta\right], (13)

where I0(x)I_{0}(x) is a modified Bessel function of the first kind. The stationary distribution (13) is invariant under the shift symmetry θθ+π\theta\mapsto\theta+\pi, as is the underlying stochastic process (10). Equation (13) is plotted in Figs. 4a and 4b, along with histograms from Monte Carlo simulations of Eq. (10). In Fig. 4, we map the Monte Carlo data onto the interval θ(π/2,π/2)\theta\in(-\pi/2,\pi/2) using symmetry and only plot Eq. (13) in this range. Similar results were previously obtained for magnetotactic swimmers in an external magnetic field with rotational diffusion Rupprecht2016 .

Refer to caption
Figure 4: Stationary θ\theta distributions with α=1\alpha=1, with no tumbling (a), (b), and no rotational diffusion (c), (d). Histograms are Monte Carlo simulations of Eq. (7c), and red curves are the theoretically predicted distributions given by Eq. (13) for the no-tumbling case and Eq. (19) for the no-diffusion case. Distributions are plotted in the range θ(π/2,π/2)\theta\in(-\pi/2,\pi/2). (a) λ=0\lambda=0, ε=0.1\varepsilon=0.1. (b) λ=0\lambda=0, ε=1\varepsilon=1. (c) ε=0\varepsilon=0, λ=1.6\lambda=1.6. (d) ε=0\varepsilon=0, λ=5\lambda=5.

IV.2 Orientation dynamics with tumbling only (ε=0\varepsilon=0)

Here we consider the case of the stationary θ\theta distribution under tumbling only. Every time a swimmer tumbles, its orientation is drawn from the uniform distribution. If it tumbles at time τ=0\tau=0, then until the next tumble, its probability density P(θ,τ)P(\theta,\tau) evolves according to the Liouville equation

Pτ=θ[αsin(2θ)P],\frac{\partial P}{\partial\tau}=\frac{\partial}{\partial\theta}\left[\alpha\sin(2\theta)P\right], (14)

with the initial condition P(θ,0)=P0(θ)=1/2πP(\theta,0)=P_{0}(\theta)=1/2\pi. Intuitively, we thus expect that the steady-state distribution under tumbling only, Pλ(θ)P_{\lambda}(\theta), should consist of the superposition of probability distributions P(θ,τ)P(\theta,\tau) describing the relaxation of θ\theta in between tumbles, weighted by the probability λeλτdτ\lambda e^{-\lambda\tau}{\rm d}\tau that the last tumble occurred a time τ\tau in the past. In other words, the stationary probability distribution must be Evans2020

Pλ(θ)=λ0P(θ,τ)eλτdτ.P_{\lambda}(\theta)=\lambda\int_{0}^{\infty}P(\theta,\tau)e^{-\lambda\tau}{\rm d}\tau. (15)

It is straightforward to verify that Eq. (15) is a stationary solution of Eq. (9) with ε=0\varepsilon=0.

An explicit solution to Eq. (14) can be obtained using the method of characteristics, because the θ\theta equation of motion (10) in the absence of noise (ε=0\varepsilon=0) can be solved analytically. The expression for the deterministic trajectory θ(t)\theta^{*}(t) is

θ(t)=tan1(e2αttanθ0).\theta^{*}(t)=\tan^{-1}\left(e^{-2\alpha t}\tan\theta_{0}\right). (16)

where θ0=θ(0)\theta_{0}=\theta(0) is the initial condition, and here it is assumed θ0[π/2,π/2]\theta_{0}\in[-\pi/2,\pi/2]. This condition arises due to the use of the tan1\tan^{-1} function; when θ0\theta_{0} is outside this range, this solution needs to be shifted either up or down by π\pi, depending on θ0\theta_{0}. Then, the solution to Eq. (14) is

P(θ,τ)=P0(tan1(e2ατtanθ))e2ατcos2θ+e4ατsin2θ,P(\theta,\tau)=P_{0}\left(\tan^{-1}\left(e^{2\alpha\tau}\tan\theta\right)\right)\frac{e^{2\alpha\tau}}{\cos^{2}\theta+e^{4\alpha\tau}\sin^{2}\theta}, (17)

where P0(θ)=P(θ,0)P_{0}(\theta)=P(\theta,0) is an arbitrary initial orientation distribution (see Appendix B for the derivation). Again, this form of the solution is valid for θ[π/2,π/2]\theta\in[-\pi/2,\pi/2], and a shift by π\pi in the argument of P0P_{0} in Eq. (17) adapts the solution to the excluded range of θ\theta.

Next, we obtain the stationary θ\theta distribution Pλ(θ)P_{\lambda}(\theta) under tumbling with rate λ\lambda by substituting Eq. (17) into Eq. (15), with P0=1/2πP_{0}=1/2\pi. Rescaling the time in Eq. (15) by the tumbling rate λ\lambda, we obtain a complicated integral that depends on a single dimensionless parameter that we call the tumbling number Tu{\rm Tu},

Tu=λ2α=ν2Aα.{\rm Tu}=\frac{\lambda}{2\alpha}=\frac{\nu}{2A\alpha}. (18)

This is essentially the ratio of the tumbling rate to the relaxation rate of a swimmer’s orientation to its equilibrium (parallel to the extensional xx-direction) in the hyperbolic flow. Note, the latter relaxation rate is distinct from the relaxation rate of the orientation distribution of a swimmer with rotational diffusion to the stationary state given by Eq. (13). It is conceivable that this is the more relevant time scale for defining Tu{\rm Tu} in the case where we have both tumbling and rotational diffusion. The stationary distribution PλP_{\lambda} can be shown to be equal to

Pλ(θ)=Tu2πF12(1,(1+Tu)/2;(3+Tu)/2;cot2θ)(1+Tu)sin2θ,P_{\lambda}(\theta)=\frac{{\rm Tu}}{2\pi}\,\frac{{}_{2}F_{1}(1,(1+{\rm Tu})/2;(3+{\rm Tu})/2;-\cot^{2}\theta)}{(1+{\rm Tu})\sin^{2}\theta}, (19)

where F12(a,b;c;z){}_{2}F_{1}(a,b;c;z) is the ordinary hypergeometric function. Like Pε(θ)P^{\varepsilon}(\theta) (Eq. (13)), Eq. (19) is invariant under the shift symmetry θθ+π\theta\mapsto\theta+\pi. To be sure, the hypergeometric function makes the expression (19) of the tumbling swimmer’s stationary distribution more opaque than its counterpart for rotational diffusion.

In Figs. 4c and 4d, we plot Eq. (19), superimposed over histograms from numerical simulations of tumbling swimmers in the hyperbolic flow, to obtain a basic intuition for how the distribution depends on the parameters. We see an excellent agreement between the theory and simulations. For sufficiently small tumbling rates such that Tu1{\rm Tu}\leq 1 in Eq. (18) (Fig. 4c), it can be shown that PλP_{\lambda} is singular at the orientation equilibrium θ=0\theta=0 and relatively flat for all other orientations. On the other hand, for Tu>1{\rm Tu}>1 (Fig. 4d), the peak at the equilibrium becomes finite, and the difference between the probabilities near the stable and unstable equilbria becomes more modest. Again, our results mirror those obtained for magnetotactic run-and-tumble bacteria in Ref. Rupprecht2016 .

IV.3 Orientation distribution with rotational diffusion and tumbling

Having treated the limiting cases of one type of noise versus another, we now seek the stationary θ\theta distribution of a run-and-tumble swimmer with rotational diffusion, which we denote Pλε(θ)P^{\varepsilon}_{\lambda}(\theta). This requires slightly modifying the approach of Sec. IV.2, where the stationary distribution is the weighted time average of the probability distributions describing relaxation to equilibrium, P(θ,τ)P(\theta,\tau) [see Eq. (15)]. Namely, when we have both tumbling and rotational diffusion, we need to obtain P(θ,τ)P(\theta,\tau) by solving the time-dependent Fokker-Planck equation

Pτ=θ[αsin(2θ)P]+ε22Pθ2,\frac{\partial P}{\partial\tau}=\frac{\partial}{\partial\theta}[\alpha\sin(2\theta)P]+\frac{\varepsilon}{2}\frac{\partial^{2}P}{\partial\theta^{2}}, (20)

with initial condition P0(θ)=1/2πP_{0}(\theta)=1/2\pi, instead of the Liouville equation (14). An exact analytical solution of Eq. (20) is unavailable, so we resort to a short-time, small ε\varepsilon asymptotic approximation based on the semiclassical techniques detailed in Sec. A.5.

IV.3.1 Approximation of the Fokker-Planck propagator for small ε\varepsilon

P(θ,τ)P(\theta,\tau) is the probability density of reaching θ\theta at time τ\tau under Eq. (10) with a random initial condition drawn from a uniform distribution. We approximate P(θ,τ)P(\theta,\tau) by making use of the semiclassical approximation to the Fokker-Planck equation (20). We note that this distribution can be expressed as an integral over the propagator K(θ,θ0,τ)K(\theta,\theta_{0},\tau), which is the probability distribution of reaching θ\theta in time τ\tau from a fixed initial condition θ0\theta_{0}, as

P(θ,τ)=12πK(θ,θ0,τ)dθ0.P(\theta,\tau)=\frac{1}{2\pi}\int K(\theta,\theta_{0},\tau)\,{\rm d}\theta_{0}. (21)

Our strategy is to approximate P(θ,τ)P(\theta,\tau) by approximating KK analytically and performing the integral (21) numerically.

The propagator KK can be approximated in the small ε\varepsilon limit using the semiclassical approach described in Appendix A. In particular, we are satisfied with an approximation valid for short times, because the long-time behavior of P(θ,τ)P(\theta,\tau) is suppressed in the integral (15) for the steady-state distribution. Therefore, we make use of the Gaussian approximation of KK about a deterministic trajectory, derived for a general 1D Fokker-Planck equation of the form (20) in Sec. A.5. In this case, KK is peaked around the trajectory θ(τ)\theta^{*}(\tau) initiated at θ0\theta_{0}, given by Eq. (16). The final expression for KK follows from Eqs. (105) and (106), which after lengthy but straightforward calculations yields

K(θ,θ0,τ)12πε2Rθ2exp[12ε2Rθ2(θθ(τ))2],K(\theta,\theta_{0},\tau)\approx\sqrt{\frac{1}{2\pi\varepsilon}\frac{\partial^{2}R}{\partial\theta^{2}}}\exp\left[-\frac{1}{2\varepsilon}\frac{\partial^{2}R}{\partial\theta^{2}}(\theta-\theta^{*}(\tau))^{2}\right], (22)

where

2Rθ2=4α(e2ατ+e2ατtan2θ0)2e4ατ+8ατtan2θ0e4ατtan4θ01+tan4θ0.\frac{\partial^{2}R}{\partial\theta^{2}}=\frac{4\alpha\left(e^{2\alpha\tau}+e^{-2\alpha\tau}\tan^{2}\theta_{0}\right)^{2}}{e^{4\alpha\tau}+8\alpha\tau\tan^{2}\theta_{0}-e^{-4\alpha\tau}\tan^{4}\theta_{0}-1+\tan^{4}\theta_{0}}. (23)
Refer to caption
Figure 5: Time evolution of the propagator K(θ,θ0,t)K(\theta,\theta_{0},t) for θ0=1.07\theta_{0}=1.07, α=1\alpha=1, and ε=0.25\varepsilon=0.25. Histograms: numerical simulations of Eq. (10) with 10410^{4} trajectories. Red curves: theoretical prediction given by Eq. (22).

We illustrate the validity of the approximate probability distribution (22) by comparing the prediction to numerical simulations of Eq. (10). One comparison is shown in Fig. 5, where at t=0t=0 we initialized the swimmers with the orientation θ0=1.07\theta_{0}=1.07, not terribly far from the turning point θ=π/21.57\theta=\pi/2\approx 1.57, with a modest noise strength of ε=0.25\varepsilon=0.25. These parameters were selected to push the limits of our approximations; not only do we assume ε\varepsilon is small, but our calculation of K(θ,θ0,τ)K(\theta,\theta_{0},\tau) neglects entirely the contributions of paths that cross the turning point at θ=π/21.57\theta=\pi/2\approx 1.57 and relax to the equilibrium at θ=π\theta=\pi instead of θ=0\theta=0. Despite these limitations, we see that the approximate K(θ,θ0,τ)K(\theta,\theta_{0},\tau) given by Eq. (22) does a good job both of tracking the center of the distribution of trajectories and accounting for their spread as a function of time. After some time, the variance of the approximate distribution (2R/θ2)1(\partial^{2}R/\partial\theta^{2})^{-1} saturates and the centroid converges onto θ=0\theta=0, yielding a steady-state. This distribution is reasonably close to the numerical one at t=4t=4. However, we know that if we continue the numerical simulations for very long times, then eventually the distribution should approach the exact steady-state given by Eq. (13) (Figs. 4a and 4b). In contrast to our approximate distribution, which only has one peak that eventually converges to θ=0\theta=0, the true steady-state distribution is symmetrically peaked about θ=0\theta=0 and θ=π\theta=\pi. Over long times, this is achieved as the noise drives some swimmers’ orientations over the potential barriers at θ=±π/2\theta=\pm\pi/2, causing them to settle down around θ=π\theta=\pi for long times. This process is reflected by the growing peak in the density of simulated trajectories at θ=π\theta=\pi in Fig. 5c and 5d. Our approximate distribution manifestly neglects this process, because the action associated with such trajectories is larger than for trajectories near the deterministic path, which are the only trajectories accounted for in our approximation.

IV.3.2 Approximation of the stationary state

Refer to caption
Figure 6: Stationary θ\theta distributions with α=1\alpha=1, with both tumbling and rotational diffusion. Histograms are Monte Carlo simulations of Eq. (7c), and red curves are the theoretically predicted distributions given by the numerical evaluation of Eq. (15) using Eqs. (21) and (22). Distributions are plotted in the range θ(π/2,π/2)\theta\in(-\pi/2,\pi/2). (a) ε=0.1\varepsilon=0.1, λ=1.6\lambda=1.6. (b) ε=0.1\varepsilon=0.1, λ=5\lambda=5. (c) ε=1\varepsilon=1, λ=1.6\lambda=1.6. (d) ε=1\varepsilon=1, λ=5\lambda=5.

We can now compute the stationary orientation distributions of swimmers with both tumbling and rotational diffusion. To recap, we have an explicit approximation (22) of K(θ,θ0,τ)K(\theta,\theta_{0},\tau), the time-dependent probability distribution of θ\theta for a rotationally-diffusing swimmer with orientation θ0\theta_{0} at time t=0t=0 (which also requires Eqs. (23) and (16) to evaluate). Thus, we are able to numerically evaluate our expression (21) for the time-dependent probability distribution P(θ,τ)P(\theta,\tau) of θ\theta for a rotationally-diffusing swimmer with an initially uniform orientation distribution. This initial state corresponds to the swimmer’s orientation distribution after a tumble. Therefore, we can finally evaluate Eq. (15) for Pλ(θ)P_{\lambda}^{*}(\theta), the stationary θ\theta distribution of a tumbling and rotationally-diffusing swimmer.

We proceed by evaluating Eqs. (21) and (15) numerically, and we compare the results with numerical simulations of tumbling and rotationally-diffusing swimmers, i.e. simulations of Eq. (7c). The results are shown in Fig. 6, with all four possible combinations of ε\varepsilon and λ\lambda used in Fig. 4. Without rotational diffusion (Figs. 4c and 4d), the distribution peak at θ=0\theta=0 is very sharp. Comparing with the distributions in Fig. 6, we conclude rotational diffusion smooths out these peaks. We observe good agreement between the stochastic simulations and the semiclassical theory in all cases. Thus, our semiclassical method for evaluating Pλε(θ)P_{\lambda}^{\varepsilon}(\theta) can in principle be used to fit experimental data, allowing the determination of the effective rotational diffusivity and tumbling rate of swimmers in the hyperbolic flow.

V Depletion effect

Here, we present Monte Carlo and semiclassical calculations quantifying the depletion effect. We quantify the depletion effect by calculating the probability Pr(x0)\Pr(x_{0}) that a swimmer ultimately exits right with a given initial position 1<x0<1-1<x_{0}<1 and a given intensity of the noise. For an x0x_{0} near the BIM x=1x=-1, the signature of the depletion effect is a decreasing Pr(x0)\Pr(x_{0}) for increasing noise intensity. A low probability of right-exiting swimmer trajectories initialized near x=1x=-1 would be consistent with the absence of such trajectories for run-and-tumble bacteria in the experimental data shown in Fig. 1. Conversely, for an x0x_{0} near the BIM x=1x=1, Pr(x0)\Pr(x_{0}) should increase with increasing noise intensity. This is simply due to the symmetry of the hyperbolic flow, which requires that

Pr(x0)=1Pr(x0).\Pr(-x_{0})=1-\Pr(x_{0}). (24)

We focus solely on the dynamics in the xθx\theta plane, because it is independent of the yy variable, as discussed in Sec. III. Hence, Eq. (2) becomes

Pt=(𝐟P)+ε2(γ2Px2+2Pθ2)+λ[P+12π02πP(x,θ,t)dθ],\frac{\partial P}{\partial t}=-\nabla\cdot({\bf f}P)+\frac{\varepsilon}{2}\left(\gamma\frac{\partial^{2}P}{\partial x^{2}}+\frac{\partial^{2}P}{\partial\theta^{2}}\right)+\lambda\left[-P+\frac{1}{2\pi}\int_{0}^{2\pi}P(x,\theta^{\prime},t){\rm d}\theta^{\prime}\right], (25)

where

𝐟=(x+cosθ,αsin(2θ)){\bf f}=(x+\cos\theta,-\alpha\sin(2\theta)) (26)

is the drift restricted to the xθx\theta plane. In Eq. (25) and throughout this section, we also take =(/x,/θ)\nabla=(\partial/\partial x,\partial/\partial\theta).

We restrict our attention to the case where rotational diffusion dominates translational diffusion, i.e. γ1\gamma\ll 1, and we fix γ=0.1\gamma=0.1. When γ=0\gamma=0, all swimmers which cross the line x=1x=1 must ultimately exit right, due to the BIM at x=1x=1 blocking inward swimming particles. Therefore, the probability to exit right may be calculated by integrating the probability current through x=1x=1. We assume this remains approximately true for small γ\gamma. Defining Pr(x0,t)\Pr(x_{0},t) as the probability that a swimmer has exited right by time tt, we have

Pr(x0,t)=x>1P(x,θ,t)dxdθ.\Pr(x_{0},t)=\int_{x>1}P(x,\theta,t){\rm d}x{\rm d}\theta. (27)

Differentiating Eq. (27) with respect to time and using Eq. (25), we obtain the probability current

Prt\displaystyle\frac{\partial\Pr}{\partial t} =x>1{(𝐟P)+ε2(γ2Px2+2Pθ2)+λ[P+12π02πP(x,θ,t)dθ]}dxdθ\displaystyle=\int_{x>1}\left\{-\nabla\cdot({\bf f}P)+\frac{\varepsilon}{2}\left(\gamma\frac{\partial^{2}P}{\partial x^{2}}+\frac{\partial^{2}P}{\partial\theta^{2}}\right)+\lambda\left[-P+\frac{1}{2\pi}\int_{0}^{2\pi}P(x,\theta^{\prime},t){\rm d}\theta^{\prime}\right]\right\}{\rm d}x{\rm d}\theta
=x>1𝐉dxdθ,\displaystyle=-\int_{x>1}\nabla\cdot{\bf J}{\rm d}x{\rm d}\theta, (28)

where

𝐉=[𝐟ε2𝖣(lnP)]P{\bf J}=\left[{\bf f}-\frac{\varepsilon}{2}{\mathsf{D}}\nabla(\ln P)\right]P (29)

is the probability current density excluding tumbling, with

𝖣=(γ001).{\mathsf{D}}=\begin{pmatrix}\gamma&0\\ 0&1\end{pmatrix}. (30)

The tumbling contribution in Eq. (28) vanishes upon integration over θ\theta. Using the divergence theorem, the probability current (28) becomes

Prt=02π𝐉(1,θ,t)𝐱^dθ,\frac{\partial\Pr}{\partial t}=\int_{0}^{2\pi}{\bf J}(1,\theta,t)\cdot\hat{\bf x}{\rm d}\theta, (31)

and thus the probability to exit right is given by

Pr(x0)=0dt02πdθ[1+cosθεγ2x(lnP(1,θ,t))]P(1,θ,t).\Pr(x_{0})=\int_{0}^{\infty}{\rm d}t\int_{0}^{2\pi}{\rm d}\theta\left[1+\cos\theta-\frac{\varepsilon\gamma}{2}\frac{\partial}{\partial x}\left(\ln P(1,\theta,t)\right)\right]P(1,\theta,t). (32)

For γ=0\gamma=0, Eq. (32) is exact. For small γ>0\gamma>0, Eq. (32) is an approximation, because swimmers close to the righthand side of the BIM may fluctuate over to the lefthand side due to translational diffusion.

V.1 Monte Carlo calculations with diffusion or tumbling

Refer to caption
Figure 7: Monte Carlo calculations of swimmer probability to exit right Pr(x0)\Pr(x_{0}), for α=1\alpha=1 swimmers in the hyperbolic flow. (a) λ=0\lambda=0, γ=0.1\gamma=0.1, and ε=0.1()\varepsilon=0.1\,\,(\bigcirc), ε=0.3()\varepsilon=0.3\,\,(\ast), ε=0.5(×)\varepsilon=0.5\,\,(\times), ε=0.7()\varepsilon=0.7\,\,(\diamond), and ε=0.9()\varepsilon=0.9\,\,(\bigtriangledown). (b) ε=0\varepsilon=0 and λ=0.167()\lambda=0.167\,\,(\bigcirc), λ=0.5()\lambda=0.5\,\,(\ast), λ=1(×)\lambda=1\,\,(\times), and λ=2()\lambda=2\,\,(\diamond). (c) ε=λ=0\varepsilon=\lambda=0.

Monte Carlo calculations of the swimmer probability to exit right as a function of x0x_{0} confirm that the depletion effect is caused by noise. For each x0x_{0}, we computed Pr(x0)\Pr(x_{0}) by integrating Eq. (7) for 50,000 initial conditions with randomly selected initial orientations θ0\theta_{0} from t=0t=0 to t=6t=6. The probability to exit right, according to Eq. (27), is then the fraction of trajectories for which x>1x>1 at the end of the simulation. Figure 7 shows the results for Pr(x0)\Pr(x_{0}) for swimmers with diffusion only (λ=0\lambda=0, Fig. 7a) and swimmers with tumbling only (ε=0\varepsilon=0, Fig. 7b). For the λ=0\lambda=0 swimmers, θ0\theta_{0} was drawn from the stationary distribution Pε(θ0)P^{\varepsilon}(\theta_{0}) given by Eq. (13). For the ε=0\varepsilon=0 swimmers, θ0\theta_{0} was drawn from the stationary distribution Pλ(θ0)P_{\lambda}(\theta_{0}) given by Eq. (19). We also show Pr(x0)\Pr(x_{0}) for deterministic swimmers (ε=λ=0\varepsilon=\lambda=0) initialized with a uniform distribution of θ0\theta_{0} in Fig. 7c. Here, Pr(x0)\Pr(x_{0}) is obtained by calculating the fraction of trajectories on the right side of the SwIM at a given x0x_{0} (see Fig. 3a).

Figure 7 shows that as the intensity of noise increases, Pr(x0)\Pr(x_{0}) increases for x0>0x_{0}>0 and decreases for x0<0x_{0}<0. This occurs both for swimmers with diffusion only (Fig. 7a) and for swimmers with tumbling only (Fig. 7b), where the intensity of noise effectively increases when the tumbling frequency λ\lambda increases. The reduction of Pr(x0)\Pr(x_{0}) for x0<0x_{0}<0 for noisier swimmers is consistent with the depletion effect observed in the experimental data shown in Fig. 1. For smooth swimming bacteria (Fig. 1a), which behave like swimmers with weak diffusion, the exit-right probability Pr(x0)\Pr(x_{0}) is substantial for most values of x0x_{0}, even those relatively close to the BIM at x=1x=-1 (Fig. 7a). Therefore, it is not unlikely to observe bacteria trajectories which graze the BIM at x=1x=-1, as we indeed see in Fig. 1a. For run-and-tumble bacteria on the other hand (Fig. 1b), Pr(x0)\Pr(x_{0}) is very small near x0=1x_{0}=-1 for sufficiently large λ\lambda (Fig. 7b). Therefore, it is very unlikely to observe bacteria trajectories that pass near x=1x=-1 and subsequently exit right, explaining the paucity of trajectories near x=1x=-1 in Fig. 1b. Because fluctuations can cause the swimmers to cross one-way barriers in the flow, fluctuations can dramatically impact a swimmer’s ability to navigate a fluid flow.

V.2 Semiclassical approximation for diffusion

Refer to caption
Figure 8: Comparison between the minimum-action paths and noisy trajectories (λ=0\lambda=0, γ=0.1\gamma=0.1, ε=0.0625\varepsilon=0.0625) of a swimmer exiting right with an initial condition (x0,θ0)=(0.5,2)(x_{0},\theta_{0})=(0.5,2) (black circle). The black curve is the deterministic trajectory, which exits left. The solid jagged curves are representative noisy trajectories hitting x=1x=1 in time t1t\approx 1 (green) and t2t\approx 2 (yellow). The dotted curves are the minimum-action paths hitting x=1x=1 at t=1t=1 (green) and t=2t=2 (yellow). They are projections into the xθx\theta plane of solutions to the boundary value problem seeking the trajectories (x(t),θ(t),px(t),pθ(t))(x(t),\theta(t),p_{x}(t),p_{\theta}(t)) of Hamiltonian (33) with the specified initial condition (x0,θ0)(x_{0},\theta_{0}), final position x(t)=1x(t)=1, and final momentum pθ(t)=0p_{\theta}(t)=0. The blue curve is the stable SwIM of the swimming fixed point (blue dot).

We use the semiclassical approximation to compute Pr(x0)\Pr(x_{0}) when λ=0\lambda=0 and investigate how accurately it matches the Monte Carlo calculations. For the xθx\theta dynamics in the hyperbolic flow, Hamiltonian (6) becomes

H(x,θ,px,pθ)=γpx22+pθ22+px(x+cosθ)pθαsin(2θ).H(x,\theta,p_{x},p_{\theta})=\gamma\frac{p_{x}^{2}}{2}+\frac{p_{\theta}^{2}}{2}+p_{x}(x+\cos\theta)-p_{\theta}\alpha\sin(2\theta). (33)

We evaluate Eq. (32) for Pr(x0)\Pr(x_{0}) using our semiclassical approximation for P(x,θ,t)P(x,\theta,t). This essentially requires integrating over a subset of trajectories of Eq. (33), which begin at x0x_{0} at t=0t=0 and hit x=1x=1 at a later time. One advantage of the semiclassical approximation is that this set of trajectories is independent of ε\varepsilon, so once these trajectories are computed, Eq. (32) can be evaluated for any arbitrary value of ε\varepsilon. Another advantage is that this set of trajectories provides insight into the actual paths in xθx\theta space that noisy swimmers take on their way to exiting right.

To illustrate the relationship between the trajectories of Hamiltonian (33) and the noisy trajectories, we first consider the semiclassical evolution of a probability density initially concentrated at a single point (x0,θ0)(x_{0},\theta_{0}). This corresponds to an initial condition

P0(x,θ)=δ(xx0)δ(θθ0),P_{0}(x,\theta)=\delta(x-x_{0})\delta(\theta-\theta_{0}), (34)

which is the initial condition for the propagator of the Fokker-Planck equation (Eq. (47)). The semiclassical solution for such an initial condition (Eq. (80)) requires one to integrate all trajectories of Hamiltonian (33) beginning at (x0,θ0)(x_{0},\theta_{0}), which means considering all possible initial momenta (px0,pθ0)(p_{x0},p_{\theta 0}) at that point (Appendix A.1). This 2D surface of initial conditions of the Hamiltonian system is called a Lagrangian manifold Littlejohn1992 . Along the way, one keeps track of the accumulated action R(x,θ,x0,θ0,t)R(x,\theta,x_{0},\theta_{0},t) along each trajectory (Eqs. (57) and(60)). For Hamiltonian (33), the accumulated action is

R(x,θ,x0,θ0,t)=120t[γpx(τ)2+pθ(τ)2]dτ,R(x,\theta,x_{0},\theta_{0},t)=\frac{1}{2}\int_{0}^{t}\left[\gamma p_{x}(\tau)^{2}+p_{\theta}(\tau)^{2}\right]{\rm d}\tau, (35)

where the integral is along the trajectory connecting (x0,θ0)(x_{0},\theta_{0}) to (x,θ)(x,\theta) in time tt. In the case of the propagator initial condition, the function WW of the semiclassical probability density (5) is simply equal to the accumulated action, W(x,θ,t)=R(x,θ,x0,θ0,t)W(x,\theta,t)=R(x,\theta,x_{0},\theta_{0},t). The exponential dependence of the semiclassical probability density on WW makes the probability density peaked around the local minima and valleys of WW. The Hamiltonian trajectories reaching these minima or valleys can be thought of as prototypical noisy trajectories.

For example, we consider swimmers exiting right from (x0,θ0)=(0.5,2)(x_{0},\theta_{0})=(0.5,2), as shown in Fig. 8. For this initial condition, a deterministic swimmer would exit left, because it is to the left of the SwIM. Noise allows some of the swimmers to cross over the SwIM and exit right, as illustrated by the two sample trajectories selected from a Monte Carlo simulation in Fig. 8. We selected one trajectory that hits x=1x=1 at t1t\approx 1, and a second trajectory that hits at t2t\approx 2; aside from these prescribed hitting times, the trajectories were selected at random. We can calculate the trajectories of the system with Hamiltonian (33) which hit x=1x=1 at those same times. There are infinitely many, each hitting with a different final θ\theta. Out of this set of trajectories, we find the ones which minimize the action at x=1x=1, equivalent to the condition

W(1,θ,t)θ=0=pθ(t),\frac{\partial W(1,\theta,t)}{\partial\theta}=0=p_{\theta}(t), (36)

where the last equality follows from Eq. (54). In other words, for a given tt, the minimum-action trajectory is the one which hits x=1x=1 with pθ(t)=0p_{\theta}(t)=0. Equation (36) is the condition for a valley of W(x,θ,t)W(x,\theta,t) because it is a local minimum of WW with xx (and tt) held fixed. The minimum-action trajectories corresponding to the two noisy trajectories are plotted as the dotted curves in Fig. 8.

The resemblance between the noisy paths and the minimum-action paths in Fig. 8 demonstrates the power of the semiclassical approximation to the Fokker-Planck equation. The deterministic trajectories underlying the semiclassical approximation predict the paths taken by the noisy system satisfying specific boundary conditions—in this case going from (x0,θ0)(x_{0},\theta_{0}) at t=0t=0 to x=1x=1 at specified times tt. In the asymptotic ε0\varepsilon\rightarrow 0 limit, the probability density becomes increasingly concentrated along the minimum-action paths. However, for any finite ε\varepsilon, the probability density has a finite width around these minimum-action paths, so any actual noisy trajectory will deviate from the minimum-action path, as seen in Fig. 8. The minimum-action paths are thus prototypical noisy paths with given boundary conditions, in the sense that they are the peak of the distribution of noisy trajectories satisfying those boundary conditions. Furthermore, by taking into account the full set of trajectories of Hamiltonian (33) satisfying the boundary conditions (i.e. not only those in the valley of the action), one can construct the full probability distribution of trajectories satisfying the boundary conditions. This requires computing additional quantities along the Hamiltonian trajectories that are needed to evaluate the probability density prefactor AA in Eq. (5) (see Eq. (73) and Eq. (80) for explicit expressions and Table 1).

Variable Meaning Appendix references
AA prefactor of probability density (5) Eqs. (62) and (91)
𝐪{\bf q} 𝐪=(x,θ)=𝐪(𝐳,t){\bf q}=(x,\theta)={\bf q}({\bf z}^{\prime},t), projection of Lagrangian manifold into configuration space, as a function of initial Lagrangian manifold coordinate 𝐳=(px0,θ0){\bf z}^{\prime}=(p_{x0},\theta_{0}) and time Eq. (66a), A.4.2
𝐪/𝐳\partial{\bf q}/\partial{\bf z}^{\prime} Jacobian matrix of the projection 𝐪(𝐳,t){\bf q}({\bf z}^{\prime},t) Eqs. (67a), (68)
0t𝐟dτ\int_{0}^{t}\nabla\cdot{\bf f}{\rm d}\tau 𝐟=12αcos(2θ)\nabla\cdot{\bf f}=1-2\alpha\cos(2\theta) for the xθx\theta dynamics in the hyperbolic flow; integral performed along the Hamiltonian trajectory A.2
Table 1: Summary of key quantities that appear in the formulas for the semiclassical probability density.

Next, we turn to the semiclassical calculation of Pr(x0)\Pr(x_{0}), given that the swimmer’s initial orientation θ0\theta_{0} is distributed according to Eq. (13) as in Sec. V.1. This requires the solution of the Fokker-Planck equation (43) for P(x,θ,t)P(x,\theta,t) with initial condition

P0(x,θ)=δ(xx0)[2πI0(αε)]1exp[αcos2θε].P_{0}(x,\theta)=\delta(x-x_{0})\left[2\pi I_{0}\left(\frac{\alpha}{\varepsilon}\right)\right]^{-1}\exp\left[\frac{\alpha\cos 2\theta}{\varepsilon}\right]. (37)

This is a hybrid propagator-WKB initial condition of the form (50), where, in the notation of Appendix A, A0=[2πI0(αε)]1A_{0}=\left[2\pi I_{0}\left(\frac{\alpha}{\varepsilon}\right)\right]^{-1} and U(θ)=αcos2θU(\theta)=-\alpha\cos 2\theta. We use the semiclassical probability density (93) to evaluate Eq. (32). This means that for each x0x_{0}, we must integrate over all Hamiltonian paths which hit x=1x=1, with initial conditions on the Lagrangian manifold

{(x0,θ0,px0,pθ0)|θ0,px0,pθ0such thatpθ0=Uθ(θ0)}.\left\{(x_{0},\theta_{0},p_{x0},p_{\theta 0})\,\,\bigg{|}\,\,\forall\,\,\theta_{0},\,p_{x0},\,p_{\theta 0}\,\,\,\text{such that}\,\,\,p_{\theta 0}=\frac{\partial U}{\partial\theta}(\theta_{0})\right\}. (38)

Therefore, the initial Lagrangian manifold may be parametrized by the coordinates 𝐳=(px0,θ0){\bf z}^{\prime}=(p_{x0},\theta_{0}). The probability current integral Eq. (32) becomes

Pr(x0)\displaystyle\Pr(x_{0}) =12πε[2πI0(αε)]10dtx=1dθ[1+cosθ+γ2px12εγx(lnA(1,θ,t))]×\displaystyle=\frac{1}{\sqrt{2\pi\varepsilon}}\left[2\pi I_{0}\left(\frac{\alpha}{\varepsilon}\right)\right]^{-1}\int_{0}^{\infty}{\rm d}t\int_{x=1}{\rm d}\theta\left[1+\cos\theta+\frac{\gamma}{2}p_{x}-\frac{1}{2}\varepsilon\gamma\frac{\partial}{\partial x}(\ln A(1,\theta,t))\right]\times
|det𝐪𝐳|1/2exp[(U(θ0)+R(1,θ,x0,θ0,t))ε120t𝐟dτ],\displaystyle\left|\det\frac{\partial{\bf q}}{\partial{\bf z}^{\prime}}\right|^{-1/2}\exp\left[-\frac{(U(\theta_{0})+R(1,\theta,x_{0},\theta_{0},t))}{\varepsilon}-\frac{1}{2}\int_{0}^{t}\nabla\cdot{\bf f}{\rm d}\tau\right], (39)

where AA is given by Eq. (91) and RR is given by Eq. (35). Equation (39) must be integrated over the set of θ\theta and tt values at which the trajectories of Hamiltonian (33) hit x=1x=1. The meaning of the new variables introduced in Eq. (39), along with references to the appendix, is summarized in Table 1.

Refer to caption
Figure 9: Integration domain for Eq. (41) for x0x_{0} = 0.5. The quantity px0p_{x0} is the initial condition of the canonically conjugate momentum to xx, and θ0\theta_{0} is the initial orientation of the swimmer. The initial conditions in the black region eventually hit x=1x=1, and hence Eq. (41) is integrated over the black region only. Initial conditions in the white region hit x=1x=-1 instead.

We make some modifications to Eq. (39) before evaluating it numerically. The integral over final coordinates (θ,t)(\theta,t) can be converted to an integral over the initial coordinates of the Lagrangian manifold (px0,θ0)(p_{x0},\theta_{0}) using the Jacobian determinant

dθdt=|det(𝐪𝐳)Fx+γpx|dpx0dθ0=|det(𝐪𝐳)x+cosθ+γpx|dpx0dθ0.{\rm d}\theta{\rm d}t=\left|\frac{\det(\frac{\partial{\bf q}}{\partial{\bf z}^{\prime}})}{F_{x}+\gamma p_{x}}\right|{\rm d}p_{x0}{\rm d}\theta_{0}=\left|\frac{\det(\frac{\partial{\bf q}}{\partial{\bf z}^{\prime}})}{x+\cos\theta+\gamma p_{x}}\right|{\rm d}p_{x0}{\rm d}\theta_{0}. (40)

This converts Eq. (39) into an initial value representation Heller1991 ; Miller1991 . We also neglect the (lnA)/x\partial(\ln A)/\partial x term at the end of the first line of Eq. (39), because it is of order ε\varepsilon relative to the other terms. This means it is of higher order in ε\varepsilon than we account for in our asymptotic expression Eq. (5) (see also Eq. (44)), and thus it may be neglected within the framework of the semiclassical approximation. We must also truncate the range of px0p_{x0} for numerical evaluation, so we take |px0|<pmax|p_{x0}|<p_{\max}. Lastly, Eq. (39) is even in θ0\theta_{0} by symmetry, so we can restrict the domain θ0[0,π]\theta_{0}\in[0,\pi] and double the result. Hence, the final expression that we evaluate numerically is

Pr(x0)\displaystyle\Pr(x_{0}) 22πε[2πI0(αε)]1pmaxpmaxdpx00πdθ01+cosθ+γ2px|1+cosθ+γpx|×\displaystyle\approx\frac{2}{\sqrt{2\pi\varepsilon}}\left[2\pi I_{0}\left(\frac{\alpha}{\varepsilon}\right)\right]^{-1}\int_{-p_{\max}}^{p_{\max}}{\rm d}p_{x0}\int_{0}^{\pi}{\rm d}\theta_{0}\,\frac{1+\cos\theta+\frac{\gamma}{2}p_{x}}{|1+\cos\theta+\gamma p_{x}|}\times
|det𝐪𝐳|1/2exp[(U(θ0)+R(1,θ,x0,θ0,t))ε120t𝐟dτ].\displaystyle\left|\det\frac{\partial{\bf q}}{\partial{\bf z}^{\prime}}\right|^{1/2}\exp\left[-\frac{(U(\theta_{0})+R(1,\theta,x_{0},\theta_{0},t))}{\varepsilon}-\frac{1}{2}\int_{0}^{t}\nabla\cdot{\bf f}{\rm d}\tau\right]. (41)

The domain for the integral (41) is the set of initial conditions (px0,θ0)(p_{x0},\theta_{0}) that eventually exit right, i.e. those initial conditions that reach x=1x=1 at some time tt. Figure 9 shows an example integration domain for x0=0.5x_{0}=0.5.

Refer to caption
Figure 10: Comparison of Monte Carlo and semiclassical calculations of Pr(x0)\Pr(x_{0}), for α=1\alpha=1, γ=0.1\gamma=0.1, and λ=0\lambda=0. The solid lines are the semiclassical predictions, while markers are the Monte Carlo calculations. ε=0.1()\varepsilon=0.1\,\,(\bigcirc), ε=0.3()\varepsilon=0.3\,\,(\ast), ε=0.5(×)\varepsilon=0.5\,\,(\times), ε=0.7()\varepsilon=0.7\,\,(\diamond), and ε=0.9()\varepsilon=0.9\,\,(\bigtriangledown).

We evaluate Eq. (41) numerically using the trapezoidal rule. For each x0x_{0}, we discretize the set of initial conditions (px0,θ0)(p_{x0},\theta_{0}) on the Lagrangian manifold (38) with a uniform grid. We numerically integrate each trajectory until it hits x=1x=1, up to a maximum integration time of t=6t=6, consistent with the corresponding Monte Carlo calculations in Fig. 7a. We simultaneously calculate the accumulated action RR (Eq. (35)), the integral 𝐟dτ\int\nabla\cdot{\bf f}{\rm d}\tau, and the Jacobian matrix 𝐪/𝐳\partial{\bf q}/\partial{\bf z}^{\prime}. This last step requires integrating the tangent flow along the trajectories (Eq. (68)). The integral (41) is then evaluated for a given ε\varepsilon by summing over all the trajectories that hit x=1x=1, with all of the quantities in the integrand evaluated at that moment. Note that once the set of trajectories and all auxiliary quantities are obtained for a given x0x_{0}, Eq. (41) can be evaluated for an arbitrary ε\varepsilon. This represents one of the chief advantages of the semiclassical approximation. We take pmax=60p_{\max}=60. Including higher values of px0p_{x0} has a negligible effect on the results, because trajectories with larger pxp_{x} have a larger accumulated action RR (Eq. (35)) and thus are exponentially suppressed in Eq. (41). Using this approach, we calculate Pr(x0)\Pr(x_{0}) for a discrete set of values x0[0,1)x_{0}\in[0,1), and we use the symmetry (24) to get Pr(x0)\Pr(x_{0}) for x0(1,0)x_{0}\in(-1,0). The results are plotted in Fig. 10.

V.3 Discussion

For |x0||x_{0}| near 11, we see in Fig. 10 an excellent agreement between the semiclassical predictions for Pr(x0)\Pr(x_{0}) and the Monte Carlo simulations. As ε\varepsilon increases from 0.10.1 to 0.90.9, we see the semiclassical predictions overlap with the Monte Carlo simulations for x0x_{0} near the BIMs. This is particularly impressive, because in addition to the small-ε\varepsilon assumption manifest in the semiclassical model, we have made a couple additional approximations in evaluating Eq. (39). Therefore, by summing over all Hamiltonian trajectories that exit right, weighted appropriately by the semiclassical probability density in Eq. (41), we can accurately calculate exit-right probability Pr(x0)\Pr(x_{0}). The integral (41) includes all trajectories with a given x0x_{0} that exit right, including those which begin to the right side of the SwIM (Fig. 3a) and would have exited right even without noise, as well as those which begin on the left side of the SwIM and cross it due to fluctuations (Fig. 8).

As |x0||x_{0}| gets closer to 0, however, the semiclassical predictions begin to deviate from the Monte Carlo calculations with increasing ε\varepsilon. In particular, Eq. (24) requires that Pr(0)=0.5\Pr(0)=0.5, that is, a swimmer starting in the middle of the flow has an equal probability of going left or right. While the semiclassical prediction appears consistent with this property for ε=0.1\varepsilon=0.1, as ε\varepsilon increases further, we see the semiclassical Pr(0)\Pr(0) increase above 0.50.5 in the inset of Fig. 10. This fact, combined with our use of Eq. (24) to obtain the semiclassical Pr(x0)\Pr(x_{0}) for x0<0x_{0}<0, causes the apparent kink at x0=0x_{0}=0 in our semiclassical predictions plotted in Fig. 10.

Refer to caption
Figure 11: Fraction of trajectories used in the semiclassical calculation that pass through at least one caustic before hitting x=1x=1.

We believe that at least part of the discrepancy between the semiclassical Pr(x0)\Pr(x_{0}) and the Monte Carlo calculations for x0x_{0} close to 0 is due to the presence of caustics, a technical issue that we have ignored until now. Our semiclassical approximation assumes the uniqueness of Hamiltonian trajectories that originate on the initial Lagrangian manifold and go from (x0,θ0)(x_{0},\theta_{0}) to (x,θ)(x,\theta) in time tt. This means, for example, that when evaluating the accumulated action R(x,θ,x0,θ0,t)R(x,\theta,x_{0},\theta_{0},t) in Eq. (35), there is a unique such trajectory. The uniqueness is the critical property that makes RR a well-defined function. However, uniqueness is guaranteed only for sufficiently short times, meaning that once tt is sufficiently large, there will be multiple Hamiltonian trajectories connecting the two points. In this case, RR becomes multi-valued ArnoldCM . Geometrically, the uniqueness breaks down when the evolving Lagrangian manifold develops fold singularities, such that when it is projected into 𝐪{\bf q} space, parts of the projection overlap with each other. These overlap regions are the regions where multiple Hamiltonian trajectories can arrive at a single point. In the context of the semiclassical approximation in quantum mechanics, these fold singularities are called caustics, and they have been extensively studied (see Littlejohn1992 and references therein). The formulas for the semiclassical wave function need to be corrected to account for the occurrence of caustics through the inclusion of a Maslov index, a phase factor that essentially counts the number of caustics encountered by each trajectory.

We know of no general prescription for dealing with caustics in the semiclassical approximation to the Fokker-Planck equation, even though they commonly occur. Previously, caustics have been investigated in the semiclassical formulation of the noise-driven dynamics of a nonlinear oscillator in two dimensions Dykman1994a . When calculating the steady-state probability density of this system, one must account for switching lines in phase space, i.e. curves on either side of which the least-action path changes discontinuously due to the presence of multiple Hamiltonian trajectories arriving at those locations. Near the switching line, where the distinct paths with coincident endpoints have nearly the same action, the semiclassical probability density needs to account for each of the distinct paths; in fact, the signature of multiple paths leading to the same point in phase space has been observed experimentally in a noisy electronic oscillator Dykman1996 . Caustics also arise in the theoretical description of noise-induced transitions in non-gradient dynamical systems with metastable fixed points Maier1992 ; Maier1996 . Specifically, the quasi-stationary probability densities underlying escape from the metastable fixed points may be approximated semiclassically, though one must go beyond the standard WKB approximation in the vicinity of the caustics. It is not obvious how to generalize these previously obtained results to the noisy dynamics of the swimmer in the hyperbolic flow, because the swimmer phase space does not possess stable fixed points and is fundamentally transient, i.e. time-dependent.

Such a generalization is needed because caustics do indeed occur in the dynamics of noisy swimmers in the hyperbolic flow. To demonstrate this, we track the number of caustics encountered by the trajectories underlying our semiclassical calculation of Pr(x0)\Pr(x_{0}) up until the point that they hit x=1x=1. At points where caustics occur, the projection from the Largrangian manifold into 𝐪{\bf q} space is not invertible, meaning the Jacobian determinant det𝐪/𝐳\det\partial{\bf q}/\partial{\bf z}^{\prime} must be zero at that point. Thus, we count the number of caustics encountered along a trajectory by tracking zero-crossings of det𝐪/𝐳\det\partial{\bf q}/\partial{\bf z}^{\prime}. In Fig. 11, we plot the fraction of trajectories used in our numerical semiclassical approximation that encounter at least one caustic on the way to x=1x=1. While the fraction of caustic-crossing trajectories is around 6%6\% or smaller for x0>0.5x_{0}>0.5, it rapidly rises to nearly 15%15\% as x0x_{0} decreases from 0.50.5 to 0. This trend is reasonable, because caustics only begin to occur after a sufficiently long time. Trajectories beginning closer to x=1x=1 will tend to reach it sooner, potentially before many caustics have occurred. At the same time, in the x0>0.5x_{0}>0.5 range, we see good agreement between the semiclassical and Monte Carlo calculations in Fig. 10, while in the x0<0.5x_{0}<0.5 range we observe a discrepancy with increasing ε\varepsilon. This correlation is evidence that the semiclassical approximation works well when few trajectories have encountered caustics, while a discrepancy can be caused by improper treatment of the caustics, which is important when considering sufficiently long-time processes.

VI Conclusion

To summarize, we have quantified the effect of noise on swimmer dynamics in a steady, two-dimensional hyperbolic fluid flow. In such a flow, swimmers are ultimately forced to escape to the left or the right, with their transient dynamics near the passive unstable fixed point determining which way they go. Without noise, a swimmer’s fate is sealed based on its position relative to the SwIM in the xθx\theta phase space. With noise, the swimmer’s motion is a stochastic process. We calculated the steady-state orientation distributions of diffusive, run-and-tumble, or mixed swimmers in the hyperbolic flow. The fluctuations give some swimmers greater opportunity to cross the SwIM and exit on the opposite side than they would have without noise. There is however a maximal distance that swimmers can get on either side of the passive fixed point and still be able to swim back to the other side—this is where the stable BIMs block inward swimming particles.

Fluctuations make it increasingly likely that a swimmer close to one of these BIMs does indeed end up crossing it, causing irreversible changes to the fluctuating swimmers’ trajectories (assuming negligible translational diffusion). We quantified this probability using Monte Carlo calculations and a semiclassical approximation to the swimmer Fokker-Planck equation. The semiclassical approximation accurately predicts the probability Pr(x0)\Pr(x_{0}) a swimmer exits right given that it began at a position x0x_{0} relative to the passive fixed point, especially for x0x_{0} close to the BIM. It also predicts the probability distribution of paths that fluctuating swimmers take in phase space given specified boundary conditions. SwIMs and BIMs are present in nonlinear flows as well, such as alternating vortex flows Berman2021a . Thus, we expect the depletion effect to occur in the vicinity of the BIMs of such flows as well.

This study demonstrates the utility of the semiclassical approximation for understanding the noisy dynamics of a non-trivial active matter system. However, it also reveals a key shortcoming of the existing semiclassical theory for Fokker-Planck dynamics. In particular, a general approach is needed for taking into account the occurence of caustics, i.e. multiple branches of Hamiltonian paths connecting points in configuration space. While this issue has been examined in a few specific cases Dykman1994a ; Dykman1996 ; Maier1992 ; Maier1996 , no general theory is currently available to the best of our knowledge. A procedure for coherently summing the contributions of multiple paths, similar to the Maslov theory in quantum mechanics Littlejohn1992 ; Maslov1981 , would be highly desirable, both for accurate numerical computations and for the theoretical analysis of most-likely noisy paths of a dynamical system.

Finally, the semiclassical approximation may be a valuable tool for analyzing experimental data of noisy swimmers in fluid flows. For example, with a sufficiently large number of experimentally-recorded trajectories of the type shown in Fig. 1, it would be possible to test the semiclassical predictions of the exit-right probability Pr(x0)\Pr(x_{0}). It should also be possible to investigate the distribution of experimentally-measured trajectories satisfying specific boundary conditions Dykman1994a ; Gladrow2021 . The semiclassically-predicted distributions may be used to fit the experimental data in order to extract physical parameters, such as rotational diffusivity and swimmer shape Junot2021 .

Acknowledgments

We thank Tom Solomon for stimulating discussions. This material is based upon work supported by the National Science Foundation under Grant No. CMMI-1825379.

Appendix A Semiclassical approximation for the Fokker-Planck equation

We consider the stochastic process in a dd-dimensional phase space

d𝐪=[𝐅(𝐪)+ε𝐆(𝐪)]dt+ε𝖢d𝐰\displaystyle{\rm d}{\bf q}=\left[{\bf F}({\bf q})+\varepsilon{\bf G}({\bf q})\right]{\rm d}t+\sqrt{\varepsilon}\mathsf{C}{\rm d}{\bf w} (42)

where 𝐰=(w1,w2,,wn){\bf w}=(w_{1},w_{2},\ldots,w_{n}) is a set of uncorrelated Wiener processes and 𝖢\mathsf{C} is a d×nd\times n matrix, assumed to be constant for simplicity. The 𝐆{\bf G} term is included in Eq. (42) to account for potential noise-induced drift Gaspard2002 . The corresponding Fokker-Planck equation for the probability density P(𝐪,t)P({\bf q},t) is

Pt=[(𝐅+ε𝐆)P]+12ε𝖣:2P𝐪2,\frac{\partial P}{\partial t}=-\nabla\cdot\left[({\bf F}+\varepsilon{\bf G})P\right]+\frac{1}{2}\varepsilon\mathsf{D}:\frac{\partial^{2}P}{\partial{\bf q}^{2}}, (43)

where 𝖣=𝖢𝖢T\mathsf{D}=\mathsf{C}\mathsf{C}^{\rm T} is the diffusion tensor (up to a factor of 22). The diffusion tensor is required to be positive-definite.

Our goal is to find an approximate solution to Eq. (43) in the weak-noise (ε1\varepsilon\ll 1) limit. We use an approach closely related to the semiclassical approximation of quantum mechanics Littlejohn1992 , and our derivation closely follows Ref. Gaspard2002 . Similar techniques have been applied to stochastic dynamics in a variety of settings Graham1984 ; Freidlin2012 ; Nolting2016 ; Bonnemain2019 ; Dykman1994a ; Dykman1996 ; Maier1992 ; Maier1996 . We consider an asymptotic expansion of the solution

P(𝐪,t)exp[n=0N1Sn(𝐪,t)εn1],P({\bf q},t)\approx\exp\left[-\sum_{n=0}^{N-1}S_{n}({\bf q},t)\varepsilon^{n-1}\right], (44)

where NN is the maximum number of terms in the expansion and the SnS_{n} are functions to be determined. We restrict our attention to N=2N=2 and rewrite the solution as

P(𝐪,t)A(𝐪,t)eW(𝐪,t)/ε,P({\bf q},t)\approx A({\bf q},t)e^{-W({\bf q},t)/\varepsilon}, (45)

where W=S0W=S_{0} and A=eS1A=e^{-S_{1}}. Equation (45) constitutes a WKB approximation to Eq. (43). It is in the same spirit as the semiclassical approximation to the Schrödinger equation; with the substitution εi\varepsilon\rightarrow i\hbar, the semiclassical wave function is expressed as ψ=AeiW/\psi=Ae^{iW/\hbar}. In that case, WW is the action of the classical system associated to the quantum Hamiltonian, and A2=|ψ|2A^{2}=|\psi|^{2} is the probability density of the system. In the Fokker-Planck case, we shall see that WW also corresponds to the action of a particular classical Hamiltonian derived from the Fokker-Planck equation, while AA is essentially a normalization function.

The functions AA and WW (equivalently the SnS_{n}) are determined by substituting Eq. (44) into Eq. (43). This yields the equation

n=0N1Sntεn=\displaystyle-\sum_{n=0}^{N-1}\frac{\partial S_{n}}{\partial t}\varepsilon^{n}= (𝐅)ε+𝐅n=0N1Snεn(𝐆)ε2+𝐆n=0N1Snεn+1\displaystyle-\left(\nabla\cdot{\bf F}\right)\varepsilon+{\bf F}\cdot\sum_{n=0}^{N-1}\nabla S_{n}\varepsilon^{n}-\left(\nabla\cdot{\bf G}\right)\varepsilon^{2}+{\bf G}\cdot\sum_{n=0}^{N-1}\nabla S_{n}\varepsilon^{n+1}
+12[n=0N1𝖣:2Sn𝐪2εn+1+n,m=0N1Sm𝖣Snεn+m].\displaystyle+\frac{1}{2}\left[-\sum_{n=0}^{N-1}\mathsf{D}:\frac{\partial^{2}S_{n}}{\partial{\bf q}^{2}}\varepsilon^{n+1}+\sum_{n,m=0}^{N-1}\nabla S_{m}\cdot\mathsf{D}\nabla S_{n}\varepsilon^{n+m}\right]. (46)

The goal is to equate terms of equal order in ε\varepsilon in Eq. (A), which leads to equations for the SnS_{n}. We are only interested in the ε0\varepsilon^{0} and the ε1\varepsilon^{1} terms.

The solutions to Eq. (A) depend on the initial condition P0(𝐪)P(𝐪,0)P_{0}({\bf q})\equiv P({\bf q},0). We derive the solutions for three types of initial conditions. The first is a Dirac δ\delta function centered on an arbitrary phase-space point 𝐪0{\bf q}_{0}, where we use the ``0"``0" subscript to refer to an initial condition fixed at some particular value. In this case, the solution is denoted P=K(𝐪,𝐪0,t)P=K({\bf q},{\bf q}_{0},t), where KK is called the propagator, with initial condition

K(𝐪,𝐪0,0)=δ(𝐪𝐪0).K({\bf q},{\bf q}_{0},0)=\delta({\bf q}-{\bf q}_{0}).\\ (47)

The propagator encodes the probability for the system to make a transition from 𝐪0{\bf q}_{0} to 𝐪{\bf q} in time tt. This fact, combined with the linearity of the Fokker-Planck equation, allows its solution with any initial probability distribution P0P_{0} to be written as

P(𝐪,t)=K(𝐪,𝐪0,t)P0(𝐪0)dd𝐪0.P({\bf q},t)=\int K({\bf q},{\bf q}_{0},t)P_{0}({\bf q}_{0}){\rm d}^{d}{\bf q}_{0}. (48)

However, evaluating Eq. (48) in practice is very computationally costly, which leads us to consider initial conditions which vary smoothly over some or all of the 𝐪{\bf q} coordinates. In particular, we consider an initial condition already in WKB form (45) Bonnemain2019 , i.e.

P0(𝐪)=A0(𝐪)eW0(𝐪)/ε.P_{0}({\bf q})=A_{0}({\bf q})e^{-W_{0}({\bf q})/\varepsilon}. (49)

Last, we consider initial conditions that are a hybrid between the WKB form (49) and the propagator form (47), of the type

P0(𝐪,𝐪f0)=δ(𝐪f𝐪f0)A0(𝐪k)eU(𝐪k)/ε.P_{0}({\bf q},{\bf q}_{f0})=\delta({\bf q}_{f}-{\bf q}_{f0})A_{0}({\bf q}_{k})e^{-U({\bf q}_{k})/\varepsilon}. (50)

Here, the variables are split into two groups, 𝐪=(𝐪f,𝐪k){\bf q}=({\bf q}_{f},{\bf q}_{k}), where the 𝐪f{\bf q}_{f} variables are fixed at a specific value 𝐪f0{\bf q}_{f0} at t=0t=0 by the δ\delta function in Eq. (50), while the 𝐪k{\bf q}_{k} variables are distributed according to the WKB part of Eq. (50). We are able to solve for WW and AA for this hybrid initial condition in the special case that 𝖣\mathsf{D} is block-diagonal, with one block corresponding to the 𝐪f{\bf q}_{f} variables and the other to the 𝐪k{\bf q}_{k} variables, i.e.

𝖣=(𝖣f𝟎df×dk𝟎dk×df𝖣k),\mathsf{D}=\begin{pmatrix}\mathsf{D}_{f}&{\bf 0}_{d_{f}\times d_{k}}\\ {\bf 0}_{d_{k}\times d_{f}}&\mathsf{D}_{k}\end{pmatrix}, (51)

where dfd_{f} is the size of 𝐪f{\bf q}_{f} and dkd_{k} is the size of 𝐪k{\bf q}_{k}. The equations satisfied by WW and AA in Eq. (45) are the same in each of the three cases, but the solutions must be selected such that the initial condition is satisfied. In Secs. A.1A.3, we derive the solutions for the propagator initial condition (47), and in Sec. A.4, we derive the solutions for the WKB and hybrid initial conditions.

A.1 Hamilton-Jacobi equation

From the zeroth order of Eq. (A), we find WW satisfies

Wt\displaystyle\frac{\partial W}{\partial t} =H(𝐪,W),\displaystyle=-H\left({\bf q},\nabla W\right), (52)
H(𝐪,𝐩)\displaystyle H({\bf q},{\bf p}) =12𝐩𝖣𝐩+𝐩𝐅(𝐪).\displaystyle=\frac{1}{2}{\bf p}\cdot\mathsf{D}{\bf p}+{\bf p}\cdot{\bf F}({\bf q}). (53)

Equation (52) is the Hamilton-Jacobi equation for a Hamiltonian system in a phase space of doubled dimension 2d2d, with coordinates (𝐪,𝐩)({\bf q},{\bf p}) and Hamiltonian HH given by Eq. (53). Here, 𝐪{\bf q} is the coordinate of the original stochastic dynamical system (42), and 𝐩{\bf p} is the momentum canonically conjugate to 𝐪{\bf q}. The solution of Eq. (52) is obtained by using the method of characteristics, which aims to find solutions of the form W(𝐪(t),t)W({\bf q}(t),t) along particular paths (the characteristics) 𝐪(t){\bf q}(t). For the case of Eq. (52), the characteristics turn out to be the projections of trajectories (𝐪(t),𝐩(t))({\bf q}(t),{\bf p}(t)) of the Hamiltonian system into configuration space. The relationship between the canonical momentum and WW is

𝐩=W(𝐪,t).{\bf p}=\nabla W({\bf q},t). (54)

The characteristics obey the equations

𝐪˙\displaystyle\dot{{\bf q}} =H𝐩=𝐅(𝐪)+𝖣𝐩,\displaystyle=\frac{\partial H}{\partial{\bf p}}={\bf F}({\bf q})+\mathsf{D}{\bf p}, (55)
𝐩˙\displaystyle\dot{{\bf p}} =H𝐪=𝐅𝐪𝐩,\displaystyle=-\frac{\partial H}{\partial{\bf q}}=-\frac{\partial{\bf F}}{\partial{\bf q}}{\bf p}, (56)
W˙\displaystyle\dot{W} =𝐩𝐪˙H(𝐪,𝐩)=12𝐩𝖣𝐩.\displaystyle={\bf p}\cdot\dot{{\bf q}}-H({\bf q},{\bf p})=\frac{1}{2}{\bf p}\cdot\mathsf{D}{\bf p}. (57)

The overdots signify the total time-derivative d/dt{\rm d}/{\rm d}t along the characteristics 𝐪(t){\bf q}(t). In particular, W˙(𝐪(t),t)=W/t+𝐪˙W/𝐪\dot{W}({\bf q}(t),t)=\partial W/\partial t+\dot{{\bf q}}\cdot\partial W/\partial{\bf q}. Equations (55) and (56) are Hamilton’s equations, while Eq. (57) is the differential equation satisfied by the classical action.

The Hamiltonian system Eq. (55) and (56) stems from a variational principle, which sheds light on the physical meaning of the approximation (44). We define the action functional as the time integral of (57) for arbitrary functions of time (𝐪(τ),𝐩(τ))({\bf q}(\tau),{\bf p}(\tau)),

[𝐪(τ),𝐩(τ)]=0t[𝐩𝐪˙H(𝐪,𝐩)]dτ.\mathcal{I}[{\bf q}(\tau),{\bf p}(\tau)]=\int_{0}^{t}\left[{\bf p}\cdot\dot{{\bf q}}-H({\bf q},{\bf p})\right]{\rm d}\tau. (58)

The critical points of this action functional are derived from the Euler-Lagrange equations of (58), which yield directly Eqs. (55) and (56). Therefore, WW is simply the value of the action functional \mathcal{I} evaluated at its critical points, up to an additive constant. The phase-space action functional (58) can be converted into a configuration space action functional, by going from the Hamiltonian formulation to the Lagrangian formulation. Assuming 𝖣\mathsf{D} is positive-definite and thus invertible, Eq. (55) can be solved for 𝐩{\bf p}, yielding 𝐩=𝖣1[𝐪˙𝐅(𝐪)]{\bf p}=\mathsf{D}^{-1}[\dot{{\bf q}}-{\bf F}({\bf q})]. Using the second equality of Eq. (57), we can now eliminate 𝐩{\bf p} from Eq. (58), yielding the configuration space action

~[𝐪(τ)]=120t(𝐪˙𝐅(𝐪))𝖣1(𝐪˙𝐅(𝐪))dτ.\widetilde{\mathcal{I}}[{\bf q}(\tau)]=\frac{1}{2}\int_{0}^{t}\left(\dot{{\bf q}}-{\bf F}({\bf q})\right)\cdot\mathsf{D}^{-1}\left(\dot{{\bf q}}-{\bf F}({\bf q})\right){\rm d}\tau. (59)

Equation (59) is alternately known as the Onsager-Machlup action functional Onsager1953a or the Freidlin-Wentzell action functional Freidlin2012 . Because 𝖣\mathsf{D} is positive-definite, ~0\widetilde{\mathcal{I}}\geq 0, with equality only achieved along the deterministic trajectories satisfying 𝐪˙=𝐅(𝐪)\dot{{\bf q}}={\bf F}({\bf q}). Hence, ~\widetilde{\mathcal{I}} is like a cost functional which penalizes deviations from the deterministic trajectories. In the case of the propagator initial condition (47), the subsequent probability density (45) is peaked along the deterministic trajectory, and deviations away from the trajectory due to noise are exponentially suppressed. Furthermore, we can now see that the approximation implied by Eq. (45) is that only the critical points of the functional (59) contribute to the probability density; all other paths 𝐪(τ){\bf q}(\tau) are discarded in this approximation. This formulation also highlights the link with the path-integral formulation of the Fokker-Planck equation Langouche1978 ; Langouche1982 .

A useful concept for understanding the time evolution of the semiclassical probability density (45) is the Lagrangian manifold Littlejohn1992 . According to Eqs. (55)–(57), the action W(𝐪,t)W({\bf q},t) is expressed in terms of families of solutions of a Hamiltonian system that, at any instant of time, lie on the dd-dimensional surface in phase space defined by Eq. (54). Equation (54) defines a surface which is a Lagrangian manifold, i.e. a surface in phase space on which the symplectic 22-form vanishes (for more details, see Littlejohn1992 ). The time-evolution of WW (and AA, as shown in Sec. A.2) is thus directly obtained from the time evolution of a properly selected initial Lagrangian manifold under the Hamiltonian flow. The initial Lagrangian manifold, i.e. a dd-dimensional surface in phase space containing the initial conditions (𝐪,𝐩)({\bf q}^{\prime},{\bf p}^{\prime}), must be selected so that the initial condition is satisfied, i.e. limt0A(𝐪,t)exp[W(𝐪,t)/ε]=P0(𝐪)\lim_{t\rightarrow 0}A({\bf q},t)\exp[-W({\bf q},t)/\varepsilon]=P_{0}({\bf q}). We use primed variables to refer to the space of initial conditions. Though Eq. (54) explicitly gives the relationship between WW and the Lagrangian manifold for times t0t\neq 0, it is ill-defined for any P0(𝐪)P_{0}({\bf q}) for which WW is singular in the t0t\rightarrow 0 limit. This occurs when the projection of the initial Lagrangian manifold into configuration space is singular, which is the case for the propagator and hybrid initial conditions.

For the propagator initial condition (47), the initial Lagrangian manifold is the phase-space surface 𝐪=𝐪0{\bf q}^{\prime}={\bf q}_{0}. This means the Lagrangian manifold includes all possible initial momenta 𝐩d{\bf p}^{\prime}\in\mathbb{R}^{d}. The projection of this Lagrangian manifold into 𝐪{\bf q} space is singular because all points of the Lagrangian manifold project to the same configuration space point, 𝐪0{\bf q}_{0}. The solution of Eq. (52) in this case is W(𝐪,t)=R(𝐪,𝐪0,t)W({\bf q},t)=R({\bf q},{\bf q}_{0},t), where RR is Hamilton’s principal function, given by

R(𝐪,𝐪0,t)=0t[𝐩(τ)𝐪˙(τ)H(𝐪(τ),𝐩(τ))]dτ,R({\bf q},{\bf q}_{0},t)=\int_{0}^{t}\left[{\bf p}(\tau)\cdot\dot{{\bf q}}(\tau)-H({\bf q}(\tau),{\bf p}(\tau))\right]{\rm d}\tau, (60)

where (𝐪(τ),𝐩(τ))({\bf q}(\tau),{\bf p}(\tau)) is the Hamiltonian path [i.e. solution of Eqs. (55) and (56)] going from 𝐪0{\bf q}_{0} to 𝐪{\bf q} in time tt. Equation (60) clearly follows from Eq. (57). Because this solution is obtained by evolving the surface 𝐪=𝐪0{\bf q}^{\prime}={\bf q}_{0} forward in time, each path has a distinct initial momentum 𝐩0{\bf p}_{0}. In fact, 𝐩0{\bf p}_{0} may be expressed in terms of 𝐪0{\bf q}_{0}, 𝐪{\bf q}, and tt as

𝐩0=R𝐪0(𝐪,𝐪0,t).{\bf p}_{0}=-\frac{\partial R}{\partial{\bf q}_{0}}({\bf q},{\bf q}_{0},t). (61)

To prove it, we consider the change in RR as we make an infinitesimal change to the initial coordinate 𝐪0{\bf q}_{0}, while keeping the final coordinate 𝐪{\bf q} and transit time tt fixed. We get

R(𝐪,𝐪0+δ𝐪0,t)R(𝐪,𝐪0,t)\displaystyle R({\bf q},{\bf q}_{0}+\delta{\bf q}_{0},t)-R({\bf q},{\bf q}_{0},t) 0t[δ𝐩𝐪˙+𝐩δ𝐪˙H𝐪δ𝐪H𝐩δ𝐩]dτ\displaystyle\approx\int_{0}^{t}\left[\delta{\bf p}\cdot\dot{{\bf q}}+{\bf p}\cdot\delta\dot{{\bf q}}-\frac{\partial H}{\partial{\bf q}}\cdot\delta{\bf q}-\frac{\partial H}{\partial{\bf p}}\cdot\delta{\bf p}\right]{\rm d}\tau
=𝐩δ𝐪|0t0t[𝐩˙δ𝐪+H𝐪δ𝐪]dτ\displaystyle={\bf p}\cdot\delta{\bf q}\big{|}_{0}^{t}-\int_{0}^{t}\left[\dot{{\bf p}}\cdot\delta{\bf q}+\frac{\partial H}{\partial{\bf q}}\cdot\delta{\bf q}\right]{\rm d}\tau
=𝐩0δ𝐪0.\displaystyle=-{\bf p}_{0}\cdot\delta{\bf q}_{0}.

In Sec. A.3, we show that Eq. (60) indeed gives a probability density that satisfies the initial condition (47).

All of our arguments make the assumption that there is only one Hamiltonian path going from 𝐪0{\bf q}_{0} to 𝐪{\bf q} in time tt, so that RR is single-valued (for all times t>0t>0). In general, however, at longer times there are multiple paths connecting 𝐪0{\bf q}_{0} and 𝐪{\bf q} in the same time tt, with distinct initial momenta 𝐩0{\bf p}_{0}. Thus, the action becomes multi-valued. This situation also arises in semiclassical quantum mechanics. In that case, the quantum propagator consists of a sum of terms of the form of Eq. (45), one for each branch of solutions, that are stitched together in such a way that the propagator is continuous Littlejohn1992 ; Maslov1981 . We are not aware of a similar procedure for the Fokker-Planck equation. Thus, we continue to assume that there is a unique characteristic for any (𝐪0,𝐪,t)({\bf q}_{0},{\bf q},t) and hence, RR is single-valued.

A.2 Transport equation

Next, we look at the equation arising from the first order terms of Eq. (A). These lead to a transport equation for S1S_{1}, which can be rearranged into a transport equation for AA. This results in

A˙=(𝐅𝐆W+12𝖣:2W𝐪2)A,\dot{A}=-\left(\nabla\cdot{\bf F}-{\bf G}\cdot\nabla W+\frac{1}{2}\mathsf{D}:\frac{\partial^{2}W}{\partial{\bf q}^{2}}\right)A, (62)

where we recall A˙=dA/dt=A/t+𝐪˙A\dot{A}={\rm d}A/{\rm d}t=\partial A/\partial t+\dot{{\bf q}}\cdot\nabla A, with 𝐪˙\dot{{\bf q}} given by Eq. (55). We solve Eq. (62) by integrating along the characteristics 𝐪(t){\bf q}(t) defined be Eqs. (55)–(57). Rearranging, we obtain

d(lnA)dt=12(𝐅+𝖣W)12𝐅+𝐆W.\frac{{\rm d}(\ln A)}{{\rm d}t}=-\frac{1}{2}\nabla\cdot({\bf F}+\mathsf{D}\nabla W)-\frac{1}{2}\nabla\cdot{\bf F}+{\bf G}\cdot\nabla W. (63)

Equation (63) gives the change of AA as one moves along a characteristic path from a point on the initial Lagrangian manifold, with configuration space coordinate 𝐪{\bf q}^{\prime}, to the terminal coordinate 𝐪{\bf q} in time tt. By integration, we obtain

ln(A(𝐪,t)A(𝐪,0))=120t(𝐅+𝖣W)dτ120t𝐅dτ+0t𝐆Wdτ,\ln\left(\frac{A({\bf q},t)}{A({\bf q}^{\prime},0)}\right)=-\frac{1}{2}\int_{0}^{t}\nabla\cdot({\bf F}+\mathsf{D}\nabla W){\rm d}\tau-\frac{1}{2}\int_{0}^{t}\nabla\cdot{\bf F}{\rm d}\tau+\int_{0}^{t}{\bf G}\cdot\nabla W{\rm d}\tau, (64)

where the integration on the right-hand side of Eq. (64) is carried out along the characteristic path. Equation (64) applies to any initial Lagrangian manifold, but it must be handled carefully for initial Lagrangian manifolds with a singular projection, such as the propagator case for which 𝐪=𝐪0{\bf q}^{\prime}={\bf q}_{0}. The propagator initial condition (47) is itself singular at 𝐪=𝐪0{\bf q}^{\prime}={\bf q}_{0}, and it turns out that AA is also singular at this point. We introduce the quantity A0A(𝐪0,0)A_{0}\equiv A({\bf q}_{0},0) as a placeholder for now, and it is properly accounted for in Sec. A.3.

To clarify the first term on the right-hand side of Eq. (64), we introduce the phase space functions (𝐪(𝐳,t),𝐩(𝐳,t))({\bf q}({\bf z}^{\prime},t),{\bf p}({\bf z}^{\prime},t)). The functions (𝐪(𝐳,t),𝐩(𝐳,t))({\bf q}({\bf z}^{\prime},t),{\bf p}({\bf z}^{\prime},t)) express the positions and momenta (𝐪,𝐩)({\bf q},{\bf p}) at time tt of Eqs. (55) and (56) as a function of their initial coordinate 𝐳{\bf z}^{\prime} on the Lagrangian manifold. We allow for an arbitrary parametrization 𝐳{\bf z}^{\prime} of the initial Lagrangian manifold, and we express the initial conditions as (𝐪(𝐳),𝐩(𝐳))({\bf q}^{\prime}({\bf z}^{\prime}),{\bf p}^{\prime}({\bf z}^{\prime})). For the propagator initial condition, the initial Lagrangian manifold can be simply parametrized as

(𝐪(𝐳),𝐩(𝐳))=(𝐪0,𝐳).({\bf q}^{\prime}({\bf z}^{\prime}),{\bf p}^{\prime}({\bf z}^{\prime}))=({\bf q}_{0},{\bf z}^{\prime}). (65)

The functions (𝐪,𝐩)({\bf q},{\bf p}) can be expressed using the flow functions (𝐐(𝐪,𝐩,t),𝐏(𝐪,𝐩,t))({\bf Q}({\bf q}^{\prime},{\bf p}^{\prime},t),{\bf P}({\bf q}^{\prime},{\bf p}^{\prime},t)), which map initial conditions (𝐪,𝐩)({\bf q}^{\prime},{\bf p}^{\prime}) to their values 𝐐{\bf Q} and 𝐏{\bf P} at time tt and satisfy Hamilton’s equations (55) and (56). It is obvious that

𝐪(𝐳,t)\displaystyle{\bf q}({\bf z}^{\prime},t) =𝐐(𝐪(𝐳),𝐩(𝐳),t),\displaystyle={\bf Q}({\bf q}^{\prime}({\bf z}^{\prime}),{\bf p}^{\prime}({\bf z}^{\prime}),t), (66a)
𝐩(𝐳,t)\displaystyle{\bf p}({\bf z}^{\prime},t) =𝐏(𝐪(𝐳),𝐩(𝐳),t)=W(𝐪(𝐳,t),t).\displaystyle={\bf P}({\bf q}^{\prime}({\bf z}^{\prime}),{\bf p}^{\prime}({\bf z}^{\prime}),t)=\nabla W({\bf q}({\bf z}^{\prime},t),t). (66b)

From Eq. (66), it follows

𝐪𝐳\displaystyle\frac{\partial{\bf q}}{\partial{\bf z}^{\prime}} =𝐐𝐪𝐪𝐳+𝐐𝐩𝐩𝐳,\displaystyle=\frac{\partial{\bf Q}}{\partial{\bf q}^{\prime}}\frac{\partial{\bf q}^{\prime}}{\partial{\bf z}^{\prime}}+\frac{\partial{\bf Q}}{\partial{\bf p}^{\prime}}\frac{\partial{\bf p}^{\prime}}{\partial{\bf z}^{\prime}}, (67a)
𝐩𝐳\displaystyle\frac{\partial{\bf p}}{\partial{\bf z}^{\prime}} =𝐏𝐪𝐪𝐳+𝐏𝐩𝐩𝐳.\displaystyle=\frac{\partial{\bf P}}{\partial{\bf q}^{\prime}}\frac{\partial{\bf q}^{\prime}}{\partial{\bf z}^{\prime}}+\frac{\partial{\bf P}}{\partial{\bf p}^{\prime}}\frac{\partial{\bf p}^{\prime}}{\partial{\bf z}^{\prime}}. (67b)

Hence, we can compute the time evolution of the Jacobian matrix 𝐪/𝐳\partial{\bf q}/\partial{\bf z}^{\prime} by differentiating Eq. (67a) with respect to time. This leads to

ddt𝐪𝐳\displaystyle\frac{{\rm d}}{{\rm d}t}\frac{\partial{\bf q}}{\partial{\bf z}^{\prime}} =(ddt𝐐𝐪)𝐪𝐳+(ddt𝐐𝐩)𝐩𝐳\displaystyle=\left(\frac{{\rm d}}{{\rm d}t}\frac{\partial{\bf Q}}{\partial{\bf q}^{\prime}}\right)\frac{\partial{\bf q}^{\prime}}{\partial{\bf z}^{\prime}}+\left(\frac{{\rm d}}{{\rm d}t}\frac{\partial{\bf Q}}{\partial{\bf p}^{\prime}}\right)\frac{\partial{\bf p}^{\prime}}{\partial{\bf z}^{\prime}}
=(𝐅𝐪𝐐𝐪+𝖣𝐏𝐪)𝐪𝐳+(𝐅𝐪𝐐𝐩+𝖣𝐏𝐩)𝐩𝐳\displaystyle=\left(\frac{\partial{\bf F}}{\partial{\bf q}}\frac{\partial{\bf Q}}{\partial{\bf q}^{\prime}}+\mathsf{D}\frac{\partial{\bf P}}{\partial{\bf q}^{\prime}}\right)\frac{\partial{\bf q}^{\prime}}{\partial{\bf z}^{\prime}}+\left(\frac{\partial{\bf F}}{\partial{\bf q}}\frac{\partial{\bf Q}}{\partial{\bf p}^{\prime}}+\mathsf{D}\frac{\partial{\bf P}}{\partial{\bf p}^{\prime}}\right)\frac{\partial{\bf p}^{\prime}}{\partial{\bf z}^{\prime}}
=𝐅𝐪𝐪𝐳+𝖣𝐩𝐳\displaystyle=\frac{\partial{\bf F}}{\partial{\bf q}}\frac{\partial{\bf q}}{\partial{\bf z}^{\prime}}+\mathsf{D}\frac{\partial{\bf p}}{\partial{\bf z}^{\prime}}
=[𝐅𝐪+𝖣2W𝐪2]𝐪𝐳.\displaystyle=\left[\frac{\partial{\bf F}}{\partial{\bf q}}+\mathsf{D}\frac{\partial^{2}W}{\partial{\bf q}^{2}}\right]\frac{\partial{\bf q}}{\partial{\bf z}^{\prime}}. (68)

We obtain the second line of Eq. (68) by differentiating Eq. (55) with respect to 𝐪{\bf q}^{\prime} and 𝐩{\bf p}^{\prime} and the third line by applying Eq. (67). In the fourth line of Eq. (68), we use

𝐩𝐳=2W𝐪2𝐪𝐳,\frac{\partial{\bf p}}{\partial{\bf z}^{\prime}}=\frac{\partial^{2}W}{\partial{\bf q}^{2}}\frac{\partial{\bf q}}{\partial{\bf z}^{\prime}}, (69)

which follows from Eq. (66b). Next, we find the equation satisfied by Ddet𝐪/𝐳D\equiv\det\partial{\bf q}/\partial{\bf z}^{\prime}, which is

d(ln|D|)dt=tr[(ddt𝐪𝐳)(𝐪𝐳)1]=(𝐅+𝖣W),\frac{{\rm d}(\ln|D|)}{{\rm d}t}={\rm tr}\left[\left(\frac{{\rm d}}{{\rm d}t}\frac{\partial{\bf q}}{\partial{\bf z}^{\prime}}\right)\left(\frac{\partial{\bf q}}{\partial{\bf z}^{\prime}}\right)^{-1}\right]=\nabla\cdot({\bf F}+\mathsf{D}\nabla W), (70)

where we have used Eq. (68). From this it follows

ln(|D|D0)=0t(𝐅+𝖣W)dτ.\ln\left(\frac{|D|}{D_{0}}\right)=\int_{0}^{t}\nabla\cdot({\bf F}+\mathsf{D}\nabla W){\rm d}\tau. (71)

The right-hand side of Eq. (71) is the first term that appears in Eq. (64) up to a factor of 1/2-1/2. In Eq. (71),

D0=limt0|det𝐪𝐳|.D_{0}=\lim_{t\rightarrow 0}\left|\det\frac{\partial{\bf q}}{\partial{\bf z}^{\prime}}\right|. (72)

For the case of the propagator initial condition, 𝐪𝐪0{\bf q}\rightarrow{\bf q}_{0} as t0t\rightarrow 0, independent of 𝐳{\bf z}^{\prime}, and therefore 𝐪/𝐳=0\partial{\bf q}/\partial{\bf z}^{\prime}=0 in the limit, implying D0=0D_{0}=0. This is related to the divergence of AA as t0t\rightarrow 0, so we keep D0D_{0} as a placeholder here and return to this point in Sec. A.3. Using Eq. (71), we may now solve Eq. (64) for AA, giving

A(𝐪,t)=A0D0|det𝐪𝐩|1/2exp[120t𝐅dτ+0t𝐆𝐩dτ],A({\bf q},t)=A_{0}\sqrt{D_{0}}\left|\det\frac{\partial{\bf q}}{\partial{\bf p}^{\prime}}\right|^{-1/2}\exp\left[-\frac{1}{2}\int_{0}^{t}\nabla\cdot{\bf F}{\rm d}\tau+\int_{0}^{t}{\bf G}\cdot{\bf p}\,{\rm d}\tau\right], (73)

where we have replaced 𝐳{\bf z}^{\prime} by 𝐩{\bf p}^{\prime} by virtue of Eq. (65).

A.3 Normalization of the propagator

To fix the value of the constant A0D0A_{0}\sqrt{D_{0}}, we must consider the limit t0t\rightarrow 0 and impose the initial condition (47). In this limit we have the estimates

𝐪𝐪0t\displaystyle\frac{{\bf q}-{\bf q}_{0}}{t} 𝐅(𝐪0)+𝖣𝐩,\displaystyle\approx{\bf F}({\bf q}_{0})+\mathsf{D}{\bf p}^{\prime}, (74)
R\displaystyle R 12t(𝐪𝐪0)𝖣1(𝐪𝐪0).\displaystyle\approx\frac{1}{2t}({\bf q}-{\bf q}_{0})\cdot\mathsf{D}^{-1}({\bf q}-{\bf q}_{0}). (75)

Solving Eq. (74) for 𝐪{\bf q}, we find

𝐪𝐩\displaystyle\frac{\partial{\bf q}}{\partial{\bf p}^{\prime}} =𝖣t,\displaystyle=\mathsf{D}t, (76)
det𝐪𝐩\displaystyle\det\frac{\partial{\bf q}}{\partial{\bf p}^{\prime}} =tddet𝖣.\displaystyle=t^{d}\det\mathsf{D}. (77)

Hence, the semiclassical propagator in this limit becomes

K(𝐪,𝐪0,t0)A0D0(det𝖣)1/2td/2exp[12εt(𝐪𝐪0)𝖣1(𝐪𝐪0)].K({\bf q},{\bf q}_{0},t\rightarrow 0)\approx A_{0}\sqrt{D_{0}}\left(\det\mathsf{D}\right)^{-1/2}t^{-d/2}\exp\left[-\frac{1}{2\varepsilon t}({\bf q}-{\bf q}_{0})\cdot\mathsf{D}^{-1}({\bf q}-{\bf q}_{0})\right]. (78)

Equation (78) is a Gaussian approximation to the δ\delta function initial condition (47), which approaches the δ\delta function in the t0t\rightarrow 0 limit. Therefore, the solutions for WW and AA satisfy the initial condition, provided that

A0D0=(2πε)d/2,A_{0}\sqrt{D_{0}}=(2\pi\varepsilon)^{-d/2}, (79)

so that the Gaussian is properly normalized. The final semiclassical expression for the propagator is

K(𝐪,𝐪0,t)1(2πε)d/2|det𝐪𝐩|1/2exp[1εR(𝐪,𝐪0,t)120t𝐅dτ+0t𝐆𝐩dτ].K({\bf q},{\bf q}_{0},t)\approx\frac{1}{(2\pi\varepsilon)^{d/2}}\left|\det\frac{\partial{\bf q}}{\partial{\bf p}^{\prime}}\right|^{-1/2}\exp\left[-\frac{1}{\varepsilon}R({\bf q},{\bf q}_{0},t)-\frac{1}{2}\int_{0}^{t}\nabla\cdot{\bf F}{\rm d}\tau+\int_{0}^{t}{\bf G}\cdot{\bf p}\,{\rm d}\tau\right]. (80)

A.4 Solutions for WKB and hybrid initial conditions

A.4.1 WKB initial condition

For the WKB initial condition (49), the initial Lagrangian manifold is the surface defined by

𝐩=W0𝐪(𝐪).{\bf p}^{\prime}=\frac{\partial W_{0}}{\partial{\bf q}^{\prime}}({\bf q}^{\prime}). (81)

We parametrize the Lagrangian manifold by

(𝐪(𝐳),𝐩(𝐳))=(𝐳,W0𝐪(𝐳)),({\bf q}^{\prime}({\bf z}^{\prime}),{\bf p}^{\prime}({\bf z}^{\prime}))=\left({\bf z}^{\prime},\frac{\partial W_{0}}{\partial{\bf q}^{\prime}}({\bf z}^{\prime})\right), (82)

and let the phase space functions be (𝐪(𝐳,t),𝐩(𝐳,t))({\bf q}({\bf z}^{\prime},t),{\bf p}({\bf z}^{\prime},t)). The position coordinate part of this function is assumed to be invertible, so that the initial configuration space coordinate can be expressed as 𝐪0=𝐪0(𝐪,t){\bf q}_{0}={\bf q}_{0}({\bf q},t). Then, the solution to Eq. (52) is Littlejohn1992 ; ArnoldCM

W(𝐪,t)=W0(𝐪0(𝐪,t))+R(𝐪,𝐪0(𝐪,t),t),W({\bf q},t)=W_{0}({\bf q}_{0}({\bf q},t))+R({\bf q},{\bf q}_{0}({\bf q},t),t), (83)

where RR is evaluated along the Hamiltonian trajectory with initial coordinate 𝐪0(𝐪,t){\bf q}_{0}({\bf q},t) and initial momentum given by Eq. (81) evaluated at 𝐪0(𝐪,t){\bf q}_{0}({\bf q},t).

The solution to the transport equation (62) is almost identical to the propagator initial condition case. The main differences are the parametrization of the Lagrangian manifold (82) and the specific initial condition A(𝐪,0)=A0(𝐪)A({\bf q},0)=A_{0}({\bf q}). Taking these into account, we obtain

A(𝐪,t)=A0(𝐪0(𝐪,t))|det𝐪𝐪|1/2exp[120t𝐅dτ+0t𝐆𝐩dτ].A({\bf q},t)=A_{0}({\bf q}_{0}({\bf q},t))\left|\det\frac{\partial{\bf q}}{\partial{\bf q}^{\prime}}\right|^{-1/2}\exp\left[-\frac{1}{2}\int_{0}^{t}\nabla\cdot{\bf F}{\rm d}\tau+\int_{0}^{t}{\bf G}\cdot{\bf p}\,{\rm d}\tau\right]. (84)

The final expression for the semiclassical probability density is

P(𝐪,t)A0(𝐪0)|det𝐪𝐪|1/2exp[(W0(𝐪0)+R(𝐪,𝐪0,t))ε120t𝐅dτ+0t𝐆𝐩dτ].P({\bf q},t)\approx A_{0}({\bf q}_{0})\left|\det\frac{\partial{\bf q}}{\partial{\bf q}^{\prime}}\right|^{-1/2}\exp\left[-\frac{(W_{0}({\bf q}_{0})+R({\bf q},{\bf q}_{0},t))}{\varepsilon}-\frac{1}{2}\int_{0}^{t}\nabla\cdot{\bf F}{\rm d}\tau+\int_{0}^{t}{\bf G}\cdot{\bf p}\,{\rm d}\tau\right]. (85)

A.4.2 Hybrid initial condition

For the hybrid initial condition (50), the initial Lagrangian manifold is the surface defined by

𝐪f\displaystyle{\bf q}_{f}^{\prime} =𝐪f0,\displaystyle={\bf q}_{f0}, (86)
𝐩k\displaystyle{\bf p}_{k}^{\prime} =U𝐪k(𝐪k).\displaystyle=\frac{\partial U}{\partial{\bf q}_{k}}({\bf q}_{k}^{\prime}). (87)

We parametrize the Lagrangian manifold by the coordinates 𝐳(𝐩f,𝐪k){\bf z}^{\prime}\equiv({\bf p}_{f}^{\prime},{\bf q}_{k}^{\prime}), and let the phase space functions be (𝐪(𝐳,t),𝐩(𝐳,t))({\bf q}({\bf z}^{\prime},t),{\bf p}({\bf z}^{\prime},t)). We assume an inverse to 𝐪(𝐳,t){\bf q}({\bf z}^{\prime},t) exists, which we denote (𝐩f0,𝐪k0)=𝐳0=𝐳0(𝐪,𝐪f0,t)({\bf p}_{f0},{\bf q}_{k0})={\bf z}_{0}={\bf z}_{0}({\bf q},{\bf q}_{f0},t). Then, the solution to the Hamilton-Jacobi equation is

W(𝐪,t)=U(𝐪k0)+R(𝐪,𝐪0,t),W({\bf q},t)=U({\bf q}_{k0})+R({\bf q},{\bf q}_{0},t), (88)

where 𝐪0=(𝐪f0,𝐪k0(𝐪,𝐪f0,t)){\bf q}_{0}=({\bf q}_{f0},{\bf q}_{k0}({\bf q},{\bf q}_{f0},t)), and the initial momentum of the trajectory terminating at 𝐪{\bf q} at time tt is

𝐩f0(𝐪,𝐪f0,t)\displaystyle{\bf p}_{f0}({\bf q},{\bf q}_{f0},t) =R𝐪f0(𝐪,𝐪0,t),\displaystyle=-\frac{\partial R}{\partial{\bf q}_{f0}}({\bf q},{\bf q}_{0},t), (89)
𝐩k0(𝐪,𝐪f0,t)\displaystyle{\bf p}_{k0}({\bf q},{\bf q}_{f0},t) =U𝐪k(𝐪k0).\displaystyle=\frac{\partial U}{\partial{\bf q}_{k}}({\bf q}_{k0}). (90)

Solving the transport equation is again similar to the propagator case. The quantity det𝐪/𝐳\det\partial{\bf q}/\partial{\bf z}^{\prime} still satisfies Eq. (70), while in Eq. (64) we write A(𝐪,0)=A0(𝐪k)AA({\bf q}^{\prime},0)=A_{0}({\bf q}_{k}^{\prime})A_{*}, where AA_{*} is a placeholder constant. We therefore obtain

A(𝐪,t)=AD0A0(𝐪k0(𝐪,𝐪f0,t))|det𝐪𝐳|1/2exp[12𝐅dτ+0t𝐆𝐩dτ].A({\bf q},t)=A_{*}\sqrt{D_{0}}A_{0}({\bf q}_{k0}({\bf q},{\bf q}_{f0},t))\left|\det\frac{\partial{\bf q}}{\partial{\bf z}^{\prime}}\right|^{-1/2}\exp\left[-\frac{1}{2}\int\nabla\cdot{\bf F}{\rm d}\tau+\int_{0}^{t}{\bf G}\cdot{\bf p}{\rm d}\tau\right]. (91)

Taking the t0t\rightarrow 0 limit of the full solution and forcing it to satisfy the initial condition (50) leads to

AD0=(2πε)df/2.A_{*}\sqrt{D_{0}}=(2\pi\varepsilon)^{-d_{f}/2}. (92)

Thus, the full semiclassical probability density is

P(𝐪,t)=\displaystyle P({\bf q},t)= 1(2πε)df/2A0(𝐪k0)|det𝐪𝐳|1/2×\displaystyle\frac{1}{(2\pi\varepsilon)^{d_{f}/2}}A_{0}({\bf q}_{k0})\left|\det\frac{\partial{\bf q}}{\partial{\bf z}^{\prime}}\right|^{-1/2}\times
exp[(U(𝐪k0)+R(𝐪,𝐪0,t))ε12𝐅dτ+0t𝐆𝐩dτ].\displaystyle\exp\left[-\frac{(U({\bf q}_{k0})+R({\bf q},{\bf q}_{0},t))}{\varepsilon}-\frac{1}{2}\int\nabla\cdot{\bf F}{\rm d}\tau+\int_{0}^{t}{\bf G}\cdot{\bf p}{\rm d}\tau\right]. (93)

A.5 Gaussian approximation to the semiclassical propagator: 1D case

For sufficiently small noise and times, it is useful to approximate the semiclassical propagator as a Gaussian centered on the deterministic trajectory 𝐪(t){\bf q}^{*}(t). Because of the exponential form of Eq. (80), for short times and small noise, the most important part to capture is the part near the absolute minimum of the action R(𝐪,𝐪0,t)=0R({\bf q},{\bf q}_{0},t)=0, which due to Eq. (59), occurs at the deterministic solution 𝐪=𝐪(t){\bf q}={\bf q}^{*}(t). We illustrate the approximation for the 1D case for simplicity, so that 𝐪q{\bf q}\rightarrow q and 𝐅F{\bf F}\rightarrow F, and we let the diffusion tensor 𝖣1\mathsf{D}\rightarrow 1 and 𝐆0{\bf G}\rightarrow 0. Thus, Hamilton’s equations become

q˙=F+p,\displaystyle\dot{q}=F+p, (94)
p˙=pdFdq.\displaystyle\dot{p}=-p\frac{dF}{dq}. (95)

We expand KK about qq^{*} as follows:

K(q,q0,t)A(q)exp[12ε2Rq2(qq)2],K(q,q_{0},t)\approx A(q^{*})\exp\left[-\frac{1}{2\varepsilon}\frac{\partial^{2}R}{\partial q^{2}}(q-q^{*})^{2}\right], (96)

where

A(q)=12πε|qp|1/2exp[120tdFdqdτ].A(q^{*})=\frac{1}{\sqrt{2\pi\varepsilon}}\left|\frac{\partial q}{\partial p^{\prime}}\right|^{-1/2}\exp\left[-\frac{1}{2}\int_{0}^{t}\frac{dF}{dq}{\rm d}\tau\right]. (97)

In Eq. (97), the Jacobian matrix and integral are evaluated along the deterministic trajectory q(t)q^{*}(t), so that A(q)A(q^{*}) is a function of time. Equation (96) thus constitutes a Gaussian approximation to the propagator, which would be properly normalized provided that

2Rq2=|qp|1/2exp[120tdFdqdτ].\sqrt{\frac{\partial^{2}R}{\partial q^{2}}}=\left|\frac{\partial q}{\partial p^{\prime}}\right|^{-1/2}\exp\left[-\frac{1}{2}\int_{0}^{t}\frac{dF}{dq}{\rm d}\tau\right]. (98)

Next, we show that this is indeed the case.

Recalling that p=R/qp=\partial R/\partial q, we have that

2Rq2=pq.\frac{\partial^{2}R}{\partial q^{2}}=\frac{\partial p}{\partial q}. (99)

We now rewrite Eq. (99) in terms of partial derivatives with respect to the initial conditions (q,p)(q^{\prime},p^{\prime}), which we can then compute using the tangent flow equations of Eqs. (94) and (95). Using the chain rule, we obtain

pq=pp(qp)1\frac{\partial p}{\partial q}=\frac{\partial p}{\partial p^{\prime}}\left(\frac{\partial q}{\partial p^{\prime}}\right)^{-1} (100)

The quantity p/p\partial p/\partial p^{\prime} satisfies

ddtpp=pd2Fdq2qpdFdqpp,\frac{\rm d}{{\rm d}t}\frac{\partial p}{\partial p^{\prime}}=-p\frac{d^{2}F}{dq^{2}}\frac{\partial q}{\partial p^{\prime}}-\frac{dF}{dq}\frac{\partial p}{\partial p^{\prime}}, (101)

with initial condition p/p(0)=1\partial p/\partial p^{\prime}(0)=1. Along the deterministic trajectory however, p=0p=0 for all time, so the first term of Eq. (101) vanishes. Therefore, we obtain

pp=exp[0tdFdqdτ].\frac{\partial p}{\partial p^{\prime}}=\exp\left[-\int_{0}^{t}\frac{dF}{dq}{\rm d}\tau\right]. (102)

Combining Eqs. (99), (100), and (102), we see that Eq. (98) is almost proved. We need only verify that q/p0\partial q/\partial p^{\prime}\geq 0 for all time. This quantity satisfies

ddtqp=dFdqqp+pp,\frac{\rm d}{{\rm d}t}\frac{\partial q}{\partial p^{\prime}}=\frac{dF}{dq}\frac{\partial q}{\partial p^{\prime}}+\frac{\partial p}{\partial p^{\prime}}, (103)

with initial condition q/p(0)=0\partial q/\partial p^{\prime}(0)=0. Using Eq. (102), we obtain

qp=exp[0tdFdqdτ]0texp[20τdFdqdτ′′]dτ.\frac{\partial q}{\partial p^{\prime}}=\exp\left[\int_{0}^{t}\frac{dF}{dq}{\rm d}\tau\right]\int_{0}^{t}\exp\left[-2\int_{0}^{\tau^{\prime}}\frac{dF}{dq}{\rm d}\tau^{\prime\prime}\right]{\rm d}\tau^{\prime}. (104)

Because Eq. (104) consists of products and sums of exponentials, which are all positive, we have q/p0\partial q/\partial p^{\prime}\geq 0. Thus, Eq. (98) is proved.

Combining the results, we obtain the following expression for the Gaussian approximation to the propagator:

K(q,q0,t)=12πε2Rq2exp[12ε2Rq2(qq)2],K(q,q_{0},t)=\sqrt{\frac{1}{2\pi\varepsilon}\frac{\partial^{2}R}{\partial q^{2}}}\exp\left[-\frac{1}{2\varepsilon}\frac{\partial^{2}R}{\partial q^{2}}(q-q^{*})^{2}\right], (105)

where

2Rq2=exp[20tdFdqdτ]{0texp[20τdFdqdτ′′]dτ}1.\frac{\partial^{2}R}{\partial q^{2}}=\exp\left[-2\int_{0}^{t}\frac{dF}{dq}{\rm d}\tau\right]\left\{\int_{0}^{t}\exp\left[-2\int_{0}^{\tau^{\prime}}\frac{dF}{dq}{\rm d}\tau^{\prime\prime}\right]{\rm d}\tau^{\prime}\right\}^{-1}. (106)

Appendix B Solution to the Liouville equation

We derive the solution to Eq. (14), rewritten here as

Pταsin(2θ)Pθ=2αcos(2θ)P.\frac{\partial P}{\partial\tau}-\alpha\sin(2\theta)\frac{\partial P}{\partial\theta}=2\alpha\cos(2\theta)P. (107)

The method of characteristics seeks a solution P(θ(τ),τ)P(\theta(\tau),\tau), where the characteristics θ(τ)\theta(\tau) satisfy

dθdτ=αsin(2θ)\frac{{\rm d}\theta}{{\rm d}\tau}=-\alpha\sin(2\theta) (108)

and are explicitly given by Eq. (16). Taking the total time derivative of P(θ(τ),τ)P(\theta(\tau),\tau) and using Eq. (107), we get

dPdτ=2αcos(2θ(τ))P.\frac{{\rm d}P}{\rm d\tau}=2\alpha\cos(2\theta(\tau))P. (109)

We use the identity cos2θ=(1tan2θ)/(1+tan2θ)\cos 2\theta=(1-\tan^{2}\theta)/(1+\tan^{2}\theta), substitute tan(θ(τ))=e2ατtanθ0\tan(\theta(\tau))=e^{-2\alpha\tau}\tan\theta_{0} [from Eq. (16)] and move PP to the left-hand side of Eq. (109), which yields

d(lnP)dτ=2α1e4ατtan2θ01+e4ατtan2θ0.\frac{{\rm d}(\ln P)}{\rm d\tau}=2\alpha\frac{1-e^{-4\alpha\tau}\tan^{2}\theta_{0}}{1+e^{-4\alpha\tau}\tan^{2}\theta_{0}}. (110)

Integrating both sides yields

lnP(θ,τ)P0(θ0)=12ln[e4ατ+2tan2θ0+e4ατtan4θ0(1+tan2θ0)2].\ln\frac{P(\theta,\tau)}{P_{0}(\theta_{0})}=\frac{1}{2}\ln\left[\frac{e^{4\alpha\tau}+2\tan^{2}\theta_{0}+e^{-4\alpha\tau}\tan^{4}\theta_{0}}{\left(1+\tan^{2}\theta_{0}\right)^{2}}\right]. (111)

Finally, we solve Eq. (16) for tanθ0\tan\theta_{0} and θ0\theta_{0} in terms of θ\theta and τ\tau, substitute these into Eq. (111), and solve for P(θ,τ)P(\theta,\tau), which yields

P(θ,τ)=P0(tan1(e2ατtanθ))e2ατcos2θ+e4ατsin2θ.P(\theta,\tau)=P_{0}\left(\tan^{-1}\left(e^{2\alpha\tau}\tan\theta\right)\right)\frac{e^{2\alpha\tau}}{\cos^{2}\theta+e^{4\alpha\tau}\sin^{2}\theta}. (112)

References

  • (1) N. Khurana, J. Blawzdziewicz, and N. T. Ouellette. Reduced transport of swimming particles in chaotic flow due to hydrodynamic trapping. Phys. Rev. Lett., 106:198104, 2011.
  • (2) N. Khurana and N. T. Ouellette. Interactions between active particles and dynamical structures in chaotic flow. Phys. Fluids, 24:091902, 2012.
  • (3) S. A. Berman and K. A. Mitchell. Trapping of swimmers in a vortex lattice. Chaos, 30:063121, 2020.
  • (4) C.Torney and Z. Neufeld. Transport and aggregation of self-propelled particles in fluid flows. Phys. Rev. Lett., 99:078101, 2007.
  • (5) R. Rusconi, J. S. Guasto, and R. Stocker. Bacterial transport suppressed by fluid shear. Nat. Phys., 10:212, 2014.
  • (6) M T. Barry, R. Rusconi, J. S. Guasto, and R. Stocker. Shear-induced orientational dynamics and spatial heterogeneity in suspensions of motile phytoplankton. J.  R.  Soc., Interface, 12:20150791, 2015.
  • (7) F. Santamaria, F. De Lillo, M. Cencini, and G. Boffetta. Gyrotactic trapping in laminar and turbulent Kolmogorov flow. Phys. Fluids, 26:111901, 2014.
  • (8) R. N. Bearon and A. L. Hazel. The trapping in high-shear regions of slender bacteria undergoing chemotaxis in a channel. J. Fluid. Mech., 771:R3, 2015.
  • (9) B. Ezhilan and D. Saintillan. Transport of a dilute active suspension in pressure-driven channel flow. J. Fluid. Mech., 777:482, 2015.
  • (10) L. Vennamneni, S. Nambiar, and G. Subramanian. Shear-induced migration of microswimmers in pressure-driven channel flow. J. Fluid. Mech., 890:A15, 2020.
  • (11) A. Dehkharghani, N. Waisbord, J. Dunkel, and J. S. Guasto. Bacterial scattering in microfluidic crystal flows reveals giant active Taylor–Aris dispersion. Proc. Natl. Acad. Sci. U. S. A., 166:11119, 2019.
  • (12) S. A. Berman, J. Buggeln, D. A. Brantley, K. A. Mitchell, and T. H. Solomon. Transport barriers to self-propelled particles in fluid flows. Phys. Rev. Fluids, 6:L012501, 2021.
  • (13) J. Mahoney, D. Bargteil, M. Kingsbury, K. Mitchell, and T. Solomon. Invariant barriers to reactive front propagation in fluid flows. EPL, 98:4405, 2012.
  • (14) K. A. Mitchell and J. R. Mahoney. Invariant manifolds and the geometry of front propagation in fluid flows. Chaos, 22:037104, 2012.
  • (15) R. Graham and T. Tél. On the weak-noise limit of Fokker-Planck models. J. Stat. Phys., 35:729, 1984.
  • (16) M. I. Dykman, D. G. Luchinsky, P. V. E. McClintock, and V. N. Smelyanskiy. Corrals and critical behavior of the distribution of fluctuational paths. Phys. Rev. Lett., 77:5229, 1996.
  • (17) P. Gaspard. Trace formula for noisy flows. J. Stat. Phys., 106:57, 2002.
  • (18) B. C. Nolting and K. C. Abbott. Balls, cups, and quasi-potentials: quantifying stability in stochastic systems. Ecology, 97:850, 2016.
  • (19) S. Gu, T. Z. Qian, H. Zhang, and X. Zhou. Stochastic dynamics of an active particle escaping from a potential well. Chaos, 30:053133, 2020.
  • (20) R. G. Littlejohn. The Van Vleck formula, Maslov theory, and phase space geometry. J. Stat. Phys., 68:7, 1992.
  • (21) N. Waisbord, C. T. Lefèvre, L. Bocquet, C. Ybert, and C. Cottin-Bizonne. Destabilization of a flow focused suspension of magnetotactic bacteria. Phys. Rev. Fluids, 1:053203, 2016.
  • (22) J. F. Rupprecht, N. Waisbord, C. Ybert, C. Cottin-Bizonne, and L. Bocquet. Velocity Condensation for Magnetotactic Bacteria. Phys. Rev. Lett., 116:168101, 2016.
  • (23) M. R. Stehnach, N. Waisbord, D. M. Walkama, and J. S. Guasto. Viscophobic turning dictates microalgae transport in viscosity gradients. Nat. Phys., 17:926, 2021.
  • (24) J.-L. Thiffeault and J. Guo. Shake your hips: An anisotropic active Brownian particle with a fluctuating propulsion force. arXiv:2102.11758 [cond–mat.soft], 2021.
  • (25) Y. Hyon, Marcos, T. R. Powers, R. Stocker, and H. C. Fu. The wiggling trajectories of bacteria. J. Fluid. Mech., 705:58, 2012.
  • (26) H. C. Berg and D. A. Brown. Chemotaxis in Escherichia coli analysed by three-dimensional tracking. Nature, 239:500, 1972.
  • (27) A. P. Solon, M. E. Cates, and J. Tailleur. Active Brownian particles and run-and-tumble particles: A comparative study. Eur. Phys. J.: Spec. Top., 224:1231, 2015.
  • (28) L. Onsager and S. Machlup. Fluctuations and irreversible processes. Phys. Rev., 91:1505, 1953.
  • (29) M. I. Freidlin and A. D. Wentzell. Random Perturbations of Dynamical Systems. Springer, New York, NY, 2012.
  • (30) E. Forgoston and R. O. Moore. A primer on noise-induced transitions in applied dynamical systems. SIAM Rev., 60:969, 2018.
  • (31) J. T. Locsei and T. J. Pedley. Run and tumble chemotaxis in a shear flow: The effect of temporal comparisons, persistence, rotational diffusion, and cell shape. Bull. Math. Biol., 71:1089, 2009.
  • (32) J. R. Mahoney, J. Li, C. Boyer, T. Solomon, and K. A. Mitchell. Frozen reaction fronts in steady flows: A burning-invariant-manifold perspective. Phys. Rev. E, 92:063005, 2015.
  • (33) M. R. Evans, S. N. Majumdar, and G. Schehr. Stochastic resetting and applications. J.  Phys.  A: Math. Theor., 53:193001, 2020.
  • (34) E. J. Heller. Cellular dynamics: A new semiclassical approach to time‐dependent quantum mechanics. J. Chem. Phys., 94:2723, 1991.
  • (35) W. H. Miller. Comment on: Semiclassical time evolution without root searches. J. Chem. Phys., 95:9428, 1991.
  • (36) V. I. Arnold. Mathematical Methods of Classical Mechanics. Springer-Verlag, New York, NY, 1978.
  • (37) M. I. Dykman, M. M. Millonas, and V. N. Smelyanskiy. Observable and hidden singular features of large fluctuations in nonequilibrium systems. Phys. Lett. A, 195:53, 1994.
  • (38) R. S. Maier and D. L. Stein. Transition-rate theory for nongradient drift fields. Phys. Rev. Lett., 69:3691, 1992.
  • (39) R. S. Maier and D. L. Stein. A scaling theory of bifurcations in the symmetric weak-noise escape problem. J. Stat. Phys., 83:291, 1996.
  • (40) V. P. Maslov and M. V. Fedoriuk. Semi-classical approximation in quantum mechanics. D. Reidel Pub. Co., Dordecht, 1981.
  • (41) J. Gladrow, U. F. Keyser, R. Adhikari, and J. Kappler. Experimental Measurement of Relative Path Probabilities and Stochastic Actions. Phys. Rev. X, 11:031022, 2021.
  • (42) G. Junot, E. Clément, H. Auradou, and R. Garciá-Garciá. Single-trajectory characterization of active swimmers in a flow. Phys. Rev. E, 103:032608, 2021.
  • (43) T. Bonnemain and D. Ullmo. Mean field games in the weak noise limit : A WKB approach to the Fokker–Planck equation. Phys. A (Amsterdam, Neth.), 523:310, 2019.
  • (44) F. Langouche, D. Roekaerts, and E. Tirapegui. On the most probable path for diffusion processes. J. Phys. A: Math. Gen., 11:L263, 1978.
  • (45) F. Langouche, D. Roekaerts, and E. Tirapegui. Functional Integration and Semiclassical Expansions. Springer Science+Business Media, Dordecht, 1982.