<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">JAMP</journal-id><journal-title-group><journal-title>Journal of Applied Mathematics and Physics</journal-title></journal-title-group><issn pub-type="epub">2327-4352</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/jamp.2016.48170</article-id><article-id pub-id-type="publisher-id">JAMP-70072</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  Spline Solution for the Nonlinear Schr&#246;dinger Equation
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Bin</surname><given-names>Lin</given-names></name><xref ref-type="aff" rid="aff1"><sub>1</sub></xref></contrib></contrib-group><aff id="aff1"><label>1</label><addr-line>School of Mathematics and Computation Science, Lingnan Normal University, Zhanjiang, China</addr-line></aff><author-notes><corresp id="cor1">* E-mail:</corresp></author-notes><pub-date pub-type="epub"><day>04</day><month>08</month><year>2016</year></pub-date><volume>04</volume><issue>08</issue><fpage>1600</fpage><lpage>1609</lpage><history><date date-type="received"><day>13</day>	<month>July</month>	<year>2016</year></date><date date-type="rev-recd"><day>accepted</day>	<month>22</month>	<year>August</year>	</date><date date-type="accepted"><day>25</day>	<month>August</month>	<year>2016</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  We develop an exponential spline interpolation method to solve the nonlinear Schr&amp;oumldinger 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.
 
</p></abstract><kwd-group><kwd>Nonlinear Schr&#246;dinger Equation</kwd><kwd> Exponential Spline Interpolation</kwd><kwd> Gross-Pitaevskii Equation</kwd><kwd> Mass and Energy Conservation</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>Consider the following nonlinear Schr&#246;dinger equation</p><disp-formula id="scirp.70072-formula1182"><label>(1)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-1720641x6.png"  xlink:type="simple"/></disp-formula><p>With the boundary conditions</p><disp-formula id="scirp.70072-formula1183"><label>(2)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-1720641x7.png"  xlink:type="simple"/></disp-formula><p>And the initial condition</p><disp-formula id="scirp.70072-formula1184"><label>(3)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-1720641x8.png"  xlink:type="simple"/></disp-formula><p>where<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x9.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x10.png" xlink:type="simple"/></inline-formula>is the complex-valued wave function. <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x11.png" xlink:type="simple"/></inline-formula>and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x12.png" xlink:type="simple"/></inline-formula> are constant, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x13.png" xlink:type="simple"/></inline-formula>is a bounded real function. This equation plays important roles in nonlinear physics. It can describe many nonlinear phenomena including plasma physics [<xref ref-type="bibr" rid="scirp.70072-ref1">1</xref>] , hydrodynamics [<xref ref-type="bibr" rid="scirp.70072-ref1">1</xref>] [<xref ref-type="bibr" rid="scirp.70072-ref2">2</xref>] , self-focusing in laser pulses [<xref ref-type="bibr" rid="scirp.70072-ref3">3</xref>] , propagation of heat pulses in crystals, models of protein dynamics [<xref ref-type="bibr" rid="scirp.70072-ref4">4</xref>] , quantum mechanics [<xref ref-type="bibr" rid="scirp.70072-ref5">5</xref>] , models of energy transfer in molecular systems [<xref ref-type="bibr" rid="scirp.70072-ref6">6</xref>] and quantum mechanics and optical communication [<xref ref-type="bibr" rid="scirp.70072-ref7">7</xref>] - [<xref ref-type="bibr" rid="scirp.70072-ref9">9</xref>] and so on.</p><p>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 [<xref ref-type="bibr" rid="scirp.70072-ref10">10</xref>] [<xref ref-type="bibr" rid="scirp.70072-ref11">11</xref>] , quasi-interpolation scheme [<xref ref-type="bibr" rid="scirp.70072-ref12">12</xref>] , quadratic B-spline finite element scheme [<xref ref-type="bibr" rid="scirp.70072-ref13">13</xref>] , compact split-step finite difference method and pseudo-spectral collocation method [<xref ref-type="bibr" rid="scirp.70072-ref14">14</xref>] [<xref ref-type="bibr" rid="scirp.70072-ref15">15</xref>] , exponential spline method [<xref ref-type="bibr" rid="scirp.70072-ref16">16</xref>] , spline methods [<xref ref-type="bibr" rid="scirp.70072-ref17">17</xref>] [<xref ref-type="bibr" rid="scirp.70072-ref18">18</xref>] , split-step orthogonal spline collocation method [<xref ref-type="bibr" rid="scirp.70072-ref19">19</xref>] , a high-order and accurate method [<xref ref-type="bibr" rid="scirp.70072-ref20">20</xref>] , linearly implicit conservative scheme [<xref ref-type="bibr" rid="scirp.70072-ref21">21</xref>] .</p><p>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.</p></sec><sec id="s2"><title>2. Construction of Exponential Spline Interpolation Method</title><p>We set up a grid in the <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x14.png" xlink:type="simple"/></inline-formula> plane with grid points <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x15.png" xlink:type="simple"/></inline-formula> and uniform grid spacing h and k, where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x16.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x17.png" xlink:type="simple"/></inline-formula>.</p><p>In the interval<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x18.png" xlink:type="simple"/></inline-formula>, a exponential spline function <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x19.png" xlink:type="simple"/></inline-formula> is given by</p><disp-formula id="scirp.70072-formula1185"><label>(4)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-1720641x20.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x21.png" xlink:type="simple"/></inline-formula> are coefficients to be determined, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x21.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x22.png" xlink:type="simple"/></inline-formula>and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x21.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x22.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x23.png" xlink:type="simple"/></inline-formula> are the auxiliary functions which contain a stiffness parameter <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x21.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x22.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x23.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x24.png" xlink:type="simple"/></inline-formula> which will be used to raise the accuracy of the method, on the support <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x21.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x22.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x23.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x24.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x25.png" xlink:type="simple"/></inline-formula> and are given by</p><disp-formula id="scirp.70072-formula1186"><label>(5)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-1720641x26.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.70072-formula1187"><label>(6)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-1720641x27.png"  xlink:type="simple"/></disp-formula><p>Since the Taylor series expansions of the hyperbolic functions are</p><disp-formula id="scirp.70072-formula1188"><label>(7)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-1720641x28.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.70072-formula1189"><label>(8)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-1720641x29.png"  xlink:type="simple"/></disp-formula><p>We note that <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x30.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x30.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x31.png" xlink:type="simple"/></inline-formula> tend to <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x30.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x31.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x32.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x30.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x31.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x32.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x33.png" xlink:type="simple"/></inline-formula> in the limit of p tending to zero, and in the opposite limit of p tending to infinity the nonlinear terms in <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x30.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x31.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x32.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x33.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x34.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x30.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x31.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x32.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x33.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x34.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x35.png" xlink:type="simple"/></inline-formula> vanish as<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x30.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x31.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x32.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x33.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x34.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x35.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x36.png" xlink:type="simple"/></inline-formula>.</p><p>So the exponential spline defined above share a number of interesting properties:</p><p>(1) When<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x37.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x37.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x38.png" xlink:type="simple"/></inline-formula>reduces to cubic spline; when<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x37.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x38.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x39.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x37.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x38.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x39.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x40.png" xlink:type="simple"/></inline-formula>reduces to linear spline.</p><p>(2) A change of character of the exponential spline function is from linear to third order polynomial on adjacent support intervals.</p><p>(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.</p><p>We wish to find <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x41.png" xlink:type="simple"/></inline-formula> in Equation (4), <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x41.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x42.png" xlink:type="simple"/></inline-formula>, Letting <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x41.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x42.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x43.png" xlink:type="simple"/></inline-formula> be the unknown second derivative of the exponential spline of interpolation at the grid points, we can obtain the following representation for <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x41.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x42.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x43.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x44.png" xlink:type="simple"/></inline-formula> on <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x41.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x42.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x43.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x44.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x45.png" xlink:type="simple"/></inline-formula> in terms of the known interpolation data <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x41.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x42.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x43.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x44.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x45.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x46.png" xlink:type="simple"/></inline-formula> and the unknown spline second derivatives <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x41.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x42.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x43.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x44.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x45.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x46.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x47.png" xlink:type="simple"/></inline-formula></p><disp-formula id="scirp.70072-formula1190"><label>(9)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-1720641x48.png"  xlink:type="simple"/></disp-formula><p>The terms involving the values <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x49.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x49.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x50.png" xlink:type="simple"/></inline-formula> represent the linear interpolation part of<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x49.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x50.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x51.png" xlink:type="simple"/></inline-formula>. The terms involving the second derivatives <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x49.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x50.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x51.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x52.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x49.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x50.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x51.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x52.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x53.png" xlink:type="simple"/></inline-formula> introduce the curvature.</p><p>The function <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x54.png" xlink:type="simple"/></inline-formula> on the interval <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x54.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x55.png" xlink:type="simple"/></inline-formula> is obtained with <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x54.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x55.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x56.png" xlink:type="simple"/></inline-formula> replacing i in Equation (9).</p><p>The continuity requirement for the first derivative <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x57.png" xlink:type="simple"/></inline-formula> at the point <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x57.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x58.png" xlink:type="simple"/></inline-formula> yields the following equation:</p><disp-formula id="scirp.70072-formula1191"><label>(10)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-1720641x59.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x60.png" xlink:type="simple"/></inline-formula></p><p>Remark 1.</p><p>(1) By expanding Equation (10) in Taylor series, the truncation error for Equation (10) is of the form</p><disp-formula id="scirp.70072-formula1192"><label>(11)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-1720641x61.png"  xlink:type="simple"/></disp-formula><p>where<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x62.png" xlink:type="simple"/></inline-formula>.</p><p>For<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x63.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x63.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x64.png" xlink:type="simple"/></inline-formula>, the truncation</p><p>error in space of the relation (10) is of<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x65.png" xlink:type="simple"/></inline-formula>.</p><p>From Equation (10), we can obtain</p><disp-formula id="scirp.70072-formula1193"><label>(12)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-1720641x66.png"  xlink:type="simple"/></disp-formula><p>Or</p><disp-formula id="scirp.70072-formula1194"><label>(13)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-1720641x67.png"  xlink:type="simple"/></disp-formula><p>Further, when<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x68.png" xlink:type="simple"/></inline-formula>, then<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x68.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x69.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x68.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x69.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x70.png" xlink:type="simple"/></inline-formula>, the truncation error in space of the relation (10) is of<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x68.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x69.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x70.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x71.png" xlink:type="simple"/></inline-formula>, Equation (2.7) can be rewritten as</p><disp-formula id="scirp.70072-formula1195"><label>(14)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-1720641x72.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.70072-formula1196"><label>(15)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-1720641x73.png"  xlink:type="simple"/></disp-formula><p>In order to get the error estimates of Equation (10), we put <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x74.png" xlink:type="simple"/></inline-formula> in Equation (12), where E and D are the shift and differential operators respectively, and expand them in powers of hD, we have</p><disp-formula id="scirp.70072-formula1197"><label>(16)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-1720641x75.png"  xlink:type="simple"/></disp-formula><p>Or</p><disp-formula id="scirp.70072-formula1198"><label>(17)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-1720641x76.png"  xlink:type="simple"/></disp-formula><p>At the grid point<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x77.png" xlink:type="simple"/></inline-formula>, Equation (1) can be discretized by</p><disp-formula id="scirp.70072-formula1199"><label>(18)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-1720641x78.png"  xlink:type="simple"/></disp-formula><p>From Equation (18), we have</p><disp-formula id="scirp.70072-formula1200"><label>(19)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-1720641x79.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.70072-formula1201"><label>(20)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-1720641x80.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.70072-formula1202"><label>(21)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-1720641x81.png"  xlink:type="simple"/></disp-formula><p>Substituting Equation (19), Equation (20) and Equation (21) into Equation (15) and after some simplifications, we obtain</p><disp-formula id="scirp.70072-formula1203"><label>(22)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-1720641x82.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x83.png" xlink:type="simple"/></inline-formula></p><disp-formula id="scirp.70072-formula1204"><graphic  xlink:href="http://html.scirp.org/file/8-1720641x84.png"  xlink:type="simple"/></disp-formula><p>The local truncation error of the relation (22) is of<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x85.png" xlink:type="simple"/></inline-formula>.</p><p>The boundary conditions (2) and the system given in the Equation (22) consists of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x86.png" xlink:type="simple"/></inline-formula> equations in <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x86.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x87.png" xlink:type="simple"/></inline-formula> unknown. We can write this system in a matrix form as follows:</p><disp-formula id="scirp.70072-formula1205"><label>(23)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-1720641x88.png"  xlink:type="simple"/></disp-formula><p>where<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x89.png" xlink:type="simple"/></inline-formula>,</p><p>Once the vectors <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x90.png" xlink:type="simple"/></inline-formula> are computed, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x90.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x91.png" xlink:type="simple"/></inline-formula>, unknown vectors can be found repeatedly by solving the recurrence relation (23).</p></sec><sec id="s3"><title>3. Stability Analysis</title><p>Following the von Neumann technique, we first linearize the nonlinear term in Equation (18) by making the quantity <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x92.png" xlink:type="simple"/></inline-formula> as locally constant <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x92.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x93.png" xlink:type="simple"/></inline-formula> and assume that the numerical solution can be expressed by means of a Fourier series</p><disp-formula id="scirp.70072-formula1206"><label>(24)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-1720641x94.png"  xlink:type="simple"/></disp-formula><p>where<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x95.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x95.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x96.png" xlink:type="simple"/></inline-formula>is the amplitude at time level j, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x95.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x96.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x97.png" xlink:type="simple"/></inline-formula>is the wave number and h is the element size. Substituting Equation (24) into Equation (22), the amplification factor can be written as</p><disp-formula id="scirp.70072-formula1207"><label>(25)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-1720641x98.png"  xlink:type="simple"/></disp-formula><p>Using Eulers formula, we have</p><disp-formula id="scirp.70072-formula1208"><graphic  xlink:href="http://html.scirp.org/file/8-1720641x99.png"  xlink:type="simple"/></disp-formula><p>where<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x100.png" xlink:type="simple"/></inline-formula>,</p><p>Since</p><disp-formula id="scirp.70072-formula1209"><graphic  xlink:href="http://html.scirp.org/file/8-1720641x101.png"  xlink:type="simple"/></disp-formula><p>Thus this method is unconditionally stable.</p></sec><sec id="s4"><title>4. Computation of Conserved Quantities and Error Norms</title><p>The nonlinear Schr&#246;dinger equation possesses two conservation quantities:</p><p>(1) Mass conservation:</p><disp-formula id="scirp.70072-formula1210"><label>(26)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-1720641x102.png"  xlink:type="simple"/></disp-formula><p>Calculated by</p><disp-formula id="scirp.70072-formula1211"><label>(27)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-1720641x103.png"  xlink:type="simple"/></disp-formula><p>(2) Energy conservation: If <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x104.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x104.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x105.png" xlink:type="simple"/></inline-formula> are independent of t, then</p><disp-formula id="scirp.70072-formula1212"><label>(28)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-1720641x106.png"  xlink:type="simple"/></disp-formula><p>Calculated by</p><disp-formula id="scirp.70072-formula1213"><label>(29)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-1720641x107.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x108.png" xlink:type="simple"/></inline-formula> and u are the approximate solution at n-th time step at j-th node and exact solution, respectively.</p><p>The maximum error norm <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x109.png" xlink:type="simple"/></inline-formula> and discrete root mean square error norm <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x109.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x110.png" xlink:type="simple"/></inline-formula> will be calculated</p><disp-formula id="scirp.70072-formula1214"><label>(30)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-1720641x111.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.70072-formula1215"><label>(31)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-1720641x112.png"  xlink:type="simple"/></disp-formula><p>The relative error of numerical solution is defined as</p><disp-formula id="scirp.70072-formula1216"><label>(32)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-1720641x113.png"  xlink:type="simple"/></disp-formula></sec><sec id="s5"><title>5. Numerical Results</title><p>In the section, we present the results of our numerical experiments for the proposed scheme described in the previous section.</p><p>Example 1. Consider the one dimensional Gross-Pitaevskii equation</p><disp-formula id="scirp.70072-formula1217"><label>(33)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-1720641x114.png"  xlink:type="simple"/></disp-formula><p>With the analytical solution</p><disp-formula id="scirp.70072-formula1218"><label>(34)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-1720641x115.png"  xlink:type="simple"/></disp-formula><p>Conserved quantities and error norms at various times are recorded in <xref ref-type="table" rid="table1">Table 1</xref>. The real and imaginary parts of the numerical and exact solutions are tabulated in <xref ref-type="table" rid="table2">Table 2</xref>, the numerical results reveal the accuracy of the proposed method.</p><p>The absolute error at different space step sizes h at time <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x116.png" xlink:type="simple"/></inline-formula> are shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>, it can be seen that the absolute errors becomes smaller as decreasing h.</p><p>Example 2. Consider the equation (1) with <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x117.png" xlink:type="simple"/></inline-formula></p><disp-formula id="scirp.70072-formula1219"><label>(35)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-1720641x118.png"  xlink:type="simple"/></disp-formula><p>The exact solution of this problem is</p><disp-formula id="scirp.70072-formula1220"><label>(36)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/8-1720641x119.png"  xlink:type="simple"/></disp-formula><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> Conserved quantities and error norms at various times for example 1 with<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x120.png" xlink:type="simple"/></inline-formula></title></caption><table><tbody><thead><tr><th align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x121.png" xlink:type="simple"/></inline-formula></th><th align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x122.png" xlink:type="simple"/></inline-formula></th><th align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x123.png" xlink:type="simple"/></inline-formula></th><th align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x124.png" xlink:type="simple"/></inline-formula></th><th align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x125.png" xlink:type="simple"/></inline-formula></th><th align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x126.png" xlink:type="simple"/></inline-formula></th></tr></thead><tr><td align="center" valign="middle" >5.0</td><td align="center" valign="middle" >3.14159265358952</td><td align="center" valign="middle" >5.00720563249462</td><td align="center" valign="middle" >1.4158e−004</td><td align="center" valign="middle" >2.5096e−004</td><td align="center" valign="middle" >1.4158e−004</td></tr><tr><td align="center" valign="middle" >10</td><td align="center" valign="middle" >3.14159265358946</td><td align="center" valign="middle" >5.00720563249418</td><td align="center" valign="middle" >2.8317e−004</td><td align="center" valign="middle" >5.0191e−004</td><td align="center" valign="middle" >2.8317e−004</td></tr><tr><td align="center" valign="middle" >20</td><td align="center" valign="middle" >3.14159265358965</td><td align="center" valign="middle" >5.00720563249524</td><td align="center" valign="middle" >5.6635e−004</td><td align="center" valign="middle" >1.0038e−003</td><td align="center" valign="middle" >5.6635e−004</td></tr><tr><td align="center" valign="middle" >30</td><td align="center" valign="middle" >3.14159265358984</td><td align="center" valign="middle" >5.00720563234957</td><td align="center" valign="middle" >8.4953e−004</td><td align="center" valign="middle" >1.5057e−003</td><td align="center" valign="middle" >8.4953e−004</td></tr></tbody></table></table-wrap><disp-formula id="scirp.70072-formula1221"><graphic  xlink:href="http://html.scirp.org/file/8-1720641x127.png"  xlink:type="simple"/></disp-formula><table-wrap id="table2" ><label><xref ref-type="table" rid="table2">Table 2</xref></label><caption><title>The real and imaginary parts of the numerical and exact solutions for Example 1 with<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x128.png" xlink:type="simple"/></inline-formula>.<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x128.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x129.png" xlink:type="simple"/></inline-formula></title></caption><table><tbody><thead><tr><th align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x130.png" xlink:type="simple"/></inline-formula></th><th align="center" valign="middle"  colspan="3"  >Real parts</th><th align="center" valign="middle"  colspan="3"  >Imaginary parts</th></tr></thead><tr><td align="center" valign="middle" ></td><td align="center" valign="middle" >Exact solution</td><td align="center" valign="middle" >Approximation</td><td align="center" valign="middle" >Absolute error</td><td align="center" valign="middle" >Exact solution</td><td align="center" valign="middle" >Approximation</td><td align="center" valign="middle" >Absolute error</td></tr><tr><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x131.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >0.05001875498139</td><td align="center" valign="middle" >0.05001908991577</td><td align="center" valign="middle" >3.35e-007</td><td align="center" valign="middle" >−0.70533546922731</td><td align="center" valign="middle" >−0.70533544547538</td><td align="center" valign="middle" >2.37e−008</td></tr><tr><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x132.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >0.07073720166770</td><td align="center" valign="middle" >0.07073767533643</td><td align="center" valign="middle" >4.73e-007</td><td align="center" valign="middle" >−0.99749498660405</td><td align="center" valign="middle" >−0.99749495301379</td><td align="center" valign="middle" >3.35e−008</td></tr><tr><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x133.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >0.05001875498139</td><td align="center" valign="middle" >0.05001908991578</td><td align="center" valign="middle" >3.35e-007</td><td align="center" valign="middle" >−0.70533546922731</td><td align="center" valign="middle" >−0.70533544547537</td><td align="center" valign="middle" >2.37e−008</td></tr><tr><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x134.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >−0.05001875498139</td><td align="center" valign="middle" >−0.05001908991578</td><td align="center" valign="middle" >3.35e-007</td><td align="center" valign="middle" >0.70533546922731</td><td align="center" valign="middle" >0.70533544547538</td><td align="center" valign="middle" >2.37e−008</td></tr><tr><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x135.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >−0.07073720166770</td><td align="center" valign="middle" >−0.07073767533646</td><td align="center" valign="middle" >4.73e-007</td><td align="center" valign="middle" >0.99749498660405</td><td align="center" valign="middle" >0.99749495301376</td><td align="center" valign="middle" >3.36e−008</td></tr><tr><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x136.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >−0.05001875498139</td><td align="center" valign="middle" >−0.05001908991577</td><td align="center" valign="middle" >3.35e-007</td><td align="center" valign="middle" >0.70533546922731</td><td align="center" valign="middle" >0.70533544547537</td><td align="center" valign="middle" >2.37e−008</td></tr></tbody></table></table-wrap><fig-group id="fig1"><label><xref ref-type="fig" rid="fig1">Figure 1</xref></label><caption><title> The absolute error at different h for example 1 with<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x138.png" xlink:type="simple"/></inline-formula>.</title></caption><fig id ="fig1_1"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/8-1720641x137.png"/></fig></fig-group><table-wrap id="table3" ><label><xref ref-type="table" rid="table3">Table 3</xref></label><caption><title> Conserved quantities and error norms at various times for example 2 with<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x139.png" xlink:type="simple"/></inline-formula></title></caption><table><tbody><thead><tr><th align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x130.png" xlink:type="simple"/></inline-formula></th><th align="center" valign="middle"  colspan="3"  >Real parts</th><th align="center" valign="middle"  colspan="3"  >Imaginary parts</th></tr></thead><tr><td align="center" valign="middle" ></td><td align="center" valign="middle" >Exact solution</td><td align="center" valign="middle" >Approximation</td><td align="center" valign="middle" >Absolute error</td><td align="center" valign="middle" >Exact solution</td><td align="center" valign="middle" >Approximation</td><td align="center" valign="middle" >Absolute error</td></tr><tr><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x131.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >0.05001875498139</td><td align="center" valign="middle" >0.05001908991577</td><td align="center" valign="middle" >3.35e-007</td><td align="center" valign="middle" >−0.70533546922731</td><td align="center" valign="middle" >−0.70533544547538</td><td align="center" valign="middle" >2.37e−008</td></tr><tr><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x132.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >0.07073720166770</td><td align="center" valign="middle" >0.07073767533643</td><td align="center" valign="middle" >4.73e-007</td><td align="center" valign="middle" >−0.99749498660405</td><td align="center" valign="middle" >−0.99749495301379</td><td align="center" valign="middle" >3.35e−008</td></tr><tr><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x133.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >0.05001875498139</td><td align="center" valign="middle" >0.05001908991578</td><td align="center" valign="middle" >3.35e-007</td><td align="center" valign="middle" >−0.70533546922731</td><td align="center" valign="middle" >−0.70533544547537</td><td align="center" valign="middle" >2.37e−008</td></tr><tr><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x134.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >−0.05001875498139</td><td align="center" valign="middle" >−0.05001908991578</td><td align="center" valign="middle" >3.35e-007</td><td align="center" valign="middle" >0.70533546922731</td><td align="center" valign="middle" >0.70533544547538</td><td align="center" valign="middle" >2.37e−008</td></tr><tr><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x135.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >−0.07073720166770</td><td align="center" valign="middle" >−0.07073767533646</td><td align="center" valign="middle" >4.73e-007</td><td align="center" valign="middle" >0.99749498660405</td><td align="center" valign="middle" >0.99749495301376</td><td align="center" valign="middle" >3.36e−008</td></tr><tr><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x136.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >−0.05001875498139</td><td align="center" valign="middle" >−0.05001908991577</td><td align="center" valign="middle" >3.35e-007</td><td align="center" valign="middle" >0.70533546922731</td><td align="center" valign="middle" >0.70533544547537</td><td align="center" valign="middle" >2.37e−008</td></tr></tbody></table></table-wrap><disp-formula id="scirp.70072-formula1222"><graphic  xlink:href="http://html.scirp.org/file/8-1720641x146.png"  xlink:type="simple"/></disp-formula><fig-group id="fig2"><label><xref ref-type="fig" rid="fig2">Figure 2</xref></label><caption><title> The numerical solution at various times t = 1, 2, 3, 4 with<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x148.png" xlink:type="simple"/></inline-formula>.</title></caption><fig id ="fig2_1"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/8-1720641x147.png"/></fig></fig-group><fig id="fig3"  position="float"><label><xref ref-type="fig" rid="fig3">Figure 3</xref></label><caption><title> The numerical solutions and analytical solutions for k = 0.01, h = 0.1 at time t = 3</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/8-1720641x149.png"/></fig><fig id="fig4"  position="float"><label><xref ref-type="fig" rid="fig4">Figure 4</xref></label><caption><title>The numerical solutions and analytical solutions for k = 0.01, h = 0.1 at time t = 4</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/8-1720641x150.png"/></fig><p>Conserved quantities and error norms at various times are presented in <xref ref-type="table" rid="table3">Table 3</xref>. The numerical results reveal that the values of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x151.png" xlink:type="simple"/></inline-formula> is almost constant while the values of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x151.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x152.png" xlink:type="simple"/></inline-formula> differ slightly and the errors are very small.</p><p>The numerical solutions at various times are given in <xref ref-type="fig" rid="fig2">Figure 2</xref>. The numerical solutions and analytical solutions at time <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x153.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x153.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x154.png" xlink:type="simple"/></inline-formula> are shown in <xref ref-type="fig" rid="fig3">Figure 3</xref> and <xref ref-type="fig" rid="fig4">Figure 4</xref>, respectively. The absolute error at time <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x153.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x154.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x155.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x153.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x154.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x155.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1720641x156.png" xlink:type="simple"/></inline-formula> are plotted in <xref ref-type="fig" rid="fig5">Figure 5</xref> and <xref ref-type="fig" rid="fig6">Figure 6</xref>, 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.</p></sec><sec id="s6"><title>6. Conclusion</title><p>A numerical method based on exponential spline interpolation function is applied to study a class of nonlinear Schr&#246;dinger equation. We use exponential spline collocation method, which results in tri-diagonal systems of</p><fig id="fig5"  position="float"><label><xref ref-type="fig" rid="fig5">Figure 5</xref></label><caption><title> The absolute error for k = 0.01, h = 0.1 at time t = 3</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/8-1720641x157.png"/></fig><fig id="fig6"  position="float"><label><xref ref-type="fig" rid="fig6">Figure 6</xref></label><caption><title> The absolute error for k = 0.01, h = 0.1 at time t = 4</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/8-1720641x158.png"/></fig><p>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.</p></sec><sec id="s7"><title>Acknowledgements</title><p>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).</p></sec><sec id="s8"><title>Cite this paper</title><p>Bin Lin, (2016) Spline Solution for the Nonlinear Schr&#246;dinger Equation. Journal of Applied Mathematics and Physics,04,1600-1609. doi: 10.4236/jamp.2016.48170</p></sec></body><back><ref-list><title>References</title><ref id="scirp.70072-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Infeld, E. (1984) Nonlinear Waves: From Hydrodynamics to Plasma Theory, Advances in Nonlinear Waves. Pitman, Boston.</mixed-citation></ref><ref id="scirp.70072-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Nore, C., Abid, A. and Brachet, M. (1996) Small-Scale Structures in Three-Dimensional Hydrodynamics and Magnetohyrodynamic Turbulence. Springer, Berlin.</mixed-citation></ref><ref id="scirp.70072-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Agrawal, G.P. (2001) Nonlinear Fibei Optics. 3rd Edition, Academic Press, San Diego.</mixed-citation></ref><ref id="scirp.70072-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Fordy, A.P. (1990) Soliton Theory: A Survey of Results. Manchester University Press, Manchester.</mixed-citation></ref><ref id="scirp.70072-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Bruneau, C.H., Di Menza, L. and Lerhner, T. (1999) Numerical Resolution of Some Nonlinear Schr&amp;oumldinger-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&lt;672::AID-NUM5&gt;3.0.CO;2-J</mixed-citation></ref><ref id="scirp.70072-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">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</mixed-citation></ref><ref id="scirp.70072-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">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</mixed-citation></ref><ref id="scirp.70072-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Zhang, J.F., Dai, C.Q., Yang, Q. and Zhu, J.M. (2005) Variable-Coefficient F-Expansion Method and Its Application to Nonlinear Schr&amp;oumldinger Equation. Optics Communications, 252, 408-421. http://dx.doi.org/10.1016/j.optcom.2005.04.043</mixed-citation></ref><ref id="scirp.70072-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">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</mixed-citation></ref><ref id="scirp.70072-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Taha, T.R. and Ablowitz, M.J. (1984) Analytical and Numerical Aspects of Certain Nonlinear Evolution Equations. II. Numerical, Nonlinear Schr&amp;oumldinger Equation. Journal of Computational Physics, 55, 203-230. http://dx.doi.org/10.1016/0021-9991(84)90003-2</mixed-citation></ref><ref id="scirp.70072-ref11"><label>11</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Zhang</surname><given-names> L. </given-names></name>,<etal>et al</etal>. (<year>2005</year>)<article-title>A High Accurate and Conservative Finite Difference Scheme for Nonlinear Schr&amp;oumldinger Equation</article-title><source> Acta Mathematicae Applicatae Sinica</source><volume> 28</volume>,<fpage> 178</fpage>-<lpage>186</lpage>.<pub-id pub-id-type="doi"></pub-id></mixed-citation></ref><ref id="scirp.70072-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Duan, A. and Rong, F. (2013) A Numerical Scheme for Nonlinear Schr&amp;oumldinger Equation by MQ Quasi-Interpolatin. Engineering Analysis with Boundary Elements, 37, 89-94. http://dx.doi.org/10.1016/j.enganabound.2012.08.006</mixed-citation></ref><ref id="scirp.70072-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Dag, I. (1999) A Quadratic B-Spline Finite Element Method for Solving Nonlinear Schr&amp;oumldinger Equation. Computer Methods in Applied Mechanics and Engineering, 174, 247-258. http://dx.doi.org/10.1016/S0045-7825(98)00257-6</mixed-citation></ref><ref id="scirp.70072-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">Dehghan, M. and Taleei, A. (2010) A Compact Split-Step Finite Difference Method for Solving the Nonlinear Schr&amp;oumldinger Equations with Constant and Variable Coefficients. Computer Physics Communications, 181, 43-51. http://dx.doi.org/10.1016/j.cpc.2009.08.015</mixed-citation></ref><ref id="scirp.70072-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">Dehghan, M. and Taleei, A. (2011) A Chebyshev Pseudospectral Multidomain Method for the Soliton Solution of Coupled Nonlinear Schr&amp;oumldinger Equations. Computer Physics Communications, 182, 2519-2529. http://dx.doi.org/10.1016/j.cpc.2011.07.009</mixed-citation></ref><ref id="scirp.70072-ref16"><label>16</label><mixed-citation publication-type="other" xlink:type="simple">Mohammadi, R. (2014) An Exponential Spline Solution of Nonlinear Schr&amp;oumldinger Equations with Constant and Variable Coefficients. Computer Physics Communications, 185, 917-932. http://dx.doi.org/10.1016/j.cpc.2013.12.015</mixed-citation></ref><ref id="scirp.70072-ref17"><label>17</label><mixed-citation publication-type="other" xlink:type="simple">Lin, B. (2013) Parametric Cubic Spline Method for the Solution of the Nonlinear Schr&amp;oumldinger Equation. Computer Physics Communications, 184, 60-65. http://dx.doi.org/10.1016/j.cpc.2012.08.010</mixed-citation></ref><ref id="scirp.70072-ref18"><label>18</label><mixed-citation publication-type="other" xlink:type="simple">Lin, B. (2015) Septic Spline Function Method for the Solution of the Nonlinear Schr&amp;oumldinger Equation. Applicable Analysis, 94, 279-293. http://dx.doi.org/10.1080/00036811.2014.890709</mixed-citation></ref><ref id="scirp.70072-ref19"><label>19</label><mixed-citation publication-type="other" xlink:type="simple">Wang, S.S. and Zhang, L. (2011) Split-Step Orthogonal Spline Collocation Methods for Nonlinear Schr&amp;oumldinger 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</mixed-citation></ref><ref id="scirp.70072-ref20"><label>20</label><mixed-citation publication-type="other" xlink:type="simple">Mohebbi, A. and Dehghan, M. (2009) The Use of Compact Boundary Value Method for the Solution of Two-Dimensional Schr&amp;oumldinger Equation. Journal of Computational and Applied Mathematics, 225, 124-134. http://dx.doi.org/10.1016/j.cam.2008.07.008</mixed-citation></ref><ref id="scirp.70072-ref21"><label>21</label><mixed-citation publication-type="other" xlink:type="simple">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</mixed-citation></ref></ref-list></back></article>