Abstract
The system of ordinary differential equations has many uses in contemporary mathematics and engineering. Finding the numerical solution to a system of ordinary differential equations for any arbitrary interval is very appealing to researchers. The numerical solution of a system of fourth-order ordinary differential equations on any finite interval is found in this work using a symmetric Bernstein approximation. This technique is based on the operational matrices of Bernstein polynomials for solving the system of fourth-order ODEs. First, using Chebyshev collocation nodes, a generalised approximation of the system of ordinary differential equations is discretized into a system of linear algebraic equations that can be solved using any standard rule, such as Gaussian elimination. We obtain the numerical solution in the form of a polynomial after obtaining the unknowns. The Hyers–Ulam and Hyers–Ulam–Rassias stability analyses are provided to demonstrate that the proposed technique is stable under certain conditions. The results of numerical experiments using the proposed technique are plotted in figures to demonstrate the accuracy of the specified approach. The results show that the suggested Bernstein approximation method for any interval is quick and effective.
Keywords:
Bernstein polynomials; numerical method; symmetric; discretization; Hyers–Ulam stability; Hyers–Ulam–Rassias stability; ordinary differential equations MSC:
34K20; 11D04; 49K15
1. Introduction and Fundamental Concepts
Ordinary differential equations (ODEs) are the most powerful mathematical tools found in the physical sciences. Many topics in mathematics, physics, and engineering are related to linear and nonlinear ODEs or systems of ODEs. The series of problems in ODEs with initial and boundary conditions arises in experimental physics, numerical simulation approaches, and many other scientific fields, including engineering, signals processing, economics, and acoustics. Many researchers have used various techniques to find approximate solutions to systems of ODEs. For illustration, Mesady et al. [1] presented a Jafari transformation for a system of linear ODEs with medical applications. By using the Jafari transform, ODEs can be transformed into a series of algebraic equations. Higazy and Aggarwal [2] presented the Sawi transformation for systems of ODEs. Sawi transformations have been used to obtain the concentration of chemical reactions for different examples from physical chemistry. In [3], Ricky et al. proposed the neural ordinary differential equations. This technique is based on parameterizing the derivative of the hidden state rather than specifying a deep series of concealed layers. In [4], Brown and Biggs provided methods for solving the ODEs for unconstrained optimization, while Zadunaisky [5] proposed a numerical technique to find the errors in the numerical solutions for the system of ODEs. In order to solve stiff and non-stiff systems of ODEs, in [6] Linda presented automatic selection of methods, which provides a way of determining whether or not a problem can be addressed by a set of strategies suitable for stiff or non-stiff problems. In recent years, many methods based on numerical investigation of nonlinear moving boundary problems, temperature-dependent numerical studies, the solutions of the nonlinear regularized long wave equation, and the nonlinear sinh-Gordon model have been proposed to find numerical solutions of physical models [7,8,9,10,11]. In [12], Neuberger presented the steepest descent in Hilbert spaces for a general system of linear differential equations. To forecast traffic on a limited time scale based on evolutionary algorithms, Chen et al. [13] explained time series forecasting using a system of ODEs. Farshid [14] proposed a differential transform method for systems of ODEs. The main aim of this effort was to catch the exact solution when the solution is known in terms of series expansion. Biazer et al. [15] presented the solution of a system of ODEs using the Adomian decomposition method by converting the given system into a system of first-order ODEs. Kurnaz and Galip [16] presented a comprehensive discussion of solving a system of ODEs by adjusting the step size. Their method allows for control of the truncation error used in numerical methods. In view of the above literature, a very small number of attempts have been made to find the numerical solution of a system of ODEs, and there are no works as yet addressing ways to find the numerical solution of a fourth-order ODE on any finite interval . In this paper, a new method for finding a numerical solution to a system of fourth-order ODEs on any given interval is developed. It is demonstrated that the suggested method works well and is suitable for solving a linear system of fourth-order ODEs. Additionally, while the Hyers–Ulam stability of ODEs has recently been studied [17,18,19,20], no stability analysis of a system of ODEs for any given arbitrary interval has yet been carried out. In this paper, a new method is presented for solving systems of linear and nonlinear fourth-order ODEs using operational matrices of generalised symmetric Bernstein polynomials. Furthermore, Hyers–Ulam and Hyers–Ulam–Rassias stability analyses are provided for a system of fourth-order ODEs on any finite interval.
2. Preliminaries
The system of fourth-order ODEs has the layout
for and , with the following initial conditions:
where , , , and are the given constants for and shows the fourth-order derivative. The goal is to use all of these initial conditions to find functions , ,…, that satisfy the differential equations in (1). The Bernstein polynomial approximation of the function is defined as
and is defined as
where , p is the degree, and i is an index of the Bernstein basis polynomial. Each Bernstein basis function satisfies the symmetry condition as follows:
The Bernstein basis function is non-negative, forms the partition of unity, and can be written in terms of power basis. The following result shows the convergence of Bernstein`s approximation for the system of ODEs.
Theorem 1.
Let be the Bernstein polynomial approximation defined in Equation (3) and the sequence for converge to for any .
Proof.
See [21]. □
From Theorem 1, we is apparent that, for uniform continuity, for any and for there is an approximate solution such that
In [22], it is proven that the degree of the polynomial p must satisfy the inequality , where .
3. The Numerical Scheme
In this section, the discretization technique for finding the solution of the system of fourth-order ODEs is presented. Here, the unknown function is replaced by the Bernstein basis function from Equation (3), then the given system of ordinary differential equations is discretized using Chebyshev nodes.
Decomposition of Fourth-Order Ordinary Differential Equations
Linear combination of Bernstein basis functions , of degree p yields the approximate polynomial of the exact function , as follows:
where and = , such as
Now, the vector can be expressed as a product of the matrix and a vector as
where
Equation (7) implies that
which can be solved using any standard rule (LU-method). The method for obtaining an approximate approach to the system of fourth-order ordinary differential equations is now presented. Consider as an approximation of the qth function, provided as
where . The derivative of is denoted by , which is the operational matrix, and . This can be represented as follows:
From (9), we have
This implies that
where
To solve the system of ODEs (1) using operational matrices, can be approximated by the symmetric Bernstein polynomial as along with
As a result, system (1) can be written as
with the initial conditions
Now, we substitute the collocation points in Equations (12) and (13) to obtain an algebraic equation system that can be solved easily. The collocation points in this case are the Chebyshev nodes, which are provided as
The Chebyshev nodes are very important in approximation, as they form a particularly good set of nodes for polynomial approximation.
4. Hyers–Ulam Stability
The study of stability problems for various functional equations is very important and has attracted the attention of many researchers. The definition of Hyers–Ulam stability has applicable significance, as it means that when studying the Hyers–Ulam stable system one does not have to reach the exact solution, which is often quite difficult or time-consuming. This is useful in many applications, for example fluid dynamics, numerical analysis, optimization, economics, etc. In this section, we examine the Hyers–Ulam stability and Hyers–Ulam–Rassias stability of the system of linear differential equations of order four, for which we consider the qth differential of system (1)
with the initial conditions
for all , , and .
First, we provide definitions of Hyers–Ulam–Rassias stability and Hyers–Ulam stability for the qth differential (Equation (15)) with initial conditions (Equation (16)).
Definition 1
([23]). The system of fourth-order differential equations (Equation (15)) possesses Hyers–Ulam stability with the starting conditions in Equation (16) if a constant exists such that for each if
with initial conditions
Then, for each approximate solution at the pth degree satisfying the differential equation (Equation (15)) with Equation (16), we have
where a real number (M) is the Hyers–Ulam stability constant for the differential equation (Equation (15)) with Equation (16).
Definition 2
([23]). The system of the differential equation in Equation (15) possesses Hyers–Ulam–Rassias stability with the starting conditions in Equation (16) if such that for every if
with initial conditions
Then, for each approximate solution at the pth degree satisfying the differential equation (Equation (15)) with Equation (16), we have
where a real number (M) is the Hyers–Ulam–Rassias stability constant for the differential equation (Equation (15)) with Equation (16).
The following main results provide the Hyers–Ulam–Rassias stability and Hyers–Ulam stability of the system of differential equations ( Equation (15)) with Equation (16).
Theorem 2.
Proof.
For every , consider
with initial conditions
Here, satisfies ; thus, per Taylor’s formula, we have
Thus,
which implies that
in turn implying that
where . From Equation (21), we have
Finally,
Choosing M as , where , we have
Obviously, if is the approximate solution of Equation (15) with Equation (16), then
□
As a result of Definition 1, the system of the fourth-order differential equation in Equation (1) is Hyers–Ulam stable.
Theorem 3.
Proof.
Thus, the system of fourth-order differential equations in Equation (1) exhibits Hyers–Ulam–Rassias stability as a result of Definition 2.
5. Numerical Problems
This portion considers a number of mathematical problems that can be solved utilizing numerical techniques depending on the symmetry of Bernstein’s polynomials. Table 1, Table 2, Table 3, Table 4, Table 5 and Table 6 demonstrate that the presented approach is both effective and accurate. Graphs are shown in Figure 1, Figure 2 and Figure 3 to demonstrate the actual and numerical solutions and compare their accuracy. The following formula is used to calculate the error at the pth degree:
where is the error of the qth function, is the exact solution, and is the approximate solution. MAPLE and MATLAB computer languages were used on R2018a running on an Intel(R) Core(TM) i7-1165G7 CPU 1.30 GHz processor with 8.00 GB RAM to execute the numerical computations for the solution of numerical problems.
Table 1.
Absolute error of the system in Equation (24) at distinct nodes between 0 and 1 for degree and of Bernstein basis polynomials.
Table 2.
Relative error of the system in Equation (24) at distinct nodes between 0 and 1 for degree and of Bernstein basis polynomials.
Table 3.
Absolute error of the system in Equation (25) at distinct nodes between 0 and 1 for degree and of Bernstein basis polynomials.
Table 4.
Relative error of the system in Equation (25) at distinct nodes between 0 and 1 for degree and of Bernstein basis polynomials.
Table 5.
Absolute error of the system in Equation (26) at distinct nodes between 0 and 1 for degree and of Bernstein basis polynomials.
Table 6.
Relative error of the system in Equation (26) at distinct nodes between 0 and 1 for degree and of Bernstein basis polynomials.
Figure 1.
Comparison of numerical and exact results of in (a) and in (b) for degree at distinct node points of Problem 1.
Figure 2.
Comparison of numerical and exact results of in (a) and in (b) for degree at distinct node points of Problem 2.
Figure 3.
Comparison of numerical and exact results of in (a) and in (b) for degree at distinct node points of Problem 3.
Problem 1.
Consider the following system of fourth-order ordinary differential equations arising in beam-column theory:
subject to initial conditions
and with exact solutions
Using the proposed technique described in Section 3, we obtain the following approximate solutions for degree :
Similarly, the approximate solutions for degree are as follows:
The respective absolute errors of these solutions for degree and are provided in Table 1. A comparison of these numerical results shows the effectiveness and fast convergence of the proposed technique.
Problem 2.
Consider the system of fourth-order ordinary differential equations:
subject to initial conditions
and with exact solutions
Using the proposed technique described in Section 3, we obtain the following approximate solutions for degree :
Similarly, the approximate solutions for degree are as follows:
Table 3 shows the respective absolute errors of these solutions for degrees and . Comparing these numerical results demonstrates the proposed technique’s effectiveness and rapid convergence.
Problem 3.
Consider the following nonlinear system of fourth-order ordinary differential equations:
subject to initial conditions
and with exact solutions
Using the proposed technique described in Section 3, we obtain the following approximate solutions for degree :
Similarly, the approximate solutions for degree are as follows:
The absolute error of these solutions for degrees and is shown in Table 5. Comparison of these numerical results again demonstrates the effectiveness and rapid convergence of the proposed technique.
6. Conclusions
Among the many applications of ODE systems, the simulation of dynamic processes subject to invariants is one that naturally arises in a variety of fields, for example electrical circuits, mechanical systems, and chemical reactions. These processes are frequently modeled by systems made up of differential operations. In this paper, the approximate solution of a system of fourth-order ordinary differential equations on any interval is obtained using the symmetric form of the Bernstein basis functions. The general method involves discretizing a fourth-order system of ODEs into an algebraic system of equations, solving it for unknowns using Gaussian elimination and initial conditions, then generating approximations for the system’s unknown functions. A few examples have been provided to demonstrate the effectiveness of the given technique. It can be concluded that this technique is direct, has low computational cost, and produces the best results even when the degree p is small. With a few modifications, the presented technique can be extended to systems of higher-order linear and nonlinear ordinary and partial differential equations. Furthermore, the proposed method can be used to estimate derivatives in a variety of image processing problems as well as in scattered data approximation and interpolation [24,25]. Another possible extension is to implement the cubic B-spline interpolation for systems of ordinary differential equations and [26] for systems of integral equations.
Author Contributions
Conceptualization, F.K.; Formal analysis, M.B., R.M., S.A.A.K. and F.K.; Funding acquisition, S.A.A.K.; Investigation, M.B. and K.S.; Methodology, M.B., K.S., R.M., S.A.A.K., and F.K.; Project administration, S.A.A.K.; Resources, S.A.A.K.; Supervision, F.K.; Validation, M.B., S.A.A.K. and F.K.; Visualization, F.K.; Writing—original draft, M.B., K.S. and R.M.; Writing—review and editing, S.A.A.K. and F.K. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Data Availability Statement
The data used to support the findings of the study are included within this paper.
Acknowledgments
The fourth author was fully supported by Universiti Malaysia Sabah in Malaysia. The authors are especially thankful to the Faculty of Computing and Informatics at Universiti Malaysia Sabah for providing computing facilities and support.
Conflicts of Interest
The authors declare no conflict of interest.
References
- Ahmed, I.E.; Yasser, S.H.; Abdullah, M.A. Jafari transformation for solving a system of ordinary differential equations with medical application. Fractal Fract 2021, 5, 130. [Google Scholar]
- Higazy, M.; Aggarwal, S. Sawi Transformation for System of Ordinary Differential Equations with Application. Ain Shams Eng. J. 2021, 12, 3173–3182. [Google Scholar] [CrossRef]
- Chen, R.; Rubanova, Y.; Bettencourt, J.; David, D. Neural Ordinary Differential Equations; University of Toronto, Vector Institute: Toronto, ON, Canada, 2018. [Google Scholar]
- Brown, A.A.; Biggs, M.C. Some effective methods for unconstrained optimization based on the solution of systems of ordinary differential equations. J. Optim. Theory Appl. 1989, 62, 2. [Google Scholar] [CrossRef]
- Zadunaisky, P.E. A method for estimation of errors propogated in the numerical solution of a system of ordinary equations. Univ. Buenos Airs 1966, 25, 281–282. [Google Scholar]
- Petzold, L. Automatic selection of methods for solving stiff and nonstiff systems of ordinary differential equations. Soc. Ind. Appl. Math. 1983, 4, 196–5204. [Google Scholar] [CrossRef]
- Chaurasiya, V.; Jitendra, S. Numerical investigation of a non-linear moving boundary problem describing solidification of a phase change material with temperature dependent thermal conductivity and convection. J. Therm. Stress. 2023, 46, 799–822. [Google Scholar] [CrossRef]
- Chaurasiya, V.; Upadhyay, S.; Rai, K.N.; Jitendra, S. A temperature-dependent numerical study of a moving boundary problem with variable thermal conductivity and convection. Waves Random Complex Media 2023, 1–25. [Google Scholar] [CrossRef]
- Rashidinia, J.; Rasoulizadeh, M.N. Radial Basis Function Generated Finite Difference Method For the Solution of Sinh-Gordan Equation. J. Appl. Eng. Math 2021, 11, 893–905. [Google Scholar]
- Rasoulizadeh, M.N.; Nikan, O.; Avazzadeh, Z. The impact of LRBF-FD on the solutions of the nonlinear regularized long wave equation. Math. Sci. 2021, 15, 365–376. [Google Scholar] [CrossRef]
- Nikan, O.; Avazzadeh, Z.; Rasoulizadeh, M.N. Soliton solutions of the nonlinear sine-Gordon model with Neumann boundary conditions arising in crystal dislocation theory. Nonlinear Dyn. 2021, 106, 783–813. [Google Scholar] [CrossRef]
- Neuberger, J.W. Steepest Descent for General Systems of Linear Differential Equations in Hilbert Space; North Texas State University Denton: Denton, TX, USA, 2006. [Google Scholar]
- Chen, Y.; Yang, B.; Meng, Q.; Zhao, Y.; Abraham, A. Time-series forecasting using a system of ordinary differential equations. Inf. Sci. 2011, 181, 106114. [Google Scholar] [CrossRef]
- Mirzaee, F. Differential transform method for solving linear and nonlinear systems of ordinary differential equations. Appl. Math. Sci. 2011, 70, 3465–3472. [Google Scholar]
- Biazar, J.; Babolian, E.; Islam, R. Solution of the system of ordinary differential equations by Adomian decomposition method. Appl. Math. Comput. 2004, 147, 713–719. [Google Scholar] [CrossRef]
- Kurnaz, A.; Oturanc, G. The differential transform approximation for the system of ordinary differential equations. Int. J. Comput. Math. 2005, 82, 709–719. [Google Scholar] [CrossRef]
- Li, Y. Hyers-Ulam stability of linear differential equations y′′=λ2y. Thai J. Math 2010, 8, 215–219. [Google Scholar]
- Modebei, M.I.; Otaide, I.; Olaiya, O.O. Generalized Hyers-Ulam stability of second order linear ordinary differential equation with initial condition. Adv. Inequal. Appl. 2014, 36, 2050–7461. [Google Scholar]
- Corduneanu, C. Principles of Differential and Integral Equations; Chelsea Publication Company: New York, NY, USA, 1971. [Google Scholar]
- Gavruta, P.; Jung, S.; Li, Y. Hyers-Ulam Stability for Second Order Linear Differential Equation with Boundary Conditions. Electron. J. Differ. Equ. 2011, 80, 1–5. [Google Scholar]
- Powel, M.J.D. Approximation Theory and Methods; Cambridge University Press: Cambridge, UK, 1981. [Google Scholar]
- Basit, M.; Faheem, K. An Effective Approach to Solving the System of Fredholm Integral Equations Based on Bernstein Polynomial on Any Finite Interval. Alex. Eng. J. 2021, 61, 26112623. [Google Scholar] [CrossRef]
- Murali, R.; Selvan, A. Hyers-Ulam stability of nth order linear differential equation. Proyecciones 2019, 38, 222–224. [Google Scholar]
- Karim, S.A.A. Rational bi-quartic spline with six parameters for surface interpolation with application in image enlargement. IEEE Access 2020, 8, 115621–115633. [Google Scholar] [CrossRef]
- Karim, S.A.A.; Saaban, A.; Nguyen, V.T. Scattered data interpolation using quartic triangular patch for shape-preserving interpolation and comparison with mesh-free methods. Symmetry 2020, 12, 1071. [Google Scholar] [CrossRef]
- Abdul Karim, S.A.; Khan, F.; Basit, M. Symmetric Bernstein Polynomial Approach for the System of Volterra Integral Equations on Arbitrary Interval and Its Convergence Analysis. Symmetry 2022, 14, 1343. [Google Scholar] [CrossRef]
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 authors. 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/).