Abstract
In this work we propose a fourth-order compact method for solving the one-dimensional nonlinear Klein-Gordon equation. We apply a compact finite difference approximation of fourth-order for discretizing spatial derivative and a fourth-order A-stable diagonally-implicit Runge-Kutta-Nyström (DIRKN) method for the time integration of the resulting nonlinear second-order system of ordinary differential equations. The proposed method has fourth order accuracy in both space and time variables and is unconditionally stable. Numerical results obtained from solving several problems possessing periodic, kinks, single and double-soliton waves show that the combination of a compact finite difference approximation of fourth order and a fourth-order A-stable DIRKN method gives an efficient algorithm for solving these problems.
Similar content being viewed by others
References
Dehghan, M.: Finite difference procedures for solving a problem arising in modeling and design of certain optoelectronic devices. Math. Comput. Simul. 71, 16–30 (2006)
Bratsos, A.G., Twizell, E.H.: The solution of the sine-Gordon equation using the method of lines. Int. J. Comput. Math. 61, 271–292 (1996)
Bratsos, A.G.: On the numerical solution of the Klein-Gordon equation. Numer. Methods Partial Differ. Equ. 25, 939-951 (2009)
Bratsos, A.G.: A third order numerical scheme for the two-dimensional sine-Gordon equation. Math. Comput. Simul. 76, 271–282 (2007)
Bratsos, A.G.: The solution of the two-dimensional sine-Gordon equation using the method of lines. J. Comput. Appl. Math. 206, 251–277 (2007)
Bratsos, A.G.: A numerical method for the one-dimensional sine–Gordon equation. Numer. Methods Partial Differ. Equ. 24, 833–844 (2008)
Butcher, J.C.: Numerical Methods for Ordinary Differential Equations, 2nd edn. Wiley, New York (2008)
Caudrey, P.J., Eilbeck, I.C., Gibbon, J.D.: The sine-Gordon equation as a model classical field theory. Nuovo Cim. 25, 497–511 (1975)
Deeba, E.Y., Khuri, S.A.: A decomposition method for solving the nonlinear Klein–Gordon equation. J. Comput. Phys. 124, 442–448 (1996)
Dehghan, M., Shokri, A.: Numerical solution of the nonlinear Klein–Gordon equation using radial basis functions. J. Comput. Appl. Math. (2009, in press)
Denga, X., Zhaob, M., Lic, X.: Travelling wave solutions for a nonlinear variant of the PHI-four equation. Math. Comput. Model. 49, 617–622 (2009)
Dodd, R.K., Eilbeck, I.C., Gibbon, J.D., Morris, H.C.: Solitons and Nonlinear Wave Equations. Academic, London (1982)
El-Sayed, S.M.: The decomposition method for studying the Klein-Gordon equation. Chaos Solitons Fractals 18, 1025–1030 (2003)
Franco, J.M., Gómez, I.: Accuracy and linear stability of RKN methods for solving second-order stiff problems. Appl. Numer. Math. 59, 959–975 (2009)
Guo, B.Y., Li, X., Vázquez, L.: A Legendre spectral method for solving the nonlinear Klein- Gordon equation. Mat. Appl. Comput. 15, 19–36 (1996)
Inc, M., Ergüt, M., Evans, D.J.: An efficient approach to the Klein-Gordon equation: an application of the decomposition method. Int. J. Simul. Process Model. 2, 20–24 (2006)
Jiménez, S., Vázquez, L.: Analysis of four numerical schemes for a nonlinear Klein-Gordon equation. Appl. Math. Comput. 35, 61–94 (1990)
Lee, I.J.: Numerical solution for non-linear Klein-Gordon equation by collocation method with respect to spectral method. J. Korean Math. Soc. 32, 541–551 (1995)
Li, S., Vu-Quoc, L.: Finite difference calculus invariant structure of a class of algorithms for the nonlinear Klien-Gorodn equation. SIAM J. Numer. Anal. 32, 1839–1875 (1995)
Liao, W., Zhu, J., Khaliq, A.Q.M.: A fourth-oder compact algorithm for nonlinear reaction-diffusion equations with Neumann boundary conditions. Numer. Methods Partial Differ. Equ. 22, 600–616 (2005)
Lindblad, H., Rodnianski, I.: The weak null condition for Einstein’s equations. C. R. Math. Acad. Sci. Paris 336, 901–906 (2003)
Lynch, M.A.M.: Large amplitude instability in finite difference approximations to the Klein-Gordon equation. Appl. Numer. Math. 31, 173–182 (1999)
Mohebbi, A., Dehghan, M.: The use of compact boundary value method for the solution of two-dimensional Schrödinger equation. J. Comput. Appl. Math. 225, 124–134 (2009)
Sassaman, R., Biswas, A.: Soliton perturbation theory for phi-four model and nonlinear Klein–Gordon equations. Commun. Nonlinear Sci. Numer. Simulat. 14, 3239–3249 (2009)
Scott, A.C.: A nonlinear Klein-Gordon equation. Am. J. Phys. 37, 52–61 (1969)
Shakeri, F., Dehghan, M.: Numerical solution of the Klein-Gordon equation via He’s variational iteration method. Nonlinear Dyn. 51, 89–97 (2008)
Spotz, W.F.: High-order compact finite difference schemes for computational mechanics. Ph.D. Thesis, University of Texas at Austin, Austin, TX (1995)
Strauss, W.A., Vázquez, L.: Numerical solution of a nonlinear Klein-Gordon equation. J. Comput. Phys. 28, 271–278 (1978)
Wazwaz, A.M.: Compactons, solitons and periodic solutions for some forms of nonlinear Klein-Gordon equations. Chaos Solitons Fractals 28, 1005–1013 (2006)
Wazwaz, A.M.: New travelling wave solutions to the Boussinesq and the Klein-Gordon equations. Commun. Nonlinear Sci. Numer. Simulat. 13, 889–901 (2008)
Wong, Y.S., Chang, Q., Gong, L.: An initial-boundary value problem of a Klein-Gordon equation. Appl. Math. Comput. 84, 77–93 (1997)
Dehghan, M., Mirezaei, D.: Numerical solution to the unsteady two-dimensional Schrodinger equation using meshless local boundary integral equation method. Int. J. Numer. Methods Eng. 76, 501–520 (2008)
Dehghan, M., Shokri, A.: A numerical method for solution of the two-dimensional sine-Gordon equation using the radial basis functions. Math. Comput. Simul. 79, 700–715 (2008)
Dehghan, M., Mirzaei, D.: The dual reciprocity boundary element method (DRBEM) for twodimensional sine-Gordon equation. Comput. Method Appl. Mech. Eng. 197, 476–486 (2008)
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Dehghan, M., Mohebbi, A. & Asgari, Z. Fourth-order compact solution of the nonlinear Klein-Gordon equation. Numer Algor 52, 523–540 (2009). https://doi.org/10.1007/s11075-009-9296-x
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11075-009-9296-x