In this work, we introduce an exact calculation method and an approximation technique for tracing the invariant manifolds of unstable periodic orbits of planar maps. The exact method relies on an adaptive refinement procedure that prevents redundant calculations occurring in other approaches, and the approximated method relies on a novel interpolation approach based on normal displacement functions. The resulting approximated manifold is precise when compared to the exact one, and its relative computational cost falls like the inverse of the manifold length. To present the tracing method, we obtain the invariant manifolds of the Chirikov-Taylor map, and as an application we illustrate the transition from homoclinic to heteroclinic chaos in the Duffing oscillator that leads from localized chaos to global chaotic motion.
Invariant manifolds are the underlying structure that delimit chaotic regions in the phase space and determine the transport channels induced by periodic orbits in the sea of chaos. The calculation of these invariants is important for the characterization of chaotic transport in diverse areas of interest, like magnetically confined plasmas and turbulent flows, and play an important role in the description of transport barriers. The methods introduced in this work are ideal for mappings involving intensive calculations like numerical function inversion or the numerical integration of ordinary differential equations between crossings through a surface of section. Our approximation method is based on an intuitive geometrical decomposition of the manifolds in bare and fine details and allows us to determine a suitable discretization for the curve without requiring numerical optimization.
I. Introduction
In dynamical systems, the determination of unstable periodic orbits and their invariant manifolds is a problem on its own and is fundamental to understanding the underlying structure of the chaotic orbits of planar maps.1 These manifolds provide the skeleton for chaotic dynamics and are relevant in physical applications for the interpretation of the transport induced by non-integrability.2,3
Physically, invariant manifolds determine the geometrical features of advection and delimit the extension of irregular flows. For instance, in magnetically confined plasmas, a small non-axisymmetric magnetic field induces Hamiltonian chaos near the plasma edge of single-null tokamak discharges.4–8 In this situation, the invariant manifolds of the magnetic saddle can be related to the heat flux patterns where the confinement chamber interacts with the plasma.9,10 In analogous systems, time-dependent perturbations lead to orbit transfers between otherwise isolated regions of bistable non-linear oscillators.11 Here, invariant manifolds determine the transport channels between the phase space domains.
From the dynamics point of view, manifold tracing is required for determining the geometry of the basins of attraction of chaotic sets,12 and can be used to identify homoclinic and heteroclinic intersections which are contained in non-attracting invariant sets that play a fundamental role on the description of the dynamics of typical chaotic orbits in the phase space.13 Although global quantities like the Lyapunov exponents allow us to determine numerically the bifurcation parameters, they do not, in general, provide details on the type of bifurcation that takes place. In this situation, precise invariant manifolds tracing determines clearly the topological mechanisms that take place during the bifurcations and accounts for physically relevant features, like regions of enhanced transport or the destruction of transport barriers.14
In some situations, the geometry of the manifolds can be estimated through the mapping of a large collection of orbits close to the saddle, a procedure similar to the one used to determine chaotic saddles.15–18 However, without an ordering scheme and refinement, this method is computationally expensive and limited in resolution.
In this work, we introduce an exact and an approximation method to calculate the invariant manifolds of periodic saddles of planar maps. The maps in question can be explicit or induced by three-dimensional flows. Both calculations are based on the manifold decomposition in primary segments introduced by Hobson.19 The exact method relies on the efficient calculation of primary segments from a single seed segment near the saddle, while the approximated method is based on the determination of reliable interpolants for arbitrary primary segments. The latter is specially relevant for maps induced by flows, where lengthy numerical integrations are required to produce a single iteration of the Poincaré map. This allows us to deal with the increase in length of the manifold segments due to the stretching and folding mechanism inherent to the chaotic dynamics.
The approximation method involving the primary segments interpolation has been discussed before by Hobson19 and Krauskopf,20 and more detailed implementations were made by Goodman and Wróbel21 and references therein. In this work, we introduce a versatile interpolation approach based on the curve decomposition in bare and fine details, which allow us to focus on different aspects of the manifold separately. The bare details of the curve are determined by a discretization procedure that determines an appropriate set of nodes containing most of the curve information, while the fine details are contained in a normal displacement function or shape function which ensures the smoothness of the manifold. The presented normal displacement description is new to our knowledge and can be easily implemented, containing a single set of adjustable parameters which can be fixed from intuitive geometrical conditions, complementing other approaches based on Catmull-Rom splines.21 The resulting approximation method gives the invariant manifold as a continuous parametric curve from which we can measure the distance to the discretized manifold obtained from the exact calculation. This allows us to estimate the approximation error that, in general, is well below an estimated baseline. The approximation procedure is numerically stable and more efficient than the exact one, making it ideal for fast and precise calculations.
The methods presented in this work are specific for one-dimensional manifolds of planar maps. Other sophisticated methods are available for tracing manifolds for continuous dynamical systems,22 which can then be used to intersect the surface of section instead of using a Poincaré map. Also, parametrization methods23,24 are available for obtaining a patched manifold in discrete systems with arbitrary precision. In contrast to these methods, our simpler approach can be easily implemented by a non-specialist and is robust enough to deal with fairly complex manifolds. This work is intended to enable the reader to trace exact and approximated manifolds with a reliable numerical procedure, without dipping into the subject of numerical interpolation or parametrization functions.
The paper is organized as follows: in Sec. II, we present a review on invariant manifolds and their decomposition in primary segments. In Sec. III, we introduce an approximation method to obtain the zeroth segment of the manifold to machine precision. In Sec. V, we present an exact calculation method and in Sec. VI, we introduce its approximated version, where the interpolation procedure is detailed. In Sec. VII, we show an example application of the manifold tracing for bi-stable systems where the transition from homoclinic to heteroclinic chaos is used to explain the transition from alternating chaos to global chaos. In Sec. VIII, we present our conclusions and perspectives.
II. Invariant manifolds and primary segments
In this review section, we want to introduce the concept of invariant manifolds for planar maps and show their decomposition in primary segments. We also show, formally, the method to obtain any primary segment from a single known segment which will be discussed in the following section.
Without loss of generality, we will develop our discussion around the Poincaré maps of three-dimensional flows, since they represent a situation in which we do not have access to a closed-form expression for the planar map of interest. Consider the dynamical system
where and . The solution of this differential equation takes an initial condition and maps it to a new point for a given . Now, consider an orientable two-dimensional surface which is transverse to the flow everywhere, so that orbits starting in must eventually return to . Then, the Poincaré map is a diffeomorphism such that , where and for the smallest such that the flow traverses always in the same direction (Fig. 1). Analogously, the inverse map is such that , where for the largest .
Poincaré map as the first return to the surface in a specified direction.
A fixed point satisfies , which means that the orbit starting in is closed or periodic. For the case of interest, is a saddle point, i.e., the Jacobian matrix of has real eigenvalues , such that and .
The unstable manifold of , , is the collection of points that converge to under , and the stable one is the collection that converge to under . Formally, we can write13
For the numerical calculation of the invariant manifolds, it is useful to develop an ordering scheme that allows us to calculate them recursively, for this we resort to the concept of primary segments.19 A primary segment based on is a continuous subset of the manifold , containing every point in between and , including but not . Notice that, if , then , but clearly , i.e., every point inside has an image in the next primary segment and a pre-image in the previous one, and this is also valid for the base point (Fig. 2). Without loss of generality, we will continue this discussion in terms of the unstable manifold, since the definitions and methods are analogous for the stable one.
The unstable manifold can be subdivided as a sequence of primary segments based on the images and pre-images of an arbitrary point of the manifold.
The unstable manifold can be subdivided as a sequence of primary segments based on the images and pre-images of an arbitrary point of the manifold.
The unstable manifold can be written as the union of all primary segments based on the images of an arbitrary ,
Since every point in has an image in , we can say that the primary segment based on is given by
where is the set obtained after mapping every element of . This implies that the manifold can be obtained by joining subsequent mappings of an arbitrary primary segment
Consequently, if we know every point in any primary segment, we can map them forward and backward repeatedly to obtain the desired extent of the manifold. This is the theoretical basis of interpolation methods,19,21 and it is valid for both conservative and dissipative diffeomorphisms.
III. APPROXIMATING THE ZEROTH SEGMENT
Now, we need to determine at least one primary segment of the manifold. This can be done to any desired precision in the region near the saddle point and, here, we illustrate this with a third order parametric form. Consider an arbitrarily small displacement vector around . To a second order, we can write
where and are the Jacobian matrix and Hessian tensor of the map at the saddle point. The idea here is to determine a function that determines the normal displacement of the manifold at position along the tangent line , touching the manifold at . In this representation, the parametric form of the local manifold takes the vector form
where is the unit unstable eigenvector of , satisfying
with , and is perpendicular to . Using Eq. (9), it can be shown that a vector of magnitude aligned with the unstable direction gets stretched by a factor , in the unstable direction, with the parameter given by
where are the coordinates of in some set of orthogonal coordinates, and are the map derivatives with respect to these coordinates.
If we represent the phase space points by their displacements along and with respect to the fixed point , it can be shown that the normal displacement function satisfies
This comes because the effect of over a point in the manifold is moving it by a factor along the unstable direction and displacing it normally to a new distance given by . Provided that we are close to the saddle, we can use (7) in the new coordinates to write-down the LHS of (11), which leads to a consistency relation for ,
In practice, we can use a polynomial expansion for ,
where and are absent because of the chosen coordinates. Provided that (12) is valid for any small , we have that the coefficients resulting from replacing in (12) must vanish independently. This allows us to relate the coefficients of with the local properties of the map, i.e.,
In the Appendix, we provide additional information on how to obtain the Hessian elements in (14) for an arbitrary planar map in arbitrary coordinates. With this, we have the information required to write explicitly a parametric form of the manifold near the saddle point and, consequently, we are able to determine, to a leading order, one primary segment of the manifold that we will call the zeroth segment,
for some . Numerically speaking, a representation of the local manifold can be determined to machine precision by making the highest order term of the manifold expansion to be below the roundoff error. In practice, we can check the performance of the local approximation by applying the map repeatedly over an initial condition obtained by for some small . In Fig. 3, we compare the performance of a linear and cubic expansions of the local manifold for one saddle of the Henon map25 with the classical parameters and .
Distance between the mapped points from and the local manifold for the simple linear approximation of the local manifold and an approximation with a cubic normal displacement function. For the first four iterates, the cubic manifold error is numerically zero (but here are illustrated at the minimum precision), and can be regarded as exact.
Distance between the mapped points from and the local manifold for the simple linear approximation of the local manifold and an approximation with a cubic normal displacement function. For the first four iterates, the cubic manifold error is numerically zero (but here are illustrated at the minimum precision), and can be regarded as exact.
In regular situations, a linear approximation of the local manifold may be sufficient,20 but having higher orders in the expansion of have important advantages in practical applications, given that a larger primary segment can store more preimages required to obtain numerically the global manifold. For instance, the primary segment between the and iterates of the cubic Henon manifold can generate preimages to machine precision along a portion of size , while the linear manifold can only generate preimages with precision between the initial condition and its first iterate, in a portion of size . Clearly, there is an important gain when using higher order approximations of the manifold, in this example, a -fold increase in available space with -fold increase in precision (assuming machine precision around ).
Numerical indistinguishability between the actual manifold and its functional approximation guarantees that they will be equally affected by roundoff errors due to the application of the map itself, i.e., approximation errors will not propagate numerically if they were numerically nonexistent. In this context, general methods based on parametrization functions valid for high-dimensional systems can be used as well.26 Generalizations for continuous systems are also available,23 allowing us to approximate the manifold along the flow instead of in a cutting surface (the Poincaré section).24
IV. Comments on non-refining advection routines
Provided that we identified an appropriate parametric form of the zeroth segment, the unstable manifold can then be written as the following semi-infinite union:
where and is the union of inverse mappings of which can be approximated by the parametric form for .
With this simple definition, we can compute a finite representation of the invariant manifold to the desired extension, provided we know how to calculate and we know one segment . Formally speaking, if we know how to compute for any , then we are able to compute , but mapping a set of uniformly distributed points in will not, in general, lead to evenly distributed set of points in .
As we do not know a priori which distribution of points in will lead to a uniform discretization of , an interim solution consists in discretizing uniformly with a large number of nodes, although, eventually, the stretching and folding mechanism will overcome the excess points, and the segments will become poorly resolved.
In Fig. 4, we show a short portion of the unstable manifold of the period-one saddle of the Chirikov-Taylor map,27
for . Although the resulting curve appears smooth, close inspection shows the undesired effects of uniform discretization in . The segment stretching leads to a complex mix of over-resolved and under-resolved portions of the manifold. In Sec. V, we introduce an adaptive method that allows us to determine the discretization of that leads to a well resolved discretization of an arbitrary .
Unstable manifold portion of the saddle for the Chirikov-Taylor map with . The base segment was uniformly discretized with points, and the portion contains primary segments. In the red circle, we can see a poorly resolved region, and the red inset shows the effect of stretching for different layers of a homoclinic lobe.
Unstable manifold portion of the saddle for the Chirikov-Taylor map with . The base segment was uniformly discretized with points, and the portion contains primary segments. In the red circle, we can see a poorly resolved region, and the red inset shows the effect of stretching for different layers of a homoclinic lobe.
V. Mapping-Refinement method
In this section, we introduce a refinement method for producing a suitable exact discretization of the manifold which satisfies some predefined resolution criteria by limiting the distance between subsequent nodes and the angles between consecutive secant lines. The word exact is used here to refer to the procedure by which nodes in an arbitrary segment are obtained from the zeroth segment, given that it can be determined to machine precision. More precisely, the only source of error in this case is the application of the mapping itself. For explicit mappings, it is the accumulated roundoff error, while for Poincaré maps, it is the inherent error of the numerical integration routine.
The exact method is then a procedure to obtain the most reliable discretization of the manifold for a prescribed finite precision, while the actual curve between each pair of nodes must be approximated by some suitable method.
Consider the following initial discretization of :
where the “” symbol is used instead of “=” to indicate that we are only representing the continuous set by a discrete set of points. The initial set of points can be obtained by evaluating
for , is a small number, usually . Then, the induced discretization of the segment is
where
As mentioned before, the resulting points of will be unevenly spaced due to the non-uniform stretching of the primary segments, but this can be solved by adding new points to at specific locations. For instance, if some resolution criterion is violated between and , we need to insert a new manifold point between these points. Since we do not have a parametric representation for , we need to obtain the new points from initial conditions in the first segment , where we do have a parametric form given by (8). Then, we calculate between and in and calculate , which is the required refinement point (Fig. 5). This procedure can be iterated until the discretization of satisfies the desired resolution requirements.
The discretization of the th segment may be improved by inserting new points at specific locations in the zeroth segment and applying to populate the th segment in a controlled fashion.
The discretization of the th segment may be improved by inserting new points at specific locations in the zeroth segment and applying to populate the th segment in a controlled fashion.
The refinement procedure must result in evenly spaced points for low curvature regions and a higher density of points in high curvature regions. Such a scale-invariant resolution is desired if we require a reliable description of densely packed portions of the curve, or if we need to study the intersection between manifolds. In Fig. 6, we show the quantities involved in resolution conditions. In general, the length of the chord connecting the nodes and is required to be below some small value . This chord belongs to an infinite secant line that forms and angle with the secant line containing the chord . Analogously, the inter-secant angle must be below some predefined value . Provided that and are sufficiently small, the arcs connecting the points , and will not differ much from straight lines. With this, we establish that most of the geometric information is contained in the nodes instead of the arcs connecting them. Then, the small details contained in the parameters that determine the arcs are used to guarantee the manifold differentiability.
Relevant quantities for the resolution criteria. The chord connects the nodes and , and the angle is defined between the secant lines containing and .
Relevant quantities for the resolution criteria. The chord connects the nodes and , and the angle is defined between the secant lines containing and .
Upon violation of the resolution criteria, a refinement procedure must be carried out as illustrated in Fig. 7. In short, a new point is introduced between and if the chord is larger that the critic distance , or if is the longest chord in an angle that exceeds some small critical value . This simple procedure and the rules of motion in Fig. 7 prevent clustering of new nodes and distribute the new entries evenly along the manifold. The procedure is iterated until the criteria are satisfied for all nodes in the segment , then these nodes are mapped to obtain an initial discretization of and so on.
Refinement procedure to produce a discretization of satisfying the resolution criteria and preventing superfluous clustering. The points and/or are obtained by applying to corresponding points in .
Refinement procedure to produce a discretization of satisfying the resolution criteria and preventing superfluous clustering. The points and/or are obtained by applying to corresponding points in .
This method differs from others in that we do not try to extrapolate the location of new nodes based on the information of previous nodes,19,20 we start with an initial set of nodes generated by mapping the nodes of the previous segment, then perform the refinement operations following Fig. 7. A similar method is mentioned by Goodman and Wróbel,21 but it adds two points instead of one and does not discuss on movement rules, which in our experience have important consequences for the efficiency and reliability of the refinement.
In Fig. 8, we show the same portion of Fig. 4 calculated with the mapping-refinement method. The calculation was done so that the number of nodes in is the same for the uniform discretization example, and the number of calls to the map function is the same for both calculations. In the inset region of Fig. 8, it is clear that the resulting nodes are evenly spaced in regions of low curvature and accumulate in the high curvature regions as required. Although the results from the mapping-refinement method have no error intrinsic to the manifold tracing, they have some inherent error sources, as the roundoff error when applying explicit maps or the error of numerical integration routine when using a Poincaré map.
Unstable manifold portion of the Chirikov-Taylor map saddle with . The adaptive generation of initial conditions on segment was used to satisfy , for each of the 25 segments depicted.
Unstable manifold portion of the Chirikov-Taylor map saddle with . The adaptive generation of initial conditions on segment was used to satisfy , for each of the 25 segments depicted.
Before introducing the interpolation-mapping approach, let us discuss a relevant limitation of the presented method. Since all the points in the manifold are seeded in , the mapping-refinement method is numerically intensive; more precisely, if is the number of points required to resolve the th segment, the total number of calls to the map function when tracing segments of a manifold is
Assuming that the stretching mechanism leads on average to an exponential growth in the primary segments, we obtain
for an appropriate . Consequently, the presented method can be computationally expensive for manifold calculations involving a large number of primary segments, although in most situations a few tens of segments are sufficient to obtain sufficient information on the manifold geometry. A more fundamental problem lies in the finite-precision of the numerical representation, which limits the number of different initial conditions that can be represented in , and can be insufficient to resolve a given due to the exponential growth of . This is why it is important to use high order interpolants for the zeroth segment, as this allows us to work with a large primary segment. In practical situations, the stretching mechanism can be sufficiently large for two neighbor initial conditions in a linear representation of separated by the minimum representable numerical difference in coordinates to become separated after a few mappings by a distance that exceeds the resolution limit in the phase space.
VI. Interpolant-mapping method
In Sec. V, we introduced a refinement method to produce a suitable discretization of the exact manifold to any desired resolution and extent. Despite our control over the calls to the map function and a precise definition of the refinement regions, the resulting procedure can be computationally intensive (but far less intensive than a non-refining procedure). To reduce the computational cost we can move to an approximation paradigm,19 where the refinement of segment is based on the approximation of initial conditions in segment , instead of initial conditions in .
In this section, we concentrate on producing an approximated continuous representation for based on an approximated representation of . This is formally closer to the original composition presented in (16), but, in practice, we use the refinement methods presented in Sec. V to define an iterative scheme that allows us to produce reliable interpolants from a previous segment in the manifold.
Assume that we have a planar parametric curve for that approximates the points in the th segment to a given precision . This is
In other words, the points in differ from those in by at most a distance . To approximate the segment , we can infer its behavior from an appropriate set of nodes
where and are the parameters corresponding to the end-points of the segment . The set is chosen so that the curve between any pair cannot differ much from a straight line. The procedure to do this is analogous to that presented in Fig. 7, where a new node between and is added when the resolution criteria are not met. The new point is obtained by parametric bisection
After determining an appropriate set of nodes for the whole domain of , the interpolant curve to approximate it is a piecewise vector function
where and ’s are adjustable parameters that determine the local properties of the curve and can be determined by imposing geometrical constrains on the interpolant pieces .
A. The interpolant model
Consider the following expression for the position vector along the interpolant of the th arc:
where is the position vector of node , , and is the normalized position along the chord line joining and (see Fig. 9). The function is proportional to the normal distance between the interpolant curve and the chord , and satisfies , which guarantees that the curve passes through the nodes and . Notice also that the L.H.S. in (29) depends on the global parameters , and the R.H.S. depends on the normalized parameter so that there is a function that allows us to make the transformation from the local parameter to the global one . The interesting part of this arc representation is that the bare geometrical aspects of the curve are contained in the first half of the expression , and the fine tuning is carried by the shape function, in the second part, which contains the error adjustable parameters . Notice also that a good choice of the partition nodes results in , everywhere in the interval, guaranteeing that the main geometry is well described by the nodes themselves and only small (but extremely important) details are described by .
The position along the model curve can be decomposed into three vectors. One defines the first node , the second is the displacement along the chord joining two nodes, and the third gives the normal displacement of the arc with respect to the chord.
The position along the model curve can be decomposed into three vectors. One defines the first node , the second is the displacement along the chord joining two nodes, and the third gives the normal displacement of the arc with respect to the chord.
By definition, the arc representation (29) is continuous across the nodes , but we also require the curve model to be differentiable everywhere. Since the interpolant is smooth inside the arcs, we concentrate on the nodes and require
for all in the partitioning. In terms of the local representations of the interpolant, this becomes
where and are the corresponding local parameters of the arcs and . Because the global parameter has the same meaning across the node, the differential is the same in both sides, and we are left with a simpler relation that does not depend on the global parameter
The relation can be determined by the ratio of the projections of a line element along the secant lines and , leading to
where and are the angles between the tangent line at and the secant lines. In other words, and are the angles between the th arc and its corresponding chord line at the endpoints (see Fig. 9). Writing as the difference between and the inter-secant angle , we obtain a consistent equation for the differentiability at the node ,
where the angles can be determined from the position of the nodes alone. For a suitable choice of the shape function, the chord-tangent angles determine the overall behavior of the model curve and can be considered as the fundamental parameters of our interpolant.
Using the explicit arc representation in (29) and the differentiability condition (34), we can relate the angles with the derivatives of the shape function at the end-points
B. The simplest shape function
Requiring the shape function to be the lowest order polynomial, vanishing for and , and allowing for different left and right derivatives, we obtain a cubic function as the simplest expression for the shape function
where and are the end-point derivatives, and can in turn be related to the parameters of the next shape function using the conditions obtained from differentiability in (35)
where . Given that the inter-chord angles are the resulting features of the discretization procedure, they are not adjustable parameters and are kept fixed. This leaves us with the set which can, in principle, be adjusted to obtain an interpolant which is closest to the primary segment . However, to adjust this set, an error functional must be minimized, and this requires obtaining more information about the curve being modeled. For instance, we can calculate a set of intermediate points where and minimize the functional
by performing subsequent variations obtained from a Levenberg-Marquardt procedure.28 As expected, this results in an interpolant that passes through every node and is closest to the intermediate points . However, there can be an arbitrary distance between the interpolant and the primary segment in every other location without affecting the error functional. In fact it was observed that an appropriate guess of the set performed better at arbitrary locations than the numerically optimized set, even when additional optimization constraints were applied, like requiring the interpolant arc-length to be small or limiting the domain of variation of the ’s.
A suitable guess consists in requiring the tangent line on each node to bisect the inter-secant angle. In other words, , resulting in the following relations between parameters:
with . This results in a very smooth curve passing through all the nodes, but as discussed before, the success of this approximation relies on leaving a minimum amount of information on the shape function. Most of the information must be contained in the node positions, and the interpolant between two nodes must differ very little from a straight line, i.e., the values of must be very small. Notice that this is automatically satisfied for a good set of nodes because all inter-secant angles satisfy with .
We can estimate the maximum distance from the interpolant curve to the corresponding secant line in terms of the resolution parameters and . Provided that , we have
where is measured in radians and for . This gives us a baseline to measure the interpolation error, which must be small in units of .
C. Comparison to the exact calculation
In Fig. 10, we compare the approximated manifold and the exact one in a region of the phase space for the Chirikov-Taylor map with . For this comparison, we traced primary segments with and for both the exact and approximated calculation. This gives us a distance baseline of so that the local interpolation error must satisfy . In the scale of Fig. 10, differences between the manifolds are not observable, and in fact they are not observable in any low or moderate-curvature region, because the distance between consecutive nodes of the manifold is much larger than the separation between the curves. To depict any difference we must look into very sharp corners, where any tiny amount of compression along the manifold amplifies the differences between the exact and approximated manifold.
Comparison between primary segments of the exact and approximated unstable manifolds of the Chirikov-Taylor map for a region of phase space. To depict any difference between the manifolds we zoomed into an extreme corner, where differences below develop.
Comparison between primary segments of the exact and approximated unstable manifolds of the Chirikov-Taylor map for a region of phase space. To depict any difference between the manifolds we zoomed into an extreme corner, where differences below develop.
To have a better perspective of the approximated manifold error, we can measure the distance between an exact node and its expected position from the manifold interpolant. This can be done by finding the normal projection of the exact node along the secant line between two nodes of the approximated manifold. This gives us the value of in (29), and we can calculate the corresponding interpolant position.
In Fig. 11, we show the distance between the exact nodes and their corresponding estimation by the interpolants that compose the approximated manifold. Because the first segment of the approximated and exact methods is the same, we expect smaller errors for the first segments. However, the correlation between the nodes of the exact calculation and approximated method is quickly lost because of the difference in the construction methods, then the distance from the exact nodes to their estimated positions gives us a good estimate of the local error. An important feature of Fig. 11 is that the interpolant error does not grow along the manifold as a consequence of mapping approximated new nodes based on an interpolant curve. This indicates that the approximation method is stable, i.e., small errors introduced by the interpolation of new nodes get damped due to the compression perpendicular to the manifold.
Distance between the nodes of the exact manifold and their location from the manifold interpolant as a function of the arc-position along the manifold. The distance fluctuates widely but remains bounded below .
Distance between the nodes of the exact manifold and their location from the manifold interpolant as a function of the arc-position along the manifold. The distance fluctuates widely but remains bounded below .
For this example, the manifold error is quite small, as can be seen in Fig. 12, where the statistical distribution of distances of Fig. 11 is shown. The error of the interpolants that compound the approximated manifold concentrate around and below , and error values close to the baseline show a very small probability. Remarkably, these results were obtained after setting the adjustable parameters only by geometrical requirements. It is important to realize that errors below must not be considered to be meaningful, since they are below machine precision, and their numerical representation is not reliable. However, it is important to keep them in the error histogram because they account for the events where the approximated and the exact manifolds were numerically identical.
Statistical distribution of the distances in Fig. 11. For a random position in the manifold there is a high probability of obtaining errors near , and the probability of values near the baseline is significantly small. The values in the shaded region below are not numerically reliable because they fall below machine precision; however, we preserve them because their frequency indicates the number of events where the approximated and exact methods were numerically identical.
Statistical distribution of the distances in Fig. 11. For a random position in the manifold there is a high probability of obtaining errors near , and the probability of values near the baseline is significantly small. The values in the shaded region below are not numerically reliable because they fall below machine precision; however, we preserve them because their frequency indicates the number of events where the approximated and exact methods were numerically identical.
The resolution criteria led to calls to the map function for the exact calculation and calls for the approximated one. This factor ten reduction in the number of calculations is due to the seeding of a new initial condition in the segment previous to the segment under refinement, instead of the zeroth segment. The number of calculations involved in the approximated calculation can be approximated by
so that, for a large stretching rate and large number of primary segments , the number of calls to the map approaches
then, for a finite number of segments, the ratio to the number of calls for the exact calculations satisfies
where . This rapidly decreasing function of the number of segments guarantees a sustained growth in efficiency as the number of primary segments increases.
VII. An example application
Now that we have illustrated the approximated manifold calculation for an explicit map, we consider a situation where the computational efficiency is more relevant, a continuous time dynamical system. Consider, for instance, the conservative Duffing oscillator with the Hamiltonian function
where and are conjugate variables and satisfy the Hamilton equations. Physically, and are the position and momentum of a particle in a double-well potential subjected to a periodic force field. In the unforced situation, particles with energy are restricted to one side of the well, but in the forced situation, the external field enables the transition from one well to the other for energies moderately below zero. This problem has interest in modeling the increase of the transition rate over potential barriers induced by external monochromatic fields.11 Moreover, the corresponding deterministic diffusion in the chaotic region competes with quantum-mechanical tunneling between wells.29,30
In the subject of magnetically confined plasmas this problem is equivalent to that of an asymmetric single-null tokamak discharge.31 Here, small asymmetries cause some magnetic field lines to become chaotic around the plasma column and the external divertor coils, leading the charged particles to encounter the tokamak chamber.4,5 The use of resonant magnetic perturbations to break the magnetic invariants in the separatrix region has important applications in the control of plasma edge instabilities and plays an important role in modern tokamak operation.
Broadly, the potential barrier penetration can be understood through the formation of a chaotic layer around the separatrix of the well, which overcomes the potential barrier of the integrable case, allowing chaotic orbits to wander in both sides of phase space. However, there are interesting situations where the transit between sides of the well is virtually suppressed for orbits in the chaotic layer during long extents of time, and manifold tracing provides relevant insight into the mechanisms involved in transport or lack of it.
In Fig. 13, we show cycles of the stroboscopic position of the Duffing system for an arbitrary orbit in the chaotic layer with different forcing amplitudes. For , the orbit spends a long time on each side of the well with shorter interludes of global motion. As we increase the amplitude, the times spent in local motions become shorter, and global motion begins to dominate. For instance, at , periods of localized motion are very short compared to those of global motion.
The particle’s position from the stroboscopic map of the Duffing system with and two different amplitudes. Larger amplitudes lead to a predominantly global motion, while small ones cause spontaneous transitions between the different localized and global motions.
The particle’s position from the stroboscopic map of the Duffing system with and two different amplitudes. Larger amplitudes lead to a predominantly global motion, while small ones cause spontaneous transitions between the different localized and global motions.
To understand these transitions in a geometrical basis, we need to know which invariants control the motion in the chaotic region. From structural stability,13 it is expected for the perturbed system to contain a saddle , which is a time-dependent version of the unperturbed saddle at . The invariant manifolds of this saddle are responsible for driving the chaotic orbits from one side of the well to the other, but this is not the only period-one saddle in the chaotic region. For , there are two resonant tori near the separatrix of the double well, one for each side of the well. For , they are destroyed by the perturbation creating period-one K.A.M. islands surrounded by a thin chaotic layer driven by the invariant manifolds of a helical saddle . The chaotic layers of the central saddle and the islands are in contact, but their interaction depends on the perturbation strength.
In Fig. 14, we show a single orbit in the merged chaotic layers and an inset depicting the central and right period-one saddles with some of their invariant manifolds. The periodic orbits and were determined to significant digits using a modified Levenberg-Marquardt algorithm.28 For , a finite tracing of the invariants shows no entanglement between the manifolds of the central and the helical saddle. The lobes of the stable and unstable manifolds of develop around so that chaotic orbits near the helical saddle tend to remain so, leading to a slow diffusion from the chaotic layer around the island to the global layer responsible for transitions, as if they were only weakly connected.
For and , the orbit transits between sides of the potential well spending long times near the helical saddles of period-one K.A.M. islands. The resonant torus is sketched with a dashed line. The inset shows finite portions of the invariant manifolds of the central saddle and helical one , exhibiting homoclinic intersections.
For and , the orbit transits between sides of the potential well spending long times near the helical saddles of period-one K.A.M. islands. The resonant torus is sketched with a dashed line. The inset shows finite portions of the invariant manifolds of the central saddle and helical one , exhibiting homoclinic intersections.
When the forcing amplitude is increased, the lobes of the stable and unstable manifolds of develop around , and vice versa, causing a heteroclinic connection between these saddles and a strong entanglement between their manifolds which results in a full mixing of the chaotic layers (Fig. 15). This transition from homoclinic to heteroclinic connection explains the transition from the alternating localized chaotic motion to the global chaotic dynamics, and leads to the suppression of the local motion features of around the period-one islands. Provided that there are transitions for the case, there must be some heteroclinic connection between the saddles, and such can be observed after a rather extensive manifold tracing; however, this is a second-order feature and the homoclinic connections determine the most relevant features of the weak forcing situation.
For and , the orbit wanders the chaotic region uniformly. The inset containing the central and helical saddles shows the development of heteroclinic connections between them, and a rather complex pattern of manifold intersections, so that diffusion in the chaotic region becomes more uniform.
For and , the orbit wanders the chaotic region uniformly. The inset containing the central and helical saddles shows the development of heteroclinic connections between them, and a rather complex pattern of manifold intersections, so that diffusion in the chaotic region becomes more uniform.
VIII. Conclusions
In this paper, we introduced a mapping-refinement approach to discretize the exact invariant manifolds of planar maps. This intensive method prevents redundant calculations and makes the best use of every new orbit resulting in a lower computational cost when compared to non-refining approaches. An intensive non-refinement technique with the same computational cost results in a non-smooth representation of the manifold with under-resolved and over-resolved portions.
Then, we introduced an interpolant-mapping approach to approximate the invariant manifolds. Our interpolation method was based on the curve decomposition in bare and fine details, where the fine details were contained in a normal displacement function or shape function. This curve decomposition is new to our knowledge and does not involve any parametric optimization stage, which eases the method implementation.
With the approximation method, the efficiency was greatly increased with a small precision penalty due to the interpolation of the primary segments for seeding new orbits. Comparison between the exact and approximated manifold resulted in errors well below the determined baseline, even when the shape functions of the interpolant curve were chosen to be the simplest polynomial function with independent end-point derivatives. This leaves space for further improvement if more elaborate shape functions are used, or even parametric optimization techniques, with the cautions mentioned in Sec. VI B.
To illustrate the different manifold tracing routines, we obtained the invariants for the Chirikov-Taylor map during the methods comparison, and used the approximation technique to study the chaotic transitions between local and global motions in the conservative Duffing oscillator, where the transition from homoclinic to heteroclinic connections between the central and helical saddles in the chaotic layer was evidenced in agreement with the observed intermittent dynamics.
Acknowledgments
This work was developed with financial support from the National Council for Scientific and Technological Development (CNPq, Brazil) Grant No. 433671/2016-5, the São Paulo Research Foundation (FAPESP, Brazil) Grant Nos. 2012/18073-1 and 2011/19296-1, and the U.S. Department of Energy under DE-FC02-04ER54698 and DE-SC0012706.
Appendix: DETERMINATION OF HESSIAN ELEMENTS OF T
In Sec. III, we described with some detail how to determine the normal displacement function coefficients for an approximated local manifold near a saddle point of an arbitrary map. Any planar map consists of two functions , one for each dimension
The unstable unit vector satisfies
with , and its determination is elementary in two dimensions. The entries of are related to the angle , between and , by
Coordinates are such that is the displacement along the unstable subspace with respect to the saddle , and is the displacement perpendicular to . These coordinates are just a rotation by of coordinates and, analogously, the representation of map can be obtained by
Using elementary transformation rules, we can obtain the required elements for the calculations in (14). For the Jacobian elements, we have
and for the Hessian elements
where can be obtained by elementary differentiation of the original map or can be obtained numerically by finite differences when an explicit form is not available.