arxiv: v2 [math.na] 11 Jun 2018

Similar documents
The Convergence of Mimetic Discretization

Simple Examples on Rectangular Domains

PIECEWISE LINEAR FINITE ELEMENT METHODS ARE NOT LOCALIZED

Index. C 2 ( ), 447 C k [a,b], 37 C0 ( ), 618 ( ), 447 CD 2 CN 2

Hamburger Beiträge zur Angewandten Mathematik

Subdiffusion in a nonconvex polygon

INTRODUCTION TO FINITE ELEMENT METHODS

[2] (a) Develop and describe the piecewise linear Galerkin finite element approximation of,

Scientific Computing WS 2017/2018. Lecture 18. Jürgen Fuhrmann Lecture 18 Slide 1

Finite Element Method for Ordinary Differential Equations

Lucio Demeio Dipartimento di Ingegneria Industriale e delle Scienze Matematiche

LECTURE # 0 BASIC NOTATIONS AND CONCEPTS IN THE THEORY OF PARTIAL DIFFERENTIAL EQUATIONS (PDES)

Fractional Operators with Inhomogeneous Boundary Conditions: Analysis, Control, and Discretization

SPECTRAL PROPERTIES OF THE LAPLACIAN ON BOUNDED DOMAINS

Scientific Computing WS 2018/2019. Lecture 15. Jürgen Fuhrmann Lecture 15 Slide 1

A note on accurate and efficient higher order Galerkin time stepping schemes for the nonstationary Stokes equations

AMS 529: Finite Element Methods: Fundamentals, Applications, and New Trends

INTERGRID OPERATORS FOR THE CELL CENTERED FINITE DIFFERENCE MULTIGRID ALGORITHM ON RECTANGULAR GRIDS. 1. Introduction

Finite Elements. Colin Cotter. February 22, Colin Cotter FEM

A Finite Element Method Using Singular Functions for Poisson Equations: Mixed Boundary Conditions

Stability of an abstract wave equation with delay and a Kelvin Voigt damping

Lecture 9 Approximations of Laplace s Equation, Finite Element Method. Mathématiques appliquées (MATH0504-1) B. Dewals, C.

Second Order Elliptic PDE

Chapter 1: The Finite Element Method

1 Separation of Variables

Finite difference method for elliptic problems: I

Symmetry and M-matrix issues for the O-method on an Unstructured Grid

Partially Penalized Immersed Finite Element Methods for Parabolic Interface Problems

PART IV Spectral Methods

Numerical Solutions to Partial Differential Equations

LECTURE 1: SOURCES OF ERRORS MATHEMATICAL TOOLS A PRIORI ERROR ESTIMATES. Sergey Korotov,

Introduction. J.M. Burgers Center Graduate Course CFD I January Least-Squares Spectral Element Methods

8 A pseudo-spectral solution to the Stokes Problem

In this chapter we study elliptical PDEs. That is, PDEs of the form. 2 u = lots,

Local discontinuous Galerkin methods for elliptic problems

Class Meeting # 2: The Diffusion (aka Heat) Equation

Lecture Notes: African Institute of Mathematics Senegal, January Topic Title: A short introduction to numerical methods for elliptic PDEs

A brief introduction to finite element methods

Numerical Analysis of Differential Equations Numerical Solution of Parabolic Equations

Kasetsart University Workshop. Multigrid methods: An introduction

Numerical Solutions to Partial Differential Equations

Preconditioned space-time boundary element methods for the heat equation

A Multigrid Method for Two Dimensional Maxwell Interface Problems

arxiv: v1 [math.na] 29 Feb 2016

Scientific Computing I

Spectral Processing. Misha Kazhdan

Variational Formulations

Numerical Solutions to Partial Differential Equations

Functional Analysis Review

MULTIGRID PRECONDITIONING IN H(div) ON NON-CONVEX POLYGONS* Dedicated to Professor Jim Douglas, Jr. on the occasion of his seventieth birthday.

The Dirichlet-to-Neumann operator

Applied Numerical Mathematics. High-order numerical schemes based on difference potentials for 2D elliptic problems with material interfaces

Numerical Solutions to Partial Differential Equations

1. Introduction. We consider the model initial boundary value problem for the fractional order parabolic differential equation (FPDE) for u(x, t):

On Nonlinear Dirichlet Neumann Algorithms for Jumping Nonlinearities

u xx + u yy = 0. (5.1)

Boundary Integral Equations on the Sphere with Radial Basis Functions: Error Analysis

Finite Difference Methods for Boundary Value Problems

2 Two-Point Boundary Value Problems

Numerical Methods for Partial Differential Equations

Boundary Value Problems and Iterative Methods for Linear Systems

Separation of Variables in Linear PDE: One-Dimensional Problems

Partial Differential Equations

TRANSPORT IN POROUS MEDIA

An Accurate Fourier-Spectral Solver for Variable Coefficient Elliptic Equations

Regularity estimates for the solution and the free boundary of the obstacle problem for the fractional Laplacian

Lehrstuhl Informatik V. Lehrstuhl Informatik V. 1. solve weak form of PDE to reduce regularity properties. Lehrstuhl Informatik V

Final Exam May 4, 2016

SOLUTIONS TO SELECTED PROBLEMS FROM ASSIGNMENTS 3, 4

b i (x) u + c(x)u = f in Ω,

ACM/CMS 107 Linear Analysis & Applications Fall 2017 Assignment 2: PDEs and Finite Element Methods Due: 7th November 2017

6 Non-homogeneous Heat Problems

OPTIMALITY CONDITIONS AND ERROR ANALYSIS OF SEMILINEAR ELLIPTIC CONTROL PROBLEMS WITH L 1 COST FUNCTIONAL

Lecture Notes on PDEs

ASYMPTOTICALLY EXACT A POSTERIORI ESTIMATORS FOR THE POINTWISE GRADIENT ERROR ON EACH ELEMENT IN IRREGULAR MESHES. PART II: THE PIECEWISE LINEAR CASE

ON WEAKLY NONLINEAR BACKWARD PARABOLIC PROBLEM

Frequency functions, monotonicity formulas, and the thin obstacle problem

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

Recent result on porous medium equations with nonlocal pressure

Technische Universität Graz

17 Source Problems for Heat and Wave IB- VPs

Traces, extensions and co-normal derivatives for elliptic systems on Lipschitz domains

A very short introduction to the Finite Element Method

The Closed Form Reproducing Polynomial Particle Shape Functions for Meshfree Particle Methods

October 25, 2013 INNER PRODUCT SPACES

UNIQUENESS OF POSITIVE SOLUTION TO SOME COUPLED COOPERATIVE VARIATIONAL ELLIPTIC SYSTEMS

TMA4220: Programming project - part 1

A Perron-type theorem on the principal eigenvalue of nonsymmetric elliptic operators

Partial Differential Equations and the Finite Element Method

NONLOCAL DIFFUSION EQUATIONS

SHARP BOUNDARY TRACE INEQUALITIES. 1. Introduction

Analysis of a class of high-order local absorbing boundary conditions

3 Green s functions in 2 and 3D

Lecture on: Numerical sparse linear algebra and interpolation spaces. June 3, 2014

Problem set 3: Solutions Math 207B, Winter Suppose that u(x) is a non-zero solution of the eigenvalue problem. (u ) 2 dx, u 2 dx.

A FAST SOLVER FOR ELLIPTIC EQUATIONS WITH HARMONIC COEFFICIENT APPROXIMATIONS

SYMMETRY RESULTS FOR PERTURBED PROBLEMS AND RELATED QUESTIONS. Massimo Grosi Filomena Pacella S. L. Yadava. 1. Introduction

1 Discretizing BVP with Finite Element Methods.

Physics 202 Laboratory 5. Linear Algebra 1. Laboratory 5. Physics 202 Laboratory

HIGH-ORDER ACCURATE METHODS BASED ON DIFFERENCE POTENTIALS FOR 2D PARABOLIC INTERFACE MODELS

Transcription:

DISCRETIZATIONS OF THE SPECTRAL FRACTIONAL LAPLACIAN ON GENERAL DOMAINS WITH DIRICHLET, NEUMANN, AND ROIN OUNDARY CONDITIONS NICOLE CUSIMANO, FÉLIX DEL TESO, LUCA GERARDO-GIORDA, AND GIANNI PAGNINI arxiv:78.362v2 [math.na] Jun 28 Abstract. In this work, we propose novel discretizations of the spectral fractional Laplacian on bounded domains based on the integral formulation of the operator via the heat-semigroup formalism. Specifically, we combine suitable quadrature formulas of the integral with a finite element method for the approximation of the solution of the corresponding heat equation. We derive two families of discretizations with order of convergence depending on the regularity of the domain and the function on which the spectral fractional Laplacian is acting. Our method does not require the computation of the eigenpairs of the Laplacian on the considered domain, can be implemented on possibly irregular bounded domains, and can naturally handle different types of boundary constraints. Various numerical simulations are provided to illustrate performance of the proposed method and support our theoretical results. Key words. Fractional Laplacian, ounded Domain, Homogeneous and Nonhomogeneous oundary Conditions, Heat-Semigroup Formulation, Finite elements, Integral Quadrature. AMS subject classifications. 47G2, 65N3, 4A55, 65N5, 35R, 26A33, 65R, 65N25.. Introduction. Fractional operators, and nonlocal operators in general, became of high interest in mathematical modeling because of their success in overcoming difficulties encountered when trying to explain phenomena and fit data in complex systems. Fractional generalizations of model equations have been studied both with time-fractional derivatives e.g., diffusion problems in biologcal systems [44, 45] and porous media [48], or in relaxation phenomena and viscoelasticity [52, 4]) and with space-fractional operators e.g., in plasma physics [7], quantum mechanics [6], contaminant dispersion [62] or cardiac electrical propagation [, 6]) in relation also to experimental evidence e.g., [25, 27, 5, 43, 32, 3, 42]). Preliminary results of fractional models are promising and encourage the exploration of their use in more realistic settings, so that interesting mathematical models could phase into physically grounded equations, able to predict phenomena observed in experiments. The present study is motivated by providing accessible and effective tools for real world models involving fractional calculus operators. In order to fix the physical foundation of fractional models, bounded domains and boundary conditions come into play [3]. Typically, experiments are set up so that no effects are expected from outside the domain where the sample is contained and the local boundary conditions should fully determine the evolution of the process under study. For example, the observable under investigation can be zero at the boundaries, mathematically described by homogeneous Dirichlet boundary conditions. However, depending on the phenomena and the domain observed, other boundary conditions involving the specification of a nonzero value of the observable or a particular expression of its flux at the boundaries are required. This last example is the case of an insulated domain where Published in SIAM Journal on Numerical Analysis. asque Centre for Applied Mathematics CAM), ilbao, Spain ncusimano@bcamath.org, lgerardo@bcamath.org, gpagnini@bcamath.org) Norwegian University for Science and Technology NTNU), Trondheim, Norway felix.delteso@ntnu.no)

2 N. CUSIMANO, F. DEL TESO, L. GERARDO-GIORDA, G. PAGNINI the imposition of reflecting boundaries i.e., homogeneous Neumann boundary conditions) ensures mass conservation. When the observed process takes place in a domain characterized by high spatial complexity and/or structural heterogeneity we cannot ignore what happens at the interface between different structural compartments nor the conditions imposed at the boundary of the considered domain; hence the need for a consistent definition of nonlocal operators with boundary conditions. With this in mind, in the present paper we study a family of nonlocal operators defined in a consistent manner with the bounded domain on which they act and the corresponding local boundary conditions. Since this issue concerns the nonlocality in space, we consider the fractional Laplacian as a prototype operator. For this nonlocal operator many definitions exist e.g., Fourier multiplier [54], Riesz potential operator [36], hypersingular integral [46], heatsemigroup [56], extension problem [2]) and these definitions are proved to be equivalent for sufficiently smooth functions in R n, n, [35]. However, when the nonlocal operator is considered on bounded domains, this equivalence no longer holds. In the literature, one can find many different approaches for the definition or restriction of the fractional Laplacian in the bounded domain case and often, for each of these definitions, various schemes are proposed for the numerical computation of the considered operator see e.g., [3, 4, 8, 2, 7, 5, 23, 5, 6, 22, 24, ]). The work presented in this manuscript is based on the spectral definition of the fractional Laplacian on an open set Ω R n [, 57, 59]. Let L be a linear non-negative second order differential operator on L 2 Ω), self-adjoint and with a compact inverse. Then there is an orthonormal basis of L 2 Ω) made of eigenfunctions {ϕ m } m N of L, i.e., Lϕ m = λ m ϕ m, such that λ m, and λ m. Then, Lu = m λ m u, ϕ m ϕ m, and fractional powers of the operator, namely L s, with s, ), are defined as.) L s u = m λ s m u, ϕ m ϕ m, for all functions u L 2 Ω) such that m λ2s m u, ϕ m 2 <, denotes the inner product in L 2 Ω)). The choice of functional spaces on which L satisfies the aforementioned properties and the particular expression of eigenvalues λ j and eigenfunctions ϕ j depend not only on L but also on Ω and on the boundary conditions considered for this domain. Therefore, here and throughout the rest of the manuscript, we use the subscript to highlight that a given operator, in the bounded setting, is considered together with some boundary conditions. For example, we denote the Laplacian on Ω by ) rather than simply ). When L = ), from.) we obtain the definition of the spectral fractional Laplacian ) s on Ω and the notation is consistent with the one used for the Dirichlet and Neumann spectral fractional Laplacians in references [59], [58], and [29]. The fact that different boundary conditions modify the definition of the nonlocal operator on the bounded domain Ω is in complete agreement with our initial physical considerations and motivates our choice of working with the spectral definition rather than any other definition of fractional operator available in the literature. Regarding the numerical approximation of fractional equations on bounded domains Ω involving the spectral fractional Laplacian, we mention here two strategies. On the one hand, the matrix transfer technique, initially proposed by Ilić et al. [33, 34], computes a finite difference approximation of the spectral fractional Laplacian via the direct approximation of the eigenvalues and eigenvectors of the standard discrete Laplacian coupled to some given boundary conditions. This method can be easily adopted on simple geometries but, in the case of general domains, only estimates of

FRACTIONAL LAPLACIAN IN OUNDED DOMAINS 3 the eigenpairs are available, and computations require the solution of a very large number of eigenvalue problems. An efficient method for approximating the eigendecomposition of the Laplacian on more general domains has been recently proposed in [55]. On the other hand, for general Lipschitz domains Ω R n, n >, Nochetto et al. [47] developed a finite element FE) technique to compute the solution to the fractional Poisson equation involving the spectral fractional Laplacian with homogeneous Dirichlet boundary conditions and interpreted in light of the Caffarelli Silvestre extension method [2]. See [8] for a similar approach in the context of finite differences. onito and Pasciak in [7] proposed an integral formulation for fractional powers of the inverse of the Laplacian to solve the fractional Poisson equation. Differently from the approaches mentioned above, we exploit the fact that definition.) is equivalent to the one based on the heat-semigroup [56]. In particular, for the spectral fractional Laplacian we have.2) ) s ux) = e t ux) ux) ) t +s, where e t u represents the solution of the classical heat equation on the bounded domain Ω with initial condition u and boundary conditions. The connection between the nonlocal operator and the local heat equation provided by equation.2) allows us to develop an accessible and effective method for the numerical computation of the considered nonlocal operator on general bounded domains and with various boundary constraints. Specifically, in the present paper we compute the value of the operator ) s on a given function by combining a FE approach for the solution of the heat equation and a quadrature rule for the integral in.2) with respect to the measure dµt) =. We provide a suitable discretization for the considered fractional operator and prove convergence of the numerical t+s approximation. The cases of Dirichlet, Neumann and Robin boundary conditions are studied in details and several numerical results are provided. The numerical method is also used to compute the numerical approximation to a fractional porous medium type equation on a bounded domain: the sharp boundary behavior predicted in [5] is recovered. Fractional powers of the Laplacian with homogeneous boundary conditions are our main focus. However, under suitable assumptions, we propose a possible strategy to deal with the case of non-homogeneous boundary conditions, and we outline how our approach can be applied to compute fractional powers of more general second order elliptic operator L and how it can be adapted to deal with the case of more general boundary conditions. Organization of the paper. In section 2, we introduce our framework, some definitions, the concepts of the FE theory, and provide the general form of the quadrature approximation that will be used in the rest of this work. After stating our main assumptions, in section 3 we provide our first discretization and the corresponding proof of convergence. Under suitable assumptions, a similar approach is used to derive a higher order discretization of the nonlocal operator, as shown in detail in section 4. In section 5 we study the case of non-homogeneous boundary conditions. We define a fractional-type operator corresponding to the Laplacian coupled with non-homogeneous boundary conditions and convergent discretizations of the considered operators are provided. Possible extensions of our main results to more general operators is outlined in section 6. In section 7, we present numerical experiments to support our results and to illustrate the performance of the presented numerical

4 N. CUSIMANO, F. DEL TESO, L. GERARDO-GIORDA, G. PAGNINI methods. Our conclusions and future research directions are given in section 8. 2. Definitions and concepts. 2.. Notations and functional setting. oundary conditions. Let Ω be a bounded domain in R n, u : Ω R, κ : Ω R, and u ν be the derivative of u along the unit outward normal direction on Ω. We denote by one of the following boundary operators: 2.) 2.2) 2.3) u) = u, u) = u ν, u) = κ u + u ν, κx) > for all x Ω, which are known as Dirichlet, Neumann, and Robin boundary operators, respectively. For now we simply assume that the function u is regular enough so that all of the above makes sense. Eigenvalue problem. Let Ω be a Lipschitz bounded domain and one of the the above boundary operators. Then, there exists an orthonormal basis of L 2 Ω) consisting of eigenfunctions {ϕ m } m N of the Laplacian operator coupled to homogeneous boundary conditions ) =, that is, non-trivial solutions of 2.4) { ϕm = λ m ϕ m in Ω, ϕ m ) = on Ω. Moreover, the corresponding eigenvalues {λ m } m N are all non-negative and form a non-decreasing sequence such that λ m see e.g. [53]). Functional spaces. Given an open set Ω and r, H r Ω) denotes the classical Sobolev space W r,2 Ω) cf. [2]). We denote by r the classical norm of H r Ω). Throughout the manuscript we will always use to indicate the norm in H Ω) = L 2 Ω). H Ω) is the set of functions u H Ω) with null trace on Ω. For any given r, let H r Ω) be the space of u L2 Ω) such that ) /2 2.5) u H r = λ r m û m 2 <, m= where û m := u, ϕ m denotes the L 2 Ω) inner product of u with the basis function ϕ m previously introduced. Most of the results in this manuscript will be stated in terms of the norm H r given by 2.5), for some suitable non-negative integer r. When r is a non-negative integer, H r Ω) has the following characterization see Lemma 2.2 in [9] for the Dirichlet case, with similar proofs for the Neumann and Robin cases): 2.6) H r Ω) = {u H r Ω) j u) = on Ω, non-negative integer j < r/2}, and the norm H r is equivalent to the usual norm r in H r Ω). The conditions imposed on j u at the boundary are known in the literature as compatibility conditions. 2.2. Fractional powers of the Laplacian in bounded domains. Fractional powers with exponent s, ) of the Laplacian coupled to the boundary condition

FRACTIONAL LAPLACIAN IN OUNDED DOMAINS 5 are defined in the spectral sense as 2.7) ) s u := λ s mû m ϕ m, m= for all functions u L 2 Ω) such that m λ2s m û m 2 < see e.g., []). These conditions on u are a quite common requirement in the literature dealing with the spectral fractional Laplacian and we will proceed under these assumptions. However, wanting to work in full generality, the assumptions on the function u could be relaxed. Let be one of the boundary operators introduced in 2.), 2.2), or 2.3). We let wx, t) := e t ux) denote the solution of the heat equation 2.8) t w w = x, t) Ω, ), wx, ) = ux) x Ω, w, t))x) = x, t) Ω [, ). y separation of variables, the function w can be written as the following series: 2.9) wx, t) = e λmt û m ϕ m x), m= where λ m and ϕ m are the eigenpairs defined in 2.4). Let w denote the steadystate of 2.). Using the series expansion of w we can easily see that w = when λ m > for all m as in the Dirichlet case and the Robin case with κ > ), while w = û ϕ = Ω Ω u dx when λ = and λ m > for m 2 as in the Neumann case). On a bounded domain Ω, the definition of ) s given by 2.4)-2.7) is equivalent to the following one: Definition 2.. Let Ω be a bounded domain, s, ) and u H 2s Ω). The spectral -fractional Laplacian of u in Ω is given by 2.) ) s ux) = e t ux) ux) ) t +s, where e t ux) is the solution of 2.8). In section 5 we will extend definition 2.) to a fractional-type operator associated with non-homogeneous boundary conditions. 2.3. asics on the finite elements theory. To compute FE approximations of the heat equation solution, we consider the heat problem 2.8) in weak form. The weak formulation of the heat equation 2.8) is as follows: given u L 2 Ω) find w L 2, ; V ) C[, ); L 2 Ω)) such that 2.) { d wt), v + awt), v) =, v V, t > w) = u, where a, ) is the bilinear form corresponding to the particular set of boundary conditions considered in 2.8) and V is a suitable functional space i.e., H Ω) for homogeneous Dirichlet conditions or H Ω) in the homogeneous Neumann and Robin cases). In particular, aw, v) = w v for the Dirichlet and Neumann cases, while Ω

6 N. CUSIMANO, F. DEL TESO, L. GERARDO-GIORDA, G. PAGNINI aw, v) = Ω w v + κ w, v L 2 Ω) in the Robin case, with, L 2 Ω) denoting the scalar product in L 2 Ω). Note that the series expansion given by 2.9) still holds for the weak solution w see e.g. Lemma 7.2- in [5]). We introduce here the notation and concepts of the FE theory that we will use throughout this manuscript. Triangulation. Let h > and T h denote a triangulation of Ω such that the diameter of each element K T h is smaller than h. Spatial nodes. Let Ω h denote the set {x i } N h i= of N h nodes in the considered triangulation. Time points. Let t > and t j = j t, for j =,,..., N t, be a uniform grid of time points used to discretize the interval [, T ], for a given T >. Finite dimensional space and FE basis. Let P k, k, denote the space of polynomials of degree less than or equal to k and let Xh k be the space of triangular FE, that is, Xh k := { v h C } Ω) v h K P k K T h. Let V h = V Xh k be the finite dimensional space approximating V and {φ i} N h i= be the FE basis of V h given by the functions φ i Xh k, such that φ ix j ) = δ ij for all x j Ω h. L 2 Ω)-orthogonal projection. Let u L 2 Ω) and Ph k be the L2 Ω)-orthogonal projection operator over the space Xh k, that is, the operator P h k : L2 Ω) Xh k such that Ph ku, φ = u, φ for all φ Xk h. Stiffness and Mass matrices. The stiffness matrix A and the mass matrix M corresponding to the FE approximation of the problem 2.) on V h have entries A ij = aφ i, φ j ) and M ij = φ i, φ j for i, j =,..., N h, respectively. Definition 2.2. Let Ω be a bounded domain, u L 2 Ω), h, t >, and θ [, ]. Let W j) be the solution vector of the iterative linear system 2.2) M + θ ta)w j) = M + θ ) ta)w j ) for j =,..., N t, where the initial condition W ) has components W ) i = P k h ux i), for i =,..., N h. The FE solution of degree k of 2.) is the function w h : Ω { t N) [, T ]} R such that N h 2.3) w h x, t j ) = W j) i φ i x), for all x Ω, i= where {φ i } N h i= is the FE basis of degree k. 2.4. Definition of the discrete operator. Given u H 2s Ω), we denote by Θ s the following discrete operator in time: 2.4) Θ s ux) := N t wx, t j ) ux)) β j + w ux)) β, where wx, t j ) is the solution of 2.) at the time points t j = j t, N t N is a suitable integer, the β j are weights defining a suitable quadrature rule for 2.), w is the steady-state of 2.), and β is the value of the tail of the integral with respect to the measure t see Theorem 3. and Theorem 4. for further details). +s Combining 2.4) with the FE we get the following approximation of the spectral -fractional Laplacian ) s of a given u:

FRACTIONAL LAPLACIAN IN OUNDED DOMAINS 7 Definition 2.3. Let w h be the FE solution of degree k of 2.) defined by equation 2.3), corresponding to the initial datum u. Then, for all x Ω, the approximation of the -fractional Laplacian of u is defined as 2.5) Θ s hux) := N t w h x, t j ) w h x, )) β j + w ux)) β. Remark. In section 3 and section 4 we propose two different choices of the weights β j leading to approximations of ) s u with different accuracy. The weights β j defined in 3.2) correspond to a composite midpoint quadrature rule while the ones in 4.2) correspond to a quadrature defined via a piecewise linear interpolant. 3. Main result. 3.. Assumptions. In order to prove our main convergence results, we need some assumptions on the domain Ω, the triangulation T h, the function u, the spatial and the temporal steps h and t, respectively. Specifically, we assume: A Ω ) Ω is a bounded convex polytope see Remark 2 below). A ) The boundary operator is given by 2.), 2.2), or 2.3). If is the Robin boundary operator, then κ C Ω) and κx) > for all x Ω. A u ) u H k+ Ω), with k degree of the FE). A Th ) T h is a quasi-uniform family of triangulations: letting h K := diamk), K T h, and ρ K := sup{diams) S is a ball contained in K}, there exist two constants, σ and τ >, such that max K h K /ρ K σ and min K h K τ h, h >. A CFL ) If θ < 2, then t h 2 c µ / 2θ), where c µ is a positive constant independent from both t and h, derived from a bound for the largest eigenvalue of the bilinear form a, ) on the finite-dimensional space V h see e.g., Chapter 6 in reference [49] for details). Remark 2. We have assumed the domain to be a convex polytope so that the technicalities related to FE approximations in the case of curvilinear boundaries and re-entrant corners can be avoided. However, assumption A Ω ) can be relaxed to Ω being a bounded domain with Lipschitz boundary Ω. The case of Lipschitz domains with curvilinear boundaries can be dealt with, for example, as proposed in [4], while suitable mesh refinements near re-entrant corners allow the recovery of optimal error bounds for non-convex domains as shown in the work by Chatzipantelidis et al. [3] and references therein. 3.2. Low order approximation. We now state our first main result, which concerns homogeneous boundary conditions. Theorem 3.. Let s, ), h >, θ [, ], k N, and [2, k + ] if θ < 3.) t = η h p for some η > and p 2,, k + ] if 2 θ. Assume that A Ω ), A u ), A ), A Th ), A CFL ) hold, and let Θ s h be defined by 2.5) where: a) w h is the FE solution of degree k of 2.) with initial datum u; b) N t s ) λ min t log, λ min being the first nonzero eigenvalue of ); t

8 N. CUSIMANO, F. DEL TESO, L. GERARDO-GIORDA, G. PAGNINI c) the weights β j, for j =,..., N t, are given by 3.2) β j := and tj+ t/2 t j t/2 β := [ t +s = ) s tj t s 2 t Nt + t/2 tj + t 2 t +s = sn t + /2) t) s. Then, there exists a constant C > independent of h such that 3.3) ) s u Θ s hu C h p s). 3.3. Proof of Theorem 3.. In order to prove Theorem 3. we need some intermediate results. We split the integral in 2.) into three parts: i) singular part 3.4) I S [u]x) := ii) middle part 3.5) iii) tail I M [u]x) := T T2 ) s ] e t ux) ux) ) t +s, for some T >, T e t ux) ux) ) t +s, for some T 2 > T, 3.6) I [u]x) := e t ux) ux) ) T 2 t +s. This way, ) s u = I S [u] + I M [u] + I [u]. For each of these integrals, in subsection 3.3., we define an approximation, that we denote by I D S, ID M, ID, so that Θ s u = I D S [u] + I D M [u] + I D [u]. In subsection 3.3. we provide a bound to ) s u Θ s u while in subsection 3.3.2 we estimate Θ s u Θ s h u. The proof of Theorem 3. follows from these preliminary results. 3.3.. Intermediate results. In the following lemmas, we work under the assumptions A Ω ), A ), and that the regularity of u is as given explicitly by the constants in each error estimate. Lemma 3.2. Let s, ), t >, I S given by 3.4) with T := t/2, and I D S [u] :=. Then, there exists a constant c S = c S s, u H 2 ) > such that I S [u] I D S [u] c S t s. Proof. Using the series expansion of u and w = e t u see 2.9)), wx, t) ux) = m e λmt ) û m ϕ m x).,

FRACTIONAL LAPLACIAN IN OUNDED DOMAINS 9 y orthonormality of the functions ϕ m, [ w, t) u = e λ mt ) ] /2 2 ûm 2. Moreover, for all λ and t, e λt ) 2 λ 2 t 2, so that m [ ] /2 w, t) u λ 2 mt 2 û m 2 = u H 2 t. Therefore, exploiting Minkowski s integral inequality I S [u] I D S [u] m u H 2 t/2 t/2 w, t) u t s+ t s c S t s. Lemma 3.3. Let s, ), t >, I M given by 3.5) with T := t/2 and T 2 = N t + /2) t for some positive integer N t. Let t j = j t for j =,..., N t and 3.7) I D M [u]x) := N t e tj ux) ux))β j, with weights β j given in 3.2). Then, there exists a constant c M = c M s, u H 2 ) > such that I M [u] I D M [u] c M t s. Proof. We split the interval [ t/2, N t + /2) t] into N t subintervals of size t, denote w = e t u, and rewrite I M [u] as the following finite sum of integrals: I M [u]x) = N t tj+ t/2 t j t/2 wx, t) ux)) t +s, where t j = j t, for j =,..., N t. y using the expression 3.7) for IM D [u] we obtain I M [u]x) I D M [u]x) = N t tj+ t/2 t j t/2 wx, t) wx, t j )) t +s, so that, by using the triangular inequality and Minkowski s integral inequality, I M [u] I D M [u] N t tj+ t/2 t j t/2 w, t) w, t j ) t +s. Using the series expansion of w and the fact that for all λ, e λt is a convex and monotonically decreasing function of t, one finds that on each subinterval I j = [t j t/2, t j + t/2], e λmt e λmtj ) 2 λ 2 me 2λmtj t/2) t t j ) 2 λ 2 m t 2.

N. CUSIMANO, F. DEL TESO, L. GERARDO-GIORDA, G. PAGNINI Therefore, w, t) w, t j ) t u H 2 for all j and all t I j, which leads to I M [u] IM D [u] u H 2 t N t u H 2 t tj+ t/2 t j t/2 2 s s t s c M t s. u = t H2 t+s Nt+/2) t t/2 Lemma 3.4. Let s, ), I given by 3.6) for some T 2 >, and 3.8) I D [u]x) := w ux)) T 2 t +s = w ux)) s T2 s. t +s Let λ min be the first nonzero eigenvalue of ). Then there exists a constant c = c s, u ) such that I [u] I [u] D e λmint2 c. Proof. Recall that w = for the Dirichlet and Robin cases, while w = û ϕ for Neumann boundary conditions, and let m min be the index corresponding to λ min i.e., for the boundary operators of interest, m min = in the Dirichlet and Robin cases, while m min = 2 in the Neumann case). Then, for all t, wx, t) w = m=m min e λmt û m ϕ m x), so that Hence, w, t) w = I [u] I D [u] [ m=m min e 2λmt û m 2 T s 2 ] /2 e λmint u. w, t) w T 2 t +s u e λmint2 st2 s Proposition 3.5. Let assumptions of Theorem 3. hold. Let ) s and Θ s be defined by 2.) and 2.4), respectively. Then, there exists a constant c a = c a s, u H 2 ) > such that ) s u Θ s u c a t s. Proof. The result follows by simply combining Lemma 3.2, Lemma 3.3, and Lemma 3.4. ) s u Θ s u I S [u] I D S [u] + I M [u] I D M [u] + I [u] I D [u] c S t s + c M t s e λmint2 + c. Finally, using the definition of N t and choosing T 2 = N t + /2) t we obtain that t s, and a suitable choice of the constant c a completes the proof. e λ min T 2 T s 2 T s 2.

FRACTIONAL LAPLACIAN IN OUNDED DOMAINS 3.3.2. Finite element approximation. In this section we combine some wellknown estimates of the FE method to obtain a bound for the error made by approximating Θ s u by Θ s hu. As usual, we denote by w the solution of the heat equation with initial condition u, and by w h the corresponding FE approximation of order k. Recalling that w, ) = u and that w h, ) = Ph ku is the L2 Ω)-orthogonal projection of the function u, from classical estimates for the FE projection error e.g., Section 3.5 in [49]) we have 3.9) w, ) w h, ) = u P k h u c h k+ u k+ for some positive constant c independent from h. In order to bound w, t j ) w h, t j ) for t j > we use the fact that there exists a constant c independent from h, t, and t j such that 3.) w, t j ) w h, t j ) c h k+ + t). The above result, for t j > can be obtained via classical FE estimates which hold even for rough initial data, u L 2 Ω) see e.g., Remark.3.2 in [49] or Theorems and 2 in [39]), while for t j, the bound 3.) is a consequence of the regularity assumptions made on u, ensuring that the constant c can be controlled by the integral over [, ]) of suitable spatial norms of the heat solution w and its temporal derivatives see e.g., Theorem.3.4 in [49] or Theorem 2. in [8]). Proposition 3.6. Let assumptions of Theorem 3. hold and Θ s u given by 2.4). Then, there is a constant c D = c D s, Ω, u k+,, k) > such that Θ s u Θ s hu c D h k+ t s + t s ). Proof. Via the triangular inequality we find 3.) Θ s u Θ s hu N t [ w, t j ) w h, t j ) + w, ) w h, ) ] β j. On one hand, by using 3.9), we can bound the sum of terms in 3.) involving w, ) and w h, ) as follows: N t w, ) w h, ) β j c hk+ u k+ = c hk+ u k+ N t β j T2 t/2 t +s c h k+ t s. On the other hand, for the remaining terms of 3.) we use 3.) and obtain N t w, t j ) w h, t j ) β j Hence, combining the above estimates we get c h k+ + t ) T2 c h k+ + t ) t s. Θ s u Θ s hu c h k+ t s + c h k+ + t ) t s c D h k+ t s + t s). t/2 t +s

2 N. CUSIMANO, F. DEL TESO, L. GERARDO-GIORDA, G. PAGNINI 3.3.3. Proof of the main result. Proof of Theorem 3.. The triangular inequality yields 3.2) ) s u Θ s hu ) s u Θ s u + Θ s u Θ s hu. Proposition 3.5 provides the following bound of the first term in 3.2): ) s u Θ s u c a t s. On the other hand, from Proposition 3.6 we have that Θ s u Θ s hu c D h k+ t s + t s ). From 3.) we have that h k+ t s = η s h k+ ps and t s = η s h p s). Moreover, k + ps p s) for all p k +. Hence, the order of convergence is always determined by h p s), and by suitably choosing the constant C in 3.3) we conclude the proof. 4. Higher order discretization. Since s, ), the rate of convergence presented in Theorem 3. can be slow for practical computations when s is close to one. In this section, we present a discretization that allows to obtain a better rate of convergence at the expenses of requiring some extra regularity to the function u, and also to the boundary operator in the Robin case. We adopt the Crank-Nicolson temporal scheme, corresponding to setting θ = /2 in the FE solution of the heat equation given by 2.2). We suitably modify the relationship between the discretization parameters t and h, and consider higher order quadrature approximations for both I S and I M. 4.. Assumptions and higher order result. We assume that: HA ) The boundary operator is given by 2.), 2.2), or 2.3). If u) is the Robin boundary operator, then κ C 3 Ω) and κx) > for all x Ω. HA u ) u H r Ω) with r = max{k +, 4}. The approximation of the -fractional Laplacian of u is defined as in Definition 2.3 where now w h is the FE solution of degree k of 2.) with θ = /2 and the weights β j are given by 4.2)-4.3). Theorem 4.. Let s, ), h >, k N and 4.) t = η h p for some η > and p, k + )/2]. Assume that A Ω ), HA u ), HA ), A Th ) hold, and let Θ s h be given by 2.5) where: a) w h is the Crank-Nicolson FE solution of degree k of 2.) corresponding to the initial datum u; b) N t 2 s ) λ min t log, λ min being the first nonzero eigenvalue of ); t c) the weights β j are defined as 4.2) β j := t s s F ) + F 2) F ) j =, F j + ) 2F j) + F j ) j = 2,..., N t, F N t ) F N t ) + F N t ) j = N t, with 4.3) F t) := t s ss ) and F t) := s t s,

and FRACTIONAL LAPLACIAN IN OUNDED DOMAINS 3 β := t Nt t +s = sn t t) s. Then, there exists a constant C > independent from h such that 4.4) ) s u Θ s hu C h p2 s). 4.2. Proof of Theorem 4.. Similarly to the approach used in subsection 3.3, we use the splitting ) s u = I S [u] + I M [u] + I [u] and define different approximations for the singular part, the middle part, and the tail of the integral. Specifically, for the singular part we now define 4.5) I D S [u]x) := e t ux) ux) t t t s = e t ux) ux) s) t s. In the following lemmas, we work under the assumptions A Ω ), HA ), and that the regularity of u is as given explicitly by the constants in each error estimate. Lemma 4.2. Let s, ), t >, I S be as in 3.4) with T := t, and I D S [u] defined by 4.5). Then, there exists a constant c S = c S s, u H 4 ) > such that Hence, 4.6) I S [u] I D S [u] c S t 2 s. Proof. Using the properties of the exponential, for all λ m we have e λmt t e λmt e λm t t e λ m t t λ2 m t 2 ) ) 2 t λ4 m t 2 t 2 4 t [, t]. t [, t]. Letting w = e t u, using the series expansion of w and u, and from 4.6), we obtain I S [u] IS D t ) [u] w, t) u w, t) u t t t +s t ) /2 λ 4 m t 2 t 2 û m 2 4 t +s = u H 4 t 2 m= t t t +s = u H4 2 s) t2 s. For the middle part, we consider the piecewise linear interpolant of e t ux) ux) on a grid of equally spaced points t j = j t, j =,..., N t. Given a function φ : [, + ) R, the linear interpolant of φ is defined as { N t P[φ]t) := φt j )P t t t j ), with P t t) := t if t t, t elsewhere. Letting ψx, t) := e t ux) ux), we define 4.7) I D M [u]x) := Nt t t P[ψ]x, t) t +s = N t e tj ux) ux)) ρ j,

4 N. CUSIMANO, F. DEL TESO, L. GERARDO-GIORDA, G. PAGNINI where ρ j := N t t P t t t t j ) t. Note that the integrals ρ +s j are positive since the tent functions P t t t j ) are positive for all j. Moreover, following the same procedure used in [3] for the exact computation of quadrature weights we find: ρ j = F ) + F 2) F ) j =, t s F j + ) 2F j) + F j ) j = 2,..., N t, F N t ) F N t ) + F N t ) j = N t, where F and F are defined as in 4.3). Remark 3. Note that the weights β j in 4.2) are equal to ρ j for all j except for j = where an extra positive term coming from the discretization of the singular part of the integral in the definition of ) s ) is added to ρ. Lemma 4.3. Let s, ), t >, I M be as in 3.5) with T := t and T 2 := N t t for some positive integer N t. Let IM D be defined by 4.7). Then, there exists a constant c M = c M s, u H 4 ) > such that I M [u] I D M [u] c M t 2 s. Proof. We start by splitting the integral over [ t, N t t] as the sum of integrals over subintervals I i = [t j, t j+ ] of length t. Let wx, t) = e t ux) and ψx, t) = wx, t) ux). For notational convenience, we denote g m t) = e λmt. Then, using 2.9) it is straightforward to show that N t ) P[ψ]x, t) = g m t)û m ϕ m x) P t t t j ) = P[g m ]t)û m ϕ m x). and thus, m= ψx, t) P[ψ]x, t) = m= g m t) P[g m ]t)) û m ϕ m x). m= On each subinterval I i, P[g m ] is the Lagrange linear interpolant of g m and hence there exists a constant c independent of t and t j such that for all t I i, g m P[g m ] L [t j,t j+]) c t 2 2 g m t 2 c t 2 λ 2 m. L [t j,t j+]) Consequently, for all t I i, ψt) P[ψ]t) = m= c t 2 g m t) P[g m ]t) 2 û m 2 ) 2 m= λ 4 m û m 2 ) 2 = c u H 4 t 2. From the definitions of I M and IM D, the triangular inequality and Minkowski s integral inequality we hence get 4.8) 4.9) I M [u] I D M [u] N t tj+ c u H 4 t2 t j ψt) P[ψ]t) t +s Nt t t c u H4 t+s s t2 s.

FRACTIONAL LAPLACIAN IN OUNDED DOMAINS 5 Finally, we set I as in 3.8) and define 4.) Θ s u := I D S [u] + I D M [u] + I D [u]. Then, Θ s u can be written as in 2.4) with weights β j given by 4.2)-4.3). Proposition 4.4. Let assumptions of Theorem 4. hold, ) s and Θ s be defined by 2.) and 4.). Then, there exists a constant c a = c a s, u H 4 ) > such that ) s u Θ s u c a t 2 s. Proof. We proceed as in the proof of Proposition 3.5 using now Lemma 4.2, Lemma 4.3 and Lemma 3.4 to get ) s u Θ s u I S [u] I D S [u] + I M [u] I D M [u] + I [u] I D [u] c S t 2 s + c M t 2 s e λmint2 + c. Using the definition of N t and choosing T 2 = N t t, we get e λ min T 2 T2 s suitable choice of the constant c a concludes the proof. T s 2 t 2 s. A With Proposition 4.4 we complete the control of the error coming from the discretization of the integral. Proposition 4.5. Let assumptions of Theorem 4. hold and let Θ s be defined by 4.). Then, there is a constant c D = c D s, Ω, u k+,, k) > such that Θ s u Θ s hu c D h k+ t s + t 2 s ). Proof. We follow the exact same procedure and notation used in the proof of Proposition 3.6. The bound 3.9) for the projection error still holds. The FE error for t j > can be now improved exploiting the fact that the second-order Crank-Nicolson discretization scheme is used in time, leading to an error Oh k+ + t 2 ) see e.g., Corollary.3. in [49] and [4]). Thus, we find N t w, t j ) w h, t j ) β j c Nt h k+ + t 2) y definition, β j > for all j. Consequently, N t β j = t s Nt s + β j. ρ j = t s s + F N t ) F ) t s c t s. Thus, following the proof of Proposition 3.6, we conclude that Θ s u Θ s hu c D h k+ + t 2 ) t s. We can now prove the higher order discretization result. Proof of Theorem 4.. Following the same steps done in the proof of Theorem 3., now exploiting the estimates of Proposition 4.4 and Proposition 4.5, we obtain ) s u Θ s hu c h k+ t s + t 2 s ), y using the relationship between h and t given by 4.), we have h k+ t s = η s h k+ ps and t 2 s = η 2 s h p2 s). Moreover, k + ps p2 s) for p k+ 2. Therefore, the order of convergence is determined by t 2 s = h p2 s) and by suitably choosing the constant C in 4.4) we obtain the desired result.

6 N. CUSIMANO, F. DEL TESO, L. GERARDO-GIORDA, G. PAGNINI 5. Nonlocal operators with non-homogeneous boundary conditions. In many practical physical applications, the condition required at the boundary is not necessarily homogeneous. In this section we define and deal with a family of nonlocal operators of fractional type that are compatible with non-homogeneous Dirichlet, Neumann or Robin boundary conditions. 5.. The nonlocal operator. Consider u : Ω R, satisfying u) = g on Ω for some g : Ω R. Let vx, t) be the solution of the following heat equation with initial condition u and non-homogeneous boundary conditions: 5.) t v v = x, t) Ω, ), vx, ) = ux) x Ω, v, t))x) = gx) x, t) Ω [, ). Generalizing Definition 2., we define the nonlocal operator L s g on the given u as 5.2) L s g[u]x) := vx, t) vx, )), x Ω. t+s We intentionally avoid using the notations e t and ) s when dealing with nonhomogeneous boundary conditions since L s g is not a fractional power of the Laplacian coupled to non-homogeneous boundary conditions. However, as we show in Section 5.2, L s g[u] = ) s [u z], where z is the harmonic extension of g to Ω. Clearly, the same strategy previously proposed in this work can be followed to obtain numerical approximations of 5.2): the solution of the heat equation 5.) can be approximated via FE accounting for non-homogeneous boundary conditions, while the quadrature formulas for the approximation of the singular integral 5.2) remain unchanged. Moreover, the above-mentioned characterization of the nonlocal operator L s g in terms of ) s can be exploited as a powerful tool in the numerical approach see Section 5.3). After the first submission of this manuscript we came across the work by Antil et al. [2] in which they propose an alternative way to deal with non-homogeneous boundary data. However, in the very recent work by Lischke et al. [38], our definition given by 5.)-5.2)) and the one presented in [2] are shown to be equivalent. Moreover, the authors of [38] also present a nice and detailed comparison of the two approaches from the numerical point of view. 5.2. Characterisation of L s g. The solution of 5.) can be written as the sum vx, t) = wx, t) + zx), where wx, t) = e t [u z]x) is the solution of the heat equation with homogeneous boundary conditions and shifted initial condition, i.e., 5.3) t w w = x, t) Ω, ), wx, ) = ux) zx) x Ω, w, t))x) = x, t) Ω [, ), and z is the steady-state of 5.), i.e., the solution of the harmonic extension problem 5.4) { z = x Ω z)x) = g x Ω. The following characterization result provides an alternative definition of L s g.

FRACTIONAL LAPLACIAN IN OUNDED DOMAINS 7 Lemma 5.. Assume that u H 2s Ω) such that u) = g and let the solution of 5.4) be z H 2s Ω). Let also L s g and ) s be defined by 5.)-5.2) and 2.) respectively. Then, L s g[u] = ) s [u z] in Ω. Proof. Clearly, u z H 2s Ω) and u z) =. Let wx, t) := e t [u z]x) be the solution of 5.3). Then, by using 5.4) and 5.3), for every x Ω the function vx, t) := wx, t) + zx) is such that and v t v = w t w + z =, vx, ) = wx, ) + zx) = ux) zx) + zx) = ux). Moreover, it is immediate to see that v, t)) = w, t)) + z) = g for every t and therefore vx, t) is a solution of 5.). Then, ) s [u z]x) = = = = which concludes the proof. = L s g[u]x), e t [u z]x) [u z]x) ) t +s wx, t) wx, )) t +s [wx, t) + zx)] [wx, ) + zx)] ) t +s vx, t) vx, )) t +s The condition requiring the solution to the harmonic extension problem 5.4) to be z H r Ω) for some r relies heavily on the geometry of the domain Ω, the specific type of boundary conditions imposed, and the regularity of the boundary data g. Providing a general theory able to encompass all these regularity considerations is far from the main goal of the present article. However, for illustration purposes, we focus on a particular example and show how the numerical tools derived in the previous sections can be applied in these settings. 5.3. Numerical approximation in the non-homogeneous case. For simplicity, in this section we restrict ourselves to the case of Dirichlet boundary conditions in a two-dimensional convex polygonal domain Ω thus satisfying A Ω )). Consider a function u H 2 Ω) and let g = u Ω be the trace of u in Ω. Classical regularity theory ensures that g H 3 2 Ω) and hence, the solution z of 5.4) is such that z H 2 Ω) see for example Theorem.5 and Theorem.8 in [26]). Thus, u z H 2 Ω) and u z) Ω =, via 2.6) we obtain that u z H 2 Ω). In practice, given a function u, z will not be a known analytically. To overcome this issue, we consider z h to be the FE approximation of degree k = of problem 5.4) for a given triangulation. Namely, z h = N h i= Z iφ i, according to the notation previously used in this manuscript. Similarly to 5.3), let w be the solution of t w w = in Ω, ) 5.5) wx, ) = ux) z h x) in Ω w, t))x) = on Ω [, ),

8 N. CUSIMANO, F. DEL TESO, L. GERARDO-GIORDA, G. PAGNINI and w h be the corresponding FE approximation of degree k =. The following theorem provides a numerical approximation of L s g[u] and, exploiting the result of Theorem 3., gives a bound for the L 2 -norm of the error. Theorem 5.2. Let s, ), θ [, ], k = and h, t > such that 3.) holds. Let Ω R 2, assume that A Ω ) and A Th ) hold, and is the Dirichlet boundary operator. Let u H 2 Ω) and g := u Ω. Let z h be the FE solution of degree k of 5.4) and Θ s h be defined according to 2.5), with N t, β j and β given by b) and c) from Theorem 3.. Then, L s g[u] Θ s h[u z h ] C h p s). Proof. y Lemma 5., L s g[u] = ) s [u z]. Hence, the triangular inequality gives ) s [u z] Θ s h[u z h ] ) s [u z] Θ s h[u z] + Θ s h[u z] Θ s h[u z h ]. Clearly, the result of Theorem 3. for k = ) can be applied to obtain On the other hand, Θ s h[u z] Θ s h[u z h ] ) s [u z] Θ s h[u z] c h p s). N t j= w h, t j ) w h, t j ) w h, ) + w h, ) β j, To bound the right-hand side, we use the stability of the FE method see e.g. [49] for details) with respect to the initial data, ensuring that for all j, w h, t j ) w h, t j ) c w h, ) w h, ), where c = cθ). At this point we use the linearity of the projection operator Ph k and the fact that, by definition, Ph k is exact on each element of the triangulation T h for polynomial functions of degree k or less. Hence, by construction, Ph k z h) = z h. Moreover, the accuracy of both the interpolant of z and the FE approximation deriving from the solution of 5.4) are of order h k+, so that w h, ) w h, ) = P k h u z) P k h u z h ) = P k h z) z h z P k h z) + z z h c 2 h k+. Proceeding as in the previous sections, we combine all estimates and get N t Θ s h[u z] Θ s h[u z h ] c w h, ) w h, ) β j c h k+ t s. The relationship between t and h given by 3.) concludes the proof. 6. Generalisations. The results of Theorem 3. and Theorem 4. can be generalized not only to non-homogeneous boundary conditions but also to a wider class of operators coupled to homogeneous boundary conditions.

FRACTIONAL LAPLACIAN IN OUNDED DOMAINS 9 Instead of the Laplacian operator one can consider a more general positive second order elliptic operator of the form L = n xi a ij x) xj ) + i, n b i x) xi + cx). Like in Definition 2., the fractional powers of the operator L with the boundary condition can be expresed as L ) s ux) = i= e tl ux) ux) ) t +s, where e tl denotes the heat-semigroup associated to L and. Analogous results to Theorem 3. and Theorem 4. can be proved for the operator L ) s provided that the bilinear form corresponding to the operator L in the associated variational formulation is weakly coercive see e.g., [5, 53] for precise conditions on L and ), and that the coefficients a ij, b j, c, the domain Ω and the function u ensure a sufficiently smooth e tl ux). Regarding the boundary conditions, in this work, we have considered the case of Dirichlet, Neumann, and Robin boundary operators, assuming that a single type of condition is applied to the whole boundary Ω. However, more general boundary constraints e.g., mixed conditions in different parts of the boundary) can be considered, provided that the properties of weak coercivity of the bilinear form and the regularity of e tl ux) needed for the proof can be ensured. Details on these regularity conditions for both the operator L and more general boundary conditions can be found in reference [37]. 7. Numerical experiments. In order to illustrate the performance of our numerical methods we perform various numerical experiments and report here our results. The implementations of the methods are done in MATLA R26a, The MathWorks Inc., Natick, Massachusetts, US). Let h, θ, k be fixed parameters of the FE method, and let t, N t be chosen according to Theorem 3. and Theorem 4.. We solve iteratively the linear system P W j) = QW j ), where P := M + θ ta) and Q := M + θ ) ta) are the N h N h square matrices of the FE scheme, we compute the difference vector W j) W ) ), multiply it by the weights β j, and sum all terms to finally obtain 7.) N t W j) W ) ) β j + W W ) )β. Here W is the constant vector corresponding to the steady-state of the heat equation which is known explicitly and depends on the boundary conditions), while W ) is the vector with coordinates given by L 2 -projection of the function u on the nodes of the spatial grid Ω h. To test the convergence of the discretizations, we use the fact that when ϕ m is a nomalized eigenfunction of with the boundary condition, then the -fractional Laplacian of ϕ m can be computed analytically according to 2.7) as ) s ϕ m = λ s mϕ m, where λ m is the eigenvalue corresponding to ϕ m.

2 N. CUSIMANO, F. DEL TESO, L. GERARDO-GIORDA, G. PAGNINI 7.. One dimensional case. On the interval [, L], the eigenfunctions and the corresponding eigenvalues of the Laplacian are known to be [28]: ϕ m x) = sin ) mπx ϕ m x) = cos L m )πx L ϕ m x) = sin a mx L ) ) + a m κl cos a mx L ) λ m = ) mπ 2 L Dirichlet case) ) 2 λ m = m )π Neumann case) L λ m = a ml ) 2 Robin case) for m N. The coefficients a m in the Robin case are the unique solution of 2a m κl cosa am ) ) 2 m) + sina m ) = for a m [m )π, mπ]. κl For Figure we select three values of s, ), namely s =.25,.5,.75, and compute the error ) s u Θ s h u as a function of the spatial discretization parameter h, for the Dirichlet, Neumann, and Robin boundary cases. The function u is always a normalized eigenvalue of the corresponding operator, i.e., u = ϕ m / ϕ m, for some m. All reported results were obtained with linear FE k = ), an implicit temporal discretization scheme θ = ), and t = η h k+. In the left column of Figure we compare the expected behavior dashed lines) predicted by our convergence result Theorem 3. with the error decay obtained numerically solid lines) for different boundary conditions and different values of s. On the right, for each boundary condition, we show the exact value of ) s u for the three values of s considered. In Figure 2 we show the improved convergence obtained for the same functions considered in the tests of Figure when the higher order discretization method described in section 4 is used. We observe that the convergence decay actually outperforms the trend predicted from our theoretical results for all values of s and that the behavior improves as s increases. As mentioned various times in this work, the -fractional Laplacian given by Definition 2. is a boundary-dependent nonlocal operator, that is, the operator changes when different boundary conditions are considered. This can be seen by applying the operator for different choices of to the same function u. Letting D denote the indicator function of the set D, in Figure 3, we consider a compactly supported function of the form ux) = e /r2 x 2) x <r, with < r <, on Ω =, ), and apply to it the -fractional Laplacian with homogeneous Dirichlet, Neumann, and Robin boundary conditions for different values of the fractional parameter s. The fractional Laplacian is computed via the higher order method. For comparison purposes, in the top left of Figure 3 we plot the standard Laplacian of the considered u, which is boundary independent. As we can see, the standard Laplacian of a compactly supported function is still a compactly supported function, whereas this does no longer hold in the purely fractional cases. The nonlocal character of the operator in fact affects the result and produces functions that are nonzero also on Ω \ [ r, r]. Moreover, differences between the three nonlocal operators considered are clearly visualized for all choices of s <. 7.2. Two dimensional case. The spectrum of the classical Laplacian is known analytically also in the two-dimensional case for some simple regular geometries, such as rectangle, disk, or ellipse see [28] for further details). To prove convergence of our method in the two-dimensional case we exploit these analytical results and use them to compute ) s u Θ s h u as a function of the spatial discretization parameter

FRACTIONAL LAPLACIAN IN OUNDED DOMAINS 2 error L 2 Ω) -2 s =.75 h -.75 s =.5 h -.5 s =.25 h -.25 Dirichlet - ) s u 8 7 6 5 4 3 Dirichlet -4-4 -3-2 - h a) Error decay 2 s =.75 s =.5 s =.25.2.4.6.8 x b) Dirichlet fractional Laplacian, m = error L 2 Ω) -2 s =.75 h -.75 s =.5 h -.5 s =.25 h -.25 Neumann - ) s u 3 2 Neumann s =.75 s =.5 s =.25 - -4-2 -4-3 -2 - h c) Error decay -3.2.4.6.8 x d) Neumann fractional Laplacian, m = 3 error L 2 Ω) -2 s =.75 h -.75 s =.5 h -.5 s =.25 h -.25 Robin κ = ) - ) s u 5 Robin κ=) s =.75 s =.5 s =.25-4 -5-4 -3-2 - h e) Error decay -.2.4.6.8 x f) Robin fractional Laplacian, m = 2, κ = Fig.. Error convergence and ) s ux) on Ω =, ) for the Dirichlet top row), Neumann mid row), and Robin bottom row) cases. In all cases u = ϕ m/ ϕ m is a normalized eigenfunction of ). The value of m is as indicated in b), d), and f), respectively. Parameters of the experiment: k =, θ =, p =, η =.. h, for the usual three different boundary conditions, on the unit square Ω =, ) 2. In this case, eigenfunctions are simply products of the one-dimensional eigenfunctions corresponding to the particular boundary conditions considered, namely ϕ ml x, y) = ϕ m x)ϕ l y), and the corresponding eigenvalues are given by the sum of the one-dimensional counterparts, that is, λ ml = λ m + λ l.

22 N. CUSIMANO, F. DEL TESO, L. GERARDO-GIORDA, G. PAGNINI error L 2 Ω) -2-3 -4-5 s =.75 h 2-.75 s =.5 h 2-.5 s =.25 h 2-.25 Dirichlet error L 2 Ω) -2-3 -4-5 s =.75 h 2-.75 s =.5 h 2-.5 s =.25 h 2-.25 Neumann -6-6 -7-4 -3-2 - h -7-4 -3-2 - h error L 2 Ω) -2-3 -4-5 s =.75 h 2-.75 s =.5 h 2-.5 s =.25 h 2-.25 Robin κ = ) -6-7 -4-3 -2 - h Fig. 2. Error convergence for -fractional Laplacian of the same eigenfunctions considered in Figure on Ω =, ) computed with the higher order method, for values of s =.75,.5,.25. Parameters of the experiment: k =, θ = /2, p =, η =.. The convergence results and the index of the particular eigenfunction ϕ ml used for the test are given in Figure 4. In Figure 5 we provide an example of the use of our method to compute the action of the fractional operator L s g on a function u satisfying non-homogeneous Dirichlet boundary conditions on the unit square Ω =, ) 2. Specifically, we set gx, y) =. sin2πx) cosπy) for x, y) Ω. Wanting to study convergence of the method we let ϕ := u z be a normalized eigenfunction of the homogeneous Dirichlet Laplacian on the unit square so that ) s ϕ is known explicitly. Not knowing the analytic expresssion of z, we compute its FE approximation z h and hence obtain the FE approximation u h = ϕ + z h satisfying non-homogeneous boundary conditions) to be used as initial datum for the approximate computation of L s g. The solution is computed with the higher order method and the error once again decays faster than expected for all three values of s considered. 7.2.. Polygonal domain. As mentioned in the introduction, one could compute the -fractional Laplacian on a bounded domain Ω via equation.). However, the analytic expression of the required eigenpairs is not known for general domains and using.) would imply that the solution of a very large number of eigenvalue problems must be computed. One of the main advantages of our approach and of the use of the numerical method proposed in this work is that with the same strategy we can handle boundary conditions that are not necessarily homogeneous Dirichlet conditions and at the same

FRACTIONAL LAPLACIAN IN OUNDED DOMAINS 23 - ) s u 2 - -2 s = - ) s u.5 -.5 Dir Neu Rob s =.75-3 -4 - -5 - -.5.5 x - -.5.5 x s =.5 s =.25.5 Dir Neu Rob.5 Dir Neu Rob - ) s u -.5 - ) s u -.5 - - - -.5.5 x - -.5.5 x Fig. 3. Standard Laplacian s = ) and -fractional Laplacian with different boundary conditions applied to the same function for s =.75,.5,.25. ux) = exp /r 2 x 2 )) on [ r, r], r =.8, and zero elsewhere, Ω =, ). Parameters of the experiment: k =, θ = /2, p =, η =.. time we do not need to know the eigendecomposition of the Laplacian on the given domain to compute ) s u. Exploiting.2) and due to the versatility of the FE method in handling general geometries, we are able to compute ) s u on domains such as the one considered in Figure 6, for which the eigenpairs are analytically unknown. Although in our theoretical results, the choice of N t depends on the first nonzero eigenvalue of the Laplacian, clearly the same results hold if a lower bound is used for the considered eigenvalue. These bounds are readily available and we refer the reader to Section 4.2 of [28] and references therein for a thorough discussion on these bounds for general domains and homogeneous Dirichlet, Neumann, and Robin boundary conditions. An alternative approach not using bounds for the first nontrivial eigenvalue simply consists in continuing to add terms to the quadrature sum in 7.) until the difference W j) W ) ) reaches a steady value, up to a given tolerance. The latter approach is the one we adopted for the computations presented in Figure 6. Once again the value of the -fractional Laplacian with s =.5 is computed for the compactly supported function ux, y) = e x x)2 +y y ) 2 )/r 2 x x ) 2 +y y ) 2 )) {x x) 2 +y y) 2 )<r 2 } with homogeneous Dirichlet, Neumann, and Robin boundary constraints. Different views of ) s u are reported to help in visualizing the differences especially in the

24 N. CUSIMANO, F. DEL TESO, L. GERARDO-GIORDA, G. PAGNINI error L 2 Ω) -2-4 s =.75 h 2-.75 s =.5 h 2-.5 s =.25 h 2-.25 Dirichlet -6-3 -2 - h a) m = l = error L 2 Ω) -2-4 Neumann s =.75 h 2-.75 s =.5 h 2-.5 s =.25 h 2-.25-6 -3-2 - h b) m = l = 3 Robin κ = ) error L 2 Ω) -2-4 s =.75 h 2-.75 s =.5 h 2-.5 s =.25 h 2-.25-6 -3-2 - h c) m = 2, l = Fig. 4. Error convergence for -fractional Laplacian on the unit square. The indices of the considered eigenfunction ϕ ml are as indicated in a), b), c). Parameters of the experiment: k =, θ = /2, p =, η =.. behavior close to the boundary) between these three cases. 7.3. An explicit scheme for a fractional porous medium type equation. As a possible application of our method, we compute the numerical approximation of an evolution problem involving the homogeneous Dirichlet fractional Laplacian. Specifically, on a given bounded domain Ω and for τ, we consider the fractional porous medium type equation 7.2) τ u + ) s u m ) =, where m is a suitable integer, m >. For a precise presentation of the theoretical aspects regarding 7.2) we refer to [5, 6] and references therein. Given an initial condition ux, ) = u ) x), we use an explicit discretization scheme for the evolution variable τ with uniform step τ > and compute iteratively the numerical approximation of the solution to 7.2) at τ n = n + ) τ, n N as [ ] 7.3) u n+) = τ u n) + Θ s h[u n) ) m ]. As 7.3) is an explicit scheme, it may suffer from numerical instabilities when the time step τ is not properly chosen. We circumvent the issue by imposing on τ a

FRACTIONAL LAPLACIAN IN OUNDED DOMAINS 25 error L 2 Ω) -2-4 Inhomogeneous Dirichlet s =.75 h 2-.75 s =.5 h 2-.5 s =.25 h 2-.25-6 -3-2 - h Fig. 5. Error convergence, function u, and nonlocal operator L s g with non-homogeneous Dirichlet boundary conditions applied to u in the case s =.5. The domain is the unit square. The boundary function is gx, y) =. sin2πx) cosπy). oundary nodes are highlighted in red to help with visualization. Parameters of the experiment: k =, θ = /2, p =, η =.. CFL-type condition and setting τ = h 2s /m. More details about these facts can be found in [9] dealing with 7.2) in R N. In Figure 7 we report the results obtained for two different combinations of the parameters m and s, at the indicated time point τ. In both cases, the spatial domain is Ω =, ), while the initial condition plot on the left in Figure 7) is the compactly supported function u ) x) = e 4 /[.5 x).5+x)] x <.5. For the particular combinations of m and s presented in Figure 7 the theoretical results of onforte et al. [5] predict a long-time boundary behavior of the type ux, τ) vx, τ) := φ x) /m τ /m ), where φ is the first eigenfunction of the Laplacian with homogeneous Dirichlet boundary condition in Ω. Given a, b R + we follow the notation used in [5] and write a b whenever there exist universal constants c, c > such that c b a c b. The predicted boundary behaviour presented in [5] is recovered by our simulations and shown in the second and third plots of Figure 7, where the numerical solution obtained with our method blue) is compared to the expected function vx, τ) red). 8. Conclusions. In the present paper we investigate a method to define a nonlocal operator acting on bounded domains that, in the unbounded case, recovers the

26 N. CUSIMANO, F. DEL TESO, L. GERARDO-GIORDA, G. PAGNINI Fig. 6. Fractional Laplacian s =.5) with different boundary conditions applied to the same function on convex polygonal domain. Top row: view with an angle. Middle row: side view. ottom row: top view. oundary nodes are highlighted in red to help with visualization. Parameters of the experiment: r =.35, x =.6, y =.54, k =, θ = /2, p =, η =.. Initial condition.2 m = 2, s =.5, τ = 2 vx,τ).2 m = 3, s =.66, τ = 8 vx,τ).8. ux,τ). ux,τ) ux,).6.4.8.6.4.8.6.4.2.2.2 -.5 - -.5.5.5 x -.5 - -.5.5.5 x -.5 - -.5.5.5 x Fig. 7. Fractional porous medium initial condition, numerical solution blue) and scaled eigenfunction determining the boundary behavior red). In all cases Ω =, ), N h = h =.2), and τ = h 2s /m. Values of m, s, and τ as indicated in the respective plots. Parameters of the experiment: k =, θ =, p =, η =. classical definition of the fractional Laplacian ) s. The studied method is characterized by the fact that the imposition of local boundary conditions is sufficient to obtain a well-posed formulation of the nonlocal operator without requiring additional constraints to be imposed on the complement of the considered finite domain, in analogy with local problems. As pointed out in the introduction, this characteristic