On the numerical treatment of the eigenparameter dependent boundary conditions

Abstract

In this paper, we consider the numerical treatment of singular eigenvalue problems supplied with eigenparameter dependent boundary conditions using spectral methods. On the one hand, such boundary conditions hinder the construction of test and trial space functions which could incorporate them and thus providing well-conditioned Galerkin discretization matrices. On the other hand, they can generate surprising behavior of the eigenvectors hardly detected by analytic methods. These singular problems are often indirectly approximated by regular ones. We argue that spectral collocation as well as tau method offer remedies for the first two issues and provide direct and efficient treatment to such problems. On a finite domain, we consider the so-called Petterson-König’s rod eigenvalue problem and on the half line, we take into account the Charney’s baroclinic stability problem and the Fourier eigenvalue problem. One boundary condition in these problems depends on the eigenparameter and additionally, this also could depend on some physical parameters. The Chebyshev collocation based on both, square and rectangular differentiation and a Chebyshev tau method are used to discretize the first problem. All these schemes cast the problems into singular algebraic generalized eigenvalue ones which are solved by the QZ and/or Arnoldi algorithms as well as by some target oriented Jacobi-Davidson methods. Thus, the spurious eigenvalues are completely eliminated. The accuracy of square Chebyshev collocation is roughly estimated and its order of approximation with respect to the eigenvalue of interest is determined. For the problems defined on the half line, we make use of the Laguerre-Gauss-Radau collocation. The method proved to be reliable, accurate, and stable with respect to the order of approximation and the scaling parameter.

Authors

Călin-Ioan Gheorghiu
Tiberiu Popoviciu Institute of Numerical Analysis, Romanian Academy

Keywords

Collocation; Chebyshev; Laguerre; square differentiation; rectangular differentiation; tau method; Petterson-Konig’s rod; Charney stability; singular eigenproblems.

References

See the expanding block below.

Cite this paper as

C.I. Gheorghiu, On the numerical treatment of the eigenparameter dependent boundary conditions, Numerical Algorithms, 77 (2018) no. 1, pp 77–93, DOI: 10.1007/s11075-017-0305-1

PDF

About this paper

Journal

Numerical Algorithms

Publisher Name

Springer

Print ISSN

1017-1398

Online ISSN

1572-9265

Google Scholar Profile

google scholar link

[1] Boyd, J.P.: Orthogonal rational functions on a semi-infinite interval. J. Comp. Phys.70, 63–88 (1987)

[2] Boyd, J.P.: Chebyshev domain truncation is inferior to Fourier domain truncation for solving problems on an infinite interval. J. Sci. Comput. 3, 109–120 (1988)

[3] Boyd, J.P., Rangan, C., Bucksbaum, P.H.: Pseudospectral methods on a semi-infinite interval with application to the hydrogen atom: a comparison of the mapped Fourier sine method with Laguerre series and rational Chebyshev expansions. J. Comp. Phys.188, 56–74 (2003)

[4] Boyd, J.P.: Five themes in Chebyshev spectral methods applied to the regularized Charney eigen-problem: extra numerical boundary conditions, a boundary-layer-resolving change of
coordinate, parametrzing a curve which is singularat at an endpoint, extending the tau method to log-and-polynomials and finding the roots of a polynomial-and-log approximation. Comput. Math. Appl.71,1277–1241 (2016)

[5] Branscome, L.E.: The charney baroclinic stability problem: approximate solutions and modal structures. J. Atmos. Sci., 1393–1409 (1983)

[6] Driscoll, T.A., Hale, N., Trefethen, L.N.: Chebfun Guide. Pafnuty Publications, Oxford (2014)

[7] Driscoll, T.A., Hale, N.: Rectangular spectral collocation. IMA J. Numer. Anal. doi:10.1093/imanum/dru062

[8] Gheorghiu, C.I., Pop, I.S.: A modified Chebyshev-Tau method for a hydrodynamic stability problem. Approximation and Optimization. Proceedings of the International Conference on Approximation and Optimization (Romania)-ICAOR Cluj-Napoca, vol. II, pp. 119–126 (1996)

[9] Gheorghiu, C.I., Rommes, J.: Application of the Jacobi-Davidson method to accurate analysis of singular linear hydrodynamic stability problems. Int. J. Numer. Method Fl. (2012)

[10] Gheorghiu, C.I.: Spectral methods for non-standard eigenvalue problems. Fluid and Structural Mechanics and Beyond. Springer Cham Heidelberg New York Dondrecht London (2014)

[11] Gheorghiu, C.I.: Stable spectral collocation solutions to a class of Benjamin Bona Mahony initialvalue problems. Appl. Math. Comput. 273, 1090–1099 (2016)

[12] Gheorghiu, C.I.: Spectral collocation solutions to systems of boundary layer type. Numer. Algor. doi:10.1007/s11075-015-0083-6

[13] Gottlieb, D., Orszag, S.A.: Numerical analysis of spectral methods: theory and applications. SIAM,Philadelphia (1977)

[14] Goussis, D.A., Pearlstein, A.J.: Removal of infinite eigenvalues in the generalized matrix eigenvalue problems. J. Comput. Phys.84, 242–246 (1998)

[15] Maohzu, Z., Sun, J., Zettl, A.: The spectrum of singular Sturm-Liouville problems with eigen-parameter dependent boundary conditions and its approximation. Results. Math.63, 1311—1330(2013)

[16] van Noorden, T., Rommes, J.: Computing a partial generalized real Schur form using the Jacobi-Davidson method. Numer. Linear Algebra Appl.14, 197–215 (2007)

[17] Rommes, J.: Arnoldi and Jacobi-Davidson methods for generalized eigenvalue problemsAx=λBx with B singular. Math. Comput. 77, 995–1015 (2008)

[18] Shen, J., Tang, T., Wang, L.-L.: Spectral methods. Algorithms, Analysis and Applications SpringerHeidelberg Dordrecht London New York (2011)

[19] Trefethen, L.N.: Computation of pseudospectra. Acta Numer.8, 247–295 (1999)

[20] Tretter, Ch.: Nonselfadjoint spectral problems for linear pencils N−λP of ordinary differential operators with λ-linear boundary conditions: completeness results. Integr. Equat. Oper. Th.26, 222–248(1996)

[21] Tretter, C.h.: A linearization for a class of λ−nonlinear boundary eigenvalue problems. J. Math.Analysis Appl.247, 331–355 (2000)

[22] Tretter, Ch.: Boundary eigenvalue problems for differential equations Nη=λPη with λ-polynomial boundary conditions. Integr. J. Diff. Eqns.170, 408–471 (2001)

[23] Xu, K., Hale, N.: Explicit construction of rectangular differential matrices. IMA J. Numer. Anal.doi:10.1093/imanum/drv013

[24] Xu, K., Hale, N.: The Chebyshev points of the first kind. Appl. Numer. Math.102, 17–30 (2016)

[25] Wang, C.M., Wang, C.Y., Reddy, J.N.: Exact solutions for buckling of structural members. CRC Press(2005)

[26] Weideman, J.A.C., Reddy, S.C.: A MATLAB differentiation matrix suite. ACM T. Math. Software26, 465–519 (2000)

[27] von Winckel, G.: Fast Chebyshev Transform, MathWorks. File Exchanges (2005)

Paper (preprint) in HTML form

On the numerical treatment of the eigenparameter dependent boundary conditions

Călin-Ioan Gheorghiu 1 (D)
Abstract

In this paper, we consider the numerical treatment of singular eigenvalue problems supplied with eigenparameter dependent boundary conditions using spectral methods. On the one hand, such boundary conditions hinder the construction of test and trial space functions which could incorporate them and thus providing wellconditioned Galerkin discretization matrices. On the other hand, they can generate surprising behavior of the eigenvectors hardly detected by analytic methods. These singular problems are often indirectly approximated by regular ones. We argue that spectral collocation as well as tau method offer remedies for the first two issues and provide direct and efficient treatment to such problems. On a finite domain, we consider the so-called Petterson-König’s rod eigenvalue problem and on the half line, we take into account the Charney’s baroclinic stability problem and the Fourier eigenvalue problem. One boundary condition in these problems depends on the eigenparameter and additionally, this also could depend on some physical parameters. The Chebyshev collocation based on both, square and rectangular differentiation and a Chebyshev tau method are used to discretize the first problem. All these schemes cast the problems into singular algebraic generalized eigenvalue ones which are solved by the QZ and/or Arnoldi algorithms as well as by some target oriented Jacobi-Davidson methods. Thus, the spurious eigenvalues are completely eliminated. The accuracy of square Chebyshev collocation is roughly estimated and its order of approximation with respect to the eigenvalue of interest is determined. For the problems defined on the half line, we make use of the Laguerre-Gauss-Radau collocation. The method proved to be reliable, accurate, and stable with respect to the order of approximation and the scaling parameter.

Received: 27 April 2016 / Accepted: 28 February 2017 / Published online: 9 March 2017
© Springer Science+Business Media New York 2017

00footnotetext: Călin-Ioan Gheorghiu
ghcalin@ictp.acad.ro 1 Romanian Academy, "T. Popoviciu" Institute of Numerical Analysis, Cluj-Napoca, Romania

Keywords Collocation • Chebyshev • Laguerre • Square differentiation • Rectangular differentiation • Tau method • Petterson-König’s rod • Charney stability • Singular eigenproblems

1 Introduction

The main aim of this paper is to show that singular eigenvalue problems, supplied with boundary conditions containing the eigenparameter in their formulation, defined on the finite or unbounded interval, can be accurately solved by spectral collocation.

From the very beginning of our preoccupation with spectral methods, we observed in [8] that the Galerkin method is practically inapplicable to eigenvalue problems containing the eigenparameter in their formulation. This presence hinders the construction of test and trial space functions. Thus, in [8], we designed a modified tau method in order to solve a hydrodynamic stability problem (Orr-Sommerfeld) containing the eigenparameter in the formulation of two boundary conditions.

In this paper, we attempt to argue on along the same line and consider singular eigenvalue problems. The first one comes from elasticity and is defined on a finite interval.

The critical loads for divergence of a clamped-free elastic bar of finite length ll and constant flexural rigidity α\alpha exposed to an end load QQ are determined by the fourth order non-self-adjoint boundary eigenvalue problem

{y(4)(x)=λy(2)(x),0<x<1,y(0)=y(0)=0,y(2)(1)=0,y(3)(1)λ(1γ)y(1)=0,\left\{\begin{array}[]{c}y^{(4)}(x)=\lambda y^{(2)}(x),0<x<1,\\ y(0)=y^{\prime}(0)=0,\\ y^{(2)}(1)=0,y^{(3)}(1)-\lambda(1-\gamma)y^{\prime}(1)=0,\end{array}\right.

Here, λ:=Ql2α\lambda:=-\frac{Ql^{2}}{\alpha}, and γφl\gamma\varphi_{l}, with γ[0,1]\gamma\in[0,1], is the angle between the end load QQ and the xx-axis and φl\varphi_{l} denotes the angle between the tangent at the free end of the bar and the xx-axis (see [20] and [21] and some older papers quoted there). This system is called Petterson-König’s rod, or, if QQ is tangential, that is, γ=1\gamma=1, Pflüger’s rod. The case γ=0\gamma=0 leads to the well-known Euler-loads.

In the above quoted papers, Tretter provided important analytical results concerning the completeness, minimality, and Riesz basis properties of the corresponding eigenfunctions and associated functions. They are obtained after a suitable linearization of the problem and by means of a detailed asymptotic analysis of the Green’s functions. The function spaces where the above properties hold are described by λ\lambda-independent boundary conditions (see also [22]).

Consequently, we will also consider the boundary λ\lambda-independent eigenvalue problem attached to (1), namely

{y(4)(x)=λy(2)(x),0<x<1,y(0)=y(0)=0,y(2)(1)=0,γy(3)(1)+(1γ)y(3)(0)=0.}.\left\{\begin{array}[]{c}y^{(4)}(x)=\lambda y^{(2)}(x),0<x<1,\\ y(0)=y^{\prime}(0)=0,\\ y^{(2)}(1)=0,\gamma y^{(3)}(1)+(1-\gamma)y^{(3)}(0)=0.\end{array}\right\}.

Particular attention is paid to the way in which boundary conditions are imposed in collocation methods. However, the numerical experiments carried out show that
the critical eigenvalues found by both collocation methods are practically undistinguishable. They are confirmed by the tau method, which is robust with respect to the issue of boundary conditions. The numerical results plainly confirms some laborious analytical studies such as [20-22]. The dependence of the critical values of the eigenparameter on the involved physical parameter is displayed.

On an infinite domain, i.e., on the real positive axis, we first consider the Charney’s baroclinic stability problem. This reads

{uyy+{ryc14}u=0,y(0,),cuy+u=0,u(y)0 as y,}.\left\{\begin{array}[]{c}u_{yy}+\left\{\frac{r}{y-c}-\frac{1}{4}\right\}u=0,y\in(0,\infty),\\ cu_{y}+u=0,u(y)\rightarrow 0\text{ as }y\rightarrow\infty,\end{array}\right\}.

where r(0,1]r\in(0,1] is the meteorological parameter and cc is the eigenparameter. This problem is the so-called point-jet model of the baroclinic and barotropic instability process (see [4] and [5]). This is a second order problem complicated by the singularity in the differential operator, complex eigenvalues, and a semi-infinite domain. Actually, in [5], a more refined version of problem (3) is considered and in [4], Boyd solves a regularized Charney’s problem.

Then, we consider the so-called Fourier eigenvalue problem. It is a SturmLiouville problem which reads

u′′(x)\displaystyle-u^{\prime\prime}(x) =λu(x),x(0,),\displaystyle=\lambda u(x),x\in(0,\infty), (4)
u(0)\displaystyle u^{\prime}(0) =λu(0)6u(0).\displaystyle=-\lambda u(0)-6u(0).

The singularity of this problem comes from the length of its domain. In [15], the authors study the spectrum of this problem and its approximation with eigenvalues from a sequence of regular problems. The right end point is a limit-point.

In the well-known monograph of Gottlieb and Orszag [13] p. 45, the authors express their doubt with respect to the practical value in applications of collocation method based on Laguerre and Hermite polynomials due to the poor resolution of these polynomials. However, Boyd et al. showed in [3] that Laguerre collocation, based on Laguerre functions works fairly well for a singular eigenproblem (the hydrogen atom) on a semi-infinite interval. Also, the numerical results reported in our papers [10-12] advocated that Laguerre and Hermite collocation worked surprisingly well for various non-standard eigenvalue problems, boundary layer type problems or non-linear wave propagation on unbounded domains. On the other hand, in [2], Boyd clearly states that "Because of its simplicity, domain truncation will undoubtedly continue to be used in the real world even if numerical analysts frown."

However, in order to reduce a problem on an infinite interval to one over [1,1][-1,1] and to keep the most of the good numerical characteristics of Chebyshev polynomials, in [1], Boyd applies a mapping to these polynomials and defines a new spectral basis, the so-called rational Chebyshev functions on a semi-infinite interval.

In this paper, as well as in our last three quoted above, we have tried to plead that with a comparable computational effort collocation based on Sinc, Laguerre and Hermite functions can provide a competitive alternative for solving boundary value problems on unbounded domains.

The outline of the paper is as follows. In Section 2, we find out the analytical critical values of the eigenparameter in Petterson-König’s rod eigenvalue problem. In Section 3, we review the Chebyshev collocation (ChC) method based on square as well as the rectangular differentiation matrices. These two types of matrices are compared with respect to their normality. We also report the numerical results obtained using both methods in solving the problems (1) and (2). A rough, but fairly useful estimation, of the accuracy of numerical outcomes obtained by ChC based on square differentiation is outlined. In Section 4, we are concerned with solving the singular algebraic eigenvalue problems and establish the order of square ChC method in solving the problem (1) at least with respect to the first eigenvalue. In Section 5, the problem (1) is reconsidered using Chebyshev tau method (ChT). In Section 6, the "point-jet" model of the Charney’s baroclinic stability problem in solved by Laguerre-Gauss-Radau collocation (LGRC). We also comment on the optimal choice of the scaling parameter. In Section 7, we apply LGRC to the Fourier eigenvalue problem and notice a surprising behavior of the first eigenmode. Section 8 contains conclusions.

2 Some analytical results

The general analytical solution to problem (1) has the form

y(x):=Asin(xλ)+Bcos(xλ)+C+Dx,y(x):=A\sin(x\sqrt{\lambda})+B\cos(x\sqrt{\lambda})+C+Dx,

where the real constants A,B,CA,B,C, and DD have to be determined by imposing the four boundary conditions from the problem. Accordingly, the general stability criterion for Petterson-König’s rod reads

cos(λ)=γγ1.\cos(\sqrt{\lambda})=\frac{\gamma}{\gamma-1}. (5)

Thus, for γ=0\gamma=0, the above equation provides the critical value λcr=(π/2)2\lambda_{cr}=(\pi/2)^{2} which confirms the classical results for clamped (fixed)-free column from [25], Sect. 2.1.2. The first eigenvalue λcr\lambda_{cr} of λ\lambda for intermediate values of γ\gamma between 0.1 and 0.9 are reported in Table 1. They have been computed out using the MATLAB built-in function fsolve.

Table 1: Table 1 The critical values provided by (5)
γ\gamma 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9
λcr-\lambda_{cr} 2.83 3.33 4.05 5.29 9.86 8.94i6.048.94-i6.04 7.64i9.367.64-i9.36 5.61i12.945.61-i12.94 1.53i18.141.53-i18.14

3 ChC discretization of the problems

3.1 Square differentiation

First of all, we mention that throughout this paper the MATLAB notations in working with vectors and matrices are used.

The square discretization method is frequently used in spectral polynomial collocation. We have so far used the Chebyshev differentiation matrices provided by the matrix differentiation suite from [26].

If we denote by x1,xNx_{1},\ldots x_{N} the Chebyshev-Gauss-Lobatto, or the second kind Chebyshev nodes xk:=cos((k1)πN1),k=1,,Nx_{k}:=\cos\left(\frac{(k-1)\pi}{N-1}\right),k=1,\ldots,N and by 𝐃N(i)\mathbf{D}_{N}^{(i)} the square differentiation matrices of order i,i=1,,4i,i=1,\ldots,4 the ChC method casts the problem (1) into the algebraic singular generalized eigenvalue one

(𝐃N(2)(x1,:)4𝐃N(3)(x1,:)4𝐃N(4)(x3:xN2,:)𝐃N(1)(xN,:)𝐈N(N,:))𝐘=λ(𝐙N(1,:)(1γ)𝐃N(1)(x1,:)𝐃N(2)(x3:xN2,:)𝐙N(N,:)𝐙N(N,:))𝐘,\left(\begin{array}[]{c}\mathbf{D}_{N}^{(2)}\left(x_{1},:\right)\\ 4*\mathbf{D}_{N}^{(3)}\left(x_{1},:\right)\\ 4*\mathbf{D}_{N}^{(4)}\left(x_{3}:x_{N-2},:\right)\\ \mathbf{D}_{N}^{(1)}\left(x_{N},:\right)\\ \mathbf{I}_{N}(N,:)\end{array}\right)\mathbf{Y}=\lambda\left(\begin{array}[]{c}\mathbf{Z}_{N}(1,:)\\ (1-\gamma)\mathbf{D}_{N}^{(1)}\left(x_{1},:\right)\\ \mathbf{D}_{N}^{(2)}\left(x_{3}:x_{N-2},:\right)\\ \mathbf{Z}_{N}(N,:)\\ \mathbf{Z}_{N}(N,:)\end{array}\right)\mathbf{Y},

where 𝐈N\mathbf{I}_{N} and 𝐙N\mathbf{Z}_{N} are respectively the identity and the zero matrices and

𝐘:=(y(x1),a,y(x3),y(xN2),b,y(xN))T.\mathbf{Y}:=\left(y\left(x_{1}\right),a,y\left(x_{3}\right),\ldots y\left(x_{N-2}\right),b,y\left(x_{N}\right)\right)^{T}.

In the vector 𝐘\mathbf{Y}, the parameters aa and bb are introduced because in each node x1x_{1} and xNx_{N} the problem is supplied with two distinct boundary conditions.

To be more explicit with the set up of (6), we observe that the problem (1) is first shifted to the interval [1,1][-1,1]. Then, due to the computational conventions in the differentiation matrix suite [26], the first row in (6) enforce the third boundary condition of the problem, the second row does the same with the fourth boundary condition, the fourth row implement the second one and the last row implement respectively the first boundary condition. The left hand part of the third line in (6) stands for N4N-4 rows in the differentiation matrices 𝐃N(4)\mathbf{D}_{N}^{(4)} and the right hand part stands for the same rows in 𝐃N(2)\mathbf{D}_{N}^{(2)}. They both correspond to the nodes x3x_{3} to xN2x_{N-2}. In this way, we obtain a generalized eigenvalue problem of dimension NN.

Actually, in order to avoid three eigenvalues at infinity when the problem (6) is solved numerically, we could solve instead the modified problem, namely

(𝐃N(2)(x1,:)4𝐃N(3)(x1,:)4𝐃N(4)(x3:xN2,:)𝐃N(1)(xN,:)𝐈N(N,:))𝐘=λ(s1𝐃N(2)(x1,:)(1γ)𝐃N(1)(x1,:)𝐃N(2)(x3:xN2,:)s2𝐃N(1)(xN,:)s3𝐈N(N,:))𝐘,\left(\begin{array}[]{c}\mathbf{D}_{N}^{(2)}\left(x_{1},:\right)\\ 4*\mathbf{D}_{N}^{(3)}\left(x_{1},:\right)\\ 4*\mathbf{D}_{N}^{(4)}\left(x_{3}:x_{N-2},:\right)\\ \mathbf{D}_{N}^{(1)}\left(x_{N},:\right)\\ \mathbf{I}_{N}(N,:)\end{array}\right)\mathbf{Y}=\lambda\left(\begin{array}[]{c}s_{1}\mathbf{D}_{N}^{(2)}\left(x_{1},:\right)\\ (1-\gamma)\mathbf{D}_{N}^{(1)}\left(x_{1},:\right)\\ \mathbf{D}_{N}^{(2)}\left(x_{3}:x_{N-2},:\right)\\ s_{2}\mathbf{D}_{N}^{(1)}\left(x_{N},:\right)\\ s_{3}\mathbf{I}_{N}(N,:)\end{array}\right)\mathbf{Y},

where the scaling factors s1,s2,s3s_{1},s_{2},s_{3} map the infinite eigenvalues into specified regions of the complex plane (see for instance [14]).

Another way to deal with this inconvenience is the use of Jacobi-Davidson-type methods as we successfully did for similar problems in our previous paper [9].

3.2 Rectangular differentiation

The rectangular discretization method has been recently introduced by Driscoll and Hale in [7] ( see also [23] and [24]). The authors of [7] observe that the boundary conditions in spectral collocation methods based on square differentiation matrices are typically imposed by removing some rows of the discretized differential operator and replacing them with some others that enforce the required conditions at the boundary. In order to avoid ambiguities, they introduce an alternative approach. This new approach based upon resampling differentiated polynomials into a lower-degree subspace makes differentiation matrices, and operators built from them, rectangular without any row deletion. Then, boundary and interface conditions can be adjoined to yield a square system.

If we denote by x^1,x^N\widehat{x}_{1},\ldots\widehat{x}_{N} the Chebyshev-Gauss nodes (Chebyshev of the first kind), i.e., xk:=cos((2k1)π2N),k=1,,Nx_{k}:=\cos\left(\frac{(2k-1)\pi}{2N}\right),k=1,\ldots,N and by 𝐃^Nm,Ni\widehat{\mathbf{D}}_{N-m,N}^{i} the rectangular differentiation matrices of order i,i=1,,4i,i=1,\ldots,4 which map function values of a polynomial on an NN nodes system of the second kind to the derivatives of that polynomial on an NmN-m nodes system of the first kind, the ChC method casts now the problem (1) into the algebraic singular generalized eigenvalue one of the following form

(𝐃N(2)(x1,:)4𝐃N(3)(x1,:)4𝐃^N4,N(4)(x^1:x^N4,:)𝐃N(1)(xN,:)𝐈N(N,:))𝐘=λ(𝐙N(1,:)(1γ)𝐃N(1)(x1,:)𝐃^N4,N(2)(x^1:x^N4,:)𝐙N(N,:)𝐙N(N,:))𝐘.\left(\begin{array}[]{c}\mathbf{D}_{N}^{(2)}\left(x_{1},:\right)\\ 4*\mathbf{D}_{N}^{(3)}\left(x_{1},:\right)\\ 4*\widehat{\mathbf{D}}_{N-4,N}^{(4)}\left(\widehat{x}_{1}:\widehat{x}_{N-4},:\right)\\ \mathbf{D}_{N}^{(1)}\left(x_{N},:\right)\\ \mathbf{I}_{N}(N,:)\end{array}\right)\mathbf{Y}=\lambda\left(\begin{array}[]{c}\mathbf{Z}_{N}(1,:)\\ (1-\gamma)\mathbf{D}_{N}^{(1)}\left(x_{1},:\right)\\ \widehat{\mathbf{D}}_{N-4,N}^{(2)}\left(\widehat{x}_{1}:\widehat{x}_{N-4},:\right)\\ \mathbf{Z}_{N}(N,:)\\ \mathbf{Z}_{N}(N,:)\end{array}\right)\mathbf{Y}.

For our problem, m=4m=4 (the number of boundary conditions) and again 𝐈N\mathbf{I}_{N} and 𝐙N\mathbf{Z}_{N} are respectively the identity and the zero matrices and

𝐘:=(y(x1),a,y(x^1),y(x^N4),b,y(xN))T.\mathbf{Y}:=\left(y\left(x_{1}\right),a,y\left(\widehat{x}_{1}\right),\ldots y\left(\widehat{x}_{N-4}\right),b,y\left(x_{N}\right)\right)^{T}.

In the vector 𝐘\mathbf{Y}, as in the previous case of square differentiation, the parameters aa and bb are simply two "dummy" parameters.

The implementation of the high order rectangular differentiation matrices in (8) is carried out using the built-in function diffmat from Chebfun (Driscoll et al., [6] v5.1.0). Thus, we have
𝐃^N4,N(4)(x^1:x^N4,:):=diffmat([N4N],4,[1,1]\widehat{\mathbf{D}}_{N-4,N}^{(4)}\left(\widehat{x}_{1}:\widehat{x}_{N-4},:\right):=\operatorname{diffmat}([N-4N],4,[-1,1], chebkind2, chebkind 1))
and
𝐃^N4,N(2)(x^1:x^N4,:):=diffmat([N4N],2,[1,1]\widehat{\mathbf{D}}_{N-4,N}^{(2)}\left(\widehat{x}_{1}:\widehat{x}_{N-4},:\right):=\operatorname{diffmat}([N-4N],2,[-1,1], chebkind2, chebkind 1)) where ’chebkind1’ and ’chebkind2’ stand for the sets of Chebyshev nodes of the first and respectively second kind.

The remedy to the singularity of the algebraic eigenvalue problem (8) is the scaled procedure introduced in Section 3.1 or the use of Jacobi-Davidson type methods.

4 Numerical solutions to algebraic eigenvalue problems.

We have worked with three methods in order to solve the singular algebraic eigenvalue problems (6) or (7) and (8) (it is clear that the r. h. s. matrices in (6) and (8) are singular). The methods are QZ, Arnoldi, and Jacobi-Davidson. The first two methods are implemented in MATLAB by built-in functions eig and respectively eigs (A1B)\left(A^{-1}B\right) and the third is available in [16] and [17].

The first three eigenvectors of the problem (1) obtained by solving (6) and of the problem (2) when γ=0.25\gamma=0.25 are displayed in Fig. 1. The three pairs of curves are indistinguishable. The first (critical) eigenvalue equals in this case -3.650437 .

In order to quantify the accuracy of ChC solutions, we use the fcgltran routine (see [27]). This routine allows for fast transformation between nodal values at the Chebyshev-Gauss-Lobatto points and spectral coefficients by using the MATLAB built-in functions fft/ifft.

In Fig. 2 in a semilogy plot, we display the values of the spectral coefficients of the first three eigenvectors vs. the order of approximation. This plot suggests an accuracy of order 101110^{-11}.

By classical square differentiation, we also solve the λ\lambda-independent eigenvalue problem (2). We have got extremely close critical values to those obtained solving the the λ\lambda-dependent eigenvalue problem (1). They are displayed in the first two columns of Table 2.

This confirms the analytical results of Tretter [20].
On the other hand, comparing the first and the third columns of Table 2, we conclude that, at least for a few eigenvalues in the lower region of the spectrum, the square ChC and rectangular ChC perform equally well.

It is of some importance to establish the order of ChC method in solving the problem (1) at least with respect to the first eigenvalue. Thus, assuming that the error has the expression

Err=O(Nα)Err=O\left(N^{-\alpha}\right)

we obtain

α=2.05.\alpha=2.05.

However, the Arnoldi iteration proved to the most accurate and stable for large orders N.

In order to evaluate the non-normality of matrices involved in the algebraic eigenvalue problems of this paper, we use the so-called Henrici’s number (see for instance our monograph [10] p. 22). For a square matrix 𝐌\mathbf{M}, it is defined as

H(𝐌):=(ε(𝐌𝐌𝐌𝐌))1/2/ε(𝐌),H(\mathbf{M}):=\left(\varepsilon\left(\mathbf{M}^{*}\mathbf{M}-\mathbf{M}\mathbf{M}^{*}\right)\right)^{1/2}/\varepsilon(\mathbf{M}),
Table 2: Table 2 The first three eigenvalues for problems (1) and (2) solved by square ChC and problem (1) additionally solved by rectangular ChC
λ\lambda Problem (1) Problem (2) Problem (1)
Method Square differentiation Square differentiation Rectangular differentiation
λcr\lambda_{cr} -2.829636 -2.829586 -2.829421
λ2\lambda_{2} 2.116954e+01-2.116954\mathrm{e}+01 2.116965e+01-2.116965\mathrm{e}+01 2.117807e+01-2.117807\mathrm{e}+01
λ3\lambda_{3} 6.344611e+01-6.344611\mathrm{e}+01 6.344634e+01-6.344634\mathrm{e}+01 6.345859e+01-6.345859\mathrm{e}+01

where 𝐌\mathbf{M}^{*} stands for the conjugate transpose of 𝐌\mathbf{M} and ε()\varepsilon(\cdot) stands for the Frobenius norm of a matrix. We have deduced that

0H(𝐌)21/41.18920\leq H(\mathbf{M})\leq 2^{1/4}\simeq 1.1892

with H(𝐌)=0H(\mathbf{M})=0 iff 𝐌\mathbf{M} is normal, i.e., 𝐌𝐌𝐌𝐌=0\mathbf{M}^{*}\mathbf{M}-\mathbf{MM}^{*}=0.
It is well known that the non-normality of a matrix is responsible for its high spectral sensitivity, i.e., the sensitivity of its eigenvalues to small perturbations (see for instance Trefethen [19]).

Thus, a short glance at Table 3 shows that, for the problem at hand, the rectangular differentiation does not improve the normality of matrices involved in the eigenproblems but, on the contrary, makes it slightly worse.

5 ChT discretization of the problems

In ChT method, the solution is approximated by

uN(x):=k=0NakTk(x)u^{N}(x):=\sum_{k=0}^{N}a_{k}T_{k}(x) (9)

and thus its ith order derivatives can be expressed in the following form (see for instance our contribution [10] Sect. 1.1)

(uN(x))(i)=k=0Nak(i)Tk(x)\left(u^{N}(x)\right)^{(i)}=\sum_{k=0}^{N}a_{k}^{(i)}T_{k}(x) (10)

For second and fourth order derivatives, the numerical coefficients ak(i)a_{k}^{(i)} are given by

ckak(2)=p=k+2,p+k even Np(p2k2)ap,c_{k}a_{k}^{(2)}=\sum_{p=k+2,p+k\text{ even }}^{N}p\left(p^{2}-k^{2}\right)a_{p}, (11)

and

ckak(4)=124p=k+4,p+k even Np[p2(p222)23p4k2+3p2k4k2(k222)2]apc_{k}a_{k}^{(4)}=\frac{1}{24}\sum_{p=k+4,p+k\text{ even }}^{N}p\left[p^{2}\left(p^{2}-2^{2}\right)^{2}-3p^{4}k^{2}+3p^{2}k^{4}-k^{2}\left(k^{2}-2^{2}\right)^{2}\right]a_{p} (12)

respectively, with cnc_{n} defined by

cn:={2,n=01,n1c_{n}:=\left\{\begin{array}[]{l}2,n=0\\ 1,n\geq 1\end{array}\right.
Table 3: Table 3 The Henrici’s numbers (non-normality) of the matrices in the pencils of (6), (8) and respectively (15)
Method ChC square ChC rectangular ChT
H(𝐀)H(\mathbf{A}) 0.9413 0.9608 1.0029
H(𝐁)H(\mathbf{B}) 0.7154 1.1179 0.9859

In order to incorporate the boundary conditions in the framework of ChT method, the following equalities are useful

Tn(k)(±1)\displaystyle T_{n}^{(k)}(\pm 1) =(±1)n+km=0k1(n2m2)/(2k1)!!,k1,\displaystyle=(\pm 1)^{n+k}\prod_{m=0}^{k-1}\left(n^{2}-m^{2}\right)/(2k-1)!!,k\geq 1, (14)
N!!\displaystyle N!! :={N(N2)(N4)1,N odd ,N(N2)(N4)2,N even .\displaystyle:=\left\{\begin{array}[]{l}N(N-2)(N-4)\ldots 1,N\text{ odd },\\ N(N-2)(N-4)\ldots 2,N\text{ even }.\end{array}\right.

Thus, using the relations (11) and (12) along with boundary relations for k=1,2,3k=1,2,3, we get the following singular eigenvalue problem

𝐀𝐗=λ𝐁𝐗,\mathbf{A}\mathbf{X}=\lambda\mathbf{B}\mathbf{X}, (15)

where the unknown vector is defined 𝐗:=(a0a1aN)T\mathbf{X}:=\left(a_{0}a_{1}\ldots a_{N}\right)^{T} and the structure (sparsity) of matrices 𝐀\mathbf{A} and 𝐁\mathbf{B} is provided in Fig. 3.

They look fairly close to upper triangular matrices and are far less populated than the square and rectangular ChC matrices.

Their Henrici’s numbers, i.e., their non-normality, are displayed in Table 3. Actually, the matrices involved in (15) are only slightly worse with respect to normality than those involved in (6) in spite of their sparsity.

We have used the real variant of JDQZJDQZ method provided in [16] to find the first six eigenvalues of (15). The imposed target has been 0 and the tolerance is 1e061e-06. The results are twice confirmed by using the MATLAB built-in function eig and Arnoldi iterations in the same way as in [9].

It is clear from Fig. 4 that the roundoff plateau settles at a level lower than 101210^{-12} and thus the magnitude of error in ChT method could be roughly estimated at 101210^{-12}.

Thus, comparing Figs. 2 and 4, we can conclude that ChT method performs better than both square or rectangular ChC at least by one unit of accuracy. Moreover, ChT makes use of less than half the terms in the approximation expansion.

6 The LGRC solutions to Charney’s problem

The LGRC has been successfully used for non-linear boundary layer type problems in our recent paper [11]. The Laguerre-Gauss-Radau quadrature nodes and weights are defined for instance in the monograph of Shen et al. [18] p. 243. The set of nodes contains the origin and in ascending order the zeros of the derivative of the generalized Laguerre polynomial of degree NN. On these nodes, the authors define the differentiation matrix denoted 𝐃N,L\mathbf{D}_{N,L}, and then along with the above weights, they introduce the discrete Laguerre transform and its inverse. The (forward) discrete transform will be fairly useful in order to transfer the information, i.e., values of solution in nodes, from the physical space into the coefficients of expansion in the frequency (phase) space. Thus, we get the LGRC expansion coefficients of the solution. The rough accuracy can be inferred from the order of magnitude of these coefficients.

Actually, the method casts the eigenvalue problem (3) into the following algebraic generalized eigenvalue problem

𝐀𝐔=c𝐁𝐔,\mathbf{A}\mathbf{U}=c\mathbf{B}\mathbf{U}, (16)

where

𝐀:=[𝐙N(1,:);4diag(𝐗)𝐃𝐍,𝐋2(𝐱𝟐:𝐱𝐍,:)]+diag([1;4r𝐗(2:N)])\mathbf{A}:=\left[\mathbf{Z}_{N}(1,:);4*\operatorname{diag}(\mathbf{X})*\mathbf{D}_{\mathbf{N},\mathbf{L}}^{2}\left(\mathbf{x}_{\mathbf{2}}:\mathbf{x}_{\mathbf{N}},:\right)\right]+\operatorname{diag}([1;4*r-\mathbf{X}(2:N)])

and

𝐁:=[𝐃N(1,:);4𝐃N,L2(x2:xN,:)𝐈N(2:N)].\mathbf{B}:=\left[-\mathbf{D}_{N}(1,:);4*\mathbf{D}_{N,L}^{2}\left(x_{2}:x_{N},:\right)-\mathbf{I}_{N}(2:N)\right].

The vector 𝐗\mathbf{X} contains the LGRC nodes and again 𝐈N\mathbf{I}_{N} and 𝐙N\mathbf{Z}_{N} are respectively the identity and the zero matrices. The first row in (16), i.e., in matrices 𝐀\mathbf{A} and 𝐁\mathbf{B}, stands for the boundary condition in x1=0x_{1}=0 from the problem (3) and the subsequent rows stand for the differential operators collocated in the nodes x2x_{2} to xNx_{N}.

The algebraic eigenvalue problem (16) contrasts with the previously considered (6), (8), and (15). The problem (16) is non-singular and the other three are singular. Thus, its solution is straightforward.

An example of the pseudospectrum of Charney’s problem is provided in Fig. 5. We mention that we are interested in the leftmost part of this spectrum. The eigenvalue representing the one unstable mode is visible in this part.

For the scaling factor ranging in the interval [5,10], we have obtained the smoothest curves for the eigenvectors. The reason is that the Laguerre-Gauss-Radau quadrature nodes concentrate on the right of the origin, as the scaling factor increases. Actually, this is the region where a higher resolution is desired.

However, if we consider the phase speed cc for the one unstable mode obtained in [1] as the exact one, namely

cex=0.901016+i0.544987,c_{ex}=0.901016+i0.544987, (17)

we can find an optimal value of the scaling parameter. Namely, we compute for several values of scaling parameter bb the relative errors for cc, real(c) and imag(c) with respect to cexc_{ex} value from (17). Thus, we get Fig. 6. It justifies our choice for the scaling parameter bb.

The dependence of the real and imaginary parts of the phase speed cc on the meteorological parameter rr in the Charney’s problem is depicted in Fig. 7 when N=96N=96 and b=5b=5. This dependence is in perfect accordance with the results in [5] and [1] as well as with the physical requirement that cc becomes real and zero when r=1r=1.

Also, we have to point out that the numerical algorithm is stable in the sense that the first six digits of the eigenvalue of interest, its real and imaginary parts, remain practically unchanged for values of the cut off parameter NN in the interval [64, 128] and the values of scaling parameter in the interval [5, 10].

7 The LGRC solutions to Fourier eigenvalue problem

With the notations from Section 6, the LGRC casts the problem(4) into the algebraic eigenvalue one

𝐀F𝐔=λ𝐈N𝐔\mathbf{A}_{F}\mathbf{U}=\lambda\mathbf{I}_{N}\mathbf{U} (18)
Table 4: Table 4 The first five eigenvalues of problem (4)
jj Computed λj\lambda_{j}
1 -4.000000000000
2 6.81209218e036.81209218e-03
3 2.67921415e022.67921415e-02
4 6.13885947e026.13885947e-02
5 1.07398637e011.07398637e-01

where

𝐀F:=[𝐃N,L(1,:)+6𝐈N(1,:);𝐃N,L2(x2:xN,:)].\mathbf{A}_{F}:=-\left[\mathbf{D}_{N,L}(1,:)+6*\mathbf{I}_{N}(1,:);\mathbf{D}_{N,L}^{2}\left(x_{2}:x_{N},:\right)\right].

We shortly report the results obtained using the MATLAB built-in function eig to solve the algebraic eigenvalue problem (18). The first five eigenvalues of (18) are reported in Table 4 and the first eigenvector is depicted in Fig. 8.

In [15], the authors show that λ=4.0\lambda=-4.0 is the only eigenvalue of the problem below the essential spectrum. The results reported in Table 4 confirm this analytical result. Moreover, the first eigenvector displayed in Fig. 8 clearly exhibits a boundary layer behavior at the left end. This behavior could be interpreted as a consequence of boundary condition in this point and has not been observed in [15].

Finally, we apply the Laguerre polynomial transform in order to quantify the accuracy of LGRC in solving this problem. Figure 9 shows the behavior of the coefficients of Laguerre expansion for the first three eigenvectors.

As in the case of the fist eigenvalue, the first eigenvector appears to be computed close to machine precision. Unfortunately, for the next eigenvectors this accuracy is dramatically lost.

8 Concluding remarks

The implementation of the eigenparameter dependent boundary conditions has proved feasible using the matrix concatenation facilities of MATLAB in both, finite and infinite cases as well as for collocation and for tau methods.

In the specific case of the Petterson-König’s rod eigenvalue problem, we verify numerically that the eigenproblem supplied with λ\lambda dependent boundary conditions can be fairly well approximated, with respect to the completeness of the eigenfunctions, with a problem supplied with boundary conditions independent of the eigenparameter. Moreover, the presence of λ\lambda dependent boundary conditions do not affect the accuracy of spectral methods, collocation or tau, based on the Chebyshev polynomials.

However, the ChT method performs somewhat better than ChC based on both rectangular or square differentiation at a "cheaper price", i.e., using fewer than half approximation orders. As the non-normality of matrices involved in ChT can not explain this fact (see Table 3), the only reason for this superiority must be the way in which the boundary conditions are enforced.

Rectangular differentiation neither eases the implementation nor improves the accuracy.

For the singularly perturbed problems on [ 0,0,\infty ), the numerical results provided by LGRC, look reliable and confirm the numerical outcomes obtained by collocation based on rational Chebyshev functions as well as the analytical results.

Acknowledgements The author is grateful to both anonymous referees for their careful reading of the paper and suggestions which resulted in considerable improvement. He is also fairly indebted to Prof. John Boyd for illuminating discussions on the Charney’s problem during our visit to NAG in Oxford with the occasion of Chebyshev Day, 2016. With the same opportunity, Prof. Nick Trefethen provided us hints on rectangular differentiation.

References

  1. 1.

    Boyd, J.P.: Orthogonal rational functions on a semi-infinite interval. J. Comp. Phys. 70, 63-88 (1987)

  2. 2.

    Boyd, J.P.: Chebyshev domain truncation is inferior to fourier domain truncation for solving problems on an infinite interval. J. Sci. Comput. 3, 109-120 (1988)

  3. 3.

    Boyd, J.P., Rangan, C., Bucksbaum, P.H.: Pseudospectral methods on a semi-infinite interval with application to the hydrogen atom: a comparison of the mapped Fourier sine method with Laguerre series and rational Chebyshev expansions. J. Comp. Phys. 188, 56-74 (2003)

  4. 4.

    Boyd, J.P.: Five themes in Chebyshev spectral methods applied to the regularized Charney eigenproblem: extra numerical boundary conditions, a boundary-layer-resolving change of coordinate, parametrzing a curve which is singularat at an endpoint, extending the tau method to log-andpolynomials and finding the roots of a polynomial-and-log approximation. Comput. Math. Appl. 71, 1277-1241 (2016)

  5. 5.

    Branscome, L.E.: The charney baroclinic stability problem: approximate solutions and modal structures. J. Atmos. Sci., 1393-1409 (1983)

  6. 6.

    Driscoll, T.A., Hale, N., Trefethen, L.N.: Chebfun Guide. Pafnuty Publications, Oxford (2014)

  7. 7.

    Driscoll, T.A., Hale, N.: Rectangular spectral collocation. IMA J. Numer. Anal. doi:10.1093/imanum /dru062

  8. 8.

    Gheorghiu, C.I., Pop, I.S.: A modified Chevyshev-Tau method for a hydrodynamic stability problem. Approximation and Optimization. In: Proceedings of the International Conference on Approximation and Optimization (Romania)-ICAOR Cluj-Napoca, vol. II, pp. 119-126 (1996)

  9. 9.

    Gheorghiu, C.I., Rommes, J.: Application of the Jacobi-Davidson method to accurate analysis of singular linear hydrodynamic stability problems. Int. J. Numer. Method Fl. (2012)

  10. 10.

    Gheorghiu, C.I.: Spectral methods for non-standard eigenvalue problems. Fluid and Structural Mechanics and Beyond. Springer Cham Heidelberg New York Dondrecht London (2014)

  11. 11.

    Gheorghiu, C.I.: Stable spectral collocation solutions to a class of Benjamin Bona Mahony initial value problems. Appl. Math. Comput. 273, 1090-1099 (2016)

  12. 12.

    Gheorghiu, C.I.: Spectral collocation solutions to systems of boundary layer type. Numer. Algor. doi:10.1007/s11075-015-0083-6

  13. 13.

    Gottlieb, D., Orszag, S.A.: Numerical analysis of spectral methods: theory and applications. SIAM, Philadelphia (1977)

  14. 14.

    Goussis, D.A., Pearlstein, A.J.: Removal of infinite eigenvalues in the generalized matrix eigenvalue problems. J. Comput. Phys. 84, 242-246 (1998)

  15. 15.

    Maohzu, Z., Sun, J., Zettl, A.: The spectrum of singular Sturm-Liouville problems with eigenparameter dependent boundary conditions and its approximation. Results. Math. 63, 1311-1330 (2013)

  16. 16.

    van Noorden, T., Rommes, J.: Computing a partial generalized real Schur form using the JacobiDavidson method. Numer. Linear Algebra Appl. 14, 197-215 (2007)

  17. 17.

    Rommes, J.: Arnoldi and Jacobi-Davidson methods for generalized eigenvalue problems Ax=λBxAx=\lambda Bx with BB singular. Math. of Comput. 77, 995-1015 (2008)

  18. 18.

    Shen, J., Tang, T., Wang, L.-L.: Spectral methods. Algorithms, Analysis and Applications Springer Heidelberg Dordrecht London New York (2011)

  19. 19.

    Trefethen, L.N.: Computation of pseudospectra. Acta Numer. 8, 247-295 (1999)

  20. 20.

    Tretter, Ch.: Nonselfadjoint spectral problems for linear pencils NλPN-\lambda P of ordinary differential operators with λ\lambda-linear boundary conditions: completeness results. Integr. Equat. Oper. Th. 26, 222-248 (1996)

  21. 21.

    Tretter, C.h.: A linearization for a class of λ\lambda - nonlinear boundary eigenvalue problems. J. Math. Analysis Appl. 247, 331-355 (2000)

  22. 22.

    Tretter, Ch.: Boundary eigenvalue problems for differential equations Nη=λPηN\eta=\lambda P\eta with λ\lambda-polynomial boundary conditions. Integr. J. Diff. Eqns. 170, 408-471 (2001)

  23. 23.

    Xu, K., Hale, N.: Explicit construction of rectangular differential matrices. IMA J. Numer. Anal. doi:10.1093/imanum/drv013

  24. 24.

    Xu, K., Hale, N.: The Chebyshev points of the first kind. Appl. Numer. Math. 102, 17-30 (2016)

  25. 25.

    Wang, C.M., Wang, C.Y., Reddy, J.N.: Exact solutions for buckling of structural members. CRC Press (2005)

  26. 26.

    Weideman, J.A.C., Reddy, S.C.: A MATLAB differentiation matrix suite. ACM T. Math. Software 26, 465-519 (2000)

  27. 27.

    von Winckel, G.: Fast Chebyshev Transform, MathWorks ®. File Exchanges (2005)

2018

Related Posts