- Research
- Open Access
- Published:
G-stability one-leg hybrid methods for solving DAEs
Advances in Difference Equations volume 2019, Article number: 103 (2019)
Abstract
This paper introduces the solution of differential algebraic equations using two hybrid classes and their twin one-leg with improved stability properties. Physical systems of interest in control theory are sometimes described by systems of differential algebraic equations (DAEs) and ordinary differential equations (ODEs) which are zero index DAEs. The study of the first hybrid class includes the order of convergence, A(α)-stability, stability regions, and G-stability for its one-leg twin in two cases: for step (\(k=1\)) and steps (\(k=2\)). For the second class, G-stability of its one-leg twin is studied in two cases: for steps (\(k=2\)) and steps (\(k=3\)). Test problems are introduced with different step size at different end points.
1 Introduction
Consider the initial value problems of the form
where \(a\in R^{m}\) is a consistent initial value for (1) and the function f: \(R^{{m}} \times R^{{m}} \times [t _{0} ; T] \rightarrow R^{{m}}\) is assumed to be sufficiently smooth. If \((\partial f/\partial x)\) is nonsingular, then it is possible to formally solve (1) for x in order to obtain an ordinary differential equation. However, if \((\partial f/\partial x)\) is singular, it is no longer possible and the solution x has to satisfy certain algebraic constraints; therefore, equations (1) are referred to as differential algebraic equations.
Systems of differential algebraic equations arise from many applications such as physics, engineering, and circuit analysis. Some systems can be reduced to an ODE system, which are zero index DAEs, and can be solved by numerical ODE methods after reduction. Other systems, in which reductions to an explicit differential systems are in the form \(x' = f(x; t)\), are either impossible or impractical, that is because the problem is more naturally posed in the form
and a reduction might reduce the sparseness of Jacobian matrices. These systems are then solved directly [16, 17].
A fundamentally important concept in the algorithms of the numerical solutions of DAEs is the index of a DAE. In a sense, this tells us how far away the DAE is from being an ODE. The index of a DAE is the minimum number of times all or part of the DAE system must be differentiated with respect to time in order to convert the DAE into an explicit ODE. The higher the index is, the further it is from an ODE and the more difficult it is in general to solve the DAE [12].
The first general method applied to the numerical solution of DAEs is backward differentiation formula (BDF). Ebadi andGokhale presented in [9,10,11] class \(2+1\) hybrid BDF-like methods, hybrid BDF methods (HBDF), and new hybrid methods for the numerical solution of IVPs. These methods have wide stability regions and good performance in solving CPU time compared to the extended BDF (EBDF) and modified extended BDF (MEBDF) methods [3].
In Sect. 2 the first hybrid class is derived, its orders of convergence are investigated, and its stability analysis is studied. In Sect. 3 some basic notions of one-leg schemes and G-stability are mentioned. The one-leg twin of the first class is derived and its G-stability is discussed in Sect. 4. The one-leg twin of the second class [14] is derived and its G-stability is discussed in Sect. 5. Numerical tests are investigated in Sect. 6. Finally, a conclusion is introduced.
2 The first hybrid class
The first hybrid class takes the form
where \(f_{n+s} = f(t _{n+s}; y _{n+s})\); \(t_{n+s} = t _{n} + s h\); \(-1 < s\) and \(\beta_{s}\), \(\beta_{1}\), \(\alpha_{ n- j}\), \(j = 1, 2, \dots , k\), are parameters to be determined as functions of s and \(\beta _{0}\). The methods for step k and order \(p=k+1\) (from \(k = 1\) up to 6) will be derived and \(y_{n+s}\) has order \(k - 1\). To evaluate the value of \(y_{n+s}\) at an off-step point, i.e. \(t _{n+s}\), we will consider the nodes \(t _{n}\) (double node), \(t_{ n-1 }, \dots , t _{ n- k}\) (simple nodes).
Applying Newton’s interpolation formula for this data gives the following scheme:
Differentiate (5) with respect to t:
Using (5) and (6) to evaluate \(y_{n+s}\) and \(f_{n+s}\) gives
where f (or \(f(t, y)\)) is considered as a derivative of the solution \(y(t)\), \(\nabla y _{n} = y _{n} - y_{ n-1 }\).
Method (4) is of order p if and only if
The coefficients of the methods for steps \(k= 1\) up to 6 are tabulated in Tables 1, 2, 3, and 4.
Since formula (3) is of order k and formula (4) is of order \(k+1\), then it is easy to see that method (3)–(4) has order \(k+1\).
2.1 Stability analysis
Consider the scalar test problem \(y' = \lambda y\), \(y(0) = y_{0}\). From equations (3) and (4) the corresponding characteristic equation is as follows:
where \(\overline{h} = \lambda y\), i.e.
where
The absolute stability regions for this class for \(k=1\) up to 7 are given in Fig. 1 for the optimal s and \(\beta_{0}\) using the boundary locus method.
The angle α of A(α)-stability for different methods, BDF, EBDF, A-EBDF, MEBDF, Enright methods, HEBDF, and The class (3–4) for various orders are tabulated in Table 5.
We recall some basic notions of one-leg schemes and G-stability.
3 One-leg schemes
Suppose that a linear k-step method
is given. One-leg methods can be formulated in a compact form by introducing the polynomials
with real coefficients \(\alpha_{i}, \beta_{i} \in R\) and no common divisor. There is also the assumption throughout the normalization that
The associated one-leg methods are defined by
In the one-leg methods, the derivative f is evaluated at one point only, which makes it easier to analyze. The one-leg method (15) may have stronger nonlinear stability properties such as G-stability [12, 15]. On the other hand, it is known that to obtain a one-leg method of high order, the parameters \(\alpha_{i}\), \(\beta_{i}\) have to satisfy more constraints than those for linear multistep methods, see [7, 8, 14]. The conditions \(\rho (1)= 0\), \(\rho '(1) = \sigma (1)= 1\) imply the consistency of the scheme \(( \rho , \sigma )\).
3.1 G-stability analysis
The G-stability analysis, announced at the 1975 Dundee conference and published in [6], uses the test problem \(\mathrm{d}y/\mathrm{d}x = f(x, y)\), where \(\langle y - z, f(x, y) - f(x, z)\rangle \leq 0\). In the same publication, one-leg methods were introduced and related to corresponding linear multistep methods. Stable behavior for this problem was defined as G-stability. A more detailed account of this work will be given.
If the differential equation satisfies the one-sided Lipschitz condition
with \(\nu = 0\), then the exact solutions are contractive. Consider the multistep method as a mapping \(R^{n,k}\rightarrow R^{n,k}\). Let \(Y _{m} =(y_{m+k-1}, \dots , y _{m})^{{T}}\) and consider inner product norms on \(R^{n,k}\)
where \(\langle \cdot , \cdot \rangle \) is the inner product on \(R^{{n}}\) used in (16) and k-dimensional matrix \(G = (g _{ij})\) \(i, j=1,\dots, k\) is assumed to be real, symmetric, and positive definite. The inner product \(\langle \cdot , \cdot \rangle \), on which \(\langle \cdot , \cdot \rangle_{ {G}}\) is built, is supposed to have a corresponding norm defined by \(\|u\|_{2} = \langle u, u\rangle \). Similarly we will write \(\|\cdot , \cdot \|_{{G}}\) as the norm corresponding to \(\langle \cdot , \cdot \rangle_{{G}}\).
Definition 1
([6])
The one-leg method (15) is called G-stable if there exists a real, symmetric, and positive definite matrix G such that, for two numerical solutions \(\{Y_{m}\}\) and \(\{\hat{Y} _{m}\}\), we have
for all step sizes \(h > 0\) and for all differential equations satisfying (16) with \(\nu = 0\).
Theorem 1
([2])
G-stability implies A-stability.
Theorem 2
([12])
Consider a method \(( \rho , \sigma )\). If there exists a real, symmetric, and positive definite matrix G, and real numbers \(a _{0},\dots ,a _{{k}}\) such that
then the corresponding one-leg method is G-sable.
Theorem 3
([5])
If ρ and σ have no common divisor, then the method \(( \rho , \sigma )\) is A-stable if and only if the corresponding one-leg method is G-stable.
4 One-leg method for the first hybrid class
Here, the one-leg twin of the first class is studied when \(k=1\) and \(k=2\).
In the case of \(k=1\), method (4) takes the form
where
Method (20) has order 2, its truncation error takes the form
The one-leg twin of (20) takes the form
and has order 2 and its truncation error takes the form
To discuss G-stability of (22),
Substitute \(f_{n+s}\) in equation (20), it becomes
The corresponding characteristic equations are
Applying Theorem 2, the variables \(a _{i}\), \(i=0,1\) and \(g_{ij}\), \(i,j=1\) satisfy the relations
Choose \(\beta_{0}<1/2\), \(g_{11}=1/2 > 0\). So, method (22) is G-stable.
In the case of \(k=2\), method (4) takes the form
After normalization
Method (23) has order 3, its truncation error takes the form
The one-leg twin of (23) takes the form
and has order 2 if \(\beta_{0}=(2+3s)/(6(1+s))\) and its truncation error takes the form
To discuss G-stability of (25),
Substitute \(f_{n+s}\) in equation (23), it becomes
The corresponding characteristic equations are
Applying Theorem 2, the variables \(a _{i}\), \(i=0,1,2\) and \(g_{ij}\), \(i,j=1,2\) satisfy the relations
Choosing \(\beta^{*}=0.4\) and \(s=0.9\) makes that \(a_{0}=0.079714\), \(a_{1}=-0.0561286\), \(a_{2}=-0.0235855\), \(g_{11}> 0\), and . Therefore, the matrix G is positive definite and method (25) is G-stable.
5 The second hybrid class
The second hybrid class takes the form
where \(f_{n+s} = f(t _{n+s} ; y _{n+s})\); \(t_{n+s} = t _{n} + s h\); \(-1 < s < 1\) and \(\beta_{s}\), \(\alpha_{ n- j}\), \(j = 1, 2, \dots , k\), are parameters to be determined as functions of s and \(\beta ^{*}\). The method with step k has order \(p = k\) and \(y_{n+s}\) has order \(k - 1\). To evaluate the value of \(y_{n+s}\) at off-step point, i.e. \(t _{n+s}\), consider the nodes \(t _{n}\) (double node), \(t_{ n-1 }, \dots , t _{ n- k}\) (simple nodes) [14].
Here, the one-leg twin of the second class is studied when \(k = 2\) and \(k = 3\).
In the case of \(k=2\), the method takes the form
where
Method (28) has order 2, its truncation error takes the form
The one-leg twin of (28) takes the form
and has order 2 and its truncation error takes the form
If
then method (30) has order 3 and its truncation error becomes
To discuss G-stability of (30), using (8), we have
Substitute \(f_{n+s}\) in equation (28), it becomes
The corresponding characteristic equations are
Applying Theorem 2, the variables \(a _{i}\), \(i = 0, 1, 2\) and \(g _{ij}\); \(i, j = 1, 2\) satisfy the relations
Choosing \(\beta ^{*}= 0.3\) and \(s = - 0.1\) makes \(a _{0} = - 0.583636\),
Therefore, the matrix G is positive definite and method (30) is G-stable.
In the case of \(k = 3\), the method takes the form
where
Method (31) has order 3 and its truncation error takes the form
The one-leg twin of (31) takes the form
and has order 2, its truncation error takes the form
To discuss G-stability of (33), using (8), we have
Substitute \(f_{n+s}\) in equation (31), it becomes
The corresponding characteristic equations are
Applying Theorem 2, the variables \(a _{i}\), \(i = 0, 1, 2, 3\) and \(g _{ij} \); \(i, j = 1, 2, 3\) satisfy the relations
Choosing \(s = - 0.3\) and \(\beta ^{*}= 0.2\) makes \(a _{0} = - 0.231455\);
Therefore, the matrix G is positive definite and method (33) is G-stable.
6 Numerical tests
Here, some numerical results are presented to evaluate the performance of the proposed technique [1, 4, 13]. The numerical tests are solved after reduction.
Test 1
Consider the differential algebraic equations:
with the initial condition \(y_{1}(0) = 1\); \(y_{2}(0) = 1\); \(y_{3}(0) = 0\); and the exact solution is
Test 2
Consider the differential algebraic equations:
with the initial condition \(x(1)=1\); \(y(1)=0\); and the exact solution is \(x(t)= t \cos (1-t^{2})\), \(y(t) =1-t^{2}\).
Test 3
Consider the differential algebraic equations:
where \(x'(t) = (x_{1},x_{2})^{\mathrm{T}}\); \(f(x; t) = (1+ (t- 1/2) \exp (t), 2t + (t^{2}-1/4 ) \exp (t))^{\mathrm{T}}\); \(B(x; t) = (x' _{1},x'_{2})^{\mathrm{T}}\); \(g(x; t) = 1/2 (x^{2} _{1} + x ^{2} _{2} - (t - 1/2)^{2}- (t^{2} - 1/4 )^{2})\); with the initial condition \(x_{1}(0) = - 1/2\); \(x_{2}(0) = -1/4\); and the exact solution is \(x_{1}(t) = (t - 1/2)\); \(x_{2}(t) = t^{2} -1/4\); \(y(t) = \exp (t)\).
The above tests are solved by the two hybrid classes and their one-leg twins of the two classes with \(k=2\) at different values of t. In the first method, \(\beta_{0} =0.8\), \(s = 2\), and in the second method, \(\beta^{*} = -0.4\), \(s = - 0.3\). The errors of numerical solutions of tests 1, 2, and 3 are tabulated in Tables 6, 7, and 8, with different step-sizes h, respectively.
7 Conclusion
In this paper, the first hybrid class is studied for \(k=1\) up to 6. It has large stability regions. Its one-leg twin for \(k=1\) (\(p=2\)) and \(k=2\) (\(p=3\)) is G-stable. In the second class, for \(k = p = 2\), the one-leg twin has order 2 except when \(s =\frac{1}{3} (-3+\sqrt{3} \sqrt{(1 -2 \beta ^{*} + \beta ^{*2})})\) it has order 3. For \(k = p = 3\), the one-leg twin has order 2 and if \(\beta^{*} = 0\), it leads to one leg hybrid BDF, and they are G-stable. The numerical tests show that the hybrid method (4) gives good result with small steps.
Abbreviations
- DAEs:
-
Differential algebraic equations
- ODEs:
-
Ordinary differential equations
- BDF:
-
Backward differentiation formula
- HBDF:
-
Hybrid BDF methods
- EBDF:
-
Extended BDF
- MEBDF:
-
Modified extended BDF
References
Ascher, U., Lin, P.: Sequential regularization methods for nonlinear higher index DAEs. SIAM J. Sci. Comput. 18, 160–181 (1995)
Baiocchi, C., Crouzeix, M.: On the equivalence of A-stability and G-stability. Appl. Numer. Math. 5, 19–22 (1989)
Cash, J.R.: Modified extended backward differentiation formulae for the numerical solution of stiff initial value problems in ODEs and DAEs. J. Comput. Appl. Math. 125, 117–130 (2000)
Celik, E.: On the numerical solution of differential-algebraic equation with index-2. Appl. Math. Comput. 156, 541–550 (2004)
Dahlquist, G.: G-stability is equivalent to A-stability. BIT Numer. Math. 18, 384–401 (1978)
Dahlqusit, G.: Error analysis for a class of methods for stiff nonlinear initial value problems. In: Numerical Analysis Dundee. Lecture Notes in Mathematics, vol. 506, pp. 60–74. Springer, Berlin (1975)
Dahlqusit, G.: Some properties of linear multistep and one-leg methods for ODEs. In: Skeel, R.D. (ed.) Proc. 1979 SIGNUM Meeting on Numerical ODEs (1979) Report R 79/963
Dahlqusit, G., Liniger, W., Nevanlinna, O.: Stability of two step methods for variable integration steps. SIAM J. Numer. Anal. 20, 1071–1085 (1983)
Ebadi, M., Gokhale, M.Y.: Hybrid BDF methods for the numerical solutions of ordinary differential equations. Numer. Algorithms 55, 1–17 (2010)
Ebadi, M., Gokhale, M.Y.: Class \(2+1\) hybrid BDF-like methods for the numerical solutions of ordinary differential equations. Calcolo 48, 273–291 (2011)
Ebadi, M., Gokhale, M.Y.: A class of multistep methods based on a super-future points technique for solving IVPs. Comput. Math. Appl. 61, 3288–3297 (2011)
Hairer, E., Lubich, C., Roche, M.: The Numerical Solution of Differential-Algebraic Systems by Runge–Kutta Methods. Lecture Notes in Mathematics, vol. 1409. Springer, Berlin (1989)
Husein, M.M.J.: Numerical solution of linear differential-algebraic equations using Chebyshev polynomials. Int. Math. Forum 3(39), 1933–1943 (2008)
Ibrahim, I.H., Yousry, F.M.: Hybrid special class for solving differential algebraic equations. Numer. Algorithms 69(2), 301–320 (2015)
Liniger, W.: Multistep and one-leg methods for implicit mixed differential algebraic system. IEEE Trans. Circuits Syst. 26(9), 755–762 (1979)
Michael, H., Roswitha, M., Caren, T., Ewa, W., Stefan, W.: Least-squares collocation for linear higher-index differential–algebraic equations. J. Comput. Appl. Math. 317, 403–431 (2017)
Paolo, M., Pierangelo, M.: Analysis systems of differential algebraic equations (DAEs). Ph.D. Thesis in Aerospace Engineering, Mechanical systems Engineering and Rotary Wing Aircraft (2011)
Acknowledgements
We are really thankful to the reviewers for their useful suggestions and corrections.
Availability of data and materials
Not applicable.
Funding
Not applicable.
Author information
Authors and Affiliations
Contributions
All authors contributions are equal and they all read and approved the final manuscript.
Corresponding author
Ethics declarations
Competing interests
The authors declare that they have no competing interests.
Additional information
Publisher’s Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.
About this article
Cite this article
Agarwal, P., Ibrahim, I.H. & Yousry, F.M. G-stability one-leg hybrid methods for solving DAEs. Adv Differ Equ 2019, 103 (2019). https://doi.org/10.1186/s13662-019-2019-2
Received:
Accepted:
Published:
DOI: https://doi.org/10.1186/s13662-019-2019-2
MSC
- 65L05
- 65L06
- 65L20
Keywords
- Hybrid methods
- One-leg methods
- DAEs
- G-stability
- A(α)-stability