arXiv:1508.01482v2 [math.AP] 20 Oct 2016 npplto eeispolm,apoint a problems, genetics population In functions eesr orcintr a hnb on sn h eigenf the using found constructio be explicit then inhomogeneous an can the give term We solve correction necessary to solution. regular them a use have to not method then recursive is a t solution s and construct the to the but method of recursive values, effective regularity boundary computationally the the specify specify can only one can th are one problems value problem, boundary regular natural The co operator. and analyze this B to by required are Genetics. tools Population special space, in singular applications important has which 0 pc faoi rbblt esrswith measures probability atomic of space of frequencies the senting (1.1) relations: the by le cetfi optn eerh ne wr ubrDE- number award under t Research, by Computing part Scientific plied in supported Research [email protected]. ihcorners with yteAOudrgatW911NF-12-1-0552. grant u under NSF ARO the the by by part in supported Research [email protected]. fti prtrrflc h emtyo h ipe nmc th much in of simplex geometry the Euclidean of the reflects geometry operator the Laplace in reflect employ operator we this which of properties, remarkable many has operator (1.2) ayMro hi oesi ouaingntc,se[ t see in genetics, appears population actually in and models chain term, Markov mating many random the of limit the per nteifiiepplto ii fthe of limit population infinite the in appears (1.3) field vector a of addition the and ∗ † M ujc classifications. subject AMS e words. Key Abstract. eateto ahmtc,90EasHl,Uiest fCa of University Hall, Evans 970 Mathematics, of Department eateto ahmtc,Uiest fPnslai,20 Pennsylvania, of University Mathematics, of Department .Introduction. 1. h iuadfuinoeao,wihat nfntosof functions on acts which operator, diffusion Kimura The oicueteefcso uain eeto,mgain e migration, selection, mutation, of effects the include To n − IEFNTOSADTEDRCLTPOLMFRTHE FOR PROBLEM DIRICHLET THE AND EIGENFUNCTIONS 1 . esuytecasclKmr ifso prtrdfie nt on defined operator diffusion Kimura classical the study We t onayi taie pc aeu fsmlcso dim of simplices of up made space stratified a is boundary its ; iuaDfuin ouainGntc,Dgnrt Ellipt Degenerate Genetics, Population Diffusion, Kimura LSIA IUADFUINOPERATOR DIFFUSION KIMURA CLASSICAL x 1 + An · · · HRE .EPSTEIN L. CHARLES n L n 52,3J0 35,65N25 33C50, 35J70, 35J25, 1 + Kim -simplex, L + Kim x lee rtps oegenerally, More types. or alleles n = +1 = 1 1 ≤ V 1 = ≤ i,j i,j Σ X = X ≤ n ≤ ( with , n n X j n x =1 +1 +1 stesbe of subset the is +1 n 1 ( x , . . . , n eegnucin fterglroeao naydimension, any in operator regular the of eigenfunctions he ∗ 1 1 + x src ouin oelpi n aaoi rbesdefine problems parabolic and elliptic to solutions nstruct x b 0 +1) AND i j i o h edn iglrpr ln h onay The boundary. the along part singular leading the for n ( ( ( ntoso h eua problem. regular the of unctions rglr rbe n h iihe rbe.Frthe For problem. Dirichlet the and problem “regular” e ≤ δ eU eateto nry fc fSine Ap- Science, of Office Energy, of Department US he cuei sadgnrt litcoeao cigo a on acting operator elliptic degenerate a is it ecause x δ ij lto ttebudr.FrteDrcltproblem, Dirichlet the For boundary. the at olution o moha h onay nti ae egv a give we paper this In boundary. the at smooth not ij tm.Mathematically, atoms. AC02-05CH11231. drgat M1-55,adDS1036 and DMS-1507396; and DMS12-05851, grants nder ) x all rgtFse oe.I represents It model. Wright-Fisher -allele O WILKENING JON ∂ ot 3dSre,Piaepi,P 19104-6395; PA Philadelphia, Street, 33rd South 9 − n R i − x +1 qain sntd h iihe rbe does problem Dirichlet the noted, As equation. x j for n , j x . ) ) 12 j ∂ iona ekly aiona94720-3840; California Berkeley, lifornia, 1 ) ∈ x , ∂ i R ≤ 30 x ∂ Σ cEutos iihe rbe,Eigen- Problem, Dirichlet Equations, ic he x i n eifiiepplto iisof limits population infinite he c h prtri oie by modified is operator the tc. ∂ n j i , +1 , n x n 16 ≤ u nlss h properties The analysis. our sotntogto srepre- as of thought often is aewya h standard the as way same e j -simplex, Σ 1 + ie,i the in given, , n n † 5 1 + .TeKmr diffusion Kimura The ]. a etogto sthe as of thought be can variables, . Σ nin between ensions n sa is fn model affine manifold d , 2 C.L. Epstein and J. Wilkening which is tangent to Σn, and inward pointing along the boundary of the simplex. In appli- cations to population genetics, the coefficient functions bj(x) are typically polynomials. Linear terms usually suffice to model migration and mutation{ al effects,} whereas higher order terms are needed to model selection, see [30, 33, 39]. There are many statistical quantities of interest in population genetics that can be com- puted by solving boundary value problems of the form Kim (1.4) (L +V )u = f in int Σn, with u↾bΣn = g. For example, the probability of a path of the underlying process exiting through a given portion of the boundary, or the expected first arrival time at a portion of the boundary, are expressible as the solutions of such boundary value problems. Examples of this type can be found in [34], and are further discussed below. A method for solving some of these problems, at least in principle, is given in [38], though it is not very explicit. In this note we introduce a computationally effective method for solving high-dimensional, inhomogeneous regular and Dirichlet problems for the Kimura operator itself, i.e. with V = 0. For the regular problem, one specifies minimal regularity requirements for the solution at the boundary. For the Dirichlet problem, the boundary values are specified, but the solution is then not smooth at the boundary. Our method also clarifies the precise regularity of the Dirichlet solution in the closed simplex, at least when f and g are sufficiently smooth. In addition we show, in somewhat greater generality, how to find the eigenfunctions of these operators, which are represented as products of functions of single variables, and how to compute the expansion coefficients. The operator, LKim +V, and variants thereof, appear in many classical papers in popula- tion genetics, see [12, 13, 27, 26, 28, 45]. Recently, there has been a resurgence of interest in using the Kimura diffusion equation as a forward model for maximum likelihood estimators of selection coefficients, demographic models, mutation rates, effective population sizes, etc. The evolution of other observable measures of genetic variability such as the allele frequency spectrum, or site frequency spectrum, can also be shown to satisfy a variant of the Kimura diffusion equation, see [11, 19]. To use this diffusion process as a forward model, one either needs to have efficient means for solving the Kimura diffusion equation, see [19, 41, 3, 32], or one must simulate the underlying stochastic process, [11, 10]. In most previous work where the Kimura diffusion equation is solved, the underlying space is 1-dimensional. Even in one dimension, many authors employ numerical methods that rely on finite difference approxi- mations. These are, however, not reliable for imposing the subtle boundary conditions that arise with degenerate operators like LKim, and can in fact lead to errors; see [24], and the supplement to [2]. By contrast, our approach provides a stable construction, mathematically equivalent to a Gram-Schmidt procedure, of bases of eigenfunctions. These can be used to ac- curately solve both elliptic and parabolic problems, as well as compute approximations to the heat kernel itself, which are of central importance in a variety of applications; see [40, 41, 42]. Our construction for the polynomial eigenfunctions of LKim +V is applicable provided that the operator has “constant weights,” see (2.15) below. The case of positive weights has been studied extensively in the literature. Kimura [29] and Karlin and McGregor [25] used hypergeometric functions to study the two-dimensional case. Littler and Fackerell [35] generalized Karlin and McGregor’s approach to higher dimensions using bi-orthogonal poly- nomial systems. Griffiths [16] showed that the polynomial eigenfunctions of the diffusion operator corresponding to a repeated eigenvalue can be orthogonalized and grouped together to form reproducing kernel polynomials that appear in the transition function expansion of the diffusion process. One way to represent the orthogonal polynomials in the reproducing kernels is via a triangular construction of Proriol [36] and Koornwinder [31] for multivari- ate Jacobi polynomials. Griffiths and Span´oalso discuss this construction [17], and provide Eigenfunctions and the Dirichlet Problem for Kimura Diffusion 3 probabilistic connections to multivariate versions of several families of classical orthogonal polynomials, including the Jacobi polynomials that arise here [18]. In the present work, we present a direct construction of polynomial eigenfunctionsfor the V =0 case, so that it is not necessary to take limits of the positive weight case as the mutation rates approach zero [16]. One novelty that arises is that when V = 0, as functions on the n-simplex, these eigenfunc- tions do not belong to a single L2-space, but each belongs to an L2-space of some stratum of the boundary. Their coefficients in the representation of a function in terms of this spanning set are computed as inner products on these lower dimensional strata. The constructions presented here can serve as the foundation for a perturbative method for solving Kimura-type diffusions with a more complicated vector field, also modeling se- lection. We will return to these and other elaborations of the theory presented here in a subsequent publication.

Acknowledgements CLE is grateful for many useful and informative discussions with Camelia Pop, Rafe Mazzeo, and Yun Song on questions connected to the contents of this paper. We are also very grateful for the careful reading and detailed suggestions made by the referees of this paper. 2. Some Facts about the Kimura Diffusion Operator. We begin our analysis by re- viewing some of the remarkable properties of LKim . A very important fact about LKim is 2 the result of K. Sato [37], which states that if U is a –function that vanishes on Σn, then Kim C [L U]↾Σn =0 as well. Thus we can start with a function U(x1,...,xn+1) defined on Σn, and extend it to be independent of any one of its arguments, say xj . This uniquely defines a function on the projection of the simplex to the hyperplane xj = 0 , and vice versa. For definiteness we take j = n +1. This gives a function { } (2.1) u(x ,...,x )= U x , , x , 1 (x + + x ) 1 n 1 ··· n − 1 ··· n defined on a projective model of the simplex:  (2.2) Σ = x Rn : x + + x 1 with x 0 for i =1,...,n . n { ∈ 1 ··· n ≤ i ≥ } To compute LKim U↾ , we can apply LKim in n-variables to u : e Σn (2.3) LKim U(x ,...,x )↾ = x (δ x )∂ ∂ u(x ,...,x ). 1 n+1 Σn i ij − j xi xj 1 n 1 i,j n ≤X≤ Here and in the sequel, when using a projectivemodel, we let xn+1 =1 (x1 + +xn). The projective model is useful for computations, whereas the affine model shows− that··· this operator is entirely symmetric under permutations of the variables (x1,...,xn+1). In particular, it Kim makes clear that, from the perspective of L , all the vertices of Σn are “geometrically” identical, something that is not evident in the projective model. In this note we further investigate some remarkable properties of the operator LKim, which are hinted at in [38, 39]. We first consider a recursive construction of the polynomial eigenfunctions of LKim . After that we show how to solve the inhomogeneousDirichlet prob- lem for LKim, given in (1.4). It follows easily from Sato’s theorem that this problem does not 2 generally have a solution in (Σn), even if f and g are both in ∞. Our method of solution exhibits the precise form of theC singularities along the various boundaryC strata.

2.1. Vector fields. A generalized Kimura diffusion in Σn, with “standard” second order part, is a second order differential operator of the form n (2.4) L = x (δ x )∂ ∂ + b (x)∂ . i ij − j xi xj j xj 1 i,j n j=1 ≤X≤ X e e 4 C.L. Epstein and J. Wilkening

The vector field is normally required to be inward pointing, which means that

(2.5) b (x)↾ 0 for j =1, . . . , n, j xj =0 ≥ and e n

(2.6) bj(x)↾x1+ +xn=1 0. ··· ≤ j=1 X e We denote the first order terms by

n

(2.7) V = bj (x)∂xj . j=1 X e e In the affine model

n+1 (2.8) L = x (δ x )∂ ∂ + V, V = b (x)∂ , i ij − j xi xj j xj 1 i,j n+1 j=1 ≤ X≤ X with the additional condition that

n+1

(2.9) bj(x)↾x1+ +xn+1=1 =0. ··· j=1 X Considerable generalizations of this class of operators and spaces are introduced in [7]; though in the present work we concentrate on the classical cases of model operators on sim- Rn plices and positive orthants, +. In most of the Probability and Population Genetics literature Kim 1 a different normalization is employed, namely L = 2 xi(δij xj )∂xi ∂xj . In this paper we use the normalization more common in mathematical analysis,− which omits the  factor of 1/2. P The boundary of Σn is a stratified space. If K is a boundary face of Σn of codimension n k, then it is again a simplex and is represented, in the affine model, by a subset of − the form xi1 + + xik+1 = 1 with xil 0 for l = 1,...,k +1, which implies that x = = x ···=0. We set = i ,...,i≥ and j1 ··· jn−k I { 1 k+1}

(2.10) = j1,...,jn k = 1,...,n +1 . J { − } { } \ I We denote this boundary face by K . Every boundary face is a simplex,I and the formula for the operator analogous to LKim is the same for any boundary face. For example for K , the sum in (1.2) is simply restricted to the variables x ,...,x . We denote this operatorI by { i1 ik+1 } Kim (2.11) L = xi(δij xj )∂xi ∂xj . I − i,j X∈I Let v be a 2-function on K and let v denote any 2-extension of v to the ambient Rn+1. K. Sato, inC fact, proved, (seeI [37]) that C

Kimb Kim (2.12) L v = (L v)↾KI . I Thus, the restriction or extension of LKim to boundary strata or higher-dimensional simplices b is canonical, similar to the connection between the projective and affine models discussed at Eigenfunctions and the Dirichlet Problem for Kimura Diffusion 5 the beginning of this section. The extension property makes it more natural to label the “last” variable as xn+1 rather than x0, since it may not actually be the last. In the affine representation, a vector field V (satisfying (2.9)) is tangent to K provided that I

(2.13) V x ↾ =0, (j ). j xj =0 ∈ J Condition (2.9) requires that V be tangent to Σ itself, i.e. V (x + + x )↾ =0. For n 1 ··· n+1 Σn vector fields, the analogues of Sato’s results are obvious: if U vanishes on Σn then VU =0, so extending a function U defined on Σn to be constant in any coordinate direction leads to an unambiguous value of VU↾Σn ; and, defining

(2.14) V = bi(x)∂xi , I i X∈I we see that if V is tangent to K then V v = (V v)↾KI , where v and v are defined as in (2.12). I I 2.2. Constant weights and the Hilbert spaceb setting. In additionb to LKim there are other classes of “special” Kimura diffusion operators. Classically one singles out operators with constant “weights.” (This terminology is introduced in [8].) These operators have the property that the functions bj(x) (or bj(x)) are linear and

(2.15) (V xj )↾exj =0 = bj(x)↾xj =0 = bj, a constant. In the projective model, one may readily show that such a vector field takes the form

n (2.16) Vb = (b Bx )∂ , j=1 j − j xj where e P

(2.17) b = (b ,...,b ) and B = b + + b . 1 n+1 1 ··· n+1

Note that bn+1 enters (2.16) through B. We define

Kim Kim (2.18) Lb =L +Vb.

These operators are special because they are self-adjoint with respect to the L2 inner product on Σn defined by the following measure, which (up to normalization)has the Dirichlet density representing the stationary distribution of the underlying Markov process (see e.g. [16, 17, 18])e

n+1 bj 1 (2.19) dµb(x)= wb(x) dx dx , wb(x)= x − . 1 ··· n j j=1 Y Kim Indeed, in this case Lb in (2.8) may be written

n+1 b Kim (∂xi ∂xj )[w xixj (∂xi ∂xj )u] (2.20) Lb u = − − , wb i

Here uˆ, vˆ are independent of xn+1 and agree with u, v on Σn. In deriving (2.21), it was assumed that wbx x [(∂ ∂ )u]v = 0 and wbx x [(∂ ∂ )v]u = 0 on the faces i j xi − xj i j xi − xj e ]Kim x =0 and x =0 , so care must be taken in defining the domain of Lb when working { i } { j } in the Hilbert space setting with b = 0, see [38]. Note that xn+1 is treated as an independent variable in these formulas when computing partial derivatives, but x =1 (x + +x ) n+1 − 1 ··· n when evaluating integrals over Σn. A useful variant of (2.20) is n n b b ]Kim (∂xi ∂xj )[w xixj (∂xi ∂xj )u] ∂xi (w xixn+1∂xi u) (2.22) Lb u = −e − + , wb wb i

(2.23) P Kim(ξ)= x (δ x )ξ ξ , i ij − j i j i,j X defines the dual of the intrinsic metric on the simplex. This corresponding metric is singular along the boundary and incomplete, i.e., the boundary is at a finite distance from interior points. The distance function on Σn defined by this metric is equivalent to n+1 (2.24) ρi(x, y)= √xj √yj . | − | j=1 X k,γ k,2+γ N We also use two scales of anisotropic H¨older spaces, WF(Σn) and WF (Σn), k 0,γ (0, 1), introducedin [7], with respect to which the operatorC LKim hasC optimal mapping∈ proper-∈ 0,γ ties. These spaces are defined with respect to the intrinsic metric. For example f WF(Σn) if f 0(Σ ) and ∈C ∈C n f(x) f(y) (2.25) [f]0,γ,WF = sup | − γ | < . x=y Σn ρi(x, y) ∞ 6 ∈ k,γ Kim If λ< 0 and f WF(Σn), then the elliptic equation, (L λ)u = f, has a unique solu- k,2+γ∈C − tion, u WF (Σn), indicating that this is indeed the correct notion of “elliptic regularity” for operators∈C of this general type. Eigenfunctions and the Dirichlet Problem for Kimura Diffusion 7

3. A 1-d Example. We begin by considering the Dirichlet problem in the 1d-case. These results are well known, and serve as motivation for our subsequent development. Sup- pose that we would like to find the solution to

(3.1) x(1 x)∂2u = f with u(0) = g , u(1) = g . − x 0 1

We can write u = u0 + (1 x)g0 + xg1, where u0 vanishes at the boundary of [0, 1]. It is apparent that u cannot be −2 up to the boundary unless f(0) = f(1) = 0. In fact, 0 C (3.2) u (x)= x log xf(0) + (1 x) log(1 x)f(1) + u (x), 0 − − 0 where e def (3.3) x(1 x)∂2u = f(x) [(1 x)f(0) + xf(1)] = f (1) with u (0) = u (1) = 0; − x 0 − − 0 0 the right hand side, f (1), is as smooth as f, and vanishes at 0 and 1. As was shown in [6, 7], e e e this equation has a unique solution, with optimal smoothness measured in the anisotropic k,2+γ H¨older spaces, ([0, 1]). In particular, if f ∞([0, 1]) then so is u0. C 2 ∈C The eigenfunctions of x(1 x)∂x that vanish at the boundary are polynomials of the form x(1 x)p (x), where p −is the polynomial of degree m 0 that satisfies the equation − m m ≥ e (3.4) x(1 x)∂2 + 2(1 2x)∂ 2 p = λ p . − x − x − m m m Kim For later reference, the left-hand side may also be written [L2 2]p . By inspecting the − m action on d/ d 1, where d is the space of polynomials of degree at most d, we see that P P − P λd = (d + 1)(d + 2). Since the eigenfunctions are orthogonal with respect to dµ0(x), these polynomials− are orthogonal with respect to the inner product

1 (3.5) p, q = p(x)q(x) xα(1 x)βdx, h i − Z0 with α = β =1. Thus, they are multiples of the corresponding Jacobi polynomials [43, 14], (1,1) pd(x) Pd (2x 1). If we choose the normalization pd L2([0,1];dµ2) = 1, the result would∝ be the same− as performing Gram-Schmidt on the monomialk k s 1, x, x2,... . This yields the 3-term recurrence { }

p0(x)= 1/γ0, b1 p1(x) = (x a0)p0(x) (3.6) − bm+1 ppm+1(x) = (xp am)pm(x) bm pm 1(x), (m 1), − − − ≥ p m(m+2) p where γ0 = 1/6, am = 1/2 and bm = 4[4(m+1)2 1] in this case. Solving (3.3) for u0 now − boils down to representing f (1) in the eigenbases: e f (1)(x) ∞ ∞ (3.7) f˜(x)= = c p (x) u (x)= (c /λ )x(1 x)p (x). x(1 x) m m ⇒ 0 m m − m m=0 m=0 − X X e (1) The simplest way to obtain an approximation of f˜(x) in N 1 is to evaluate f (x) at the P − zeros xj of pN (x), and to compute the coefficients using Gauss-Lobatto quadrature:

1 1 N (3.8) c = f˜(x)p (x)x(1 x) dx = f (1)(x)p (x) dx f (1)(x )p (x )ω . m m − m ≈ j m j j 0 0 j=1 Z Z X 8 C.L. Epstein and J. Wilkening

(1) Here we used the fact that f (x) vanishes at x0 = 0 and xN+1 = 1. The abscissas xj and weights ωj are easily found using a variant of the Golub-Welsch algorithm [14, 15]. Further details of our numerical implementation will be given elsewhere. (1) We can estimate the size of the coefficients cm in terms of the smoothness of f , using the facts that { }

1 (1) cm = f (x)pm(x) dx and (3.9) 0 1 Z 1 Kim (1) Kim (1) L2 pmf dx = pm[L +2]f dx. Z0 Z0 The second formula is a special case of (4.1) below. If f (1) is in 2l([0, 1]), then we can iterate the integration by parts formula to obtain: C

( 1)l 1 (3.10) c = − p (x)[LKim +2]lf (1)dx. m [m(m + 3)]l m Z0 As we show below, there is a constant C, independent of m so that

(3.11) p ∞ C m(m + 3) p 2 = C m(m + 3) , k mkL ≤ k mkL ([0,1];dµ2) | p p and therefore, there is a constant C so that

[LKim +2]lf (1) ∞ (3.12) c e C k kL . m l 1 | |≤ [m(m + 3)] − 2 In this instance it is easy to see that e

Kim l (1) (3.13) [L +2] f L∞ Cl [f 2l . k k ≤ k kC This is almost a spectral estimate, but we lose one order of decay, in part because we are (1) estimating in the L∞-norm, andin part becausethere is an implicit divisionof f by x(1 x) − in the formula for cm. We can also use the L2-norm to estimate these coefficients via

1 Kim l (1) w2− [L +2] f L2([0,1];dµ2) (3.14) c C′ k k . | m|≤ [m(m + 3)]l

While the denominator is now [me(m+3)]l the numerator implicitly involves the L2-derivative of [LKim +2]lf (1) 2 at the boundary of [0, 1]. | | Remarkably, very similar approaches work to find the eigenfunctions of LKim and solve the Dirichlet problem in any dimension. This is explained in the following two sections. In Section 4 we give a novel construction for the eigenfunctions of the neutral Kimura diffusion on the n-simplex, which highlights their vanishing properties on subsets of the boundary. In Section 6 we show how to solve the Dirichlet problem on an n-simplex, with arbitrary smooth data. 4. The Polynomial Eigenfunctions of LKim. In this section we give a hierarchical method of constructing the eigenfunctions of LKim, with considerable control over their van- ishing properties on bΣn. As before, we let d denote polynomials of degree at most d; the variables involved will be clear from the context.P Eigenfunctions and the Dirichlet Problem for Kimura Diffusion 9

Our results are based upon a formula, which follows easily from a similar calculation in Kim Kim the work of Shimakura, see Section 7 of [38]. As noted above, we let Lb = L +Vb, where Vb has linear coefficients and assigns constant weights to the hypersurface components of bΣn. We then let = i1 < i2 < < ik+1 1,...,n +1 . Shimakura’s work implies the followingI formula{ ··· }⊂{ }

Kim Kim (4.1) Lb (w ψ)= w Lb′ κ ψ. I I − I Where  

k+1 1 bi (4.2) w (x)= x − j ; I ij j=1 Y

2 bj if j i1,...,ik+1 , (4.3) b′ = − ∈{ } j b if j / i ,...,i ; ( j ∈{ 1 k+1} and

(4.4) κ = (1 bj ) k + bj . I  −    j j / X∈I X∈I     If k = n and b = 0, then b′ = 2 = (2,..., 2). Equation (4.1) has a wide range of applica- tions, and is especially useful in cases where some of the bi are zero. This formula gives a very potent method to construct eigenfunctions that have a{ simple} form and vanish on certain parts of the boundary. 0 Kim 3 Recall that the -graph closure of L acting on (Σn) is what is called the “regular operator” in [7], whichC is the “backward” Kolmogorov operatorC in applications to Population Genetics. The eigenfunctions that we construct are polynomials and hence in the domain of the regular operator. Indeed, we will show that for each natural number d, the eigenfunc- tions of degree less than or equal to d actually span d. Hence this is the complete set of eigenfunctions for the regular operator. P As functions on the n-simplex, these eigenfunctions do not belong to a single L2-space, but each belongs to an L2-space of some stratum of the boundary. Their coefficients in the representation of a function in terms of this spanning set are computed as inner products on these lower dimensional strata. 4.1. Hierarchy of Polynomial Eigenfunctions. The simplest polynomial eigenfunc- tions of LKim are the functions x ,...,x , which are null vectors. Each of these eigen- { 1 n+1} functions vanishes on a codimension 1 boundary face of Σn. Of course, a constant func- tion is also a null-vector for LKim, but it already belongs to the span of the others since x1 + + xn+1 =1. To fit with the pattern below, one can write these functions as xi1 ψ(x), where···ψ(x) 1 spans the space of constant functions determined by their value at vertex i ≡ 1 (where xi1 =1). Next, for each distinct pair 1 i1

(4.6) x = = x − =0. j1 ··· jn 1

Hence the eigenfunctions xi1 xi2 ψ(xi1 ) vanish on the boundary of this edge. Also note that if Kim a function ψ depends only on a subset of the coordinates, then Lb ψ also depends only on the same subset of the coordinates. In particular, (3.4) and(4.5) agree. With these observations, working in the different projective models, we can construct all the polynomial eigenfunctions of LKim . These take the form

x x ψ(x ,...,x ), i1 ··· ik+1 i1 ik for various choices of indices i ,...,i . Here ψ is an eigenfunction of the operator { 1 k+1} Kim Kim (4.7) L ,b′ =Lb′ ↾KI I acting on a k-simplex, and the variables (xi1 ,...,xik+1 ) range over the face defined by the equations

(4.8) x = = x =0, j1 ··· jn−k using the notation of (2.10). The weights for this operator are all equal to 2, and therefore we Kim denote it by L ,2 . A simple calculation shows that, if = k +1, then I |I|

Kim m1 mk 2 m1 mk (4.9) L ,2 xi xi = ~m + (2k + 1) ~m xi xi mod ~m 1, I 1 ··· k − | | | | 1 ··· k P| |−      Kim where ~m = m1 + + mk. (A more general formula is given in (5.9) below.) Thus, L ,2 | | ··· 2 I leaves the subspaces d invariant; the dth eigenvalue is [ d (2k + 1)d] for d 0; and its P d+k 1 − − ≥ multiplicity is equal to k −1 , the dimension of d/ d 1. Moreover, applying the Gram- − P P − Schmidt procedure to the set of monomials in the variables xi1 , ..., xik , ordered by degree (but arbitrarily ordered within the set of monomials of the same degree), will lead to an or- Kim thonormal set of eigenfunctions of L ,2 . As a result, the eigenfunctions ψ , ~m(xi1 ,...,xik ) of this operator are multivariate orthogonalI polynomials with respect to theI measure

k+1 (4.10) dµ ,2 = xij dxi1 dxik . I j=1 ···   Q Kim The corresponding eigenfunctions w ψ , ~m of L are orthogonal with respect to dµ0 when I I I 2 k = n and = 1,...,n +1 , but are not normalizable (i.e. do not belong to L Σn; dµ0 ) when k

2 (4.11) λ , ~m = ~m (2k + 1) ~m k(k + 1), (k = 1) I −| | − | |− |I| − and play an essential role in solving LKim u = f below, where we use them to adjust f to zero on the boundaries, just as was done in (3.2)and (3.3) in 1-d. From this observation, it is not difficult to demonstrate the completeness, as a Schauder basis for 0(Σ ), of the eigenfunctions obtained in this way. Let = i ,...,i C n I { 1 k+1} ⊂ 1,...,n +1 be a set of indices, and K bΣn, the corresponding boundary face. We let {˙ C } I ⊂ [xi1 ,...,xik ] denote the ideal of polynomials defined on K that vanish on bK . It isPI easy⊂ to see that I I ˙ C (4.12) = xi1 xik+1 [xi1 ,...,xik ]. PI ··· · Eigenfunctions and the Dirichlet Problem for Kimura Diffusion 11

Kim Kim Formula (4.1) shows that this ideal is invariant under L . The operator L ,2 is self adjoint I I with respect to the measure xi1 xik+1 dxi1 dxik , and it too preserves d, for any d. ··· Kim ···C P Thus the polynomial eigenfunctions of L ,2 span [xi1 ,...,xik ], and therefore xi1 xik+1 I ··· times these eigenfunctions spans ˙ . We next observe that an eigenfunctionPI of this type must vanish on every other k-simplex in the boundary of Σn. This is because one of the functions xij : j = 1,...,k +1 must appear as a defining function for any other k-simplex. Using{ this observation, we see} that any polynomial f that vanishes on every k-simplex except K can be expanded in these eigenfunctions. This suggests a simple recursive method for findingI the regular solution of an equation of the form

(4.13) LKim u = f.

As discussed below, the regular solution is required to belong to an anisotropic H¨older space in the closed simplex rather than to take on specified boundary values. Even if f is a polyno- mial and g = 0, the solution to the Dirichlet problem (1.4) is generally not differentiable up to the boundary of Σn. 4.2. The Regular Solution of LKim u = f. As suggested by our construction of the eigenfunctions, the regular solution to LKim u = f is found recursively by working one boundary stratum at a time. The k-skeleton of Σn is defined to be the union of k-simplices k k k 1 in bΣn. We denote this subset by Σn. It is connected for k > 0, but Σn Σn− is a disjoint k 1 \ union of open k-simplices with boundaries contained in Σn− . The regular solution takes the form

(4.14) u = u + + u , 1 ··· n where the term uk is foundby using the eigenfunctionsconstructedabove to solve an auxiliary k k 1 inhomogeneous Dirichlet problem on Σn Σn− . If u 2, then LKim u vanishes at\ each vertex. Hence, we start by assuming that f ∈ C is a polynomial that vanishes on each of the vertices of Σn. This assumption is dropped in Section 6, where imposing inhomogeneous Dirichlet boundary conditions on bΣn inevitably Kim introduces singularities anyway. We define as the solution of the equation ↾ 1 u1 L u1 Σn = 1 ↾ 1 . As vanishes on the vertices, which are the boundaries of the components of f Σn f Σn 0 \ Σn, we can use the eigenfunctions xi1 xi2 ψ(xi1 ) constructed above to solve this equation on each component of Σ1 Σ0 independently of the others. Note that, using the eigenfunction n \ n representation, the function u1 extends canonically to the entire n-simplex. We next solve

Kim Kim (4.15) L u2↾ 2 = f↾ 2 L u1↾ 2 . Σn Σn − Σn 1 The right hand side vanishes on Σn, so we can use the eigenfunctions w ψ , ~m with = i ,i ,i to independently solve this equation on each connected componentI I of Σ2 IΣ1 . { 1 2 3} n \ n Recursively, we assume that we have found u1,...,uk 1, so that − Kim (4.16) f L (u1 + + uk 1) − ··· − vanishes on the (k 1)-skeleton, and then solve − Kim Kim (4.17) L uk↾Σk = f↾Σk L (u1 + + uk 1)↾Σk . n n − ··· − n

Using the eigenfunctions of the form xi1 xik+1 ψ(xi1 ,...,xik ), we can solve the relevant ··· k k 1 Dirichlet problems independently on each component of Σ Σ − . n \ n 12 C.L. Epstein and J. Wilkening

The process terminates when we reach the interior of the n-simplex, where we solve the problem

Kim Kim (4.18) L un↾Σn = f↾Σn L (u1 + + un 1)↾Σn . − ··· − Once again the right hand side vanishes on the entire boundary of Σn and we can solve this equation using eigenfunctions of the form x1 xn+1ψ(x). Since this can be done for any polynomial that vanishes on the vertices, it demonstrates··· that the eigenfunctions constructed above, including the nullspace, are in fact a complete set of eigenfunctions for the operator Kim L , acting on polynomial functions defined on Σn. Since these functions are dense in 2 (Σn) it follows easily that this is also a complete set of eigenfunctions for the graph closure C Kim 0 of L acting on (Σn). Altogether we have proved the following result: C Kim THEOREM 4.1. The regular operator L acting on functions defined on Σn has a complete set of eigenfunctions of the form

n Kim Kim (4.19) (L )= x1,...,xn+1 xi1 xik+1 (L ,2 ). E { } ∪ ··· E I k=1 = 1 i1<

x x ψ(x ,...,x ). 1 ··· n+2 1 n+1

REMARK 4.3. At stage k of the recursive algorithm above, we are given a function f that Kim vanishes on the (k 1)-skeleton of Σ and wish to find u such that L u ↾ k = f ↾ k . n k k Σn Σn − Kim For simplicity of notation, we have absorbed L (u1 + uk 1) into f in (4.16). Since the faces of the k-skeleton decouple, we may assume f =··· 0 on− all faces K except one of them, which we take to be = 1,...,k +1 . Recall from the discussion afterI (4.9) that the IKim{ } relevant eigenfunctions of L are of the form (x1 xk+1)ψ , ~m(x), with ψ , ~m(x) ~m Nk I ··· I { I } ∈ 0 a set of multivariate orthogonal polynomials with respect to dµ ,2 in (4.10) on Σk. Thus, the generalization of (3.7) to k dimensions is I (4.20) e f(x) c ~m f˜(x)= = c ~mψ , ~m(x) uk(x)= x1 xk+1 ψ , ~m(x). x1 xk+1 I ⇒ λ ~m ··· I ~m Nk ~m Nk ··· X∈ 0 X∈ 0 In [7] it is shown that for k a non-negative integer, and γ (0, 1), the operator LKim k,2+γ k,γ ∈ , maps the anisotropic H¨older space (Σ ) to (Σ ). If we let ˙∗ ∗ denote the closed CWF n CWF n CWF subspaces of functions vanishing at the vertices of Σn, then the inverse

Kim 1 k,γ k,2+γ (4.21) (L )− : ˙ (Σ ) ˙ (Σ ) CWF n −→ CWF n is shown to be a bounded operator. Let Ck,γ denote the bound on this operator. If we approx- imate f ˙k,γ (Σ ) by a polynomial, p, then ∈ CWF n Kim 1 Kim 1 (4.22) (L )− f (L )− p C f p . k − kWF,k,2+γ ≤ 0,γ k − kWF,k,γ Eigenfunctions and the Dirichlet Problem for Kimura Diffusion 13

k,γ k The classical (k,γ)-H¨older norms dominate the WF-H¨older norms, and WF . It is well known that the accuracy of the best degree d polynomial approximantC only⊂ depends C on the classical H¨older smoothness of the data, thus demonstrating the efficacy of our method for solving the equation LKim u = f for any reasonably smooth data f that vanishes at the vertices of Σn. One can generalize the construction of polynomial eigenfunctions to any Kimura oper- Kim ator, Lb , with constant weights. If all of the weights are positive, the measure dµb has finite mass and the polynomial eigenfunctions of the regular operator can be chosen to be or- thonormal with respect to this measure. This case is, in many ways, the easiest to deal with as there is a single ambient Hilbert space containing all the eigenfunctions. It has been studied previously by solving hypergeometric equations [29, 25], by computing bi-orthogonal sys- tems of polynomials [25, 35], or by computing orthogonal polynomials on weighted Hilbert spaces and grouping them into reproducing kernels [16, 17, 18]. The present work extends this third approach to the case of 0 weights, and, for reasons explained below, does not take the final step of forming the reproducingkernels. In the construction of Section 4.1 above, we look for eigenfunctions of the form xi1 xik+1 ψ(xi1 ,...,xik ) with ψ an eigenfunction of Kim ··· ′ the auxiliary operator Lb . If all the weights are positive, the leading factor of xi1 xik+1 Kim ··· is dropped, k is set to n, and the eigenfunctions of Lb are computed directly, without re- course to an auxiliary operator. While eigenfunctions with respect to a subset of the variables Kim are again eigenfunctions of Lb , they are already present in the construction at level n, and do not have to be dealt with recursively along the stratification of ∂Σn. Computing these eigenfunctions works the same in both cases, and is mathematically equivalent to applying the Gram-Schmidt method to the monomials ordered by total degree. This is explained in the following section. When some weights are zero and some positive, Shimakura’s formula leads to a partial hierarchical structure for the eigenfunctions, similar to that described here. This is discussed, to some extent, in [38, 39]. As shown in [38] it is possible to specify homogeneous Dirichlet data on any boundary face where the weight bi < 1. In general the solution is not smooth 1 bi along this face, but has a leading singularity of the form xi − . We will return to these ques- tions in a subsequent publication.

5. Numerical Construction of Eigenfunctions. We now give a practical method to construct the eigenfunctions described above. By a change of variables these eigenfunctions can be represented as products of functions of single variables, which are themselves eigen- functions of differential operators. Since it is no more difficult, we consider the general case of a Kimura diffusion on Σn with constant weights. In 2-d, it was observed by Proriol [36] that orthogonal polynomials on a triangle can be represented as tensor products of 1-d Jacobi polynomials. See Koornwinder [31] for further background and more complicated 2-d geometries. A rather different approach using hy- pergeometric functions was developed in 2-d by Kimura [29] and Karlin and McGregor [25]. This approachwas extended to the simplex or n-sphere in the context of the Laplace-Beltrami equation by Kalnins, Miller and Tratnik [23]. Littler and Fackerell [35] found solutions of Kimura diffusion using expansions in bi-orthogonal polynomials. Griffiths [16] found rep- resentations for the transition function for this diffusion process using reproducing kernels expressed in terms of multivariate Jacobi polynomials; see also [17, 18]. The method we derive below is equivalent to Griffiths’ approach, though we avoid computing reproducing kernels as it is more efficient and numerically stable (at the expense of symmetry) to leave the eigenfunctions separated. Wingate and Taylor [44] showed how to generalize the Proriol construction to the N-dimensional simplex in the case of a uniform weight. We adapt their 14 C.L. Epstein and J. Wilkening method to allow more general Jacobi weights of the form

(5.1) p, q = p(x)q(x) xα1 xαk+1 dx dx . h i 1 ··· k+1 1 ··· k ZΣek

The case of interest here is αj = bj′ 1=1, but treating the general case is no more complicated, and can be used to study Kimura− diffusion with non-zero weights b, as shown below. The idea is to map the unit cube to the simplex in such a way that the desired orthogonal polynomials on the simplex pull back to have tensor product form on the cube. One way to do this, which differs somewhat from the choice made by Wingate and Taylor, is with the change of variables x = T (X) given implicitly by

(5.2) x1 = X1, x2 = (1 x1)X2, xk = (1 x1 xk 1)Xk, − ··· − −···− − j 1 k which solves to xj = i=1− (1 Xi) Xj and xk+1 =1 x1 xk = i=1(1 Xi). These are blow-ups similar to the− changes of variables that− are used−···− in [20, 21, 22]. − The Jacobian matrix QDT (X) is lower triangular, so its determinant is easyQ to compute:

k k j (5.3) J = det DT = (1 X ) − . | | j=1 − j The inner product (5.1) may now be written Q

k α k+1 j (k j)+Pi=j+1 αi (5.4) p, q = (p T )(q T ) Xj (1 Xj) − dX1 dXk. h i k ◦ ◦ − ··· Z[0,1] j=1  Y   Next we note that if p is a polynomial (in one variable) of degree d, then

j 1 − d xj d (5.5) p(Xj) (1 Xi) = p (1 x1 xj 1) − 1 x x − −···− − i=1 1 j 1 Y  − −···− −  is a polynomial of degree d in the variables x , , x . We can therefore define ψ (x) via 1 ··· j ~m k j 1 − (αj ,αj ~m) mj ψ T (X)= Qm (X ) (1 X ) ~m ◦ j j − i j=1 i=1 ! (5.6) Y Y k k (αj ,αj ~m) P mi = Qm (X )(1 X ) i=j+1 , j j − j j=1 Y   where

k

(5.7) αj ~m = αk+1 + (αi +2mi + 1). i=j+1 X (α,β) Here Qm m∞=0 are orthogonalpolynomialson [0, 1] in the innerproduct(3.5), normalized to have{ unit length.} Substitution into (5.4) gives

ψ , ψ ′ = h ~m ~m i k 1 k ′ (αj ,α ) (αj ,α ′ ) α j ~m j ~m j αk+1+Pi=j+1(αi+mi+mi+1) Qmj (Xj )Qm′ (Xj )Xj (1 Xj ) dXj , j − j=1 0 Y Z Eigenfunctions and the Dirichlet Problem for Kimura Diffusion 15

k which, proceeding from j = k to j = 1, may be seen to equal δ ′ . We note that j=1 mj mj ψ (x) is a polynomial of degree d = ~m = k m . We order the multi-indices first by ~m | | 1 j Q degree (~m< ~m′ if d < d′) and then lexicographically from right to left (if d = d′ then P ~m< ~m′ if mk < mk′ , or if mk = mk′ and mk 1 < mk′ 1, etc., so that (d, 0,..., 0) is − − smallest). In this ordering, the ψ ~m(x) are the same as one would get from applying Gram- Schmidt to the monomials x ~m in the same order. Hence, all polynomials in k variables are accounted for by this construction. For example, when k =3 and α1 = α2 = α3 = α4 =1, the first 10 orthogonal polynomials are

ψ000 = 12√35, ψ100 = 12√105(4x 1), ψ010 = 12√210(x + 3y 1), − − 2 ψ001 = 36√70( 1+ x + y + 2z), ψ200 = 24√55(1 9x + 15x ), − − 2 2 ψ110 = 6√2310( 1 + 5x)( 1+ x + 3y), ψ020 = 6√330(3 + 3x 21y + 28y + 3x( 2 + 7y)), − − − − ψ101 = 18√770( 1 + 5x)( 1+ x + y + 2z), ψ011 = 30√462( 1+ x + 4y)( 1+ x + y + 2z), − − − − 2 2 2 ψ002 = 24√1155(1 + x + y 5z + 5z + y( 2 + 5z)+ x( 2 + 2y + 5z)), − − − which span the same space as 1,x,y,z,x2,xy,y2,xz,yz,z2 and are pairwise orthogonal. In numerical computations, it is best to leave them in the form (5.6) since representation in the monomial basis is both expensive and numerically unstable when the degree is large. (α,β) (α,β) (β,α) The Qm are proportional to Jacobi polynomials, Qm (x) Pm (2x 1), but ∝ −(α,β) are more easily computed directly from a 3-term recurrence. Explicitly, pm(x)= Qm (x) Γ(α+1)Γ(β+1) satisfies the recurrence (3.6) with γ0 = Γ(α+β+2) and

1 (α + β)(α β) m=0 α +1 a = 1+ − = , (m 0), m 2 (α + β +2m + 2)(α + β +2m) α + β +2 ≥   m(α + m)(β + m)(α + β + m) (α + 1)(β + 1) b = m==1 , (m 1). m (α + β +2m)2[(α + β +2m)2 1] (α + β + 2)2(α + β + 3) ≥ − These formulas can be derived from the well-knownrecurrence relations of the Jacobi polyno- mials [14, 1], modified so that p =1. Finally, now that we have specified the orthonormal k mk basis ψ ~m(x), the coefficients

(5.8) c = f˜(x)ψ (x)xα1 xαk+1 dx dx = f(x)ψ (x) dx dx ~m ~m 1 ··· k+1 1 ··· k ~m 1 ··· k ZΣk ZΣk in (4.20) can be computed by Gauss-Jacobi quadrature on [0, 1]k via the same change of variables (5.2). Further details will be presented elsewhere. To see that the orthogonal polynomials ψ ~m constructed above are eigenfunctions of Kim L ,b , we note that the generalization of (4.9) is I

Kim m1 mk+1 2 m1 mk+1 (5.9) L ,b x1 xk+1 = ~m + (B 1) ~m x1 xk+1 mod ~m 1, I ··· − | | − | | ··· P| |−      where B = b1 + + bk+1 and bj = αj +1. Normally mk+1 = 0 as the simplex is ··· Kim parametrized by any k of the variables xi. Equation (5.9) shows that L ,b is upper trian- gular in any monomial basis ordered by degree (with arbitrary orderingI among monomials of the same degree), and the eigenvalues can be read off the diagonal. If the Gram-Schmidt procedure is applied to these monomials using the dµb inner product, the resulting system Kim of orthogonal polynomials will span a nested sequence of invariant subspaces for L ,b , and hence are eigenfunctions, by self-adjointness. The above construction is equivalentI to the Gram-Schmidt procedure. 16 C.L. Epstein and J. Wilkening

Following Griffiths [16], one could combine all the eigenfunctions in each eigenspace into reproducing kernels, defined as Gd(x, y) = ~m =d ψ ~m(x)ψ ~m(y). In the above ex- ample, replacing (x,y,z) with (x , x , x ), one would| | have e.g. G (x, y) = 136080+ 1 2 3 P 1 181440[ x1 x2 x3 y1 y2 y3 +x1y1 +x2y2 +x3y3 +(x1 +x2 +x3)(y1 +y2 +y3)]. This is theoretically− − − appealing− − due− to symmetry and independence of the particular ordering chosen to compute the orthogonal polynomials. However, it is more efficient computationally to work with the orthogonal polynomial representation directly. It is also numerically unsta- ble to expand out these polynomials in terms of their coefficients to achieve symmetry in the formulas for Gd(x, y) when d is large. 5.1. Coefficient Estimates. If f is a polynomial, or more generally, a smooth enough function on Σn, then we can use the recursive approach above to represent f in terms of the Kim eigenfunctions of L , w ψ , ~m . Here and in the sequel we assume that all the eigenfunc- { I I } tions ψ , ~m are normalized by the condition: { I } 2 (5.10) ψ , ~m(y) dµ ,2(y)=1. | I | I KZI When = j , then K is a vertex; the functions on K are constants. We write ψ instead I { } I I I of ψ , ~m, where for all j, ψ j (x)=1, the constant function. Note that xj ψ j (x) is then a I { } Kim { } function in the null-space of L that is one at ej and vanishes at all other vertices. We let

µ ,2 = δej (x) be the atomic measure at the vertex ej of unit mass. I We begin by subtracting off the values of f at the vertices: n+1 (1) (5.11) f (x)= f(x) f(ej)xj ψ j (x). − { } j=1 X (1) The function f now vanishes at each of the vertices of Σn and can therefore be expanded on the 1-skeleton in terms of the eigenfunctions of the form w ψ , ~m , where ranges over subsets of 1,...,n +1 of cardinality 2. The coefficients are{ computedI I } as integralsI over the 1-dimensional{ strata: } 1 (1) 1 f (x) (1) (5.12) c , ~m = ψ , ~m(x)x(1 x)dx = f (x)ψ , ~m(x)dx, I x(1 x) I − I Z0 − Z0 where x is a coordinate on the stratum K . Asin (3.12) and(3.14), the rate of decay of these coefficients is determined by the smoothnessI of f (1). Subtracting off the contributions from the 1-dimensional strata we get f (2), which van- ishes on the 1-skeleton of Σn. we can represent this function on the 2-skeleton in terms of eigenfunctions of the form w ψ , ~m , where the cardinality of is 3. Proceeding in this way we get a sequence of functions{ I f,fI (1)} ,f (2),...,f (k),...,f (n)I, where f (k) vanishes on the k 1-skeleton of bΣn. − The coefficients coming from f (k) are computed as integrals over the components of the k-dimensional part of the boundary of Σn :

(k) (5.13) c , ~m = ψ , ~m(y)f (y)dy. I I KZI Here has cardinality k +1 and y is a linear coordinate on K . Using Shimakura’s for- mula,I (4.1) we can show that I

(k) Kim (k) (5.14) L2ψ , ~m(y)f (y)dy = ψ , ~m(y)[L ,0 +κ ]f (y)dy. I I I I KZI KZI Eigenfunctions and the Dirichlet Problem for Kimura Diffusion 17

(k) 2l From this we can show that if L2ψ , ~m = λ , ~mψ , ~m, then, for a function f (K ) that vanishes at the boundary of K I, we have:I I ∈ C I I

1 Kim l (k) (5.15) c , ~m = ψ , ~m(y)[L ,0 +κ ] f (y)dy. I l I I λ , ~m I I KZI

From this relation it is clear that the rate of decay of the coefficients c , ~m is determined by (k) { I } the smoothness of f on the k-skeleton, and an L∞-estimate for the eigenfunctions ψ , ~m . { I } To estimate f (k) in terms of the originaldata would take us too far afield, so we conclude this discussion by proving sup-norm estimates on the eigenfunctions. The eigenfunctions ψ , ~m are eigenfunctions of the operator L ,2, which is self adjoint with respect to the { I } I tLI,2 measure dµ ,2, and has strictly positive weights. The kernel for the operator e takes I the form pt(y, y)dµ ,2(y), with pt(y, y)= pt(y,y). This and the semi-group property easily imply that I e e e e 2 (5.16) p2t(y,y)= [pt(y, y)] dµ ,2(y). I ZKI Since the operator has positive weights, we can usee the Theoreem 5.2 in [8] to conclude that there is a constant Ck depending only on the dimension so that

Ck (5.17) p2t(y,y) . ≤ µ2(B√2t(y))

Here Br(y) is the ball in the intrinsic metric (see (2.24) and [8]) of radius √2t centered at y. From the forms of the metric and the measure we can easily show that there are constants C0, C1, so that for small t, on strata of dimension k, we have the bounds

k k (5.18) C t µ2(B (y)) C t 2 . 0 ≤ √2t ≤ 1

To prove an estimate on ψ , ~m L∞ , we observe that k I k

tλI, ~m (5.19) ψ , ~m(y)e = pt(y, y)ψ , ~m(y)dµ ,2(y). I I I KZI e e e The Cauchy-Schwarz inequality and the estimates above show that

tλI, ~m Cke− (5.20) ψ , ~m(y) k . | I |≤ t 2

Setting t = 1/λ , ~m, gives the estimate − I

k (5.21) ψ , ~m(y) Ck λ , ~m 2 . | I |≤ | I |

Inserting this estimate into (5.15) we see thate there is a constant Ck′ , so that the coeffi- cients coming from the stratum of dimension k satisfy an estimate of the form:

Kim l (k) [L +κ ] f L∞ (5.22) c C′ k I k . , ~m k l k | I |≤ − 2 λ , ~m I 18 C.L. Epstein and J. Wilkening

One-half order of decay is lost with each increase in dimension. We can also give an L2- estimate, where no such loss explicitly occurs, wherein

1 Kim l (k) w− [L +κ ] f L2(KI ,dµI 2) I , (5.23) c , ~m Ck′′ k I k . I l | |≤ λ , ~m I These estimates implicitly involve k derivatives of [LKim +κ ]lf (k) 2 near the boundary of K . In both estimates there are further losses that occurs| in the Iestimation| of [LKim +κ ]lf (k) inI terms of the original data f. I 6. The Dirichlet Problem. In many applications of the Kimura equation to problems in population genetics one needs to solve a problem of the form

Kim (6.1) L u = f with u↾S= g.

Here S is a subset of bΣn, generally assumed to be a union of faces. In the constant weight case, Shimakura showed that this problem is well-posed if the weights on the faces contained in S are all less than 1. Notethat, if a weightis greaterthanorequalto 1, then, with probability 1, the paths of the associated stochastic process never reach the corresponding face. In this section, for simplicity, we continue to consider the case that all weights are zero, S = bΣn, and that f and g have a certain degree of smoothness. With this assumption, we show that the solution to the Dirichlet problem has an asymptotic expansion along boundary with the first two terms determined by local calculations, see(6.20) and (6.57). A classical example from Population Genetics is the solution to the Dirichlet problem with f = 1, and g =0, which is given by −

n (6.2) u(x)= η(x + + x )( 1)j , i1 ··· ij − j=1 0 i1<

n 2 0 (6.3) L = xi∂xi . i=1 X This problem is easier to solve and its solution is nearly adequate to solve the analogous problem in a simplex. We start with a simple calculus lemma. Eigenfunctions and the Dirichlet Problem for Kimura Diffusion 19

2 LEMMA 6.1. Let ψ bea function of a single variable, then for indices 1 i1 < < i n, we have C ≤ ··· k ≤ (6.4) L0ψ(x + + x ) = (x + + x )ψ′′(x + + x ). i1 ··· ik i1 ··· ik i1 ··· ik The proof is an elementary calculation. We now show how to solve the problem

(6.5) L0u = f in Sn,0 with u↾bSn,0 = g,

2 for f a compactly supported function in (Sn,0). We assume that g has a compactly sup- C 2 ported extension, g, to Sn,0, for which L0g also belongsto (Sn,0). It is clear that, generally, this problem cannot have a regular solution u 2(S ). IfC u belongs to this space, then, for ∈C n,0 any substratum σ eof ∂Sn,0, we have e

(6.6) (L0u)↾σ= L0↾σ u↾σ .

Hence f and g would have to satisfy the very restrictive compatibility conditions

(6.7) f↾σ= L0↾σ g↾σ .

We look for a solution of the form u = g + v, with v solving

def (1) (6.8) L0v = f L0g = f and v↾ =0. − e bSn,0 Our first goal is to give a method for solving (6.8), which gives a precise description of e the singularities that arise for general smooth, compactly supported data (f,g). We begin by giving a precise definition to the meaning of the equations in (6.5): A function u 2 0 ∈ (int S ) (S ) solves (6.5) if u↾ = g, and so that L0u, which is initially de- C n,0 ∩C n,0 bSn,0 fined only in the interior of the orthant, has a continuous extension to Sn,0 with L0u = f, throughout. In Section 3 we showed how the analogous problem for LKim is solved in 1-dimension. We begin this construction by explaining how to solve (6.5) when n = 1 : For a fixed ǫ 1, ǫ ≪ we let ψ c∞([0,ǫ)) be a non-negative function, which is 1 in [0, 2 ). Suppose that we want to solve ∈C

(6.9) x∂2u = f(x) with u(0) = a =0. x 6 As noted above, if u 2([0, )), then, unless f(0) = 0, it cannot simultaneously satisfy the differential equation∈ C as x ∞0, and the boundary condition. If we write → (6.10) u(x)= ψ(x)[f(0)x log x + a]+ v(x), then

2 2 (6.11) x∂xu = xψ′′(x)[f(0)x log x + a]+2xψ′(x)[f(0)(log x +1)]+ ψ(x)f(0) + x∂xv. The first two terms on the right hand side are smooth and compactly supported away from x =0. The function v must solve the equation

2 (6.12) x∂ v = f(x) [xψ′′(x)[f(0)x log x + a]+2xψ′(x)[f(0)(log x +1)]+ ψ(x)f(0)], x − with v(0) = 0. The right hand side is smooth and vanishes at x = 0, hence the theory presented in [6] shows that there is a unique smooth solution to this problem. 20 C.L. Epstein and J. Wilkening

To carry this out in higher dimensions, we need to introduce some notation. For indices 1 i <

(6.14) ϕ(Xˆ ˆ )= ϕ↾xi = =xi =0 . i1 ,...,ik 1 ··· k Our method relies on the following essentially algebraic lemma: LEMMA 6.2. Let η(τ) = τ log τ, and let L0 denote the operator defined in (6.3). For any k n, and distinct indices i ,...,,i 1,...,n +1 , we have ≤ { 1 k}⊂{ } (6.15) L0η(x + + x )=1. i1 ··· ik

Proof. By the permutation symmetry of the operator L0 it suffices to consider the indices 1,...,k . Since ∂2η(τ)=1/τ, this follows from Lemma 6.1. { } τ As the next step we write the function v = v0 + v1, where v0 will be the “regular” part of the solution, vanishing on the boundary, and v1 is the singular part, which also vanishes on the boundary and satisfies the equation

(1) (6.16) L0v1↾bSn,0 = f ↾bSn,0 .

As we shall see, v belongs to 0,γ (S ) for any 0 <γ< 1. In fact we can simply write a 1 CWF n,0 formula for v1 :

n j 1 (1) (6.17) v1(x)= ( 1) − f (Xˆ ˆ )η(xi + + xi ). − i1,...,ij 1 ··· j j=1 1 i1<

(6.18) v (x , x )= f (1)(x , 0)η(x )+ f (1)(0, x )η(x ) f (1)(0, 0)η(x + x ); 1 1 2 1 2 2 1 − 1 2 if n =3, then

(6.19) v (x , x , x )= f (1)(x , x , 0)η(x )+ f (1)(x , 0, x )η(x )+ f (1)(0, x , x )η(x ) 1 1 2 3 1 2 3 1 3 2 2 3 1 − f (1)(x , 0, 0)η(x + x ) f (1)(0, x , 0)η(x + x ) 1 2 3 − 2 1 3 − (1) (1) f (0, 0, x3)η(x1 + x2)+ f (0, 0, 0)η(x1 + x2 + x3).

REMARK 6.3. Formula (6.17) should be contrasted to results like those in [4], which analyzes boundary value problems for uniformly elliptic operators in domains with corners. For this case the classical Dirichlet and Neumann boundary value problems are well posed, however, even if the data is infinitely differentiable, these problems typically do not have smooth solutions on domains whose boundaries have corner-type singularities. There is no analogue of the “regular” solution, which is uniquely determined in the present case. The existence of a regular solution is another indication of the remarkable relationship between Eigenfunctions and the Dirichlet Problem for Kimura Diffusion 21 the degeneracies of the operator LKim and the singular structure of the boundary of the simplex. Singularities arise in the present case from the requirement that the solution satisfy a Dirichlet-type boundary condition, which, as we have seen, is generally impossible for a 2 function in (Σn). A secondC remarkable feature of this formula is that it provides two locally determined terms in the expansion, along bΣn, of the solution u to the original problem in (6.5). We have

(6.20) u(x)= g(x)+ v1(x)+ O(dist(x, bΣn)), where it should be noted that v1(x)= O(dist(x, bΣn) log dist(x, bΣn)). In the non-degenerate case, determination of the seconde term in such an expansion requires the solution of a global problem. (1) 0,2+γ THEOREM 6.4. Let f WF (Σn), then the function v1 defined in (6.17) locally 0,γ ∈ C belongs to (S ), for any 0 <γ< 1, as does L0v . It satisfies the following equations CWF n,0 1 (1) (6.21) L0v1↾bSn,0 = f ↾bSn,0 and v1↾bSn,0 =0.

Proof. The fact that v 0,γ (S ) follows immediately from the fact that η(τ) is 1 ∈ CWF n,0 locally in 0,γ We use Lemma 6.2 and the fact that and WF(S1,0). Xˆi1,...,ˆij xi1 + + xij depend onC disjoint subsets of the variables to obtain that ··· (6.22) n j 1 (1) (1) L0v1 = ( 1) − L0f (Xˆ ˆ )η(xi1 + + xi )+ f (Xˆ ˆ ) − i1,...,ij ··· j i1,...,ij j=1 1 i1<

2 (1) 0 (6.25) L v1(x1, x2)= x1∂x1 f (x1, 0)η(x2)+ f (1)(x , 0)+ x ∂2 f (1)(0, x )η(x )+ f (1)(0, x ) f (1)(0, 0). 1 2 x2 2 1 2 − Setting x2 =0 now gives (1) (1) (1) (1) (6.26) L0v (x , 0) = f (x , 0)+ f (0, 0) f (0, 0) = f (x , 0). 1 1 1 − 1 The general case is not much harder: By symmetry, and continuity it suffices to show that (6.27) n j 1 (1) ( 1) − f (Xˆ ˆ )η(xi + + xi )↾x =0=0 and − i1,...,ij 1 ··· j n j=1 1 i1<

We prove the first identity in (6.27) by observing that, if i < n, then X ↾ = j ˆi1,...,ˆij xn=0 We split the sum into two parts and use the fact that ↾ to obtain: Xˆi1,...,ˆij ,n. η(xn) xn=0=0 b

n j 1 (1) (6.28) ( 1) − f (Xˆ ˆ )η(xi + + xi )↾x =0= − i1,...,ij 1 ··· j n j=1 1 i1<

n j 1 (1) (6.29) ( 1) − L0f (Xˆ ˆ )η(xi1 + + xi )↾x =0=0, − i1,...,ij ··· j n j=1 1 i1<

n j 1 (1) (6.30) ( 1) − f (Xˆi ,...,ˆi )↾xn=0= f(Xn). − 1 j b j=1 1 i1<

n j 1 (1) (6.31) ( 1) − f (Xˆ ˆ )↾x =0= − i1,...,ij n j=1 1 i1<

(6.32) L0[hψ(x + + x )] = 1 ··· n ψ(x + + x )L0h +2ψ′(x + + x )Rh + (x + + x )ψ′′(x + + x )h. 1 ··· n 1 ··· n 1 ··· n 1 ··· n

Here R = x1∂x1 + + xn∂xn . Using this lemma··· we can easily demonstrate the following result: Eigenfunctions and the Dirichlet Problem for Kimura Diffusion 23

(1) 0,2+γ PROPOSITION 6.6. Suppose that f WF (Sn,0) is supported in the set x : x1 + + x N . If ψ 2([0, )) equals 1∈Cin [0,N], then { ··· n ≤ } ∈Cc ∞ (6.33) v (x)= ψ(x + + x )v (x) 1 1 ··· n 1 0,γ is compactly supported, v1 and L0v1 belong to WF(Sn,0). The function v1 also satisfies the equations: e C e e (1) e (6.34) L0v1↾bSn,0 = f ↾bSn,0 and v1↾bSn,0 =0.

e e Proof. The fact that v1↾bSn,0 = 0 and its regularity properties are immediate. Applying Lemma 6.5 we see that (6.35) e L0v = ψ(x + +x )L0v +2ψ′(x + +x )Rv +(x + +x )ψ′′(x + +x )v . 1 1 ··· n 1 1 ··· n 1 1 ··· n 1 ··· n 1 The fact that τ∂τ η(τ) = τ(log τ + 1) implies that Rv1 has the same regularity as v1, and e therefore so does L0v1. Thus to provethe propositionwe only need to show that Rv1 vanishes on the interiors of the hypersurface boundary components. In a neighborhood of the interior of x1 = 0 we havee the representation v1 = x1 log x1a1(x)+ x1a2(x), where a1 and a2 belong locally to 2. Applying the vector field we see that C (6.36) Rv1 = x1(log x1 + 1)a1(x)+ x1 log x1Ra1(x)+ x1(a2(x)+ Ra2), which obviously vanishes as x1 0. The other boundary faces follow by an essentially identical argument. → We now can complete the solution of (6.8) and(6.5) as well. Write v = v0 + v1, where (1) (6.37) L0v0 = f L0v1 and v0↾bS =0. − n.0 e e (1) 0,γ Since f L0v1 WF(Sn,0) is compactly supported and vanishes on the boundary, it − ∈ C e e e 0,2+γ follows from the results in [7] that (6.37) has a unique solution v (S ). While 0 ∈ CWF n,0 we call v0 the regulare part of the solution, it will not in general be smooth. It will have complicated singularities of the form [x + + x ]l[log(x + + x )]m, for 2 l, and i1 ··· ik i1 ···e ik ≤ with thee maximum value of m bounded by a function of l. With small adaptations this method can also be used to treat the case of the n-simplex, Kim Σn, and the neutral Kimura diffusion operator, L . As noted above, the n-simplex is most symmetrically viewed in the affine plane x1 + + xn+1 = 1. This representation makes clear that every vertex is identical to every other··· vertex. For the construction of the solution to the Dirichlet problem:

Kim (6.38) L u = f in Σn with u↾bΣn = g it turns out to be simplest to work in the non-symmetric representation, with one vertex iden- tified with 0. Recall that (6.39) Σ = (x ,...,x ): 0 x , i =1,...,n ; x + + x 1 . n { 1 n ≤ i 1 ··· n ≤ } It is clear that there is a choice of linear projection into Rn so that any given vertex of Σ is e n so identified with 0. For the moment we work in Σn with coordinates (x1,...,xn). We begin by assuming that the data f,g is supported in a set of the form Σn,2ǫ = x : 0 x + + x 1 2ǫ , for some 0 < ǫ. Ase before we let g denote an optimally smooth{ ≤ 1 ··· n ≤ − } extension of g as a function with support in Σn,ǫ. We write u = g + v, where vesatisfies e (6.40) LKim v = f LKim g = f (1), with v↾ =0. − e bΣene e 24 C.L. Epstein and J. Wilkening

As before we write v = v0 + v1, where

(6.41) v = ψ(x + + x )v (x), e 1 1 ··· n 1 ǫ with ψ ∞([0, 1 )), satisfying ψ(τ)=1, for τ [0, 1 ǫ]. The use of the bump ∈ Cc − 2 e ∈ − function is much more critical here, as we do not have good control on the function v1 on the face where x + + x =1. 1 ··· n The function v1 is defined by the sum:

n j 1 (1) (6.42) v1(x)= ( 1) − f (Xˆ ˆ )η(xi1 + + xi ). − i1,...,ij ··· j j=1 1 i1<

(6.43) LKim η(x + + x )=1 (x + + x ), i1 ··· ij − i1 ··· ij and

(6.44) Kim (1) Kim (1) L [f (Xˆ ˆ )η(xi + + xi )] = η(xi + + xi )L f (Xˆ ˆ ) i1,...,ij 1 ··· j 1 ··· j i1,...,ij − (1) 2(xi + + xi )η′(xi + + xi )Rˆ ˆ f (Xˆ ˆ )+ 1 ··· j 1 ··· j i1,...,ij i1,...,ij (1) + (1 (xi + + xi ))f (Xˆ ˆ ), − 1 ··· j i1,...,ij where the vector fields R are defined by ˆi1,...,ˆij

(6.45) R = x ∂ . ˆi1,...,ˆij k xk k / ii,...,ij ∈{X }

Let bΣ′ = bΣ x : x + + x =1 . Arguing as before we show that v satisfies n n \{ 1 ··· n } 1 the equation along bΣn′ . 0,2+γ THEOREMe 6.7.e Let f (1) (Σ ). The function v defined in (6.42) belongs to ∈ CWF n 1 0,γ (Σ ), as does LeKim v . It satisfies the following equations CWF n 1 Kim (1) (6.46)e L v1↾ ′ = f ↾ ′ and v1↾ ′ =0. bΣen bΣen bΣen

Kim Proof. The regularity statements for v1 and L v1 follow easily from (6.42)and(6.44). Kim (1) The fact that v1↾ ′ =0 follows from Theorem 6.4. The proof that L v1↾ ′ = f ↾ ′ bΣen bΣen bΣen is similar to the proof of Theorem 6.4. As before continuity shows that we only need to prove this statement for the interiors of the hypersurface faces, and symmetry shows that it suffices to consider xn = 0 . The terms coming from the first line of (6.44) can be treated exactly as before. For{ the terms} from the third line of (6.44), the sole difference is the coefficient (1 xn), which equals 1 where xn =0. The first order cross terms, coming from the second line− of (6.44), require some additional consideration. We once again use the observation that if i < n, then X ↾ = X , as j ˆi1,...,ˆij xn=0 ˆi1,...,ˆij ,n well as the facts that b

R f (1)(X )↾ = R f (1)(X ), ˆi1,...,ˆij ˆi1,...,ˆij xn=0 ˆi1,...,ˆij ,n ˆi1,...,ˆij ,n b b Eigenfunctions and the Dirichlet Problem for Kimura Diffusion 25 and

xn∂xn η(xn)↾xn=0= (xn log xn + xn)↾xn=0=0, to split the sum into two parts, obtaining:

(6.47) n j 1 (1) ( 1) − 2(xi1 + +xi )η′(xi1 + +xi )Rˆ ˆ f (Xˆ ˆ )↾x =0= − ··· j ··· j i1,...,ij i1,...,ij n j=1 1 i1<

(6.50) e e e Rv1↾ ′ =0e . bΣen Summarizing, we have shown e 0,2+γ 0,γ PROPOSITION 6.8. Let f (1) (Σ ). The function v belongs to (Σ ), as ∈ CWF n 1 CWF n does LKim v . If ψ(x + + x )=1 on supp f (1) Σ , for an ǫ> 0, then v satisfies 1 1 ··· n ⊂ n,ǫ 1 the following equations e e e e Kim (1) e (6.51) L v1↾ = f ↾ and v1↾ =0. bΣen bΣen bΣen

e e We can now complete the solution of (6.40). We write v = v0 + v1, the function v0 must satisfy e (6.52) LKim v = f (1) LKim v with v ↾ =0. 0 − 1 0 bΣn The existence of a solution 0,2+γ which can be taken to vanish on the boundary, v0 WF (Σn), e follows from the results in [7].∈C Numerically, the method of Section 5 (with k = n) can be used to solve (6.52) for v0. e 26 C.L. Epstein and J. Wilkening

Finally if we have general data (f,g) so that f, and LKim g 0,2+γ(Σ ), then we ∈ CWF n choose a partition of unity ϕ1,...,ϕn+1 so that the function ϕj equals 1 in a neighborhood of the vertex e Σ R{n+1, and vanishes} in a neighborhood of the opposite face, where j ⊂ n ⊂ e xj = 0. The data ϕj (f, g): j = 1,...,n +1 satisfies the hypotheses used above, and therefore we can construct{ solutions u to the equations} { j} Kim e (6.53) L uj = ϕj f on Σn, with uj↾bΣn = ϕj g, for j =1,...,n +1.

To construct the solution in a neighborhood of e Rn+1 we project the simplex into the j ∈ hyperplane xj =0 , and use the projective representation where ej corresponds to 0. Now setting{ }

(6.54) u = u + + u , 1 ··· n+1 we obtain a solution to the original boundary value problem

Kim (6.55) L u = f on Σn with u↾bΣn = g.

This proves the following general result: 0,2+γ Kim THEOREM 6.9. Let f WF (Σn), and g have an extension g to Σn so that L g 0,2+γ ∈C ∈ WF (Σn). The Dirichlet problem (6.55) has unique solution u, which takes the form u = C (0) (1) (0) 0,2+γ (1) g + u + u , where u WF (Σn), vanishes on the boundary.e The singular part, ue is of the form ∈C e n+1 n (1) j 1 (6.56) u (x)= ( 1) − F (X )η(x + + x ) ˆi1,...,ˆij i1 ij − { } ··· i=1 j=1 1 i1<

(1) (6.57) u(x)= g(x)+ u (x)+ O(dist(x, bΣn)).

e Proof. Everything has been proved except the uniqueness statement. This follows from the maximum principle and the facts that u is continuous in the closed simplex, and LKim is a strongly elliptic operator in the interior of the simplex. We observe that u has, in some sense, very complicated singularities, in that it includes a smooth function times (x + + x ) log(x + + x ), for each set of indices i1 ··· ij ii ··· ij 1 i <

e e Eigenfunctions and the Dirichlet Problem for Kimura Diffusion 27

n+1 very easily computed. We write g = g0 + + gn 1, where g0 = g(ej )xj agrees with ··· − j=1 g on Σ0 , and n P k 1 − gk↾ k = g↾ k gj↾ k , (1 k n 1). Σn Σn − Σn ≤ ≤ − j=0 X k 1 The right-hand side is zero on Σn− , so this equation decouples into independent homoge- k k 1 neous “Dirichlet” extension problems from the connected components of Σn Σn− to Σn. \ k Using the eigenfunction expansion to represent the right-hand side on each face of Σn gives the desired representations

Kim (6.58) gk = c , ~m(w ψ , ~m) and L gk = (λ , ~mc , ~m)(w ψ , ~m), I I I I I I I XI XI with both functions canonically defined throughout Σn. If g is a polynomial of degree less than or equal to d on each face of bΣn, then g d as well. Thus, we can replace f by f (1) = f LKim g in (6.40) at the outset, thereby∈ P avoiding non-homogeneous boundary − conditions when working with the partition of unity.e Our approach toe solving the Dirichlet problem works equally well if we add a vector field V that is everywhere tangent to bΣn. In a projective chart, such a vector field takes the form

n

(6.59) V = bj (x)xj ∂xj , j=1 X e with the additional requirement that

n

(6.60) xj bj(x)↾x1+ +xn=1=0. ··· j=1 X A simple calculation shows that

n

(6.61) V η(xi1 + + xij )= al(x)xl∆ i1,...,ij (l)[log(xi1 + + xij ) + 1], ··· { } ··· Xl=1 e where

1 if l i1,...,ij (6.62) ∆ i1,...,ij (l)= ∈{ } { } 0 if l / i ,...,i . ( ∈{ 1 j} The function on the right hand side of (6.61) is easily seen to be continuous on the closed 0,γ n-simplex. In fact these functions belong to WF(Σn), for any 0 <γ< 1. Applying V to v1 we see that C e e (6.63) V v = v V ψ(x + + x )+ ψ(x + + x )V v , 1 1 1 ··· n 1 ··· n 1 from which it is clear that V v is continuous on Σ . To show that V v ↾ = 0, it there- e e e 1 n e 1 bΣn fore suffices to prove it in the interiors of the hypersurface boundary faces, but this is clear Kim 0,γ from (6.61) and (6.63). Withe e these observations it follows that (L e e+V )v1 WF(Σn) and ∈ C e Kim Kim (1) e (6.64) (L +V )v1↾bΣn =L v1↾bΣn = f ↾bΣn .

e e e 28 C.L. Epstein and J. Wilkening

Proceeding as above we easily demonstrate that, if V is tangent to the boundary bΣn, then the Dirichlet problem:

Kim (6.65) (L +V )u = f in Σn with u↾bΣn = g has a unique solution of the form u = u0 + u1, where u1 is given by the formula in (6.56), and u ˙0,2+γ(Σ ). 0 ∈ CWF n

REFERENCES

[1] M. ABRAMOWITZ AND I. A. STEGUN, eds., Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables, Dover Publications, Inc., New York, 9th ed., 1972. [2] A. BHASKAR, Y. WANG, AND Y. SONG, Efficient inference of population size histories and locus-specific mutation rates from large-sample genomic variation data, Genome Research, 25 (2015), pp. 268–279. [3] J. P. BOLLBACK,T.L.YORK, AND R. NIELSEN, Estimation of 2Nes From Temporal Allele Frequency Data, Genetics, 179 (2008), pp. 497–502. [4] M. COSTABEL AND M. DAUGE, Construction of corner singularities for Agmon-Douglis-Nirenberg elliptic systems, Math. Nachr., 162 (1993), pp. 209–237. [5] R. DER, A Theory of Generalised Population Processes, ProQuest LLC, Ann Arbor, MI, 2010. Thesis (Ph.D.)–University of Pennsylvania. [6] C.L.EPSTEIN AND R. MAZZEO, Wright-Fisher diffusion in one dimension, SIAM J. Math. Anal., 42 (2010), pp. 568–608. [7] , Degenerate Diffusion Operators Arising in Population Biology, vol. 185 of Annals of Mathematics Studies, Princeton University Press, Princeton, NJ, 2013. [8] , Harnack inequalities and heat-kernel estimates for degenerate diffusion operators arising in popula- tion biology, Applied Math. Res. Express, doi:10.1093/amrx/abw002, (2016), 64 pp. arXiv:1406.1426. [9] C.L.EPSTEIN AND C. POP Transition probabilities for degenerate diffusions arising in population genetics, arXiv:1608.02119 (2016) 49pp. [10] S. N. EVANS,J. G. SCHRAIBER, AND M. SLATKIN, Bayesian inference of natural selection from allele frequency time series, preprint, (2014), p. 35pp. [11] S. N. EVANS, Y. SHVETS, AND M. SLATKIN, Non-equilibrium theory of the allele frequency spectrum, Theoretical Population Biology, 71 (2007), pp. 109–119. [12] W. EWENS, Mathematical Population Genetics, I, 2nd edition, vol. 27 of Interdisciplinary Applied Mathe- matics, Springer Verlag, Berlin and New York, 2004. [13] R. FISHER, On the dominance ratio, Proc. Roy. Soc. Edin., 42 (1922), pp. 321–341. [14] W. GAUTSCHI, Orthogonal Polynomials, Computation and Approximation, Oxford University Press, Oxford, 2004. [15] G. GOLUB AND J.WELSCH, Calculation of Gauss quadrature rules, Math. Comput., 23 (1969), pp. 221–230. [16] R. C. GRIFFITHS, A transition density expansion for a multi-allele diffusion model, Adv. in Appl. Probab., 11 (1979), pp. 310–325. [17] R. C. GRIFFITHS AND D. SPANO´ , Diffusion processes and coalescent trees, Chapter 15, 358–375. In Prob- ability and Mathematical Genetics, Papers in Honour of Sir John Kingman. LMS Lecture Note Series 378. Edited by N. H. Bingham and C. M. Goldie. Cambridge University Press. (2010) [18] , Multivariate Jacobi and Laguerre polynomials, infinite-dimensional extensions, and their probabilis- tic connections with multivariate Hahn and Meixner polynomials, Bernoulli., 17 (2011), pp. 1095–1125. [19] R. GUTENKUNST,R. HERNANDEZ, S. WILLIAMSON, AND C. BUSTAMANTE, Inferring the joint demo- graphic history of multiple populations from multidimensional SNP frequency data, PLoS Genetics, 5 (2009), p. e1000695. [20] J. HOFRICHTER,T. D. TRAN, AND J. JOST, A hierarchical extension scheme for backward solutions of the Wright-Fisher model, preprint, (2014), p. 31pp. arXiv:1406.5146. [21] , A hierarchical extension scheme for solutions of the Wright-Fisher model, preprint, (2014), p. 21pp. arXiv:1406.5152. [22] , The uniqueness of hierarchically extended backward solutions of the Wright-Fisher model, (2014) to appear Communications in PDE. arXiv:1407.3067. [23] E. G. KALNINS, W. MILLER, AND M. V. TRATNIK, Families of orthogonal and biorthogonal polynomials on the n-sphere, SIAM J. Math. Anal., 22 (1991), pp. 272–294. [24] J. A. KAMM,J.TERHORST, AND Y. SONG, Efficient computation of the joint sample frequency spectra for multiple populations, Journal of Computational and Graphical Statistics, to appear (2016), pp. 1–25. [25] S. KARLIN AND J. MCGREGOR, On some stochastic models in genetics, in Stochastic models in medicine and biology, J. Gurland, ed., vol. 10, Academic Press, 1963, pp. 245–271. [26] M. KIMURA, Random genetic drift in multi-allelic locus, Evolution, 9 (1955), pp. 419–435. Eigenfunctions and the Dirichlet Problem for Kimura Diffusion 29

[27] , Solution of a process of random genetic drift with a continuous model, Proc. Natl. Acad. Sci., 41 (1955), pp. 144–150. [28] , Stochastic processes and distribution of gene frequencies under natural selections, Cold Spring Har- bor on Quant. Biol., 20 (1955), pp. 33–53. [29] , Random genetic drift in a tri-allelic locus; exact solution with a continuous model, Biometrics, 12 (1956), pp. 57–66. [30] , Diffusion models in population genetics, Journal of Applied Probability, 1 (1964), pp. 177–232. [31] T. KOORNWINDER, Two-variable analogues of the classical orthogonal polynomials, in Theory and applica- tion of special functions, R. Askey, ed., vol. 35, Academic Press, 1975, pp. 435–495. [32] M. LACERDA AND C. SEOIGHE, Population Genetics Inference for Longitudinally-Sampled Mutants Under Strong Selection, Genetics, 198 (2014), pp. 1237–1250. [33] W.-H. LI, Maintenance of genetic variability under mutation and selection pressures in a finite population, Proc. Natl. Acad. Sci. USA, 74 (1977) 2509–2513. [34] R. A. LITTLER, Loss of variability at one locus in a finite population, Math. Biosci., 25 (1975), pp. 151-163. [35] AND E.D. FACKERELL, Transition densities for neutral multi-allele diffusion models, Biometrics, 31 (1975), pp. 117–123. [36] J. PRORIOL, Sur une famille de polynomes ´adeux variables orthogonaux dans un triangle, C. R. Acad. Sci. Paris, 245 (1957), pp. 2459–2461. [37] K. SATO, Diffusion operators in population genetics and convergence of Markov chains, in Measure Theory Applications to Stochastic Analysis, G. Kallianpur and D. K¨olzow, eds., vol. 695 of Lecture Notes in Mathematics, Springer Berlin Heidelberg, 1978, pp. 127–137. [38] N. SHIMAKURA, Equations´ diff´erentielles provenant de la g´en´etique des populations, Tˆohoku Math. J., 29 (1977), pp. 287–318. [39] , Formulas for diffusion approximations of some gene frequency models, J. Math. Kyoto Univ., 21 (1981), pp. 19–45. [40] Y. S. SONG AND M. STEINRUCKEN¨ , A Simple Method for Finding Explicit Analytic Transition Densities of Diffusion Processes with General Diploid Selection, Genetics, 190 (2012), pp. 1117–1129. [41] M. STEINRUCKEN¨ ,A. BHASKAR, AND Y. S. SONG, A novel spectral method for inferring general diploid selection from time series genetic data, The Annals of Applied Statistics, 8 (2014), pp. 2203–2222. [42] M. STEINRUCKEN¨ ,Y. X.R. WANG, AND Y. S. SONG, An explicit transition density expansion for a multi- allelic Wright-Fisher diffusion with general diploid selection, Theoretical Population Biology, 83 (2013), pp. 1–14. [43] G. SZEGO˝ , Orthogonal Polynomials, American Mathematical Society, Providence, 1939. [44] B. WINGATE AND M.A.TAYLOR, The natural function space for triangular and tetrahedral spectral ele- ments, Los Alamos National Laboratory Tech. Rep., LA-UR-98-1711 (1998). [45] S. WRIGHT, Evolution in Mendelian populations, Genetics, 16 (1931), pp. 97–159.