A uniformly convergent numerical method for singularly perturbed nonlinear eigenvalue problems

Similar documents
A Uniformly Convergent Numerical Method for Singularly Perturbed Nonlinear Eigenvalue Problems

A UNIFORMLY CONVERGENT NUMERICAL SCHEME FOR SINGULARLY PERTURBED NON-LINEAR EIGENVALUE PROBLEM UNDER CONSTRAINTS CHAI MING HUANG

A simple Dufort-Frankel type scheme for the Gross-Pitaevskii equation of Bose-Einstein condensates on different geometries

Quantized Vortex Stability and Dynamics in Superfluidity and Superconductivity

Rapidly Rotating Bose-Einstein Condensates in Strongly Anharmonic Traps. Michele Correggi. T. Rindler-Daller, J. Yngvason math-ph/

Quantized vortex stability and interaction in the nonlinear wave equation

Modeling, Analysis and Simulation for Degenerate Dipolar Quantum Gas

arxiv:cond-mat/ v1 13 Mar 2003

Numerical simulation of Bose-Einstein Condensates based on Gross-Pitaevskii Equations

The Gross-Pitaevskii Equation and the Hydrodynamic Expansion of BECs

Rapporto di ricerca Research report

Efficient and spectrally accurate numerical methods for computing ground and first excited states in Bose Einstein condensates

Vortices in Bose-Einstein condensates. Ionut Danaila

The Gross-Pitaevskii Equation and the Hydrodynamic Expansion of BECs

Iterative Domain Decomposition Methods for Singularly Perturbed Nonlinear Convection-Diffusion Equations

Numerical methods for computing vortex states in rotating Bose-Einstein condensates. Ionut Danaila

Third Critical Speed for Rotating Bose-Einstein Condensates. Mathematical Foundations of Physics Daniele Dimonte, SISSA

Applied Numerical Mathematics

Numerical Methods for the Dynamics of the Nonlinear Schrodinger / Gross-Pitaevskii Equations. Weizhu Bao.

Stationary States of Bose Einstein Condensates in Single- and Multi-Well Trapping Potentials

MATHEMATICAL THEORY AND NUMERICAL METHODS FOR GROSS-PITAEVSKII EQUATIONS AND APPLICATIONS CAI YONGYONG

Numerical simulation of the dynamics of the rotating dipolar Bose-Einstein condensates

Contents. Xavier ANTOINE Romain DUBOSCQ. 1 Introduction 2

Vortices in Atomic Bose-Einstein Condensates in the large gas parameter region. Abstract

Relaxation algorithm to hyperbolic states in Gross Pitaevskii equation

Qinglin TANG. INRIA & IECL, University of Lorraine, France

High-order time-splitting methods for Schrödinger equations

Lecture 2: Weak Interactions and BEC

Numerical Solution of the Gross-Pitaevskii Equation for Bose-Einstein Condensation

arxiv:cond-mat/ v1 13 Mar 1998

A PARAMETER ROBUST NUMERICAL METHOD FOR A TWO DIMENSIONAL REACTION-DIFFUSION PROBLEM

Remarks on the analysis of finite element methods on a Shishkin mesh: are Scott-Zhang interpolants applicable?

Ground State Patterns of Spin-1 Bose-Einstein condensation via Γ-convergence Theory

The Gross-Pitaevskii Equation A Non-Linear Schrödinger Equation

Monte Carlo Simulation of Bose Einstein Condensation in Traps

Excitations and dynamics of a two-component Bose-Einstein condensate in 1D

Vortices in Rotating Bose-Einstein Condensates A Review of (Recent) Mathematical Results. Michele Correggi

Numerical methods for computing the ground state of spin-1 Bose-Einstein condensates in uniform magnetic field

Periodic oscillations in the Gross-Pitaevskii equation with a parabolic potential

Abstract. 1. Introduction

Dynamics of rotating two-component Bose Einstein condensates and its efficient computation

Interior Layers in Singularly Perturbed Problems

Computer Physics Communications. Computational methods for the dynamics of the nonlinear Schrödinger/Gross-Pitaevskii equations

Interferencing intensity in two Bose Einstein condensates with Josephson-like coupling

Max Lewandowski. Axel Pelster. March 12, 2012

Workshop on Coherent Phenomena in Disordered Optical Systems May 2014

Interaction between atoms

SPLINE COLLOCATION METHOD FOR SINGULAR PERTURBATION PROBLEM. Mirjana Stojanović University of Novi Sad, Yugoslavia

arxiv:cond-mat/ v1 [cond-mat.stat-mech] 24 Jul 2001

Qualifying Exam. Aug Part II. Please use blank paper for your work do not write on problems sheets!

From laser cooling to BEC First experiments of superfluid hydrodynamics

A Numerical Solution of the Lax s 7 th -order KdV Equation by Pseudospectral Method and Darvishi s Preconditioning

A Singularly Perturbed Convection Diffusion Turning Point Problem with an Interior Layer

Stochastic nonlinear Schrödinger equations and modulation of solitary waves

Solitons and vortices in Bose-Einstein condensates with finite-range interaction

On solving linear systems arising from Shishkin mesh discretizations

Numerical simulation of the Gross-Pitaevskii equation by pseudo-spectral and finite element methods comparison of GPS code and FreeFem++

Bifurcations of Multi-Vortex Configurations in Rotating Bose Einstein Condensates

A Hartree - Fock study of a Bose condensed gas

Bose-Einstein condensates under rotation: The structures within

ON SPECTRAL METHODS FOR VOLTERRA INTEGRAL EQUATIONS AND THE CONVERGENCE ANALYSIS * 1. Introduction

A Regularized Newton Method for Computing Ground States of Bose Einstein Condensates

Bose-Einstein condensates in optical lattices: mathematical analysis and analytical approximate formulas

Quintic B-spline method for numerical solution of fourth order singular perturbation boundary value problems

Parameter robust methods for second-order complex-valued reaction-diffusion equations

ACCURATE NUMERICAL METHOD FOR BLASIUS PROBLEM FOR FLOW PAST A FLAT PLATE WITH MASS TRANSFER

version: January 21, Physical motivation

SUPERCONVERGENCE OF DG METHOD FOR ONE-DIMENSIONAL SINGULARLY PERTURBED PROBLEMS *1)

Local Density Approximation for the Almost-bosonic Anyon Gas. Michele Correggi

Superconvergence analysis of the SDFEM for elliptic problems with characteristic layers

Author(s) Huang, Feimin; Matsumura, Akitaka; Citation Osaka Journal of Mathematics. 41(1)

NUMERICAL METHODS FOR ENGINEERING APPLICATION

CURRICULUM VITAE. Assistant Professor, Department of Computational Science, National University of Singapore, Singapore, January 2001

ON THE GROSS-PITAEVSKII EQUATION WITH STRONGLY ANISOTROPIC CONFINEMENT: FORMAL ASYMPTOTICS AND NUMERICAL EXPERIMENTS

A Time-Splitting Spectral Method for the Generalized Zakharov System in Multi-dimensions

FDM for wave equations

Shock waves in the unitary Fermi gas

Analysis of a Streamline-Diffusion Finite Element Method on Bakhvalov-Shishkin Mesh for Singularly Perturbed Problem

Condensation of Excitons in a Trap

BCS Pairing Dynamics. ShengQuan Zhou. Dec.10, 2006, Physics Department, University of Illinois

Week 2 Notes, Math 865, Tanveer

Effective dynamics of many-body quantum systems

5. Gross-Pitaevskii theory

Minimum Bias Events at ATLAS

Numerical integration of singularly perturbed delay differential equations using exponential integrating factor

From BEC to BCS. Molecular BECs and Fermionic Condensates of Cooper Pairs. Preseminar Extreme Matter Institute EMMI. and

Superfluidity in bosonic systems

Parameter-Uniform Numerical Methods for a Class of Singularly Perturbed Problems with a Neumann Boundary Condition

Xavier Antoine, Romain Duboscq. To cite this version: HAL Id: hal

Physics 598 ESM Term Paper Giant vortices in rapidly rotating Bose-Einstein condensates

BEC in one dimension

The Nonlinear Schrödinger Equation and Applications in Bose-Einstein Condensation and Plasma Physics

Computation Fluid Dynamics

We can then linearize the Heisenberg equation for in the small quantity obtaining a set of linear coupled equations for and :

Lecture I: numerical computation of the dynamics of Schrödinger equations. Extension to the GPE for BECs

Eddy viscosity of cellular flows by upscaling

Chapter Two: Numerical Methods for Elliptic PDEs. 1 Finite Difference Methods for Elliptic PDEs

Greek state scholarship for phd studies ( ), first prize in written examinations.

Multiscale method and pseudospectral simulations for linear viscoelastic incompressible flows

A coupled system of singularly perturbed semilinear reaction-diffusion equations

Transcription:

A uniformly convergent numerical method for singularly perturbed nonlinear eigenvalue problems Weizhu Bao and Ming-Huang Chai Abstract In this paper we propose a uniformly convergent numerical method for discretizing singularly perturbed nonlinear eigenvalue problems under constraints with applications in Bose-Einstein condensation and quantum chemistry. We begin with the time-independent Gross-Pitaevskii equation and show how to reformulate it into a singularly perturbed nonlinear eigenvalue problem under a constraint. Matched asymptotic approximations for the problem are presented to locate the positions and characterize the widths of boundary layers and/or interior layers in the solution. A uniformly convergent numerical method is proposed by using the normalized gradient flow and piecewise uniform mesh techniques based on the asymptotic approximations for the problem. Extensive numerical results are reported to demonstrate the effectiveness of our numerical method for the problems. Finally, the method is applied to compute ground and excited states of Bose-Einstein condensation in the semiclassical regime and some conclusive findings are reported. Key Words: Nonlinear eigenvalue problem, Bose-Einstein condensation, ground state, excited state, energy, chemical potential, piecewise uniform mesh AMS classification: 35P3, 35Q55, 65N5, 65N6, 8Q5, 8V45 Introduction We consider the following nonlinear eigenvalue problem [,, 5] µ φ(x) = φ(x) + V (x)φ(x) + β φ(x) φ(x), x Ω R d, (.) φ(x) =, x Ω, (.) Department of Mathematics and Center for Computational Science and Engineering, National University of Singapore, Singapore 7543; Email: bao@math.nus.edu.sg; Fax: 65-67746756; URL: http://www.math.nus.edu.sg/ bao/ Department of Mathematics, National University of Singapore, Singapore 7543; Email: nhscmh@nus.edu.sg. Current address: NUS High School, National University of Singapore, Singapore 7543.

where x = (x,..., x d ) T is the spatial coordinate, Ω is a subdomain of R d (d =,, 3), V (x) is a real-valued potential whose shape is determined by the type of system under investigation, and β is a constant. Equation (.) is also known as the time-independent Gross-Pitaevskii equation (GPE) in Bose-Einstein condensation (BEC) [4, 3, 7], where φ is the macroscopic wave function of the condensate and β positive/negative corresponds to repulsive/attractive interaction between atoms. The wave function φ is required to satisfy the normalization condition φ := φ(x) dx =. (.3) Ω For the nonlinear eigenvalue problem (.)-(.) under the constraint (.3), any eigenvalue µ which is also called as chemical potential in quantum physics can be computed from its corresponding eigenfunction φ by µ := µ β (φ) = = E β (φ) + β Ω [ φ(x) + V (x) φ(x) + β φ(x) 4 ] Ω dx φ(x) 4 dx, (.4) where E β (φ) is the energy per particle in BEC and is defined as E β (φ) = Ω [ φ(x) + V (x) φ(x) + β ] φ(x) 4 dx. (.5) In fact, the nonlinear eigenvalue problem (.)-(.) can be viewed as the Euler- Lagrange equation of the energy functional E β (φ) in (.5) under the constraint (.3). In physics literatures [4, 3, 7], the ground state is defined as the minimizer of the energy functional in (.5) over the unit sphere S = {φ φ =, E β (φ) < }. Any other eigenfunction of the nonlinear eigenvalue problem (.)-(.) under the constraint (.3), whose energy is greater than that of the ground state, are usually known as excited states. Different numerical methods were proposed in the literatures for computing the eigenfunctions, i.e. ground and excited states, of the nonlinear eigenvalue problem (.)-(.) under the constraint (.3). For example, Edwards and Burnett [] presented a Runge-Kutta type method and used it to solve one dimensional (D) and 3D ground states with spherical symmetry. Adhikari [] used this approach to get the ground state solution of GPE in D with radial symmetry. Ruprecht et al. [6] used the Crank-Nicolson finite difference method for solving BEC ground state. Bao and Tang [] proposed a method by directly minimizing the energy functional via finite element approximation to obtain the ground and excited states. Bao and Du [5] presented a continuous normalized gradient flow with diminishing energy and discretized it with a backward Euler finite difference (BEFD) and time-splitting sinepseudospectral method (TSSP) for computing the ground and first excited states in BEC. This idea was extended to multi-component BEC [4, 6], rotating BEC [] and spin- BEC [8, ]. Chang et al. [6, 7] proposed Gauss-Seidel-type methods

for computing positive bound states of a multi-component BEC. Chang et al. [5] presented the Liapunov-Schmidt reduction and continuation method for computing ground states of single- and multi-component BEC. Zhou [33, 34] and Shen and Zhou [8] provided error estimates for the finite element approximations for some nonlinear eigenvalue problems. Other approaches include an explicit imaginary-time algorithm used by Cerimele et al. [3] and Chiofalo et al. [8], a direct inversion in the iterated subspace (DIIS) used by Schneider et al. [7], and a simple analytical type method proposed by Dodd []. As observed in [9], when β, boundary and/or interior layers appear in the ground and excited states when V (x) is chosen as a box potential and interior layers appear in the excited states when V (x) is chosen as the harmonic potential. In these cases, all the above numerical methods which in general use uniform meshes do not converge uniformly with respect to β. The aim of this paper is to propose a uniformly convergent numerical method for the nonlinear eigenvalue problem (.)-(.) under the constraint (.3) based on the normalized gradient flow proposed for computing ground state of BEC [5, 4, ] and piecewise uniform mesh techniques used for singularly perturbed two-point boundary value problems [9, 3, 3, 3,, 3, 5]. The paper is organized as follows. In section, we reformulate the time-independent GPE (.) into a singularly perturbed nonlinear eigenvalue problem when β. In section 3, we present matched asymptotic approximations of the eigenfunctions and chemical potential as well as energy. In section 4, we propose a uniformly convergent numerical method by using the normalized gradient flow and piecewise uniform mesh techniques for discretizing the singularly perturbed nonlinear eigenvalue problem under a constraint. In section 5, extensive numerical results are reported to demonstrate the efficiency of our numerical method and to compare with other existing numerical methods. Finally, some conclusions are drawn in section 6. A singularly perturbed nonlinear eigenvalue problem In this section, we reformulate the time-independent GPE (.) with either box potential or harmonic potential into a singularly perturbed nonlinear eigenvalue problem under a constraint when β, i.e. it is in strongly repulsive interaction regime.. For bounded Ω with the box potential When Ω is bounded and V (x) is chosen as the box potential, i.e. V (x) when x Ω and V (x) = otherwise, let ε := β, µ ε := ε µ = µ β, φε (x) = φ(x). (.) 3

Divided by β at both sides of (.), the time-independent GPE (.)-(.) under the constraint (.3) is reformulated to the following singularly perturbed nonlinear eigenvalue problem under the constraint µ ε φ ε (x) = ε φ ε (x) + φ ε (x) φ ε (x), x Ω, (.) φ ε (x) =, x Ω; (.3) φ ε := Ω φ ε (x) dx =. (.4) The eigenvalue (or chemical potential) µ ε can be computed from its corresponding eigenfunction φ ε by [ ] ε µ ε := µ ε (φ ε ) = Ω φε (x) + φ ε (x) 4 dx = E ε (φ ε ) + φ ε (x) 4 dx, (.5) Ω where the re-scaled energy E ε (φ ε ) is defined as E ε (φ ε ) = Ω [ ε φε (x) + φε (x) 4 ] dx. (.6) By assuming that φ ε is ε-oscillatory (i.e., φ ε (x) = ρ ε (x) e isε (x)/ε with ρ ε (x) = φ ε (x) and S ε (x) = ε arg(φ ε (x)), the position density and phase of the wave function φ ε, respectively) and sufficiently integrable such that all terms have O()- integral in (.5) and (.6) and noting (.4), we have [9, 7] µ ε = µ ε (φ ε ) = O(), E ε (φ ε ) = O(), < ε. (.7) Then the leading asymptotic approximations of the eigenvalue in (.4) and energy in (.5) in this case can be given by [ ] µ = µ β (φ) = β Ω β φ(x) + φ(x) 4 dx = β µ ε (φ ε ) = O(β), (.8) [ E β (φ) = β Ω β φ(x) + ] φ(x) 4 dx = β E ε (φ ε ) = O(β), β. (.9). For the whole space Ω = R d with the harmonic potential When Ω = R d is the whole space and V (x) is chosen as the harmonic potential, i.e. V (x) = (γ x + + γ dx d) with γ,..., γ d positive constants, under the normalization (.3), we choose the semiclassical re-scaling as x = ε / x, φ ε ( x) = ε d/4 φ(x), µ ε = ε µ, with ε = β d/(d+). (.) 4

Substituting the above re-scaling parameters into (.), rearranging the parameters and dropping the, we again obtain a singularly perturbed nonlinear eigenvalue problem µ ε φ ε (x) = ε φ ε (x) + V (x)φ ε (x) + φ ε (x) φ ε (x), x R d, (.) under the constraint φ ε := φ ε (x) dx =. (.) R d Again, the eigenvalue (or chemical potential) µ ε can be computed from its corresponding eigenfunction φ ε by µ ε := µ ε (φ ε ) = = E ε (φ ε ) + R d [ ε where the re-scaled energy E ε (φ ε ) is defined as E ε (φ ε ) = R d [ ε φε (x) + V (x) φ ε (x) + φ ε (x) 4 R d φ ε (x) 4 dx, (.3) φε (x) + V (x) φ ε (x) + φε (x) 4 ] ] dx dx. (.4) Again, by assuming that φ ε is ε-oscillatory and sufficiently integrable such that all terms have O()-integral in (.3) and (.4) and noting (.), we have µ ε = µ ε (φ ε ) = O(), E ε (φ ε ) = O(), < ε. (.5) Then the leading asymptotic approximations of the eigenvalue in (.4) and energy in (.5) in this case can be given by µ = µ β (φ) = ε µ ε (φ ε ) = O(ε ) = O(β d/(d+) ), (.6) E β (φ) = ε E ε (φ ε ) = O(ε ) = O(β d/(d+) ), β. (.7).3 General formulation Thus in this paper, we will consider the following singularly perturbed nonlinear eigenvalue problem µ ε φ ε (x) = ε φ ε (x) + V (x)φ ε (x) + φ ε (x) φ ε (x), x Ω R d, (.8) φ ε (x) =, x Ω, (.9) under the normalization or constraint φ ε := Ω φ ε (x) dx = ; (.) 5

where < ε is constant, V (x) is a given real-valued potential. The eigenvalue (or chemical potential) µ ε can be computed from its corresponding eigenfunction φ ε by µ ε := µ ε (φ ε ) = = E ε (φ ε ) + Ω [ ε and the energy functional is defined as E ε (φ ε ) = Ω [ ε Ω φε (x) + V (x) φ ε (x) + φ ε (x) 4 ] dx φ ε (x) 4 dx, (.) φε (x) + V (x) φ ε (x) + φε (x) 4 ] dx. (.) Again, the ground state wave function φ ε g := φ ε g(x) of a BEC is found by minimizing the energy functional E ε (φ ε ) over the unit sphere S = {φ ε (x) φ ε =, E ε (φ ε ) < }, i.e. find (µ ε g, φ ε g) such that E ε g := E ε (φ ε g) = min φ ε S E ε(φ ε ), µ ε g = µ ε β(φ ε g). It can be easily shown that the ground state φ ε g(x) is an eigenfunction of the nonlinear eigenvalue problem (.8) under the constraint (.). Any other eigenfunction φ ε (x) of (.8) under the constraint (.) whose energy E ε (φ ε ) > E ε (φ ε g) is usually known as an excited state in physics literatures. In addition, suppose all different eigenfunctions of the singularly perturbed nonlinear eigenvalue problem (.8)-(.9) under the constraint (.) are which are ranked according to their energies, i.e. φ ε g(x), φ ε (x), φ ε (x),..., (.3) E ε (φ ε g) < E ε (φ ε ) < E ε (φ ε ) <, (.4) then φ ε j(x) (j =,,...) is usually known as the j-th excited state in quantum physics. 3 Matched asymptotic approximations In this section we will present matched asymptotic approximations for the ground state and excited states as well as their energy and chemical potential of the singularly perturbed nonlinear eigenvalue problems (.8)-(.9) under the constraint (.). We want to mention that similar results for (.)-(.) for β were presented in [9]. 6

3. For bounded Ω with box potential For simplicity, here we only present results for d = and Ω = (, ) with the box potential, i.e. V (x) = for x and V (x) = otherwise. Extensions to d-dimensions with Ω = (, ) d are straightforward. In this case, when < ε, we formally drop the first term on the right hand side of (.) with Ω = (, ) and obtain the Thomas-Fermi approximation of the ground state as which implies µ TF g φ TF g (x) = φ TF g (x) φ TF g (x), < x <, (3.) φ TF g (x) = µ TF g, < x <. (3.) Plugging (3.) into the constraint (.4) with Ω = (, ), we get = φ TF g (x) dx = µ TF g dx = µ TF g. (3.3) Here the leading order approximation for the ground state is given by φ ε g(x) φ TF g (x) =, < x <. (3.4) However, the approximation for the ground state (3.4) does not satisfy the zero boundary condition (.3). This suggests the existence of two boundary layers in the region near x = and x = in the ground state of BEC with the box potential. To get the matched asymptotic approximation, since the two boundary layers exist at the two boundaries x = and x = when < ε, we solve (.) with Ω = (, ) near x = and x =, respectively. Let us assume that the boundary layer is of width δ with < δ and do a rescaling in the region near x = with x = δ X, φ ε (x) = φ s Φ(X), X. (3.5) Substituting (3.5) into (.) with Ω = (, ), we obtain µ ε Φ(X) = ε δ Φ XX(X) + φ s Φ(X), X >, (3.6) Φ() =, Φ(X) =. (3.7) lim X In order to balance all the terms in (.), we need to choose δ = ε µ ε, φ s = µ ε. (3.8) Solving the problem (3.6)-(3.7) with the choice of the parameters in (3.8), we get Φ(X) = tanh(x), X. (3.9) 7

Since µ ε µ TF g = for the ground state, we can conclude that the width of the boundary layer near x = is δ = O(ε) = O(β / ) and the inner expansion for (.)-(.3) near x = is φ ε g(x) µ ε g µ ε g tanh ε x, for x near x =. (3.) Similarly, we can get the inner expansion for (.)-(.3) near x = is φ ε g(x) µ ε g µ ε g tanh ( x), for x near x =. (3.) ε Using the matched asymptotic technique, we get the asymptotic approximation for the ground state as µ MA g φ ε g(x) φ MA g (x) = µ MA g tanh tanh µ MA g ε ε x + tanh µ MA g ε ( x), x. (3.) Plugging (3.) into the normalization constraint (.4) with Ω = (, ), after some computations [9], we obtain = φ MA g (x) dx µ MA g ε µ MA g. (3.3) Solving the above equation, we obtain the asymptotic approximation for the chemical potential of the ground state as µ ε g µ MA g = + ε + ε + ε, < ε. (3.4) Moreover, plugging (3.) into (.6) with Ω = (, ), after some computations [9], we obtain the asymptotic approximation for the energy of the ground state as E ε g E MA g µma g + 3 µma g ε µ MA g + 4 3 ε + ε + ε, < ε. (3.5) Similarly, for the kth (k N) excited state of (.)-(.4) with Ω = (, ) when < ε, there are two boundary layers near x = and x = and k interior layers located at x j = j (j =,,..., k). By using the matched asymptotic technique, k+ we get the asymptotic approximation for the kth excited state as [9] [(k+)/] φ ε k(x) φ MA k (x) = µ MA µ MA ( k k tanh x j ) j= ε k + [k/] µ MA ( ) k + tanh j + ε k + x µ MA k C k tanh, (3.6) ε j= 8

where [τ] takes the integer part of the real number τ, the constant C k = when k is odd and C k = when k is even, and µ MA k is the asymptotic approximation of eigenvalue (or chemical potential) of the kth (k N) excited state given as [9] µ k := µ ε (φ ε k) µ MA k = + (k + )ε + (k + ) ε + (k + ) ε. (3.7) In addition, the asymptotic approximation of the energy of the kth (k N) excited state can be given as [9] E k := E ε (φ ε k) E MA k = + 4 3 (k + )ε + (k + ) ε + (k + ) ε. (3.8) Based on the above asymptotic results, we make the following observations for the eigenfunctions of the singularly perturbed nonlinear eigenvalue problem (.)- (.3) under the constraint (.4): Boundary layers are observed at x = and x = for ground and all excited states when < ε. The width of these layers is of O(ε) = O(β / ) (see (.)). For the kth (k N) excited state, interior layers are also observed at x j = (j =,,..., k) when < ε. The widths of these layers are also of O(ε) = O(β / ) (see (.)) and they are twice the size of the widths of the boundary layers. When < ε, if we rank all different eigenfunctions monotonously according to their energies, then the corresponding eigenvalues (or chemical potentials) are in the same order (see (3.4), (3.5), (3.7) and (3.8)). These information will be used in designing the uniformly convergent numerical method for (.)-(.4) in the next section. 3. For the whole space Ω = R d with harmonic potential Again for simplicity, here we only present results for d = and Ω = R with the harmonic potential, i.e. V (x) = x. Extensions to d-dimensions are straightforward. In this case, when < ε, we formally drop the first term on the right hand side of (.) with d = and obtain j k+ µ TF φ TF (x) = x φtf (x) + φ TF (x) φ TF (x), x R, (3.9) which immediately implies that the Thomas-Fermi approximation for the ground state is µ TF φ TF g x, x < µ TF g, g (x) = (3.), otherwise. 9

Thus there is no boundary or interior layer in the ground state of BEC with harmonic potential. Plugging (3.) into the constraint (.) with d =, we get = ( ) φ TF g (x) µ TF g dx = µ TF µ TF g x g dx = 3 ( ) µ TF 3/ g. (3.) Solving the above equation, we can obtain the asymptotic approximation for the eigenvalue (or chemical potential) of the ground state as µ ε g = µ ε (φ ε g) µ TF g = ( ) 3 /3. (3.) Furthermore, we can also obtain the asymptotic approximation for the energy of the ground state as E ε g = E ε (φ ε g) = µ ε (φ ε g) µ TF g φ ε g(x) dx φ TF g (x) 4 dx = µ TF g 5 µtf g = 3 In addition, the Thomas-Fermi approximation for the first excited state is µ TF x, < x µ TF, φ TF (x) = µ TF x, µ TF x <, ( 3 ) /3. (3.3) (3.4), otherwise. Similarly, we can get the Thomas-Fermi approximation for the eigenvalue (or chemical potential ) and energy of the first excited state as µ ε = µ ε (φ ε ) µ TF = ( ) 3 /3, E ε = E ε (φ ε ) = E TF 3 ( ) 3 /3. (3.5) Since µ TF > is independent of ε, when < ε, there is an interior layer located at x = in the first excited state of BEC with harmonic potential. To get the matched asymptotic approximation for the first excited state, let us assume that the interior layer is of width δ with < δ and do a rescaling in the region near x = with x = δ X, φ ε (x) = φ s Φ(X), X. (3.6) Substituting (3.6) into (.) with d =, we obtain µ ε Φ(X) = ε δ Φ XX(X) + δ X Φ(δX) + φ s Φ 3 (X), X >, (3.7) Φ() =, Φ(X) =. (3.8) lim X

Since δ is small and we want to find approximate solution of (3.7) for X not too large, we drop the second term in the right hand side of (3.7) and choose δ and φ s as those in (3.8), we can obtain that (3.9) is an approximate solution of (3.7) for X not too large. Since µ ε µ TF = O() for the first excited state, we can conclude that the width of of the interior at x = is δ = O(ε) and the inner expansion of (.) with d = near x = is φ ε (x) = ( ) µ ε µ ε tanh ε x, for x near. (3.9) Again, by using the matched asymptotic technique, we get the asymptotic approximation for the first excited state as φ ε (x) φ MA (x) ( µ MA tanh ( = µ MA tanh µ MA ε µ MA ε ) x + µ MA x µ MA, x µ TF, ) x µ MA x + µ MA, µ TF x <, =, otherwise; ( ) µ MA µ tanh MA x x x ε [ ], x µ MA µ MA x /+ µ MA, (3.3), otherwise; where µ MA = µ TF +O(ε) can be determined from the normalization constraint (.) with d = and φ = φ MA. Based on the above asymptotic results, we make the following observations for the eigenfunctions of the singularly perturbed nonlinear eigenvalue problem (.) under the constraint (.): For the ground state, there is no boundary and interior layer. For the first excited state, an interior layer is located at x = and its width is of O(ε) = O(β /3 ) (see (.)). Again, these information will be used in designing the uniformly convergent numerical method for (.)-(.) in the next section. 4 A uniformly convergent numerical method In this section, we will present a uniformly convergent numerical method for computing the eigenfunctions, i.e. ground and excited states, of the singularly perturbed nonlinear eigenvalue problem (.8)-(.) under a constraint.

4. The normalized gradient flow Various algorithms for computing the eigenfunctions, such as the ground and first excited states, of the nonlinear eigenvalue problem (.8) under the constraint (.) have been studied in the literature. For instance, a Gauss-Seidel iterative method was proposed in [7] and a Lypuoniv functional method was presented in [5]. Perhaps one of the more popular and efficient techniques for dealing the constraint (.) is through the following construction: Choose a time step k = t > and denote a time sequence = t < t < t < < t n < with t n = n k = n t. To compute the ground and first excited states of the singularly perturbed nonlinear eigenvalue problem (.8)-(.9) under the constraint (.), it is natural to consider the following normalized gradient flow (NGF) which was widely used in the literature for computing the ground state solution of BEC [5, 4, ]: t φ ε (x, t) = δe ε (φ ε ) δφ ε = ε φ ε V (x)φ ε φ ε φ ε, x Ω, t n t < t n+,(4.) φ ε (x, t n+ ) := φ ε (x, t + n+) = φε (x, t n+) φ ε (x, t, x Ω, n, (4.) n+) φ ε (x, t) =, x Γ = Ω, φ ε (x, ) = φ ε (x), x Ω; (4.3) where φ ε (x, t ± n ) = lim t t ± n φ ε (x, t) and φ ε = 4. Discretization Ω φ ε (x) dx =. Various spatial/temporal discretization schemes were studied and compared in the literature for discretizing the gradient flow (4.)-(4.3) with uniform spatial meshes [5, 4,, 6,, ]. Here we adapt the backward Euler finite difference discretization scheme for (4.)-(4.3) with a general spatial mesh. For simplicity of notation, we introduce the method for the case of one spatial dimension, i.e. d = in (4.)-(4.3) with Ω = (a, b). Generalizations to higher dimensions are straightforward for tensor product grids. Let a = x < x < x < < x N = b be a partition of the interval Ω = (a, b), h j := x j = x j+ x j be the length of the j-th (j =,,,..., N ) subinterval, and h = max j N h j be the mesh size of the partition. Denote φ n j be the approximation of φ ε (x j, t n ) and Φ n = (φ n, φ n, φ n,..., φ n N) T to be the solution vector at time t = t n. The gradient flow (4.) is discretized in time by the backward Euler scheme and in space by the finite difference method, for j =,,..., N and n, as φ j φ n j t = ε [ φ j h j (h j + h j ) φ j h j h j + The boundary and initial conditions (4.3) are discretized as φ ] j+ V (x j )φ j φ n j φ j. h j (h j + h j ) (4.4) φ = φ N =, φ j = φ ε (x j ), j =,,,..., N. (4.5)

The normalized step (4.) is discretized as with φ n+ j = φ j, j =,,,..., N, n, (4.6) Φ Φ = N h j + h j j= N xj j= φ j N = j= b x j φ (x) dx = a h j [ φ j + φ j+ ] φ (x) dx. (4.7) In addition, the chemical potential (.) can be discretized as µ ε := ε = ε ε = ε b dφ ε (x) b [ dx + V (x) φ ε (x) + φ ε (x) 4] dx a dx a N xj+ dφ ε (x) N xj+ [ dx + j= x j dx V (x) φ ε (x) + φ ε (x) 4] dx j= x j N φ ε j+ φ ε N j j+ h j [ h j + V (xl ) φ ε j= h j l + φ ε l 4] j= l=j N φ ε j+ φ ε j N h j + h [ j + V (xj ) φ ε j= h j j= j + φ ε j 4]. (4.8) Similarly, the energy functional (.) is discretized as E ε (φ ε ) ε N j= N + h j j= φ ε j+ φ ε j h j + h j 4.3 Choice of the piecewise uniform mesh [V (x j ) φ εj + φεj 4 ]. (4.9) Based on the asymptotic results in the previous section, since we know the locations and width of the boundary and interior layers, the natural and simple way is to use the piecewise uniform mesh or Shishkin mesh [9, 3, 3, 3,, 3, 5] in order to get a uniformly converged numerical method for ε >. In the case of box potential, we take Ω = (, ), i.e. a = and b =. For computing the ground state, since there are two boundary layers located at x = and x = with width O(ε), the piecewise uniform mesh can be chosen as h, < j N/4, x j = x j + h, N/4 < j 3N/4, h, 3N/4 < j N, j =,,..., N, (4.) 3

where x =, { } x N/4 = min 4, ε ln N, x 3N/4 = x N/4, x N =, h = 4x N/4 N, h = (x 3N/4 x N/4 ). N In fact, here we use N + grid points in total for the interval [, ] with N/4 points for the boundary layer located at x =, N/4 points for the boundary layer located at x =, and N/ points for the remaining middle portion. Similarly, for computing the first excited state, since there are two boundary layers located at x = and x = with width O(ε) and one interior layer located at x = / with width O(ε), the piecewise uniform mesh can be chosen as where x j = x j + x =, h, < j N/8, h, N/8 < j 3N/8, h, 3N/8 < j 5N/8, h, 5N/8 < j 7N/8, h, 7N/8 < j N,, j =,,..., N, (4.) { } x N/8 = min 8, ε ln N, x 3N/8 = x N/8, x 5N/8 = + x N/8, x 7N/8 = x N/8, x N =, h = 8x N/8 N, h = 4(x 3N/8 x N/8 ). N In fact, here we use N + grid points in total for the interval [, ] with N/8 points for the boundary layer located at x =, N/8 points for the boundary layer located at x =, N/4 points for the interior layer located at x = /, and N/ points for the remaining two portions. By extending the above idea, we can construct the piecewise uniform meshes used for computing other excited states in the box potential in D. Extension to higher dimensions can be done similarly. In the case of harmonic potential or any other potential satisfying V ( x) = V (x), V () = and lim x V (x) =, we take Ω = ( c, c), i.e. a = c and b = c. For computing the ground state, since there is no boundary and interior layer, we can use the classical uniform mesh x j = c + j h, j =,,,..., N, h = c N. (4.) For computing the first excited state, since there is an interior layer located at x = with width O(ε), the piecewise uniform mesh can be chosen as h, < j N/4, x j = x j + h, N/4 < j 3N/4, h, 3N/4 < j N, 4, j =,,..., N, (4.3)

N 4 6 8 ε =..64E-.7E-3.6E-4 6.58E-6 4.57E-7 ε =. 3.9E-.43E-.4E-3 8.38E-5 5.8E-6 ε =. 4 7.68E- 3.8E-.37E-.36E-3 8.E-5 ε =. 6 9.4E- 7.68E- 3.79E-.35E-.35E-3 ε =. 8 9.76E- 9.4E- 7.67E- 3.79E-.35E- ε =. 9.93E- 9.77E- 9.4E- 7.67E- 3.78E- ε =. 9.98E- 9.93E- 9.77E- 9.4E- 7.67E- ε =. 4 9.99E- 9.98E- 9.93E- 9.77E- 9.4E-...... ε 9.99E- 9.99E- 9.99E- 9.99E- 9.99E- Table : Maximum errors, i.e. max x φ(x) φ N (x), for the ground state of BEC with box potential by using uniform mesh for different ε and grid points N. where { } c x = c <, x N = c >, x 3N/4 = min, ε ln N, x N/4 = x 3N/4, h = x 3N/4 N, h = (c x 3N/4). N In fact, here we use N + grid points in total for the interval [ c, c] with N/ points for the interior layer located at x =, and N/ points for the remaining two portions. Extension to higher dimensions can be done similarly. 5 Numerical results In this section, we first demonstrate that our discretization method with piecewise uniform mesh is uniformly convergent for ε > and also compare the results from the piecewise uniform mesh and uniform mesh. Then we apply the new method based on piecewise uniform mesh to compute the ground and excited states of BEC with box/harmonic/optical lattice potential in the semiclassical regime, i.e. < ε. In our computation, the stationary state is reached when max j N φ n+ j φ n j < 6. 5. Comparison and convergence rate Let φ(x) be the numerical exact solution obtained by using piecewise uniform mesh with N = 4 and φ N (x) be the numerical solution with N + grid points. Tables and show the maximum errors, i.e. max x φ(x) φ N (x), for the ground state of box potential by using uniform mesh and piecewise uniform mesh (or Shishkin mesh), respectively, for different ε and grid points N; Tables 3 and 4 show similar results 5

N 4 6 8 ε =..64E-.7E-3.6E-4 6.58E-6 4.57E-7 ε =..7E- 4.E-3 4.4E-4 4.3E-5 3.6E-6 ε =. 4.7E- 3.84E-3 4.7E-4 4.6E-5 3.68E-6 ε =. 6.7E- 3.8E-3 4.3E-4 4.E-5 5.76E-6 ε =. 8.69E- 3.78E-3 4.E-4 4.7E-5 5.7E-6 ε =..69E- 3.78E-3 4.E-4 4.7E-5 5.7E-6 ε =..7E- 3.78E-3 4.E-4 4.7E-5 5.7E-6 ε =. 4.7E- 3.78E-3 4.E-4 4.7E-5 5.7E-6...... ε.7e- 3.78E-3 4.E-4 4.7E-5 5.7E-6 Table : Maximum errors, i.e. max x φ(x) φ N (x), for the ground state of BEC with box potential by using piecewise uniform mesh for different ε and grid points N. N 4 6 8 ε =. 3.84E-.5E-3.57E-4 9.87E-6 6.75E-7 ε =. 4.5E-.5E-.5E-3 9.5E-5 5.6E-6 ε =. 4 7.69E- 3.85E-.39E-.38E-3 7.96E-5 ε =. 6 9.3E- 7.68E- 3.8E-.36E-.35E-3 ε =. 8 9.76E- 9.4E- 7.67E- 3.79E-.35E- ε =. 9.93E- 9.77E- 9.4E- 7.67E- 3.78E- ε =. 9.98E- 9.93E- 9.77E- 9.4E- 7.67E- ε =. 4 9.99E- 9.98E- 9.93E- 9.77E- 9.4E-...... ε 9.99E- 9.99E- 9.99E- 9.99E- 9.99E- Table 3: Maximum errors, i.e. max x φ(x) φ N (x), for the first excited state of BEC with box potential by using uniform mesh for different ε and grid points N. for the first excited state of box potential; and Tables 5 and 6 show the results for the first excited state of harmonic potential with V (x) = x /. In addition, Tables 7, 8 and 9 compare the results for the ground state of box potential, for the first excited state of box potential, and for the first excited state of harmonic potential, respectively, by using uniform mesh and piecewise uniform mesh. From Tabs. -9, we can draw the following conclusion: (i) For fixed ε >, when the mesh size h < ε and h, second order convergence rate is observed in both the uniform mesh and piecewise uniform mesh (c.f. Tabs. -6) ; (ii) for fixed mesh size h > with small value, when ε, the errors increase up to a 6

N 4 6 8 ε =. 3.84E-.5E-3.57E-4 9.87E-6 6.75E-7 ε =..84E-.86E-.5E-3 9.5E-5 5.6E-6 ε =. 4.66E-.69E-.66E-3.5E-4.4E-5 ε =. 6.6E-.66E-.6E-3.5E-4.46E-5 ε =. 8.6E-.65E-.6E-3.5E-4.45E-5 ε =..6E-.65E-.6E-3.49E-4.45E-5 ε =..6E-.64E-.63E-3.49E-4.45E-5 ε =. 4.6E-.64E-.63E-3.49E-4.45E-5...... ε.6e-.64e-.63e-3.49e-4.45e-5 Table 4: Maximum errors, i.e. max x φ(x) φ N (x), for the first excited state of BEC with box potential by using piecewise uniform mesh for different ε and grid points N. N 4 6 8 ε =. 7.37E- 5.89E-.44E-.4E-.4E- ε =. 7.87E- 7.36E- 5.88E-.44E-.57E- ε =. 4 8.3E- 7.87E- 7.36E- 5.89E-.46E- ε =. 6 8.7E- 8.3E- 7.87E- 7.36E- 5.9E- ε =. 8 8.9E- 8.7E- 8.3E- 7.87E- 7.37E- ε =. 8.9E- 8.9E- 8.7E- 8.3E- 7.87E- ε =. 8.9E- 8.9E- 8.9E- 8.7E- 8.3E- ε =. 4 8.9E- 8.9E- 8.9E- 8.9E- 8.7E-...... ε 8.9E- 8.9E- 8.9E- 8.9E- 8.9E- Table 5: Maximum errors, i.e. max x φ(x) φ N (x), for the first excited state of BEC with harmonic potential V (x) = x / by using uniform mesh for different ε and grid points N. fixed constant by using the uniform mesh due to the appearance of boundary and/or interior layers (c.f. Tabs., 3 and 5), where the errors do not increase by using the piecewise uniform mesh (c.f. Tabs., 4 and 6); (iii) when both ε and the mesh size h with keeping ε/h as a constant, no convergence is observed by using the uniform mesh, but uniformly convergent results are observed by using the piecewise uniform mesh (c.f. Tabs. 7, 8 and 9). Based on these results, we can claim that the backward Euler finite difference discretization by using the piecewise uniform mesh 7

N 4 6 8 ε =..6E- 5.73E- 3.97E-3.67E-4.76E-5 ε =..5E- 9.3E-.E-.E-3 6.37E-5 ε =. 4.6E-.8E-.84E-.49E-3.57E-4 ε =. 6.63E-.E-.7E- 3.49E-3 3.8E-4 ε =. 8.63E-.E-.9E- 3.67E-3 3.59E-4 ε =..63E-.E-.8E- 3.69E-3 3.44E-4 ε =..63E-.E-.8E- 3.69E-3 3.4E-4 ε =. 4.63E-.E-.8E- 3.69E-3 3.39E-4...... ε.63e-.e-.8e- 3.69E-3 3.39E-4 Table 6: Maximum errors, i.e. max x φ(x) φ N (x), for the first excited state of BEC with harmonic potential V (x) = x / by using piecewise uniform mesh for different ε and grid points N. N 4 6 8 ε... 4. 6. 8 uniform mesh.64e-.43e-.37e-.35e-.35e- piecewise uniform mesh.64e- 4.E-3 4.7E-4 4.E-5 5.7E-6 Table 7: Comparison of the maximum errors, i.e. max x φ(x) φ N (x), for the ground state of BEC with box potential by using uniform mesh and piecewise uniform mesh. N 4 6 8 ε... 4. 6. 8 uniform mesh 3.84E-.5E-.39E-.36E-.35E- piecewise uniform mesh 3.84E-.86E-.66E-3.5E-4.45E-5 Table 8: Comparison of the maximum errors, i.e. max x φ(x) φ N (x), for the first state of BEC with box potential by using uniform mesh and piecewise uniform mesh. is a uniformly convergent numerical method for computing the singularly perturbed nonlinear eigenvalue problem (.8)-(.) under a constraint. 8

N 4 6 8 ε... 4. 6. 8 uniform mesh 7.37E- 7.36E- 7.36E- 7.36E- 7.37E- piecewise uniform mesh.6e- 9.3E-.84E- 3.49E-3 3.59E-4 Table 9: Comparison of the maximum errors, i.e. max x φ(x) φ N (x), for the first excited state of BEC with harmonic potential V (x) = x / by using uniform mesh and piecewise uniform mesh. ε.. 4. 6. 8 E g = E(φ g ).5345.584.5.55 E = E(φ ).578.569.54.5 E 3 = E(φ 3 ).6553.5345.584.5 E 9 = E(φ 9 ).9938.599.5.55 µ g = µ(φ g ).5.6.3.8 µ = µ(φ ).5.53.63.6 µ 3 = µ(φ 3 ).8.5.6.3 µ 9 = µ(φ 9 ).64.3.34.78 Table : Energy and chemical potential of the ground and excited states of BEC with box potential in D for different ε. 5. Applications In this subsection, we report the ground and excited states of BEC with box, harmonic and optical lattice potential by using the backward Euler finite difference method based on piecewise uniform mesh. Example. Ground and excited states of BEC with box potential in D. Figure shows the ground and excited states of BEC with box potential in D for different ε and Table lists their corresponding energy and chemical potential. From Fig. and Tab. and additional results not shown here for brevity [4], we can draw the following conclusion for the ground and excited states of BEC with box potential in D: (i) Boundary layers are observed in ground and excited states and interior layers are observed in excited states when ε is small and the width of the boundary and interior layers is of O(ε) (c.f. Fig. ), these confirm the asymptotic results in Section 3. (ii) For any fixed ε >, if all different eigenfunctions of the nonlinear eigenvalue problem (.8)-(.) under a constraint are ranked according to their energy, then the corresponding eigenvalues (or chemical potential) are in 9

φ(x).8.6 ε =. X ε =. X ε =. X 4 ε =. X 8 φ(x).5 ε =. X ε =. X ε =. X 4 ε =. X 8.4.5. (a)...3.4.5.6.7.8.9 x (b)...3.4.5.6.7.8.9 x.5 ε =. X ε =. X ε =. X 4 ε =. X 8.5 φ(x).5 (c).5.5...3.4.5.6.7.8.9 x.5 ε =. X ε =. X ε =.. X 4 ε =. X 8 φ(x).5 (d).5...3.4.5.6.7.8.9 x Figure : Ground and excited states of BEC with box potential in D for different ε. (a): Ground state with N = 4 ; (b): first excited state with N = 4 ; (c): third excited state with N = 6 ; and (d): ninth excited state with N = 8. the same rank (c.f. Tab. ), i.e. E(φ g ) < E(φ ) < E(φ ) < = µ(φ g ) < µ(φ ) < µ(φ ) <.

.9.8.8.7.6.5 ε = ε = ε = ε = 3.6.4. φ(x) φ(x).4.3..4 ε =. X ε =. X ε =. X 4..6..8 (a) 4 3 3 4 x (b).5.5.5.5 x Figure : Ground and first excited states of BEC with harmonic potential in D for different ε. (a): Ground state with N = 5 by using uniform mesh; (b): first excited state with N = 5 by using piecewise uniform mesh. ε...5.5.5 E g = E(φ g ).464.4.395.3937.3933 E = E(φ ).5787.4764.43.47.4 µ g = µ(φ g ).6676.6587.656.6554.655 µ = µ(φ ).88.734.69.673.664 Table : Energy and chemical potential of the ground and first excited states of BEC with harmonic potential in D for different ε. (iii) When ε, we have (c.f. Tab. ) lim E(φ g) = lim E(φ j ) =.5, ε ε E(φ g ) lim ε µ(φ g ) =, lim E(φ j ) ε E(φ g ) =, lim µ(φ g ) = lim ε lim ε ε µ(φ j ) =., j =,,..., µ(φ j ) µ(φ g ) =, j =,,.... Example. Ground and first excited states of BEC with harmonic potential in D. Figure shows the ground and first excited states of BEC with harmonic potential in D for different ε and Table lists their corresponding energy and chemical potential. From Fig. and Tab., we can draw the following conclusion for the ground and first excited states of BEC with harmonic potential in D: (i) Interior layer is observed in the first excited state when ε is small and the width of the interior layer is of O(ε) (c.f. Fig. ), this confirms the asymptotic results in Section 3. (ii) For any fixed ε >, we have (c.f. Tab. ) E(φ g ) < E(φ ) = µ(φ g ) < µ(φ ).

(a) (b) (c) (d) Figure 3: Surface plots for ground and excited states of BEC with box potential in D with ε = 3. (a): Ground state; (b): (,)-th excited state; (c): (9,9)-th excited state; and (d) (9,9)-th excited state. (iii) When ε, we have (c.f. Tab. ) lim E(φ g) = lim ε lim ε E(φ g ) µ(φ g ) = 3 5, ε E(φ ) = 3 ( 3 lim ε E(φ ) E(φ g ) =, ) /3, lim ε µ(φ g ) = lim lim ε µ(φ ) µ(φ g ) =. ε µ(φ ) = ( 3 ) /3, Example 3. Ground and excited states of BEC with box potential in D. Figures 3 and 4 show surface plots and contour plots, respectively, for ground and excited states of BEC with box potential in D with ε = 3 over a 57 57 piecewise uniform mesh. From Figs. 3 and 4, similar conclusions as those for BEC with box potential in D can be drawn.

..9..8..8..6.3.7.3.4.4.6.4..5.5.5.6.4.6..7.3.7.4.8..8.6.9..9.8 (a)...3.4.5.6.7.8.9 (b)...3.4.5.6.7.8.9..8..8..6..6.3.4.3.4.4..4..5.5.6..6..7.4.7.4.8.6.8.6.9.8.9.8 (c)...3.4.5.6.7.8.9 (d)...3.4.5.6.7.8.9 Figure 4: Contour plots for ground and excited states of BEC with box potential in D with ε = 3. (a): Ground state; (b): (,)-th excited state; (c): (9,9)-th excited state; and (d) (9,9)-th excited state. Example 4. Ground and first excited states of BEC with harmonic potential, i.e. V (x, y) = (x + y )/, in D. Figures 5 and 6 show surface plots and contour plots, respectively, for ground and first excited states of BEC with harmonic potential in D with ε =.56 3 over a 57 57 piecewise uniform mesh. From Figs. 5 and 6, similar conclusions as those for BEC with harmonic potential in D can be drawn. Example 5. Ground and first excited states of BEC with optical lattice potential, i.e. V (x, y) = (x + y )/ +.3 sin (4πx) +.3 sin (4πx), in D. Figures 7 and 8 show surface plots and contour plots, respectively, for ground and first excited states of BEC with optical lattice potential in D with ε =.5 over a 57 57 piecewise uniform mesh. From Figs. 7 and 8, similar conclusions as those for BEC with harmonic potential in D can be drawn. 3

.6.4.8.6..4....4.6.8 (a).4.5.5 (b).6.5.5.6.4.8.6..4....4.6.8 (c).4.5.5.5.6.5 Figure 5: Surface plots for ground and first excited states of BEC with harmonic potential in D with ε =.56 3. (a): Ground state; (b): first excited state in x-direction; (c): first excited state in both x- and y-directions. 6 Conclusion We have studied singularly perturbed nonlinear eigenvalue problems under constraints analytically and numerically. We began with the time-independent GrossPitaevskii equation (GPE) for modelling Bose-Einstein condensates (BEC) and reformulated the GPE into singularly perturbed nonlinear eigenvalue problems under constraints. In the analytical side, we found matched asymptotic approximations for the ground and excited states for the problem under the box potential and the harmonic potential in the semiclassical regime, i.e. < ε. These matched asymptotic approximations clearly indicated that boundary and interior layers appeared in the ground and excited states when ε is small. In addition, energy and eigenvalues (or chemical potential) asymptotics of the ground and excited states were also provided. In the numerical side, we proposed the backward Euler finite difference (BEFD) method based on piecewise uniform mesh or Shishkin mesh, 4

.5.7.5.6.6.4.5.5.5..4.5.3.5...4.5..5.6 (a).5.5.5.5 (b).5.5.5.5.5.6.4.5..5..4.5.6 (c).5.5.5.5 Figure 6: Contour plots for ground and first excited states of BEC with harmonic potential in D with ε =.56 3. (a): Ground state; (b): first excited state in x-direction; (c): first excited state in both x- and y-directions. which was demonstrated to be uniformly convergent for ε >, for computing the eigenfunctions of the nonlinear eigenvalue problems under a constraint. Numerical results showed that the new method gave much better results than those obtained from the BEFD based on standard uniform mesh in the semiclassical regime, i.e. < ε. Finally, our method was applied to compute the ground and excited states of BEC with box, harmonic or optical lattice potential in one dimension (D) and D. Some conclusive findings were reported and some conjectures were proposed based on our extensive numerical results. Acknowledgment. The authors acknowledge support from Ministry of Education of Singapore grant No. R-46--83- and would like to thank Professor Tao Tang for very helpful discussion on the subject. 5

.8.8.9.8.8.6.6.7.4.4.7.6.6..5..5.4.3..4.4..6..3.8...4.6 (a). (b).5.5.5.5.8.8.6.5.4..5..4.6 (c).5.5.5.5.8 Figure 7: Surface plots for ground and first excited states of BEC with optical lattice potential in D with ε =.5. (a): Ground state; (b): first excited state in x-direction; (c): first excited state in both x- and y-directions. References [] S.K. Adhikari, Numerical solution of the two-dimensional Gross-Pitaevskii equation for trapped interacting atoms, Phys. Lett. A, 65 (), pp. 9. [] A. Aftalion, and Q. Du, Vortices in a rotating Bose-Einstein condensate: Critical angular velocities and energy diagrams in the Thomas-Fermi regime, Phys. Rev. A, 64 (), pp. 6363. [3] M.H. Anderson, J.R. Ensher, M.R. Matthewa, C.E. Wieman, and E.A. Cornell, Observation of Bose-Einstein condensation in a dilute atomic vapor, Science, 69 (995), pp. 98-. [4] W. Bao, Ground states and dynamics of multi-component Bose-Einstein condensates, Multiscale Modeling and Simulation, (4), pp. -36. 6

.8.5.8.5.6.7.4.6.5.5..5.4.5.3.5...4.5..5.6 (a).5.5.5.5 (b).5.5.5.5.8.8.5.6.4.5..5..4.5.6 (c).5.5.5.5.8 Figure 8: Contour plots for ground and first excited states of BEC with harmonic potential in D with ε =.5. (a): Ground state; (b): first excited state in x-direction; (c): first excited state in both x- and y-directions. [5] W. Bao and Q. Du, Computing the ground state solution of Bose-Einstein condensates by a normalized gradient flow, SIAM J. Sci. Comput., 5 (4), pp. 674-697. [6] W. Bao, I.-L. Chern and F.Y. Lim, Efficient and spectrally accurate numerical methods for computing ground and first excited states in Bose-Einstein condensates, J. Comput. Phys., 9 (6), pp. 836-854. [7] W. Bao, D. Jaksch and P.A. Markowich, Numerical solution of the Gross- Pitaevskii equation for Bose-Einstein condensation, J. Comput. Phys., 87 (3), pp. 38-34. [8] W. Bao and F.Y. Lim, Computing ground states of spin- Bose-Einstein Condensates by the normalized gradient flow, preprint. 7

[9] W. Bao, F.Y. Lim and Y. Zhang, Energy and chemical potential asymptotics for the ground state of Bose-Einstein condensates in the semiclassical regime, Bull. Inst. Math., Academia Sinica, (7), pp. 495-53. [] W. Bao and W. Tang, Ground state solution of trapped interacting Bose- Einstein condensate by directly minimizing the energy functional, J. Comput. Phys., 87 (3), pp. 3-54. [] W. Bao and H. Wang, A mass and magnetization conservative and energy diminishing numerical method for computing ground state of spin- Bose- Einstein condensates, SIAM J. Numer. Anal., to appear. [] W. Bao, H. Wang and P.A. Markowich, Ground, symmetric and central vortex states in rotating Bose-Einstein condensates, Commun. Math. Sci., 3 (5), pp. 57-88. [3] M.M. Cerimele, M.L. Chiofalo, F. Pistella, S. Succi and M.P. Tosi, Numerical solution of the Gross-Pitaevskii equation using an explicit finite-difference scheme: An application to trapped Bose-Einstein condensates, Phys. Rev. E, 6, 38 (). [4] M.H. Chai, A Uniformly Convergent Numerical Method Scheme for Singularly Perturbed Nonlinear Eigenvalue Problems Under Constraints, MSc Thesis, Department of Mathematics, National University of Singapore, 7. [5] S.-L. Chang, C.-S. Chien and B.W. Jeng, Liapunov-Schmidt reduction and continuation for nonlinear Schrödinger equations, SIAM J. Sci. Comput., 7 (7), pp. 79-755. [6] S.-M. Chang, W.-W. Lin and S.-F., Shieh, Gauss-Seidel-type methods for energy states of a multi-component Bose-Einstein condensate, J. Comput. Phys., (5), pp. 367-39. [7] S.M. Chang, C.S. Lin, T.C. Lin and W.W. Lin, Segregated nodal domains of two-dimensional multispecies Bose-Einstein condensates, Physica D, 96 (4), pp. 34-36. [8] M.L. Chiofalo, S. Succi and M.P. Tosi, Ground state of trapped interacting Bose-Einstein condensates by an explicit imaginary-time algorithm, Phys. Rev. E, 6 (), pp. 7438. [9] F. Dalfovo and S. Stringari, Bosons in anisotropic traps: Ground state and vortices, Phys. Rev. A, 53 (996), pp. 477. [] R.J. Dodd, Approximate solutions of the nonlinear Schrödinger equation for ground and excited states of Bose-Einstein condensates, J. Res. Natl. Inst. Stan., (996), pp. 545. 8

[] M. Edwards and K. Burnett, Numerical solution of the nonlinear Schrödinger equation for small samples of trapped neutral atoms, Phys. Rev. A, 5 (995), pp. 38. [] J.J.H. Miller, E. O Riordan and G.I. Shishkin, Fitted Numerical Mehtods for Sigular Perturbation Problems, World Scientific, 996. [3] J.J.H. Miller, E. O Riordan and G.I. Shishkin, On piecewise-uniform meshes for upwind- and central-difference operators for solving singularly perturbed problems, IMA J. Numer. Anal., 5 (995), pp. 89-99. [4] L.P. Pitaevskii and S. Stringari, Bose-Einstein condensation, Clarendon Press, 3. [5] H.G. Roos, M. Stynes and L. Tobiska, Numerical Methods for Singularly Perturbed Differential Equations, Springer-Verlag, Berlin, 996. [6] P.A. Ruprecht, M.J. Holland, K. Burrett, and M. Edwards, Time-dependent solution of the nonlinear Schrodinger equation for Bose-condensed trapped neutral atoms, Phys. Rev. A, 5 (995), pp. 474-47. [7] B.I. Schneider and D.L. Feder, Numerical approach to the ground and excited states of a Bose-Einstein condensated gas confined in a completely anisotropic trap, Phys. Rev. A, 59 (999), pp. 3. [8] L.H. Shen and A.H. Zhou, A defect correction scheme for finite element eigenvalues with applications to quantum chemistry, SIAM J. Sci. Comput., 8 (6), pp. 3 338. [9] G.I. Shishkin, Grid approximation of singularly perturbed elliptic and parabolic equations, Second Doctoral Thesis, Keldysh Institute of Applied Mathematics, USSR Academy of Sciences, Moscow, 99. [3] T. Tang and M. R. Trummer, Boundary layer resolving pseudospectral methods for singular perturbation problems, SIAM J. Sci. Comput., 7 (996), pp. 43 438. [3] Y. Qiu, D. M. Sloan and T. Tang, Numerical solution of a singularly perturbed two-point boundary value problem using equidistribution: analysis of convergence, J. Comput. Appl. Math., 6 (), pp. 43. [3] A.B. White, On Selection of equidistribution meshes for two-point boundary value problems, SIAM J. Numer. Anal., 6 (979), pp. 47-5. [33] A.H. Zhou, Finite dimensional approximations for the electronic ground state solution of a molecular system, Math. Methods Appl. Sci., 3 (7), pp. 49 447. 9

[34] A.H. Zhou, An analysis of finite-dimensional approximations for the ground state solution of Bose-Einstein condensates, Nonlinearity 7 (4), pp. 54 55. 3