Professional Documents
Culture Documents
From The Numerical Solution To The Symbolic Form.
From The Numerical Solution To The Symbolic Form.
From The Numerical Solution To The Symbolic Form.
ON THE CONVERGENCE
OF THE VARIATIONAL ITERATION METHOD
ERNEST SCHEIBER∗
Abstract. Convergence results are stated for the variational iteration method
applied to solve an initial value problem for a system of ordinary differential
equations.
1. INTRODUCTION
∗
e-mail: scheiber@unitbv.ro.
88 Ernest Scheiber 2
x1 (t0 ) = x01
0
x1 (t) = f1 (t, x1 (t), . . . , xm (t))
(1) ..
.
xm (t0 ) = x0m
0
xm (t) = fm (t, x1 (t), . . . , xm (t))
As a consequence
∂f (t, x)
i
= |fixj (t, x)| ≤ L, ∀(t, x) ∈ [t0 , tf ] × Rm , ∀i, j ∈ {1, . . . , m}.
∂xj
and
|λn,i (s, t)| ≤ eL(t−s) ≤ eLT , ∀ t0 ≤ s ≤ t ≤ tf and T = tf − t0 .
The recurrence formula (2) becomes
Z t
(7) un+1,i (t) = un,i (t) + λn,i (s, t)(u0n,i (s) − fi (s, un (s)))ds, n ∈ N,
t0
where en,i (t) = un,i (t)−xi (t), i ∈ {1, . . . , m} and en (t) = (en,1 (t), . . . , en,m (t)) =
un (t) − x(t), n ∈ N.
Again, an integration by parts gives
Z t
en+1,i (t) = λn,i (s, t) fixi (s, un (s))en,i (s) − (fi (s, un (s)) − fi (s, x(s))) ds.
t0
and consequently
Z t
|en+1,i (t)| ≤ LeLT (|en,i (s)| + ken (s)k1 )ds.
t0
For n = 1
Z t
M 2 (t−t0 )2 M 2T 2
ke2 (t)k1 ≤ M ke1 (s)k1 ds ≤ 2 ke0 k∞ ⇒ ke2 k∞ ≤ 2 ke0 k∞ .
t0
3. COMPUTATIONAL RESULTS
Example 4.
x01 (t) = x2 (t), x1 (0) = 1 (x2 (t) − 1)x00 (t) = x(t)x02 (t)
2
x1 (t)x22 (t)
√
3 ⇔ x(0) = 21√
x02 (t) = , x2 (0) =
x21 (t)−1 2 x0 (0) = 23
The solution is x1 (t) = sin (t + π6 ), x2 (t) = cos (t + π6 ).
For tf = π3 , I = 100 the result is max0≤i≤I kui − x(ti )k ≈ 0.62 × 10−5 .
Example 5. Van der Pol equation
x01 (t) = x2 (t), x1 (0) = 0.5
0 2 ⇔
x2 (t) = (1 − x1 (t))x2 (t) − x1 (t), x2 (0) = 0
x00 (t) − (1 − x2 (t))x0 (t) + x(t) = 0
⇔ x(0) = 0.5
x0 (0) = 0
In this case we do not have a closed form of the solution. We compare the
VIM approximation with the solution v obtained with ode, a Scilab numerical
integration function.
The obtained results are given in Table 1.
tf I max0≤i≤I kui − vi k
10 100 0.0001988
20 100 0.0033857
30 100 0.0142215
40 100 0.0384137
50 100 0.0777549
100 100 0.6410885
100 1000 0.0069729
Table 1. Numerical results for the Van der Pol equation.
4. CONCLUSIONS
Despite the convergence properties of the method the amount of the com-
putation is greater than of the usual methods (e.g. Runge-Kutta, Adams type
methods). Even so the numerical solution can be taken into consideration.
The numerical implementation can be improved by an adaptive approach and
using some parallel techniques (e.g. OpenCL / CUDA) in an appropriate
environment.
Although the VIM may be implemented for symbolic computation our ex-
periments show disappointing results.
The VIM offers a way to obtain a symbolic approximation of the solution
of the initial value problem. But such an approximation may also be obtained
from a numerical solution with the Eureqa software [10], [7]. A better symbolic
implementation would be useful.
7 On the convergence of the variational iteration method 93
Acknowledgements. The author want to thank the referee for his helpful
suggestions for the improvement of this paper.
REFERENCES
[1] T. Daly, Publishing Computational Mathematics, Notices of the AMS, 59 (2012) no.
2, pp. 320–321.
[2] M. Inokuti, H. Sekine, T. Mura, General use of the Lagrange multiplier in Nonlinear
Mathematical Physics, In Variational Methods in Mechanics and Solids, ed. Nemat-
Nasser S., Pergamon Press, pp. 156–162, 1980.
[3] J.H. He, Variational iteration method - Some recent results and new interpretations,
J. Comput. Appl. Math., 207 (2007), pp. 3–17.
[4] Z.M. Odibat, A study on the convergence of variational iteration method, Math. Com-
puter Modelling, 51 (2010), pp. 1181–1192.
[5] D. K. Salkuyeh, Convergence of the variational iteration method for solving linear
systems of ODE with constant coefficients, Comp. Math. Appl., 56 (2008), pp. 2027–
2033.
[6] D. K. Salkuyeh, A. Tavakoli, Interpolated variational iteration method for initial
value problems, arXiv:1507.01306v1, 2015.
[7] E. Scheiber, From the numerical solution to the symbolic form, Bull. Transilvania
University of Braşov, Series III, Mathematics, Informatics, Physics, 8(57) (2015) no. 1,
pp. 129–137.
[8] M. Tatari, M. Dehghan, On the convergence of He’s variational iteration method. J.
Comput. Appl. Math., 207 (2007), pp. 121–128.
[9] M. Torvattanabun, S. Koonprasert, Convergence of the variational iteration
method for solving a first-order linear system of PDEs with constant coefficients, Thai
J. of Mathematics, Special Issue, pp. 1–13, 2009.
[10] * * *, www.nutonian.com
[11] * * *, www.scilab.org
with
1 function [ u , eM, i t e r ]= v i m s t e p ( f , df , x0 , t0 , t f , n , nmi , t o l )
2 // V a r i a t i o n a l I t e r a t i o n Method .
3 //
4 // Output arguments
5 // u : a r e a l v e c t o r o r matrix , t h e n u m e r i c a l s o l u t i o n .
6 // eM : a b o o l e a n v a l u e , error marker , (%t − OK) .
7 // i t e r : an i n t e g e r , t h e number o f l o c a l p e r f o r m e d i t e r a t i o n s .
8 // I n p u t arguments
9 // f : a S c i l a b function , t h e r i g h t hand s i z e o f t h e
10 d i f f e r e n t i a l system .
11 // df : a S c i l a b function , d f =( d f 1 / dx 1 , d f 2 / dx 2 , . . . ) .
12 // x0 : a real vector , the i n i t i a l c o n d i t i o n s .
13 // t0 : a r e a l s c a l a r , t h e i n i t i a l time .
14 // tf : a r e a l s c a l a r , t h e f i n a l time .
15 // n : a p o s i t i v e i n t e g e r , the l o c a l d i s c r e t i z a t i o n parameter .
16 // nmi : maximum a l l o w e d number o f l o c a l i t e r a t i o n s i t e r a t i o n .
17 // t o l : a p o s i t i v e r e a l number , a t o l e r a n c e .
18 //
19 t=linspace ( t0 , t f , n )
20 h=( t f −t 0 ) / ( n−1)
21 d=length ( x0 )
22 u o l d=zeros ( d , n )
23 u o l d ( : , 1 ) = x0 ’
24 sw=%t
25 i t e r =0
26 while sw do
27 i t e r=i t e r +1
28 u new=zeros ( d , n )
29 u new ( : , 1 ) = x0 ’
30 f 0=zeros ( d , n )
31 d f 0=zeros ( d , n )
32 f o r j =1:n do
33 p=u o l d ( : , j )
34 q=f ( t ( j ) , p )
35 dq=d f ( t ( j ) , p )
36 f 0 ( : , j )=q
37 d f 0 ( : , j )=dq
38 end
39 f o r i =2:n do
40 z=zeros ( d , n )
41 f o r j=i −1: −1:1 do
42 z ( : , j ) =0 .5∗ h ∗ ( d f 0 ( : , j )+ d f 0 ( : , j +1))+ z ( : , j +1)
43 end
44 w=( f 0 −d f 0 . ∗ u o l d ) . ∗ exp ( z )
45 s=zeros ( d , 1 )
46 s=w( : , 1 ) +w ( : , i )
47 i f i >2 then
48 f o r j =2: i −1 do
49 s=s +2∗w ( : , j )
50 end
51 end
52 u new ( : , i ) =0 . 5∗ h∗ s+exp ( z ( : , 1 ) ) . ∗ x0 ’
53 end
54 nrm=max( abs ( u new−u o l d ) )
55 u o l d=u new
96 Ernest Scheiber 10