An Efficient Local Transform Method for Initial Value Problems
* Author to whom correspondence should be addressed.
Sigma Journal of Engineering and Natural Sciences 2019, Vol. 37, Issue 1, pp. 163-174; doi.org/10.62051/ytu.sigma-journal-of-engineering-and-natural-sciences-an-efficient-local-transform-method-for-initial-value-problems
Abstract
Keywords: Local differential transform method; initial value problem; system of differential equations; error analysis; Runge-Kutta method.
1. Introduction
Initial value problems of differential equations arise in many fields of science including physics, chemistry, engineering, mathematical biology etc. Depending on the problems, the exact solutions of these problems may or may not be derived mathematically. The derivation of these exact solution may have computational complexities especially in large systems. These drawbacks of analytical approaches can be overcome by considering accurate and economic numerical methods. For solving IVPs there are various methods in the literature such as Euler method, 𝜃- method, Crank-Nicolson method, Taylor method, Runge-Kutta methods and so on [1]. Among these methods, the Runge-Kutta and the Crank-Nicolson methods are commonly used. Because the Runge-Kutta methods generally provide higher order accuracy and the CrankNicolson method is a second order unconditionally stable method. Although the Taylor method provides higher order accuracy, the method has computational complexity because of using exact derivatives of the functions. The concept of the DTM was first proposed by Zhou [2] and the method was used to solve initial value problems occurred in electric circuit analysis. This method was exerted to the system *
Corresponding Author: e-mail: sarim@yildiz.edu.tr, tel: (212) 383 43 60 163
of differential equations [3], fluid flow problems [4,5], magnetohydrodynamics boundary-layer equations [6], nonline ar partial differential equations [7,8] and Duffing oscillator equation with damping effects [9]. Many of the considered references are preferred to use the DTM in global sense, i.e. analytic approximation series are considered about the initial time 𝑡 = 0 without considering any time discretization. Generally, this semi-analytic approach gives good agreement with exact solution only about the initial position. To avoid this drawback, the modified differential transform method (MDTM) was developed and applied to various scientific problems [6,9]. The MDTM is based on using Laplace transformation and Pade approximation after obtaining approximate solution with differential transform method in global sense. The main goal of the MDTM is to decrease numerical error of the global DTM, which is the natural result of the truncated Taylor series expansion when the time moves away from the zero. The DTM can also be used to produce discrete or continuous approximate solutions of differential equations in local sense, which first introduced by Jang et. al. [10]. The main advantage of the local transform method (LDTM) is that the order of the method and accuracy of the results can be increased with and without changing time increment, also provides high accuracy not only at the neighbourhood of the initial position but also the entire domain. The proposed method has important priorities such as less computational time, high order accuracy, adaptivity and flexibility. In this study, it is proved the order of the LDTM is stable with increasing time. The priori error estimate is established for the LDTM and the priorities of the LDTM over the DTM in global sense are shown by analysing the global error bounds of the considered methods. Thus, the LDTM produces more accurate and economic results than both the MDTM and the DTM in the whole-time domain as will be demonstrated. By considering linear and nonlinear IVPs, using the produced results, the LDTM method is compared with the DTM, the fourth-order Runge-Kutta (RK4) method and the exact solution. As demonstrated, the LDTM method provides more excellent results for various IVPs.
2. Differential Transformation
The definitions of the DTM are reorganized from reference [11] by considering local sense as follows: Definition 1. Let 𝑥(𝑡) is analytic in the domain T, the function 𝜑(𝑡, 𝑘) can be defined as follows 𝑑 𝑘 𝑥(𝑡) 𝑑𝑡 𝑘
where 𝑘 belongs to non-negative integer. The differential transform of function 𝑥(𝑡) at any time 𝑡 = 𝑡𝑛 in the domain is locally defined as follows: 𝑋(𝑘) =
Definition 2. If 𝑥(𝑡) is analytic in the domain T, then 𝑥(𝑡) can be denoted by Taylor series at 𝑡 = 𝑡𝑛 as follows: 𝑘 −1 𝑥(𝑡) = ∑∞ 𝑘=0(𝑡 − 𝑡𝑛 ) 𝑋(𝑘) = 𝐷 𝑋(𝑘),
where 𝐷−1 denotes the inverse differential transform operator. By truncating series (3), 𝑥(𝑡) can be represented as follows 𝑘 𝑁+1 ). 𝑥(𝑡) = ∑𝑁 𝑘=0(𝑡 − 𝑡𝑛 ) 𝑋(𝑘) + 𝑂((𝑡 − 𝑡𝑛 )
It is noticeable that the operator 𝐷 satisfies linearity and the differential transform of the derivative function can be written in terms of the differential transform of the function itself. This property is main point to solve differential equations by using the DTM. In reference [11], the
DTM tables of some well-known func tions can be found in detail. Using the definition of the DTM operator, the required properties can be generated in Table 1.
3. The Localized Differential Transform Method
We assume the following first-order ODE system to give the implementation procedure of the LDTM, 𝑑𝒙(𝑡) 𝑑𝑡
where 𝒙 = (𝑥1 , 𝑥2 , … , 𝑥𝑛 ), 𝐶 and 𝐵(𝑡) are the column vectors of 𝑛 × 1, 𝐴 is 𝑛 × 𝑛 matrix. The interval [0, 𝑇] is partitioned into 𝑁 subdomains which have equally spaced grid points 𝑇 defined as 0 = 𝑡0 < 𝑡1 … < 𝑡𝑁 = 𝑇 such that 𝑡𝑖+1 = 𝑡𝑖 + ℎ where ℎ = . Use of the differential 𝑁 transform of equation (5) leads to the following iteration, Table 1. Algebraic properties of transformations of well-known functions Function 𝑥(𝑡) = 𝑦(𝑡) ± 𝑧(𝑡) 𝑥(𝑡) = 𝛼𝑦(𝑡) 𝑑𝑦(𝑡) 𝑥(𝑡) = 𝑑𝑡 𝑑𝑚 𝑥(𝑡) 𝑥(𝑡) = 𝑑𝑡 𝑚
Transformed Function 𝑋(𝑘) = 𝑌(𝑘) ± 𝑍(𝑘) 𝑋(𝑘) = 𝛼𝑌(𝑘) 𝑋(𝑘) = (𝑘 + 1)𝑌(𝑘 + 1) 𝑋(𝑘) = (𝑘 + 1)(𝑘 + 2) … (𝑘 + 𝑚)𝑋(𝑘 + 𝑚) 1 𝑖𝑓 𝑘 = 𝑚 𝑋(𝑘) = { (𝑘−𝑚) 𝐶(𝑚, 𝑘)𝑡𝑘 𝑖𝑓 𝑘 ≠ 𝑚 𝛾𝑘 𝑋(𝑘) = exp(𝛾𝑡𝑘 ) 𝑘!
where 𝑋(𝑘) and 𝐹(𝑘) are the transformed function of 𝒙(𝑡) and 𝐵(𝑡), respectively. For the first subdomain, the function 𝒙(𝑡) can be approximated by 𝒙0 (𝑡) such that 𝒙0 (𝑡) = 𝑋0 (0) + 𝑋0 (1)𝑡 + 𝑋0 (2)𝑡 2 + ⋯ + 𝑋0 (𝐾)𝑡 𝐾 ,
where 𝐾 is the order of differential transformation, 𝑋0 (0) = 𝒙0 = 𝐶 and 𝑋0 (𝑘) can be obtained from iteration (7). Approximate value of the dependent variable 𝒙(𝒕) at 𝑡 = 𝑡1 can be evaluated as follows, 𝑘 𝒙(𝑡1 ) ≅ 𝒙0 (𝑡1 ) = 𝒙1 = ∑𝐾 𝑘=0 𝑋0 (𝑘)ℎ .
The critical idea for constructing the LDTM is that the obtained approximate solution is taken to be initial value of the next iteration, i.e. 𝒙1 (𝑡1 ) = 𝑋1 (0) = 𝒙0 (𝑡1 ). Therefore, the approximate solution 𝒙1 (𝑡) for the second subdomain can be expressed as follows, 𝒙1 (𝑡) = 𝑋1 (0) + 𝑋1 (1)(𝑡 − 𝑡1 ) + 𝑋1 (2)(𝑡 − 𝑡1 )2 + ⋯ + 𝑋1 (𝐾)(𝑡 − 𝑡1 )𝐾 , and the approximate solution 𝒙1 (𝑡) will then be 𝑘 𝒙(𝑡2 ) ≅ 𝒙1 (𝑡2 ) = 𝒙2 = ∑𝐾 𝑘=0 𝑋1 (𝑘)ℎ .
Therefore, the approximate solution at grid point 𝑡𝑖+1 can be stated as follows 𝑘 𝒙(𝑡𝑛+1 ) ≅ 𝒙𝑛 (𝑡𝑛+1 ) = 𝒙𝑛+1 = ∑𝐾 𝑘=0 𝑋𝑛 (𝑘)ℎ .
4. Error Analysis
Consider the following initial value problem, 𝒙′ (𝑡) = 𝐺(𝒙(𝑡), 𝑡), 𝑡 > 0, 𝒙(0) = 𝐶, 𝑚
where 𝐶 ∈ 𝑅 and 𝐺: 𝑅 × 𝑅 → 𝑅 . Considering the procedure mentioned in the previous section, the LDTM solution of equation (13) can be stated as follows, 𝑋𝑛 (𝑘 + 1) =
where 𝑋𝑛 and 𝐹 are the transformed vector valued functions. The exact solution of equation (13) at point 𝑡 = 𝑡𝑛+1 can be expressed in the Taylor expansion form as follows, 𝐾 𝑘 𝑘 𝒙(𝑡𝑛+1 ) = ∑∞ 𝑘=0 𝑋𝑛 (𝑘)ℎ = ∑𝑘=0 𝑋𝑛 (𝑘)ℎ + ℎ 𝜌𝑛
where 𝑛 = 0,1,2, … , 𝑁 − 1 and 𝜌𝑛 is local truncation error. The local truncation error can be written by residual formula of Taylor series as follows 𝜌𝑛 = 𝑋𝒏∗ (𝐾 + 1)ℎ𝐾 =
Hence, the present method approximates locally to the exact solution with order 𝐾. To have convergent numerical scheme, we need also to have bounded global error of the scheme. For further analysis about global discretization error, assume that the problem is linear, 𝐺(𝒙(𝑡), 𝑡) = 𝐴𝒙(𝒕) + 𝐵(𝑡) and let 𝜀𝑛 = 𝒙(𝑡𝑛 ) − 𝒙𝑛 for 𝑛 = 0,1, … , 𝑁. The present method for this equation yields the following discretization, 𝑘 𝒙𝑛+1 = ∑𝐾 𝑘=0 𝑋𝑛 (𝑘)ℎ .
With the use of recursive relation (7), the general term 𝑋𝑛 (𝑘) can be stated as 𝑋𝑛 (𝑘) =
where 𝐹 is the transformed form of the function 𝐵(𝑡). Subtraction of (18) from (16) and using the general term (19) yield, 𝜀𝑛+1 = ∑𝐾 𝑘=0
𝑘 𝑘 ℎ𝐴 Using the equality ∑𝐾 𝑘=0 𝐴 ℎ = 𝑒 , equation (20) can be expressed as follows 𝑘!
where 𝛿𝑛 = ℎ𝜌𝑛 . Note that the method is said to be consistent of order 𝑝 if ||𝛿𝑛 || = 𝑂(ℎ𝑝+1 ).
To relate global discretization error with the initial error 𝜀0 and local discretization error, recursive relation (21) becomes, (𝑛−𝑝−1)ℎ𝐴 𝛿 . 𝜀𝑛 = 𝑒 𝑛ℎ𝐴 𝜀0 + ∑𝑛−1 𝑝 𝑝=0 𝑒
Stability of the current scheme is also depending on the bound of the term 𝑒 𝑛ℎ𝐴
𝑛ℎ ≤ 𝑇. So, considering the following stability criterion 𝑒 𝑛ℎ𝐴 ≤ 𝑆, for all 𝑛 ≥ 0 and 𝑛ℎ ≤ 𝑇,
Then, use of the definition of the local discretization error ||𝛿𝑝 || ≤ 𝑅ℎ 𝑑𝑥 𝐾 (𝒙(𝑡),𝑡)
|), and also assuming 𝒙(0) = 𝒙0 lead to the following error norm
inequality ||𝒙(𝑡𝑛 ) − 𝒙𝑛 || ≤ 𝑅∗ ℎ𝐾 where 𝑅∗ = 𝑆𝑅𝑡𝑛 for all 𝑛 = 0,1, … , 𝑁. Thus, whenever the exact solution is smooth and stability criterion (23) is satisfied, then the currently presented local differential transform method converges to the exact solution with order 𝐾.
5. Numerical Experiments
This section is devoted to numerical illustration of the proposed method through various test problems by producing quantitative and qualitative results. Accuracy of the obtained results are figured out by using error norms and pointwise solutions. The produced results are compared with the literature, exact solutions, the RK4, various versions of the DTM. To evaluate error norms of the present results, we prefer to use the following norm definition 𝐸𝑖 = |𝑥𝑖𝑒𝑥𝑎𝑐𝑡 − 𝑥𝑖𝑛𝑢𝑚𝑒𝑟𝑖𝑐𝑎𝑙 |. Problem 1 [11]. Consider the following second-order IVP 𝑥 ′′ (𝑡) − 2𝑥 ′ (𝑡) + 2𝑥(𝑡) = exp(2𝑡) sin(𝑡), 0 ≤ 𝑡 ≤ 𝑎,
IVP problem (25)-(27) can be transformed to the following system of equations, 𝑢1′ (𝑡) = 𝑢2 (𝑡),
The differential equation system can be expressed in the matrix notation 𝑈 ′ = 𝐴𝑈 + 𝐵,
where 𝑈 = (𝑢1 , 𝑢2 ) and 𝑈(0) = (−0.4, −0.6). With the use of the LDTM as stated in (5)(12), the approximate solutions of equation (32) are produced. In Figs. 1-2, the LDTM and the RK4 solutions of Problem 1 are illustrated by comparing absolute errors of the methods. As seen in the figures, the LDTM is of higher accuracy than the RK4 for short and long-time values. In Table 2, the LDTM results are compared with the results produced by both the DTM [11] and the RK4 using various values of the parameter 𝐾, i.e. LTDM10 means that local differential transform method of order 10. The currently produced results have far less absolute errors than both the global DTM results and the widely used RK4 method.
Figure 1. Comparison of the LDTM and the RK4 solutions of Problem 1 produced with 𝑑𝑡 = 0.1, 𝐾 = 10 and 𝑎 = 1.
Figure 2. Comparison of the LDTM and the RK4 solutions of Problem 1 produced with 𝑑𝑡 = 0.1, 𝐾 = 10 and 𝑎 = 10.
Table 2. Comparison of absolute errors produced by the LDTM, RK4 method and DTM [11] for ℎ = 0.1. 𝑡
3.73E-05 8.39E-05 1.39E-04 2.03E-04 2.72E-04 3.42E-04 4.07E-04 4.58E-04 4.80E-04 4.54E-04
DTM4 [11] 5.90E-06 1.67E-05 3.99E-05 5.31E-05 8.63E-05 1.01E-04 1.47E-04 1.85E-04 2.47E-04 3.06E-04
LDTM4 2.03E-06 5.09E-06 9.44E-06 1.54E-05 2.32E-05 3.33E-05 4.59E-05 6.15E-05 8.03E-05 1.02E-04
DTM5 [11] 1.90E-06 3.40E-06 7.40E-06 4.70E-06 9.50E-06 4.30E-06 7.30E-06 4.00E-06 2.03E-05 3.46E-05
LDTM5 7.93E-08 1.90E-07 3.38E-07 5.28E-07 7.65E-07 1.05E-06 1.39E-06 1.78E-06 2.20E-06 2.66E-06
DTM10 [11] 2.10E-06 3.70E-06 7.00E-06 4.40E-06 9.20E-06 4.60E-06 6.90E-06 3.70E-06 2.01E-06 3.44E-06
LDTM10 5.00E-16 1.55E-15 3.00E-15 5.44E-15 8.55E-15 1.25E-14 1.77E-14 2.41E-14 3.21E-14 4.24E-14
Problem 2. Consider the following nonlinear initial value problem 𝑥 ′ (𝑡) =
In Fig. 3, the LDTM solutions and the RK4 solutions of nonlinear differential equation (28) are compared. The results have been produced for the parameters 𝑑𝑡 = 0.1 and 𝐾 = 10. As illustrated, the results of the LDTM have been seen to be far more accurate than the results of the RK4 method. Even if the time interval is extended to [0,2.5], as demonstrated in Fig. 4, the LDTM produces acceptable results. But in this case, the RK4 solutions diverge to infinity after the time 𝑡 ≅ 2. As demonstrated in Fig. 5, decreasing of the time increment as 𝑑𝑡 = 0.01 leads to convergent solutions of the RK4 method, but the accuracy of the RK4 is less than the accuracy of the present technique.
Figure 3. Comparison of the LDTM and the RK4 solutions of Problem 2 for 𝑑𝑡 = 0.1, 𝐾 = 10 and 𝑎 = 1. 169
Figure 4. Comparison of the LDTM and the RK4 solutions of Problem 2 for 𝑑𝑡 = 0.1, 𝐾 = 10 and 𝑎 = 2.5.
Figure 5. Comparison of the LDTM and the RK4 solutions of Problem 2 for 𝑑𝑡 = 0.01, 𝐾 = 10 and 𝑎 = 2.5.
Problem 3 [11]. Let us consider the following third order initial value problem 𝑥 ′′′ (𝑡) + 2𝑥 ′′ (𝑡) − 𝑥 ′ (𝑡) − 2𝑥(𝑡) = exp(𝑡), 0 ≤ 𝑡 ≤ 𝑎, ′ (0)
with the conditions 𝑥(0) = 1, 𝑥 = 2 and 𝑥 = 0. Using 𝑢1 (𝑡) = 𝑥(𝑡), 𝑢2 (𝑡) = 𝑥′(𝑡) and 𝑢3 (𝑡) = 𝑥′′(𝑡), equation (34) can be transformed to the following system of differential equations, 𝑢1′ (𝑡) = 𝑢2 (𝑡), (35) 𝑢2′ (𝑡) = 𝑢3 (𝑡),
with the initial conditions 𝑢1 (0) = 1, 𝑢2 (0) = 2 and 𝑢3 (0) = 0. In Figs. 6-8, the approximate solutions of the third order non-homogeneous differential equation (34) are obtained by the present LDTM and the RK4 method using different time intervals. The parameters are taken to be 𝑑𝑡 = 0.1, 𝑑𝑡 = 0.2 and 𝐾 = 10.
Figure 6. Comparison of the LDTM and the RK4 solutions of Problem 3 for 𝑑𝑡 = 0.1, 𝐾 = 10 and 𝑎 = 1. Problem 4 [3]. Consider the following stiff system of differential equations 𝑥1′ (𝑡) = −20𝑥1 (𝑡) − 0.25𝑥2 (𝑡) − 19.75𝑥3 (𝑡), 𝑥2′ (𝑡) = 20𝑥1 (𝑡) − 20.25𝑥2 (𝑡) − 0.25𝑥3 (𝑡), 𝑥3′ (𝑡) = 20𝑥1 (𝑡) − 19.75𝑥2 (𝑡) − 0.25𝑥3 (𝑡)
with the initial conditions 𝑥1 (0) = 1, 𝑥2 (0) = 0 and 𝑥3 (0) = −1. In Figs. 8-9, approximate solutions of the system of differential equations (38)-(40) produced by the LDTM and the RK4 are compared for different time intervals. The parameters are taken to
be 𝑑𝑡 = 0.01 and 𝐾 = 10. For various time intervals, the present numerical approach has more accuracy than the RK4 method as illustrated in Figs. 8-9.
Figure 7. Comparison of LDTM and RK4 solutions of Problem 3 for 𝑑𝑡 = 0.1, 𝐾 = 10 and 𝑎 = 10.
Figure 8. Comparison of the LDTM and the RK4 solutions of Problem 3 for 𝑑𝑡 = 0.2, 𝐾 = 10 and 𝑎 = 3. 172
Figure 8. Comparison of the LDTM and the RK4 solutions of Problem 3 for 𝑑𝑡 = 0.01, 𝐾 = 10 and 𝑎 = 1.
Figure 9. Comparison of the LDTM and the RK4 solutions of Problem 3 for 𝑑𝑡 = 0.01, 𝐾 = 10 and 𝑎 = 10.
6. Conclusions And Recommendations
This paper has been organized for the construction and implementation of a local differential transform method (LTDM) for various types of initial value problems. The global error analysis of the LTDM has been studied to find properly out the advantages of the presented method over the semi-analytic global DTM. By considering various types of test problems, the present approach and the widely-used time integration method RK4 have been compared in terms of the produced errors. As both qualitatively and quantitatively illustrated in experiments, the present method has been seen to be in very good agreement with the exact solution even for large time values. Note that the proposed method has been seen to be far more accurate than the RK4 method even when the long-time interval is accepted.
Acknowledgment
The first author would like to thank the Science Fellowships and Grant Programmes Department of TUBITAK (TUBITAK BIDEB) for their support to his academic research.
Share and Cite
TUNC, H.; SARI, M. An Efficient Local Transform Method for Initial Value Problems. Sigma Journal of Engineering and Natural Sciences 2019, Vol. 37, pp. 163-174. https://doi.org/10.62051/ytu.sigma-journal-of-engineering-and-natural-sciences-an-efficient-local-transform-method-for-initial-value-problems

