校园网页 · 学校官网
195.dvi
COMMUNICATIONS IN COMPUTATIONAL PHYSICS V ol.5, No. 2-4, pp. 195-241 Commun. Comput. Phys. February 2009 REVIEW ARTICLE Some Recent Advances on Spectral Methods for Unbounded Domains Jie Shen1, ∗ and Li-Lian Wang2 1 Department of Mathematics, Purdue University, West Lafaye tte, IN, 47907, USA. 2 Division of Mathematical Sciences, School of Physical and M athematical Sciences, Nanyang T echnological University, 637616, Singapore. Received 13 January 2008; Accepted (in revised version) 8 Ju ne 2008 Available online 1 August 2008 Abstract. W e present in this paper a unified framework for analyzing the spectral methods in unbounded domains using mapped Jacobi, Laguerre and Hermite func- tions. A detailed comparison of the convergence rates of the se spectral methods for solutions with typical decay behaviors is carried out, both theoretically and compu- tationally . A brief review on some of the recent advances in t he spectral methods for unbounded domains is also presented. AMS subject classifications : 65N35, 65N22,65F05, 35J05 Key words : Spectral method, unbounded domain, orthogonal polynomia ls, rational functions, Hermite functions, Laguerre functions. Contents 1 Introduction 196 2 Mapped Jacobi methods 197 3 Laguerre spectral methods 210 4 Hermite spectral methods 223 5 Implementations, numerical results and discussions 230 6 Miscellaneous issues and extensions 233 7 Concluding remarks 237 ∗Corresponding author. Email addresses: shen@math.purdue.edu (J. Shen), lilian@ntu.edu.sg (L. Wang) http://www .global-sci.com/ 195 c⃝2009 Global-Science Press 196 J. Shen and L. Wang / Commun. Comput. Phys., 5 (2009), pp. 195-241 1 Introduction Spectral methods for solving PDEs on unbounded domains can b e essentially classified into four approaches: (i) Domain truncation: truncate unbounded domains to bound ed domains and solve the PDEs on bounded domains supplemented with artificial or tr ansparent boundary conditions (see, e.g., [17, 21, 22, 25, 44, 51]); (ii) Approximation by classical orthogonal systems on unbo unded domains, e.g., La- guerre or Hermite polynomials/functions (see, e.g., [7, 14 , 20, 30, 31, 36, 43, 47]); (iii) Approximation by other, non-classical orthogonal sy stems (see, e.g., [14]), or by mapped orthogonal systems, e.g., image of classical Jacobi polynomials though a suitable mapping (see, e.g. [32, 34, 35, 54]); (iv) Mapping: map unbounded domains to bounded domains and us e standard spec- tral methods to solve the mapped PDEs in the bounded domains ( see, e.g., [9–12, 15, 24, 26]). Boyd provided in [11] an excellent review on general propert ies and practical imple- mentations for many of these approaches. In general, the dom ain truncation approach is only a viable option for problems with rapidly (exponenti ally) decaying solutions or when accurate non-reflecting or exact boundary conditions a re available at the truncated boundary . On the other hand, with proper choices of mappings and/or scaling param- eters, the other three approaches can all be effectively app lied to a variety of problems with rapid or slow decaying (or even growing) solutions. Sin ce there is a vast literature on domain truncations, particularly for Helmholtz equatio ns and Maxwell equations for scattering problems and the analysis involved is very diffe rent from the other three ap- proaches, the domain truncation approach will not be addres sed in this paper. We note that the last two approaches are mathematically equi valent (see Section 2.5.1 for more details) but their computational implementations are different. More precisely , the last approach involves solving the mapped PDEs (which ar e often cumbersome to deal with) using classical Jacobi polynomials while the thi rd approach solves the original PDE using the mapped Jacobi polynomials. The main advantage of the last approach is that it can be implemented and analyzed using standard pro cedures and approxima- tion results, but its main disadvantage is that the transfor med equation is usually very complicated which, in many cases, makes its implementation and analysis unusually cumbersome. On the other hand, we work on the original PDE in t he third approach and approximate its solution by using a new family of orthogonal functions which are images of classical Jacobi polynomials under a suitable mapping. T he analysis of this approach will require approximation results by the new family of orth ogonal functions. The main advantage is that once these approximation results are esta blished, they can be directly applied to a large class of problems. Thus, we shall mainly co ncentrate on the second and third approaches, and provide a general framework for th e analysis of these spectral methods. While spectral methods have been used for solving PDEs on unb ounded domains J. Shen and L. Wang / Commun. Comput. Phys., 5 (2009), pp. 195-241 197 for over thirty years, and there have been several isolated e fforts in the early years on the error analysis of these methods (see, e.g. [6, 7, 15, 20, 2 3, 42]), it is only in the last ten years or so that the basic approximation properties of these orthogonal systems, and their applications to PDEs, were systematically studied (cf. [13 ] for a brief account). However, many of these analyses use different approaches and involvecomplicated Sobolev spaces, making it hard for non-experts to extract useful informatio n from these error estimates and to carry out error analysis for their applications. The m ain purposes of this paper are three folds: (i) to present a unified framework, for the ana lysis of mapped Jacobi, Laguerre and Hermite spectral methods, which leads to more c oncise results (than those appeared in the literature) and optimal approximation resu lts in most situations; (ii) to make a detailed comparison on the convergence rates of diffe rent methods for several typical solutions; and (iii) to provide a brief (by no means c omplete) review on some of the recent work for the analysis and application of spectr al methods in unbounded domains. This paper is organized as follows. In the next section, we co nsider the mapped spec- tral methods and present a unified framework to study their con vergence properties. In Section 3, we consider the approximation by the (generali zed) Laguerre polynomi- als/functions, and Section 4 is devoted to the approximatio n by the Hermite polynomi- als/functions. These three sections are presented with a un ified style and encompass most of the important approximation results on these orthog onal systems developed in the last few years. In Section 5, we provide some implementat ion details and compare the performances of different methods with two typical example s. In Section 6, we discuss various extensions and other issues related to the applicat ions of these spectral methods. We end this paper with a few concluding remarks. We now introduce some notations. Let ω(x) be a certain weight function in Ω:=( a,b), where a or b could be infinite. We shall use the weighted Sobolev spaces Hr ω(Ω) (r = 0,1,2, ··· ), whose inner products, norms and semi-norms are denoted by (·,·)r,ω, ∥·∥ r,ω and |·|r,ω, respectively . For real r > 0, we define the space Hr ω(Ω) by space interpolation. In particular, the norm and inner product of L2 ω(Ω) = H0 ω(Ω) are denoted by ∥·∥ ω and (·,·)ω, respectively . The subscript ω will be omitted from the notations in case of ω ≡ 1. For notational convenience, we denote ∂k x =dk/dxk, k≥ 1, and for any nonnegative integer N, let PN be the set of all algebraic polynomials of degree ≤ N. We denote by c a generic positive constant independent of any function and N, and use the expression A ≲ B to mean that there exists a generic positive constant c such that A ≤ cB. 2 Mapped Jacobi methods A common and effective strategy in dealing with an unbounded domain is to use a suit- able mapping that transforms an infinite domain to a finite domai n. Then, images of clas- sical orthogonal polynomials under the inverse mapping will form a set of orthogonal ba- sis functions which can be used to approximate solutions of P DEs in the infinite domains. 198 J. Shen and L. Wang / Commun. Comput. Phys., 5 (2009), pp. 195-241 Early practitioners of this approach include Grosch & Orsza g [24] and Boyd [8]. The book by Boyd [11] contains an extensive review on many practi cal aspects of the mapped spectral methods. In the last couple of years, a series of pap ers have been devoted to the convergence analysis of the mapped spectral methods (see, e .g., [34, 35, 39, 54]). We present below a general framework for the analysis and imp lementations of the mapped spectral methods. To study the properties of the mapped Jacobi approximations , we recall some basic properties and results for the classical Jacobi polynomial s Jα,β n (y), y ∈ I := (− 1,1), n ≥ 0. 2.1 Some results on Jacobi approximations Let ωα,β(y) = (1− y)α(1+y)β be the Jacobi weight function. For α,β > − 1, the Jacobi poly- nomials are mutually orthogonal in L2 ωα,β(I), i.e., ∫ I Jα,β n (y)Jα,β m (y)ωα,β(y)dy = γα,β n δn,m, (2.1) where δn,m is the Kronecker function, and γα,β n = 2α+β+1Γ(n+α+1)Γ(n+ β+1) (2n+α+ β+1)Γ(n+1)Γ(n+α+ β+1) . (2.2) They are eigenfunctions of the Sturm-Liouville problem: ∂y((1− y)α+1(1+y)β+1∂y Jα,β n (y))+ λα,β n (1− y)α(1+y)β Jα,β n (y) =0, (2.3) with the eigenvalues: λα,β n = n(n+α+ β+1), n ≥ 0, α,β > − 1. (2.4) Now, we define the L2 ωα,β(I)− orthogonal projection: ˆπα,β N : L2 ωα,β(I) → PN, such that ( ˆπα,β N v− v,vN )ωα,β = 0, ∀vN ∈ PN. (2.5) Define the weighted space ˆBm α,β(I) := {v ∈ L2 ωα,β (I) : ∂k y v ∈ L2 ωα+k,β+k(I), 0 ≤ k ≤ m}. (2.6) The following result was proved in [19] (see also [3, 38]): Lemma 2.1. ∥∂l y( ˆπα,β N v− v)∥ωα+l,β+l ≲ Nl− m∥∂m y v∥ωα+m,β+m, 0 ≤ l ≤ m, ∀v ∈ ˆBm α,β(I). (2.7) Let I α,β N be the Jacobi-Gauss or Jacobi-Gauss-Radau interpolation o perator. The fol- lowing interpolation approximation result can be found in [ 38]. Lemma 2.2. For any v ∈ ˆBm α,β(I) with m ≥ 1, ∥∂y(I α,β N v− v)∥ωα+1,β+1 + N∥I α,β N v− v∥ωα,β ≲N1− m∥∂m y v∥ωα+m,β+m. (2.8) J. Shen and L. Wang / Commun. Comput. Phys., 5 (2009), pp. 195-241 199 2.2 Mappings Let us consider a family of mappings of the form: x = g(y;s), s > 0, y ∈ I := (− 1,1), x ∈ Λ := (0,+∞) or (− ∞,+∞), (2.9) such that dx dy = g′(y;s) > 0, s > 0, y ∈ I, g(− 1;s) =0, g(1;s) = +∞, if Λ = (0,+∞), g(± 1;s) =± ∞, if Λ = (− ∞,+∞). (2.10) In this one-to-one transform, the parameter s is a positive scaling factor. Without loss of generality , we further assume that the mapping is explici tly invertible, and denote its inverse mapping by y = g− 1(x;s) := h(x;s), x ∈ Λ, y ∈ I, s > 0. (2.11) Several typical mappings that have been proposed and used in practice are of the above type (see, e.g., [11] and the references therein): • Mappings between x ∈ Λ = (− ∞,+∞) and y ∈ I = (− 1,1) with s > 0 : – Algebraic mapping: x = sy√ 1− y2 , y = x√ x2 +s2 . (2.12) – Logarithmic mapping: x = sarctanh(y) = s 2 ln 1+y 1− y , y = tanh(s− 1x). (2.13) – Exponential mapping: x = sinh(sy), y = 1 s ln ( x+ √ x2 +1 ) , y ∈ (− 1,1), x ∈ (− Ls, Ls), (2.14) where Ls = sinh(s). • Mappings between x ∈ Λ = (0,+∞) and y ∈ I = (− 1,1) with s > 0 : – Algebraic mapping: x = s(1+y) 1− y , y = x− s x+s . (2.15) 200 J. Shen and L. Wang / Commun. Comput. Phys., 5 (2009), pp. 195-241 – Logarithmic mapping: x = sarctanh ( y+1 2 ) = s 2 ln 3+y 1− y , y = 1− 2tanh(s− 1x). (2.16) – Exponential mapping: x = sinh ( s 2 (1+y) ) , y = 2 s ln ( x+ √ x2 +1 ) − 1, (2.17) where y ∈ (− 1,1) and x ∈ (0,Ls) with Ls = sinh(s). The special feature which distinguishes these mappings is t hat, as |y| → ±1, x varies algebraically , logarithmically or exponentially for alge braic, logarithmic or exponential mappings, respectively . The parameter s is a scaling/stretching factor which can be used to fine tune the spacing of collocation points. We also notice t hat the image of the expo- nential mappings (2.14) and (2.17) is a finite interval, so the y combine both mapping and domain truncation. 2.3 Mapped Jacobi approximations Given a mapping x=g(y;s) satisfying (2.9)–(2.11) and a family of orthogonal polynomials {pk(y)} with y ∈ I = (− 1,1), { pk(h(x;s)) } forms a new family of orthogonal functions in Λ = (0,∞) or (− ∞,∞). For example, the algebraic mappings (2.12) or (2.15) with t he Chebyshev or Legendre polynomials lead to orthogonal ratio nal basis functions which have been studied in [8, 9, 14, 34, 35, 40]. For the sake of generality , we consider the mapped Jacobi approximations. Let Jα,β k (y) (α,β > − 1) be the k-th degree classical Jacobi polynomials whose properties a re summa- rized in the Appendix. We define the mapped Jacobi polynomials as jα,β s,n (x) := Jα,β n (y) = Jα,β n (h(x;s)), x ∈ Λ, y ∈ I. (2.18) We infer from (2.1) that (2.18) defines a new family of orthogon al functions {jα,β s,n } in L2 ωα,β s (Λ), i.e., ∫ Λ jα,β s,n (x)jα,β s,m(x)ωα,β s (x)dx = γα,β n δm,n, (2.19) where the constant γα,β n is given in (2.2), and the weight function ωα,β s (x) =ωα,β(y) dy dx = ωα,β(y)(g′(y;s))− 1 > 0, (2.20) with y = h(x;s) and ωα,β(y) = (1− y)α(1+y)β. We now present some approximation properties of these mapped Jacobi polynomials. Let us define the finite dimensional approximation space Vα,β s,N = span{jα,β s,n (x) : n = 0,1, ··· , N}, (2.21) J. Shen and L. Wang / Commun. Comput. Phys., 5 (2009), pp. 195-241 201 and consider the orthogonal projection πα,β N,s : L2 ωα,β s (Λ) → Vα,β s,N such that ( πα,β N,su− u,vN ) ωα,β s = 0, ∀vN ∈ Vα,β s,N . (2.22) Thanks to the orthogonality , we can write ( πα,β N,su ) (x) = N ∑ n=0 ˆuα,β s,n jα,β s,n (x), (2.23) where ˆuα,β s,n = 1 γα,β n ∫ Λ u(x)jα,β s,n (x)ωα,β s (x)dx. We now introduce a weighted space which is particularly suit able to describe the L2− projection errors. Given a mapping satisfying (2.9)–(2.11 ), we set as(x) := dx dy (> 0), Us(y) := u(x) =u(g(y;s)). (2.24) The key to express the error estimates in a concise form is to i ntroduce an operator Dxu := as du dx . One verifies readily that dUs dy = as du dx = Dxu, d2Us dy2 = as d dx ( as du dx ) = D2 x u, and an induction argument leads to dkUs dyk = as d dx ( as d dx ( ······ ( as du dx ) ······ ) k− 1 parentheses := Dk xu. (2.25) Let us define ˜Bm α,β(Λ) = { u : u is measurable in Λ and ∥u∥ ˜Bm α,β < ∞ } equipped with the norm and semi-norm ∥u∥ ˜Bm α,β = ( m ∑ k=0 ∥Dk xu∥2 ωα+k,β+k s ) 1 2 , |u|˜Bm α,β = ∥Dm x u∥ωα+m,β+m s , where the weight function ωα+k,β+k s is defined in (2.20). We have the following funda- mental results for the mapped Jacobi approximations. 202 J. Shen and L. Wang / Commun. Comput. Phys., 5 (2009), pp. 195-241 Theorem 2.1. If u ∈ ˜Bm α,β(Λ), we have that for m ≥ 0, ∥πα,β s,Nu− u∥ωα,β s ≲ N− m∥Dm x u∥ωα+m,β+m s , (2.26) and for m ≥ 1, ∥∂x(πα,β s,Nu− u)∥ ˜ωα,β s ≲ N1− m∥Dm x u∥ωα+m,β+m s , (2.27) where ˜ωα,β s (x) =ωα+1,β+1(y)g′(y;s), y = h(x;s). Proof. Let Us(y) = u(x) = u(h(y;s)) whose Jacobi expansion is Us(y) = ∑∞ n =0 ˆUα,β s,n Jα,β n (y). Then, by the definition (2.18), we have the relation between th e coefficients of the Jacobi and mapped Jacobi expansions: ˆuα,β s,n = 1 γα,β n (u, jα,β s,n )ωα,β s = 1 γα,β n (Us, Jα,β n )ωα,β = ˆUα,β s,n . (2.28) Let ˆπα,β N be the L2 ωα,β− orthogonal projection operator associated with the Jacobi polyno- mials (cf. (2.5)). By (2.1), (2.19) and Lemma 2.1, ∥πα,β s,Nu− u∥2 ωα,β s = ∞ ∑ n=N+1 ( ˆuα,β s,n )2γα,β n = ∞ ∑ n=N+1 ( ˆUα,β s,n )2γα,β n = ∥ ˆπα,β N Us − Us∥2 ωα,β ≲ N− 2m∥∂m y Us∥2 ωα+m,β+m ≲ N− 2m∥Dm x u∥2 ωα+m,β+m s . (2.29) Next, we deduce from (2.18) and the orthogonality of {∂y Jα,β n } that {∂x jα,β s,n } is L2 ˜ωα,β s − orthogonal, and ∥∂x jα,β s,n ∥2 ˜ωα,β s = ∥∂y Jα,β n ∥2 ωα+1,β+1 = λα,β n γα,β n , where λα,β n is the eigenvalue of the Jacobi Sturm-Liouville problem (cf . (2.4)). Therefore, by (2.28) and Lemma 2.1, ∥∂x(πα,β s,Nu− u)∥2 ˜ωα,β s = ∞ ∑ n=N+1 λα,β n γα,β n ( ˆuα,β s,n )2 = ∞ ∑ n=N+1 λα,β n γα,β n ( ˆUα,β s,n )2 = ∥∂y(πα,β N Us − Us)∥2 ωα+1,β+1 ≲ N2(1− m)∥∂m y Us∥2 ωα+m,β+m ≲ N2(1− m)∥Dm x u∥2 ωα+m,β+m s . (2.30) This ends the proof. J. Shen and L. Wang / Commun. Comput. Phys., 5 (2009), pp. 195-241 203 Remark 2.1. It should be pointed out that under the above general setting s, the approxi- mation results on the higher-order projections, such as the H1 ωα,β s (Λ)− orthogonal projec- tion π1,α,β s,N : H1 ωα,β s (Λ)→ Vα,β s,N , can be established by using the existing Jacobi approximation results (see, e.g., [38]) and a similar argument as above. In particular, applying the above results with α=β=0,− 1/2 to the algebraic mappings (2.12) and (2.15) leads to more concise and in some cases impr oved, Chebyshev and Leg- endre rational approximation results which were developed separately in [34, 35, 39, 54]. The error estimates in the above theorem look very similar to the usual spectral error estimates in a finite interval (cf. Lemma 2.1). First of all, it is clear from the above theorem that the projection error converges faster than any algebra ic rate if a function decays exponentially fast at infinity . For a function with singulari ties inside the domain, the above theorem and Lemma 2.1 lead to the same order of converge nce, assuming that the function decays sufficiently fast at infinity . However, for a gi ven smooth function, they may lead to very different convergence rates due to the diffe rence in the norms used to measure the regularity . We now determine the convergence rates for three sets of functions with typical decay properties: Set 1. Exponential decay with oscillation at infinity u(x) =sinkxe − x for x ∈ (0,∞) or u(x) =sinkxe − x2 for x ∈ (− ∞,∞). (2.31) Set 2. Algebraic decay without oscillation at infinity u(x) = (1+ x)− h for x ∈ (0,∞) or u(x) = (1+ x2)− h for x ∈ (− ∞,∞). (2.32) Set 3. Algebraic decay with oscillation at infinity u(x) = sinkx (1+ x)h for x ∈ (0,∞) or u(x) = sinkx (1+ x2)h for x ∈ (− ∞,∞). (2.33) Consider first the mapping (2.15). Then, Dx = ( dy dx ) − 1 d dx = (x+s)2 2s d dx , ωk,l s (x) = ( 2s x+s ) k( 2x x+s ) l 2s (x+s)2 . Hence, for u(x)=( 1+x)− h, it can be easily checked that ∥Dm x u∥ωα+m,β+m s <∞ if m<2h+α+1, which implies that ∥u− πα,β N u∥ωα,β s ≲ N− (2h+α+1) (u(x) = (1+ x)− h). (2.34) 204 J. Shen and L. Wang / Commun. Comput. Phys., 5 (2009), pp. 195-241 On the other hand, for u(x) = sinkx ·(1+ x)− h, it can also be easily checked that ∥Dm x u∥ωα+m,β+m s < ∞ if m < 2h+α+1 3 , which implies that ∥u− πα,β N u∥ωα,β s ≲ N− (2h+α+1)/3 ( u(x) = sinkx (1+ x)h ) . (2.35) Next, we consider the mapping (2.12) which leads to Dx = ( dy dx ) − 1 d dx = (x2 +s2)3/2 s2 d dx , ωk,l s (x) = ( √ x2 +s2 − x√ x2 +s2 ) k( √ x2 +s2 + x√ x2 +s2 ) l s2 (x2 +s2)3/2 . Hence, for u(x) = (1+ x2)− h, we have ∥Dm x u∥ωα+m,β+m s < ∞ if m < 2h+α+1, which implies that ∥u− πα,β N u∥ωα,β s ≲ N− (2h+α+1) (u(x) = (1+ x2)− h). (2.36) On the other hand, for u(x) =sinkx ·(1+ x2)− h, we have ∥Dm x u∥ωα+m,β+m s < ∞ if m < 2h+α+1 2 , which implies that ∥u− πα,β N u∥ωα,β s ≲ N− (2h+α+1)/2 ( u(x) = sinkx (1+ x2)h ) . (2.37) A few remarks are in order: (i) If h is a positive integer, then u(x) = (1+ x)− h and u(x) = (1+ x2)− h are rational functions and they can be expressed exactly by a finite sum of mapped rational functions; (ii) For other cases, only alg ebraic convergence rates are achievable even though the functions are smooth; (iii) the c onvergence rate for solutions with oscillation at infinities is much slower than that for sol utions without oscillation at infinities; and (iv) For solutions with exponential decay a t infinity , the convergence rate will be faster than any algebraic rate; numerical resul ts in [34, 35, 54] (see also [11]) indicate that the convergence rate is sub-geometrical as e− c √ N; and (v) numerical results performed in [34, 35, 39, 54] are consistent with the estimat es in (2.34)-(2.37). 2.4 Mapped Jacobi interpolation approximations We now consider the Gauss and Gauss-Radau quadrature formul as on unbounded do- mains based on the mapped Jacobi polynomials. To fix the idea, w e only consider the Gauss quadrature, since the Gauss-Radau quadrature (which is useful in the semi-infinite interval) can be treated in exactly the same fashion. Let { ξα,β N,j,ωα,β N,j }N j =0 be the Jacobi- Gauss nodes and weights, and there holds ∫ 1 − 1 φ(y)ωα,β(y)dy = N ∑ j=0 φ(ξα,β N,j)ωα,β N,j, ∀φ ∈ P2N+1. (2.38) J. Shen and L. Wang / Commun. Comput. Phys., 5 (2009), pp. 195-241 205 Applying a mapping (2.9) to the above leads to the mapped Jaco bi-Gauss quadrature: ∫ Λ u(x)ωα,β s (x)dx = N ∑ j=0 u(ζα,β s,N,j)ρα,β s,N,j, ∀u ∈ Vα,β s,2N+1, (2.39) where ζα,β s,N,j := g(ξα,β N,j;s), ρα,β s,N,j := ωα,β N,j, 0 ≤ j ≤ N (2.40) are the mapped Jacobi-Gauss nodes and weights. Accordingly , we can define the discrete inner product and discrete norm: (u,v)ωα,β s ,N = N ∑ j=0 u(ζα,β s,N,j)v(ζα,β s,N,j)ρα,β s,N,j, ∥u∥ωα,β s ,N = (u,u) 1 2 ωα,β s ,N , ∀u,v ∈ C(Λ). The mapped Jacobi-Gauss interpolation operator I α,β s,N : C(Λ) → Vα,β s,N , is defined by I α,β s,Nu ∈ Vα,β s,N such that (I α,β s,Nu)(ζα,β s,N,j) =u(ζα,β s,N,j), j = 0,1, ··· , N. (2.41) Let I α,β N be the Jacobi-Gauss (or Jacobi-Gauss-Radau) interpolatio n operator. By defini- tion, we have I α,β s,Nu(x) = (I α,β N Us)(y) = (I α,β N Us)(h(x;s)). (2.42) Then, we can easily derive the following results by combinin g Lemma 2.2 and Theorem 2.1. Theorem 2.2. If u ∈ ˜Bm α,β(Λ) with m ≥ 1, then ∥∂x(I α,β s,Nu− u)∥ ˜ωα,β s + N∥I α,β s,Nu− u∥ωα,β s ≲ N1− m∥Dm x u∥ωα+m,β+m s . (2.43) We now examine how the mapping parameter s affects the distribution of the nodes. Assume that the nodes { ζα,β s,N,j }N j =0 are arranged in ascending order. We first observe that by the mean value theorem, ζα,β s,N,j+1 − ζα,β s,N,j = g′(ξ;s)(ξα,β s,N,j+1 − ξα,β s,N,j), (2.44) for certain ξ ∈ (ξα,β s,N,j,ξα,β s,N,j+1). Hence, the intensity of stretching essentially depends on the derivative values of the mapping. For the mappings (2.13 ), (2.12), (2.16) and (2.15), we have dx dy = g′(y;s) = s 1− y2 , s (1− y2)3/2 , 2s (3+y)(1− y) , 2s (1− y)2 , (2.45) respectively . Therefore, the grid is stretched more and more as s increases. 206 J. Shen and L. Wang / Commun. Comput. Phys., 5 (2009), pp. 195-241 −10 −5 0 5 10 x (a) Distribution of xj∈(−∞,∞) n=8 n=12 n=16 n=20 0 100 200 300 x (c) Distribution of xj∈(0,∞) n=8 n=12 n=16 n=20 −20 −10 0 10 20 x (b) Effect of scaling factor s s=0.1 s=0.5 s=1.0 s=1.5 s=2.0 0 0.2 0.4 0.6 0.8 1 x (d) Effect of scaling factor s s=0.1, m=27 s=0.5, m=20 s=1.0, m=17 s=1.5, m=15 s=2.0, m=13 Figure 1: (a) Hermite-Gauss points (“ ◦”) vs. mapped Legendre-Gauss points using the algebraic map (2 .12) with s=1 (“•”) for various n; (b) Mapped Legendre-Gauss points with n=16 and various scaling factor s; (c) Laguerre-Gauss-Radau points (“ ◦”) vs. mapped Legendre-Gauss-Radau points using the algebra ic map (2.15) with s =1 (“⋆ ”) for various n; (d) Mapped Legendre-Gauss-Radau points with n =32 and various scaling factor s (m is the number of points in the subinterval [0,1)). In Fig. 1, we plot sample grid distributions for different sc aling factors with various numbers of nodes for the mapped Legendre Gauss (or Gauss-Rad au) points (see the cap- tion for details). A comparison with Hermite-Gauss points is also presented in Fig. 1(a). We notice that the mapped Legendre-Gauss points are more clustered ne ar the origin and spread further, while the Hermite-Gauss points are more evenly dis tributed. It should be ob- served that the distribution of mapped Legendre-Gauss poin ts is more favorable since a much larger effective interval is covered. However, it can b e shown that in both cases, J. Shen and L. Wang / Commun. Comput. Phys., 5 (2009), pp. 195-241 207 the smallest distance between neighboring points is O(N− 1), as opposed to O(N− 2) for Jacobi-Gauss type nodes in a finite interval. A comparison of mapped Legendre and Laguerre Gauss-Radau no des is shown in Fig. 1(c). The mapped Legendre-Gauss-Radau points are much more clustered near the origin, and one can check that the smallest distance betw een neighboring points is O(N− 2), as opposed to O(N− 1) for the Laguerre Gauss-Radau nodes. Hence, the dis- tribution of mapped Legendre-Gauss-Radau points is more fa vorable as far as resolu- tion/accuracy is concerned but it will lead to a more restric tive CFL condition if explicit schemes are used for time-dependent problems. 2.5 Numerical methods using mapped Jacobi polynomials 2.5.1 A generic example Consider the model equation γu − ∂x(a(x)∂xu) = f , x ∈ Λ = (− ∞,+∞), γ ≥ 0, (2.46) with suitable decay conditions at ± ∞ which will depend on the weight function in the weighted variational formulation. For a given mapping x=g(y;s) with x∈Λ and y∈(− 1,1), we recall that the mapped Ja- cobi polynomials are mutually orthogonal in L2 ωα,β s (Λ). Hence, the mapped Jacobi method for (2.46) is to find uN ∈ Vα,β s,N such that γ(uN,vN)ωα,β s + ( a(x)∂xuN,∂x(vNωα,β s ) ) = (I α,β s,N f ,vN)ωα,β s , ∀vN ∈ Vα,β s,N . (2.47) Let us now consider the second approach described in the intr oduction. Here, Eq. (2.46) is first transformed into γUs − 1 g′(y;s) ∂y ( a(g(y;s)) g′(y;s) ∂yUs ) = Fs, (2.48) where Us(y) =u(g(y;s)) and Fs(y) = f (g(y;s)). Then, let ˆωα,β s (y) =ωα,β(y)g′(y;s), the Jacobi spectral method for (2.48) is to find ˜uN ∈ PN such that γ( ˜uN, ˜vN)ωα,β + ( a(g(y;s)) g′(y;s) ∂y ˜uN,∂y( ˜vN ˆωα,β s ) ) = (I α,β N Fs, ˜vN)ωα,β, ∀˜vN ∈ PN. (2.49) One can verify easily that ˜uN(y) =uN(g(y;s)). Hence, the two approaches are mathemat- ically equivalent. We remark that the formulation (2.49) is in general more difficult to analyze due to the singular nature of g′(y;s), while the analysis for the formulation (2.47) becomes stan dard once we establish the basic approximation properties of the mapped Jacobi polynomials. 208 J. Shen and L. Wang / Commun. Comput. Phys., 5 (2009), pp. 195-241 On the other hand, Eq. (2.48) can be easily implemented using the standard Jacobi-collocation (or more specifically Chebyshev-colloc ation) method. Indeed, let {hj,N(y)}1≤ j≤ N be the Lagrange polynomials associated with the Jacobi-Gau ss points {yj}1≤ j≤ N, the Jacobi-collocation approximation to (2.48) is to find Us,N(y) = ∑N j =1 ujhj,N (y) such that γUs,N(yj)− ( 1 g′(y;s) ∂y ( a(g(y;s)) g′(y;s) ∂yUs,N ) ) (yj) =Fs(yj), 1 ≤ j ≤ N. (2.50) Let us denote u = (u1,··· ,uN)t, f = (Fs(y1),··· ,Fs(yN))t, Dij = h′ j(yi), D = (Dij), Λi = a(g(yi;s)) g′(yi;s) , Λ = diag(Λi), Σi = 1 g′(yi;s) , Σ = diag(Σi). Then, (2.50) leads to the matrix system (γI − ΣDΛD)u = f, which can be easily solved by using a standard linear algebra routine. Note that in the above procedure, we only need to compute the Jacobi-Gauss po ints {yj}1≤ j≤ N and the associated differentiation matrix D whose entries can be found for instance in [19]. 2.5.2 Error estimates for a model problem We consider the Jacobi rational approximation to the model p roblem γu (x)− ∂2 xu(x) = f (x), x ∈ Λ = (0,∞), u(0) =0, (2.51) with a suitable decay condition at infinity which is to be deter mined by the weak formu- lation of (2.51). For a given mapping, let ω = ωα,β s be the weight function associated with the mapped Jacobi polynomials, and denote H1 0,ω(Λ) ={u ∈ H1 ω(Λ) : u(0) =0}. We define a bilinear form aω(v,φ) =γ(v,φ)ω +( ∂xv,∂x(φω)), ∀u,v ∈ H1 0,ω(Λ). Then, a weak formulation for (2.51) is to find u ∈ H1 0,ω(Λ) such that aω(u,v) = (f ,v)ω, ∀v ∈ H1 0,ω(Λ), (2.52) for f ∈ ( H1 0,ω(Λ) ) ′. Note that u ∈ H1 0,ω(Λ) implies a decay condition for u at infinity . J. Shen and L. Wang / Commun. Comput. Phys., 5 (2009), pp. 195-241 209 Let us denote XN ={u∈Vα,β s,N :u(0)=0}. We can then define the Galerkin approximation of (2.52) by the mapped Jacobi polynomials as follows: For f ∈L2 ω(Λ)∩C( ¯Λ), find uN∈XN such that aω(uN,vN) = (I α,β s,N f ,vN)ω, ∀vN ∈ XN. (2.53) Unlike the standard spectral method in a finite domain, the wel l-posedness of (2.52) and of (2.53) is not guaranteed for all cases with γ ≥ 0. A general result for the well- posedness of an abstract equation of the form (2.52) is estab lished in [49]. For the readers’ convenience, we recall this result below (cf. Lemma 2.3 in [4 9]): Lemma 2.3. We assume that d1 = max x∈ ¯Λ |ω− 1(x)∂xω(x)|, d2 = max x∈ ¯Λ |ω− 1(x)∂2 xω(x)| are finite and that u 2(x)ω′(x)|x∈∂Λ = 0 for u ∈ H1 0,ω(Λ). Then, for any u ,v ∈ H1 ω(Λ), we have that aω(u,v) ≤ (d1 +1)|u|1,ω∥v∥1,ω +γ∥u∥ω∥v∥ω, (2.54) and for any v ∈ H1 0,ω(Λ), a(ν) ω (v,v) ≥ |v|2 1,ω +( γ− d2/2)∥v∥2 ω. (2.55) Remark 2.2. The inequality (2.55) is derived under a general framework. For a specific problem, the constant γ− d2/2 can often be replaced by a larger constant. Thanks to the above lemma, it is then straightforward to prov e the following general result: Theorem 2.3. Assume that the conditions of Lemma (2.3) are satisfied and γ − d2/2>0. Then the problem (2.52) (resp. (2.53)) admits a unique solution. Furthermore, we have the error est imate: ∥u− uN∥1,ω ≲ inf vN∈XN ∥u− vN∥1,ω +∥ f −I α,β s,N f ∥ω. (2.56) Remark 2.3. With a change of variable x to x/c (c > 0) for Eq. (2.46), the restriction on γ can be relaxed to γ > 0. Hence, given a mapping and a pair of Jacobi parameters (α,β), we just need to com- pute upper bounds for d1 and d2, verify that the conditions of Theorem 2.3 are satisfied, and apply the approximation results in Theorems 2.1 and 2.2 t o (2.56) to get the desired error estimates. Consider for example the mapped Legendre method for (2.52) w ith the mapping (2.15). It can be shown that for this mapping, we have d1 ≤ 2 and d2 ≤ 6. Applying Theorems 2.1 and 2.2 to (2.56) with (α,β) = (0,0) leads to the following results: 210 J. Shen and L. Wang / Commun. Comput. Phys., 5 (2009), pp. 195-241 Corollary 2.1. Let u and u N be the solutions of (2.52) and (2.53) with (α,β) = (0,0) and the mapping (2.15) with s = 1. Assume that u ∈ ˜Bm 0,0(Λ), f ∈ ˜Bk 0,0(Λ) and γ > 3. We have ∥u− uN∥1,ω0,0 1 ≲ N1− m∥Dm x u∥ωm,m 1 + N− k∥Dk x f ∥ωk,k 1 . (2.57) We note that a slightly improved condition on γ was derived in [35] using a refined estimate for (2.55). A similar procedure can be applied to the mapped Chebyshev me thod for (2.52) with the mapping (2.15). Note however that in this case we have d1,d2 = ∞. Nevertheless, one can still show that aω(·,·) is continuous and coercive (cf. [34]). Applying Theorems 2. 1 and 2.2 to (2.56) with (α,β) = (− 1 2 ,− 1 2 ) leads to the following results (cf. [34]): Corollary 2.2. Let u and u N be the solutions of (2.52) and (2.53) with (α,β)=( − 1 2 ,− 1 2 ) and the mapping (2.15) with s = 1. Assuming that u ∈ ˜Bm − 1/2,− 1/2(Λ) and f ∈ ˜Bk − 1/2,− 1/2(Λ) and that γ > 14 27 . We have ∥u− uN∥1,ω− 1/2,− 1/2 1 ≲ N1− m∥Dm x u∥ωm− 1/2,m− 1/2 1 + N− k∥Dk x f ∥ωk− 1/2,k− 1/2 1 . (2.58) Remark 2.4. Error estimates which are essentially equivalent to (2.57) and (2.58) but in different forms were derived in [34, 35]. The same procedure can be used to derive error estimates on ma pped Jacobi methods for problems in the whole line (cf. [39, 54]). 3 Laguerre spectral methods For problems in a semi-infinite interval, it is natural to use ( generalized) Laguerre poly- nomials/functions which form orthonormal basis in (weight ed) Sobolev spaces. 3.1 Generalized Laguerre approximations We first recall some basic properties of generalized Laguerre polynomials/functions. 3.1.1 Generalized Laguerre polynomials Let Λ : = (0,∞). The generalized Laguerre polynomials (GLPs), denoted by L(α) n (x)(α > − 1), are the eigenfunctions of the Sturm-Liouville problem x− αex∂x ( xα+1e− x∂xL(α) n (x) ) +λnL(α) n (x) =0, x ∈ Λ, (3.1) with the eigenvalues λn = n. Compared with the Jacobi polynomials in a finite interval, the linear growth of λn for the Laguerre polynomial indicates, on the one hand, a slo wer convergence rate of the Laguerre expansion, but on the other hand, leads to better inverse inequalities and consequently milder CFL conditions for ti me dependent problems. J. Shen and L. Wang / Commun. Comput. Phys., 5 (2009), pp. 195-241 211 The GLPs are mutually orthogonal in L2 ωα(Λ) with the weight function ωα(x)= xαe− x, i.e., ∫ +∞ 0 L(α) n (x)L(α) m (x)ωα(x)dx = γ(α) n δmn with γ(α) n = Γ(n+α+1) Γ(n+1) . (3.2) The three-term recurrence formula of the GLPs reads (n+1)L(α) n+1(x) = (2n+α+1− x)L(α) n (x)− (n+α)L(α) n− 1(x), L(α) 0 (x) =1, L(α) 1 (x) =α+1− x. (3.3) We infer from (3.1) and (3.2) that ∫ +∞ 0 ∂xL(α) n (x)∂xL(α) m (x)xωα(x)dx = λnγ(α) n δmn. (3.4) An important property of the GLPs is the following derivativ e relation: ∂xL(α) n (x) =−L (α+1) n− 1 (x) =− n− 1 ∑ k=0 L(α) k (x). (3.5) The case α=0 leads to the classical Laguerre polynomials, which are used most frequently in practice and will simply be denoted by Ln(x). As in the finite interval case, it is actually easier to study the whole family of generalized Laguerre pol ynomials, rather than the Laguerre polynomials alone. 3.1.2 Approximation results by generalized Laguerre polyn omials We begin by analyzing the approximation properties of the L 2 ωα− orthogonal projection πN,α : L2 ωα(Λ) → PN, defined by (u− πN,αu,vN)ωα = 0, ∀vN ∈ PN. (3.6) It is clear that the polynomial πN,αu is the best approximation u in L2 ωα(Λ), and πN,αu(x) = N ∑ n=0 ˆu(α) n L(α) n (x), with ˆu(α) n = 1 γ(α) n ∫ +∞ 0 u(x)L(α) n (x)ωα(x)dx, n ≥ 0. Similar to the Jacobi approximations, we define Bm α (Λ) := { u : ∂k xu ∈ L2 ωα+k(Λ), 0 ≤ k ≤ m } , (3.7) 212 J. Shen and L. Wang / Commun. Comput. Phys., 5 (2009), pp. 195-241 equipped with the norm and semi-norm ∥u∥Bmα = ( m ∑ k=0 ∥∂k xu∥2 ωα+k ) 1/2 , |u|Bmα = ∥∂m x u∥2 ωα+m. In particular, we omit the subscript α, when α = 0. In contrast to the usual weighted Sobolev space Hm ωα (Λ), the weight function corresponding to derivative of different order is different in Bm α (Λ). We observe from (3.5) that ∂k xL(α) n (x) = (− 1)kL(α+k) n− k (x), n ≥ k, (3.8) and so { ∂k xL(α) n } are orthogonal with respect to the weight ωα+k, i.e., ∫ +∞ 0 ∂k xL(α) l (x)∂k xL(α) n (x)ωα+k(x)dx = γ(α+k) n− k δln. (3.9) By (3.2) and the Stirling formula, Γ(x+1) ∼ √ 2πxx+1/2e− x, x ≫ 1, (3.10) we have γ(α+k) n− k = Γ(n+α+1) Γ(n− k+1) ∼ nα+k, for n ≫ 1. Summing (3.9) over 0 ≤ k ≤ m leads to m ∑ k=0 ( ∂k xL(α) l ,∂k xL(α) n ) ωα+k = 0, if l ̸= n and k > min{l,n} which implies that { L(α) n } are orthogonal in the space Bm α (Λ). The fundamental generalized Laguerre approximation result is stated below (see, e.g., [19]). Theorem 3.1. For any u ∈ Bm α (Λ) and m ≥ 0, ∥∂l x(πN,αu− u)∥ωα+l ≲ N(l− m)/2∥∂m x u∥ωα+m, 0 ≤ l ≤ m. (3.11) Proof. Obviously , we have that ∂l x(πN,αu− u) =− ∞ ∑ n=N+1 ˆu(α) n ∂l xL(α) n (x). J. Shen and L. Wang / Commun. Comput. Phys., 5 (2009), pp. 195-241 213 Hence, by the orthogonality and the Stirling formula (3.10) , ∥∂l x(πN,αu− u)∥2 ωα+l = ∞ ∑ n=N+1 γ(α+l) n− l |ˆu(α) n |2 ≤ max n>N { γ(α+l) n− l /γ(α+m) n− m } ∞ ∑ n=N+1 γ(α+m) n− m |ˆu(α) n |2 ≲ Nl− m∥∂m x u∥2 ωα+m. This completes the proof. Next, we consider the approximation results for the H1− type orthogonal projections. For simplicity , we consider only the usual Laguerre case, i. e., α = 0. Hereafter, let ω(x) = e− x be the usual Laguerre weight function, and denote H1 0,ω(Λ) = { u ∈ H1 ω(Λ) : u(0) =0 } , P0 N = { φ ∈ PN : φ(0) =0 } . (3.12) Consider the orthogonal projection π1,0 N : H1 0,ω(Λ) → P0 N, defined by ( (u− π1,0 N u)′,v′ N ) ω = 0, ∀vN ∈ P0 N. (3.13) Theorem 3.2. If u ∈ H1 0,ω(Λ) and ∂xu ∈ Bm− 1 0 (Λ), then for m ≥ 1, ∥π1,0 N u− u∥1,ω ≲ N 1 2 − m 2 ∥∂m x u∥ωm− 1. (3.14) Proof. Let φ(x) = ∫ x 0 πN− 1,0u′(y)dy. Then u− φ ∈ H1 0,ω(Λ). Thanks to the imbedding inequality (see, e.g., [31]) ∥u∥ω ≲ ∥∂xu∥ω, and Theorem 3.1 with α = 0, we find that ∥π1,0 N u− u∥1,ω ≤ ∥φ− u∥1,ω ≲ ∥∂x(φ− u)∥ω ≲ N 1 2 − m 2 ∥∂m x u∥ωm− 1. This ends the proof. We note that in general Laguerre polynomials are not good candidates for approxima- tions in infinite domains due to their wild behaviors at infinity . This fact is also reflected in the error estimates in Theorems 3.1 and 3.2. Although thes e error estimates are also of spectral type, but due to the exponential decay weight in t he norm, they only imply meaningful pointwise approximation for a short interval. H ence, the GLPs are only suit- able for the approximation of functions with fast algebraic (or exponential) growth at infinity . For problems with some decay properties at infinity , i t is more appropriate to use the so called generalized Laguerre functions (GLFs) whi ch we shall consider below. 214 J. Shen and L. Wang / Commun. Comput. Phys., 5 (2009), pp. 195-241 3.1.3 Generalized Laguerre functions The generalized Laguerre functions (GLFs) are defined by ˆ L(α) n (x) := e− x/2L(α) n (x), α > − 1, x ∈ Λ. (3.15) It is clear that by (3.2), the GLFs are orthogonal with respec t to the weight function ˆωα = xα, i.e., ∫ +∞ 0 ˆL(α) n (x) ˆL(α) m (x) ˆωα(x)dx = γ(α) n δmn, (3.16) where the constant γ(α) n is given in (3.2). In particular, the usual Laguerre functio ns ˆLn(x) =e− x/2Ln(x), n ≥ 0, x ∈ Λ, (3.17) are orthonormal with respect to the uniform weight ˆω0 ≡ 1. As in the last section, we introduce an operator ˆ∂x = ∂x + 1 2 which implies that ∂xL(α) n (x) =ex/2 ˆ∂x ˆL(α) n (x). (3.18) It is straightforward to check that the GLFs satisfy the foll owing properties: • Three-term recurrence relation (n+1) ˆL(α) n+1 = (2n+α+1− x) ˆL(α) n − (n+α) ˆL(α) n− 1, ˆL(α) 0 = e− x/2, ˆL(α) 1 = (α+1− x)e− x/2. (3.19) • The Sturm-Liouville equation: x− αex/2∂x ( xα+1e− x/2 ˆ∂x ˆL(α) n (x) ) +n ˆL(α) n (x) =0. (3.20) • Orthogonality of the derivative: ∫ Λ ˆ∂x ˆL(α) n (x) ˆ∂x ˆL(α) m (x) ˆωα+1(x)dx = λnγ(α) n δmn. (3.21) • Some recurrence formulas: ˆ∂x ˆL(α) n (x) =− ˆL(α+1) n− 1 (x) =− n− 1 ∑ k=0 ˆL(α) k (x), (3.22a) ˆL(α) n (x) = ˆ∂x ˆL(α) n (x)− ˆ∂xL(α) n+1(x), (3.22b) x ˆ∂xL(α) n (x) =n ˆL(α) n (x)− (n+α) ˆL(α) n− 1(x). (3.22c) We plot in Fig. 2 some sample graphs of GLPs and GLFs. In contra st to the GLPs, the GLFs are well-behaved with the decay property (see Fig. 2 (d) ): |ˆL(α) n (x)| →0, as x → +∞. (3.23) Therefore, the GLPs are suitable for approximation of funct ions which decay at infinity . J. Shen and L. Wang / Commun. Comput. Phys., 5 (2009), pp. 195-241 215 0 2 4 6 −5 0 5 x (a) Laguerre polynomials L0 L1 L2 L3 L4 L5 0 100 200 10 0 10 25 10 50 x (b) Graph of | L80(x)| 0 5 10 −20 1 20 40 x (c) Laguerre polynomials L(0) 4 L(1) 4 L(3) 4 L(2) 4 0 10 20 −0.5 0 0.5 1 x (d) Laguerre functions n=0 n=1 n=2 n=3 n=4 n=5 Figure 2: (a) Graphs of the first six Laguerre polynomials Ln(x) with n = 0,1, ··· ,5 and x ∈ [0,6]; (b) Growth of |L80(x)|against the upper bound x− 1/4ex/2 (dashed line); (c) Graphs of the generalized Laguerre polyn omials L(α) 4 (x) with α = 0,1,2,3 and x ∈ [0,10]; (d) Graphs of the first six Laguerre functions ˆLn(x) with n = 0,1, ··· ,5 and x ∈ [0,20]. 3.1.4 Approximation results by generalized Laguerre funct ions It is straightforward to extend the Laguerre polynomial app roximations to the Laguerre function approximations. Indeed, for any u ∈ L2 ˆωα(Λ), we have uex/2 ∈ L2 ωα(Λ). Let us denote ˆPN := {v : v = e− x/2w with w ∈ PN}, (3.24) and define the operator ˆπN,αu = e− x/2πN,α(uex/2) ∈ ˆPN. (3.25) Clearly , by (3.6), ( ˆπN,αu− u,vN) ˆωα = ( πN,α(uex/2)− (uex/2),(vNex/2) ) ωα = 0, ∀vN ∈ ˆPN. (3.26) 216 J. Shen and L. Wang / Commun. Comput. Phys., 5 (2009), pp. 195-241 Hence, ˆπN,α is the orthogonal projector from L2 ˆωα(Λ) to ˆPN, and therefore its approxima- tion properties can be derived from that of πN,α. Let ˆ∂x = ∂x +1/2. We define ˆBm α (Λ) := { u : ˆ∂k xu ∈ L2 ˆωα+k(Λ), 0 ≤ k ≤ m } , (3.27) equipped with the norm and semi-norm ∥u∥ ˆBmα = ( m ∑ k=0 ∥ˆ∂k xu∥2 ˆωα+k ) 1/2 , |u|ˆBmα = ∥ˆ∂m x u∥2 ˆωα+m. Then, we have the following result for ˆπN,α. Theorem 3.3. For any α > − 1 and u ∈ ˆBm α (Λ), ∥ˆ∂l x( ˆπN,αu− u)∥ ˆωα+l ≲ N(l− m)/2∥ˆ∂m x u∥ ˆωα+m. (3.28) Proof. Let v = uex/2. One verifies easily from (3.18) that ∂l x(πN,αv− v) =∂l x(ex/2( ˆπN,αu− u)) =ex/2 ˆ∂l x( ˆπN,αu− u), and likewise, ∂m x v=ex/2 ˆ∂m x u. Hence, the desired result is a direct consequence of (3.11). Remark 3.1. When comparing the error estimate in the above theorem with t he corre- sponding result for classical Jacobi approximation (see Le mma 2.1), we notice that the convergence rate of the Laguerre approximation is only half of the classical Jacobi ap- proximation. This is a direct consequence of the linear grow th of the eigenvalues in the Laguerre Sturm-Liouville problem, as opposed to the qua dratic growth in the Jacobi Sturm-Liouville problem. The comparison with the mapped Jacobi approximation (cf. Th eorem 2.1) is more delicate. Consider u(x) = (1+x)− h and u(x) =sinkx ·(1+ x)− h. It can be easily checked that for both functions ∥ˆ∂m x u∥ ˆωα+m < ∞ if m < 2h− α− 1 which implies that ∥u− ˆπN,αu∥ ˆωα ≲ N− (2h− α− 1)/2. (3.29) Comparing with the error estimates by mapped Jacobi polynom ials in (2.34) and (2.35), we observe that the mapped Jacobi approximation leads to bet ter convergence rate for functions without oscillation at infinity such as u(x)=( 1+x)− h, but the Laguerre approx- imation is better for functions with oscillation at infinity s uch as u(x) =sinkx ·(1+ x)− h. Next, we define an orthogonal projector in H1 0 (Λ) through the operator π1,0 N . Since for any u ∈ H1 0 (Λ), we have uex/2 ∈ H1 0,ω(Λ). Let us denote ˆP0 N := {v ∈ ˆPN : u(0) =0}, (3.30) and define the operator ˆπ1,0 N u = e− x/2π1,0 N (uex/2) ∈ ˆP0 N. The following results characterize the properties of π1,0 N (cf. [48]). J. Shen and L. Wang / Commun. Comput. Phys., 5 (2009), pp. 195-241 217 Theorem 3.4. ((u− ˆπ1,0 N u)′,v′ N)+ 1 4 (u− ˆπ1,0 N u,vN) =0, ∀u ∈ H1 0 (Λ), vN ∈ ˆP0 N; (3.31) and for m ≥ 1, ∥ ˆπ1,0 N u− u∥1 ≲ N 1 2 − m 2 ∥ˆ∂m x u∥ ˆωm− 1, ∀u ∈ H1 0 (Λ) with ˆ∂xu ∈ ˆBm− 1 0 (Λ). (3.32) Proof. Using the definition of π1,0 N , and integration by parts, we find that for any vN = wNe− x/2 with wN ∈ P0 N, ((u− ˆπ1,0 N u)′,v′ N) = ( [(uex/2)− π1,0 N (uex/2)]′− 1 2 [(uex/2)− π1,0 N (uex/2)],w′ N − 1 2 wN ) ω = − 1 2 ∫ ∞ 0 [(uex/2)− π1,0 N (uex/2)wN]′e− xdx + 1 4 ((uex/2)− π1,0 N (uex/2),wN)ω = − 1 4 ((uex/2)− π1,0 N (uex/2),vN)ω = − 1 4 (u− ˆπ1,0 N u,vN), which implies the identity (3.31). Now let v = uex/2. It is clear that ∂x( ˆπ1,0 N u− u) =− 1 2 e− x/2(π1,0 N v− v)+ e− x/2∂x(π1,0 N v− v). Hence, using Lemma 3.2 and the fact that ∂m x v = ex/2 ˆ∂m x u, leads to ∥∂x( ˆπ1,0 N u− u)∥ ≲ ∥π1,0 N v− v∥ω +∥∂x(π1,0 N v− v)∥ω ≲ N 1 2 − m 2 ∥x m− 1 2 ∂m x v∥ω ≲ N 1 2 − m 2 ∥x m− 1 2 ˆ∂m x u∥. Similarly , we have ∥ ˆπ1,0 N u− u∥ ≲ N 1 2 − m 2 ∥ˆ∂m x u∥ ˆωm− 1. This completes the proof. 3.2 Laguerre-Gauss type quadratures and interpolation by L aguerre polynomials/functions We recall first the (generalized) Laguerre-Gauss type quadra tures (cf. [19, 52]). 218 J. Shen and L. Wang / Commun. Comput. Phys., 5 (2009), pp. 195-241 Theorem 3.5. Let {x(α) j ,ω(α) j }N j =0 be the nodes and weights associated with the Laguerre-Gauss or Laguerre-Gauss-Radau quadrature. Then, ∫ +∞ 0 p(x)xαe− xdx = N ∑ j=0 p(x(α) j )ω(α) j , ∀p ∈ P2N+δ, (3.33) where δ = 1,0 for Laguerre-Gauss and Laguerre-Gauss-Radau quadrature, respectively. • For the Laguerre-Gauss quadrature: {x(α) j }N j =0 are the zeros of L(α) N+1(x); ω(α) j = − Γ(N+α+1) (N+1)! 1 L(α) N (x(α) j )∂xL(α) N+1(x(α) j ) = Γ(N+α+1) (N+α+1)(N+1)! x(α) j [ L(α) N (x(α) j ) ] 2 , 0 ≤ j ≤ N. (3.34) • For the Laguerre-Gauss-Radau quadrature: x(α) 0 = 0, {x(α) j }N j =1 are the zeros of ∂xL(α) N+1(x); ω(α) 0 = (α+1)Γ2(α+1)Γ(N+1) Γ(N+α+2) , ω(α) j = Γ(N+α+1) N!(N+α+1) 1 [∂xL(α) N (x(α) j )]2 = Γ(N+α+1) N!(N+α+1) 1 [L(α) N (x(α) j )]2 , 1 ≤ j ≤ N. (3.35) In practice, the above quadrature is rarely used due to the ex ponential weight. In- stead, the following quadratures with respect to the weight function ˆωα should be used. Theorem 3.6. Let { x(α) j ,ω(α) j } be the set of Laguerre-Gauss or Laguerre-Gauss-Radau quadr a- ture nodes and weights given in Theorem 3.5. Denote ˆω(α) j = ex(α) j ω(α) j , 0 ≤ j ≤ N. (3.36) Then we have ∫ +∞ 0 p(x)q(x)xαdx = N ∑ j=0 p(x(α) j )q(x(α) j ) ˆω(α) j , ∀p·q ∈ ˆP2N+δ, where δ = 1,0 for the Laguerre-Gauss case and Laguerre-Gauss-Radau case, r espectively. J. Shen and L. Wang / Commun. Comput. Phys., 5 (2009), pp. 195-241 219 Remark 3.2. Thanks to the three-term recursive relation satisfied by the G LPs, the nodes for the Laguerre-Gauss and Laguerre-Gauss-Radau quadratu res can be easily computed as eigenvalues of the symmetric tridiagonal matrix AN+1 = a 0 − √ b1 − √ b1 a1 − √ b2 . . . . . . . . . − √ bN− 1 aN− 1 − √ bN − √ bN aN , (3.37) whose entries are determined by (3.3): a j = 2j+α+1, 0 ≤ j ≤ N, bj = j(j+α), 1 ≤ j ≤ N. (3.38) However, care should be taken when computing the weights { ˆω(α) j }. The process of com- puting first {ω(α) j }and then using (3.36) is highly ill-conditioned and should b e avoided. Instead, thanks to (3.15) and (3.36), we derive easily that f or the Laguerre-Gauss case, we have ˆω(α) j = Γ(N+α+1) (N+α+1)(N+1)! x(α) j [ ˆL(α) N (x(α) j ) ] 2 ; (3.39) and for the Laguerre-Gauss-Radau case (with x(α) 0 = 0), we have ˆω(α) 0 = ω(α) 0 ; ˆω(α) j = Γ(N+α+1) N!(N+α+1) 1 [ ˆL(α) N (x(α) j )]2 , j ≥ 1. (3.40) We now examine the distributions of the quadratures nodes with respect to N and the parameter α. We first recall two formulas in Szego [52]. Assuming that the z eros {x(α) j }N j =0 of L(α) N+1(x) are arranged in ascending order, we have the following prope rties x(α) 0 > c N+1 , x(α) N = 4(N+1)+ 2α+2− c(4N+4)1/3 , (3.41a) x(α) j ∼ (j+1)2 N+1 , 0 ≤ j ≤ N, (3.41b) where c is a positive constant independent of N. Hence, the largest zero grows like 4 N, while the smallest zero behaves like O(N− 1). Such properties can be visualized from Fig. 3(a)-(c). Indeed, we observe from Fig. 3(a) and (b) that the nodes are clustered near the endpoint x = 0, with a density min j |xj+1 − xj| ∼N− 1 220 J. Shen and L. Wang / Commun. Comput. Phys., 5 (2009), pp. 195-241 0 60 120 x (a) Node distribution N=8 N=16 N=24 N=32 0 10 20 30 40 0 5 10 15 (b) Growth of |xj+1−xj| 20 50 80 110 140 170 200 0 200 400 600 800 N (c) Growth of the largest node 0 10 20 30 −0.5 2 4 6 x α (d) Zeros of L8 (α)(x) Figure 3: (a) Distribution of Laguerre-Gauss-Radau nodes { xj }N j=0 with N=8,16,24,32 with α=0; (b) Growth of { |xj+1− xj| }40 j=0; (c) Growth of the largest node xN against the asymptotic estimate: 4(N+1)+2− (4(N+1))1/3 (cf. (3.41a)) with various N; (d) Distribution of zeros of L(α) 8 (x) with various α. as opposed to the O(N− 2) behavior in the mapped Jacobi case. Fig. 3(c) shows that the largest node xN grows at the rate 4 (N+1)+ 2− (4(N+1))1/3 as N increases. Another interesting property which can be visualized from Fig. 3(d) is that for fixed N and j, x(α) j increases as α increases, i.e., we have ∂x(α) j ∂α > 0, for 0 ≤ j ≤ N. (3.42) Let { x(α) j }N j =0 be the Laguerre-Gauss or Gauss-Radau interpolation nodes d efined in Theorem 3.5, and denote by I(α) N the interpolation operator from C( ¯Λ) onto PN based on the set { x(α) j }N j =0. We have the following result (cf. [27]): Theorem 3.7. Assuming u ∈ C( ¯Λ), u ∈ Bm α (Λ) and ∂xu ∈ Bm− 1 α (Λ) with m ≥ 1, then ∥I(α) N u− u∥ωα ≲ N(1− m)/2 ( ∥∂m x u∥ωα+m− 1 +(lnN)1/2∥∂m x u∥ωα+m ) . J. Shen and L. Wang / Commun. Comput. Phys., 5 (2009), pp. 195-241 221 Remark 3.3. Compared with Theorem 3.1 (with l = 0), the estimate for the interpolation is suboptimal (with order O(N(1− m)/2ln N)). The above result is proved in [27] and im- proves previous results in [42, 43, 58]. In [42] (see also [6] ), the following estimate was derived for the case α = 0, ∥I(0) N u− u∥ω0 ≲ N(1− m)/2∥u∥m,ωτ , (3.43) where the weight function ωτ(x) = e− (1− τ)x with 0 < τ < 1. Mastroianni and Occorsio [43] studied the generalized Laguerre-Gauss interpolatio n (see Formula (3.8) of [43]) and showed that ∥xγe− x/2(I(α) N u− u)∥L∞ ≲ N− m/2 ln N∥xm/2+γe− x/2∂m x u∥L∞, (3.44) for m ≥ 1, α > − 1 and some γ ≥ 0 satisfying 2γ− 5 2 ≤ α ≤ 2γ− 1 2 . In [58], the usual Laguerre interpolation was analyzed in th e weighted Sobolev space, and the main result is ∥I(0) N u− u∥ω0 ≲ N(1− m)/2+ε∥u∥m,ωm, m ≥ 1, 0 < ε ≤ 1 2 . (3.45) This result was improved in [27] with ln N in place of Nε. We now define the interpolation operator ˆI(α) N from C( ¯Λ) onto ˆPN based on the set of points { x(α) j }N j =0, i.e., ( ˆI(α) N u)(x(α) j ) =u(x(α) j ), 0 ≤ j ≤ N. By observing that ( ˆI(α) N u)(x) =e− x/2 I(α) N (uex/2) ∈ ˆPN, we derive immediately from Theorem 3.7 the following result . Theorem 3.8. Let ˆ∂x = ∂x + 1 2 . Assuming u ∈ C( ¯Λ), u∈ ˆBm α (Λ) and ˆ∂xu∈ ˆBm− 1 α (Λ) with m ≥ 1, we have ∥ ˆI(α) N u− u∥ ˆωα ≲ N(1− m)/2( ∥ˆ∂m x u∥ ˆωα+m− 1 +(ln N)1/2∥ˆ∂m x u∥ ˆωα+m ) . 3.3 Numerical methods using Laguerre functions We consider again the model problem (2.51). An advantage of u sing Laguerre functions is that they are mutually orthogonal in the usual (non-weighted) L2 space so we can work with the usual (i.e., non-weighted) variational formulati on. Let us denote H1 0 (Λ) = { u ∈ H1(Λ) : u(0) =0 } . (3.46) 222 J. Shen and L. Wang / Commun. Comput. Phys., 5 (2009), pp. 195-241 Then, a weak formulation for (2.51) is to find u ∈ H1 0 (Λ) such that a(u,v) := γ(u,v)+( u′,v′) = (f ,v), ∀v ∈ H1 0 (Λ), (3.47) for f ∈ ( H1 0 (Λ) ) ′. We note that u ∈ H1 0 (Λ) indicates a decay condition: lim x→ +∞ u(x) =0. The Laguerre-spectral approximation to (3.47) is to find uN ∈ ˆP0 N such that a(uN,vN) = (ˆIN f ,vN), ∀vN ∈ ˆP0 N, (3.48) where ˆP0 N is defined in (3.30) and ˆIN = ˆI(α) N with α = 0. It is clear that for γ > 0, the problem admits a unique solution, since a(u,u) =|u|2 1 + γ∥u∥2 ≥ min(1,γ)∥u∥2 1 , for all u ∈ H1 0 (Λ). Theorem 3.9. Let γ > 0, u ∈ H1 0 (Λ), ˆ∂xu ∈ ˆBm− 1 0 (Λ), f ∈ C( ¯Λ)∩ ˆBk 0(Λ) and ˆ∂x f ∈ ˆBk− 1 0 (Λ) with k,m ≥ 1. Then, ∥u− uN∥1 ≲ N 1 2 − m 2 ∥ˆ∂m x u∥ ˆωm− 1 + N(1− k)/2( ∥ˆ∂k x f ∥ ˆωk− 1 +(lnN)1/2∥ˆ∂k x f ∥ ˆωk ) . (3.49) Proof. Let eN = uN − ˆπ1,0 N u and ˜eN = u− ˆπ1,0 N u. Hence, by (3.47)–(3.48), a(uN − u,vN) = (ˆIN f − f ,vN ), ∀vN ∈ ˆP0 N, which implies that a(eN,vN) =a( ˜eN,vN)+( ˆIN f − f ,vN ), ∀vN ∈ ˆP0 N. Taking vN = eN in the above, we find ∥eN∥1 ≲ ∥ ˜eN∥1 +∥ ˆIN f − f ∥0. We can then conclude by using Theorems 3.4 and 3.7 and the tria ngular inequality . Remark 3.4. In [47], numerical results are reported for the scheme (3.48 ) using the func- tions in (2.31)-(2.33) as exact solutions. Geometric conve rgence rates (i.e., exp (− cN)) for (2.31) and sub-geometric convergence of order exp (− c √ N) for (2.32) are observed (cf. Fig. 3.2 in [47]), while a convergence rate consistent w ith the estimate in (3.49) and (3.29) is observed for (2.33). The sub-geometric convergen ce for (2.32) was puzzling since the error estimate in (3.29) only predicts a rate of order abo ut N− h. In order to explain this surprising disagreement, we performed additional tes ts with different h and with N much larger than what was used in [47]. The numerical results are reported in Fig. 4. On the left, we plot the results with h = 3 and 4.5 for N up to 128, and we observe again the sub-geometric convergence rate as reported in [47]. How ever, when we increased N further, the convergence rates eventually became algebrai c. This indicates that the sub- geometric convergence reported in [47] was still in the pre- asymptotic range. To illus- trate this behavior, we plot the results with h = 1.5 and 2 (so the asymptotic range can be reached faster) for N up to 256 on the right of Fig. 4. It is clear that after a pre-asy mptotic range, the convergence rates settle down to the algebraic ra tes consistent with (3.49) and (3.29). J. Shen and L. Wang / Commun. Comput. Phys., 5 (2009), pp. 195-241 223 4 6 8 10 12−9 −8 −7 −6 −5 −4 −3 −2 −1 * : max. error with h=3 o : L2−error with h=3 + : max. error with h=4.5 square : L2−error with h=4.5 u(x)=1/ (1+x)h sqrt(N) log10(Error) 1 1.5 2 2.5 3−9 −8 −7 −6 −5 −4 −3 * : max. error with h=1.5 o : L 2−error with h=1.5 + : max. error with h=2.0 square : L 2−error with h=2.0 u(x)=1/ (1+x)h log10(N) log10(Error) Figure 4: Convergence rates of the scheme (3.48). 4 Hermite spectral methods For problems in the whole line, a natural choice is to use Hermite polynomials/functions. 4.1 Approximations by Hermite polynomials/functions We first recall some basic properties of Hermite polynomials/ functions. 4.1.1 Hermite polynomials The Hermite polynomials, denoted by H n(x), are the eigenfunctions of the Sturm- Liouville problem: ex2 ( e− x2 H′ n(x) ) ′+λnHn(x) =0, ∀x ∈ R:= (− ∞, ∞), (4.1) with the eigenvalue λn = 2n grows linearly with respect to n. The Hermite polynomials are orthogonal with respect to the w eight ω(x) =e− x2 , i.e., ∫ +∞ − ∞ Hm(x)Hn(x)e− x2 dx = γnδmn, γn = √ π2nn!. (4.2) Note that the constant γn grows exponentially as n increases, so it is necessary to normal- ize this factor in actual computations. The three-term recurrence formula reads Hn+1(x) =2xHn(x)− 2nHn− 1(x), n ≥ 1. (4.3) As a direct consequence of (4.1) and (4.2), we have the orthog onality: ∫ ∞ − ∞ H′ n(x)H′ m(x)e− x2 dx = λnγnδmn. (4.4) 224 J. Shen and L. Wang / Commun. Comput. Phys., 5 (2009), pp. 195-241 The Hermite polynomials satisfy the recurrence relations: H′ n(x) =2nHn− 1(x), n ≥ 1, (4.5a) H′ n(x) =2xHn(x)− Hn+1(x), n ≥ 0. (4.5b) 4.1.2 Approximations by Hermite polynomials Consider the L 2 ω− orthogonal projection πN : L2 ω(R) → PN, defined by (u− πNu,vN)ω = 0, ∀vN ∈ PN. Similar to Theorem 3.1, we have the following result. Theorem 4.1. For any u ∈ Hm ω (R) with m ≥ 0, ∥∂k x(πNu− u)∥ω ≲ N(k− m)/2∥∂m x u∥ω, 0 ≤ l ≤ m. (4.6) Proof. For any u ∈ L2 ω(R), we write the Hermite expansion u(x) = ∞ ∑ n=0 ˜unHn(x) with ˜un = 1√ π2nn! ∫ ∞ − ∞ u(x)Hn(x)e− x2 dx. We derive from (4.5a) that ∂k x Hn(x) =2kn(n− 1)··· (n− k+1)Hn− k(x) := σk n Hn− k(x), n ≥ k. (4.7) Therefore, for k ≤ m ≤ N, ∥∂k x(πNu− u)∥2 ω = ∞ ∑ n=N+1 ˜un∂k x Hn(x) 2 ω = ∞ ∑ n=N+1 ˜u2 n(σk n)2γn− k = ∞ ∑ n=N+1 ˜u2 n (σk n)2γn− k (σmn )2γn− m (σm n )2γn− m ≲ Nk− m ∞ ∑ n=N+1 ˜u2 n(σm n )2γn− m = Nk− m∥∂m x u∥2 ω. This completes the proof. 4.1.3 Hermite functions As the (generalized) Laguerre polynomials, the Hermite pol ynomials are generally not suitable in practice due to their wild asymptotic behavior a t infinities (cf. [52]): H n(x) ∼ Γ(n+1) Γ(n/2+1) ex2/2 cos ( √ 2n+1x− nπ 2 ) ∼ nn/2ex2/2 cos ( √ 2n+1x− nπ 2 ) . (4.8) J. Shen and L. Wang / Commun. Comput. Phys., 5 (2009), pp. 195-241 225 −2 −1 0 1 2 −30 −15 0 15 30 x (a) Hermite polynomials H0 H1 H2 H3 H4 −5 −2.5 0 2.5 5 −1 −0.5 0 0.5 1 x (b) Hermite functions n=0 n=2n=4 n=3 n=1 Figure 5: (a) The first five Hermite polynomials Hn(x) with n = 0,··· ,4; (b) The first five Hermite functions ˜Hn(x) with n = 0,··· ,4. Hence, we shall consider the so called Hermite functions. The normalized Hermite function of degree n is defined by ˜Hn(x) = 1√ 2nn! e− x2/2 Hn(x), n ≥ 0, x ∈ R. (4.9) Clearly ,{˜Hn} is an orthogonal system in L2(R), i.e., ∫ +∞ − ∞ ˜Hn(x) ˜Hm(x)dx = √ πδmn. (4.10) In contrast to the Hermite polynomials, the Hermite functio ns are well behaved with the decay property: |˜Hn(x)| →0, as |x| →∞, and the asymptotic formula with large n is ˜Hn(x) ∼ n− 1 4 cos ( √ 2n+1x− nπ 2 ) . (4.11) Some sample graphs of the Hermite polynomials and the normal ized Hermite functions are presented in Fig. 5. The three-term recurrence relation (4.3) implies ˜Hn+1(x) =x √ 2 n+1 ˜Hn(x)− √ n n+1 ˜Hn− 1(x), n ≥ 1, ˜H0(x) =e− x2/2, ˜H1(x) = √ 2xe− x2/2. (4.12) 226 J. Shen and L. Wang / Commun. Comput. Phys., 5 (2009), pp. 195-241 Using (4.5a) and the above formula leads to ˜H′ n(x) = √ 2n ˜Hn− 1(x)− x ˜Hn(x) = √ n 2 ˜Hn− 1(x)− √ n+1 2 ˜Hn+1(x). (4.13) 4.1.4 Approximations by Hermite functions Let us define ˜P N = {v : v = e− x2/2w, w ∈ PN}. Since uex2/2 ∈ L2 ω(R) for any u ∈ L2(R), we define ˜πN : L2(R) → ˜PN by ˜πNu := e− x2/2πN(uex2/2) ∈ ˜PN. (4.14) Therefore, (u− ˜πNu,vN) = ( uex2/2 − ˜πN(uex2/2),vN ex2/2) ω = 0, ∀vN ∈ ˜PN, (4.15) which implies that ˜πN is in fact the orthogonal projection in L2(R). We introduce the derivative operator ˜∂x = ∂x + x so that ∂x Hn(x) =ex2/2 ˜∂x ˜Hn(x). (4.16) Then, it is straightforward to derive the following result f rom Theorem 4.1. Theorem 4.2. For any ˜∂m x u ∈ L2(R) with m ≥ 0, ∥˜∂l x( ˜πNu− u)∥ ≲ N(l− m)/2∥˜∂m x u∥, 0 ≤ l ≤ m. (4.17) A particularly interesting result for the Hermite case is th e following theorem which shows that ˜πN is simultaneously the optimal projector from Hl(R) → ˜PN for l = 0,1,2. Theorem 4.3. For any ˜∂m x u ∈ L2(R) with m ≥ 0, ∥∂l x( ˜πNu− u)∥ ≲ N(l− m)/2∥˜∂m x u∥, l = 0,1,2, l ≤ m. (4.18) Proof. The case l = 0 comes directly from Corollary 4.2 with l = 0. In case of l = 1, note that ∂x( ˜πNu− u) =e− x2/2∂x ( πN(ex2/2u)− (ex2/2u) ) − xe− x2/2 ( πN(ex2/2u)− (ex2/2u) ) . Hence, by using the inequality (cf. [30]) ∥xv∥ω ≤ ∥v∥1,ω, (4.19) and Theorem 4.1, ∥∂x( ˜πNu− u)∥ ≤ |πN(ex2/2u)− (ex2/2u)|1,ω +∥x(πN(ex2/2u)− (ex2/2u))∥ω ≲ ∥πN(ex2/2u)− (ex2/2u)∥1,ω ≤ N1/2− m/2∥∂m x (ex2/2u)∥ω. The case l = 2 can be proved in the same fashion. J. Shen and L. Wang / Commun. Comput. Phys., 5 (2009), pp. 195-241 227 Remark 4.1. As in the Laguerre case, the eigenvalues of the Sturm-Liouvi lle problem associated with the Hermite polynomials also grows linearl y , so the convergence rate of the Hermite approximation is similar to that of the Laguerre approximation. To compare with the mapped Jacobi approximation (cf. Theore m 2.1), we consider u(x) = (1+ x2)− h and u(x) = sinkx ·(1+ x2)− h. It can be checked that for both functions ∥˜∂m x u∥ < ∞ if m < 4h− 1 2 which implies that ∥u− ˜πNu∥ ≲ N− (h− 1/4). (4.20) Comparing with the error estimates by mapped Jacobi polynom ials in (2.36) and (2.37), we observe that the mapped Jacobi approximation leads to bet ter convergence rates for both functions. 4.2 Hermit Gauss quadrature and interpolation by Hermite po lynomials/ functions We start with the classical Hermite-Gauss quadrature with r espect to the measure e− x2 dx (cf. [16]). Theorem 4.4. Let { x j,ωj }N j =0 be the Hermite-Gauss nodes and weights. Then, { xj }N j =0 are the zeros of the Hermite polynomial H N+1(x), ωj = √ π2N N! (N+1)H2 N (xj) , 0 ≤ j ≤ N, (4.21) and we have ∫ ∞ − ∞ p(x)e− x2 dx = N ∑ j=0 p(xj)ωj, ∀p ∈ P2N+1. (4.22) In practice, it is more convenient to use a quadrature rule re lative to the measure dx and Hermite functions. Theorem 4.5. Let {xj,ωj}N j =0 be the Hermite-Gauss nodes and weights (cf. Theorem 4.4). We set ˜ωj = ex2 j ωj = √ π (N+1) ˜H2 N(xj) , 0 ≤ j ≤ N. (4.23) Then, we have ∫ ∞ − ∞ p(x)q(x)dx = N ∑ j=0 p(xj)q(xj) ˜ωj, ∀p·q ∈ ˜P2N+1. (4.24) 228 J. Shen and L. Wang / Commun. Comput. Phys., 5 (2009), pp. 195-241 −8 −4 0 4 8 x (a) Node distribution N=8 N=16 N=24 N=32 40 100 160 220 280 340 400 5 10 15 20 25 30 N (b) Growth of the largest node Figure 6: (a) Distribution of the Hermite-Gauss nodes { xj }N j=0 with N = 8,16,24,32; (b) Growth of the largest node against the asymptotic estimate: √ 2(N +1)− (2(N +1))1/3 (dashed line) with various N. Remark 4.2. As in the Laguerre case, the Hermite-Gauss nodes can be easil y computed from the eigenvalues of a symmetric tridiagonal matrix AN+1 = a 0 √ b1 √ b1 a1 √ b2 . . . . . . . . . √ bN− 1 aN− 1 √ bN √ bN aN , (4.25) whose entries are determined by (4.3): a j = 0, 0 ≤ j ≤ N; bj = j 2 , 1 ≤ j ≤ N. (4.26) The weights { ˜ωj}N j =0 can also be computed in a stable fashion by using (4.12) and (4 .23). In Fig. 6, we plot sample Hermite-Gauss nodes and the growth o f the largest nodes with respect to N. We now examine the interpolation errors. We start with the in terpolation operator associated with the Hermite polynomials IN : C(R) → PN such that (INu)(xj) = u(xj), 0 ≤ j ≤ N. By combing Theorem 4.1 and the results in [1, 29], we can prov e the following result which is just a more concise form of Theorem 2.1 in [1, 2 9]. Theorem 4.6. For u ∈ Hm ω (R) with m ≥ 1, we have ∥∂l x(INu− u)∥ω ≲ N 1 6 + l− m 2 ∥∂m x u∥ω, 0 ≤ l ≤ m. J. Shen and L. Wang / Commun. Comput. Phys., 5 (2009), pp. 195-241 229 We point out that [29] derived an order N 1 3 + l− m 2 , which was improved to N 1 6 + l− m 2 by [1]. Next we define the interpolation operator associated with the Hermite function: ˜IN : C(R) → ˜PN such that ( ˜INu)(xj) =u(xj), 0 ≤ j ≤ N. By using the fact that ( ˜INu) =e− x2/2 IN(uex2/2), we derive immediately from Theorem 4.6 the following result which is just a more concise form of T heorem 3.1 in [1, 36]. Theorem 4.7. For u ∈ C(R) with ˜∂m x u ∈ L2(R) (m ≥ 1), we have ∥˜∂l x( ˜INu− u)∥ ≲ N 1 6 + l− m 2 ∥˜∂m x u∥, 0 ≤ l ≤ m. Remark 4.3. The above interpolation results are not optimal in the sense that a factor of N− 1/6 is lost when compared with the best approximation error. It i s an open question whether the factor N1/6 can be removed from these estimates. 4.3 Numerical methods using Hermite functions As an example of applications, we consider the following mod el problem: − uxx +γu = f , u(x) → 0, as |x| →∞. (4.27) A weak formulation for (4.27) is to find u ∈ H1(R) such that (∂xu,∂xv)+ γ(u,v) = (f ,v), ∀v ∈ H1(R), (4.28) for given f ∈ ( H1(R) ) ′, and the Hermite-Galerkin method for (4.28) is to find u∈ ˜PN such that (∂xuN,∂xvN)+ γ(uN,vN) = (˜IN f ,vN), ∀vN ∈ ˜PN. (4.29) The following error estimate is a straightforward conseque nce of Theorems 4.3 and 4.7. Theorem 4.8. If u ∈ H1(R) with ˜∂m x u ∈ L2(R), and f ∈ C(R) with ˜∂k x f ∈ L2(R) (k,m ≥ 1), we have ∥uN − u∥1 ≲ N 1− m 2 ∥˜∂m x u∥+ N 1 3 − k 2 ∥˜∂k x f ∥. (4.30) We now present numerical results using the scheme (4.29) wit h the exact solutions in (2.31)-(2.33) as exact solutions. On the left of Fig. 7, we ob serve a geometric convergence for (2.31). For (2.32), we observe essentially the same beha vior as in the Laguerre case (cf. the right of Fig. 4), i.e., there is a pre-asymptotic ran ge where one observes a sub- geometric convergence, but after the pre-asymptotic range, the convergence rates become algebraic as predicted in (4.20) and (4.30) (cf. the right of Fig. 7). 230 J. Shen and L. Wang / Commun. Comput. Phys., 5 (2009), pp. 195-241 20 30 40 50 60 70 80−14 −12 −10 −8 −6 −4 −2 0 u(x)=sin(kx) exp(−x2) N log10(Error) o : L2−error with k=2 * : L2−error with k=4 4 6 8 10 12−6 −5 −4 −3 −2 −1 0 * : max. error with h=2 o : L2−error with h=2 + : max. error with h=3.5 square : L2−error with h=3.5 u(x)=1/ (1+x2)h sqrt(N) log10(Error) Figure 7: Convergence rates of the scheme (4.29). 5 Implementations, numerical results and discussions 5.1 Some implementation details We start by saying that, given an approximation space XN and a set of collocation points {xj}N j =0, a collocation approach can be easily implemented. Indeed, let {hj(x)}N j =0 ⊆ XN be the Lagrange functions based on {xj}N j =0, i.e., hj(xi) = δij. Then, as demonstrated in Section 2.5, we only need to know the derivative matrix D = (Dij) where Dij = h′ j(xi). Ex- plicit formulas for classical orthogonal polynomials (Jac obi, Laguerre and Hermite) can be found in [19], and MATLAB codes for generating the derivati ve matrix is also avail- able (cf. [56]). From these formulas, one can easily derive t he corresponding formulas for mapped Jacobi polynomials, Laguerre and Hermite functions . However, it is often more efficient and stable to use a Galerkin approach, particu- larly for problems with constant or polynomial coefficients a nd with large numbers of unknowns (cf. [46, 47]). We now briefly discuss how the Galerk in method presented in previous sections can be efficiently implemented. Let XN be the approximation space and ω be the weight function. The spectral- Galerkin method for the second-order model problems (2.51) or (4.27) can all be casted in the following form: Find uN ∈ XN such that γ(uN,vN)ω +( ∂xuN,∂x(vNω)) = (IN f ,vN)ω, ∀vN ∈ XN, (5.1) where IN is the corresponding interpolation operator. J. Shen and L. Wang / Commun. Comput. Phys., 5 (2009), pp. 195-241 231 Let {φj}N− 1 j=0 be a set of basis functions for XN. We denote uN = N− 1 ∑ k=0 ˆukφk(x), u = ( ˆu0, ˆu1,··· , ˆuN− 1 ) T , fi = (IN f ,φi)ω, f = ( f0, f1,··· , fN− 1 ) T , sik = (φ′ k, (φiω)′), S = ( sik ) 0≤ i,k≤ N− 1, mik = (φk, φi)ω, M = ( mik ) 0≤ i,k≤ N− 1. Thus, the system (5.1) is reduced to the following matrix for m ( γM+S ) u = f. (5.2) We now present suitable basis functions and compute the asso ciated stiffness and mass matrices S and M for several typical cases. • Mapped Legendre approximation for (2.51) : We consider the mapping (2.15) with s = 1. This is a special case of the general setting analyzed in Se ction 2.5. As suggested in [46], it is advantageous to construct basis functions usi ng compact combinations of orthogonal functions. In this case, we set φk(x) =j0,0 s,k (x)+ j0,0 s,k+1(x) with s = 1, which satisfies φk(0) =0. Then, we have ω(x) =2(x+1)− 2, and mik = ∫ ∞ 0 φk(x)φi(x)ωdx = ∫ 1 − 1 (Lk(y)+ Lk+1(y))( Li(y)+ Li+1(y))dy, sik = ∫ ∞ 0 φ′ k(x)(φi(x)ω)′dx = − ∫ ∞ 0 φ′′ k (x)φi(x)ωdx = − 1 4s ∫ 1 − 1 (1− y)2∂y ( (1− y)2∂y(Lk(y)+ Lk+1(y)) ) (Li(y)+ Li+1(y))dy, where {Lk} are Legendre polynomials of degree k. By using the properties of Legendre polynomials, it is then easy to see that M is a symmetric tridiagonal matrix and S is a non-symmetric seven diagonal matrix. Hence, the system (5. 2) can be efficiently solved. We note however that a disadvantage of the mapped Legendre me thod is that it leads to a non-symmetric system even though the original problem ( 2.51) is symmetric. • Laguerre approximation (2.51): We consider the approximation of (2.51) by using Laguerre functions (with the index α=0). The error analysis for this method is performed in Section 3.3. We set φk(x) = ˆL(0) k (x)+ ˆL(0) k+1(x) which satisfies φk(0)= 0. By using the properties of Laguerre functions, it is easy t o check that both the stiffness and mass matrices are symmetric and t ridiagonal (cf. [47]). 232 J. Shen and L. Wang / Commun. Comput. Phys., 5 (2009), pp. 195-241 20 40 60 80 100 120 −13 −11 −9 −7 −5 −3 −1 N log10(Error) Max−ML L2−ML Max−Lag L2−Lag 1.2 1.4 1.6 1.8 2 2.1 −11 −9 −7 −5 −3 log10N log10(Error) Max−ML L2−ML Max−Lag L2−Lag Figure 8: Convergence rates with exact solution: u(x) =sin2x exp(− x) (left) and u(x) =1/(1+x)5/2 (right). •Hermite approximation for (4.27): We consider the approximation of (4.27) by using the Hermite functions. The error analysis for this method is performed in Section 4.3. Since no boundary condition is involved, we can simply set φk(x) = ˜Hk(x). Then by using the properties of Hermite functions (4.10) and (4.13), we see that the mass matrix M is diagonal and the stiffness matrix is symmetric tridiagon al. 5.2 Numerical results and discussions The convergence behaviors of the mapped Jacobi, Laguerre an d Hermite spectral meth- ods have been discussed in detail using the three sets of func tions (2.31)-(2.33) as exam- ples. In order to provide a quantitative assessment, we now presen t some direct compar- isons of mapped Legendre method (using mapping (2.15) or (2. 12) with s = 1) against Laguerre or Hermite method. In the following computations, we fix γ = 2 in Eq. (2.51) or (4.27). The parameters in the three sets of exact solutions are set as follows: k = 2 in (2.31), h = 2.5 in (2.32) and k = 2, h = 3.5 in (2.33). The numerical results are plotted in Figs. 8-1 0 in which “Max-ML”, “Max-Lag” and “Max-Hmt” denote respectively error in maximum norm for mapped Legendre, Laguerre and Hermite methods (similar for the L2 notations). Several remarks are in order: (i) For exact solutions in (2.3 1), Laguerre and Hermite methods converge faster; (ii) for exact solutions in (2.32) , the mapped Legendre method performs much better; (iii) for exact solutions in (2.33), t he Laguerre method is slightly better than the mapped Legendre method, while the Hermite me thod is still worse than the mapped Legendre method. We note however that the perform ance of Laguerre and Hermite methods can be significantly improved using a proper s caling (cf. [47, 53] and the discussion below). J. Shen and L. Wang / Commun. Comput. Phys., 5 (2009), pp. 195-241 233 1.2 1.4 1.6 1.8 2 2.1 −6 −4 −2 log10N log10(Error) Max−ML L2−ML Max−Lag L2−Lag 20 40 60 80 100 −15 −12 −9 −6 −3 0 N log10(Error) Max−ML L2−ML Max−Hmt L2−Hmt Figure 9: Convergence rates with exact solution: u(x) = sin2x/(1+x)7/2 (left) and u(x) = sin2xexp(− x2) (right). 1.2 1.4 1.6 1.8 2 −13 −10 −7 −4 −1 log10N log10(Error) Max−ML L2−ML Max−Hmt L2−Hmt 1.2 1.4 1.6 1.8 2 −8 −6 −4 −2 0 log10 N log10(Error) Max−ML L2−ML Max−Hmt L2−Hmt Figure 10: Convergence rates with exact solution: u(x) = 1/(1+x2)5/2 (left) and u(x) = sin2x/(1+x2)7/2 (right). 6 Miscellaneous issues and extensions We discuss in this section some miscellaneous issues and extensions related to he spectral methods in unbounded domains. 6.1 Modified Legendre-rational approximations We notice that the mapped Jacobi polynomials, including the mapped Legendre poly- nomials, are mutually orthogonal in a weighted Sobolev spac e. Thus, their applications involve weighted formulations which are, on the one hand, di fficult to analyze and im- plement, and on the other hand, not suitable for certain prob lems which are only well- posed in non-weighted Sobolev spaces. Therefore, it is some times useful to construct 234 J. Shen and L. Wang / Commun. Comput. Phys., 5 (2009), pp. 195-241 (non-weighted) orthogonal systems from mapped Jacobi poly nomials. Let us consider one such example now. We define the modified Legendre rational fu nctions of degree l by Rl(x) = √ 2 x+1 Ll ( x− 1 x+1 ) , l = 0,1,2, ··· . By (2.1), Rl(x) are the eigenfunctions of the singular Sturm-Liouville pro blem (x+1)∂x(x(∂x((x+1)v(x)))+ λv(x) =0, x ∈ Λ, (6.1) with the corresponding eigenvalues λl = l(l +1), l = 0,1,2, ··· . Due to (2.2) and (2.3), they satisfy the recurrence relations Rl+1(x) = 2l +1 l +1 x− 1 x+1 Rl(x)− l l +1 Rl− 1(x), l ⩾ 1, (6.2) 2(2l +1)Rl(x) = (x+1)2(∂xRl+1(x)− ∂xRl− 1(x)) +( x+1)(Rl+1(x)− Rl− 1(x)). (6.3) Furthermore, lim x→ ∞ (x+1)Rl(x) = √ 2, lim x→ ∞ x∂x((x+1)Rl(x)) =0. (6.4) By the orthogonality of the Legendre polynomials, ∫ Λ Rl(x)Rm(x)dx = ( l + 1 2 ) − 1 δl,m. (6.5) We refer to [32] and to [45] for the analysis and applications of the modified Legendre- rational spectral approximations on the half line and on the whole line, respectively . We also note that based on the same motivation and using a simila r approach, a modified Chebyshev rational method, for which fast transforms are po ssible thanks to FFT, is de- veloped in [28]. 6.2 Irrational mappings For many applications, e.g., in fluid dynamics and in financial mathematics, the solutions may tend to a constant or even grow with a specified rate at infinit y . For such problems, variational formulations in Sobolev spaces with uniform we ight or a given non-matching weight are usually not well posed. Therefore, it becomes nec essary to construct orthogo- nal systems which match the asymptotic behaviors of the underlying problem. First effort of such kind is carried out in [11] where a rational Chebyshev method with polynomial growth basis functions is developed. A more general approac h is presented in [33] where they considered the following orthogonal system: I(γ,δ) l (r) := 1 rγ J(α,0) l (1− 2 rδ ). (6.6) J. Shen and L. Wang / Commun. Comput. Phys., 5 (2009), pp. 195-241 235 In the above, J(α,0) l (r) is the Jacobi polynomial of degree l with index (α,0). The parameter γ is chosen to match, as closely as possible, the asymptotic be havior of the function to be approximated; the parameter δ>0 is a mapping parameter which will affect the accuracy of the approximation in a way which will be made clear in Secti on 5; α is determined in such a way that {I(γ,δ) k (r)} form an orthogonal system in L2 ωσ(Λ), where σ is another parameter, Λ = (1,∞) and ωσ = rσ. This latter condition requires that α = 1 δ (2γ− δ− σ− 1). Hence, α is not a free parameter. Therefore, the proposed family of orthogo nal systems {I(γ,δ) k (r)} is very general and includes in particular many special case s already studied in the literature. The great flexibility afforded by the free parameters γ,δ (and σ) allows us to design suitable approximations for a large class of par tial differential equations. 6.3 Scaling For a problem whose solution decays at infinity , there is an eff ective interval outside of which the solution is negligible, and collocation points wh ich fall outside of this inter- val are essentially wasted. On the other hand, if the solutio n is still far from negligible at the collocation point(s) with largest magnitude, one can not expect a very good ap- proximation. Hence, the performance of spectral methods in unbounded domains can be significantly enhanced by choosing a proper scaling parame ter such that the extreme collocation points are at or close to the endpoints of the eff ective interval. For mapped Jacobi methods, this parameter is the mapping par ameter s, see Section 2.1 and in particular Fig. 1. For Laguerre and Hermite spectr al methods, one usually needs to determine a suitable scaling parameter β and then make a coordinate transform y = βx (cf. [47, 53]). To illustrate the idea, let us consider (2.51) and an accurac y threshold ε. We estimate a M such that |u(x)| ≤ε for x > M. Then, we set the scaling factor βN = x(N) N /M where x(N) N is the largest Laguerre Gauss-Lobatto point. Now instead of solving Eq. (2.51), we solve the following scaled equation with the new variable y = βN x: − β2 Nvyy +γv = g(y); v(0) =0, lim y→ +∞ v(y) =0, (6.7) where v(y) =u(βN x) and g(y) = f (βN x). Thus, the effective collocation points xj = yj/βN( with {yj}N j =0 being the Laguerre Gauss-Lobatto points ) are all located in [0, M]. An an illustrative example, we consider (2.51) with the exac t solution u(x) = sin(10x)/(1+ x)5. In Fig. 11, we plot the exact solution and the approximation s with- out scaling using 128 points and with a scaling factor = 15 using 32 points. Notice from Fig. 11 that if no scaling is used, the approximat ion with N = 128 still exhibits an observable error, while the approximation with a scaling factor of 15 using 236 J. Shen and L. Wang / Commun. Comput. Phys., 5 (2009), pp. 195-241 0 0.5 1 1.5 2 2.5 3 /g2370.2 /g2370.1 0 0.1 0.2 0.3 0.4 0.5 0.6 o : N=128 without scaling + : N=32 with scaling /g237/g237 : Exact solution Figure 11: Exact solution against numerical solutions by (3. 48) with N = 128 (without scaling), and by solving (6.7) with N = 32 and the scaling factor βN = 15. only 32 modes is virtually indistinguishable with the exact solution. This simple example demonstrates that a proper scaling will greatly enhance the resolution capabilities of the Laguerre functions. In [41], a Hermite spectral method with time-dependent scaling is proposed for parabolic problems. 6.4 Other one-dimensional applications While we have only presented analysis and implementation de tails for second-order model equations, the basic approximation results presente d here can be used for many other applications. We refer to Boyd [11] for a review on the w ork before year 2000 which includes in particular many applications in oceanogr aphy . We now list some of the more recent work. In [18], a combined Hermite-finite diffe rence method is proposed for a Fokker-Planck equation with one spatial and one phase d imension; in [36], the au- thors applied the Hermite spectral method for solving the Di rac equation on the whole line; in [32], a modified Legendre rational method is presente d for the KdV equation in a semi-infinite interval; the same problem is also studied in [ 50] where a single domain Laguerre and two-domain Legendre-Laguerre method are intr oduced and analyzed. 6.5 Multidimensional problems Although only one-dimensional problems are discussed in th e previous sections, these one-dimensional orthogonal systems can be easily used for m ultidimensional problems through the usual tensor product approach. Although it is po ssible to use mapped Leg- endre methods for multidimensional problems, the analysis and implementation become complicated due the non-uniform weights involved in the var iational formulation. As a J. Shen and L. Wang / Commun. Comput. Phys., 5 (2009), pp. 195-241 237 consequence, most of the work for multidimensional problem s use either Laguerre or Hermite functions combined with Legendre polynomials or Fo urier series. 6.5.1 Channel geometries For problems which are set in an infinite (resp. semi-infinite) c hannel, it is natural to consider using Hermite (resp. Laguerre) functions in the in finite direction and Jacobi polynomials in the finite direction. For example, in [58], the authors studied a Laguerre- Legendre approximation to the 2-D Navier-Stokes equations in the streamline diffusion- vorticity formulation in a semi-infinite channel, while in [2 ] the authors studied ap- proximation of the 2-D Stokes equations in primitive variab les by a Laguerre-Legendre method. More precisely , a complete numerical analysis with a n explicit estimate on inf- sup condition, and a detailed numerical algorithm as well as numerical results are pre- sented in [2]. 6.5.2 Exterior domains For problems which are set in exterior domains, it is conveni ent, for a 2-D domain exte- rior to a circle, to use polar coordinates and a Laguerre-Fou rier approximation (cf. [37]); and for a 3-D domain exterior to a sphere, to use spherical coo rdinates and a Laguerre- spherical harmonic approximation (cf. [57]). In these case s, the analysis is a bit more complicated due to the coordinate transforms but can still b e carried out using essen- tially the approximation results presented in this paper. 6.5.3 Special applications of Laguerre and Hermite functio ns Since Laguerre and Hermite functions are respectively eige nfunctions of Laguerre and Hermite Sturm-Liouville problems which play important rol es in physics and mechan- ics, they can be especially useful for problems which involv e the Sturm-Liouville op- erators associated with the Laguerre or Hermite functions. For example, the Laguerre and Hermite functions are particularly effective for solvi ng Schr ¨ odinger type equations, in particular Gross-Pitaevskii equation for Bose-Einstei n condensates, since the properly scaled Laguerre (or generalized-Laguerre) and Hermite fun ctions are eigenfunctions of its linear operator with special potential functions (cf. [ 4, 5], see also [55]). 7 Concluding remarks In this paper we presented a unified framework for analyzing th e spectral methods in unbounded domains using mapped Jacobi, Laguerre and Hermite functions. Using these error estimates, we made a detailed comparison of the convergence rates of these spectral methods for solutions with typical decay behaviors. The fol lowing general observations can be made related to the convergence rates: • For smooth functions which decay exponentially fast at infini ty , all methods con- verge exponentially . 238 J. Shen and L. Wang / Commun. Comput. Phys., 5 (2009), pp. 195-241 •For functions with singularities inside the domain, e.g., u(j) ∈ L2 loc (Λ) for j=0,1, ··· ,k but u(k+1) /∈ L2 loc (Λ), the mapped Jacobi methods lead to an optimal convergence ra te of k (assuming u decays sufficiently fast at infinity) while Laguerre and Hermit e methods only converge with a rate of k 2 . • The mapped Jacobi methods are much more effective for functi ons without oscilla- tion at infinity . More precisely , – the mapped Jacobi methods converge faster (resp. slower) t han the Laguerre method for functions without (resp. with) oscillation at infinity; – the mapped Jacobi methods converge faster than the Hermite spectral methods for functions with or without oscillations at infinity . Some observations related to implementations are: • The use of Laguerre and Hermite polynomials are not advisabl e due to their wild behaviors at infinity . Instead, Laguerre and Hermite functions should be used. • The mapped Jacobi rational functions are orthogonal in weig hted Sobolev spaces so they lead to non-symmetric systems even for self-adjoint problems. The mapped Ja- cobi methods can be easily implemented in a collocation form although it leads to full matrices. • The Laguerre (with α = 0) and Hermite functions are orthogonal in the usual (non- weighted) Sobolev spaces and lead to symmetric systems for s elf-adjoint problems and with easily computable sparse systems for problems with con stant or polynomial coeffi- cients. •A suitable choice of the mapping parameters for the mapped Ja cobi method and the scaling parameters for the Laguerre or Hermite methods can g reatly enhance the numer- ical results. The choice of the scaling parameters is partic ularly important for Laguerre and Hermite methods. In summary , orthogonal systems consisting of mapped Jacobi, Laguerre and Hermite functions are all suitable tools for solving problems in unb ounded domains and their ap- proximation properties are now well understood. Mapped Jaco bi methods are usually more effective, in particular for problems without oscilla tions at infinity , but Laguerre and Hermite methods can be made competitive with a proper cho ice of scaling param- eters, and can be particularly effective for many special pr oblems where Laguerre and Hermite functions are the eigenfunctions of the principle l inear operator. Applications of these methods to challenging physical problems are still sc arce and mostly welcome. Acknowledgments The work of J.S. is partially supported by the NFS grant DMS-06 10646. The work of L.W. is partially supported by a Start-Up grant from NTU and b y Singapore MOE Grant T207B2202 and Singapore grant NRF 2007IDM-IDM002-010. J. Shen and L. Wang / Commun. Comput. Phys., 5 (2009), pp. 195-241 239 References [1] J. Aguirre and J. Rivas. Hermite pseudospectral approxi mations. An error estimate. J. Math. Anal. Appl., 304(1):189–197, 2005. [2] M. Azaiez, J. Shen, C.-J. Xu, and Q. Zhuang. A Laguerre-Le gendre spectral method for the Stokes problem in a semi-infinite channel. SIAM J. Numer. Anal., accpeted. [3] I. Babuˇ ska and B.-Q. Guo. Optimal estimates for lower an d upper bounds of approxima- tion errors in the p-version of the finite element method in two dimensions. Numer. Math., 85(2):219–255, 2000. [4] W . Bao and J. Shen. A generalized-Laguerre-Hermite pseu dospectral method for computing symmetric and central vortex states in Bose-Einstein conde nsates. J. Comput. Phys. submit- ted. [5] W . Bao and J. Shen. A fourth-order time-splitting Laguerre-Hermite pseudo-spectral method for Bose-Einstein condensates. SIAM J. Scient. Comput. , 26:2110–2028, 2005. [6] C. Bernardi and Y . Maday . Spectral method. In P . G. Ciarlet and L. L. Lions, editors, Handbook of Numerical Analysis, V . 5 (Part 2). North-Holland, 1997. [7] J. P . Boyd. The rate of convergence of Hermite function se ries. Math. Comp. , 35(152):1309– 1316, 1980. [8] J. P . Boyd. The optimization of convergence for Chebyshe v polynomial methods in an un- bounded domain. J. Comput. Phys. , 45(1):43–79, 1982. [9] J. P . Boyd. Orthogonal rational functions on a semi-infin ite interval. J. Comput. Phys. , 70:63– 88, 1987. [10] J. P . Boyd. Spectral methods using rational basis funct ions on an infinite interval. J. Comput. Phys., 69:112–142, 1987. [11] J. P . Boyd. Chebyshev and Fourier Spectral Methods . Dover Publications Inc., Mineola, NY , 2nd edition, 2001. [12] J. P . Boyd, C. Rangan, and P .H. Bucksbaum. Pseudospectr al methods on a semi-infinite interval with application to the hydrogen atom: a compariso n of the mapped fourier-sine method with Laguerre series and rational Chebyshev expansi on. J. Comp. Phys. , 188:56–74, 2003. [13] C. Canuto, M. Y . Hussaini, A. Quarteroni, and T. A. Zang. Spectral Methods, Fundamentals in Single Domains. Springer-V erlag, Berlin, 2006. [14] C. I. Christov . A complete orthonormal system of functi ons in L2(− ∞, ∞) space. SIAM J. Appl. Math., 42(6):1337–1344, 1982. [15] A. Cloot and J. A. C. W eideman. An adaptive algorithm for spectral computations on un- bounded domains. J. Comput. Phys. , 102(2):398–406, 1992. [16] P . J. Davis and P . Rabinowitz. Methods of Numerical Integration . Computer Science and Ap- plied Mathematics. Academic Press Inc., Orlando, FL, secon d edition, 1984. [17] B. Engquist and A. Majda. Absorbing boundary condition s for numerical simulation of waves. Proc. Nat. Acad. Sci. U.S.A. , 74(5):1765–1766, 1977. [18] J. C. M. Fok, B.-Y . Guo, and T. T ang. Combined Hermite spe ctral-finite difference method for the Fokker-Planck equation. Math. Comp., 71(240):1497–1528, 2002. [19] D. Funaro. Polynomial Approxiamtions of Differential Equations . Springer-V erlag, 1992. [20] D. Funaro and O. Kavian. Approximations of some diffusi on evolution equations in un- bounded domains by Hermite functions. Math. Comp., 57:597–619, 1990. [21] D. Givoli. Numerical Methods for Problems in Infinite Domains . Elsevier, Amsterdam, 1992. [22] D. Givoli and J. B. Keller. A finite element method for lar ge domains. Comput. Methods Appl. 240 J. Shen and L. Wang / Commun. Comput. Phys., 5 (2009), pp. 195-241 Mech. Engrg., 76(1):41–66, 1989. [23] D. Gottlieb and S. A. Orszag. Numerical Analysis of Spectral Methods: Theory and Applica tions. SIAM-CBMS, Philadelphia, 1977. [24] C. E. Grosch and S. A. Orszag. Numerical solution of prob lems in unbounded regions: coordinates transforms. J. Comput. Phys. , 25:273–296, 1977. [25] M. J. Grote and J. B. Keller. On nonreflecting boundary co nditions. J. Comput. Phys. , 122(2):231–243, 1995. [26] B.-Y . Guo. Spectral Methods and Their Applications . W orld Scientific, River Edge, NJ, 1998. [27] B.-Y . Guo, L.-L. W ang, and Z.-Q. W ang. Generalized Laguerre interpolation and pseudospec- tral method for unbounded domains. SIAM J. Numer. Anal. , 43(6):2567–2589 (electronic), 2006. [28] B.-Y . Guo and Z.-Q. W ang. Modified Chebyshev rational sp ectral method for the whole line. Discrete Contin. Dyn. Syst. , pages 365–374, 2003. Dynamical systems and differential equations (Wilmington, NC, 2002). [29] B.-Y . Guo and C.-L. Xu. Hermite pseudospectral method f or nonlinear partial differential equations. M2AN Math. Model. Numer. Anal. , 34(4):859–872, 2000. [30] B.-Y . Guo. Error estimation of Hermite spectral method for nonlinear partial differential equations. Math. Comp., 68(227):1067–1078, 1999. [31] B.-Y . Guo and J. Shen. Laguerre-Galerkin method for non linear partial differential equations on a semi-infinite interval. Numer. Math., 86:635–654, 2000. [32] B.-Y . Guo and J. Shen. On spectral approximations using modified Legendre rational func- tions: Application to Korteweg-de Vries equation on the half line. Indina Math. J., 50:181–204, 2001. [33] B.-Y . Guo and J. Shen. Irrational approximations and th eir applications to partial differential equations in exterior domains. Adv. Comput. Math., pages DOI 10.1007/s10444–006–9020–5, 2007. [34] B.-Y . Guo, J. Shen, and Z.-Q. W ang. Chebyshev rational s pectral and pseudospectral meth- ods on a semi-infinite interval. Internat. J. Numer. Methods Engrg. , 53(1):65–84, 2002. [35] B.-Y . Guo, J. Shen, and Z.-Q. W ang. A rational approxima tion and its applications to differ- ential equations on the half line. J. Sci. Comp. , 15:117–147, 2000. [36] B.-Y . Guo, J. Shen, and C.-L. Xu. Spectral and pseudospe ctral approximations using Hermite functions: Application to the Dirac equation. Adv. Comput. Math., 19:35–55, 2003. [37] B.-Y . Guo, J. Shen, and C.-L. Xu. Generalized Laguerre a pproximation and its applications to exterior problems. J. Comput. Math. , 23(2):113–130, 2005. [38] B.-Y . Guo and L.-L. W ang. Jacobi approximations in non-uniformly Jacobi-weighted Sobolev spaces. J. Approx. Theory, 128(1):1–41, 2004. [39] B.-Y . Guo and Z.-Q. W ang. Legendre rational approximat ion on the whole line. Sci. China Ser. A, 47(suppl.):155–164, 2004. [40] Y . Liu, L. Liu, and T. T ang. The numerical computation of connecting orbits in dynamical systems: a rational spectral approach. J. Comput. Phys. , 111(2):373–380, 1994. [41] H.-P . Ma, W . Sun, and T. T ang. Hermite spectral methods with a time-dependent scaling for parabolic equations in unbounded domains. SIAM J. Numer. Anal., 43(1):58–75, 2005. [42] Y . Maday , B. Pernaud-Thomas, and H. V andeven. Reapprai sal of Laguerre type spectral methods. La Recherche Aerospatiale, 6:13–35, 1985. [43] G. Mastroianni and D. Occorsio. Lagrange interpolatio n at Laguerre zeros in some weighted uniform spaces. Acta Math. Hungar., 91(1-2):27–52, 2001. [44] D. Nicholls and J. Shen. A stable, high–order method for two–dimensional bounded– J. Shen and L. Wang / Commun. Comput. Phys., 5 (2009), pp. 195-241 241 obstacle scattering. SIAM J. Sci. Comput. , to appear. [45] Z.-Q. W ang and B.-Y . Guo. Modified Legendre rational spe ctral method for the whole line. J. Comput. Math. , 22(3):457–474, 2004. [46] J. Shen. Efficient spectral-Galerkin method I. direct s olvers for second- and fourth-order equations by using Legendre polynomials. SIAM J. Sci. Comput. , 15:1489–1505, 1994. [47] J. Shen. A new fast Chebyshev-Fourier algorithm for the Poisson-type equations in polar geometries. Appl. Numer. Math., 33:183–190, 2000. [48] J. Shen. Stable and efficient spectral methods in unboun ded domains using Laguerre func- tions. SIAM J. Numer. Anal., 38:1113–1133, 2000. [49] J. Shen and L.-L. W ang. Error analysis for mapped Legend re spectral and pseudospectral methods. SIAM J. Numer. Anal, 42:326–349, 2004. [50] J. Shen and L.-L. W ang. Laguerre and composite Legendre -Laguerre dual-Petrov-Galerkin methods for third-order equations. Discrete Contin. Dyn. Syst. Ser. B , 6(6):1381–1402, 2006. [51] J. Shen and L.-L. W ang. Analysis of a spectral-Galerkin approximation to the Helmholtz equation in exterior domains. SIAM J. Numer. Anal., 45:1954–1978, 2007. [52] G. Szeg ¨ o.Orthogonal Polynomials, 4th edition, volume 23. AMS Coll. Publ., 1975. [53] T. T ang. The Hermite spectral method for Gaussian-type functions. SIAM J. Sci. Comput. , 14:594–606, 1993. [54] Z.-Q. W ang and B.-Y . Guo. A rational approximation and its applications to nonlinear partial differential equations on the whole line. J. Math. Anal. Appl. , 274(1):374–403, 2002. [55] J. A. C. W eideman. Spectral differentiation matrices f or the numerical solution of Schr ¨ odinger’s equation.J. Phys. A , 39(32):10229–10237, 2006. [56] J. A. C. W eideman and S. C. Reddy . A MATLAB differentiati on matrix suite. ACM T rans. Math. Software, 26(4):465–519, 2000. [57] X.-Y . Zhang and B.-Y . Guo. Spherical harmonic-general ized Laguerre spectral method for exterior problems. J. Sci. Comput. , 27(1-3):523–537, 2006. [58] C.-L. Xu and B.-Y . Guo. Mixed Laguerre-Legendre spectr al method for incompressible flow in an infinite strip. Adv. Comput. Math., 16(1):77–96, 2002.
采集于
查看校方原文 ↗