Computing invariant sets of random differential equations using polynomial chaos
Maxime Breden, Christian Kuehn

TL;DR
This paper introduces a polynomial chaos-based method to efficiently compute and visualize invariant sets of random differential equations, enabling uncertainty quantification and faster sampling in complex dynamical systems.
Contribution
It presents a novel approach using polynomial chaos to analyze invariant sets of RODEs, enhancing computational efficiency and visualization capabilities.
Findings
Efficient computation of invariant sets for RODEs using PC.
Successful application to predator-prey and Lorenz systems.
Demonstrated numerical efficiency with adaptive PC methods.
Abstract
Differential equations with random parameters have gained significant prominence in recent years due to their importance in mathematical modelling and data assimilation. In many cases, random ordinary differential equations (RODEs) are studied by using Monte-Carlo methods or by direct numerical simulation techniques using polynomial chaos (PC), i.e., by a series expansion of the random parameters in combination with forward integration. Here we take a dynamical systems viewpoint and focus on the invariant sets of differential equations such as steady states, stable/unstable manifolds, periodic orbits, and heteroclinic orbits. We employ PC to compute representations of all these different types of invariant sets for RODEs. This allows us to obtain fast sampling, geometric visualization of distributional properties of invariants sets, and uncertainty quantification of dynamical output…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Computing invariant sets of random differential equations using polynomial chaos
Maxime Breden Technical University of Munich, Faculty of Mathematics, Research Unit “Multiscale and Stochastic Dynamics”, 85748 Garching b. München, Germany. [email protected]
Christian Kuehn Technical University of Munich, Faculty of Mathematics, Research Unit “Multiscale and Stochastic Dynamics”, 85748 Garching b. München, Germany. [email protected]
Abstract
Differential equations with random parameters have gained significant prominence in recent years due to their importance in mathematical modelling and data assimilation. In many cases, random ordinary differential equations (RODEs) are studied by using Monte-Carlo methods or by direct numerical simulation techniques using polynomial chaos (PC), i.e., by a series expansion of the random parameters in combination with forward integration. Here we take a dynamical systems viewpoint and focus on the invariant sets of differential equations such as steady states, stable/unstable manifolds, periodic orbits, and heteroclinic orbits. We employ PC to compute representations of all these different types of invariant sets for RODEs. This allows us to obtain fast sampling, geometric visualization of distributional properties of invariants sets, and uncertainty quantification of dynamical output such as periods or locations of orbits. We apply our techniques to a predator-prey model, where we compute steady states and stable/unstable manifolds. We also include several benchmarks to illustrate the numerical efficiency of adaptively chosen PC depending upon the random input. Then we employ the methods for the Lorenz system, obtaining computational PC representations of periodic orbits, stable/unstable manifolds and heteroclinic orbits.
**Keywords: invariant manifold, periodic orbit, heteroclinic orbit, Lorenz system, polynomial chaos, random differential equation. **
Contents
-
3 Computation of periodic orbits, invariant manifolds and connecting orbits
-
3.2 Local invariant manifolds via Taylor series and the parameterization method
-
3.3 Heteroclinic orbits via Chebyshev series and projected boundaries
1 Introduction
In this work, we study random nonlinear dynamical systems. More precisely, we focus on nonlinear random ordinary differential equations (RODEs) of the form
[TABLE]
where is a smooth vector field and denotes random parameters with given distributions. From the viewpoint of applications, it is frequently natural to assume that the parameters are only known from measurements, which naturally carry an associated probability distribution. Then the challenge is to quantify the uncertainty in the “output” of the RODE (1) based upon the random input. Yet, we are still far away to fully understand the nonlinear dynamics of such RODEs. In classical uncertainty quantification problems [12, 19], one is often interested [21, 33] in the moments as an output of the solution for , where denotes the expectation. Here we take a dynamical systems perspective focusing on the invariant sets (e.g. steady states, periodic orbits, invariant manifolds, connecting orbits, etc.) of (1), and especially in understanding their dependence on the noisy parameters . In this paper, we study the invariant sets from a numerical viewpoint. However, the framework that we develop is well suited to the usage of rigorous numerics [30], and in particular of a-posteriori validation techniques [32], which could applied to obtain rigorous results about these stochastic invariant sets. This idea will be presented in a forthcoming work.
Let us start by mentioning that there exists many well developed techniques to numerically study invariant sets of deterministic ODEs. Therefore, a natural way of studying the invariant sets of (1) would be to use a Monte-Carlo type approach: consider a large sample of values taken according to the distribution of , and for each study the invariant sets of the deterministic ODE . However, this approach is known to be very costly, because it requires a large sample to accurately represent the statistics of the invariant sets [10]. In this work we make use of a different technique, namely polynomial chaos (PC) expansions [35, 11], to accurately compute invariant sets of (1). Roughly speaking, we view each invariant set of (1) as a curve parametrized by (or as a manifold if is more than one-dimensional), and compute such parameterization explicitly via a PC expansion. This can be thought of as a parameter continuation in , but in an astute way that allows us to obtain not only the geometrical object (i.e. the curve/manifold of invariant sets), but also statistical properties of this object (e.g. mean position, variance, …). Furthermore, our techniques naturally extend to numerical continuation algorithms [16, 17] if the probability distributions of contain further parameters, which is a direction we will pursue in future work.
Let be an invariant set of (1), i.e., trajectories starting inside remain in for all . In this work, we focus on the cases where represents a steady state, a stable/unstable manifold, a periodic orbit or a heteroclinic orbit, which are among the most important objects in nonlinear dynamics [18, 13]. One key observation is that PC expansions can be used to unify the computational framework for invariant sets and that they provide a natural deterministic structure to view the dynamics of nonlinear random ODEs. Our goal is to find a series expansion of as a function of :
[TABLE]
Note that the coefficients have to be found as solutions of suitable nonlinear problems to correctly represent the different invariant sets; we develop the details for each type of invariant set in this work. In practice, the choice of the expansion basis is of course also crucial, as it determines the quality of the approximation, or more precisely the number of coefficients required to obtain a good enough approximation. For the rest of this discussion, we assume for simplicity that is one-dimensional.
If is analytic with respect to , then we can expect to also be analytic as a function of , at least around values of that are not bifurcation values. Therefore, in many cases one could think about writing as a Taylor series by taking . However, it is well known in approximation theory that faster convergence can be achieved by considering instead Chebyshev series or Legendre series (i.e. taking or , where and respectively denote Cheybshev and Legendre orthogonal polynomials), mainly because these expansions are less sensitive to potential poles of in the complex plane; see e.g. [29]. Chebyshev or Legendre expansions also have the advantage of being convergent even when is only of class , where the coefficients decay at an algebraic rate, rather than geometric in the analytic case. If is deterministic, then looking at the decay rates of the coefficients is a relevant benchmark, because it is related to the error in -norm. For instance, if is the truncated series given by
[TABLE]
then for a Taylor expansion, a Chebyshev expansion or a Legendre expansion alike one has
[TABLE]
because for each of these choices one has . However, when is a random variable, one is more interested in controlling different quantities such as
[TABLE]
where denotes the variance. To minimize the error in the moments, the choice of the expansion is critical not only because it influences the decay of the coefficients, but also because the themselves appear in the error term. For instance, one has
[TABLE]
Therefore, two different expansions leading to the same decay of the coefficients may not lead to an error of the same order for the expectation or of the variance. Of course, one could change these weights by rescaling the , but this only shifts the problem because the rescaling would then affect the decay of the coefficients.
In this work, we use the PC paradigm to minimize such quantities, by choosing an expansion basis that is adapted to the distribution of the noisy parameter . PC expansions have become a very important tool in uncertainty quantification in the last decades, and a review of its many applications is far beyond the scope of the present work. We instead refer the interested reader to the survey [38] and the book [19].
The paper is structured as follows. First, we review the PC methodology in Section 2. In Section 3 we introduce some classical techniques to numerically study periodic orbits, invariant manifold and connecting orbits of deterministic ODEs. Then we proceed to the main contributions of our work. We explain, how to combine the numerical study of invariant sets with PC expansions to study the dynamics of nonlinear RODEs. In Section 4 we focus on a relatively simple example, where many quantities can also be computed analytically, which allows us to benchmark our numerical computations in the context of steady states. Yet, we also go beyond explicit structures and compute the distribution of stable/unstable manifolds using the “parameterization method” in combination with PC. Furthermore, we explain the implications of the random structure of the invariant sets and how to gain information from the moments of the invariants sets very efficiently. In Section 5 we then turn our attention to another example, where analytic computations are no longer available, and showcase the potential of our approach on the Lorenz system. For this system, we compute periodic orbits using a combined Fourier and PC ansatz, we compute again invariant stable/unstable manifolds, as well as heteroclinic connections.
2 A quick review on PC
Let be probability distribution function (PDF) having finite moments, i.e.
[TABLE]
Given normalization constants , for all , there exists a unique family of orthogonal polynomials associated to the weight , i.e. satisfying
[TABLE]
The most classical examples are:
- •
The Hermite polynomials , which correspond to and ;
- •
The Laguerre polynomials , which correspond to and ;
- •
The Jacobi polynomials , , which correspond to and , where is the Euler beta function.
Within the class of the Jacobi polynomials, we list a few remarkable cases (sometimes having different normalizations) that we make use of in this work:
- •
The Legendre polynomials , which correspond to and ;
- •
The Chebyshev polynomials of the first kind , which correspond to and , , for ;
- •
The Chebyshev polynomials of the second kind , which correspond to and ;
- •
The Gegenbauer or ultraspherical polynomials , , , which correspond to and .
For a more complete description of PC choices and their relations to the Askey scheme, see [39].
Remark 2.1**.**
In this work, we only consider parameters having a PDF with bounded support. Indeed, in most applications these parameters have a physical meaning, for instance they could represent a quantity which must always be nonnegative, and having PDF with unbounded supports like Gaussian would mean that said parameters would be negative with a positive probability, which is not realistic. However, many sources of uncertainties are still expected to have a Gaussian-like behavior, in the sense that their PDF should be concentrated around a point. In that case, a good compromise is to use Beta distributions, which are the weights associated to the Gegenbauer polynomials and provide good bounded approximations of Gaussian distributions, at least for small variances (see e.g. [36], or the comparison on Figure 1). Another widely used option is to use truncated Gaussian distributions.
We recall that if has compact support, or decays at least exponentially fast at infinity (see e.g. [8]), then is a Hilbert basis of , i.e. any mesurable function such that
[TABLE]
admits a unique series expansion of the form
[TABLE]
where the series converges in .
Now, assume that the noisy parameter (still assumed to be one dimensional for the moment) has a PDF given by . The PC paradigm then tells us that we should use the orthogonal polynomials associated to as a basis for the expansion (2) of . Notice that with such a choice, the coefficients of the expansion directly provide us with the mean and variance of . Indeed, by orthogonality (and assuming for simplicity) we have
[TABLE]
and similarly
[TABLE]
If consists of several independent random variables, each with respective PDF , , one can consider the PC basis constructed as a tensor product of the univariates bases. That is, for all and all ,
[TABLE]
where is a basis of orthogonal polynomials associated to the weight . In practice, there are several ways to compute the coefficients of a PC expansion (2). Notice that directly using the orthogonality relations to get
[TABLE]
is usually not one of them, as is not known a-priori but is actually what we want to compute via the PC expansion. To formalize the discussion, assume that the quantity of interest for which we want to find a PC expansion, solves a problem depending on a parameter , of the form
[TABLE]
where . One common way to find the coefficients is to solve the system obtained by Galerkin projection:
[TABLE]
Of course, in practice one only solves for a truncated expansion
[TABLE]
by considering a finite-dimensional projection of associated dimension, i.e. in (3). This is the technique we make use of in this work. Another possible option is to use a collocation/interpolation approach [37]. This technique is based on first solving the deterministic problem several times for a well chosen sample of parameter values , i.e. computing that solves
[TABLE]
The polynomials chaos coefficients are then constructed by interpolation:
[TABLE]
where are weights associated to the interpolation points in such a way that, for any smooth function
[TABLE]
where is the PDF of . For a detailed discussion about these two approaches and their respective merits and limitations, we refer to the survey [38], the book [19] and the references therein. In practice, after an accurate PC approximation
[TABLE]
of has been computed, we can then do Monte Carlo simulations for a very large sample of values of . Indeed, instead of having to solve the deterministic problem for each value of the sample, we only have to evaluate to obtain .
3 Computation of periodic orbits, invariant manifolds and connecting orbits
In this section, we review some classical techniques to numerically study periodic orbits, invariant manifolds and connecting orbits of deterministic ODEs. An exhaustive review of these techniques is far beyond the scope of this work, and we only focus on one technique for each case, although alternative methods could certainly also be used; see e.g. [15] for a comparison of methods for computing stable/unstable manifolds. All the techniques presented here are based on series expansions, and this choice is motivated by two main reasons. The first and most important one is that series expansions can easily and efficiently be combined with PC expansions, once we go to the stochastic setting. This is particularly relevant for limit cycles, and is to be contrasted with more classical long-term integration approaches, for which PC expansions are known to be ill-behaved. The second one is that series expansions are particularly well suited for a-posteriori validation techniques [32], which we plan on developing in this context in a future work. In each case, we explain how an extra layer of PC expansion can be added, to keep track of the stochastic nature of the parameters. Illustrations for all these methods are presented in Section 4 and Section 5.
3.1 Periodic orbits via Fourier series
We start by considering the parameter dependent problem (1) from a deterministic point of view. Limit cycles of (1) can be efficiently studied and computed using Fourier series. That is, for a fixed , we write a -periodic solution of (1) as
[TABLE]
where . To numerically find a periodic orbit, we thus solve for the coefficients and , which satisfy the system obtained by plugging (4) into (1), namely
[TABLE]
where are the Fourier coefficients of .
Remark 3.1**.**
In practice, it is helpful to complement the above system, with a phase condition. For simplicity we choose to fix a section through which the solution has to pass at time [math], but other options are available [18]. More precisely, we add a scalar equation of the form
[TABLE]
where is some (approximate) point on the orbit, , and we use the dot product to denote the scalar product on (and avoid potential confusion with the scalar product ). The phase condition allows to isolate the solution by eliminating time-shifts, which makes the system easier to solve in practice, especially using iterative methods. Indeed, if is a periodic orbit of (1), then so is any function of the form , but there is (locally) only one that also satisfies the phase condition.
This approach of solving for the Fourier coefficients and the frequency has several advantages, compared to numerically integrating (1) and trying to find an (approximately) closed orbit. Indeed, the approach is not sensitive to the linear stability or instability of the limit cycle, and is therefore not susceptible of diverging if one tries to approximate an unstable periodic orbit, which is a definitive concern for time-integration based techniques. We illustrate this point in Section 5 by computing unstable limit cycles belonging to the chaotic attractor of the Lorenz system. The Fourier series approach is also particularly well adapted to continuation algorithms, especially to compute limit cycles originating from a Hopf bifurcation, where the linearized analysis can predict the first Fourier coefficient and the frequency.
If we now consider that is random and has a given PDF , it is natural to still consider a Fourier ansatz [22]. It is straightforward to extend the Fourier series approach by expanding each Fourier coefficient, together with the frequency, with PC. Namely, write
[TABLE]
or equivalently
[TABLE]
In practice, we of course consider truncated expansions
[TABLE]
for which we solve using (5). Each now belongs to instead of , and belongs to instead of . An explicit example of such system together with numerical solutions is given in Section 5. In this setting, the Fourier series approach also has the notable advantage of separating the random period (or equivalently the random frequency ), from the description of the random cycle given by the coefficients . In particular, we avoid the usual pitfalls related to phase-drift and broadening of the spectrum, which are the main reasons why limit cycles are hard to compute using PC combined with time integration [7]. A similar idea was introduced in [20, 27], where a random time rescaling is used to compensate for the random period, which significantly improves the long time behavior of the PC expansions and allows to better capture stable limit cycles. Yet a Fourier series approach accomplishes that naturally, and can also be used to study unstable limit cycles.
3.2 Local invariant manifolds via Taylor series and the parameterization method
We again start by considering the parameter dependent problem (1) from a deterministic point of view, but now focus on studying local stable and unstable manifold attached to equilibrium points. In this section we only discuss the case of stable manifolds, but unstable manifolds can of course be studied with the same techniques. Let be an equilibrium point of (1), i.e. , and assume that the derivative has exactly eigenvalues with negative real part. For simplicity, we also assume that each of these eigenvalues is simple, and denote by associated eigenvectors. Our goal is to find a parameterization of the local stable manifold of . We look for a power series representation of :
[TABLE]
with the classical multi-indexes notations and . Since we want to be a parameterization of the local stable manifold of , we must have
[TABLE]
where are scaling that can be adjusted. To obtain the higher order terms, we follow the idea of the parameterization method, introduced in [3, 4, 5] (see also the recent book [14]). We want to obtain a parameterization that conjugates the dynamics on the stable manifold with the stable dynamics of the linearized system. More precisely, introducing the diagonal matrix with diagonal entries , we want to satisfy (see Figure 2)
[TABLE]
where is the flow generated by the vector field and .
Remark 3.2**.**
If some of the stable eigenvalues are complex conjugate, say , it is more convenient to first look for a complex valued parameterization with , and then recover a real valued parameterization via
[TABLE]
see e.g. [31].
Finding a parameterization satisfying (9) is interesting because it provides us with not only a local stable manifold but also an explicit description of the dynamics on this manifold. However, the formulation (9) is not the most convenient one to work with in order to determine the higher order coefficients of , because it involves the flow. To get rid of it, one can take a time derivative of (9) and evaluate at , to obtain the following invariance equation
[TABLE]
One can check that, if solves (10) and is such that , then satisfies (9), therefore is indeed a parameterization of the local unstable manifold of . The invariance equation (10) is the one we are going to use to numerically find the coefficients . Plugging the expansion (7) in the invariance equation (10), we obtain
[TABLE]
where are the Taylor coefficients of and , therefore the coefficients must satisfy
[TABLE]
Notice that (8) already ensures that (12) is satisfied for . In order to solve (12) for , let us first describe, how depends on . Given a Taylor series of the form (7), we define for all the truncated series
[TABLE]
Notice also that, for any , . Besides, using a Taylor expansion of in the variable, we have for all
[TABLE]
and looking at the coefficient of degree on each side we get
[TABLE]
Therefore, assuming (8), having (12) for all is equivalent to having
[TABLE]
Assuming the following non-resonance condition is satisfied:
[TABLE]
we see that (13) has a unique solution that can be computed recursively via
[TABLE]
since the right-hand side only depends on for . We can therefore compute a truncated parameterization of arbitrary order, starting from (8) and then computing (14) recursively for as large as desired. In practice, the weights in (8) are chosen in order to obtain a reasonnable decay of the coefficients (we refer to [2] for a detailed explanation of how this choice can be optimized). Explicit examples are presented in Sections 4 and 5.
Remark 3.3**.**
In cases where resonant eigenvalues are present, a similar approach can still be used, but the conjugacy condition (9) defining has to be adapted [31].
If we now consider that is random and has a given PDF , this approach based on the parameterization method can also be easily generalized by adding a layer of PC expansion. Namely, we write
[TABLE]
or equivalently
[TABLE]
In practice we consider a truncation
[TABLE]
which we compute via
[TABLE]
where, compared to (14), is now a vector of size rather than , and
[TABLE]
can be interpreted as a block matrix, with blocks having each size . For explicit computations we again refer to Sections 4 and 5.
3.3 Heteroclinic orbits via Chebyshev series and projected boundaries
We go back to considering the parameter dependent problem (1) from a deterministic point of view, and extend the discussion of the previous subsection by looking at more global solutions, namely connecting orbits between equilibrium points.
Let and be two equilibrium points of (1). Assume that has an unstable manifold of dimension and that has a stable manifold of dimension , such that . Then, if the two manifolds intersect, we can generically expect this intersection to be transverse in the phase space , in which case there exists a transverse heteroclinic orbit between and . We recall that a heteroclinic orbit between and (or homoclinc orbit if ) is a solution of (1) such that
[TABLE]
In this work, we compute such solution by solving a boundary value problem [1] between the unstable manifold of and the stable manifold of , for which we first compute local parameterization as in Section 3.2. This allows us to only solve (1) on a finite time interval, and recover the remaining parts of the orbit via the conjugacy satisfied by the parameterizations. More precisely, we want to find an orbit such that
[TABLE]
where and respectively denote the unstable manifold of and the stable manifold of . Note that, since we only consider autonomous vector fields in this work, only the length of the time interval is relevant, and the whole interval itself could of course be shifted. To numerically compute such an orbit, we use piece-wise Chebyshev series. In order to do so, we first introduce some notations.
For , we denote by the Chebyshev polynomial of order , defined for instance by . We introduce a partition of . We denote by the (unknown) time the orbit spends between the two local manifolds and consider the partition of given by , where for all . For all and , we also introduce the rescaled Chebyshev polynomial , defined as
[TABLE]
We can then write the orbit between the two manifolds as
[TABLE]
Finally, we assume that, following the methodology presented in Section 3.2, a truncated parameterization of the local unstable manifold of as well as a truncated parameterization of the local stable manifold of have been computed. Rewriting the differential equation in (LABEL:eq:BVP) as an integral one, plugging in the expansion (17) and using well known properties of the Chebyshev polynomials, namely
[TABLE]
we obtain
[TABLE]
where are the Chebyshev coefficients of on . The first line in (18) corresponds to the differential equation on each subinterval , the second line insures that the solution connects continuously between two consecutive subintervals, and the last two lines correspond to the boundary conditions on each manifold.
Remark 3.4**.**
In (18), besides the unknown Chebyshev coefficients , we have additional scalar unknowns: , and . Still assuming , the system is then underdetermined and we can fix two of these parameters to recover a unique solution.
Similarly to the two previous cases of Fourier and Taylor series, when we consider as a random parameter having a given distribution we only need to expand every unknown in (18) using PC. We again refer to Section 5 for an explicit example.
4 First example: a Lotka-Volterra system
In this section, we compute steady states and invariant manifolds of a Lotka-Volterra system of competition type
[TABLE]
where is a bounded random variable having a given distribution. This basic example allows us to easily study the quality of our numerical computations by comparing them to analytic results.
4.1 Analytical results (for benchmarking)
4.1.1 Deterministic framework
Assuming , system (19) has a non trivial equilibrium given by
[TABLE]
The eigenvalues of the Jacobian are
[TABLE]
and associated eigenvectors are given by
[TABLE]
In the case , is positive and the equilibrium is of saddle type. Its stable manifold is the line , and its unstable manifold is a (nonlinear) curve connecting to and .
4.1.2 Stochastic framework
We now assume that the parameter is a bounded random variable. We write
[TABLE]
where and is a random variable taking values in . We assume and , so that a.e.. For specific distributions of , one can compute analytically the first two moments of :
- •
If is uniformly distributed on , that is if its PDF is given by , one has
[TABLE]
- •
If is beta-distributed with parameters , that is if its PDF is given by , one has
[TABLE]
- •
If is beta-distributed with parameters , that is if its PDF is given by , one has
[TABLE]
In order to focus the amount of comparisons and illustrations in the next section, we only consider the first component of the equilibrium, but similar analytical and numerical computations could of course also be carried out for .
4.2 Numerical results
In this section, we compute using PC the equilibrium and its stable and unstable manifold. For given , and , we use the techniques presented in Section 3 on
[TABLE]
where for convenience we use instead of .
4.2.1 Analysis of convergence on the steady state problem
We first solve, for various choices of expansions, the steady state problem , and analyze how the choice of expansion together with the distribution of affect the convergence rates. More precisely, for a given expansion basis and truncation level , we look for coefficients and such that
[TABLE]
where
[TABLE]
By taking the scalar product with respect to each , , we obtain the following system
[TABLE]
Here denotes the product associated to the basis , i.e. is the unique sequence such that
[TABLE]
If is chosen so that , which will often be the case in practice, then the expansion of only has a single non-zero coefficient: .
Remark 4.1**.**
We emphasize that of course depends on the choice of the basis . We refer to the Appendix for more details about this product structure, and discussions on how it can be computed in practice.
We solve (23) using Newton’s method, and the initial conditions given by the deterministic equilibrium, i.e., for so that
[TABLE]
The results for different choices of basis are presented in Figure 3. To make the comparison fair, we consider rescaled version of the Chebyshev polynomials of the second kind and of the Gegenbauer polynomials (see the Appendix), so that all used satisfy . The decay of the coefficients is therefore indicative of the truncation error in -norm. As expected, the Chebyshev and Legendre expansions converge faster than the Taylor expansions, with the Gegenbauer one lying somewhere in between. As mentioned previously, we focus here only on the first component , but the same behavior is observed for the second component .
However, as mentioned in the introduction, we are more interested in understanding the distribution of the solution, assuming has a prescribed distribution in . In Figure 4 and Figure 5 we display the relative error for the first two moments
[TABLE]
depending on the truncation level , for several PDF of and again for several expansions.
The limiting moments and are computed analytically when possible (see Section 4.1.2) and using numerical integration otherwise. The truncated moments and are computed from the coefficients of the expansion
[TABLE]
If is the orthogonal basis associated to the distribution , then as explained in Section 2
[TABLE]
Otherwise, we have
[TABLE]
and we first compute the above integrals to obtain the truncated moments. As expected from the paradigm of PC, we obtain faster convergence for these statistics when using the PC expansions associated to the distribution of the parameter , i.e., a family of polynomial orthogonal with respect to . In particular, if has a uniform distribution then the Legendre expansion converges the fastest (Figure 4(a) and Figure 5(a)), if has an arcsine distribution then the Chebyshev expansion of the first kind converges the fastest (Figure 4(b) and Figure 5(b)), if has a Wigner semicircle distribution then the Chebyshev expansion of the second kind converges the fastest (Figure 4(c) and Figure 5(c)) and finally if has a beta distribution of parameter then the Gegenbauer expansion of parameter converges the fastest (Figure 4(d) and Figure 5(d)).
Remark 4.2**.**
These simple experiments confirm that it is in general a good option to choose the expansion basis associated to the distribution of the parameter, and we will systematically do so in the sequel. Nonetheless, we believe that in some cases, especially highly nonlinear ones, the cost of actually computing the nonlinear terms should also be taken into account (see the discussion in Section 7.3).
4.2.2 Computation of eigenvalues and eigenvectors
Now that we found an accurate representation of the steady state, we turn our attention to the dynamics around it. Before computing parameterizations of the local stable and unstable manifolds, which will be done in the next subsection, we first focus on the linearized system around the equilibrium. More precisely, we are interested in the usual eigenvalue problem
[TABLE]
where is the previously computed equilibrium, and we solve for , and , the last equation being a normalization of the eigenvector allowing us to have a (locally) unique solution. In the previous subsection we obtained truncated expansions and of the equilibrium, and we now aim at doing the same for the eigendata. Namely, we write
[TABLE]
and plug these expansions back in (24). For our explicit example (22), this yields the following system for the coefficients , and :
[TABLE]
Again we solve this system using Newton’s method and the initial conditions given by numerically obtained eigenvalue and eigenvector for the deterministic problem (20)-(21). We obtain PC expansions for the eigenvalues and and associated eigenvectors and .
From these PC expansions, we can then easily get statistical information about the eigenvalues and eigenvectors. For instance, as mentioned in the introduction, once the PC coefficients have been computed one can carry out Monte Carlo simulations basically for free (the only cost being the evaluation of the basis polynomials , for , at the sampled values of ). For a given distribution of , this allows us to numerically compute the PDF of (see Figure 6). Another approach, maybe more adapted to quantities of interest that are more than one-dimensional, is to use the mean and variance that can be obtained from the PC expansion to get a sense of where objects may lie in phase space (see Figure 7). Since the PC expansion also allows us to compute higher order moments (see Section 7.2), this geometrical description can be made more quantitative by using these moments to obtain concentration inequalities.
4.2.3 Computation of local stable/unstable manifolds
We are now ready to compute parameterizations of the stable and unstable manifolds of the equilibrium, as described in Section 3.2. That is, we look for a parameterization of the form
[TABLE]
Notice that for our example (22) the phase space is two-dimensional and both the stable and the unstable manifolds that we are interested in are one-dimensional. Therefore, will be one-dimensional and the coefficients belong to . It will be convenient to use the following notation
[TABLE]
According to (8) we define
[TABLE]
where and are the PC coefficients of the equilibrium computed in Section 4.2.1, and and are the PC coefficients of the eigenvectors computed in Section 4.2.2. Observe that if we want to compute a parameterization of the stable manifold (resp. for the unstable manifold). To compute the higher order coefficients , we use (15), which we now specialize to our example (22). We need to introduce some more notations. Given an expansion basis and , we denote by the * product matrix* such that
[TABLE]
This matrix can be computed explicitly from and the linearization coefficients (see the Appendix). Given an expansion basis and double expansions of the form
[TABLE]
we denote by the product associated to the basis , that is is the unique sequence such that
[TABLE]
We again refer to the Appendix for more details about this product structure, and discussions on how it can be computed in practice. Similarly to (25) we write
[TABLE]
We are now ready to go back to (15) and give explicit and commutable formulas for the coefficients of the parameterization in the case of our example (22). Assuming the coefficients and have been computed for , the next coefficients are given by
[TABLE]
where is the identity matrix and again if we are computing a parameterization of the stable manifold (resp. for the unstable manifold). Here is identified with the sequence (again assuming the are normalized such that ). Once the coefficients and have been computed up to the desired order, we have access to the statistical properties of the manifold. Indeed we can for instance compute
[TABLE]
and
[TABLE]
which describe the mean and variance of the first component of the manifold with respect to (see Figures 8 and 9). We can also carry out cheap sampling to get a sense of how the manifolds are distributed in phase space (see again Figures 8 and 9).
5 Second example: the Lorenz system
In this section, we compute periodic orbits, invariant manifolds and heteroclinic orbits for the Lorenz system
[TABLE]
where is a bounded random variable having a given distribution. We renormalize it by writing
[TABLE]
where and is a random variable taking values in .
5.1 Computation of periodic orbits
Using the framework presented in Section 3.1, we compute periodic orbits of (27) via a FourierPC expansion. That is, we write
[TABLE]
and similarly for and , where
[TABLE]
In this subsection, we use to denote the product associated to the basis , i.e. is the unique sequence such that
[TABLE]
It will again be convenient to write
[TABLE]
and similarly
[TABLE]
and so on. Plugging the expansions (28) for , and in (27) and using the notations (29) and (30), we obtain the following system of equations:
[TABLE]
where again is identified with the sequence and with the sequence . As mentioned in Section 3.1, we complement this system with a phase condition, that we also expand using PC. That is, given
[TABLE]
we append to (31) the equations
[TABLE]
In practice, we solve (31)-(32) using Newton’s method. More precisely, we assume that we are given a deterministic periodic orbit (i.e. a solution for ) and do a predictor-corrector continuation in (using Newton’s method as the corrector step) until we reach the desired value. In Figure 10 we illustrate the output of this procedure.
5.2 Computation of heteroclinic orbits
In this subsection, we detail how our approach can be used to compute heteroclinic orbits for the Lorenz system, going between
[TABLE]
and the origin. We focus on the case where
[TABLE]
in which the origin has a two-dimensional stable manifold and (33) has a two-dimensional unstable manifold.
As explained in Section 3.3, we use these local manifolds to set up our boundary value problem for the heteroclinic orbits. A parameterization of these local manifolds is computed as described in Section 3.2, using a TaylorPC expansion. This procedure was already described in details in Section 4.2.3, so we omit these details here. We denote by (resp. ) a local parameterization of the unstable manifold of (33) (resp. of the stable manifold of the origin) of the form
[TABLE]
Notice that since both manifolds are two-dimensional, we have . We recall that our goal is to find , , and an orbit that solves the Lorenz system on , and satisfies the boundary conditions and . As mentioned in Remark 3.4, this system is underdetermined and we can in fact fix and , and only solve for , , and to recover a unique solution. In practice, we solve for PC expansions of , and :
[TABLE]
To compute the heteroclinic orbit (or to be more precise, the part of that orbit that connects the two local manifolds), we use piece-wise ChebyshevPC expansions, as exposed in Section 3.3. That is, we now write
[TABLE]
and similarly for and , where we use the notations of Section 3.3 for partition of and the associated rescaled Chebyshev polynomials. In this subsection, we use to denote the product associated to the basis , i.e. is the unique sequence such that
[TABLE]
It will again be convenient to write
[TABLE]
and similarly
[TABLE]
[TABLE]
and so on. To write all three components at once, we also use
[TABLE]
With these notations, system (18) for the Lorenz vector field is then given by
[TABLE]
where, for , must be understood as
[TABLE]
Again, we solve this system for the desired noise level by doing predictor corrector steps with Newton iterations. In Figure 11 we illustrate the output of this procedure.
We point out that, while our method is also successful when takes values around the classical value , the computation is then more challenging due to the proximity of the Hopf bifurcation at ( for the classical values and ), and therefore we are only able to handle smaller noise level (i.e. , see Figure 12). For such parameter values, the computations (in both the stochastic and the deterministic framework) are intrinsically more difficult because of the strong oscillatory behavior induced by the pair of eigenvalues having a close to zero real part.
6 Conclusions & Outlook
PC expansions have proven very successful in studying evolution equations (be it ODEs or PDEs) with random coefficients, but mostly from the point of view of time integration. In this work we developed a complementary approach, also based on PC but aimed at studying invariant sets of such systems, and applied it to investigate steady states, stable and unstable manifolds, periodic orbits and connecting orbits for ODEs. This approach is driven by the paradigm of nonlinear dynamics to study the structure of invariant sets to understand the relevant effects. Once a PC expansion representation of an invariant set is computed, this expansion contains explicit information about the random invariant sets. Using fast sampling or geometric visualization of the moments, then allows us to understand, how likely different phase space structures are going to be based upon the random input.
We conclude by providing a brief discussion about some potential generalizations and further directions of research connected to this work.
Extension to PDEs:
A natural extension of this work would be to use similar techniques to study invariant sets of time-dependent PDEs with random coefficients. The steady state case has already been extensively investigated, but we believe that our new framework could allow to complement the already existing studies on periodic orbits, and to explore new problems related to invariant manifolds and connecting orbits for PDEs with random coefficients.
Bifurcations:
If the invariant state we are studying undergoes a bifurcation for some value of the random parameter, then the curve or manifold of invariant state that we are looking for may not be smooth, and the PC expansions will then converge slowly, if at all. Several multiresolution analysis schemes, based on subdivising the random space or on different bases such as wavelets, were developed to handle such situations (see e.g. [34],[19, Chapter 8] and the references therein), and could be used also in our setting to study bifurcation problems.
Rigorous computation:
A posteriori error analysis for PC expansions is of course critical, as the quantification of uncertainty provided by those expansions is only relevant if the error coming from the discretization/truncation can also be controlled. Techniques of rigorous computations have been developed to obtain certified a-posteriori error estimates about numerically computed invariant sets of deterministic systems [9], and we aim at generalizing them for random systems in a future work.
7 Appendix
We discuss here the computations of products of PC expansions, and detail some implementation aspects.
7.1 Linearization formulas for products
For any family of orthogonal polynomials associated to a weight , and any and in , the product can be written in the original basis:
[TABLE]
This is often called a linearization formula. By orthogonality, the linearization coefficients satisfy
[TABLE]
from which we infer that and that, if or , then , i.e.
[TABLE]
Besides, if the weight is even, then any even function is orthogonal to any odd function and therefore, for all having a different parity than , . In such case, it can be convenient to eliminate all the coefficients that are a priori equal to zero, and rewrite (35) as
[TABLE]
Remark 7.1**.**
In practice, it is convenient to precompute and store the linearization coefficients (or ). These coefficients can be obtained by numerically computing the integrals , for instance using quadrature rules. For the classical orthogonal polynomials, the linearization coefficients can also be computed in closed form (see e.g. [24]). For Legendre polynomials , we have
[TABLE]
where
[TABLE]
For Chebyshev polynomials of the first kind , we have
[TABLE]
For Chebyshev polynomials of the second kind , we have
[TABLE]
For Gegenbauer polynomials , we have
[TABLE]
Finally, we point out that linearization coefficients can of course also be defined for arbitrary (i.e. non necessarily orthogonal) bases of polynomials. In particular, for the canonical basis associated to Taylor expansions we have
[TABLE]
Definition 7.2**.**
Given to sequences and , we define their convolution product by
[TABLE]
with the convention for all . Notice that this definition depends on the weight , or equivalently on the family , via the coefficients .
Lemma 7.3**.**
If the weight is even, the convolution of and can also be written as
[TABLE]
This definition is the natural one to describe the product of two functions in the basis given by . Indeed, writing
[TABLE]
one has, at least formally,
[TABLE]
With the notations of Definition 7.2, one has
[TABLE]
where . Therefore, as soon as
[TABLE]
the space of sequences with finite norm is stable under the convolution product, i.e. is a Banach algebra.
Remark 7.4**.**
If the family is such that for all , then the -norm of the coefficients controls the -norm of the function:
[TABLE]
In particular, if the coefficients associated to and have finite -norm and (39) is satisfied, then the sum in (38) is guaranteed to converge, and (38) holds not only formally, but also in .
For each family of polynomials used in this work, namely the Legendre polynomials , the Chebyshev polynomials of the first kind , the canonical basis , and (suitable renormalization of) the Chebyshev polynomials of the second kind and the Gegenbauer polynomials , we have
[TABLE]
Indeed, in all these cases for all , therefore (35) yields
[TABLE]
Besides, in all these cases the linearization coefficients are nonnegative for all , and hence we get (40), which implies (39). Notice that in all those cases for all , and therefore Remark 7.4 applies. For a more in depth discussion about the convolution products and Banach algebra structures that can be associated to orthogonal polynomials, we refer to the lecture notes [28] and the references therein.
In practice we need to implement the linear operator representing the (truncated) convolution with a given sequence (see e.g. Section 4.2.3). Given , and linearization coefficients associated to a basis , we therefore define the matrix by
[TABLE]
It follows from (36) that, for any vector
[TABLE]
Let us now consider two basis and having linearization coefficients and and associated convolution products and . We encountered this situation in Section 4 and Section 5, for instance when dealing with TaylorPC expansions, but what follows could also be used for multivariate PC expansions. Given bidimensional sequences and associated to expansions
[TABLE]
we introduce the bidimensional product such that
[TABLE]
The coefficients can of course be computed from the univariate convolution products, for instance by looking at and as functions of one variable (say ) having coefficients depending on the other variable (say ):
[TABLE]
Denoting , where for all , and slightly abusing the notation we get
[TABLE]
Of course the role of each variable/basis is interchangeable and we also have
[TABLE]
7.2 Treatment of higher order terms
Let us now consider situation where product of three or more expansions have to be computed for a given family . Of course one could consider the coefficients such that
[TABLE]
and precompute (and store) them using the formula:
[TABLE]
However, this approach becomes impracticable very fast even for univariate bases when the degree of the nonlinearity increases. Therefore in practice it is more efficient to stick with only the coefficients for quadratic products, and compute nonlinear term of higher order recursively. That is, given expansions
[TABLE]
we get the coefficients of by first computing and then , which by associativity can simply be denoted .
Remark 7.5**.**
It should be noted that associativity is often only approximately true in practice because of truncation errors, but this is negligible as soon as we use enough coefficients for the truncation error to be small (see e.g. [19, Section 4.5.1.2]).
We point out that, even for systems with nonlinear terms of low order, these considerations are also relevant if one wishes to compute higher order moments associated to PC expansions. Indeed the -th moment of is given by
[TABLE]
where we have
[TABLE]
Finally, let us point out that handling non polynomial functions of PC expansions is also possible, although less straightforward, see e.g. [6].
7.3 Faster computations
The usual paradigm of PC is that, to minimize computational cost one should use the expansion basis associated to the PDF of the random inputs, as this minimize the number of coefficients needed to reach a given accuracy (see Section 4.2.1). However, the cost of computing the nonlinear terms for a given expansion should also be taken into account, and we briefly discuss it here. Let us consider truncated PC expansions of size :
[TABLE]
and evaluate the cost of computing for all , assuming the linearization coefficients have been precomputed and stored. From (36) we have
[TABLE]
therefore, using directly this formula the total cost of computing for all is of order . However, this cost can easily be reduced by one order for some specific expansions, for which we know a priori that most of the linearization coefficients are zero. In particular, for Taylor expansions the convolution product (usually called Cauchy product in that case) writes
[TABLE]
and thus the total cost of computing for all is of order . Chebyshev expansions of the first kind also enjoy a similar property. Indeed, let us consider defined as and for all . Then the associated convolution product is related to the classical discrete convolution product and writes
[TABLE]
and the total cost of computing for all is again of order . Finally, when becomes large one may want to try and reduce this cost even further. A natural way to do so for Chebyshev or Taylor expansions is to compute the convolution via a Fast Fourier Transform, which then brings down the cost even lower, to an order of (see e.g. [23, 26]). This idea was partially extended to other bases such as the Gegenbauer polynomials, see [25] and the references therein for more details.
Acknowledgments:
MB and CK have been supported by a Lichtenberg Professorship of the VolkswagenStiftung.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] U.M. Ascher, R.M.M. Mattheij, and R.D. Russell. Numerical Solution of Boundary Value Problems for Ordinary Differential Equations . SIAM, 1987.
- 2[2] M. Breden, J.-P. Lessard, and J.D. Mireles James. Computation of maximal local (un)stable manifold patches by the parameterization method. Indag. Math. , 27(1):340–367, 2016.
- 3[3] X. Cabré, E. Fontich, and R. de la Llave. The parameterization method for invariant manifolds I: manifolds associated to non-resonant subspaces. Indiana Univ. Math. J. , 52(2):283–328, 2003.
- 4[4] X. Cabré, E. Fontich, and R. de la Llave. The parameterization method for invariant manifolds. II. Regularity with respect to parameters. Indiana Univ. Math. J. , 52(2):329–360, 2003.
- 5[5] X. Cabré, E. Fontich, and R. de la Llave. The parameterization method for invariant manifolds. III. Overview and applications. J. Differential Equations , 218(2):444–515, 2005.
- 6[6] B.J. Debusschere, H.N. Najm, P.P. Pébay, O.M. Knio, R.G. Ghanem, and O. Le Maître. Numerical challenges in the use of polynomial chaos representations for stochastic processes. SIAM J. Sci. Comput. , 26(2):698–719, 2004.
- 7[7] A. Desai, J.A. Witteveen, and S. Sarkar. Uncertainty quantification of a nonlinear aeroelastic system using polynomial chaos expansion with constant phase interpolation. J. Vibration Acoustics , 135(5):051034, 2013.
- 8[8] O.G. Ernst, A. Mugler, H.-J. Starkloff, and E. Ullmann. On the convergence of generalized polynomial chaos expansions. Math. Model. Numer. Anal. , 46(2):317–339, 2012.
