Professional Documents
Culture Documents
Solving BVPs With Shooting Method and VIMHP
Solving BVPs With Shooting Method and VIMHP
net/publication/259143453
CITATIONS READS
4 3,637
2 authors:
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Mashallah Matinfar on 04 October 2016.
ORIGINAL ARTICLE
Science of Mathematics Faculty, Department of Mathematics, University of Mazandaran, PO Box 47415-95447, Babolsar, Iran
KEYWORDS Abstract In this paper, a new method is applied for solving the nonlinear Boundary value prob-
Nonlinear boundary value lems. This method is a combination of shooting method and Variational Iteration Method Using
problems He’s Polynomials. As examples show, our proposed technique can overcome the difficulties that
Shooting method arise in both methods, and efficiency of this technique is approved.
Variational iteration method
He’s polynomials 2010 MATHEMATICS SUBJECT CLASSIFICATION: 65L10, 65N99, 65L99
ª 2013 Production and hosting by Elsevier B.V. on behalf of Egyptian Mathematical Society.
Open access under CC BY-NC-ND license.
2.1. Variational iteration method the domain X. Generally speaking the operator A can be di-
vided into two parts L and N, where L is a linear, and N is a
To illustrate the basic idea of VIM, at first consider the follow- nonlinear operator. Therefore (3) can be rewritten as follows:
ing nonlinear differential equation LðUÞ þ NðUÞ fðrÞ ¼ 0:
L½uðrÞ þ N½uðrÞ ¼ gðrÞ; r > 0; ð1Þ
We construct a homotopy V(r, p): X · [0, 1] fi Rn, which
dm satisfies
where L ¼ ; m 2 N, is a linear operator as, N is a nonlinear
drm
operator and g(r) is the source inhomogeneous term, subject to HðV; pÞ ¼ ð1 pÞ½LðVÞ LðU0 Þ þ p½AðVÞ fðrÞ ¼ 0; p
the initial conditions
2 ½0; 1; r 2 X;
uðkÞ ð0Þ ¼ ck ; k ¼ 0; 1; 2; . . . ; m 1; ð2Þ
where ck is a real number. According to the He’s variational or equivalently,
iteration method [11], we can construct a correction functional HðV; pÞ ¼ LðVÞ LðU0 Þ þ pLðU0 Þ þ p½NðVÞ fðrÞ ¼ 0: ð4Þ
for (1) as follows:
Z r where U0 is an initial approximation of (3). In this method,
unþ1 ðrÞ ¼ un ðrÞ þ kðsÞfLun ðsÞ þ N uen ðsÞ gðsÞgds; n P 0; using the homotopy parameter p, we have the following power
0 series presentation for V,
where k is a general Lagrangian multiplier and can be identi- V ¼ V0 þ pV1 þ p2 V2 þ . . . :
fied optimally via variational theory. Here, we apply restricted The approximate solution can be obtained by setting p = 1,
variations to nonlinear term Nu, in this case the best value of i.e.
multiplier we can be easily determined. Making the above
functional stationary, noticing that d uen ¼ 0, U ¼ U0 þ U 1 þ U 2 þ . . . : ð5Þ
Z r
The convergence of series (5) is discussed in [15]. The meth-
dunþ1 ðrÞ ¼ dun ðrÞ þ d kðsÞfLun ðsÞ gðsÞgds; od considers the nonlinear term N[V] as
0
on 1 2
y00 ¼ y3 ; yð1Þ ¼ ; y0 ð1Þ ¼ A; ð24Þ
0 0 2 3
D ¼ fðx; y; y Þj a 6 x 6 b; 1 < y < 1; 1 < y < 1g:
where A is an arbitrary constant and should be determined
for the proof of this theorem refer to [22]. based on the illustrated algorithm:
1 þ 23 1
A¼ ¼ : ð25Þ
2.4.2. Computational algorithm for the combination of VIMHP 21 3
and shooting method Using this value of A, we can solve Eq. (24) by the VIMHP.
The above example that adjusting the value of A in (19) can To use the VIMHP, we should calculate the Lagrange
lead to a solution which satisfies (17). We can solve this, using multiplier:
Z t
a self-consistent algorithm to search for the appropriate value 1
of A which satisfies the original problem. The basic algorithm yðnþ1Þ ðtÞ ¼ yn ðtÞ þ kðsÞfynss ye3 n gds ð26Þ
1 2
is as follows:
yn ¼ 0.
where y~n is considered as restricted variations, i.e. d~
1-Solve the differential equation with the initial conditions To find the optimal value of k(s), we have
y(a) = a, and y0 (a) = A with VIMHP as illustrated before. Z t
1
The first appropriate value of A can be determined by eval- dyðnþ1Þ ðtÞ ¼ dyn ðtÞ þ d kðsÞ ynss ye3 n ds ð27Þ
uating the slope of straight lines passing through two 1 2
points, a and b, those that lie on the function curve: or
yðbÞ yðaÞ Z t
A¼ : dyðnþ1Þ ðtÞ ¼ dyn ðtÞ þ kðsÞdynss ds; ð28Þ
ba
1
2-Evaluates the solution yVIMHP(t) at t = b and compare
which results
this value with the target value of y(b) = b.
3-Adjust the value of A (either bigger or smaller) until a dyðnþ1Þ ðtÞ ¼ dyn ðtÞð1 k0 ðsÞÞ þ kðsÞdy0n ðsÞjs¼t
desired level of tolerance and accuracy is achieved. The Z t
Secant method for determining values of A, for instance, þ k00 ðsÞdyn ðsÞds ¼ 0: ð29Þ
1
may be appropriate:
Therefore, the stationary conditions are obtained in the fol-
yVIMHP ðb; Ak1 Þ yðbÞ
Ak ¼ Ak1 ðAk1 lowing form
yVIMHP ðb; Ak1 Þ yVIMHP ðb; Ak2 Þ
8 0
Ak2 Þ; ð22Þ < 1 k ðsÞ ¼ 0js¼t ;
>
where Ak1 is the value of A in the (k 1)th step and kðsÞ ¼ 0js¼t ; ð30Þ
>
: 00
yVIMHP(b; Ak1) is the value of yVIMHP(t)Œt=b for Ak1, but k ðsÞ ¼ 0js¼t ;
as we can see in this method we need the first and second value
which results k(s) = s t. Now we can use the VIMHP to find
of A. The first value can be obtained as illustrated in step (1)
the components of the solution.
and one choice for the second value may be 2 yðbÞyðaÞ :
ba
Z t !3
4-Once the specified accuracy has been achieved, the solu- X1
1 X1
tion is complete and is accurate to the level of the tolerance pn vn ðtÞ ¼ y0 p ðs tÞ pn vn ds: ð31Þ
n¼0
2 1 n¼0
chosen.
The best choice of y0 is y0 ¼ 23 13 ðt 1Þ and based on the
Note: VIMHP definition
Our proposed method is applicable for higher order of dif- X
1
ferential equations. It only needs the equation be transformed yðtÞ ¼ vn ðtÞ:
into a system of equations of order one and two. The equation n¼0
of order one can be solved easily by VIMHP and the equation In order to obtain the unknown yn, n = 1, 2, 3, . . . the like
of order two is solved by the VIMHP and shooting method. powers of p should be compared. So we have:
2 1
3. Applied examples p0 : v0 ðtÞ ¼ y0 ¼ ðt 1Þ;
3 3
Z
1 1 t
p : v1 ðtÞ ¼ ðs tÞv30 ds
In this section we present some examples to show the reliability 2 1
of applied method. ðt 1Þ2 3
¼ ðt þ 7t2 þ 23t þ 49Þ;
1080
Example 1. Consider the following equations, with the Z
3 t
For this example, f(t, y, y0 ) = y3 yy0 . So, based on Theo- Applying VIM for finding the best value of Lagrange multi-
rem 2.1, Eq. (33) has unique solution too. To solve this equa- plier gives k(s) = s t. Using this value and considering the
tion, first of all, we should convert original equation into VIP: VIMHP we have: 8 !3
X1 Z t < X1
n n
p vn ðtÞ ¼ y0 þ p ðs tÞ p vn
n¼0 1 : n¼0
! !)
X1 X
1
þ pn vn pn v0n ds; ð36Þ
n¼0 n¼0
and
X
1
yðtÞ ¼ vn ðtÞ:
n¼0
1
p0 : v0 ðtÞ ¼ y0 ¼ 0:2499ðt 1Þ
2
Z t
ðt 1Þ2
1
p : v1 ðtÞ ¼ ðs tÞ v30 þ v0 v00 ds ¼ ð7:80t3 101t2 þ 596t 1752Þ;
1 10000
Z t
ðt 1Þ3
p2 : v2 ðtÞ ¼ ðs tÞ 3v20 v1 þ v0 v01 þ v1 v00 ds ¼
1 10000
ð:020t6 :487t5 þ 5:8t4 430t3 þ 189t2 479t þ 536Þ;
Figure 2 Comparing the result of Shooting-VIMHP, VIMHP ..
. ð37Þ
and VIM with the exact solution of Eq. (23).
Solving BVPs with shooting method and VIMHP 359
Acknowledgements
Figure 3 Comparing the result of Shooting-VIMHP, VIM and The financial support received from university of Mazandaran
VIMHP with the exact solution of Eq. (33). is gratefully acknowledged. The authors also thank the anon-
ymous reviewer for his/her comments which led to an im-
proved version of the paper.
Table 3 Comparing the numerical result of Shooting-VIMHP
with the exact solution of Eq. (33). References
t yShootingVIMHP3 yexact jyShootingVIMHP3 yexact j [1] L.L. Jiang, T. Zhou, M. Perc, B.H. Wang, Effects of
1.0 0.500000 0.500000 0.000000 competition pattern formation in the rock-paper-scissers game,
1.2 0.454564 0.454545 0.000019 Phys. Rev. E. 84 (2) (2011) (doi:10/1103).
1.4 0.416703 0.416666 0.000037 [2] J. Biazar, P. Gholamian, K. Hosseini, Variational iteration
1.6 0.384666 0.384615 0.000051 method for solving Fokker–Planck equation, J. Franklin Inst.
1.8 0.357190 0.357142 0.000048 347 (7) (2010) 1137–1147.
2.0 0.333333 0.333333 0.000000 [3] Haka K. Akmaz, Variational iteration for elastodynamic
Green’s function, Non. Anal.: Theory Methods Appl. 71 (12)
(2009) 218–223.
[4] J.H. He, Variational iteration method-some recent results and
new interpretations, J. Comput. Appl. Math. 207 (1) (2007) 3–
Table 4 Comparing the value of yShootingVIMHP3 with the exact 17.
solution at t = 2. for Eq. (33). [5] J.S. Nadjafi, A. Ghorbani, He’s homotopy perturbation
n yShootingVIMHP3 yexact jyShootingVIMHP3 yexact j method: an effective tool for solving integral and integro-
differential equation, Comput. Math. Appl 58 (11–12) (2009)
1 0.25759725 0.33333333 0.07573608 2379–2390.
2 0.33369275 0.33333333 0.00035941 [6] J.H. He, Application of homotopy perturbation method to non-
3 0.33333516 0.33333333 0.00000182 linear wave equations, Caos Soliton Fractals 26 (3) (2005) 695–
4 0.33333333 0.33333333 0.00000000 700.
[7] J.H. He, A coupling method of a homotopy technique and a
perturbation technique for non-linear problems, Int. J.
Nonlinear Mech. 35 (1) (2005) 37–43.
By studying Fig. 3, it is clear that there is an excellent agree- [8] G.C. Wu, Adomian decomposition method for non-smooth
ment between yShootingVIMHP3 and the exact solution in compar- initial value problem, Math. Comput. Modell. 54 (9–10) (2011)
ison with VIM and VIMHP. Table 3 shows the numerical 2104–2108.
result for this example and Table 4 as the same as previous [9] A. Hasseine, A. Bellagoun, H.J. Bart, Analytical solution of the
example approves that by applying shooting method and droplet breakup equation by Adomian decomposition method,
introduced algorithm to find the best value of A, the VIMHP App. Math. Comput. 218 (5) (2011) 2249–2258.
can give the excellent approximation. Because, the initial guess [10] N.H. Sweilam, M.M. Khader, Approximate solutions to the
will be better than y0 in the absence of shooting method. nonlinear vibrations of multiwalled carbon nanotubes using
Adomian decomposition method, Appl. Math. Comput. 217 (2)
(2010) 495–505.
4. Conclusion [11] J.H. He, X.H. Wu, Variational iteration method: new
development and applications, Comput. Math. Appl 54 (7-8)
(2007) 881–894.
In this paper we proposed a new technique that is a combina- [12] J. Biazar, H. Ghazvini, M. Eslami, He’s homotopy perturbation
tion of the VIMHP and shooting method to solve boundary method for systems of integro-differential equations, Chaos,
value problems. By this modification we do not encounter Solitons Fractals 39 (2009) 1253–1258.
the difficulties that exist in using the VIMHP and shooting [13] J.H. He, Homotopy perturbation method for solving boundary
method for solving BVPs: value problems, Phys. Lett A 350 (12) (2006) 87–88.
360 M. Matinfar, M. Ghasemi
[14] J.H. He, Some asymptotic methods for strongly nonlinear [19] S.T. Mahyud-Din, A. Yildirim, Variational iteration method
equations, Int. J. Modern Phys. B 20 (10) (2006) 1141– for Hirota–Satsuma modelusing He’s polynomials: Zeitschrif
1199. Fur Naturforschung section A, J. Phys. Sci. 65 (6–7) (2010)
[15] J.H. He, New interpretation of homotopy-perturbation method, 525–528.
Int. J. Modern Phys. B 20 (2006) 2561–2568. [20] M. Matinfar, M. Ghasemi, Variational iteration method with
[16] A. Ghorbani, Beyond Adomian polynomials: He’s polynomials, He’s polynomials and Laplace transform, J. Nonlinear Sci. Lett.
Chaos Solitons Fractals 39 (2009) 1486–1492. A 2 (1) (2012) 17–22.
[17] S.T. Mahyud-Din, A. Yildirim, Variational iteration method for [21] M. Matinfar, M. Ghasemi, Application of variational iteration
delay differential equations using He’s polynomials: Zeitschrif method to nonlinear heat transfer equations using He’s
Fur Naturforschung section A, J. Phys. Sci. 5 (12) (2010) 1045– Polynomials. Int. J. Num. Methods Heat Fluid Flow, 23(3)
1048. (2013) 520–531.
[18] Y. Khan, QB. Wu, Homotopy Perturbation transform method [22] H.B. Keller, Numerical Methods for Two-Point Boundary-
for nonlinear equations using He’s polynomials, Comput. Math. Value Problems, Blaisdell, London, 1968, pp.184.
Appl. 41 (8) (2011) 1963–1967.