![MathJax Logo](/templates/jsp/_style2/_tandf/pb2/images/math-jax.gif)
Abstract
In this article, an operational matrix approach is presented to solve the Riccati type differential equations with functional arguments. These equations are encountered in Mathematical Physics. The method is based on the least-squares approximation and the operational matrices of integration and product. By obtaining the operation matrices for each term of the problem, the method converts the problem to a system of nonlinear algebraic equations. The roots of last system are used in determination of unknown function. Error analysis is made. Numerical applications are given to show efficiency of the method and also the comparisons are made with other methods from literature. In applications of the method, it is observed from the applications that the suggested method gives effective results.
1. Introduction
Ordinary and partial differential equations has much important in applied science such as physics, chemistry, biology [Citation1–7]. Also, the Riccati differential equations [Citation8] and its generalizations describe many different phenomenon in applied science, ranging from mathematical finance to quantum mechanics [Citation9–12]. There are lot of works are devoted to find exact solutions under some assumptions. For instance, Mak and Harko [Citation13] gave the integrability conditions for generalized Riccati equation. However, in general case, in view of the nonlinear nature of the equations, it is unlikely that such exact solutions will be found. Therefore, many researchers have developed various numerical techniques for these equations and researchers continue to find new and effective methods. Within recent years much attention has been directed to study of the numerical aspects of the different types of Riccati differential equations [Citation14–25]. In solving of Schrödinger equation which is an important equation of Mathematical Physics, the Riccati differential equations arise. A class of nonlinear Schrödinger equation has been studied in [Citation26]. The (G'/G)-expansion method with Riccati equation has been used to in solving of a special nonlinear partial differential equation [Citation27]. The Riccati differential eqution with functional arguments has been solved numerically by using the Bezier curves method [Citation28].
Our aim in this paper is to present a numerical technique based on the operational matrices to solve the Riccati type differential equations with functional arguments as follows [Citation28]
(1)
(1) with initial condition
(2)
(2) Here, p, q, r and g are known continuous functions,
and λ are constants. The problem (Equation1
(1)
(1) )–(Equation2
(2)
(2) ) has a unique solution. It can be obviously seen from [Citation29].
In 1973, Corrington [Citation30] showed that linear differential and integral equations could be transformed to a system of the algebraic linear equations with an approximation in the sense of least-squares and repeated integrations of Walsh functions. This study has become the source of various researchers with Walsh functions. The method based on operational matrices for Walsh functions was introduced in 1975 by Chen and Hsiao [Citation31]. There are various works regarding the methods based on various polynomials and functions such as the Bessel functions [Citation32], the Bernstein polynomials [Citation33], the Legendre polynomials [Citation34], the Haar functions [Citation35], the Chebyshev polynomials [Citation36], etc. Also, the operation martix method [Citation37, Citation38] for Taylor polynomials has been used for solving integro-differential equations and pantograph equations by Yuzbasi and Nurbol.
The operational matrices of integration and product
in dimensional
are defined as follows:
(3)
(3) where
and
is known vector. In next section we will give a scheme of deriving these matrices.
The rest of paper is organized as follows. In Section 2, the operational matrices are derived. Section 3 contains utilizing operational matrices in method of solution. In Section 4, error analysis is given. In Section 5, we apply the method to some examples and report the numerical results. In last section, conclusions are given.
2. Operational matrices
In this section, least-squares approach is introduced to find polynomial approximation of any function. This will form the main idea of the method. After that, it is used to derive operational matrices which will be used in method of solution.
2.1. Least-squares approximation
Let . Since Y is the finite-dimensional subspace of
, there is the best approximation out of
. In view of that Y contains all polynomials of degree at most N, the polynomial
can be expressed as
where
are unknown coefficients which will be determined. Suppose
then the function
is orthogonal to Y, that is for all
holds the following
(4)
(4) where the inner product is given by
Now, we substitute the functions
into Equation (Equation4
(4)
(4) ) and thus we obtain a system of algebraic equations with the unknowns
(5)
(5) By solving the system (Equation5
(5)
(5) ) we gain the best approximation of
out of Y. In other words, the known function
is approximately represented by polynomial as
(6)
(6) [Citation37]
2.2. Operational matrix for integration
In this subsection, we derive the operational matrix for integration. For this purpose, we consider expression
where the matrix
in dimesional
has the components
on the main diagonal and zeros elements elsewhere and
. By using Equation (Equation6
(6)
(6) ) for
, we obtain
where the components of
are determined according to previous subsection. The functions
are can be written as
where
is jth row of the identity matrix in the dimensional
. As a result, the integral
can be written as
Thus, the operational matrix for integration is gained in the form
(7)
(7) [Citation37, Citation38]
2.3. Operational matrix of product
In this subsection, we derive the operational matrix of product which is used to linearize the nonlinear term in Equation (Equation1(1)
(1) ). Components of the row matrix
can be approximated according to (Equation6
(6)
(6) ). Hence we have the following relation
where
are the components of
and
are the coefficients that provide the above expression according to (Equation6
(6)
(6) ).
Thus, we can write expressions
3. Solution method
In this section, the operational matrices are utilized to construct the numerical solutions of problem (Equation1(1)
(1) )–(Equation2
(2)
(2) ). Firstly, we can approximate derivative function according to (Equation6
(6)
(6) ) as follows
(8)
(8) Here, the components of
are unknowns coefficients
,
. Equation (Equation8
(8)
(8) ) is integrated to approximate the unknown function u and thus we obtain
By utilizing the operational matrix for integration
, we have the following approximation
(9)
(9) where λ is constant in the condition (Equation2
(2)
(2) ). Here notice that, the polynomial
is not derivative of the polynomial
. However, they are used for approaching the functions
and
, respectively.
By putting in
, we obtain the matrix relation
(10)
(10) where
are binomial coefficients.
Now, by using Equations (Equation8(8)
(8) )–(Equation10
(10)
(10) ), the terms
and
in Equation (Equation1
(1)
(1) ) can be approximated by the next polynomials, respectively,
(11)
(11) The next step is consists of finding of polynomial approximation of the nonlinear term
. For this term we use the operational matrix of product
as follows
(12)
(12) By substituting the approximate expressions (Equation11
(11)
(11) )–(Equation12
(12)
(12) ) into Equation (Equation1
(1)
(1) ), we have
(13)
(13) For each components of column matrices
,
and for function
we apply least-squares approximation scheme which is given in Section 2. As a result, we gain the the following approximations, respectively,
Here
are matrices in dimensional
and
is vector.
We substitute them into Equation (Equation13(13)
(13) ) and then simplify
. Hence we get a system of nonlinear algebraic equations
(14)
(14) To construct approximate functions for unknown function and derivative function we solve the system (14) and use the Equations (Equation8
(8)
(8) )–(Equation9
(9)
(9) ). As a result, the approximate solution of the functional Riccati differential equation is gained.
4. Error analysis
In this section, we firstly present an estimation technique based on residual functions for error function . Secondly, we consider checking of the accuracy of approximate solutions. Lastly, the upper bound for error is given.
4.1. Error estimation
In this subsection, we obtain the functional Riccati type differential equations related with error function and then we will solve the error problem by the proposed method.
The approximate solution satisfies the following equation
(15)
(15) and the condition
.
Here is residual function. If we take the difference of Equations (Equation1
(1)
(1) ) and (Equation15
(15)
(15) ), we obtain
The initial condition of this error equation becomes as follows . Thus, this error problem is can be solved by the proposed method for some integer M. Thus we obtain approximate solution
, which can be used as estimation of the error function
. Note that, this technique is general and applicable even if the exact solutions are unknown.
In addition, estimation of error depends on precision of method, the error becomes as decrease as precision of method increases.
4.2. Accuracy of solutions
The accuracy of approximate solution can be done in two different ways.
One of them is to use in the Equation (Equation15
(15)
(15) ).
Now, let us explain other one. The degree of is
. However, the derivative function of unknown function
can be approximated by polynomial of degree N by using Equation (Equation8
(8)
(8) ). More clearly, the function
in Equation (Equation15
(15)
(15) ) are computed by means of Equation (Equation8
(8)
(8) ). Then the function
becomes Nth degree. In other words, the accuracy of approximate solutions can be checked by the residual function
where
and
are figured out by Equations (Equation8
(8)
(8) )–(Equation9
(9)
(9) ), respectively. In numerical examples the comparison of residual functions
and
are given.
4.3. Upper bound of error
In this subsection, we give error bound of approximate solution .
Theorem 4.1
Let and
represent our approximate solution and the exact solutions of the problem (Equation1
(1)
(1) ), respectively. If
then
where
exhibits the Nth degree Taylor polynomial of u around the point x = q and
represents its reminder term.
Proof.
Since u is N + 1-times differentiable, u can be represented by the Taylor series as
where
is the reminder term of the Taylor expansion of u. Let us denotes the Nth degree Taylor polynomial of u around the point x = q by
. Thus,
. By using it and triangle inequality, we obtain
As a results, an upper bound of the absolute errors is found for the approximate solutions of our method.
5. Numerical examples
In this section, we apply the proposed method to several examples. In addition, to estimate the error we use the residual estimation method according to Section 4.
Example 5.1
[Citation25]
Our first equation is
(16)
(16) with the initial condition
.
The problem has the exact solution . For N = 3, the present method is applied. We can write the following expression according to Section 3:
where
is the operational matrix of integration,
Substituting the above matrix forms into (Equation16
(16)
(16) ), we get the system
The last system is solved and thus the numerical solution is
In Figure , the comparison between the Bessel collocation method [Citation25] and the present method are made by the absolute error function
. Also, in Figure , accuracies of approximate solutions of these methods are compared.
Example 5.2
[Citation25]
Weconsider the Riccati differential equation with functional arguments given by
with the initial condition
.
Here, and the exact solution is
. The proposed method is applied for N = 2 and thus, we gain
.
Example 5.3
[Citation20]
Now, let solve Riccati differential equation
with the initial condition
The exact solution of problem is . Present method is applied for N = 5 and thus we compute the approximate solution
For N = 5, M = 6 we apply the residual error method and we obtain the estimation error function
In Table , the numerical results are given. Namely, the absolute errors of the Taylor method [Citation20], the Bessel collocation method [Citation25] and the present method for N = 5, 7, 8, 9. The actual error function e5(x) and the estimation error function e5,6(x) are given in Figure .
Table 1. Comparison of absolute errors.
Example 5.4
[Citation18]
Lastly, let solve the Riccati differential equation
with the initial condition
By applying the present method for N = 6, we obtain the approximate solution
The graphic of the absolute error function for N = 7 is illustrated in Figure . In Figure , the comparison of errors is reported. In Figure , we give comparison of residual functions and
for N = 6.
6. Conclusions
In this paper, a numerical method based on the operational matrices of integration and product for standard bases polynomials are presented to solve Riccati type differential equations with functional arguments. Indeed, the method is based on the least-squares approximation, too. There are some features of the method. For example, the method doesn't require collocation points. Moreover, the operational matrix of integration consists of zeros, so that it involves convenience in computational works. Also, the polynomials of degree N are obtained which approximate unknown function and its derivative. From numerical examples, it is can be seen errors of approximate solutions are less then errors of other methods. In addition, it is seen that the estimation errors are closed to actual errors in Examples. Therefore, it is observed that the error estimation method is efficiency. It can be used for measurement of errors when the exact solution of the problem is unknown.
Acknowledgments
The authors are supported by the Scientific Research Project Administration of Akdeniz University. Author would like to thank the reviewers for their thoughtful comments and efforts towards improving his article.
Disclosure statement
No potential conflict of interest was reported by the author(s).
Correction Statement
This article has been republished with minor changes. These changes do not impact the academic content of the article.
References
- Abbas IA. Eigenvalue approach for an unbounded medium with a spherical cavity based upon two-temperature generalized thermoelastic theory. J Mech Sci Techn. 2014;28:4193–4198. doi: 10.1007/s12206-014-0932-6
- Marini M, Ellai R, Chirila A. On solutions of Saint-Venant's problem for elastic dipolar bodies with voids. Carpathian J Math. 2017;33(2):219–232.
- Yüzbaşı Ş. Bessel collocation approach for solving one-dimensional wave equation with Dirichlet, Neumann boundary and integral conditions. Res Commun Math Mathc Sci. 2019;11(1):63–87.
- Amin R, Yüzbaşı Ş, Gao L, et al. Algorithm for the numerical solutions of volterra population growth model with fractional order via haar wavelet. Contemp Math. 2020;1(2):102–111. doi: 10.37256/cm.00056.102-111
- Celik E, Karaduman E, Bayram M. Numerical solutions of chemical differential-algebraic equations. App Math Comput. 2003;39(2–3):259–264. doi: 10.1016/S0096-3003(02)00178-9
- Merdan M. Homotopy perturbation method for solving human T-cell lymphotropic virus I (HTLV-I) infection of CD4+ T-cells model. Math Comput Appl. 2009;14(2):85–96.
- Bahaa GM, Hamiaz A. Optimal control problem for coupled time fractional diffusion systems with final observations. J Taibah Univ Sci. 2019;13(1):124–135. doi: 10.1080/16583655.2018.1545560
- Ince EL. Ordinary differential equations. London: Longmans; 1927.
- Reid WT. Riccati differential equations. New York (NY): Academic Press; 1972.
- Fraga ES. The Schrödinger and Riccati equations. Berlin (Germany): Springer; 1999. (Vol. 70 of Lecture notes in chemistry).
- Shankar R. Principles of quantum mechanics. New York (NY): Plenum; 1980.
- Lasiecka I, Triggiani R. Differential and algebraic Riccati equations with application to boundary point control problems: continuous theory and approximation theory. Berlin (Germany): Springer; 1991. (Vol. 164 of Lecture notes in control and information sciences).
- Mak MK, Harko T. New further integrability case for the Riccati equation. Appl Math Comput. 2013;219:7465–7471.
- Geng F, Lin Y, Cui M. A piecewise variational iteration method for Riccati differential equations. Comput Math Appl. 2009;58:2518–2522. doi: 10.1016/j.camwa.2009.03.063
- Ghorbani A, Momani S. An effective variational iteration algorithm for solving Riccati differential equations. Appl Math Lett. 2010;23:922–927. doi: 10.1016/j.aml.2010.04.012
- Abbasbandy S. A new application of He's variational iteration method for quadratic Riccati differential equation by using Adomian's polynomials. J Comput Appl Math. 2007;207:59–63. doi: 10.1016/j.cam.2006.07.012
- Lakestani M, Dehghan M. Numerical solution of Riccati equation using the cubic B-spline scaling functions and Chebyshev cardinal functions. Comput Phys Commun. 2010;181:957–966. doi: 10.1016/j.cpc.2010.01.008
- Abbasbandy S. Homotopy perturbation method for quadratic Riccati differential equation and comparison with Adomian's decomposition method. Appl Math Comput. 2006;172:485–490.
- Geng F. A modified variational iteration method for solving Riccati differential equations. Comput Math Appl. 2010;60:1868–1872. doi: 10.1016/j.camwa.2010.07.017
- Gulsu M, Sezer M. On the solution of the Riccati equation by the Taylor matrix method. Appl Math Comput. 2006;176:414–421.
- Abbasbandy S. Iterated He's homotopy perturbation method for quadratic Riccati differential equation. Appl Math Comput. 2006;175:581–589.
- Bulut H, Evans DJ. On the solution of the Riccati equation by the decomposition method. Int J Comput Math. 2002;79:103–109. doi: 10.1080/00207160211917
- El-Tawil MA, Bahnasawi AA, Abdel-Naby A. Solving Riccati differential equation using Adomian's decomposition method. Appl Math Comput. 2004;157:503–514.
- Aminikhah H, Hemmatnezhad M. An efficient method for quadratic Riccati differential equation. Commun Nonlinear Sci Numer Simul. 2010;15:835–839. doi: 10.1016/j.cnsns.2009.05.009
- Yüzbaşı Ş. A numerical approximation based on the Bessel functions of first kind for solutions of Riccati type differential-difference equations. Comput Math Appl. 2012;64:1691–1705. doi: 10.1016/j.camwa.2012.01.026
- Abdelgadir AA. On ground state for a class of nonlinear Schrödinger equation. J Taibah Univ Sci. 2018;12(2):138–142. doi: 10.1080/16583655.2018.1451058
- Shahoot AM, Alurrfi KAE, Elmrid MOM, et al. The (G'/G)-expansion method for solving a nonlinear PDE describing the nonlinear low-pass electrical lines. J Taibah Univ Sci. 2019;13(1):63–70. doi: 10.1080/16583655.2018.1528663
- Ghomanjani F, Khorram E. Approximate solution for quadratic Riccati differential equation. J Taibah Univ Sci. 2017;11(2):246–250. doi: 10.1016/j.jtusci.2015.04.001
- Ross SL. Differential equations. USA: Wiley; 1984.
- Corrington MS. Solution of differential and integral equations with Walsh functions. IEEE Trans Circuit Theory. 1973;CT-20(5):470–476. doi: 10.1109/TCT.1973.1083748
- Chen CF, Hsiao CH. A Walsh series direct method for solving variational problems. J Frank Inst. 1975;300:265–280. doi: 10.1016/0016-0032(75)90199-4
- Paraskevopoulos PN, Sklavounos PG, Georgiou GCh. The operational matrix of integration for Bessel functions. J Frank Inst. 1990;327:329–341. doi: 10.1016/0016-0032(90)90026-F
- Yousefi SA, Behroozifar M. Operational matrices of Bernstein polynomials and their applications. Int J of Sys Sci. 2010;41:709–716. doi: 10.1080/00207720903154783
- Chang R, Wang M. Shifted Legendre direct method for variational problem. J Optim Theory App. 1983;39:299–307. doi: 10.1007/BF00934535
- Gu J, Jiang W. The Haar wavelets operational matrix of integration. Int J Sys Sci. 1996;27:623–628. doi: 10.1080/00207729608929258
- Horng I, Chou J. Shifted Chebyshev direct method for solving variational problems. Int J Sys Sci. 1985;16:855–861. doi: 10.1080/00207728508926718
- Yüzbaşı Ş, Ismailov N. An operational matrix method for solving linear Fredholm Volterra integro-differential equations. Turkish J Math. 2018;42:243–256. doi: 10.3906/mat-1611-126
- Yüzbaşı Ş, Ismailov N. A Taylor operation method for solutions of generalized pantograph type delay differential equations. Turkish J Math. 2018;42:395–406.