Spline Solution for the Nonlinear Schrödinger Equation

Abstract

We develop an exponential spline interpolation method to solve the nonlinear Schrödinger equation. The truncation error and stability analysis of the method are investigated and the method is shown to be unconditionally stable. The conservation quantities are computed to determine the conservation properties of the problem. We will describe the method and present numerical tests by two problems. The numerical simulations results demonstrate the well performance of the proposed method.

Share and Cite:

Lin, B. (2016) Spline Solution for the Nonlinear Schrödinger Equation. Journal of Applied Mathematics and Physics, 4, 1600-1609. doi: 10.4236/jamp.2016.48170.

Received 13 July 2016; accepted 22 August 2016; published 25 August 2016

1. Introduction

Consider the following nonlinear Schrödinger equation

(1)

With the boundary conditions

(2)

And the initial condition

(3)

where, is the complex-valued wave function. and are constant, is a bounded real function. This equation plays important roles in nonlinear physics. It can describe many nonlinear phenomena including plasma physics [1] , hydrodynamics [1] [2] , self-focusing in laser pulses [3] , propagation of heat pulses in crystals, models of protein dynamics [4] , quantum mechanics [5] , models of energy transfer in molecular systems [6] and quantum mechanics and optical communication [7] - [9] and so on.

In the past few years a great deal of efforts has been expended to solve NLS equations. It is more difficult to find the analytical solutions of the NLS equation, so the study of the numerical solution of NLS equation in the theory and application is important. Its numerical solutions have been researched by many authors. For example, finite difference method [10] [11] , quasi-interpolation scheme [12] , quadratic B-spline finite element scheme [13] , compact split-step finite difference method and pseudo-spectral collocation method [14] [15] , exponential spline method [16] , spline methods [17] [18] , split-step orthogonal spline collocation method [19] , a high-order and accurate method [20] , linearly implicit conservative scheme [21] .

The aim of this paper is to give an exponential spline interpolation method for the NLS equation. The paper is organized as follows. In Section 2, construction of the method is presented. The stability analysis of the scheme is investigated in Section 3. In Section 4, the computation of conserved quantities and error norms are given. In Section 5, two numerical examples are presented to demonstrate our theoretical results. The last section is a brief conclusion.

2. Construction of Exponential Spline Interpolation Method

We set up a grid in the plane with grid points and uniform grid spacing h and k, where and.

In the interval, a exponential spline function is given by

(4)

where are coefficients to be determined, and are the auxiliary functions which contain a stiffness parameter which will be used to raise the accuracy of the method, on the support and are given by

(5)

(6)

Since the Taylor series expansions of the hyperbolic functions are

(7)

(8)

We note that and tend to and in the limit of p tending to zero, and in the opposite limit of p tending to infinity the nonlinear terms in and vanish as.

So the exponential spline defined above share a number of interesting properties:

(1) When, reduces to cubic spline; when, reduces to linear spline.

(2) A change of character of the exponential spline function is from linear to third order polynomial on adjacent support intervals.

(3) In the general case the stiffness parameters p are different on every interval which provides the extremely high flexibility of the exponential spline function.

We wish to find in Equation (4), , Letting be the unknown second derivative of the exponential spline of interpolation at the grid points, we can obtain the following representation for on in terms of the known interpolation data and the unknown spline second derivatives

(9)

The terms involving the values and represent the linear interpolation part of. The terms involving the second derivatives and introduce the curvature.

The function on the interval is obtained with replacing i in Equation (9).

The continuity requirement for the first derivative at the point yields the following equation:

(10)

where

Remark 1.

(1) By expanding Equation (10) in Taylor series, the truncation error for Equation (10) is of the form

(11)

where.

For, , the truncation

error in space of the relation (10) is of.

From Equation (10), we can obtain

(12)

Or

(13)

Further, when, then, , the truncation error in space of the relation (10) is of, Equation (2.7) can be rewritten as

(14)

(15)

In order to get the error estimates of Equation (10), we put in Equation (12), where E and D are the shift and differential operators respectively, and expand them in powers of hD, we have

(16)

Or

(17)

At the grid point, Equation (1) can be discretized by

(18)

From Equation (18), we have

(19)

(20)

(21)

Substituting Equation (19), Equation (20) and Equation (21) into Equation (15) and after some simplifications, we obtain

(22)

where

The local truncation error of the relation (22) is of.

The boundary conditions (2) and the system given in the Equation (22) consists of equations in unknown. We can write this system in a matrix form as follows:

(23)

where,

Once the vectors are computed, , unknown vectors can be found repeatedly by solving the recurrence relation (23).

3. Stability Analysis

Following the von Neumann technique, we first linearize the nonlinear term in Equation (18) by making the quantity as locally constant and assume that the numerical solution can be expressed by means of a Fourier series

(24)

where, is the amplitude at time level j, is the wave number and h is the element size. Substituting Equation (24) into Equation (22), the amplification factor can be written as

(25)

Using Eulers formula, we have

where,

Since

Thus this method is unconditionally stable.

4. Computation of Conserved Quantities and Error Norms

The nonlinear Schrödinger equation possesses two conservation quantities:

(1) Mass conservation:

(26)

Calculated by

(27)

(2) Energy conservation: If and are independent of t, then

(28)

Calculated by

(29)

where and u are the approximate solution at n-th time step at j-th node and exact solution, respectively.

The maximum error norm and discrete root mean square error norm will be calculated

(30)

(31)

The relative error of numerical solution is defined as

(32)

5. Numerical Results

In the section, we present the results of our numerical experiments for the proposed scheme described in the previous section.

Example 1. Consider the one dimensional Gross-Pitaevskii equation

(33)

With the analytical solution

(34)

Conserved quantities and error norms at various times are recorded in Table 1. The real and imaginary parts of the numerical and exact solutions are tabulated in Table 2, the numerical results reveal the accuracy of the proposed method.

The absolute error at different space step sizes h at time are shown in Figure 1, it can be seen that the absolute errors becomes smaller as decreasing h.

Example 2. Consider the equation (1) with

(35)

The exact solution of this problem is

(36)

Table 1. Conserved quantities and error norms at various times for example 1 with.

Table 2.The real and imaginary parts of the numerical and exact solutions for Example 1 with..

Figure 1. The absolute error at different h for example 1 with.

Table 3. Conserved quantities and error norms at various times for example 2 with.

Figure 2. The numerical solution at various times t = 1, 2, 3, 4 with.

Figure 3. The numerical solutions and analytical solutions for k = 0.01, h = 0.1 at time t = 3.

Figure 4.The numerical solutions and analytical solutions for k = 0.01, h = 0.1 at time t = 4.

Conserved quantities and error norms at various times are presented in Table 3. The numerical results reveal that the values of is almost constant while the values of differ slightly and the errors are very small.

The numerical solutions at various times are given in Figure 2. The numerical solutions and analytical solutions at time and are shown in Figure 3 and Figure 4, respectively. The absolute error at time and are plotted in Figure 5 and Figure 6, respectively. It observed that (1) the propagation of solitary wave is rightward while preserving unchanged shape; (2) our method gives a good approximation compared with the exact solutions.

6. Conclusion

A numerical method based on exponential spline interpolation function is applied to study a class of nonlinear Schrödinger equation. We use exponential spline collocation method, which results in tri-diagonal systems of

Figure 5. The absolute error for k = 0.01, h = 0.1 at time t = 3.

Figure 6. The absolute error for k = 0.01, h = 0.1 at time t = 4.

equations that can be solved efficiently by the Thomas algorithm. The numerical simulations confirm and demonstrate the reliability and efficiency of the schemes and tell us that the method is applicable technique, relatively simple and approximates the exact solution very well.

Acknowledgements

The authors would like to thank the editor and the reviewers for their valuable comments. This work was supported by the Natural Science Foundation of Guangdong (2015A030313827).

Conflicts of Interest

The authors declare no conflicts of interest.

References

[1] Infeld, E. (1984) Nonlinear Waves: From Hydrodynamics to Plasma Theory, Advances in Nonlinear Waves. Pitman, Boston.
[2] Nore, C., Abid, A. and Brachet, M. (1996) Small-Scale Structures in Three-Dimensional Hydrodynamics and Magnetohyrodynamic Turbulence. Springer, Berlin.
[3] Agrawal, G.P. (2001) Nonlinear Fibei Optics. 3rd Edition, Academic Press, San Diego.
[4] Fordy, A.P. (1990) Soliton Theory: A Survey of Results. Manchester University Press, Manchester.
[5] Bruneau, C.H., Di Menza, L. and Lerhner, T. (1999) Numerical Resolution of Some Nonlinear Schrödinger-Like Equation in Plasmas. Numerical Methods for Partial Differential Equations, 15, 672-696.
http://dx.doi.org/10.1002/(SICI)1098-2426(199911)15:6<672::AID-NUM5>3.0.CO;2-J
[6] Bang, O., Christiansen, P.L., Rasmussen, K. and Gaididei, Y.B. (1995) The Role of Nonlinearity in Modeling Energy Transfer in Schibe Aggregates. In: Nonlinear Excitations in Biomolecules, Springer, Berlin, 317-336.
http://dx.doi.org/10.1007/978-3-662-08994-1_24
[7] Ferreira, M.F., Faco, M.V., Latas, S.V. and Sousa, M.H. (2005) Optical Solitons in Fibers for Communication Systems. Fiber and Integrated Optics, 24, 287-313.
http://dx.doi.org/10.1080/01468030590923019
[8] Zhang, J.F., Dai, C.Q., Yang, Q. and Zhu, J.M. (2005) Variable-Coefficient F-Expansion Method and Its Application to Nonlinear Schrödinger Equation. Optics Communications, 252, 408-421.
http://dx.doi.org/10.1016/j.optcom.2005.04.043
[9] Zhang, J.L., Li, B.A. and Wang, M.L. (2009) Soliton Propagation in a System with Variable Coefficients. Chaos Solitons Fractals, 39, 858-865.
http://dx.doi.org/10.1016/j.chaos.2007.01.116
[10] Taha, T.R. and Ablowitz, M.J. (1984) Analytical and Numerical Aspects of Certain Nonlinear Evolution Equations. II. Numerical, Nonlinear Schrödinger Equation. Journal of Computational Physics, 55, 203-230.
http://dx.doi.org/10.1016/0021-9991(84)90003-2
[11] Zhang, L. (2005) A High Accurate and Conservative Finite Difference Scheme for Nonlinear Schrödinger Equation. Acta Mathematicae Applicatae Sinica, 28, 178-186.
[12] Duan, A. and Rong, F. (2013) A Numerical Scheme for Nonlinear Schrödinger Equation by MQ Quasi-Interpolatin. Engineering Analysis with Boundary Elements, 37, 89-94.
http://dx.doi.org/10.1016/j.enganabound.2012.08.006
[13] Dag, I. (1999) A Quadratic B-Spline Finite Element Method for Solving Nonlinear Schrödinger Equation. Computer Methods in Applied Mechanics and Engineering, 174, 247-258.
http://dx.doi.org/10.1016/S0045-7825(98)00257-6
[14] Dehghan, M. and Taleei, A. (2010) A Compact Split-Step Finite Difference Method for Solving the Nonlinear Schrödinger Equations with Constant and Variable Coefficients. Computer Physics Communications, 181, 43-51.
http://dx.doi.org/10.1016/j.cpc.2009.08.015
[15] Dehghan, M. and Taleei, A. (2011) A Chebyshev Pseudospectral Multidomain Method for the Soliton Solution of Coupled Nonlinear Schrödinger Equations. Computer Physics Communications, 182, 2519-2529.
http://dx.doi.org/10.1016/j.cpc.2011.07.009
[16] Mohammadi, R. (2014) An Exponential Spline Solution of Nonlinear Schrödinger Equations with Constant and Variable Coefficients. Computer Physics Communications, 185, 917-932.
http://dx.doi.org/10.1016/j.cpc.2013.12.015
[17] Lin, B. (2013) Parametric Cubic Spline Method for the Solution of the Nonlinear Schrödinger Equation. Computer Physics Communications, 184, 60-65.
http://dx.doi.org/10.1016/j.cpc.2012.08.010
[18] Lin, B. (2015) Septic Spline Function Method for the Solution of the Nonlinear Schrödinger Equation. Applicable Analysis, 94, 279-293.
http://dx.doi.org/10.1080/00036811.2014.890709
[19] Wang, S.S. and Zhang, L. (2011) Split-Step Orthogonal Spline Collocation Methods for Nonlinear Schrödinger Equations in One, Two, and Three Dimensions. Applied Mathematics and Computation, 218, 1903-1916.
http://dx.doi.org/10.1016/j.amc.2011.07.002
[20] Mohebbi, A. and Dehghan, M. (2009) The Use of Compact Boundary Value Method for the Solution of Two-Dimensional Schrödinger Equation. Journal of Computational and Applied Mathematics, 225, 124-134.
http://dx.doi.org/10.1016/j.cam.2008.07.008
[21] Ismail, M.S. and Taha, T.R. (2007) A Linearly Implicit Conservative Scheme for the Coupled Nonlinear Schrodinger Equation. Mathematics and Computers in Simulation, 74, 302-311.
http://dx.doi.org/10.1016/j.matcom.2006.10.020

Copyright © 2024 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.