Skip to main content
Philosophical transactions. Series A, Mathematical, physical, and engineering sciences logoLink to Philosophical transactions. Series A, Mathematical, physical, and engineering sciences
. 2025 Sep 11;383(2304):20240256. doi: 10.1098/rsta.2024.0256

Modal analysis and optimization of swimming active filaments

John Severn 1, Eric Lauga 1,✉
PMCID: PMC12423653  PMID: 40931651

Abstract

Active flexible filaments form the classical continuum framework for modelling the locomotion of spermatozoa and algae driven by the periodic oscillation of flagella. This framework also applies to the locomotion of various artificial swimmers. Classical studies have quantified the relationship between internal forcing (localized or distributed internal moments or forces) and external output (filament shape and swimming speed). In this paper, we pose locomotion as a mathematical optimization problem and demonstrate that the swimming of an isolated active filament can be accurately described and optimized using a small number of eigenmodes, significantly reducing computational complexity. In particular, we reveal that the motion of a filament with monophasic forcing, relevant to recently proposed artificial swimmers, is governed by exactly four forcing eigenmodes, only two of which are independent. We further present optimizations of such swimmers under various constraints.

This article is part of the theme issue ‘Biological fluid dynamics: emerging directions’.

Keywords: fluid dynamics, spermatozoa, microswimmers, elastohydrodynamics

1. Introduction

Microorganisms employ a variety of mechanisms to self-propel through viscous fluids [1–6]. Due to their small size, their swimming is governed by low-Reynolds-number hydrodynamics, i.e. Stokes flows [7], which is the assumed flow regime for the swimmers (whether micro-scale, millimetre-scale or larger) discussed in this paper. In this regime, inertial effects in the fluid become negligible relative to viscous effects, and the locomotion kinematics are constrained by the scallop theorem: time-reversible motion of the swimmer’s body cannot produce any net swimming [8] (so named because a small scallop that repeatedly opens and closes would not be able to swim in the Stokes flow limit). Consequently, microorganisms must employ non-time-reversible actuation to undergo net locomotion. Such mechanisms include the rotation of rigid helical flagellar filaments of bacteria, such as those employed by the model organism Escherichia coli, that rotate to push the swimmer forwards [2], or the waving dynamics of the two flexible flagella of the green algae Chlamydomonas that act like arms to pull the swimmer forwards [3]. Perhaps the most commonly known method of propulsion is that of spermatozoa, which utilizes an undulating flexible flagellum to transmit travelling waves that push fluid backwards and hence push the swimmer forwards [4,5].

It has long been known that the actuation of the spermatozoa flagellum is not simply localized to the point of attachment with the cell body, but is instead continuously distributed along the entire flagellum length [9–12]. This is facilitated by the axoneme, the internal structure of the flagellum, containing molecular motors that power the relative sliding of microtubules [13,14], leading to an effective (and sophisticated) distribution of internal moments and forces that are functions of both space (location along the flagellum) and time [4]. Not only does understanding the swimming dynamics of spermatozoa have fundamental interest for cellular biology and fertility science [15], but the simple form of the spermatozoa model (a single flexible filament attached to a passive body) makes it an ideal basis for theoretical studies in mathematical biology [5,16–21], and for the design and fabrication of experimental, artificial swimmers [22,23], including those with biomedical applications [24].

While we aim to make the analysis in this paper as general as possible, we keep in mind two intuitive and motivational examples of such sperm-like artificial swimmers. Dreyfus et al. [25] constructed a micro-swimmer with a flagellum made of connected magnetic beads, actuated by an oscillating external magnetic field, that propelled a payload in the form of a red blood cell. This design was refined in later works to produce increasingly effective and diverse swimmers [26–29]. However, such swimmers are not truly self-propelled, relying on external magnetic fields. In a creative solution to this limitation, Williams et al. [30] created a polymeric sperm-like millimetre-scale swimmer that was powered by heart muscle cells (cardiomyocytes) cultured onto the side of the flagellum, and this concept of muscle-powered swimmers has since then been diversely explored [31–33]. We later see that the magnetic swimmer [25] and the biohybrid swimmer [30] provide key and intuitive examples for the application of the models developed in this paper.

From a fundamental physical point of view, flexible flagella are subject to three principal forces: viscous drag from the surrounding fluid, active internal forcing from the biological activity at the axoneme level (or artificial equivalents) and passive elasticity of the flagella. Due to the lack of inertia, these forces must always instantaneously balance, producing classical partial differential equations (PDEs) which govern the dynamics of the filament [34]. These elastohydrodynamic (EHD) equations directly relate the time-varying shape of the flagella to the active internal forcing and they have been used to model both real spermatozoa [4] and sperm-like artificial swimmers [22–25,30].

Mathematically, for a given active forcing inside the flagellum, the EHD equations can be solved to determine the filament motion [4]. Then, since the total hydrodynamic forces and moments exerted by a swimming microorganisms must be zero at all times, the filament motion can be used to determine the swimming kinematics via a global force and moment balance. These calculations are generally numerical, but a fully analytical approach becomes available if perturbations are assumed to be small relative to a straight flagellum. However, to the authors’ knowledge, no single formula for the swimming speed directly in terms of the active forcing (without the need to explicitly calculate the filament motion) has yet been offered, even in this linearized limit. In addition to this linearization, proposed experimental artificial swimmers often utilize forcing that is entirely in phase [25,30], simplifying the problem further. Despite these simplifications, optimizing the configuration of the swimmer, involving parameters such as filament elasticity, fluid viscosity and active force distribution, remains a largely brute-force computational (or experimental) task [26,27,29,30].

In this paper, we consider an idealized version of a biological or artificial flagellum: an active flexible filament waving in a Stokes flow under small-amplitude forcing and with no head or cell body. In the first part of our paper, revisiting classical work, we solve the classical EHD equations and derive a new formula directly linking the active forcing to the swimming speed via a symmetric swimming speed function, bypassing the need to explicitly calculate the filament motion. In the second part of our paper, we pose an optimization problem wherein we maximize the swimming speed subject to a fixed forcing magnitude, and show that the solutions to this optimization problem are the eigenmodes of the swimming speed function, which form an orthonormal basis for all possible forcing functions. We demonstrate optimization procedures to maximize the swimming speed of the filament subject to a variety of constraints, resulting in a reduced computational complexity compared to classical methods. We pay particular attention to the case of monophasic forcing, relevant to artificial swimmers studied experimentally [25,30]. By applying the optimization procedure to such filaments, we find, remarkably, that only four of the eigenvalues are non-zero, and analytically calculate these eigenvalues and their corresponding eigenfunctions. Two of these eigenmodes are simply reflections of the other two (their eigenvalues being negative), and one eigenvalue dominates the other under optimal physical parameter conditions. Swimming is therefore governed approximately by just a single eigenvalue and eigenmode pair. Finally, we demonstrate that analysis can be applied to this eigenmode pair to optimize swimming far more efficiently than brute-force computation.

The paper is organized as follows. In §2, we obtain the full dimensionless EHD equations for a general moment forcing function. We then linearize these equations for a small internal forcing, and solve the resultant forced hyperdiffusion equation to determine the filament shape (equations (2.29)–(2.31)) in terms of the Green’s function G (appendix A). Using this solution and global force balances, we identify the swimming speed of the filament (equation (2.35)) entirely in terms of the moment forcing function and a symmetric swimming speed function Gswim (equation 2.36) that is constructed from G, bypassing the explicit solution for the filament shape. In §3, we next consider an eigenvalue/eigenfunction problem for Gswim that can be solved numerically (for arbitrary forcing phases) to obtain an orthonormal eigenmode basis (equation (3.1)) from which to construct the forcing function, and evaluate the swimming speed (equation (3.2)). We also construct an optimization procedure, which shows that these eigenfunctions produce local minima or maxima for the swimming speed, subject to a fixed forcing magnitude constraint.

We next demonstrate the advantages of this method using two key examples. We first consider a travelling wave of forcing, obtaining similar results to those observed in biological spermatozoa [4], and identifying the optimal forcing wavelength and a range of near-optimal values for the dimensionless parameter Sp that denotes the relative elastic properties of the filament (figure 2a). We then consider the case of monophasic forcing, analytically solving for the four non-zero eigenvalues and eigenfunctions. Considering potential applications to experimental, artificial swimmers [25,30], we demonstrate analyses that can be used to optimize the swimming speed, subject to a variety of physical constraints and limitations. In particular, and somewhat counter-intuitively, we show that swimming with a fixed total forcing magnitude is optimized in the limit of single-point actuation (rather than distributed forcing) and produces a far greater swimming speed than even eigenfunction forcing under the same constraint. We conclude in §4 with a summary of the key results, and offer a discussion of potential extensions of our modal approach to more complex waving swimmers.

2. Classical elastohydrodynamics of active filaments

A great deal of classical work has been done in modelling the response of the filament shape to both proximal and internal forcing, and how the resultant motion induces driving forces and locomotion [1,4,5,18,34]. Here we summarize this work, in particular presenting the classical linearized, dimensionless EHD equations that balance the hydrodynamic, elastic and active internal forces. We then solve these for general active forcing using a Green’s function, and thence derive the swimming speed function Gswim. Unless stated otherwise, we work below in the lab frame with standard Cartesian (x,y) axes; this is the frame in which the fluid is stationary in the far field, and in which the filament achieves net displacement through swimming, as would be observed under a stationary microscope.

(a). Summary of classical work

Parameterization and notation. We begin by parameterizing the filament of length L by its arc length 0≤s≤L and tangent angle ψ(s,t), giving tangent vector t=(cos⁡ψ,sin⁡ψ) and normal vector n=(−sin⁡ψ,cos⁡ψ), as shown in figure 1. The front tip, s=0, has position X(t) and instantaneous velocity (−U,V) (note the sign convention applied to U; forwards swimming gives U>0). The position x(s,t) and velocity u(s,t) of a material point along the filament are then given by

Figure 1.

Active filament.

Active filament. Parameterization of a (dimensional) filament of total length L. Notation includes: arc length 0≤s≤L, tangent angle ψ, tangent vector t, normal vector n, tip position X and instantaneous tip velocity (−U,V).

(2.1)x(s,t)=X(t)+∫0s(cos⁡ψ(s′,t)sin⁡ψ(s′,t)) ds′,(2.2)u(s,t)=(−U(t)V(t))+∫0s(−sin⁡ψ(s′,t)cos⁡ψ(s′,t))ψt(s′,t) ds′.

Dimensional hydrodynamic and EHD equations. The filament is subject to elastic forces with bending modulus A; as is standard, A has units Nm⁣2, and is a measure of the stress required to bend the filament, see equation (2.4). The filament is also subject to an active (internal) moment forcing m(s,t), interpreted physically as the moment exerted by material at s+ on material at s−. Therefore, ms is both the active moment per unit length acting on the filament, and the force exerted by material at s+ on material at s−. It follows that mss can be interpreted as the active force per unit length acting on the filament. Fluid drag acting on the filament is calculated using resistive-force theory [35], with parallel motion (i.e. motion in the direction of the long axis of the filament) incurring a drag force per unit length of c‖ per unit filament speed, and perpendicular motion incurring a drag force per unit length of c⟂ per unit filament speed, giving an overall hydrodynamic drag force per unit length

f=−c⟂(u⋅n)n−c‖(u⋅t)t=−c⟂u+(c⟂−c‖)(u⋅t)t. (2.3)

The motion of the filament is then determined by balancing the elastic, active and hydrodynamic forces. For brevity, we omit the derivation of the classical EHD equations, often done through variational calculus [34], and instead directly state them:

(2.4)ψt=1c⊥(−Aψssss+msss+ψsτs+τψss)+1c‖ψs(Aψsψss−ψsms+τs),(2.5)τss−c‖c⊥ψs2τ=c⊥+c‖c⊥ψs(mss−Aψsss)+ψss(ms−Aψss).

Here τ is an elastic tension force (units of N) that enforces inextensibility. Note that the applied moment per unit length ms has replaced the internal moment per unit length af in Ref[34].

Dimensionless equations. We now apply non-dimensionalization, scaling lengths with the filament length L, time with 1/ω (a relevant angular forcing frequency) and moments and forces with A/L and A/L2, respectively. Therefore the form of equation (2.2) for the filament velocity is unchanged,

u(s,t)=(−U(t)V(t))+∫0s(−sin⁡ψ(s′,t)cos⁡ψ(s′,t))ψt(s′,t)ds′, (2.6)

though now 0≤s≤1 and u, U and V have (implicitly) been non-dimensionalized by scaling them with Lω. In addition, the dimensionless hydrodynamic drag force per unit length is given by

f=Sp4(−u+c⟂−c‖c⟂(u⋅t)t), (2.7)

with the dimensionless ‘sperm’ number Sp defined as

Sp=L(A/ωc⟂)1/4=Lle, (2.8)

where le is the elastic penetration length, interpreted physically as the typical length scale over which an elastically travelling displacement wave is damped by fluid drag. Finally, we obtain the EHD equations in dimensionless form as,

(2.9)Sp4ψt=−ψssss+ψsτs+ψssτ+msss+c⊥c‖ψs(ψsψss+τs−msψs),(2.10)τss−c‖c⊥ψs2τ=c⊥+c‖c⊥ψs(−ψsss+mss)+ψss(−ψss+ms).

Global force balance. By noting that the total hydrodynamic force must be zero in Stokes flow, we can integrate the dimensionless hydrodynamic force density, equation (2.7), along the length of the filament, where u is given by equation (2.6) , giving a global dimensionless force balance as

(00)=∫01{((1−c⟂−c‖c⟂cos2⁡(ψ))U+c⟂−c‖c⟂sin⁡(ψ)cos⁡(ψ)V(−1+c⟂−c‖c⟂sin2⁡(ψ))V−c⟂−c‖c⟂sin⁡(ψ)cos⁡(ψ)U)+(∫0sψt(s′)sin⁡(ψ(s′))+c⟂−c‖c⟂cos⁡(ψ(s))ψt(s′)(sin⁡(ψ(s)−ψ(s′)))ds′∫0s−ψt(s′)cos⁡(ψ(s′))+c⟂−c‖c⟂sin⁡(ψ(s))ψt(s′)(sin⁡(ψ(s)−ψ(s′)))ds′)}ds, (2.11)

from which (the dimensionless) U and V will be determined.

Leading-order asymptotics. Next, we assume that the dimensionless forcing is small, of the form m=ϵm(1), and look to solve the problem in powers of ϵ≪1. While the following analysis is therefore rigorously valid only for small ϵ, previous results using similar analysis have demonstrated remarkable accuracy for even O(1) forcing [18]. Note that changing m to −m would have no effect on τ(s,t) or U(t), but would change the signs of ψ(s,t) and V(t). Furthermore, in the limit ϵ→0, we must have U→0 and τ→0. Therefore we deduce the following expansions in the small parameter ϵ

ψ=ϵψ(1)+ϵ3ψ(3)+…,          τ=ϵ2τ(2)+ϵ4τ(4)+…,U=ϵ2U(2)+ϵ4U(4)+…,          V=ϵV(1)+ϵ3V(3)+…. (2.12)

Note that the O(ϵ2) tension τ will, classically, prove absent from the leading-order problem and can henceforth be ignored. We have also assumed that, in the limit ϵ→0, the resting straight filament is aligned with the x axis; ψ=0. Linearizing equation (2.9) gives the classical hyperdiffusion equation for linear elastohydrodynamics

Sp4ψt(1)+ψssss(1)=msss(1), (2.13)

which describes the linearized local force balance between hydrodynamic drag (first term), restoring elastic effects (second term) and active forcing (third term). In this linear limit, the dimensionless elastic restoring moment and force exerted by material at s+ on material at s− are −ψs(1) and −ψss(1), respectively.

Boundary conditions. In the derivation of the full EHD equations through variational calculus in [34], boundary terms demand that both the force and torque provided by the filament itself (i.e. excluding the effects of hydrodynamic drag) must be zero at both boundaries. In our dimensionless, linear system, this becomes the conditions

m(1)−ψs(1)=ms(1)−ψss(1)=0. (2.14)

This is because said forces and torques are provided by material at s+ acting on material at s−, which cannot occur at the boundaries due to the lack of further material. This provides sufficient boundary conditions for the problem, albeit dependent on the choice of m. However, we later show that these can be reduced to boundary conditions that are independent of m, by suitable integration of equation (2.13) .

Leading order swimming speed. Finally, considering the global force balance equation (2.11) at leading order (specifically, O(ϵ) in the y component, and O(ϵ2) in the x component) yields leading order expressions for V and U,

(2.15)V(1)=−∫01(∫0sψt(1)(s′)ds′)ds,(2.16)U(2)=−∫01c⊥−c‖c‖ψ(1)V(1)+(∫0sc⊥c‖ψt(1)(s′)ψ(1)(s′)+c⊥−c‖c‖ψt(1)(s′)(ψ(1)(s)−ψ(1)(s′))ds′)ds.

We also soon show that the leading-order torque balance is zero, as required for free swimming.

(b). Integrated hyperdiffusion equation

In preparation for solving equation (2.13) for a general forcing function m using a Green’s function G, which will require setting m(1) to be a δ-function, we now integrate the equation three times. We define

(2.17)y(1)(s,t)=1Sp4∫0t(mss(1)(0,t′)−ψsss(1)(0,t′)) dt′+∫0sψ(1)(s′,t) ds′,(2.18)β(s,t)=∫0sy(1)(s′,t) ds′,(2.19)Ψ(s,t)=∫0sβ(s′,t) ds′.

Here, y(1) will soon be shown to be the leading-order vertical position of the filament as a function of s and t; β and Ψ have no discernible physical interpretation, besides their definitions in terms of y(1). The governing equations for these are simply Sp4yt(1)+yssss(1)=mss(1) for y(1), and Sp4βt+βssss=ms(1) for β, while the equation for Ψ is

Sp4Ψt+Ψssss=m(1). (2.20)

We now see that the boundary conditions equation (2.14), which here are equivalent to m(1)−Ψssss=ms(1)−Ψsssss=0, reduce to

Ψt=Ψst=0, (2.21)

at both boundaries, and these are the boundary conditions we henceforth consider.

(c). Calculating V(1) and U(2) and verifying global torque balance

We now obtain simple expressions for the velocity of the filament tip, for general time-periodic forcing m(1), by applying these governing equations and boundary conditions. Recalling equation (2.15), the vertical speed is given by

V(1)=−∫01(∫0sψt(1)(s′)ds′)ds=−1Sp4∫01(∫0sms′s′s′(1)(s′)−ψs′s′s′s′(1)(s′)ds′)ds=−1Sp4∫01(mss(1)(s)−mss(1)(0)−ψsss(1)(s)+ψsss(1)(0))ds=1Sp4(mss(1)(0)−ψsss(1)(0))=yt(1)(0,t)=Ψsst(0,t). (2.22)

Therefore, y(1)(0,t) can be understood as the vertical position of the front tip at time t in this linearized limit. From the definition of y(1), we then see that y(1)(s,t) is the leading-order vertical position of the point s at time t. Finally, note that periodic forcing, i.e. periodic Ψ, will therefore yield ⟨V(1)⟩=0, where ⟨…⟩ denotes the time-average over a period.

Similarly, we can determine the time-average of leading-order swimming speed, U(2). Noting that the time-average of ψ(1)ψt(1) is zero for periodic forcing, we find

⟨U(2)⟩=−c⟂−c‖c‖∫01{⟨ψ(1)V(1)⟩+(∫0s⟨ψt(1)(s′)ψ(1)(s)⟩ds′)}ds=−c⟂−c‖c‖∫01⟨ψ(1)[V(1)+(∫0sψt(1)(s′)ds′)]⟩ds=−c⟂−c‖c‖∫01⟨ψ(1)yt(1)⟩ds=−c⟂−c‖c‖∫01⟨ΨsssΨsst⟩ds. (2.23)

This is simply the classical propulsive force formula [1] divided by c‖. Here it will be useful to define the reduced swimming speed as U=2c‖c⟂−c‖⟨U(2)⟩, giving

U=−2∫01⟨ΨsssΨsst⟩ds. (2.24)

Finally, we can calculate the leading order global torque, measured about the tip, acting on the filament as

G(1)=∫01yt(1)sds=∫01Ψsstsds. (2.25)

Recalling that Ψst=Ψt=0 at both boundaries, we integrate by parts to obtain

G(1)=−∫01Ψstds=0, (2.26)

hence the leading-order global torque G(1) is indeed zero at all times.

(d). Solving for filament motion using a Green’s function

We now consider the simple case of a moment forcing function m(1)(s,t)=R[f(s)e−iϕ(s)eit], where f is real, ϕ(s) is the (real) phase function, and the angular frequency is 1 thanks to non-dimensionalization. The corresponding solution to equation (2.20) is given by Ψ=R[Φ(s)eit], where Φ is a complex function given by Sp4iΦ+Φssss=f(s)e−iϕ(s), with solution

Φ(s)=∫01G(s;ξ)f(ξ)e−iϕ(ξ)dξ. (2.27)

G(s;ξ) is the Green’s function of the problem, given by

Sp4iG+G′′′′=δ(s−ξ), (2.28)

and subject to G=Gs=0 at both boundaries. The full derivation and expression for G are given in appendix A. In particular, G is comprised entirely of the four natural modes eks, where k4=−Sp4i. Therefore, the solution Ψ=R[Φ(s)eit] for general forcing function m(1)(s,t)=R[f(s)e−iϕ(s)eit] is written as

Ψ(s,t)=R[eit∫01G(s;ξ)f(ξ)e−iϕ(ξ) dξ]. (2.29)

Recalling that y(1)=Ψss and ψ(1)=Ψsss, this then allows us to express the filament shape in terms of the derivatives of G with respect to s,

y(1)(s,t)=R[eit∫01G″(s;ξ)f(ξ)e−iϕ(ξ) dξ], (2.30)

or equivalently,

ψ(1)(s,t)=R[eit∫01G‴(s;ξ)f(ξ)e−iϕ(ξ) dξ]. (2.31)

Note that G, and therefore Ψ, y(1) and ψ(1), are dependent upon the dimensionless sperm number Sp that parameterizes the problem. We omit the explicit dependence on Sp for brevity, but proceed with the understanding that any calculation is done for a specific value of Sp. In particular, any optima that we identify are the optima for a specific value of Sp, and variation of Sp will be necessary to determine global optima.

(e). Calculating the swimming speed using G

The result in equation (2.24) can be used to calculate the swimming speed when the filament shape is known. We would first need to calculate Ψ and its derivatives, perform a time-average, and finally an integral in s. However, it is possible to circumvent calculating the filament shape, and instead calculate the swimming speed directly from the forcing function and G, using a double integral. For general moment forcing m(1)(s,t)=R[f(s)e−iϕ(s)eit], we show in appendix B that U is given by

U=−∫ξ1=01∫ξ2=01f(ξ1)ℑ[G′(ξ1;ξ2)ei(ϕ(ξ1)−ϕ(ξ2))]f(ξ2)dξ2dξ1. (2.32)

Importantly, the derivation of this equation in appendix B involves a time-average over a period. Therefore, if higher frequency modes are present within m(1) (i.e. ω=2,3,4,… under the current non-dimensionalization, which is applied with regard to the fundamental mode) then their interactions will be averaged and vanish since, for example ⟨sin⁡(at)sin⁡(bt)⟩=0 when a and b are distinct integers. Similarly, any constant forcing (i.e. ω=0) will have no effect on the swimming speed, since constant forcing cannot produce swimming, nor can any interactions between this constant forcing and non-zero frequency modes. Noting that each mode will have its own non-dimensionalization, and therefore require its own unique re-dimensionalization, we deduce that the overall dimensional swimming speed can be obtained simply as the sum of the dimensional swimming speeds corresponding to each individual temporal mode of m(1). Obviously, this equation for the swimming speed is not very intuitive due to the complex values of G and eiϕ. We can further define real symmetric and antisymmetric functions as

(2.33)Gs(ξ1,ξ2)=−12(ℑ[G′(ξ1;ξ2)]+ℑ[G′(ξ2;ξ1)]),(2.34)Ga(ξ1,ξ2)=−12(R[G′(ξ1;ξ2)]−R[G′(ξ2;ξ1)]),

and these enable us to rewrite equation (2.32) as

U=∫ξ1=01∫ξ2=01f(ξ1)Gswim(ξ1,ξ2)f(ξ2)dξ2dξ1, (2.35)

where

Gswim(ξ1,ξ2)=Gs(ξ1,ξ2)cos⁡(ϕ(ξ1)−ϕ(ξ2))+Ga(ξ1,ξ2)sin⁡(ϕ(ξ1)−ϕ(ξ2)) (2.36)

is the (real) swimming speed function. The result in equation (2.35) is the first main result of this paper, showing the direct link between forcing (function f) and swimming (reduced speed U).

Once again, note that Gswim is dependent upon Sp, and also on the phase function ϕ, though we omit these dependences from the notation for brevity. By construction, Gswim is real and symmetric for any phase function ϕ. Once Gs and Ga are calculated, U can easily be numerically evaluated for any forcing magnitude f(s) and phase ϕ(s).

3. Modal analysis

By deriving and solving the classical forced hyperdiffusion equation for filament motion, we have determined equation (2.35) for the swimming speed U of the filament entirely in terms of the forcing function f and the real symmetric function Gswim that depends on the sperm number Sp and phase function ϕ.

There are, however, two practical concerns regarding equation (2.35). First, this equation has a quadratic computational complexity. If Gswim has been computed, and f is known, and the integrals are evaluated using some N-point numerical integration scheme (e.g. trapezium approximation), then evaluating U will usually be an O(N2) process. Second, if we are interested in maximizing U over choice of f, there is no clear way to do this using equation (2.35).

We now show that both concerns can be addressed by exploiting the real symmetric nature of Gswim and deriving a modal analysis of the system. We show that U can be well approximated using an O(N) or even O(1) process, and optimization techniques for the choice of f become available.

(a). Eigenfunctions and eigenvalues: theory

The key point that allows us to derive a modal analysis of this problem is to note that, as the continuum extension of a real symmetric matrix, Gswim has an infinite basis of orthonormal eigenfunctions gn(ξ) and corresponding eigenvalues λn, dependent upon Sp and ϕ, and given by

∫01Gswim(ξ1,ξ2)gn(ξ2) dξ2=λngn(ξ1),∫01gm(ξ)gn(ξ) dξ=δmn. (3.1)

We can express f in terms of this basis, and hence express the swimming speed from equation (2.35) via this modal approach, leading to

f(ξ)=∑n=1∞angn(ξ),an=∫01f(ξ)gn(ξ) dξ,U=∑n=1∞an2λn. (3.2)

Since eigenvalues typically decay in magnitude as n becomes large, a finite truncation of these series is usually sufficient to produce accurate results.

(b). Eigenfunctions and eigenvalues: computation

Algebraically calculating the eigenfunctions and eigenvalues of Gswim is often technically possible by exploiting the definition of Green’s function as the solution to a differential equation (see Example B below). However, it is usually easier to calculate them numerically by discretizing Gswim into an N×N real symmetric matrix and the eigenfunction gk into a real vector of length N,

Gmnmatrix=Gswim(2m−12N,2n−12N),gk,nvector=gk(2n−12N), (3.3)

where 1≤m,n≤N. The discretized eigenfunctions (eigenvectors in this context) and corresponding eigenvalues of equation (3.1) are therefore given by approximating the integral numerically as

Gmatrixgkvector≈Nλkgkvector, (3.4)

and so the eigenfunctions and eigenvalues can easily be obtained via standard methods of computing the eigenvectors and eigenvalues of a real symmetric matrix. Note that N must be large enough to accurately capture the behaviour of Gswim and its eigenfunctions; in practice we find that setting N=100 comfortably achieves this, in the sense that increasing N further, even to N=1000, had no discernible effect on any of the results or figures discussed below. Setting N=100 enables Gmatrix to be evaluated, and its eigenfunctions and eigenvalues calculated, practically instantly on a laptop computer. We find that the eigenvalues typically decay quite quickly, and only a handful of eigenfunctions need be considered in practice. Importantly, the number of relevant eigenvalues does not change noticeably when increasing N, see figure 2b below. Of course, the eigenfunctions and eigenvalues depend on the phase function ϕ and the sperm number Sp. While Sp is something that can be continuously varied to find an optimum, the function ϕ is often set by physical or biological context, as we will soon demonstrate with two key examples.

Figure 2.

Modal approach under traveling wave forcing.

Modal approach under travelling wave forcing. (a) Heatmap of the largest positive eigenvalue for various values of Sp and k, with k=0 (dashed red line) and the optimal k≈0.72 (dashed black line) indicated. Examples of spermatozoa swimming through in vitro fertilization medium (red, k=1.5, Sp=4 [4,36,37]) and a near-optimal active filament (solid pink, k=0.72, Sp=3) are also shown, as well as optimal swimming in the same direction as wave propagation (hollow pink, k=−1.5, Sp=3). (b) Log–log plot (base 10) showing the errors incurred as the truncation of equation (3.2) is varied, for a near-optimal filament (k=0.72, Sp=3). Eigenvalues are arranged in order of decreasing magnitude, normalized relative to the largest/first eigenvalue, and their decay as n increases is given (thick dashed black line). Also plotted is the relative error incurred by truncating equation (3.2) at the n-th term, normalized relative to the exact swimming speed calculated using equation (2.35), for simple forcing functions f(ξ)≡1 (red solid line), f(ξ)=sin⁡(2πξ) (blue) and f(ξ)=sin⁡(8πξ) (pink). (c) The eigenfunctions for the six eigenvalues with largest magnitudes, for the same near-optimal filament, normalized using the fixed forcing magnitude constraint, equation (3.5). The first and sixth eigenvalues are positive (solid lines) while the others are negative (dashed lines).

(c). Using calculus of variations to prove the eigenfunctions produce optimal swimming

To continue with this modal analysis, we first seek an intuitive understanding of the eigenfunctions and eigenvalues obtained above, in particular how they provide optimal choices for the forcing function. We first note that f must be constrained in some way, otherwise we could simply, for example, double f to quadruple U. Various physical and biological constraints may be relevant, such as having a fixed rate of doing work (particularly relevant for biological cells such as spermatozoa) or engineering constraints that limit the choice of f (relevant for artificial swimmers).

From a mathematical perspective, the simplest constraint is one of fixed average magnitude,

∫01f(ξ)2 dξ=1, (3.5)

which can be interpreted physically as the filament having a fixed total (squared) moment forcing. We then consider the variational optimization of the swimming speed subject to this fixed forcing magnitude, yielding the Lagrangian

L=∫ξ1=01∫ξ2=01f(ξ1)Gswim(ξ1,ξ2)f(ξ2) dξ2dξ1−λ[∫01f(ξ)2 dξ−1], (3.6)

where λ acts as the Lagrange multiplier of the variational problem, enforcing the constraint in equation (3.5) (i.e. the bracketed term is zero). Applying the standard perturbation f↦f+δf yields a linear change in the Lagrangian given by

12δL=∫ξ1=01∫ξ2=01δf(ξ1)Gswim(ξ1,ξ2)f(ξ2) dξ2dξ1−λ∫01δf(ξ)f(ξ) dξ. (3.7)

By writing this as

12δL=∫ξ1=01δf(ξ1)[∫ξ2=01Gswim(ξ1,ξ2)f(ξ2) dξ2−λf(ξ1)] dξ1, (3.8)

we establish the solution to this variational problem as the function f (obeying the fixed forcing magnitude constraint) satisfying

∫ξ2=01Gswim(ξ1,ξ2)f(ξ2) dξ2=λf(ξ1). (3.9)

The result in equation (3.9) shows that the eigenfunctions f of Gswim are precisely the choice of forcing function which provide (local) optima to this variational problem. In other words, setting f to be an eigenfunction of Gswim necessarily yields a local maximum (or minimum) for the swimming speed. The global maximum (for each particular value of Sp and ϕ) can then be identified as the eigenfunction with the largest (positive) eigenvalue, which can then be maximized over all acceptable choices of Sp and ϕ to obtain the true maximum swimming speed. Alternatively, swimming in the opposite direction can be maximized by choosing the eigenfunction with the largest (in magnitude) negative eigenvalue. It should be noted that this simple choice of f is only optimal when the constraint upon f truly is a fixed magnitude constraint; a variety of other constraints may be relevant, such as a fixed rate of doing work, or constraints upon f itself (see Example B below). In such cases, the full suite of eigenfunctions will have to be considered in general, though typically all but a handful of these can be neglected by virtue of small eigenvalues.

(d). Example A: travelling wave forcing

We now consider the application of our modal approach to two relevant examples. A biologically relevant situation is that of a travelling wave of forcing [4]. If we set ϕ(s)=2πks for some constant k, the overall moment forcing is then given by

m(1)(s,t)=R[f(s)ei(t−2πks)]. (3.10)

This corresponds to a forcing wave of wavelength 1/k (i.e. there are k wavelengths on the flagellum) travelling at speed 1/2πk in the backwards direction, i.e. from the proximal end (s=0) to the distal end (s=1). This is approximately observed in real spermatozoa, both in high-viscosity, viscoelastic cervical mucus substitute (k≈2−3, Sp≈24) and low-viscosity in vitro fertilization medium with viscosity similar to that of water (k≈1.5, Sp≈4) [4,36,37].

With the moment forcing in equation (3.10), the swimming speed function Gswim is given by

Gswim(ξ1,ξ2)=Gs(ξ1,ξ2)cos⁡(2πk(ξ1−ξ2))+Ga(ξ1,ξ2)sin⁡(2πk(ξ1−ξ2)). (3.11)

Note that the forcing strength f is stationary and does not move with the wave. One naturally expects swimming to occur in the direction opposite to the direction of wave propogation, i.e. Uk>0 under the current sign convention, and this is observed in spermatozoa [4,36,37], with backwards travelling waves (k>0) generating forwards swimming (U>0). In addition, k<0 corresponds to forwards travelling waves, which are generally not biologically observed.

(i). Results of modal analysis

Optimal swimming mode. For each Sp and k, we next apply the above modal approach to compute the eigenvalues of equation (3.11). The magnitude of largest positive eigenvalue is plotted in figure 2a as a function of Sp and k (allowing both signs for k). For each value of the parameters, this corresponds to the optimal swimming speed under the constraint of fixed forcing magnitude. Note that, given the distributed forcing, swimming speed does not tend to zero as Sp→0, in contrast to classical results for single-point actuation [17]. However, the swimming speed does tend to zero as Sp becomes large, corresponding to elastic waves that decay over very short dimensionless length scales.

We observe that, in accordance with the intuition that Uk>0 in the biological world (i.e. swimming occurs in the direction opposite to wave propagation), the optimal k (i.e. that which maximizes forward swimming) is positive, approximately k=0.72 (dashed black line in figure 2a). In fact, there is a large region of near-optimality, for a range of values of both k and Sp, and the dependence on Sp within this region is extremely weak. This means that there is a great deal of freedom in choosing k and especially Sp to optimize the forward swimming speed. Note that the actual optimum has Sp→0, which is obviously physically impossible. Therefore we often select a ‘near-optimum’ (solid pink dot in figure 2a) that could correspond to a real swimmer, without any notable sacrifice to swimming speed.

Remarkably, the conditions for near-optimal swimming of this isolated filament (solid pink dot in figure 2a) are similar to the conditions observed in real spermatozoa swimming through water-like in vitro fertilization medium (red dot in figure 2a) [4,36,37]. This suggests that despite the various assumptions made, such as the linearization and lack of a head, an active filament model reasonably approximates biological spermatozoa.

Interestingly, Uk<0 is also possible, and surprisingly effective (local optimum in the region Uk<0 shown by the hollow pink dot in figure 2a), with forwards travelling waves able to generate approximately half the maximum speed compared with the Uk>0 case.

Superposition of modes. If f cannot be freely chosen, or is not subject to a fixed forcing magnitude, we must use the full suite of eigenfunctions and eigenvalues. Fortunately, the eigenvalues decay rapidly, as shown in figure 2b (thick dashed black line) for a near-optimal filament with k=0.72 and Sp=3. Of course, a small eigenvalue can still contribute significantly to U if the corresponding coefficient an is large enough. For a typical forcing function f(ξ)≡1, approximately observed in spermatozoa [4], figure 2b also shows that the relative errors in approximating U using a truncation of equation (3.2), compared with using the exact expression in equation (2.35), also decays rapidly, and only a few terms need be retained to obtain an accurate result.

For comparison, we also show in figure 2b the corresponding results obtained by setting f(ξ)=sin⁡(2πξ) and f(ξ)=sin⁡(8πξ). Overall, only a small truncation is needed, with just 10 terms being sufficient to obtain an error of less than 0.01% for both f(ξ)≡1 and f(ξ)=sin⁡(2πξ), with the higher-frequency forcing f(ξ)=sin⁡(8πξ) incurring an error of approximately 0.1% using the same number of modes.

This increase in error induced by higher frequency forcing can be understood physically by examining the form of the eigenfunctions. The six eigenvalues with largest magnitudes, and their corresponding eigenfunctions (normalized using the fixed forcing magnitude constraint, equation (3.5)), are shown in figure 2c, again for a near-optimal filament with k=0.72 and Sp=3. Despite the fact that the forcing wave is travelling backwards (i.e. k>0) four of these six eigenvalues are negative (the largest eigenvalue is positive, however, and more than twice the magnitude of any other eigenvalue). Furthermore, the negative eigenvalues appear to have eigenfunctions which are significantly more oscillatory than their counterparts for positive eigenvalues, and the eigenfunction of the largest eigenvalue is the least oscillatory of all. In fact, the frequency of the eigenmodes increases as the magnitudes of the eigenvalues decrease, explaining the greater errors observed for higher frequency forcing seen in figure 2b. Finally, note that the eigenfunction of the largest eigenvalue is close to the actual forcing observed in real spermatozoa [4].

It is important to note that these results do not discernibly change when increasing N, hence the number of relevant eigenfunctions and eigenvalues does not change as N is further increased. We can therefore generally truncate equation (3.2) to a fairly small number of modes, while still retaining excellent accuracy in calculating the swimming speed.

(ii). Computational considerations

When f can be freely varied, and is subject to a fixed forcing magnitude, we immediately obtain the optimal f for fixed Sp and k as the eigenfunction with the largest eigenvalue. Otherwise, we use a finite truncation of equation (3.2), and this provides multiple computational advantages compared with standard methods of calculating U.

For any given f, the swimming speed could be evaluated without the use of the modal approach, using equation (2.35), by performing a double integral. Assuming said integrals are calculated numerically, using some N-point scheme (such as a trapezium approximation), this represents a computational complexity of O(N2). However, using the modal approach, with a finite truncation of the eigenfunctions in equation (3.2) (e.g. retaining the 10 largest-in-magnitude eigenvalues), we instead only need to calculate a fixed number of single integrals, and so the overall computational complexity of calculating U is O(N), with a slight trade-off of accuracy in the result due to the neglected eigenfunctions. Of course, this requires us to know the eigenfunctions and eigenvalues; however, once these are calculated, they can be applied to calculate U in O(N) time for any f.

This advantage is even more striking if, instead of choosing f and then calculating integrals to identify the coefficients an of equation (3.2), we do the converse: select the an, and use these to calculate f. Not only does this fully circumvent the need to calculate the integrals, enabling U to be computed with O(1) complexity, but it reduces the phase space of f from an infinite-dimensional one (where f can be continuously varied) to one of finite dimensions. Then the optimal f, for that particular Sp and k, can be identified easily by maximizing U through variation of the an.

Clearly, the actual procedure to calculate U will depend on the constraints imposed on f. Furthermore, these methods do not provide any way to maximize U over all Sp and k.

(e). Example B: monophasic forcing

Having considered an example that is biologically relevant, we now turn to one that is applicable to the design of artificial swimmers. Due to the difficulties of engineering on such small scales, forcing is typically simple in form. Two notable examples of experimental artificial swimmers are the filament made of magnetic beads used in [25], and the polymeric flagellum actuated by cardiomyocytes used in [30]. In both of these cases, forcing generally acts in phase, ϕ≡0 (equivalent to the k=0 case in the previous example), with the former applying distributed forcing and the latter utilizing point actuation. When taking ϕ≡0, Gswim is given simply by

Gswim(ξ1,ξ2)=Gs(ξ1,ξ2)=−12(ℑ[G′(ξ1;ξ2)]+ℑ[G′(ξ2;ξ1)]). (3.12)

In this section, we apply our modal approach to develop optimization techniques for such artificial swimmers. We find, remarkably, that only (exactly) four of the eigenvalues are non-zero. Two of these are simply negatives of the other two, their eigenfunctions being reflections, due to the symmetry of the filament. We start below by analytically proving that only four of the eigenvalues are non-zero, followed by developing an analytic method to calculate the corresponding eigenfunctions. We then apply these results to establish exact formulae for the swimming speed U, before making various approximations to optimize the configuration of an artificial swimmer, and demonstrating this using simple examples.

(i). Only four eigenvalues are non-zero

Given the swimming speed function in equation (3.12), the eigenfunction f with eigenvalue λ satisfies

λf(ξ1)=∫01Gswim(ξ1,ξ2)f(ξ2) dξ2=12ℑ[∫01−G′(ξ1;ξ2)f(ξ2)−G′(ξ2;ξ1)f(ξ2) dξ2]=12ℑ[−∂∂ξ1(∫01G(ξ1;ξ2)f(ξ2) dξ2)+∫01G(ξ2;ξ1)∂∂ξ2(f(ξ2)) dξ2]=12ℑ[−I1′(ξ1)+I2(ξ1)]=R[I3], (3.13)

where I1 and I2 are the solutions to the differential equations

(3.14)Sp4iI1(ξ1)+I1⁗(ξ1)=f(ξ1),(3.15)Sp4iI2(ξ1)+I2⁗(ξ1)=f′(ξ1),

and I3=12i(I1′−I2) satisfies the equation

Sp4iI3(ξ1)+I3′′′′(ξ1)=0, (3.16)

with I(0)=I(1)=I′(0)=I′(1)=0 for both I1 and I2.

Defining, as in appendix A, η=e−πi/8, we therefore deduce that

I3(ξ1)=AeSpηξ1+BeSpηiξ1+Ce−Spηξ1+De−Spηiξ1 (3.17)

consists entirely of the natural modes of the filament. Therefore, since the eigenfunction f must satisfy λf(ξ1)=R[I3], we deduce that λ=0 whenever f contains a non-natural mode, and so there are only finitely many eigenfunctions with non-zero eigenvalues, each constructed entirely using the natural modes. Using complex coefficients, I3 has only four modes, while using real coefficients, f has eight modes. Note, however, that I3(0)=I3(1)=0, which reduces the number of independent modes of I3 to two, therefore reducing the number of independent modes of f to four. Hence there are at most four eigenfunctions f with non-zero eigenvalue, and by symmetry, two of these eigenfunctions will simply be reflections of the other two, their eigenvalues being negatives.

We can identify the I3 corresponding to each mode of f, and equating modes then results in an eigenvector problem, allowing us to find the eigenfunctions f and their corresponding eigenvalues. This can be done using a standard method (see appendix C) to obtain an 8×8 system with four zero eigenvalues. Alternatively, as we now show, we can instead incorporate the boundary conditions for I3 directly into the eigenfunction calculation to obtain a simpler 4×4 system that fully identifies the eigenfunctions and eigenvalues, and demonstrates their symmetry.

(ii). Analytic calculation of eigenvalues

The function I3 must obey I3(0)=I3(1)=0, and therefore, by expressing two of the coefficients in terms of the other two, we find that, regardless of f, we can express I3 in the form

I3(ξ1)=Afs(ξ1)+Bfa(ξ1) (3.18)

for symmetric (fs(1−ξ1)=fs(ξ1)) and antisymmetric (fa(1−ξ1)=−fa(ξ1)) functions

(3.19)fs(ξ1)=eSpηξ1+eSpηe−Spηξ11+eSpη−eSpηiξ1+eSpηie−Spηiξ11+eSpηi,(3.20)fa(ξ1)=eSpηξ1−eSpηe−Spηξ11−eSpη−eSpηiξ1−eSpηie−Spηiξ11−eSpηi.

The forcing f must also have this form to be an eigenfunction with non-zero eigenvalue, and in particular we can calculate I1 and I2 for the four different modes of f. For f(ξ)=R[bfs(ξ1)], where b=1 or b=i, we have

I1(b,s)(ξ1)=bξ18Sp3η3(eSpηξ1−eSpηe−Spηξ11+eSpη−ieSpηiξ1−eSpηie−Spηiξ11+eSpηi)+b∗fs(ξ1)∗4Sp4i+A1(b,s)eSpηξ1+B1(b,s)eSpηiξ1+C1(b,s)e−Spηξ1+D1(b,s)e−Spηiξ1,I2(b,s)(ξ1)=bξ18Sp2η2(eSpηξ1+eSpηe−Spηξ11+eSpη+eSpηiξ1+eSpηie−Spηiξ11+eSpηi)+b∗fs′(ξ1)∗4Sp4i+A2(b,s)eSpηξ1+B2(b,s)eSpηiξ1+C2(b,s)e−Spηξ1+D2(b,s)e−Spηiξ1. (3.21)

In addition, if f(ξ)=R[bfa(ξ1)], where b=1 or b=i, we obtain

I1(b,a)(ξ1)=bξ18Sp3η3(eSpηξ1+eSpηe−Spηξ11−eSpη−ieSpηiξ1+eSpηie−Spηiξ11−eSpηi)+b∗fa(ξ1)∗4Sp4i+A1(b,a)eSpηξ1+B1(b,a)eSpηiξ1+C1(b,a)e−Spηξ1+D1(b,a)e−Spηiξ1,I2(b,a)(ξ1)=bξ18Sp2η2(eSpηξ1−eSpηe−Spηξ11−eSpη+eSpηiξ1−eSpηie−Spηiξ11−eSpηi)+b∗fa′(ξ1)∗4Sp4i+A2(b,a)eSpηξ1+B2(b,a)eSpηiξ1+C2(b,a)e−Spηξ1+D2(b,a)e−Spηiξ1. (3.22)

Here there are 32 coefficients that must be evaluated by applying the boundary conditions on I1 and I2. According to equations (3.14) and (3.15), and the definition of I3, we see that a symmetric f results in an antisymmetric I3, and an antisymmetric f results in a symmetric I3. Recalling the form that I3 must take, equation (3.18), and that the non-natural modes of I1 and I2 vanish in I3, we deduce that

(3.23)I3(b,s)(ξ1)=12i((I1(b,s))′−I2(b,s))=E3(b,s)fa(ξ1),(3.24)I3(b,a)(ξ1)=12i((I1(b,a))′−I2(b,a))=E3(b,a)fs(ξ1),

where each of the new coefficients is given by

(3.25)E3(b,a)=12i(1+eSpη)(SpηA1(b,a)−A2(b,a)),(3.26)E3(b,s)=12i(1−eSpη)(SpηA1(b,s)−A2(b,s)).

These four coefficients can be calculated for any given Sp, and this gives us a fully determined system. If we write the eigenfunction as

f(ξ1)=AfR[fs(ξ1)]+BfR[fa(ξ1)]+CfR[ifs(ξ1)]+DfR[ifa(ξ1)], (3.27)

then this results in an I3 given by

I3(ξ1)=(AfE3(1,s)+CfE3(i,s))fa(ξ1)+(BfE3(1,a)+DfE3(i,a))fs(ξ1). (3.28)

Recalling that the coefficients of f are real, and that λf=R[I3], we finally obtain an eigenvector problem

λ[AfBfCfDf]=[0R[E3(1,a)]0R[E3(i,a)]R[E3(1,s)]0R[E3(i,s)]00I[E3(1,a)]0I[E3(i,a)]I[E3(1,s)]0I[E3(i,s)]0][AfBfCfDf]. (3.29)

This equation can easily be solved for the coefficients of f, therefore identifying the eigenfunctions and eigenvalues. Furthermore, we see that any solution has the property that a change Bf↦−Bf,Df↦−Df,λ↦−λ still satisfies this equation, which is equivalent to a change f(ξ)↦f(1−ξ) with negative eigenvalue, as required by symmetry of the filament.

(iii). Results of modal analysis

Having shown that only four eigenvalues are non-zero, and derived a method by which to calculate them analytically, we now present these results, and exploit them to calculate the swimming speed. Denoting the two positive eigenvalues by λ+ and λ−, with corresponding eigenfunctions g+ and g−, respectively, equation (3.2) simplifies to

U=[(∫01f(s)g+(s) ds)2−(∫01f(s)g+(1−s) ds)2]λ++[(∫01f(s)g−(s) ds)2−(∫01f(s)g−(1−s) ds)2]λ−. (3.30)

In particular, if the artificial filament is powered by M discrete actuators, modelled as δ-functions with strengths Fm and positions ξm, this formula can be written as

U=[(∑m=1MFkg+(ξk))2−(∑m=1MFkg+(1−ξk))2]λ++[(∑m=1MFkg−(ξk))2−(∑m=1MFkg−(1−ξk))2]λ−. (3.31)

These equations yield significant results, enabling U to be determined through only four sums or integrals. Again, this represents a reduction in complexity from O(N2) to O(N) (N discretization points for a continuous f) or from O(M2) to O(M) (number M of discrete actuators) compared with equation (2.35). However, while useful for computation of U for a particular f and Sp, these equations are not, a priori, conducive to analysis, nor to any optimization over f and Sp besides brute-force methods, and thus require further simplification.

(iv). Finding the optimal sperm number and neglecting the smaller eigenvalue

We find that both eigenvalues have a maximum at a single value of Sp, as illustrated in figure 3a (Note that, since λ+ is much larger than λ−, we plot λ+ against 10λ−). We see that λ+ has a maximum of λ+≈0.00170 at Sp≈4.70, where it is approximately a hundred times larger than λ− at the same point. Furthermore, the maximum value of λ+ is approximately 20 times larger than that of λ−. Since λ+ is much larger than λ−, we set the sperm number to be Sp=4.7, for the remainder of this example. For this optimal Sp, the eigenfunctions g+ and g− (for comparison) are shown in figure 3b.

Figure 3.

Eigenvalues and eigenfunctions for monophasic forcing.

Eigenvalues and eigenfunctions for monophasic forcing. (a) The large (red) and small (blue) eigenvalues, λ+ and λ−, respectively, for monophasic forcing, ϕ≡0. Note that λ+ is plotted against 10λ−. (b) Eigenfunctions corresponding to the large (red) and small (blue) eigenvalues, g+ and g−, respectively, normalized with the established fixed forcing magnitude condition, for the optimal sperm number Sp=4.7.

Since λ+≫λ−, an approximate solution may be obtained by neglecting in the analysis the smaller eigenvalue and eigenfunction. The swimming speed under continuous forcing f can then be expressed approximately as

U≈[(∫01f(s)g+(s)ds)2−(∫01f(s)g+(1−s)ds)2]λ+, (3.32)

or, for M discrete actuators,

U≈[(∑m=1MFkg+(ξk))2−(∑m=1MFkg+(1−ξk))2]λ+. (3.33)

These formulae represent further improvement. Since we have set Sp to take its approximate optimal value, optimizing the swimming speed over choice of f therefore produces the approximate global maximum value of U across all values of Sp, eliminating the need to vary Sp manually. These formulae also require only half as many calculations compared with equations (3.30) and (3.31).

(v). Swimming speed as the difference of two squares

Aiming to find the simplest mathematical method to maximize the value of U, we now define symmetric and antisymmetric functions, gs and ga, respectively, to be twice the symmetric and antisymmetric components of the eigenfunction g+:

gs(s)=g+(s)+g+(1−s),ga(s)=g+(s)−g+(1−s). (3.34)

These two functions are shown in figure 4a, with their ratio (to be used later) plotted in figure 4b. The swimming speed from equation (3.32) is then given by

Figure 4.

Symmetric and antisymmetric decomposition of eigenmodes.

Symmetric and antisymmetric decomposition of eigenmodes. (a) Symmetric function gs (thick solid line) and antisymmetric function ga (thick dashed line); the lines g=0 and s=0.5 are shown as thin dashed lines. (b) Ratio ga(s)/gs(s) used for optimizations.

U≈[∫01f(s)gs(s)ds][∫01f(s)ga(s)ds]λ+, (3.35)

or for discrete actuators, equation (3.33) becomes

U≈[∑m=1MFmgs(ξm)][∑m=1MFmga(ξm)]λ+. (3.36)

In optimizing the filament, we may assume (without loss of generality) that both integrals/sums are non-negative.

(vi). Application to artificial swimmers with continuous forcing

An artificial swimmer is unlikely to be constrained by the fixed forcing magnitude condition given by equation (3.5); instead the limitations are more likely to be in the engineering and fabrication of the forcing on such small scales. We apply a more appropriate constraint below, but for now let us consider the simple situation where each location ξ along the filament is either passive (f(ξ)=0) or forced (f(ξ)=1). This is a reasonable parallel to the artificial microswimmer demonstrated in [25], where forcing is provided by magnetic beads (where f(ξ)≠0), potentially alternating with inert sections of filament (f(ξ)=0). Note, however, that this specific example [25] utilizes externally powered actuation, and the resultant dynamics cannot be exactly described by the model developed in this paper. Nonetheless, it is an intuitive example of the form of a microswimmer that utilizes piecewise constant forcing. By using equation (3.35), we now determine the choice of f which maximizes the swimming speed.

Despite the temptation of using as much forcing as possible, simply setting f=1 everywhere cannot produce any swimming due to symmetry of the filament (figure 5a(i)), and a more detailed analysis is required. Using equation (3.35), with the functions gs and ga given in figure 4a, we see that, regardless of the values taken by f(ξ) for ξ>0.5, the swimming speed is always increased by setting f(ξ)=1 for all ξ≤0.5 (assuming without loss of generality that both integrals in equation (3.35) are non-negative). We immediately deduce that a possible swimmer has f(ξ)=1 for ξ≤0.5 and f(ξ)=0 for ξ>0.5 (figure 5a(ii)).

Figure 5.

Artificial swimmers with continuous (a) and discrete (b) forcing.

Artificial swimmers with continuous (a) and discrete (b) forcing. (a) Example artificial swimmers, with continuous, piecewise constant forcing, of progressively increasing speeds, optimized using equation 3.35. Solid lines represent the filaments at t=0, and t increases to π in progressively fading lines. Speeds have been divided by λ+ to produce the speed factor (SF) as a percentage. (i) Uniformly forced filament that cannot swim due to the scallop theorem. (ii) Simple swimmer with forcing in the front half only. (iii) Swimmer with frontal forcing occupying an optimal fraction of the filament. (iv) Swimmer with optimally chosen positive and negative forcing. An animated version of these swimmers is shown in electronic supplementary material, video S1. (b) Example artificial swimmers for M=1,2,3,5,7,9 discrete actuators, each of strength 1/M, with speed factors indicated. Minimum spacing of 0.1 between actuators. An animated version of these swimmers is shown in electronic supplementary material, video S2.

We can further improve this swimmer by setting f(ξ)=1 for some values of ξ>0.5. Suppose that f takes its optimal value. Then any acceptable change in f (i.e. any change which maintains f(ξ)=0 or f(ξ)=1 at each ξ) will necessarily reduce the swimming speed. Calling such a change δf(s;ξ), which takes a constant non-zero value (either 1 or −1) in a small region of width Δ around s=ξ, and is zero elsewhere, the swimming speed is perturbed by

δU≈{[∫01f(s)gs(s)ds]ga(ξ)+gs(ξ)[∫01f(s)ga(s)ds]}Δλ+δf(ξ;ξ). (3.37)

For an optimal f, we require this to be negative whenever δf takes an allowable value. Therefore, if f(ξ)=1, then δU must be negative for δf(ξ;ξ)=−1, while if f(ξ)=0, then δU must be negative for δf(ξ;ξ)=1. We deduce that

(3.38)ga(ξ)(∫01f(s)gs(s) ds)+gs(ξ)(∫01f(s)ga(s) ds)≥0          when  f(ξ)=1,(3.39)ga(ξ)(∫01f(s)gs(s) ds)+gs(ξ)(∫01f(s)ga(s) ds)≤0          when  f(ξ)=0.

By noting that gs is positive, we can write these inequalities as

(3.40)∫01f(s)ga(s) ds∫01f(s)gs(s) ds+ga(ξ)gs(ξ)≥0          when  f(ξ)=1,(3.41)∫01f(s)ga(s) ds∫01f(s)gs(s) ds+ga(ξ)gs(ξ)≤0          when  f(ξ)=0.

As shown in figure 4b, the ratio ga/gs is an antisymmetric, strictly decreasing function of ξ. Therefore, assuming that f does not take the same constant value for all ξ, an optimal f that satisfies these inequalities must have a corresponding point ξ1∗ such that

∫01f(s)ga(s)ds∫01f(s)gs(s)ds=−ga(ξ1∗)gs(ξ1∗), (3.42)

with f(ξ)=1 for ξ<ξ1∗ and f(ξ)=0 for ξ>ξ1∗. Hence this implicit equation can be simplified as

∫0ξ1∗ga(s)ds∫0ξ1∗gs(s)ds=−ga(ξ1∗)gs(ξ1∗). (3.43)

We can solve equation (3.43) numerically to identify ξ1∗=0.625, with the corresponding swimmer illustrated in figure 5a(iii).

This procedure can easily be adapted to consider a somewhat more advanced swimmer where f can be 1, 0 or −1. Following the same logic we obtain

(3.44)∫01f(s)ga(s) ds∫01f(s)gs(s) ds+ga(ξ)gs(ξ)≥0          when  f(ξ)=1,(3.45)∫01f(s)ga(s) ds∫01f(s)gs(s) ds+ga(ξ)gs(ξ)=0          when  f(ξ)=0,(3.46)∫01f(s)ga(s) ds∫01f(s)gs(s) ds+ga(ξ)gs(ξ)≤0          when  f(ξ)=−1.

Once again, there is therefore a point ξ2∗ for which f(ξ)=1 for ξ<ξ2∗ and f(ξ)=−1 for ξ>ξ2∗. There can be no region where f=0 because that would require equation (3.45) to be satisfied within said region, which is impossible for the strictly decreasing ratio ga/gs. Then ξ2∗ is now given by

∫0ξ2∗ga(s)ds−∫ξ2∗1ga(s)ds∫0ξ2∗gs(s)ds−∫ξ2∗1ga(s)ds=−ga(ξ2∗)gs(ξ2∗). (3.47)

The implicit equation in equation (3.47) can be solved to find ξ2∗=0.701, resulting in the swimmer shown in figure 5a(iv).

The four artificial swimmers shown in figure 5a have progressively increasing speeds, as indicated in insets and quantified as speed fraction (SF), defined as the dimensionless speed divided by the eigenvalue λ+ and interpreted as the fraction of the swimming speed U that would be achieved by setting the forcing function f to be the eigenfunction g+. We see in particular that this final artificial swimmer can achieve a maximum of 69.9% of its optimal speed, as defined by setting f=g+. Animated versions of the swimmers of figure 5a are available in electronic supplementary material, video S1.

(vii). Piecewise constant forcing is optimized in the limit of single-point forcing

An optimal SF of 69.9% (figure 5a(iv)) is fairly respectable, and an artificial swimmer with this piecewise constant forcing would be a comparably fast swimmer with one that uses eigenfunction forcing. It is notable that the swimmer in figure 5a(iv) has a swimming speed that is less than double the swimming speed of the swimmer of figure 5a(ii), despite having twice as much total forcing. Indeed, uniformly doubling the forcing magnitude (from f(ξ) to 2f(ξ)) of any given swimmer would quadruple the swimming speed, which makes an improvement of less than double disappointing, and this motivates a new forcing constraint. An artificial swimmer is likely to be limited by the engineering involved in its fabrication, and this is likely to manifest as a total forcing magnitude constraint of the form

∫01|f(ξ)|dξ=1. (3.48)

A specific example of this would be the artificial millimetre-scale swimmer powered by cardiomyocytes (heart muscle cells) studied experimentally in [30], where each cardiomyocyte generates a fixed forcing moment. In that case, the most likely limitation is the number of muscle cells that can be cultured onto the filament, corresponding to the new forcing magnitude constraint in equation (3.48). Note that, under this constraint, g+ has a total forcing magnitude of approximately 0.84, rather than 1. Eigenfunction forcing under this new total forcing magnitude constraint (i.e. f=g+/0.84) will therefore produce a speed factor of 142.0%.

Returning to figure 5a, we observe that a swimmer that has f(ξ)=2 for ξ≤0.5 and f(ξ)=0 for ξ>0.5 (i.e. as in figure 5a(ii) but with doubled forcing and hence quadrupled speed) would swim more than twice as fast as one with the more distributed forcing |f(ξ)|=1 for all ξ (figure 5a(iv)), for the same total forcing magnitude as defined by equation (3.48). This suggests that distributing the forcing along a greater length is, perhaps counterintuitively, detrimental to swimming. This is in contrast to the biological situation of spermatozoa, which use distributed forcing along the entire axoneme [9–12].

In fact, as we are now going to show, in this new constraint swimming is optimized by taking the limit of single-point actuation; this will turn out to present up to fourfold improvement compared with the swimmer of figure 5a(iv), while still satisfying equation 3.48.

From previous swimmers illustrated in figure 5a, it is apparent from the signs of gs and ga (figure 4a) and of their ratio ga/gs (figure 4b), that positive forcing (f≥0) should exist in 0≤ξ≤0.5, and extending some way past 0.5, while negative forcing (f≤0) should occupy the remainder of the filament.

In the range 0≤ξ≤0.221, both gs and ga are increasing (figure 4a) and so any positive forcing in this range should be moved right if possible. Conversely, for 0.5≤ξ≤0.779, both gs and ga are decreasing and any positive forcing should be moved to the left. In the region 0.221≤ξ≤0.5, it is easily shown that gs and ga are both concave functions, and thus contracting any positive forcing (e.g. changing f(ξ)=F for ξ1≤ξ≤ξ2 into f(ξ)=F×(ξ2−ξ1)/(ξ2−ξ1−2ϵ) for ξ1+ϵ≤ξ≤ξ2−ϵ) will necessarily increase the swimming speed, since it would be increasing both terms in equation (3.35). From these observations, we deduce that the benefit to the swimming speed contributed by the positive forcing can be improved by contracting it, ideally to the limit of single-point actuation at some position in the interval 0.221≤ξ≤0.5.

Conversely, any negative forcing in the range 0.5≤ξ≤0.779 should be moved rightwards; in particular, this implies that all negative forcing should exist entirely to the right of any positive forcing. While gs is slightly concave in a small sub-region at the start of 0.779≤ξ≤1, it is convex in most of the region, with ga being convex in the entire region. Overall, swimming speed is therefore essentially increased by a contraction of the negative forcing in this region. Therefore we deduce that negative forcing should again be contracted as much as possible, ideally to the limit of single-point actuation at some point in the range 0.779≤ξ≤1, to produce near-optimal swimming speed.

(viii). Optimizing swimmers under discrete actuation

Having shown that piecewise constant forcing is optimized in the limit of single-point forcing, we now investigate numerically the optimal configurations, directly applying the results to the biohybrid swimmer of [30] shortly. Starting with the case of a single-point positive forcing, f(ξ)=δ(ξ−ξ1), and no negative forcing, we find that swimming speed is maximized by placing the actuator at ξ1=0.309, achieving a far greater swimming SF of 280.4% (see swimmer illustrated in figure 5b(i)). It is perhaps surprising that concentrating all the forcing in a single location can produce a far greater swimming speed compared even to eigenfunction forcing under the same fixed forcing magnitude constraint (equation (3.48)), with the speed factor almost doubling. In addition, suppose we instead want to use one positive and one negative forcing actuator of equal strength, 1/2. We find these should be placed at ξ1=0.357 and ξ2=0.902, respectively, though this only achieves an SF of 104.1% (figure 5b(ii)).

By varying over all possible allocations of forcing magnitudes between these two actuators, we find that just having a single, positive actuator of strength 1 at ξ1=0.309, and no negative actuator (i.e. the swimmer of figure 5b(i)), is optimal among all possible discrete actuations. Across the entire suite of forcing functions, the optimal swimming speed subject to the new constraint equation (3.48) is thus achieved using this single-point actuator.

From a practical standpoint, there may be situations in which an artificial swimmer cannot be constructed with all of its forcing applied to one location. For example, in the cardiomyocytes-powered swimmer from [30], the magnitude of the forcing that can be applied at a particular location is limited by the contractile force of the cardiomyocytes that power the filament. Since the filament has limited space and one cannot simply place arbitrarily many of these cardiomyocytes at ξ1=0.309, the forcing would probably need to be distributed over some length, using some number M of single-point actuators, possibly limited by some minimum spacing requirement between the actuators.

If the locations of the actuators were pre-determined (e.g. ξm=(2m−1)/2M), and we are free to choose the forcing strengths (Fm=1/M, 0 or −1/M), then the results in figure 5a serve as an excellent guide when M is large. In addition, brute force computations are feasible when M is small, since there are only 3M configurations and their number can be further reduced using the logic we have considered above (e.g. noting that actuators in ξ≤0.5 should have positive forcing).

On the other hand, the actuator locations may not be pre-defined, and we may instead be free to choose the optimal actuator location and forcing direction for a given number of actuators. As we have argued above, all actuators with the same forcing should be placed as close together as possible. We may assume (by symmetry) that at least half of the actuators have positive forcing, giving at most M/2 configurations for the number of actuators of each sign. For each of these, we are left with just two continuous parameters to optimize: the locations ξ1 and ξ2 of the centre of each group of actuators. In figure 5b(iii–vi), we illustrate the results obtained for M=3,5,7,9, assuming a minimum actuator separation of 0.1. As expected, we see that distributing the forcing over multiple actuators progressively decreases the swimming speed. For larger values of M, the inclusion of negative forcing actuators becomes necessary to achieve optimal swimming speed (figure 5b(v,vi)). Animated versions of the swimmers of figure 5b are available in electronic supplementary material, video S2.

(ix). Application to the biohybrid swimmer of Ref. [30]

The results of this paper, in particular those of figure 5b, can be applied to perform optimizations based on various constraints such as actuator separation and direction. A good example of such a swimmer is the approximately 2mm long biohybrid swimmer produced in [30]. This swimmer (which, in the experiments, possessed a passive head) was actuated by cardiomyocytes, cultured onto the flagellum near the point of attachment with the head. By applying our model, we can identify the optimal configuration for a headless swimmer, and compare our results to the numerical results obtained in [30] in the limit of a vanishing head. Simply applying the same value of Sp (4.19) and the same actuator location (around ξ=0.25) used in their experiments, we calculate a dimensional swimming speed of approximately 1.3μm s−1, in good agreement with their numerical results (1 to 2μm s−1). This agreement is despite the fact that the dimensionless moment forcing has a magnitude of approximately 4.5, suggesting our model remains reasonably accurate even for nonlinear actuation. Furthermore, the cardiomyocyte contractions were not simple sinusoidal functions of time, and higher temporal modes were present, though this is easily resolved since the temporal modes decouple and the overall dimensional swimming is simply the sum of the dimensional swimming speeds corresponding to each temporal mode. Modifying Sp (for example, by elongating the swimmer) and ξ to take their optimal values of 4.7 and 0.309, respectively (see figure 5b(i)), can increase this dimensional swimming speed, measured in swimmer lengths per second, by approximately 50%. Importantly, this is an immediate result requiring no additional analysis or computation.

4. Conclusion

The dynamics of slender filaments is relevant not only for modelling biological microorganisms such as spermatozoa, but also for the design and fabrication of artificial swimmers. By revisiting and linearizing classical elastohydrodynamic theory, we have derived simple expressions for the shape of the filament (equation (2.29)) in terms of Green’s function (appendix A) and for the swimming speed (equation (2.35)) in terms of the swimming speed function (equation (2.36)). In particular, the swimming speed may be evaluated, for a given forcing, without the need to explicitly calculate the shape of the filament, in an O(N2) process, where N is the number of points used to perform the numerical integration in equation (2.35). However, while useful for the quick and easy evaluation of the swimming speed, this process is not conducive to optimizations over choices of forcing functions.

The real symmetric nature of the swimming speed function suggests a modal approach, and we next numerically identified its eigenfunctions and eigenvalues by discretizing the swimming speed function as a large symmetric matrix. We further revealed via calculus of variations that these eigenfunctions provide optimal forcing functions for swimming, assuming a fixed forcing magnitude constraint (equation (3.5)). These eigenfunctions and eigenvalues provide an alternative method by which to calculate the swimming speed (equation (3.2)), and in particular most of the modes may be neglected by virtue of small eigenvalues. We have found that, in a variety of situations, only a small number of eigenmodes need be retained to produce accurate results (figure 2), thereby reducing the computational complexity in evaluating the swimming speed to an O(N) problem, or even an O(1) problem if the forcing function is initially constructed in terms of the modal basis.

Furthermore, this modal approach allows for optimizations of the forcing function, such as by approximating it as a sum of the dominant modes. In the particular situation of monophasic forcing, the eigenfunctions and eigenvalues may be calculated analytically, and in particular only four of the infinitely many eigenvalues are non-zero. These consist of two symmetric pairs, one of which is dominated by the other at optimal Sp (figure 3). By neglecting the lesser eigenvalue, we have revealed a wide range of analyses that allow for the optimal design of an artificial swimmer, subject to various constraints (figure 5), in particular producing effective swimmers that utilize piecewise constant forcing or single-point actuation, relevant to previously demonstrated artificial swimmers [25,30].

It is clear that the slender filaments considered are but a simplified model system. Real swimmers, both biological and artificial, typically carry a body. Not only does this allow for the transport of a payload, but the presence of a body can also be advantageous for producing increased swimming speed [30]. Furthermore, we have considered here only two-dimensional filament motion, while some spermatozoa can exhibit three-dimensional (often helical) motion [38–40]. Finally, our assumption of small (ϵ≪1) disturbances will inevitably lead to inaccuracies when modelling real swimmers with O(1) disturbances, though previous investigations have shown remarkable agreement even in such situations [18]. Despite these simplifications, we have obtained results which are quantitatively similar to those observed in spermatozoa swimming through in vitro fertilization medium (figure 2). Potential adaptations and improvements to this work include generalizations of the mathematical approach, such as considering different variational constraints which may produce new and interesting optimizations. Future work could also consider generalizations of the swimmer design and behaviour, such as through the inclusion of a head, as in spermatozoa and the aforementioned artificial swimmers, which have an effective head either in the form of a payload [25], or a designed head that improves swimming [30].

We hope that this work will be helpful in the design and optimization of artificial swimmers, and in aiding the ongoing understanding of the motion of spermatozoa and other microorganisms, with potential applications to fertility science, micro-engineering and general medical applications.

Appendix A. Green’s function for the hyperdiffusion equation

The Green’s function G(s;ξ) used in equation (2.29) is the solution to the equation

Sp4iG+G′′′′=δ(s−ξ). (A 1)

Note this corresponds to a single point actuator forcing located at position ξ along the filament. To enforce the zero force and moment boundary conditions on the filament, we require G=Gs=0 at s=0 and s=1. In addition, as standard for a Green’s function, G, G′ and G′′ must be continuous at s=ξ, with G′′′ jumping by a value of 1. The solution for G is given by

G=H(s−ξ)G++H(ξ−s)G−, (A 2)

where

G−(s)=A−eSpηs+B−eSpηis+C−e−Spηs+D−e−Spηis, (A 3)
G+(s)=A+eSpηs+B+eSpηis+C+e−Spηs+D+e−Spηis, (A 4)

with η=e−πi/8. The coefficients are determined by the boundary and jump conditions, via the matrix equation

[111100001i−1−i00000000eSpηeSpηie−Spηe−Spηi0000eSpηieSpηi−e−Spη−ie−Spηi−eSpηξ−eSpηiξ−e−Spηξ−e−SpηiξeSpηξeSpηiξe−Spηξe−Spηiξ−eSpηξ−ieSpηiξe−Spηξie−SpηiξeSpηξieSpηiξ−e−Spηξ−ie−Spηiξ−eSpηξeSpηiξ−e−Spηξe−SpηiξeSpηξ−eSpηiξe−Spηξ−e−Spηiξ−eSpηξieSpηiξe−Spηξ−ie−SpηiξeSpηξ−ieSpηiξ−e−Spηξie−Spηiξ][A−B−C−D−A+B+C+D+]=[00000001Sp3η3]. (A 5)

We have therefore solved the hyperdiffusion equation for the Green’s function G.

Appendix B. Derivation of equation (2.32)

Recalling that

U=−2∫01⟨ΨsssΨsst⟩ds, (B 1)

we derive here equation (2.32) for U, for general moment forcing m(1)(s,t)=R[f(s)e−iϕ(s)eit] and corresponding solution Ψ(s,t)=R[eit∫01G(s;ξ)f(ξ)e−iϕ(ξ) dξ]. We begin by substituting the solution for Ψ, moving the time-average inside the integrals:

U=−2∫s=01∫ξ1=01∫ξ2=01⟨R[eitG‴(s;ξ1)f(ξ1)e−iϕ(ξ1)]R[ieitG″(s;ξ2)f(ξ2)e−iϕ(ξ2)]⟩ dξ2dξ1 ds. (B 2)

Next we evaluate the time-averages to find

U=∫s=01∫ξ1=01∫ξ2=01{−I[G‴(s;ξ1)f(ξ1)e−iϕ(ξ1)]R[G″(s;ξ2)f(ξ2)e−iϕ(ξ2)]   +R[G‴(s;ξ1)f(ξ1)e−iϕ(ξ1)]I[G″(s;ξ2)f(ξ2)e−iϕ(ξ2)]} dξ2dξ1ds. (B 3)

We integrate by parts with respect to s, recalling that G′(0;ξ)=G′(1;ξ)=0,

U=∫s=01∫ξ1=01∫ξ2=01{I[G⁗(s;ξ1)f(ξ1)e−iϕ(ξ1)]R[G′(s;ξ2)f(ξ2)e−iϕ(ξ2)]−R[G⁗(s;ξ1)f(ξ1)e−iϕ(ξ1)]I[G′(s;ξ2)f(ξ2)e−iϕ(ξ2)]} dξ2dξ1ds. (B 4)

We now recall the governing equation for the Green’s function, Sp4iG+G′′′′=δ(s−ξ), giving

U=∫s=01∫ξ1=01∫ξ2=01{I[(δ(s−ξ1)−Sp4iG(s;ξ1))f(ξ1)e−iϕ(ξ1)]R[G′(s;ξ2)f(ξ2)e−iϕ(ξ2)]−R[(δ(s−ξ1)−Sp4iG(s;ξ1))f(ξ1)e−iϕ(ξ1)]I[G′(s;ξ2)f(ξ2)e−iϕ(ξ2)]} dξ2dξ1ds. (B 5)

Using integration by parts with respect to s, recalling that G(0;ξ)=G(1;ξ)=0, we note that

I(ξ1,ξ2)=∫s=01R[G(s;ξ1)f(ξ1)e−iϕ(ξ1)]R[G′(s;ξ2)f(ξ2)e−iϕ(ξ2)] ds=−∫s=01R[G′(s;ξ1)f(ξ1)e−iϕ(ξ1)]R[G(s;ξ2)f(ξ2)e−iϕ(ξ2)] ds=−I(ξ2,ξ1). (B 6)

Therefore

∫ξ1=01∫ξ2=01I(ξ1,ξ2)dξ2dξ1=∫ξ1=01∫ξ2=01−I(ξ2,ξ1)dξ2dξ1=∫ξ2=01∫ξ1=01−I(ξ1,ξ2)dξ1dξ2, (B 7)

and so is zero. The same argument holds for I(ξ1,ξ2) defined using imaginary parts rather than real parts. Therefore the equation for U simplifies to

U=∫s=01∫ξ1=01∫ξ2=01{ℑ[δ(s−ξ1)f(ξ1)e−iϕ(ξ1)]ℜ[G′(s;ξ2)f(ξ2)e−iϕ(ξ2)]−ℜ[δ(s−ξ1)f(ξ1)e−iϕ(ξ1)]ℑ[G′(s;ξ2)f(ξ2)e−iϕ(ξ2)]}dξ2dξ1ds. (B 8)

The δ-functions are real and so

U=∫s=01∫ξ1=01∫ξ2=01{δ(s−ξ1)ℑ[f(ξ1)e−iϕ(ξ1)]ℜ[G′(s;ξ2)f(ξ2)e−iϕ(ξ2)]−δ(s−ξ1)ℜ[f(ξ1)e−iϕ(ξ1)]ℑ[G′(s;ξ2)f(ξ2)e−iϕ(ξ2)]}dξ2dξ1ds, (B 9)

and we now evaluate the integral in s to obtain

U=∫ξ1=01∫ξ2=01{ℑ[f(ξ1)e−iϕ(ξ1)]ℜ[G′(ξ1;ξ2)f(ξ2)e−iϕ(ξ2)]−ℜ[f(ξ1)e−iϕ(ξ1)]ℑ[G′(ξ1;ξ2)f(ξ2)e−iϕ(ξ2)]}dξ2dξ1. (B 10)

Recalling that f is real gives

U=∫ξ1=01∫ξ2=01f(ξ1)(ℑ[e−iϕ(ξ1)]ℜ[G′(ξ1;ξ2)e−iϕ(ξ2)]−ℜ[e−iϕ(ξ1)]ℑ[G′(ξ1;ξ2)e−iϕ(ξ2)])f(ξ2)dξ2dξ1. (B 11)

And by re-combining terms, we obtain

U=−∫ξ1=01∫ξ2=01f(ξ1)ℑ[G′(ξ1;ξ2)ei(ϕ(ξ1)−ϕ(ξ2))]f(ξ2)dξ2dξ1, (B 12)

as promised.

Appendix C. Standard eigenfunction calculation for monophasic forcing

The method presented in the main text allows for the concise calculation of the eigenfunctions and eigenvalues for the case ϕ≡0. We present here a more standard method that has potential to be generalized to different situations, at the cost of being more cumbersome and producing an 8×8 system with four zero eigenvalues.

Suppose f(ξ1)=ℜ[ekξ1]=12(ekξ1+ek∗ξ1), where k is one of the four values such that this is a natural mode; k4=−Sp4i. Note that k∗ does not correspond to a natural mode. Then we can solve for I1 and I2 as

(C1)I1(1,k)(ξ1)=ξ1ekξ18k3+ek∗ξ14Sp4i+A1(1,k)eSpηξ1+B1(1,k)eSpηiξ1+C1(1,k)e−Spηξ1+D1(1,k)e−Spηiξ1,(C2)I2(1,k)(ξ1)=ξ1ekξ18k2+k∗ek∗ξ14Sp4i+A2(1,k)eSpηξ1+B2(1,k)eSpηiξ1+C2(1,k)e−Spηξ1+D2(1,k)e−Spηiξ1.

Alternatively, if f(ξ1)=ℜ[iekξ1], then I1 and I2 are given by

(C3)I1(i,k)(ξ1)=iξ1ekξ18k3−ek∗ξ14Sp4+A1(i,k)eSpηξ1+B1(i,k)eSpηiξ1+C1(i,k)e−Spηξ1+D1(i,k)e−Spηiξ1,(C4)I2(i,k)(ξ1)=iξ1ekξ18k2−k∗ek∗ξ14Sp4+A2(i,k)eSpηξ1+B2(i,k)eSpηiξ1+C2(i,k)e−Spηξ1+D2(i,k)e−Spηiξ1.

The 64 coefficients A,B,C,D can easily be calculated, for a particular Sp, according to the boundary conditions I(0)=I(1)=I′(0)=I′(1)=0. From these, we can define, for b=1 or b=i, and a particular value of k,

I3(b,k)=12i((I1(b,k))′−I2(b,k)), (C 5)

which, defining new coefficients,

A3(b,k)=12i(SpηA1(b,k)−A2(b,k)),B3(b,k)=12i(SpηiB1(b,k)−B2(b,k)),C3(b,k)=12i(−SpηC1(b,k)−C2(b,k)),D3(b,k)=12i(−SpηiD1(b,k)−D2(b,k)), (C 6)

can be evaluated as

I3(b,k)(ξ1)=A3(b,k)eSpηξ1+B3(b,k)eSpηiξ1+C3(b,k)e−Spηξ1+D3(b,k)e−Spηiξ1. (C 7)

Importantly, the 32 coefficients can be evaluated easily for any given Sp. Therefore, letting general f(ξ1) be given by the sum of its eight possible terms,

f(ξ1)=∑b=1,ik4=−Sp4iE(b,k)ℜ[aekξ1], (C 8)

where each E(b,k) is real, we obtain an overall I3 given by

I3(ξ1)=∑b=1,ik4=−Sp4iE(b,k)(A3(b,k)eSpηξ1+B3(b,k)eSpηiξ1+C3(b,k)e−Spηξ1+D3(b,k)e−Spηiξ1). (C 9)

The eigenvalue problem can then be written as

λ∑b=1,ik4=−Sp4iE(b,k)ℜ[bekξ1]=∑b=1,ik4=−Sp4iE(b,k)ℜ[A3(b,k)eSpηξ1+B3(b,k)eSpηiξ1+C3(b,k)e−Spηξ1+D3(b,k)e−Spηiξ1]. (C 10)

Equating each of the eight modes gives an 8×8 eigenvalue problem, for a vector v of the coefficients E(b,k), and matrix Meig,

λv=Meigv. (C 11)

The easiest way to write this explicitly is to define the vectorization of a set of coefficients by

vec(F)=[F(1,Spη)F(1,Spηi)F(1,−Spη)F(1,−Spηi)F(i,Spη)F(i,Spηi)F(i,−Spη)F(i,−Spηi)]. (C 12)

Then

v=vec(E)⊺, (C 13)

and

Meig=[ℜ[vec(A3)]ℜ[vec(B3)]ℜ[vec(C3)]ℜ[vec(D3)]ℑ[vec(A3)]ℑ[vec(B3)]ℑ[vec(C3)]ℑ[vec(D3)]]. (C 14)

As mentioned previously, four of the eight resultant eigenvalues are zero, leaving four non-zero eigenvalues, as promised.

Contributor Information

John Severn, Email: js2358@cam.ac.uk.

Eric Lauga, Email: e.lauga@damtp.cam.ac.uk.

Data accessibility

MATLAB code used to generate figures has been made publicly available at [41].

Supplementary material is available online [42].

Declaration of AI use

We have not used AI-assisted technologies in creating this article.

Authors’ contributions

J.S.: formal analysis, investigation, methodology, software, writing—original draft, writing—review and editing; E.L.: investigation, methodology, project administration, resources, supervision, validation, writing—original draft, writing—review and editing.

Both authors gave final approval for publication and agreed to be held accountable for the work performed therein.

Conflict of interest declaration

We declare we have no competing interests.

Funding

No funding has been received for this article.

References

  • 1. Lauga E, Powers TR. 2009. The hydrodynamics of swimming microorganisms. Rep. Prog. Phys. 72, 096601. ( 10.1088/0034-4885/72/9/096601) [DOI] [Google Scholar]
  • 2. Berg HC. 2003. The rotary motor of bacterial flagella. Annu. Rev. Biochem. 72, 19–54. ( 10.1146/annurev.biochem.72.121801.161737) [DOI] [PubMed] [Google Scholar]
  • 3. Goldstein RE. 2015. Green algae as model organisms for biological fluid dynamics. Annu. Rev. Fluid Mech. 47, 343–375. ( 10.1146/annurev-fluid-010313-141426) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4. Gaffney EA, Gadêlha H, Smith DJ, Blake JR, Kirkman-Brown JC. 2011. Mammalian sperm motility: observation and theory. Annu. Rev. Fluid Mech. 43, 501–528. ( 10.1146/annurev-fluid-121108-145442) [DOI] [Google Scholar]
  • 5. Wiggins CH, Goldstein RE. 1998. Flexive and propulsive dynamics of elastica at low Reynolds number. Phys. Rev. Lett. 80, 3879–3882. ( 10.1103/PhysRevLett.80.3879) [DOI] [Google Scholar]
  • 6. Lauga E, Goldstein RE. 2012. Dance of the microswimmers. Phys. Today 65, 30–35. ( 10.1063/pt.3.1715) [DOI] [Google Scholar]
  • 7. Leal LG. 2010. Advanced transport phenomena: fluid mechanics and convective transport processes. Cambridge, UK: Cambridge University Press. [Google Scholar]
  • 8. Purcell EM. 1977. Life at low Reynolds number. Am. J. Phys. 45, 3–11. ( 10.1119/1.10903) [DOI] [Google Scholar]
  • 9. Machin KE. 1958. Wave propagation along flagella. J. Exp. Biol. 35, 796–806. ( 10.1242/jeb.35.4.796) [DOI] [Google Scholar]
  • 10. Rikmenspoel R. 1965. The tail movement of bull spermatozoa. Biophys. J. 5, 365–392. ( 10.1016/s0006-3495(65)86723-6) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11. Brokaw CJ. 1970. Bending moments in free-swimming flagella*. J. Exp. Biol. 53, 445–464. ( 10.1242/jeb.53.2.445) [DOI] [PubMed] [Google Scholar]
  • 12. Rikmenspoel R. 1966. Elastic properties of the sea urchin sperm flagellum. Biophys. J. 6, 471–479. ( 10.1016/s0006-3495(66)86670-5) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13. Fawcett DW. 1975. The mammalian spermatozoon. Dev. Biol. 44, 394–436. ( 10.1016/0012-1606(75)90411-x) [DOI] [PubMed] [Google Scholar]
  • 14. Inaba K. 2011. Sperm flagella: comparative and phylogenetic perspectives of protein components. Mol. Hum. Reprod. 17, 524–538. ( 10.1093/molehr/gar034) [DOI] [PubMed] [Google Scholar]
  • 15. Fauci LJ, Dillon R. 2006. Biofluidmechanics of reproduction. Annu. Rev. Fluid Mech. 38, 371–394. ( 10.1146/annurev.fluid.37.061903.175725) [DOI] [Google Scholar]
  • 16. Gray J, Hancock GJ. 1955. The propulsion of sea-urchin spermatozoa. J. Exp. Biol. 32, 802–814. ( 10.1242/jeb.32.4.802) [DOI] [Google Scholar]
  • 17. Lauga E. 2007. Floppy swimming: viscous locomotion of actuated elastica. Phys. Rev. E 75, E75. ( 10.1103/physreve.75.041916) [DOI] [PubMed] [Google Scholar]
  • 18. Yu TS, Lauga E, Hosoi AE. 2006. Experimental investigations of elastic tail propulsion at low Reynolds number. Phys. Fluids 18, 091701. ( 10.1063/1.2349585) [DOI] [Google Scholar]
  • 19. Camalet S, Jülicher F, Prost J. 1999. Self-organized beating and swimming of internally driven filaments. Phys. Rev. Lett. 82, 1590–1593. ( 10.1103/PhysRevLett.82.1590) [DOI] [Google Scholar]
  • 20. Spagnolie SE, Lauga E. 2010. The optimal elastic flagellum. Phys. Fluids 22, 031901. ( 10.1063/1.3318497) [DOI] [Google Scholar]
  • 21. Lauga E, Eloy C. 2013. Shape of optimal active flagella. J. Fluid Mech 730, R1. ( 10.1017/jfm.2013.370) [DOI] [Google Scholar]
  • 22. Elgeti J, Winkler RG, Gompper G. 2015. Physics of microswimmers—single particle motion and collective behavior: a review. Rep. Prog. Phys. 78, 056601. ( 10.1088/0034-4885/78/5/056601) [DOI] [PubMed] [Google Scholar]
  • 23. Fu S, Wei F, Yin C, Yao L, Wang Y. 2021. Biomimetic soft micro-swimmers: from actuation mechanisms to applications. Biomed. Microdevices 23, 6. ( 10.1007/s10544-021-00546-3) [DOI] [PubMed] [Google Scholar]
  • 24. Bunea AI, Taboryski R. 2020. Recent advances in microswimmers for biomedical applications. Micromachines 11, 1048. ( 10.3390/mi11121048) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 25. Dreyfus R, Baudry J, Roper ML, Fermigier M, Stone HA, Bibette J. 2005. Microscopic artificial swimmers. Nature 437, 862–865. ( 10.1038/nature04090) [DOI] [PubMed] [Google Scholar]
  • 26. Khalil ISM, Dijkslag HC, Abelmann L, Misra S. 2014. Magnetosperm: a microrobot that navigates using weak magnetic fields. Appl. Phys. Lett 104, 223701. ( 10.1063/1.4880035) [DOI] [Google Scholar]
  • 27. Khalil ISM, Tabak AF, Hamed Y, Mitwally ME, Tawakol M, Klingner A, Sitti M. 2018. Swimming back and forth using planar flagellar propulsion at low Reynolds numbers. Adv. Sci 5, 1700461. ( 10.1002/advs.201700461) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 28. Hamilton JK, Gilbert AD, Petrov PG, Ogrin FY. 2018. Torque driven ferromagnetic swimmers. Phys. Fluids 30, 092001. ( 10.1063/1.5046360) [DOI] [Google Scholar]
  • 29. Jang B, et al. 2015. Undulatory locomotion of magnetic multilink nanoswimmers. Nano Lett. 15, 4829–4833. ( 10.1021/acs.nanolett.5b01981) [DOI] [PubMed] [Google Scholar]
  • 30. Williams BJ, Anand SV, Rajagopalan J, Saif MTA. 2014. A self-propelled biohybrid swimmer at low Reynolds number. Nat. Commun 5, 3081. ( 10.1038/ncomms4081) [DOI] [PubMed] [Google Scholar]
  • 31. Holley MT, Nagarajan N, Danielson C, Zorlutuna P, Park K. 2016. Development and characterization of muscle-based actuators for self-stabilizing swimming biorobots. Lab Chip 16, 3473–3484. ( 10.1039/c6lc00681g) [DOI] [PubMed] [Google Scholar]
  • 32. Cvetkovic C, et al. 2014. Three-dimensionally printed biological machines powered by skeletal muscle. Proc. Natl Acad. Sci. USA 111, 10125–10130. ( 10.1073/pnas.1401577111) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 33. Yuan Z, Guo Q, Jin D, Zhang P, Yang W. 2023. Biohybrid soft robots powered by myocyte: current progress and future perspectives. Micromachines 14, 1643. ( 10.3390/mi14081643) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 34. Camalet S, Jülicher F. 2000. Generic aspects of axonemal beating. New J. Phys. 2, 324. ( 10.1088/1367-2630/2/1/324) [DOI] [Google Scholar]
  • 35. Lauga E. 2020. The fluid dynamics of cell motility. Cambridge, UK: Cambridge University press. [Google Scholar]
  • 36. Smith DJ, Gaffney EA, Gadêlha H, Kapur N, Kirkman‐Brown JC. 2009. Bend propagation in the flagella of migrating human sperm, and its modulation by viscosity. Cell Motil. 66, 220–236. ( 10.1002/cm.20345) [DOI] [PubMed] [Google Scholar]
  • 37. Gadêlha H, Gaffney EA, Smith DJ, Kirkman-Brown JC. 2010. Nonlinear instability in flagellar dynamics: a novel modulation mechanism in sperm migration? J. R. Soc. Interface 7, 1689–1697. ( 10.1098/rsif.2010.0136) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 38. Brokaw CJ. 1966. Effects of increased viscosity on the movements of some invertebrate spermatozoa*. J. Exp. Biol. 45, 113–139. ( 10.1242/jeb.45.1.113) [DOI] [PubMed] [Google Scholar]
  • 39. Ishijima S, Sekiguchi K, Hiramoto Y. 1988. Comparative study of the beat patterns of American and Asian horseshoe crab sperm: evidence for a role of the central pair complex in forming planar waveforms in flagella. Cell Motil. 9, 264–270. ( 10.1002/cm.970090308) [DOI] [Google Scholar]
  • 40. Woolley DM, Vernon GG. 2001. A study of helical and planar waves on sea urchin sperm flagella, with a theory of how they are generated. J. Exp. Biol. 204, 1333–1345. ( 10.1242/jeb.204.7.1333) [DOI] [PubMed] [Google Scholar]
  • 41. Severn J, Lauga E. 2025. Data for: Modal analysis and optimisation of swimming active filaments. Zenodo. ( 10.5281/zenodo.15913688) [DOI] [PMC free article] [PubMed]
  • 42. Severn J, Lauga E. 2025. Supplementary material from: Modal analysis and optimisation of swimming active filaments. Figshare. ( 10.6084/m9.figshare.c.7962470) [DOI] [PMC free article] [PubMed]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

MATLAB code used to generate figures has been made publicly available at [41].

Supplementary material is available online [42].


Articles from Philosophical transactions. Series A, Mathematical, physical, and engineering sciences are provided here courtesy of The Royal Society

RESOURCES