Abstract
Block hybrid methods with intra-step points are considered in this study. These methods are implemented to solve linear and nonlinear single and systems of first order differential equations. The stability, convergence, and accuracy of the proposed methods are qualitatively investigated through the absolute and residual error analysis in some selected cases. A number of different numerical examples are tested to demonstrate the efficiency and applicability of the proposed methods. In this study we also implement the proposed methods to solve chaotic systems such as the Glukhvsky–Dolzhansky system, producing very comparable results to those already in the literature.
Keywords:
block hybrid methods; linear and non-linear equations; initial value problems; chaotic systems MSC:
34A30; 65R05; 65R20
1. Introduction
Many equations that model physical or dynamical systems in science and engineering are initial value problems. As the name suggests, these are differential equations with prescribed initial conditions that specify the values of the unknown functions at the given specific points in the domain. These initial value problems (IVPs) specify how the systems evolve with time and variations of different parameters (if any), given the initial conditions. There are many initial value problems that we are interested in, that do not have any exact solutions or at least, analytical solutions, that we have figured out yet. In this paper, most of the examples used have exact solutions, since the main objective is the application of the proposed methods.
A plethora of studies have been conducted on block methods since the pioneering work of Shampine and Watts [1] on block implicit one-step methods. Block methods have been developed in order to obtain numerical solutions at more than one point at a time [1]. Brugnano and Trigianite [2] showed that the block methods contain the main and additional methods. Ramos et al. [3] developed a two-step continuous block method with intra-step points through interpolation and collocation. The study observed that the main advantages of the block methods are: (i) overcoming the overlapping pieces of solutions and (ii) that they are self-starting, thus avoiding the use of other methods to obtain starting solutions. Yap et al. [4] proposed the block hybrid collocation method with off-step points. Yap and Ismail [5] proposed the block-hybrid collocation method with three off-step points. Awari [6] studied a class of generalized two-step block hybrid numerical methods. Alharbi and Almatrafi [7] established exact and numerical solitary wave structures to the variant Boussinesq system. Xia [8] studied a generalized Riemann-type hydrodynamical equation and established the existence of a weak solution to the equation in a lower order Sobolev space. Alharbi and Almatrafi [9] presented exact solitary wave and numerical solutions for geophysical KdV equation.
Recently, Ononobgo et al. [10] developed a numerical algorithm for one and two-step hybrid block methods for a numerical solution of first order initial value problems using a method of collocation and Taylor’s series. This then gave a system of nonlinear equations, which was then solved to give a hybrid block method. More detailed work on hybrid block methods can be seen in Gear [11] and Motsa [12]. Yakubu et al. [13] derived the second derivation block hybrid method for the continuous integration of differential systems with the interval of integration.
Ramos and Rufai [14] proposed an implicit two-step block method that incorporates fourth derivatives for solving linear and nonlinear problems. Most recently, Motsa [15] presented a variation of the block methods for integrating systems of initial value problems.
In this study, we apply the newly developed block hybrid linear multi-step methods with off-step points to solve systems of linear and non-linear differential equations. It has been proved that the additional off-step points significantly improve the accuracy of these methods as well as ensuring consistency, zero-stability, and convergence [12]. This happens even if the grid-sizes are kept constant.
Block hybrid methods are used to find the approximate solutions of first order initial value problems of the form
where is a given initial condition. The one-step method for solving initial value problems and parabolic differential equations are considered in the implementations of the block hybrid algorithms. These are solved over an interval , which can be partitioned as The step size is calculated as for Now, the differential Equation (1) is solved in the N non-overlapping blocks, using the known initial condition for Then the points, called the off-steps or intra-step points, are introduced to improve the accuracy of the methods. We remark that M is the number of the collocation points.
The points used in the solution process in each block are where with In the block hybrid method, equally spaced intra-step points defined by
are considered [12]. For each interval, say, , the first order Equation (1) is solved to obtain a solution, The solution in the first interval for example is denoted by and on the subsequent intervals (for as
Motsa [12] showed that the block hybrid method with the intra-step points has the form
where and are known constants that depend on the nature of the intra-step points.
2. The Solution Method
Following Motsa [12], the block hybrid method for first order differential equations is based on approximating the exact solution of the linear or non-linear differential Equation (1) by
where are the unknown coefficients in the block. With the coefficients being obtained from a system of equations with unknowns generated from
where the dot denotes differentiation with respect to time As clearly explained in Motsa [12], the unknown constants are generated through Mathematica code. The code is as follows:
Upon solving the system of equations that arise from Equation (5), we can have and for all values M. These coefficients for are given for example, when
Details of can be found in the study by Motsa [12]. We then obtain the block hybrid method equation by substituting the expressions for in the approximation and by evaluating the result at the collocation points for When the nodes are equally spaced, say, with we get
The above equation can be written in matrix form as follows:
The block hybrid method with the intra-step points , which in general is given by (3).
Equation (3), can be written in matrix as
where the respective coefficient matrices are defined as
and the column vectors are:
The coefficient matrices and when are
To validate the block hybrid method results obtained in this study, we consider the equation:
with the exact solution
Table 1 clearly shows the high accuracy of the block hybrid method even with very high step sizes. The results from the fourth order Ruge–Kutta method were generated with the step size , whilst those of the BHM were generated with the step size
Table 1.
Maximum Errors for HBM (with ) and RK4 (with ).
We note that the block hybrid method gives a consistently superior result, which can be clearly observed in Table 2.
Table 2.
Comparisons of errors of the results generated by the BHM and those obtained by Burden and Faires [16].
Local Truncation Error
Given a function , which is sufficiently differentiable, we can express the block hybrid methods following Motsa [17], in terms of the linear with
We can then expand the terms of and using Taylor series about to obtain
where are constants. The method is said to be an order of q if
Upon expanding Equation (16) using Taylor series we get:
where m is a positive integer. The above Equation (18) can be expanded to obtain:
Motsa [17] showed that from numerical evaluation the sum of the first three terms of Equation (19) is zero. Therefore the truncation error for the block hybrid with nodes in the interval is
Thus, the order of the block hybrid method for say will be 5, which is the least order of applying this method. We also remark that as M increases so does the order of convergence. This then increases the accuracy of the method, as will be observed later in this study.
3. Applications
Randomly selected numerical experiments are studied to show the performance and viability of the proposed methods.
3.1. Numerical Linear Examples
We consider a general linear first order equation of the form:
where and are known functions of Following Motsa [12], the block hybrid scheme for solving linear equations is given by
3.1.1. Linear Example 1
In this section we are going to randomly selected examples to demonstrate the efficiency of the block-hybrid method. First, we consider the following example;
with an exact solution given as
In this case, we have and As can be clearly observed in Figure 1, the accuracy of the method greatly increases as M increases. Figure 2 shows that there is an excellent agreement between the exact and the approximate solutions. This can be seen also on the errors of order in Figure 1.
Figure 1.
Errors for example 1.
Figure 2.
Graphs of the exact and approximate solutions for example 1.
3.1.2. Linear Example 2
The example below was randomly selected to demonstrate the robustness of the proposed method.
with exact solution given as
In example 2, and In Figure 3, we observe that the accuracy is up to the error levels, which is highly commendable. This is observed further in Figure 4, which shows an excellent agreement between the exact and approximate solutions.
Figure 3.
Errors for example 2.
Figure 4.
Graphs of the exact and approximate solutions for example 2.
3.1.3. Linear Example 3
The example below was chosen to illustrate the efficiency of the BHM.
with exact solution given as
In this example, and The exact and approximate solutions are depicted in Figure 5. We observe that there is an excellent agreement between the two sets of solutions. This can also be perceived in Figure 6 which depicts a very high level of accuracy.
Figure 5.
Graphs of the exact and approximate solutions for example 3.
Figure 6.
Errors for example 3.
3.1.4. Linear Example 4
This example was randomly selected to illustrate the robustness of the proposed method.
with exact solution given as
In this example, and 2. Figure 7 and Figure 8 depict, respectively, the errors and the comparisons of the exact and approximate solutions. Moreover, we observe the robustness of the numerical method in solving these types of first order initial value problems.
Figure 7.
Errors for example 4.
Figure 8.
Graphs of the exact and approximate solutions for example 4.
3.2. Numerical Nonlinear First Order Differential Equations
In this subsection, we examine some few selected non-linear first order differential equations to demonstrate the strength of the methods under discussion. The quasi-linearization method is used to linearize the equations first. The non-linear first order differential equations are first linearized to enable us to apply the BHMs. We consider a non-linear first order differential equation of the form
where, is a known function of t, and is a nonlinear function of In this study, we will use the quasi-linearization (QLM) iteration method, developed by Bellman and Kalaba [18]. The QLM approach is based on Taylor series expansion of the nonlinear term In this method, we assume that the difference between the current and previous iteration is small. We have, This gives the linearized approximation Equation (35)
We then apply the block hybrid method scheme with
We discuss some few randomly selected examples to demonstrate the strength of the block-hybrid method.
3.2.1. Nonlinear Example 1 (Riccati Equation)
This example was conveniently selected to demonstrate the robustness of the proposed method. The riccati equation though nonlinear its exact solution can easily be found.
with the exact solution given as
Following Equation (36), we deduce that, and with Therefore,
with We then apply the block-hybrid method to solve the resultant linear equations and the results as depicted in Figure 9 and Figure 10. Again, we see that the current method gives an accuracy as high as , which is highly commendable.
Figure 9.
Errors for nonlinear example 1 as M is increasing.
Figure 10.
Graphs of the exact and approximate solutions for example 1.
3.2.2. Nonlinear Example 2
This example was randomly selected to demonstrate the robustness of the proposed BHM.
with the exact solution given as
We have and with
Hence,
We have, and Upon application of the BHMs on Equation (43) we obtain the results, which are depicted in Figure 11 and Figure 12.
Figure 11.
Errors for non-linear example 2.
Figure 12.
Graphs of the exact and approximate solutions for example 2.
3.3. Nonlinear Systems of First Order Equations
Lastly, we apply the block-hybrid methods to non-linear systems of N equations of the form:
where is the component of the non-linear function that is a coefficient to in the equation and is the remaining component which may or may not be a non-linear function for At each iteration, denoted by the decoupling iterative scheme takes the form:
for each The block-hybrid method for a linear first order Equation (37) can now be applied to the above Equation (45) with and for each The scheme is now called the Relaxation Block Hybrid Method (Motsa [12]), for solving these systems of equations. We then develop a quasilinearization scheme by applying the linearization sequentially in only to obtain
The BHMs are then applied with The BHM implemented with the quasilinearization (46) can be referred to as the Local Quazilinearization Block Hybrid Method (LQBHM) [12].
3.3.1. Nonlinear Systems, Example 1
We consider the following Lorenz system given by
with initial conditions The BHM parameters:
We select some few graphical examples to demonstrate how powerful the proposed method is. We can clearly observe in Figure 13, Figure 14 and Figure 15 that the accuracy of the method increases as the number of iterations increases. An accuracy up to is achieved by this method. In Figure 16, we observe the chaotic nature of the solutions. We observe that solutions exhibit irregular oscillations that persist as , but never repeat exactly. The motions are further aperiodic.
Figure 13.
Errors for the Lorenz system.
Figure 14.
Errors for the Lorenz system.
Figure 15.
Errors for the Lorenz system.
Figure 16.
Plots of the solutions of .
Figure 17, Figure 18, Figure 19, Figure 20, Figure 21 and Figure 22 depict phase portraits of the system when varying the system parameters. In this study we are not going to go into the physics and explanations of the portraits. Our focus is to generate accurate solutions, since the Lorenz equations have been the subject of hundreds of research papers, see for example Fang and Hao [19], and Hao et al. [20].
Figure 17.
Phase portraits of and when varying .
Figure 18.
Phase portraits of and when varying .
Figure 19.
Phase portraits of and when varying c.
Figure 20.
Phase portraits of and when varying .
Figure 21.
Phase portraits of and when varying .
Figure 22.
Phase portraits of and when varying c.
In Figure 23, Figure 24 and Figure 25, we display the evolutions of the three trajectories when varying the three parameters. Fundamentally, the trajectories seem to exhibit similar shapes when varying the three parameters.
Figure 23.
Phase portraits of , and when varying .
Figure 24.
Phase portraits of , and when varying .
Figure 25.
Phase portraits of , and when varying c.
In Figure 26, Figure 27 and Figure 28, we display the phase portraits of and when varying the three parameters.
Figure 26.
Phase portraits of and when varying .
Figure 27.
Phase portraits of and when varying .
Figure 28.
Phase portraits of and when varying c.
3.3.2. Nonlinear Systems, Example 2
Further, we consider the Glukhovsky–Dolzhanksy system (see Garashchuk et al. [21]) given by
where are the physical parameters. This system has an additional nonlinear term compared to the Lorenz system. This extra nonlinear term leads to essential differences in the analytical structure and dynamics of the system. This system describes the following physical processes: convective fluid motion in a ellipsoidal rotating cavity, a rigid body rotation in a resisting medium, the forced motion of a gyrostat, and a convective motion in harmonically oscillating horizontal fluid. Selected phase portraits are depicted in Figure 29, Figure 30, Figure 31 and Figure 32. Figure 29 shows that very chaotic patterns are initially exhibited and thereafter the flows exhibit somehow steady states as .
Figure 29.
Solution profiles of the Glukhovsky–Dolzhanksy system of equations.
Figure 30.
Phase portraits of and .
Figure 31.
Phase portraits of and .
Figure 32.
Phase portraits of and .
3.3.3. Nonlinear Systems Example 3
Consequently, the study considers a dissipative chaotic system with no equilibrium given by
This dissipative structure/system is characterized by the spontaneous appearance of symmetry breaking (anisotropy) and the formation of complex and chaotic structure Brogliato et al. [22]. In these structures, interacting particles exhibit long range correlations. The current system (49), is similar to a thermodynamically open system that is operating out of the thermodynamic equilibrium in an area with which it exchanges energy and matter. Figure 33, Figure 34, Figure 35, Figure 36 and Figure 37 display the chaotic behaviors of these dissipative chaotic systems.
Figure 33.
Solution profiles of the chaotic system.
Figure 34.
Phase portraits of and .
Figure 35.
Phase portraits of and .
Figure 36.
Phase portraits of and .
Figure 37.
Phase portraits of , and .
3.3.4. Nonlinear Systems Example 4
Consequently, we demonstrate the applicability of the proposed method using the five-dimensional non-dissipative Lorenz model given as
Figure 38, Figure 39, Figure 40, Figure 41 and Figure 42 depict the errors, and we can clearly see that the level of accuracy for this proposed method is very high. The last few selected Figure 43, Figure 44, Figure 45, Figure 46, Figure 47, Figure 48, Figure 49, Figure 50, Figure 51, Figure 52, Figure 53 and Figure 54 display the selected phase portraits when varying the parameters.
Figure 38.
Convergence graph of .
Figure 39.
Convergence graph of .
Figure 40.
Convergence graph of .
Figure 41.
Convergence graph of .
Figure 42.
Convergence graph of .
Figure 43.
Phase portraits of and when varying .
Figure 44.
Phase portraits of and when varying .
Figure 45.
Phase portraits of and when varying .
Figure 46.
Phase portraits of and when varying .
Figure 47.
Phase portraits of and when varying .
Figure 48.
Phase portraits of and when varying .
Figure 49.
Phase portraits of and when varying .
Figure 50.
Phase portraits of and when varying .
Figure 51.
Phase portraits of and when varying .
Figure 52.
Phase portraits of and when varying .
Figure 53.
Phase portraits of and when varying .
Figure 54.
Phase portraits of and when varying .
4. Conclusions
This study proposed the application of newly developed block hybrid linear multi-step methods with off-step points for solving linear and nonlinear single and systems of differential equations. Numerical results for the current methods are excellent and compare very well with the exact solutions. The high levels of convergence indicate that the HBMs are very good candidates to solve high order systems of nonlinear systems of equations. We consequentially remark that the study observed that the numerical approximations converged quickly after very few iterations, even with very many collocation points and small step sizes. We also observed that the block hybrid methods are far superior to some classical numerical methods such as the Runge–Kutta methods. This great accuracies of the block hybrid methods and their user friendliness will go a long way in their applications in more complex models. Unfortunately, at the moment BHMs can only be applied to linear equations. Nonlinear equations have to be linearized first.
Funding
The research was funded by the University of Venda.
Data Availability Statement
Data is contained within the article.
Acknowledgments
The author would like to acknowledge the reviewers for their respective suggestions, Sandile Motsa for his advice and input and Ndivhuwo Ndou for his input.
Conflicts of Interest
The author declares no conflict of interest.
References
- Shampine, L.F.; Watts, H.A. Block Implicit One-Step Methods. Math. Comput. 1969, 23, 731–740. [Google Scholar] [CrossRef]
- Brugnano, L.; Trigiante, D. Solving Differential Problems by Multistep Initial and Boundary Value Methods; Gordon and Breach Science Publishers: Amsterdam, The Netherlands, 1998. [Google Scholar]
- Ramos, H.; Kalogiratou, Z.; Monovasilis, T.H.; Simos, T.E. An optimized two-step hybrid block method for solving general second order initial-value problems. Numer. Algorithms 2016, 72, 1089–1102. [Google Scholar] [CrossRef]
- Yap, L.K.; Ismail, F.; Senu, N. An Accurate Block Hybrid Collocation Method for Third Order Ordinary Differential Equations. J. Appl. Math. 2014, 2014, 549597. [Google Scholar] [CrossRef]
- Yap, L.K.; Ismail, F. Block Hybrid Collocation Method with Application to Fourth Order Differential Equations. Math. Probl. Eng. 2015, 2015, 561489. [Google Scholar] [CrossRef]
- Awari, Y.S. Some generalized two-step block hybrid Numerov method for solving general second order ordinary differential equations without predictors. Sci. World J. 2015, 12, 12–18. [Google Scholar]
- Albarbi, A.R.; Almatrafi, M.B. Exact and Numerical SolitaryWave Structures to the Variant Boussinesq System. Symmetry 2020, 12, 1473. [Google Scholar] [CrossRef]
- Xia, S. Existence of a weak solution to a generalized Riemanntype hydrodynamical equation. In Applicable Analysis; Taylor & Francis: Abingdon, UK, 2022. [Google Scholar] [CrossRef]
- Albarbi, A.R.; Almatrafi, M.B. Exact solitary wave and numerical solutions for geophysical KdV equation. J. King Saud Univ. Sci. 2022, 34, 102087. [Google Scholar] [CrossRef]
- Ononogbo, C.B.; Airemen, I.E.; Ezurike, U.J. Numerical Algorithm for One and Two-Step Hybrid Block Methods for the Solution of First Order Initial Value Problems in Ordinary Differential Equations. Appl. Eng. 2022, 6, 13–23. [Google Scholar] [CrossRef]
- Gear, C.N. Hybrid methods for initial value problems in Ordinary Differential Equations. SIAM J. Numer. Anal. 1964, 2, 69–86. [Google Scholar] [CrossRef]
- Motsa, S.S. Block hybrid methods. In Proceedings of the 13th Annual Workshop on Computational Mathematics and Modelling, University of KwaZulu-Natal, Pietermaritzburg Campus, Durban, South Africa, 5–9 July 1964. [Google Scholar]
- Yakubu, D.G.; Shokri, A.; Kumleng, G.M.; Marian, D. Second Derivative Block Hybrid Methods for the Numerical Integration of Differential Systems. Fractal Fract. 2022, 6, 386. [Google Scholar] [CrossRef]
- Ramos, H.; Rufai, M.A. A two-step hybrid block method with fourth derivatives for solving third-order boundary value problems. J. Comput. Appl. Math. 2022, 404, 113419. [Google Scholar] [CrossRef]
- Motsa, S. Overlapping Grid-Based Optimized Single-Step Hybrid Block Method for Solving First-Order Initial Value Problems. Algorithms 2022, 15, 427. [Google Scholar] [CrossRef]
- Burden, R.L.; Faires, J.D. Numerical Analysis, 9th ed.; Brooks/Cole, Cengage Learning: San Francisco, CA, USA, 2011; pp. 302–314. [Google Scholar]
- Motsa, S.S. Hybrid block methods for IVPs using Mathematica. In Proceedings of the 14th Annual Workshop on Computational Mathematics and Modelling, University of KwaZulu-Natal, Pietermaritzburg Campus, Durban, South Africa, 4–8 July 2022. [Google Scholar]
- Bellman, R.E.; Kalaba, R.E. Quasilinearization and Nonlinear Boundary-Value Problems; Elsevier: New York, NY, USA, 1965. [Google Scholar]
- Fang, H.P.; Hao, B.L. Symbolic dynamics of the Lorenz equations. Chaos Solitons Fractals 1966, 7, 217–246. [Google Scholar] [CrossRef]
- Hao, B.; Liu, J.; Zheng, W. Symbolic dynamics analysis of the Lorenz equations. Phys. Rev. 1998, 57, 5378. [Google Scholar] [CrossRef]
- Garashchuk, I.R.; Kudryashov, N.A.; Sinelshchikov, D.I. On the analytical properties and some exact solutions of the Glukhovsky-Dolzhansky system. J. Phys. Conf. Ser. 2017, 788, 012013. [Google Scholar] [CrossRef]
- Brogliato, B.; Lozano, R.; Maschke, B.; Egeland, O. Dissipative Systems Analysis and Control, 2nd ed.; Theory and Applications; Springer: London, UK, 2007. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the author. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).