 Survey
 Open Access
 Published:
SubRiemannian geometry, Hamiltonian dynamics, microswimmers, copepod nauplii and copepod robot
Pacific Journal of Mathematics for Industry volume 10, Article number: 2 (2018)
Abstract
The objective of this article is to present the seminal concepts and techniques of SubRiemannian geometry and Hamiltonian dynamics, complemented by adapted software to analyze the dynamics of the copepod microswimmer, where the model of swimming is the slender body approximation for Stokes flows in fluid dynamics. In this context, the copepod model is a simplification of the 3link Purcell swimmer and is relevant to analyze more complex microswimmers. The mathematical model is validated by observations performed by Takagi’s team of Hawaii laboratory, showing the agreement between the predicted and observed motions. SubRiemannian geometry is introduced, assuming that displacements are minimizing the expanded mechanical energy of the microswimmer. This allows to compare different strokes and different microswimmers and minimizing the expanded mechanical energy of the microswimmer. The objective is to maximize the efficiency of a stroke (the ratio between the displacement produced by a stroke and its length). Using the Maximum Principle in the framework of SubRiemannian geometry, this leads to analyze family of periodic controls producing strokes to determine the most efficient one. Graded normal forms introduced in SubRiemannian geometry to evaluate spheres with small radius is the technique used to evaluate the efficiency of different strokes with small amplitudes, and to determine the most efficient stroke using a numeric homotopy method versus standard direct computations based on Fourier analysis. Finally a copepod robot is presented whose aim is to validate the computations and very preliminary results are given.
Introduction
SubRiemannian (SR) geometry in the framework of geometric optimal control was first explored in the seminal article [17]. This article also contains the main geometric ingredients developed in our article in relation with microswimmers : the HeisenbergBrockettDido model and the evaluation of conjugatecut loci and small SRspheres using normal coordinates. These techniques were developed later in the context of singularity theory to obtain more precise computations of asymptotics of the conjugate and cut loci, in a series of articles dealing with the socalled contact Darboux case [19] and Martinet case [1]. A consequence of SRgeometry is that the singularities of the exponential mapping accumulate for small lengths and can be estimated. Clearly, this is the starting point to produce numerical computations for larger lengths by using continuation and numerical methods. Also, early on in the analysis of SRgeometries, complicated singularities (not in the “analytic” category) were recognized due to the existence of the socalled abnormal geodesics. This was a major technical problem to further developments for the computational techniques. Note that the similar problem clearly stopped the activity in the fifties of the standard calculus of variations [10].
An application of SRgeometry was identified in [33] which describes the geodesics motions of a charged particle in a 2DRiemannian manifold under the influence of a magnetic field. In this framework, closed geodesics calculations correspond precisely to stroke’s computations for microswimmers. This is a generalization of the Dido problem in calculus of variations and a very technical study [2] using tools developed in [19], has provided the asymptotics of the conjugate and cut loci. A pause for those computations based on symbolic software was observed but a revival is now motivated with the development of a specific software (see [22]) based on numerical continuation methods in optimal control [3]. This has already many applications in the areas of aerospace or quantum control problems [15, 47]. Our study is a further step in this direction.
Microswimmers were popularized by the seminal presentation [38] and were analyzed very recently using optimization techniques in a series of articles [4, 5], motivated in particular by industrial applications in robotics to design microrobots whose control is based on the swimming mechanisms of biological microswimmers. In particular a recent model was proposed in [41] to analyze the observed motions of an abundant variety of zooplanktons called copepods. Assuming the motion is performed to minimize the mechanical energy dissipated by the swimmer, the problem of determining the most efficient stroke can be analyzed in the framework of SRgeometry.
It can be compared with the standard methods in fluid dynamic, using direct optimization methods, and based on Fourier expansions to represent strokes [42]. Our method of analysis developed for the copepod model is entirely different and uses an indirect optimization method. The candidates as minimizers are parameterized as geodesics of the associated SRproblem using the Maximum Principle, and already a discrimination is obtained between the normal geodesics associated to smooth periodic controls and a unique abnormal geodesic whose shape corresponds to a triangle and observed in [41] as a pattern of the copepod strokes. The concept of efficiency can be reformulated in SRgeometry as the ratio between the displacement produced by a stroke and its length. A consequence of the Maximum Principle and the socalled transversality condition is that the most efficient stroke can be computed using a numerical shooting. It can be also determined using numerical continuation techniques starting from a center of swimming (a center of swimming being a point from which are emanating strokes with small amplitudes). The latter is computed as an invariant of SRgeometry. This study is related to the conjugate and cut loci computation [2] which are also important to analyze optimality and convergence of the numerical optimization methods. Direct optimization methods implemented in the Bocop software [11] were applied in [8] to initialize the continuation starting near the abnormal stroke with maximum amplitude. Note that our approach is closely related to the seminal work in celestial mechanics by Poincaré [36] combining already direct and indirect approaches in variational analysis. In particular our result is reminiscent of the PoincaréLyapunov theorem where periodic trajectories are obtained by continuation as a one parameter family of periodic trajectories with small amplitudes emanating from a center [32].
Structure of the paper. In section 2, the various swimmer’s models are presented using Resistive Force Theory approximation [24], ([21], Chapter 5) governing the swimmer mechanism at low Reynolds number where the interaction with the fluid is reduced to a drag force [6] and the swimmer is represented using a slender body approximation. The remaining of the section is to describe the geometric framework of the problem and the associated optimal control problem. The section 3 is a selfcontained presentation of SRgeometry to describe the concepts and technical tools necessary to our study. The following concepts are borrowed from geometric optimal control: Maximum Principle, Second order necessary optimality conditions (Jacobi equation, notion of conjugate point). The remaining ones are specific to SRgeometry: nilpotent approximation, generic graded normal forms and applications to estimate the SRspheres with small radius. Section 4 is devoted to the complete analysis of the copepod swimmer, applying the mathematical tools mentioned above supplemented with numerical simulations to compute the center of swimming for strokes with small amplitudes and to eventually determine the most efficient stroke. The final section is devoted to present the agreement between control practitioners and experiments. It is realized in two steps. First of all, to validate the model of swimming at low Reynolds number (using slender body theory for stokes flow), we present the agreement between predicted and observed displacements of the copepod nauplii (a three pair of symmetric links swimmers). Secondly to compare different stroke and different swimmers a macroscopic copepod robot is finally described to validate in a next future the agreement between control computation, simulations and experiments. Preliminary results are presented.
Microswimmers and the geometric framework
This section is a selfcontained presentation of microswimmers related to our study and the standard geometric properties contained in the literature which allows for a neat analysis in the framework of direct optimization methods.
2.1 nlinks swimmers
Studying microswimmers is motivated by biological observations as well as engineering applications to design aquatic robots swimming at low Reynolds numbers which corresponds to microrobots or robots in viscous fluid such as glycerine. Swimming at low Reynolds number in hydrodynamics is modelled by Stokes equations and for a selfpropelled organism its movement is produced by shape deformation called a stroke, we refer to [6] for a complete description. Toward the construction of simple robots, we restrict ourselves to nlinks swimmers for which the slender body approximation is valid [34]. We will focus on the copepod swimmer which has recently gained interest in the literature, see [29, 41]. The mathematical model described in [41] consists of npairs of symmetric (slender) legs with the body being reduced to a small sphere with radius r. The copepod zooplankton and the associated microrobot are represented in Figs. 1 and 2. See Section 5.1 for a brief description of the general case.
2.1.1 Stokes model
By symmetry, the displacement takes place along a line Ox_{0}, and assuming r=0 (negligible body size) the slender body approximation for Stokes flow reduces the equation for the displacement variable (swimming velocity) to:
Introducing the control formalism, the dynamics of the shape variables θ=(θ_{1},…,θ_{ n }) is given by \(\dot \theta _{i} = u_{i}\). We denote by q=(x_{0},θ) the state vector, and the equations of motion are expressed as a driftless control system:
Definition 1
A (smooth) stroke is a periodic motion t↦θ(t) produced by a (smooth) periodic control t↦u(t), with period T>0.
For n=1, the model depicts a scallop where each stroke produces a zero displacement. This is known in the literature as the famous scallop theorem.
Hence at least two legs, n≥2, are required to produce a positive displacement and the copepod observed in Fig. 1 corresponds to n=3 for which the swimming mechanism is described and analyzed in [29, 41].
Our objective is to make a complete analysis of the case n=2, in the framework of SRgeometry. Note that this case was also obtained in [5] as a limit case of the symmetric Purcell swimmer, with equal armslegs lengths and zero central link length. It was analyzed by direct optimization methods.
We summarize in Table 1 the various models of symmetric (slender body) swimmers encountered in the literature.
2.1.2 Physical limitations and state constraints
A singularity of the models occurs when two of the links are colliding. To avoid this issue, we impose the following state constraints defined by the triangle of constraints: \({\mathcal {T}} = \{\theta,\; 0\le \theta _{1}\le \theta _{2} \le \pi \}\). The physical interpretation is well described in the literature. It is the socalled “Coxtheory”: to neglect the physical interaction between the links they must be at a minimal distance from each other [23]. From the mathematical point of view, (1) can be analytically extended to the 2dimensional plane where \(\mathbb {R}^{2}\) is taken as the covering space of the θspace: the torus \(\mathbb {T}^{2}\). Hence \({\mathcal {T}}\) is considered as a state constraints and it will be shown that this constraint is not active in our study, i.e. we will demonstrate that an optimized stroke satisfies the Cox conditions by estimating the distance to the triangle.
Note also that the extension of the dynamics to \(\mathbb {R}^{2}\) leads to preserve symmetries with respect to the sides of the triangles generated by σ_{1}:(θ_{1},θ_{2})↦(θ_{2},θ_{1}), σ_{2}:(θ_{1},θ_{2})↦(−θ_{1},θ_{2}). Another observed symmetry preserving the triangle constraint is given by: σ_{3}:(θ_{1},θ_{2})↦(π−θ_{2},π−θ_{1}). The group generated by such symmetries is denoted Σ.
2.1.3 Riemannian metrics in the shape variables
A natural metric introduced in the literature is the mechanical energy dissipated by the swimmer, see [42]. For the copepod model, it is equivalent to minimize the mechanical energy dissipated by the pairs of legs. The associated metric is given by \(g_{M} = \dot {q} M \dot {q}^{\intercal }\) [41], where
Using (1) it can be written as:
where
This metric can also be extended to the entire covering space\(\mathbb {R}^{2}\) with the symmetries induced by the group Σ. Our study can be generalized by taking into account any choice of Riemannian metric in the shape space with similar symmetries, and the geometric analysis is similar for any choice. Another metric of particular interest, helping to simplify calculations and to perform numerical computations, is the flat or Euclidean metric:
2.2 Geometric framework
Having introduced the model, some insights about the problem can be derived from the geometric framework that we present next. This is crucial to understand the problem in relation with standard similar studies, see for instance [5, 33], for more details.
2.2.1 The swimming curvature
Assume a stroke denoted γ with period T. Using (1), the associated displacement produced by this stroke is given by:
where ω is the smooth oneform
We assume the stroke γ to be a piecewise smooth curve and we denote by D the domain bounded by γ. Using Green’s theorem, we have:
We introduce
and an easy calculation provides the following lemma.
Lemma 1

1
dω=−f(θ)dθ_{1}∧dθ_{2}

2
dω<0 in the interior of the triangle \(\mathcal {T}\), and dω vanishes on the boundary of \(\mathcal {T}\).
Geometric consequence. Restricted to the interior of \({\mathcal {T}}\), dω is a volume form (density) which allows to estimate the displacement associated to small (amplitudes) strokes. It can be “normalized” to have an invariant meaning using the 2form associated to a general Riemannian metric:
defined as
This leads to introduce the following concepts.
Definition 2

1
A geometric 2link microswimmer is defined by (dω,g).

2
The swimming curvature is defined as the ratio:
$$SK = \frac{\mathrm{d} \omega}{\omega_{g}} = \frac{f(\theta)}{\sqrt{E(\theta)F(\theta)G(\theta)^{2}}}. $$ 
3
The geometric efficiency of a stroke γ is the ratio between the displacement and the length l:
$${\mathcal{E}}(\gamma) =(x_{0}(T)x_{0}(0))/l(\gamma). $$
Applications A standard illustration found in the literature is the representation of the level sets of SK in the shape space and to compute the extrema. It can be observed on Fig. 3 with the level sets contained in the triangle \({\mathcal {T}}\) respectively for the Euclidean energy and the mechanical energy case.
Extension of two form on the covering space is represented in Fig. 4.
2.2.2 Geometric optimal control problems
Problem 1 The first problem which which can be phrased in the framework of SRgeometry is to fix the initial condition q(0)=(x_{0}(0)=0,θ(0)) and compute the SRspheres of radii r to identify the closed curves corresponding to smooth periodic controls producing a desired displacement x_{0}(T). This formulation leads to the AmbroseSinger theorem in relation with the Chow theorem in control theory, see [33].
Problem 2 The second problem is to compute the most efficient stroke.
Both problems lead to Mayer problems in optimal control theory.
Optimal Control Theory (OCT) formulation. The extended dynamics is given by
with q_{0}(0)=0. The cost to minimize is of the form
with prescribed boundary conditions x_{0}(0)=0,θ(0)=θ(T).
Problem 1 The cost is taken as C=q_{0}(T) and we have x_{0}(T)=x_{ T } where x_{ T } is given.
Problem 2 The cost is taken as C=−x_{0}(T)/q_{0}(T).
Remark 1
In the standard literature [30,42] the efficiency is the ratio between the square of the displacement and the energy (vs length). Parameterizing by arclength leads to proportional quantities and similar minimizers. It allows for different kind of strokes for one species (e.g. copepod) or different species to determine the time minimizer (winning the competition).
Program The work is clear, we must conduct a careful analysis in the framework of SRgeometry based on the mathematical analysis of the geodesics equation. It needs to be supplemented by (simple) numerical simulations for solving problems 1 and 2.
A review of SRgeometry in relation with microswimmers
SRgeometry is a very active area of research and we refer the reader to [25] for a recent and more complete presentation. Our task is limited to a specific problem and we shall restrict our presentation to the useful concepts and results of this large area. The main concepts and seminal results were already available at the end of the nineties and general and useful references are [7,27]. Other tools are borrowed from singularity theory, we refer the reader to [31] for a general reference and to [45] for the application to Legendrian and Lagrangian singularities.
3.1 General results and concepts in SRgeometry
Even locally, SRgeometry is a very rich and intricate geometry (with many invariants). It is defined by a smooth triplet (U,D,g) where U is an open subset in \(\mathbb {R}^{n}\), D is a constant rank mdimensional distribution defined by span{F_{1}(q),…,F_{ m }(q)} where F_{ i }’s are (smooth) vector fields on U and g is the restriction of a (smooth) Riemannian metric on U to D. From the control point of view, we consider Lipschitz curves t↦q(t) tangent to D, called horizontal curves, and represented as solutions of:
where \(u=(u_{1},\ldots,u_{m})^{\intercal }\) is the control. The length of an horizontal curve is given by:
where S is a symmetric matrix defined by g. The associated energy is:
Taking q_{0},q_{1}⊂U, the SRdistance between q_{0},q_{1} is defined as:
This leads to the optimal control problem:
The Maupertuis principle states that the length minimization problem is equivalent to the energy minimization problem:
We can choose (locally) an orthonormal frame {F_{1},…,F_{ m }} for the distribution D so that S=Id, which from the control point of view means to apply a feedback u=β(q)v where β is a (smooth) invertible matrix.
Candidates as minimizers can be selected using the Maximum principle [37] which we recall in the next section and which we apply to our minimization problems.
3.2 Maximum principle
We refer the reader to [43] for a complete presentation. For our purpose, we need the following framework.
3.2.1 Optimal control formulation and geometric concepts
We introduce \(\tilde q =(q,q^{0})\) and we consider the (cost) extended system:
The associated optimal control problem is the Mayer problem:
where h is a (smooth) function, T is the fixed transfer time and the set of admissible controls \({\mathcal {U}}\) is the set L^{∞}([0,T]) of bounded measurable mappings taking their values in L^{∞}([0,T]). Additionally we impose boundary conditions of the form:
where K is a closed subset of \(\mathbb {R}^{n+1}\times \mathbb {R}^{n+1}\).
We denote by \(t\mapsto \tilde q(t,\tilde q(0),u)\) the solution associated to the control u(·) and initiated from (q_{0},0), and we assume it is defined on [0,T]. The extremity mapping is defined as the map: \(E:u(\cdot) \in {\mathcal {U}} \mapsto \tilde q(T,\tilde q(0),u)\) where \(T,\tilde q(0)\) are fixed. The image of E is the accessibility set: \(A(\tilde q(0),T) = \underset {u\in {\mathcal {U}}}{\cup } \tilde q(T,\tilde q(0),u)\).
Next we recall the necessary optimality conditions associated to the Mayer problem.
3.2.2 Weak Maximum principle and transversality conditions
Extremality conditions. The first conditions express the fact that the solution \(\tilde q(T)\) associated to a minimizing control u(·) belongs to the boundary of the accessibility set and corresponds to a singularity of the extremity mapping. The result in the optimal control theory literature is known as the weak Maximum Principle [14] and is an Hamiltonian formulation of the Lagrange multiplier rule in the classical calculus of variations [10].
Proposition 1
If (u(·),q(·)) is a controltrajectory minimizer on [0,T], then there exist \(\tilde p=(p,{\lambda _{0}}) \in \mathbb {R}^{n}\times \mathbb {R} \setminus 0\) such that the (absolutely continuous) curve t↦z(·)=(q(·),p(·)) satisfies a.e. the equations:
where H(z,u)=〈p,F(q,u)〉+λ_{0}L(q,u), λ_{0} being a constant.
Definition 3
H(z,u) is called the pseudoHamiltonian and \(\tilde p = (p,\lambda _{0})\neq {(0,0)}\) is the (cost extended) adjoint vector. A trajectorycontrol pair (z,u) is called an extremal and its projection q on the state space is called a geodesic.
Boundary conditions. We also have that boundary conditions associated to the Mayer problem imply that:
where N_{ K } is the (limiting) normal cone to K and λ≥0.
Definition 4
Condition (7) is called the transversality condition. An extremal satisfying the boundary conditions and the transversality condition is called a BCextremal.
3.2.3 Application to the microswimmers.
Notice first that according to the weak maximum principle, we have two types of distinct extremals in SRgeometry.
Normal case. If λ_{0}≠0, it can be normalized to −1/2 (corresponding to minimizing the energy). Introducing H_{ i }(q,p)=〈p,F_{ i }(q)〉 and using \(\frac {\partial H}{\partial u}=0\), we obtain u_{ i }=H_{ i }(q,p). Substituting back this expression for these extremal controls into the pseudoHamiltonian H gives the (true) normal Hamiltonian \(H_{n}{(q,p)} = 1/2 \sum _{i=1}^{m} H_{i}^{2}{(q,p)}\). The corresponding extremals solution of \(\overrightarrow {H_{n}} = \left (\frac {\partial H}{\partial p},\frac {\partial H}{\partial q}\right)\) are called normal and their qprojections are called normal geodesics.
Abnormal case. If λ_{0}=0, the associated extremal control is defined by the (implicit) relations H_{ i }(q,p)=0,i=1,…,m. The corresponding extremals are called abnormal and their qprojections are called abnormal geodesics. A normal geodesic is called strict if it is not the projection of an abnormal geodesic.
Geometric remark. The abnormal extremals correspond to singularities of the extremity mapping associated to the control system \(\dot q = F(q,u)\) and do not depend on the cost.
Transversality conditions. For the microswimmers we have two applications:

Periodicity. This is expressed as θ(0)=θ(T) and it leads to the condition:
$$ p_{\theta}(0) = p_{\theta}(T) $$(8)to produce a smooth stroke.

Efficiency maximization. As a consequence of the Maupertius principle, and assuming that x_{0}(0)=0, we can suppose that the efficiency is expressed as \({\mathcal {E}}' = x_{0}(T)^{2}/E(\gamma)\) for a given stroke γ. If h=−x_{0}(T)/q^{0}(T), then the transversality condition (7) becomes:
$$ (p_{0},\lambda_{0}) = \lambda \frac{\partial h}{\partial (x_{0},q^{0})} $$(9)at the final point (x_{0}(T),q^{0}(T)).
This has the following interpretation: at the final point, the adjoint vector is normal to the level set h=c, where c is the maximal efficiency.
3.2.4 Chow and HopfRinow theorems
Proposition 2
Let D_{L.A.} be the Lie algebra generated by {F_{1},…,F_{ m }} and assume that the following rank condition hold: \(\{\forall q\in U, \dim \, D_{L.A.}(q) = n,\; (U\simeq \mathbb {R}^{n})\}\). Then:

1
For each q_{0},q_{1}∈U there exists a piecewise smooth horizontal curve joining q_{0} to q_{1} corresponding to a piecewise constant control.

2
Sufficiently near points q_{0},q_{1}∈U can be joined by a minimizing geodesic.
Application The first assertion is known as Chow’s theorem and can be found in [33]. Assuming the microswimmer starts at q(0)=(x_{0}(0),θ(0)) and that we fix the desired displacement to x_{0}(T)=x_{ d } in U. Then, there exists a piecewise constant control such that the microswimmer can reach the configuration (x_{ d },θ(0)). By construction this produces a closed curve in the θspace where T is a period (not necessary minimal). The second assertion is a local version of the standard HopfRinow existence theorem. It can be easily globalized under standard (completness) assumptions. Hence in our study we can restrict our analysis to (normal and abnormal) geodesic curves. The existence theorem is easily deduced when dealing with the maximal efficiency. Indeed, our state domain is bounded by the triangle \({\mathcal {T}}\) and a direct computation shows that for strokes with “small amplitudes”, the efficiency goes to zero with the amplitude A. A straightforward computation demonstrates that the triangle stroke corresponds to a low efficiency. Therefore, there exists a solution of the problem of maximizing efficiency.
3.2.5 Spheres with small radii and nilpotent approximations.
Definition 5
The SRsphere of center q_{0} with radius r is denoted by S(q_{0},r)={q; d_{ SR }(q_{0},q)=r}.
An important result in SRgeometry is the construction of the socalled privileged coordinates to estimate the size of the sphere with small radius [7,27].
Definition 6
Let D_{1}= span{F_{1},…,F_{ m }}, we define recursively D_{ k }=D_{k−1}+ span{[D_{1},D_{k−1}]} with n_{ k }(q_{0}) be the rank of D_{ k } at q_{0}. Assume that the rank condition holds: \(\dim \, D_{L.A.}(q_{0}) = n (=\dim \, T_{q_{0}}U)\) for each q_{0}. Consider the flag \(D_{1}(q_{0})\subset D_{2}(q_{0})\subset \ldots \subset D_{n_{r}}(q_{0})=D_{L.A.}(q_{0})\). Then n_{ r }(q_{0}) is called the degree of nonholonomy and the sequence (n_{1}(q_{0}),…,n_{ r }(q_{0})) is called the growth vector of the distribution D at q_{0}.
Using [27], we introduce the following notions.
Definition 7
Let q_{0}∈U and let f be a germ of smooth function at q_{0}. The multiplicity of f at q_{0} is the number defined by:

\(\mu (f) = \min \, \{k,\, \mid \, \exists X_{1},\ldots, X_{k} \in D\; \text { such\; that } L_{X_{1}},\ldots, L_{X_{k}} f(q_{0})\neq 0\}\) where L_{ X }f denotes the Lie derivative of f w.r.t. X: \(L_{X}f = \frac {\partial f}{\partial q}\cdot X(q)\).

if f(q_{0})≠0, μ(f)=0 and μ(0)=+∞.
Definition 8
Let f be a germ of smooth function at q_{0}, f is called privileged at q_{0} if \(\mu _{f} = \min \, \{k;\,\mathrm {d} f_{q_{0}}(D^{k}(q_{0}))\neq 0\}\).
A coordinate system (q_{1},…,q_{ n }) defined on an open subset of U at q_{0}, identified to 0, is called privileged if the coordinates functions q_{ i }, i=1≤i≤n are privileged at x_{0}. If w_{ i } is the weight of q_{ i } at q_{0}=0, the induced weight of \(\frac {\partial }{\partial q_{i}}\) is −w_{ i }, and the weight of the dual variable p_{ i } in T^{⋆}U is −w_{ i }.
The following theorem can be found in [7].
Theorem 1
Let {F_{1},…,F_{ m }} be an orthonormal frame for the pair (D,g). Fix q_{0}∈U and let (q_{1},…,q_{ n }) be a privileged coordinates system at q_{0}=0, with weights w_{1},…,w_{ n }. Then, one can expand F_{ i } as \(\sum _{j\ge 1} F_{i}^{j}\), where \(F_{i}^{j}\) are homogeneous vector fields (for the weight systems) with degree ≥−1. Denoting \(\hat F_{i} = F_{i}^{1}\), the family \(\hat F_{i}\) generates a nilpotent Lie algebra with similar growth vector (at q_{0}=0). Moreover, for small q it gives the following estimate of the SRdistance: \(\phantom {\dot {i}\!}B(q_{1}^{1/w_{1}} + \ldots +q_{n}^{1/w_{n}}) \le d_{SR}(0,q) \le A(q_{1}^{1/w_{1}} + \ldots +q_{n}^{1/w_{n}})\), where A,B are constants.
3.2.6 Singularities of SRspheres with small radius
Definition 9
Let \(H_{n} {(q,p)}= 1/2 \sum _{i=1}^{m} H_{i}^{2}{(q,p)}\) the normal Hamiltonian and let \(\exp t\overrightarrow {H_{n}}\) denote the localone parameter group associated to \(\overrightarrow {H_{n}}\) with Π:(q,p)↦q be the standard projection. Assume q_{0} is fixed, the exponential mapping is given by the map: \(\exp _{q_{0}} : (t,p)\mapsto \Pi \left (\exp t\overrightarrow {H_{n}}(q_{0},p)\right)\).
Definition 10
Let γ(·) be a reference (normal or abnormal) geodesic defined on [0,T]. The time t_{ c } is called the cut time if γ is optimal up to t_{ c } but no longer optimal for t>t_{ c }, and q(t_{ c }) is called the cut point. Considering all geodesics starting from q_{0}, the set of cut points forms the cut locus denoted by C_{ cut }(q_{0}). The time t_{1c} is called the first conjugate time if the reference geodesic γ is optimal up to t_{1c} and no longer optimal for t>t_{1c} for the C^{1}topology on the set of horizontal curves, and the point γ(t_{1c}) is called the first conjugate point. The set of first conjugate points calculated over all geodesics forms the (first) conjugate locus and is denoted by C(q_{0}).
Conjugate points can be computed (under suitable assumptions) in the normal and abnormal case. In our study, we can restrict the analysis to the normal case and we have.
Proposition 3
Let γ(·)be a strict normal geodesic defined on [0,T]. Then, the first conjugate time t_{1c} is the first time t such that the exponential mapping expγ(0) is not of full rank n. This is equivalent to the existence of a Jacobi field J(t)=(δq(t),δp(t)) solution of the Jacobi equation:
which is vertical at time t=0 and t=t_{1c}, i.e. δq(0)=δq(t_{1c})=0.
A property of SRgeometry is the following.
Proposition 4
There exist conjugate points arbitrarily closed to q_{0}, and a consequence is that SRspheres with arbitrary small radius have singularities.
3.3 SRgeometry in dimension 3
Motivated by our microswimmer study, in this section we recall refined results related to singularities of threedimensional SRspheres with small radius, that is explicit conjugate and cut loci computation. Those results are the consequence of intense research activities in SRgeometry at the end of the nineties, see [19] for the contact case and [1] for the Martinet case. Here U is assume to be a neighbourhood of q_{0} identified to 0, and (D,g) is defined by the choice of an orthonormal frame {F_{1},F_{2}}. The distribution can be represented as D= kerω, where ω is a welldefined (up to a factor) oneform.
A first geometric result comes from [46].
3.3.1 Local oneform models
Introducing q=(x,y,z), we have that the only stable models are given by:

ContactDarboux case (Dido). In this case, the normal form is expressed as:
$$\omega = \mathrm{d} z + (x\mathrm{d} y  y \mathrm{d} x). $$ 
Martinet case. The normal form is:
$$\omega = \mathrm{d} z  \frac{y^{2}}{2}\, \mathrm{d} x. $$
3.3.2 Associated (graded) local model of SRmetric
Geometry Near the origin, the SRmodel is represented by an affine control system:
and we minimize the energy:
The (pseudo) group \({\mathcal {G}}\) defining the geometry is induced by the following actions:

local diffeomorphisms Q=φ(q) preserving zero,

feedback u=β(q)v where β(q) is restricted to the orthogonal group O(2) (so that \(u_{1}^{2}+u_{2}^{2} \mapsto v_{1}^{2}+v_{2}^{2}\)).
The (normal) geodesic flow is defined by the Hamiltonian H_{ i }(q,p)=〈p,F_{ i }(q)〉, i=1,2. A local diffeomorphism φ can be lifted into the Mathieu symplectomorphism\(\overrightarrow {\varphi }\) defined as:
Reducing the actions of \(g\in {\mathcal {G}}=(\varphi,\beta)\) to the action of \(\overrightarrow {\varphi }\) on an Hamiltonian (function) H to:
we obtain the following, see [12].
Theorem 2
The following diagram is commutative:
(It is equivalent to say that λ is covariant).
A normal form is a section on the set of orbits for the \({\mathcal {G}}\)actions, and Theorem 2 states that it can be performed either on the set of SRmetrics or on the set of (normal) Hamiltonians.
A standard method in singularity theory [31] is to linearize the calculations by working on the jet spaces and restricting to homogeneous transformations. This can be also be performed using a graded system of coordinates as the privileged coordinates in SRgeometry to obtain graded normal forms. Different algorithms exist in the literature, see [19] for the contact case, and [1] for the Martinet case.
We recall the results in the contact and Martinet case.
∙ Contact case. q=(x,y,z) are the privileged coordinates where x,y are of weight 1 and z is of weight 2.

⋆ Nilpotent model. (HeisenbergBrockettDido). This is a model of order −1 (Dido form) and it is given by the orthonormal frame:
$$\hat F_{1} = \frac{\partial}{\partial x} + y\, \frac{\partial}{\partial z}, \quad \hat F_{2} = \frac{\partial}{\partial y}  x\, \frac{\partial}{\partial z}. $$ 
⋆ Model of order zero. Keeping all the terms of order ≤0, we have Theorem 3.
Theorem 3
([17]) In the contact case, the model of order 0 is similar to the model of order −1.

⋆ Model of order 1. Keeping the terms of order ≤1, the model in [19] is given by:
$$F_{1} = \hat F_{1} + yQ(w)\frac{\partial}{\partial z},\quad F_{2} = \hat F_{2} xQ(w)\frac{\partial}{\partial z} $$with w=(x,y) and Q is a quadratic form: Q=α x^{2}+2β xy+γ y^{2} where α,β,γ are parameters.
Geodesics equations. Let us first analyze the Dido model. Recall that the Lie brackets of two (smooth) vector fields F,G defined on U is computed with the convention:
and the Poisson bracket of two Hamiltonians P_{1},P_{2} is given by
If H_{ F }(q,p)=〈p,F(q)〉, H_{ G }(q,p)=〈p,G(q)〉 one has {H_{ F },H_{ G }}(q,p)=〈p,[F,G](q)〉.
To compute the geodesics in the HeisenbergBrockettDido case we complete \(F_{1}=\hat F_{1},\, F_{2} = \hat F_{2}\) by \(F_{3} = \frac {\partial }{\partial z}\) to form a frame. We denote H_{ i }(q,p)=〈p,F_{ i }(q)〉, i=1,2,2 and instead of the symplectic coordinates (x,y,z,p_{ x },p_{ y },p_{ z }) we use (x,y,z,H_{1},H_{2},H_{3}).
The geodesic dynamics is given by \(\dot x = H_{1}\), \(\dot y = H_{2}\), \(\dot z = H_{1}yH_{2}x\) and we have [F_{1},F_{2}](q)=2F_{3}(q). Hence
since the Lie brackets of length ≥3 are zero.
Integration. We have that H_{3}(t) is constant and by introducing H_{3}=p_{ z }=λ/2 we obtain the equation of the linear pendulum \(\ddot H_{1} + \lambda ^{2}\, H_{1}=0\). The equations are integrable by quadratures using trigonometric functions. The integration is straightforward if we observe that:
Microlocal description. Taking q(0)=0, we have that:

λ=0. In this case z=0 and the geodesics contained in the plane (x,y) are lines.

λ≠0. An easy integration shows that in that case the geodesics are given by:
$$ \begin{aligned} x(t) &=\frac{A}{\lambda} \left(\sin(\lambda t+\phi)  \sin \phi \right) \\ y(t) &= \frac{A}{\lambda} \left(\cos(\lambda t + \phi)  \cos\phi \right) \\ z(t) &= \frac{A^{2}}{\lambda} t  \frac{A^{2}}{\lambda^{2}} \sin(\lambda t) \end{aligned} $$(10)with \(A = \sqrt {H_{1}^{2}+H_{2}^{2}}\) and ϕ is the angle of the vector \((\dot x,\dot y)\) at the origin.
In particular we can deduce the following geometric properties.
Proposition 5

(1)
All the controls for λ≠0 are periodic with period 2π/λ.

(2)
The corresponding (x,y) projections will form families of circles that are invariant by any rotation along the zaxis.
A family of projections is represented on Fig. 5.
Interpreting these geodesics as strokes for the microswimmer (and z is taken the displacement variable). The displacement associated to a stroke being given by dz=−2dx∧dy and is proportional to the standard volume form in \(\mathbb {R}^{2}\).
Conjugate and cut loci. They can be easily computed from (10) and according to [19] they can be calculated restricting the exponential mapping to the (x,y)projection. We can prove the following proposition.
Proposition 6
If λ≠0, the first conjugate time occurs at 2π/λ and corresponds to the cut point. Hence, it occurs exactly at the period and the projection of the cut locus in the (x,y)plane degenerates into the origin.
Generalized Dido case. Conjugate and cut loci computations in the small radius case where generalized in [2] and this study is relevant in our problem. The main features are the following. In the Dido problem, due to the zsymmetry of revolution the projection of the conjugate and cut loci in the (x,y)plane is reduced to a single point. In the generalized Dido case, the SRproblem leads to compute conjugate and cut loci for Riemannian metrics on the sphere. This is related to the seminal result from [35].
Theorem 4
Let g be an analytic Riemannian metric on the 2sphere S^{2}. Then the cut locus of a point is a finite tree, whose branches extremities are cusp points of the conjugate locus. Each ramification counts the number of intersecting minimizing geodesics.
An example is represented on Fig. 6.
∙ Martinet case. We use the classification from [1,14]. We denote by q=(x,y,z) the privileged coordinates, and we have that x,y are of weight 1 and z is of weight 3. The distribution D is normalized to the Martinet form: kerω, ω=dz−y^{2}/2 dx.
Geometric meaning. The distribution is given by D = span{F_{1},F_{2}} with \(F_{1}=\frac {\partial }{\partial x} + \frac {y^{2}}{2}\frac {\partial }{\partial z}\), \(F_{2} = \frac {\partial }{\partial y}\). We have \([F_{1},F_{2}](q) = 2y\, \frac {\partial }{\partial z}\). Hence [F_{1},F_{2}](q)∈D(q) for y=0 and the plane y=0 is called the Martinet surface. Abnormal curves are defined by H_{1}=H_{2}=0 with H_{ i }(q,p)=〈p,F_{ i }〉, i=1,2. Differentiating, one gets for y=0,
An easy calculation shows that:
Hence we obtain the following result.
Proposition 7
In the normal form, the abnormal curves are contained in the Martinet surface and are lines parallel to the xaxis. Starting from the origin (0,0,0), it is given by the abnormal curve γ_{ a }:t↦(t,0,0).
The metric can be normalized to the (isothermal) form: g=a(q)dx^{2}+b(q)dy^{2} and the mappings a(q),b(q) can be expanded using the following weight systems:

Model of order −1 (Martinet flat case). It corresponds to g=dx^{2}+dy^{2}.

Model of order 0. The metric is of the form g=(1+dy)^{2}dx^{2}+(1+βx+γy)^{2}dy^{2}.
The squares are introduced to simplify the geodesics computation, but at order 0 we have the approximations:
Geodesic equations: order 0. We introduce the orthonormal vector fields:
which we complete with \(G_{3} = \frac {\partial }{\partial z}\) to form a frame. Using the notation H_{ i }(q,p)=〈p,G_{ i }(q)〉, i=1,2,3 the normal extremals are solutions of:
In particular, we have H_{3}=p_{ z } is constant (isoperimetric situation). Using the normal form of order 0, we can deduce the following proposition.
Proposition 8

(1)
If β=0, x is an additional cyclic coordinate and the geodesic flow is Liouville integrable.

(2)
The abnormal geodesic γ_{ a }:t↦(t,0,0) is strict if and only if α≠0. If α=0, it is solution of (12) for each choice of p_{ z }=H_{3}=λ.
Pendulum equation. The geodesic equations are related to the pendulum equation. Indeed, parameterizing by arclength gives H_{1}= cosθ, H_{2}= sinθ. Setting H_{3}=p_{ z }=λ≠0, if θ≠kπ, we get using (12):
Using the time reparameterization:
and denoting by ϕ^{′} the derivative of a function ϕ with respect to τ, we can show that θ is a solution of the equation:
Integrable case. If β=0, the system is integrable and leads to a type of a (conservative) pendulum equation:
where E is a constant. If α=0, (14) reduces to the standard pendulum equation. We refer the reader to [1,14], for a detailed analysis but we can deduce already some geometric fact about the Martinet case versus the contact case of order zero.
In the Martinet case, they are many microlocal different geodesics, in particular if β=0 we can have the oscillating or rotating cases in the pendulum equations. To parameterize the geodesics in this case, we need at least the complexity of elliptic functions [28] and only a small number of specific geodesics can be parametrized by periodic controls. In particular, it is related to the Euler elastica [26] to parameterize strokes for the microswimmers. Indeed, besides the simple strokes related to the linear pendulum, we can construct eight shapes strokes corresponding to Bernoulli lemniscates.
Application: geometric and numerical study of the copepod swimmer
The aim of this section is to provide a complete analysis of the copepod swimmer. We will start this section by introducing the numerical tools.
4.1 Numerical methods
We use two sophisticated software recently developed to analyze optimal control problems.

Bocop. The socalled direct approach transforms the infinite dimensional control problem into a finite dimensional problem. This is done by a discretization in time, applied to the state and control variables. Direct methods are usually less precise than indirect methods which are based on the Maximum Principle, but more robust with respect to the initialization. It can be used to initialize an indirect method. In the swimmer problem the Bocop’s software allows us to account for the triangle state constraints and to generate a stroke with large amplitude in the triangle interior.

HamPath. This software is based upon indirect methods: in a nutshell, the Maximum Principle leads to a shooting equation which is implemented using either simple or multiple shootings. It is complemented by discrete or differential continuation (homotopy) methods to evaluate the solution, when starting initially from a known solution. In our case, it can be done with the Bocop software starting from strokes with large amplitude or by the mathematical evaluations of stroke of small amplitudes using nilpotent SRmodels. This software uses the Jacobi fields to compute the differential of the shooting equation and is suitable to check second order necessary optimality conditions corresponding to conjugate points computation.
4.2 Lie brackets and geodesics computation
The system is written as
with q=(x_{0},θ_{1},θ_{2}), and
where Δ(θ)=2+ sin2θ_{1}+ sin2θ_{2}. The metric is represented as
which can be taken either as the Euclidean metric or as the mechanical energy. A straightforward calculation shows that:
with
Furthermore,
We observe in particular that f vanishes on the edges of the triangle \({\mathcal {T}}: 0\le \theta _{1}\le \theta _{2} \le \pi \).
According to our terminology previously introduced, we have the following result.
Proposition 9

1
All interior points of the triangle \(\mathcal {T}\) are contact points.

2
The triangle \({\mathcal {T}}\) represents the only (piecewise smooth) abnormal stroke, and each point – vertices excluded – is a Martinet point. It is a geodesic triangle in the Euclidean case.
The Maximum Principle minimizing the energy L leads to introduce the pseudoHamiltonian:
Solving ∂H/∂u=0 with H_{ i }(q,p)=〈p,F_{ i }(q)〉 gives:
and the normal Hamiltonian is:
In the Euclidean case it simplifies into:
The geodesics equations can be written in the coordinates (q,H), H=(H_{1},H_{2},H_{3}) and we complete the vector fields F_{1},F_{2} with \(F_{3} = \frac {\partial }{\partial x_{0}}\) to form a frame.
Assuming for instance that \(L(u_{1},u_{2})=u_{1}^{2}+u_{2}^{2}\), we obtain that:
with \(H_{3}=p_{x_{0}}\phantom {\dot {i}\!}\) is a constant (isoperimetric case). These equations can be expressed in terms of the curvature of the shape geodesic: t↦θ(t). Recall that \(\phantom {\dot {i}\!}u=(u_{1},u_{2})={(\dot \theta _{1},\dot \theta _{2})}=(H_{1},H_{2})\). If we parameterize the solutions by arclength, it is equivalent to take \(H_{1}^{2}+H_{2}^{2}=1\). We introduce:
and we get
Taking a SerretFrenet frame (T,N) associated to t↦θ(t) one has
and the curvature is given by
Since ψ= arctan (H_{2}/H_{1}), we obtain
4.3 Numerical simulations and geometric comments in the copepod case
4.3.1 Complexity of normal strokes
On Figs. 7 and 8, we represent different types of strokes corresponding to the geodesics equations without taking into account the state constraints on the shape variables. In particular, we get the standard simple curves, limaçons as well as eight shaped curves but more complex shapes can also be found in the set of solutions. These curves are obtained using the HamPath software which also allows us to check the second order optimality conditions by computing conjugate points. From those simulations only the simple strokes have no conjugate points.
Microlocal sectors of the exponential mapping of the covering space are represented on Fig. 9.
4.3.2 Complexity of normal strokes constrained to the triangle \({\mathcal {T}}\)
We represent on Fig. 11 geodesics strokes resulting from calculations while taking into account the triangle constraint \({\mathcal {T}}: 0\le \theta _{1}\le \theta _{2}\le \pi \). Schematic periodic strokes with constraints are represented on Fig. 10.
Figure 11 (top) displays a simple curve of large amplitudes obtained using the Bocop software. On Fig. 12 the reader can see families of simple curves and limaçons obtained constrained to the interior of the triangle, as well as eight shape curves on the sides of the triangles. Using the HamPath software, we can proceed with the computation of conjugate points in each case. Conjugate points do appear for limaçons and eight curves.
Geometric explanation. At an interior point of the triangle, simple strokes are predicted by the nilpotent model. A limaçon can occur also by perturbing a simple stroke followed twice, which is clear from the numerical simulation. Eight shaped curves can appear only on the sides of the triangle as predicted by the Bernoulli lemniscate associated to a periodic inflexional Euler elastica. Note also the role of the symmetry group Σ in the construction.
Conjugate points computation. The HamPath software allows to compute easily conjugate points. They appear for the limaçon and the eight shaped curves. Hence, simple closed curve are the only candidates as minimizers. This result is obtained as a numerical evidence of our approach versus using calculations based on Green’s theorem. Note that for limaçons with small amplitude they are produced by perturbing a simple closed curve of the Dido model followed twice, and this gives a rigorous proof of the existence of a conjugate point since for the nilpotent model they appear exactly at the period.
4.4 Numerical computation of the center of swimming strokes and SRinvariant computation in the copepod case
First, we need the following concept observed in numerical simulations and reminiscent of the socalled LyapunovPoincaré theorem in celestial mechanics [32].
Definition 11
A center of swimming, denoted by C, is a point in the θshape space from which we can observe a one parameter family {γ_{ λ }; λ≥0} of simple strokes emanating from C which degenerates into C when λ→0. Moreover, we impose that for λ small enough each of stroke in the one parameter family is length minimizing (for fixed displacement).
4.4.1 Numerical simulations
We represent on Fig. 13 numerical computations of centers of swimming for the copepod swimmer corresponding to the Euclidean metric case and for the mechanical energy cost case.
In both cases, the centers of swimming are on the line Σ:θ_{2}=π−θ_{1}, thanks to the symmetry of the geodesic flow with respect to the symmetry σ_{3}:(θ_{1},θ_{2})↦(π−θ_{2},π−θ_{1}).
In Tables 2 and 3 we represent the corresponding efficiency versus the efficiency of abnormal and limaçon strokes in the Euclidean and the mechanical case.
Based on those tables, we display on Fig. 14 the most efficient stroke for the copepod swimmer in both cases and we check numerically that it corresponds to the optimal solution using the transversality condition of the Maximum Principle.
In Fig. 15 the efficiency curve for the mechanical energy is represented for the normal strokes and can be compared with the efficiency of the abnormal stroke.
4.5 Algorithm to compute the centers of swimming
Next, we present as an application of the previously developed normal form the construction of the center of swimming. To simplify the computations, we shall restrict to the Euclidean case.
Lemma 2
The calculation of the privileged coordinates (x,y,z) near \((\theta _{1}(0),\theta _{2}(0),0)\in \text { Interior }({\mathcal {T}} \times \mathbb {R})\) with respective weight (1,1,2) provides the link between the physical coordinates and the coordinates of the normal form. In particular, the displacement variable x_{0} cannot be identified to the zvariable since for the HeisenbergBrockettDido model we have that \(\dot z>0\) and hence z is always increasing, contrary to the copepod swimmer where one stroke produces always forward and backward displacement.
Proof
We first introduce the translation:
and then use a transformation of the form:
coupling x_{0} and θ as a first step to construct the privileged coordinates. □
Geometric remark. Further transformations lead to identify the model of order −1 to the model of order zero as a consequence of Theorem 3. Hence, up to this identification, it leads to deform the oneparameter family of symmetric geodesic circles of the HeisenbergBrockettDido case into a one parameter family of simple closed curves in the (x_{0},θ)space, see Fig. 16. The transformation φ couples in general θ with the displacement variables.
To guarantee that the geometric analysis preserves the distinction between shape and displacement variables, we must restrict the calculations to the subgroup \({\mathcal {G}}'\) where local diffeomorphisms φ are preserving the θspace.
A tedious but straightforward computation leads to the following result.
Proposition 10
Let θ(0)=(θ_{1}(0),π−θ_{1}(0)) be on the symmetry axis Σ:θ_{2}=π−θ_{1}. Then the only points where the reduction to the normal form of order 0 is not coupling θ and x_{0} are described by:
and corresponds to θ_{1}(0)≃0.723688.
Moreover (θ_{1}(0),π−θ_{1}(0)) corresponds to the center of swimming of Fig. 13, (left, Euclidean case).
Remark 2
This gives another algorithm to compute the center vs the extrema of the swimming curvature. But note that strokes are not with constant curvature, see Fig. 17.
Proposition 11
At the center the normal form of order 0 (for the \({\mathcal {G}}'\) action) is
where
5 3links copepod, theory and experimental observations
5.1 Physical model
In Section 2 we introduced several models of microswimmers. In [20] the model was generalized to allow asymmetry, leading to a wider class of swimmers that can translate and rotate freely and corresponding to generalization of the original Purcell swimmer. However, in these earlier models the governing equations can change when adjacent legs come together and form a bundle of legs. For mathematical convenience we avoid any possibility of bundling by considering the pairs of legs to be sufficiently far apart as formulated below.
In this model we represent each leg by a slender rigid rod of unit length and small diameter ε, and the elongated body by another rigid rod of length 2ℓ and diameter 2ℓε, see Fig. 18. The axis of the body is parametrized by (x_{0}−s)e_{ x }, where where x_{0} is the position of the ‘head’ of the swimmer in the unit direction e_{ x }=(1,0) along the x axis of the elongated body, and s is a parameter in the range 0≤s≤2ℓ. The axis along the ith leg is parametrized by s in the range 0≤s≤1 according to:
where x_{ i } is the distance from the head to the pivot point of the ith pair of legs, and n_{ i }=(cosθ_{ i }, sinθ_{ i }) is the unit direction along the axis of the ith leg, which makes an angle θ_{ i } with the x axis. By taking the derivative with respect to time t we obtain the velocity \(\dot {\mathbf {x}}\), which is related to the local force density f(s,t) according to the leadingorder slenderbody approximation for Stokes flow
where η is the viscosity of the surrounding fluid and n is the unit tangent, which is either e_{ x } along the elongated body or n_{ i } along the ith leg. By rearranging this relation and imposing the constraint that the total force on the swimmer is negligible at low Reynolds number, we obtain the governing equation of motion
Note that the governing equation is independent of η and the spacing between adjacent pairs of legs. We hypothesize that the appendages are positioned on the body of the microswimmer such that they can intersect when looking at a 2dimensional top view while in reality they are not colliding. This feature seems to be especially important when abrupt changes in orientations are needed to for instance escape a predator. However, we are here analyzing translational displacements only and observations suggest that in this case the microswimmers appendages are restricted to strokes satisfying
5.2 3Links
In this section we focus on larval copepods with three pairs of legs, see Fig. 19 for an image of a nauplius. They have an unsegmented body, three pairs of appendages (antennules, antennae, and mandibles), and also possess a single naupliar eye. The equations of motion are:
where Δ(θ)=l+3+ sin2θ_{1}+ sin2θ_{2}+ sin2θ_{3}.
From observations, the nauplius displays physical constraints on the positioning of his legs. More precisely, the two front appendages (A1) on Fig. 22 show a variation ∈[5°,130°]. The second pair of appendages constraint is that θ_{2}∈[40°,135°] (A2), and θ_{3}∈[110°,160°] (Md). Associated with the constraints (21), we obtain that the angle variables must belong to a trapezoidal prisme and are described by a set of the form:
This set is the extension of the triangle \(\mathcal {T}\) we had when dealing with the 2link microswimmer. Since it is unclear on whether these are real physical constraints or a deliberate choice from the nauplius we will assume in the future that \(\theta _{i}^{\min }=0\) and \(\theta _{i}^{\max }=180\) for all i (i.e. we have a simplex).
Below we analyze the abnormal geodesics and correlate our results with observations on the locomotion of the nauplius made in a laboratory setting.
5.2.1 Abnormal geodesics
Differentiating the maximization conditions from the maximum principle: H_{ i }(q,p)=〈p,F_{ i }(q)〉=0 for i=1,2,3 we obtain:
where O is a 3×3 skewsymmetric matrix whose entries are given by O_{ ij }=〈p,[F_{ i },F_{ j }](q)〉:=H_{ ij }(q,p). The rank of the matrix O determines the existence of abnormal controls. Since the rank must be even, an odd skewsymmetric matrix is always singular. We here explicit the case rank O=0, the situation corresponding to rank O=2 is described in [20] and it is shown that the solutions do not produce any displacement. First note that:
which implies that [F_{ i },F_{ j }] is everywhere linearly independent from the span generated by the vector fields {F_{1},F_{2},F_{3}} provided it is not zero.
Rank O=0. From the maximum principle we have that p≠0 and the remark above stating that [F_{ i },F_{ j }](q)∉span{F_{1}(q),F_{2}(q),F_{3}(q)} if [F_{ i },F_{ j }](q)≠0, we can deduce that [F_{ i },F_{ j }](q)=0 holds along an abnormal curve for i,j=1,2,3. This is equivalent to:
for all i,j∈{1,2,3}. As described in [20] there are four cases to study and we obtain the following result.
Proposition 12
Abnormal arcs belong to the vertex and edges of the simplex:
and when parametrized by arclength on [0,π] correspond to:

Two legs are fixed and one is moving
$$t\rightarrow \left\{\begin{array}{ccc} (0,0,t)\\ (0,t,\pi)\\ (t\pi,\pi) \end{array}\right.$$ 
One leg is fixed and two are moving simultaneously \(t\rightarrow \left \{\begin {array}{cc} (0,t,t)\\ (t,t,\pi) \end {array}\right.\)

Three legs are moving simultaneously t→(t,t,t)
On Fig. 20 we display the prism of constraints which is formed by the interior and boundary of the domain. An abnormal stroke is a periodic motion formed by a concatenation of motions along the edges of the domain. It corresponds to a sequential paddling as introduced in [41] for the elongated body. In that same paper it is observed that sinusoidal and sequential paddling generate comparable displacements but efficiency is higher with sinusoidal paddling.
5.2.2 Experimental observations
Experimental observations were conducted on a larval copepod (stage 5 nauplius) by the authors of [29]. On Fig. 21 experimental data and model output for a fourcycle swim episode can be seen with the angular measurements used as model input for the theoretical prediction (gray line) shown in bottom picture. It can be observed that angular excursions for this nauplius increased over the first three cycles, especially for antenna A1 for which it nearly quadrupled. As explained in [29], there is strong agreement between the experimental data and the predicted displacement, particularly for the first 20 ms, validating the basic approximations of the model. It can be seen on the bottom picture that the displacement per cycle is increasing which is a result of the increases in amplitude of antenna A1, this suggest that the amplitude of a single appendage excursion can impact the displacement of the nauplius.
Figure 22 displays over a 1.5 cycles of swim sequence the appendage angles of what is refereed to in [29] the power (from 15 to about 21 seconds) and return strokes (from 21 to about 24 seconds). As noted before, the appendages on the back (Md) display a physical constraint restricting their amplitude to [110°,160°], respectively θ_{2}∈[40°,135°] for (A2) and ∈[5°,130°] for (A1). However, observations on predator escape show the ability for the nauplius to extremely rapidly change its orientation and overcome the limitations on the angular variables stated here. It can be observed that the back appendages starts the power stroke to move toward 180° at first while the other two pairs of legs position themselves to maximize the amplitude they will use. Once they reach their constraint (first for the second pair of legs) they start moving toward the back of the nauplius. The phase shift created during this power stroke between the three pairs of appendages maximizes displacement forward. The return stroke objective is to minimize backward displacement to obtain the best net displacement, this is done by coordinating the three pair of legs together.
On Fig. 23 we compare the abnormal and observed periodic sequential strokes. The observed one is a close approximation taken from measurement found in Fig. 22. It is clearly observed that while the abnormal curve is a concatenation of the edges of the triangular prism of constraints, the observed period strokes belongs to the inside and reflect the, possibly selfimposed, contraints on the appendage angles. However, both strokes are based on the idea of sequential paddling, the main difference resides in the fact that the real copepod takes advantage at the beginning of the strokes to repositioned two of his appendages to eventually maximize their amplitudes (acting like a break as well).
5.3 Robotics copepod
In this section we present some preliminary results on a robotics copepod. The main challenge is to mimic the low Reynolds number conditions, and therefore the characteristics of the nauplius environment, while rescaling it to a macroscopic scale. Toward this goal, the experiments presented here are conducted in silicone oil, which is a liquid polymerized siloxane with organic side chains. The robotics copepod is designed for onedimensional displacement only and displays two pairs of legs. The main objective is to build a mechanical device and setup that demonstrates the need for decoupled swimming strategies to produce horizontal displacement.
The main features that we tried to keep with the robotic device is the low Reynolds number assumption (met by using a special oil), as well as the one regarding the slim legs to minimize fluid interaction between them. The primary difficulty is to prevent the electronic to get in contact with the oil as it would get damaged permanently. For this reason, and after several trials and iterations, the model has been designed to accommodate a horizontal rail crossing through the body to guarantee its stability on the water.
The complete device with the four microservos can be seen in Fig. 24. It is connected to an Arduino board that is kept outside the testing basin, and the cable from the motors to the Arduino do not touch the oil which prevent additional drag to interfere with the motion.
5.3.1 Experiments
As mentioned above, the experiment we present here is designed to illustrate the necessity of decoupling motion of the links to produce onedimensional displacement. Figure 25 shows the setup for the experiment, the copepod seats on the silicon oil in a circular tank of 304.8 mm diameter and with its legs right underneath the surface of the water. The kinematic viscosity of the silicon oil is 12500 mm^{2}/s at room temperature. Since the length of a leg is 69 mm and the maximum angular velocity for the legs over our experiments if 0.16 radians/s, we obtain \(Re=\frac {69^{2}*0.16}{12500}=0.06\).
Two motions will be analyzed, one decoupled sequential motion and one coupled. Figure 26 displays the angular variables for the sequential decoupled motion that were actually produced by the robotics copepod. These data have been obtained by postprocessing the movie to track the extremities of the legs and calculating the angle variables from this. They compare extremely well to the observed sequential motion of the copepod in Fig. 23 (but with two legs instead of three).
The displacement can be found in Fig. 27. It clearly shows that for the decoupled motion there is displacement, the curve for the horizontal displacement is drifting with each stroke. For the coupled displacement, almost no horizontal motion is observed.
Finally, Fig. 28 displays a sequence of snapshots of the decoupled motion for the robotics copepod.
Conclusion
The aim of this short survey article is to present the combination of mathematical and numeric tools recently introduced in (geometric) optimal control and applicable to analyze the problem of swimming at low Reynolds number, using the slender body theory for Stokes flow. From this point of view, the simplest model of microswimmers is the socalled “copepod model” which can be observed as the copepod nauplii, an abundant variety of zooplankton and realized as a twolink swimmerrobot. The observation of the biological species allows to validate the adequation between the displacement predicted by the model with the measured displacement. SubRiemannian geometry is introduced in the analysis by assuming that microswimmers motion are performed minimizing the expanded mechanical energy. This allows for one species to compare the efficiency of different strokes or to compare the efficiency for different species, using the developments of computational methods of SRgeometry. In particular we use estimates of geodesics based on graded normal form, to show the existence of a one parameter family of simple strokes and in this family, only one stroke with a given amplitude is shown to be most efficient. This can be compared to similar result in the literature using a direct approach based on curvature control analysis and Fourier expansion to compute strokes, both approaches are shown to be complementary. The mathematical analysis is neat, abnormal and normal geodesics strokes being related to observed strokes corresponding to “sinusoidal” and sequential paddlings. A further step is to validate the mathematical results using a copepod robot built at the macroscopic scale, to validate the model and the robot observations. Preliminary experimented results are presented based on the abnormal (triangle) stroke and paved the road to further experiments dealing with the most efficient stroke.
The SRgeometry associated to the copepod is related to the well studied 3Dmodels (Contact, Martinet). Further studies are necessary to analyze the behaviours near the triangle vertices. This is the basis to understand more complicated models, e.g. the Cartan case related to the Purcell swimmer. In this framework this leads to embed the ContactMartinet model in the Cartan case, that is to a more intricate microlocal analysis. Also in the frame of optimal control, models taking in account inertia or experimental dissipation can be investigated.
References
 1
Agrachev, A, Bonnard, B, Chyba, M, Kupka, I: SubRiemannian sphere in Martinet flat case. ESAIM Control Optim. Calc. Var. 2(3), 377–448 (1997).
 2
Agrachev, A, Gauthier, JP: On the Dido problem and plane isoperimetric problems. Acta Appl. Math. 57(3), 287–338 (1999).
 3
Allgower, E, Georg, K: Introduction to numerical continuation methods. Class. Appl. Math. Soc. Ind. Appl. Math. 45 (2003). Philadelphia.
 4
Alouges, F, DeSimone, A, Lefebvre, A: Optimal strokes for low Reynolds number swimmers: an example. J. Nonlinear Sci. 18, 277–302 (2008).
 5
Avron, JE, Raz, O: A geometric theory of swimming: Purcell’s swimmer and its symmetrized cousin. New J. Phys. 10(6), 063016 (2008).
 6
Batchelor, GK: Brownian diffusion of particles with hydrodynamic interactions. J. Fluid Mech. 74, 1–29 (1976).
 7
Bellaïche, A: The tangent space in subRiemannian geometry. J. Math. Sci. (New York). 83(4), 461–476 (1997).
 8
Bettiol, P, Bonnard, B, Rouot, J: Optimal strokes at low Reynolds number: a geometric and numerical study of Copepod and Purcell swimmers. SIAM J Control Optim. 56(3), 1794–1822 (2018).
 9
Bettiol, P, Bonnard, B, Nolot, A, Rouot, J: SubRiemannian geometry and swimming at low Reynolds number: the Copepod case. ESAIM: COCV. http://doi.org/10.1051/cocv/2017071.
 10
Bliss, GA: Lectures on the Calculus of Variations. Chicago Univ. Press, Chicago (1946).
 11
Bonnans, F, Giorgi, D, Maindrault, S, Martinon, P, Grélard, V: Bocop  A collection of examples. Inria Res. Rep. ProjectTeam Commands. 8053 (2014).
 12
Bonnard, B: Feedback equivalence for nonlinear systems and the time optimal control problem. SIAM J. Control Optim. 19(6), 1300–1321 (1991).
 13
Bonnard, B, Caillau, JB, Trélat, E: Second order optimality conditions in the smooth case and applications in optimal control. ESAIM Control Optim. Calc. Var. 13, 207–236 (2007).
 14
Bonnard, B, Chyba, M: Singular trajectories and their role in control theory. Math. Applic. 40 (2003). SpringerVerlag, Berlin.
 15
Bonnard, B, Sugny, D: Optimal control with applications in space and quantum dynamics. AIMS Ser. Appl. Math. 5, xvi+283 (2012). American Institute of Mathematical Sciences, Springfield.
 16
Bonnard, B, Trélat, E: On the role of abnormal minimizers in subRiemannian geometry. Ann. Fac. Sci. Toulouse Math. 10(3), 405–491 (2001).
 17
Brockett, RW: Control theory and singular Riemannian geometry. In: New directions in applied mathematics, pp. 11–27. Springer, New YorkBerlin (2016).
 18
Chambrion, T, Giraldi, L, Munnier, A: Optimal strokes for driftless swimmers: A general geometric approach. To appear in ESAIM Control Optim. Calc. Var (2017). https://doi.org/10.1051/cocv/2017012.
 19
Chakir, EA, Gauthier, JP, Kupka, I: Small subRiemannian balls on R ^{3}. J. Dynam. Control Systems. 2(3), 359–421 (1996).
 20
Chyba, M, Kravchenko, Y, Markovichenko, O, Takagi, D: Analysis of efficient strokes for multilegged microswimmers. In: Proceedings of the Conference: 2017 IEEE Conference on Control Technology and Applications (CCTA), Kona (2017). https://doi.org/10.1109/CCTA.2017.806.2468.
 21
Childress, S: Mechanics of swimming and flying. Vol. 2. Cambridge University Press, NewYork (1981). pp. 155.
 22
Cots, O: Contrôle optimal géométrique : méthodes homotopiques et applications, Phd thesis. Institut Mathématiques de Bourgogne, Dijon (2012).
 23
Cox, RG: The motion of long slender bodies in a viscous fluid part 1. general theory. J. Fluid Mech. 44(4), 791–810 (1970).
 24
Gray, J, Hancock, GJ: The propulsion of seaurchin spermatozoa. J. Exp. Biol. 32, 802–814 (1955).
 25
Jean, F: Control of nonholonomic systems: from subRiemannian geometry to motion planning. Springer Briefs in Mathematics, Springer, Cham (2014).
 26
Jurdjevic, V: NonEuclidean elastica. Am. J. Math. 117, 93–125 (1995).
 27
Kupka, I: Géométrie sousriemannienne. Astérisque, Séminaire Bourbaki. 1995/96, 351–380 (1997).
 28
Lawden, DF: Elliptic functions and applications, Vol. 80. Applied Mathematical Sciences, SpringerVerlag, New York (1989).
 29
Lenz, PH, Takagi, D, Hartline, DK: Choreographed swimming of copepod nauplii. J. R. Soc. Interface. 12(112), 20150776 (2015).
 30
Lighthill, MJ: Note on the swimming of slender fish. J. Fluid Mech. 9, 305–317 (1960).
 31
Martinet, J: Singularities of smooth functions and maps. In: London Mathematical Society Lecture Note Series, 58, pp. xiv–256. Cambridge University Press, CambridgeNew York (1982).
 32
Meyer, K, Hall, GR: Introduction to Hamilitonian Dynamical Systems and the Nbody Problem. Appl. Math. Sci. 94, 294 (1992). SpringerVerlag.
 33
Montgomery, R: Isoholonomic problems and some applications. Commun. Math. Phys. 128(3), 565–592 (1990).
 34
Passov, E, Or, Y: Supplementary notes to: Dynamics of Purcell’s threelink microswimmer with a passive elastic tail. EPJ E. 35, 1–9 (2012).
 35
Poincaré, H: Sur les lignes géodésiques des surfaces convexes, (French) [On the geodesic lines of convex surfaces]. Trans. Amer. Math. Soc. 6(3), 237–274 (1905).
 36
Poincaré, H: Œuvres. Tome VII, Éditions Jacques Gabay, Sceaux (1996).
 37
Pontryagin, LS, Boltyanskii, VG, Gamkrelidze, RV, Mishchenko, EF: The mathematical theory of optimal processes. Interscience Publishers John Wiley & Sons, Inc, New YorkLondon (1962).
 38
Purcell, EM: Life at low Reynolds number. Am. J. Phys. 45, 3–11 (1977).
 39
Rouot, J: Ph.D. thesis, Inria Sophia Antipolis Méditerranée, France (2016).
 40
Rouot, J, Bettiol, P, Bonnard, B, Nolot, A: Optimal control theory and the efficiency of the swimming mechanism of the Copepod Zooplankton. In: Proc. 20th IFAC World Congress, pp. 488–493, Toulouse (2017).
 41
Takagi, D: Swimming with stiff legs at low Reynolds number. Phys. Rev. E 92, 023020 (2015).
 42
Tam, D, Hosoi, AE: Optimal stroke patterns for Purcell’s threelink swimmer. Phys. Rev. Lett. 98(6), 068105 (2007).
 43
Vinter, RB: Optimal control. Syst. Control Found. Appl (2000). pp. 507, Birkaüser, Boston.
 44
Wang, Q, Speyer, JL: Necessary and sufficient conditions for local optimality of a periodic process. SIAM J. Control Optim. 28(2), 482–497 (1990).
 45
Zakalyukin, VM: Lagrangian and Legendrian singularities. Funct. Anal. Appl. 10, 23–31 (1976).
 46
Zhitomirskiı̆, M: Typical singularities of differential 1forms and Pfaffian equations. Am. Math. Soc. Providence, RI. 113 (1992).
 47
Zhu, J, Trélat, E, Cerf, M: Geometric optimal control and applications to aerospace. Pac. J. Math. Ind. 9(8) (2017).
Acknowledgements
We would like to thank Rintaro Hayashi and Amandin Chyba Rabeendran for the pictures and data regarding the robotics copepod.
Funding
DT is partially supported by NSF grant: CBET1603929. MC is partially supported by the Simons Foundation, award # 359510. BB is partially supported by the ANR Project  DFG Explosys (Grant No. ANR14CE35001301;GL203/91). JR is supported by the European Research Council (ERC) through an ERCAdvanced Grant for the TAMING project.
Author information
Affiliations
Contributions
All authors contributed to the writing of the paper. BB and JR major contribution is the theoretical and numerical analysis of the results. MC and DD major contribution is the 3links analysis, experimental observations and robotics device. All authors read and approved the final manuscript.
Corresponding author
Ethics declarations
Competing interests
The authors declare that they have no competing interests.
Publisher’s Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License(http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.
About this article
Cite this article
Bonnard, B., Chyba, M., Rouot, J. et al. SubRiemannian geometry, Hamiltonian dynamics, microswimmers, copepod nauplii and copepod robot. Pac. J. Math. Ind. 10, 2 (2018). https://doi.org/10.1186/s4073601800369
Received:
Accepted:
Published:
DOI: https://doi.org/10.1186/s4073601800369
Keywords
 Geometric optimal control
 SubRiemannian geometry
 Optimality conditions
 Direct and indirect numerical methods in optimal control
 Microswimmers and efficient strokes
 Closed geodesics in Riemannian geometry