원시데이터 수집 시스템
선정목록으로

On the inverse problem of the discrete calculus of variations

관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)

기본 정보

저자
  1. Gubbiotti, G.
DOI
10.48550/arxiv.1808.09086
저널
arXiv (Cornell University)
발행년도
2022
발행기관
Cornell University
피인용수
0
라이선스
0
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.48550/arxiv.1808.09086
토픽
Polymer crystallization and properties
OpenAlex ID
W6929397817

평가 내용

관련도
관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

In this paper we present an algorithm to find the discrete Lagrangian for an autonomous recurrence relation of arbitrary even order $2k$ with $k>1$. The method is based on the existence of a set of differential operators called annihilation operators which can be used to convert a functional equation into a system of linear partial differential equations. This completely solves the inverse problem of the calculus of variations in this setting.

본문 79,220자

본문 펼치기
ON THE INVERSE PROBLEM OF THE DISCRETE CALCULUS OF VARIATIONS GIORGIO GUBBIOTTI Abstract. In this paper we present an algorithm to find the discrete Lagrangian for an autonomous recurrence relation of arbitrary even order 2k with k - 1. The method is based on the existence of a set of differential operators called annihilation operators which can be used to convert a functional equation into a system of linear partial differential equations. This completely solves the inverse problem of the calculus of variations in this setting. 1. Introduction One of the most powerful tools in Mathematical Physics since the times of Euler and Lagrange is the calculus of variations. The variational formulation of mechanics where the equations of motion arise as the minimum of an action functional (the so-called Hamilton’s principle), is fundamental in the developing of theoretical mechanics and its foundations are present in each textbook on this subject [20,36,58]. Beside this, the application of calculus of variations goes beyond mechanics as many important mathematical problems, e.g. the isoperimetrical problem and the catenary, can be formulated in terms of calculus of variations. For a more complete outlook on the calculus of variations, its scopes and its applications we refer to standard textbooks on the subject [10,15,19,32,50]. An important problem regarding the calculus of variations is to determine when a system of differential equations are the Euler–Lagrange equations for some variational problem. This problem is called the inverse problem of the calculus of variations and has a long and interesting history. It was was first addressed by Jacobi in the case of second-order scalar ordinary differential equations [27–30]. In this case it turns out that the answer is that such kind of equations admit infinitely many inequivalent Lagrangians. Jacobi’s proof use the so-called Jacobi Last Multiplier, which can be explicitly used to construct Lagrangians. This proof can be found in [58]. The same result was found also by different authors after Jacobi, usually with no explicit mention of his work, see [11, 24]. The general case of this problem remains unsolved, whereas several important results for particular cases where presented during the XX century. In particular we mention that, under certain restrictions, the general case can be addressed by a method developed by the Italian mathematician V. Volterra [57]. Such method can be understood in a modern formalism through the theory of variational complexes and homotopy [54]. Volterra’s result is therefore now known as the homotopy formula. A complete solution in the case of the systems of two second-order ordinary differential equations was given by Douglas in 1941 [12]. It is worth to note that Douglas’ solution Date: May 20, 2019. 2010 Mathematics Subject Classification. 70S05; 39A99. 1 2 GIORGIO GUBBIOTTI have been interpreted in terms of geometrical calculus in [8,51] using the important advances on the subject given in [2]. In the scalar case necessary and sufficient conditions on the existence of a Lagrangian are known up to eight-order equations. Indeed in [13] such conditions were derived in the case of fourth-order equations, whereas in [33] a set of conditions for the existence of a Lagrangian for sixth- and eight-order equations was given. For systems of n second-order differential equations some results on radially symmetric systems exist [7,25]. For a complete, yet accessible historical introduction on the subject we refer to [48, Chap. 4]. For a more updated exposition on the results obtained on the subject in the last 30 years we refer to the reviews [52,56] and references therein. We mention that the relation of the Jacobi Last Multiplier with the inverse problem of the calculus of variations was often neglected in literature. The Jacobi Last Multiplier itself was rediscovered several times by researchers unaware of its properties. For an historical perspective on this subject we refer to [41,43,47] and references therein. Moreover, we observe that the Jacobi Last Multiplier can be used to find Lagrangians for differential equations of order higher than two [42] and for non-dissipative systems of second-order equations [44,49]. In this paper we give some condition on the existence of a Lagrangian in the discrete scalar setting. To be more precise, we will reduce the condition of existence of a Lagrangian for a scalar difference equation of arbitrary even order 2k, with k - 1 to the solution of an overdetermined system of linear partial differential equations. The fact that the system is linear and overdetermined, means that in general it possible to solve it without an excessive effort. Our solution to the problem is constructive: solving such system one can either find the Lagrangian or conclude that it does not exist. This result pave the way to various applications, for instance in the classification of difference equations based on their variational structure, or their integrability properties. This approach has been already applied to understand how integrability arises in a family of fourth-order maps with two given invariants [21,22]. The inverse problem of discrete calculus of variations was considered from the point of view of variational complexes and homotopy in [26]. In such paper a result analogous to the homotopy formula for the continuous case was proved. We mention that an early description of the difference variational complex appeared in [35]. The plan of the paper is following: in Section 2 we introduce the basis of the discrete calculus of variations for scalar difference equations. We give a self-contained account of all the fundamental results we are going to use based on the original papers on the subject [4,40,53,55]. In Section 3 we present our main result which is given by Theorem 3.4. This theorem, along with its Corollary 3.5, allows to prove or disprove the existence of a Lagrangian in our setting. Section 4 is then devoted to examples. We present several examples from the recent literature, even of equations of arbitrarily high order. Finally in Section 5 we give some conclusions and outlook. In particular we discuss the possibility of using the method presented in section 3 in the framework of the geometric integration theory [5,6,34], and we present a comparison with the homotopy approach given in [26]. 2. Discrete Lagrangians and their basic properties In this section we introduce discrete Lagrangians and those of their properties we are going to use throughout the paper. Some of these properties were discussed ON THE INVERSE PROBLEM OF THE DISCRETE CALCULUS OF VARIATIONS 3 already in [40]. Later accounts on these properties of discrete Lagrangians can be found in [4,55] and more recently in [53]. We refer to these papers and references therein for a more complete overview on the subject. Throughout this paper we are going to consider consider recurrence relation of even order 2k, equivalently called a scalar difference equation, i.e. functional equations of the following from: (2.1) xn+k = F (xn+k−1, xn+k−2, . . ., xn−k) . where k ≥ 1. To be a well-posed equation of order 2k we impose the non-degeneracy condition: ∂F (2.2) ∂xn−k = 0. Throughout the paper we will always consider this condition to be satisfied. A discrete action of order k is a linear functional of the form: (2.3) S [xn] = The summand function n∈Z L (xn+k, xn+k−1, . . ., xn) . n∈Z (2.4) L = L (xn+k, xn+k−1, . . ., xn) is called a discrete Lagrangian. Usually we think difference equation (2.1) and discrete Lagrangians (2.4) to be autonomous, i.e. not explicitly dependent on n. For this reason in the general fomulæ (2.1) and (2.4) we omitted the index n in the hand side. However, we underline that all the reasoning presented in this paper also work in the non-autonomous case, with the appropriate care. In particular we will underline with appropriate remarks when a result can be simplified in the autonomous setting. On the other side, when a result requires to be be discussed in the non-autonomous setting we will always place the subscript n and explain why it is needed. From the variation of the discrete action (2.3) we obtain that the stationary points of the discrete action satisfy the following difference equation [40]: ∂L ∂xn+l (2.5) k l=0 Tn <sup>−l</sup> (xn+k, xn+k−1, . . ., xn) = 0. l=0 In formula (2.5) Tn is the translation operator acting on any function fn = fn (xn+l, . . ., xn+m) depending on a finite number of shifts of xn and possibly on the independent variable n as: (2.6) Tnfn (xn+l, . . ., xn+m) = fn+1 (xn+l+1, . . ., xn+m+1) . Equation (2.5) is called the discrete Euler–Lagrange equation corresponding to the discrete Lagrangian L (2.4). When no ambiguity is possible, we will simply address equation (2.5) as the discrete Euler–Lagrange equation. The left hand side of the discrete Euler–Lagrange equations (2.5) is sometimes called the variational derivative of the action (2.3) and denoted by δS/δxn. We say that a discrete Lagrangian (2.4) is a discrete Lagrangian for the difference equation (2.1) if its discrete Euler–Lagrange equations (2.5) coincide with (2.1). Remark 2.1. The expression of the Euler–Lagrange equation given in equation (2.5) is valid both for autonomous and non-autonomous Lagrangians. In particular in 4 GIORGIO GUBBIOTTI the case of autonomous Lagrangians L = L (xn+k, . . ., xn) its expression can be simplified to: (2.7) k l=0 ∂L ∂xn (xn+k−l, xn+k−1, . . ., xn−l) = 0. On the other hand if the Lagrangian depends explicitly on n, L = Ln we can write formula (2.5) as: (2.8) k l=0 ∂Ln−l ∂xn (xn+k−l, xn+k−1, . . ., xn−l) = 0. When developing the theory of discrete Lagrangians it is good to consider both expressions (2.5) and (2.8) as the former is more abstract and useful for theoretical purposes, while the latter is more useful in explicit computations. In particular formula (2.5) allow us to think of the variational derivative as a linear operator acting on functions of the form (2.4). That is, we can state the following definition: Definition 2.1. The linear differential-difference operator: ∂ ∂xn+l (2.9) E = is called the Euler operator. k l=0 Tn <sup>−l</sup> . The Euler–Lagrange equation is written in terms of the Euler operator (2.9) as E(L) = 0. The following important result about the kernel of the Euler operator (2.9) holds: Lemma 2.1. The kernel of the Euler operator (2.9) is the space of total differences, i.e. of functions gn = gn (xn+k, . . ., xn) such that there exists a function fn = fn (xn+k−1, . . ., xn) such that: (2.10) gn (xn+k, . . ., xn) = (Tn − Id)fn (xn+k−1, . . ., xn), that is, the image of the operator Tn − Id. Symbolically we write: (2.11) ker E = Im (Tn − Id) . A proof of Lemma 2.1 in the context of difference variational complex can be found in [26,35]. Here we present a simple proof which does not require any knowledge of the geometrical theory of discrete calculus of variations. However, is worth showing such proof since the computational techniques employed will be used when constructing discrete Lagrangians in section 4. Proof. First we prove the inclusion Im (Tn − Id) ⊂ ker E. Assume gn ∈ Im (Tn − Id) and apply E to it: (2.12) E [gn (xn+k, . . ., xn)] = E [(Tn − Id) fn (xn+k−1, . . ., xn)] . ON THE INVERSE PROBLEM OF THE DISCRETE CALCULUS OF VARIATIONS 5 After some trivial algebra using the definition of the Euler operator (2.9) we find following identity: (2.13) ∂ E [gn (xn+k, . . ., xn)] = ∂xn k l=0 [fn+1−l (xn+k−l, . . ., xn−l+1) − fn−l (xn+k−l−1, . . ., xn−l)] . The sum on the right hand side of equation (2.13) is telescopic, therefore its value is given by: (2.14) ∂ E [gn (xn+k, . . ., xn)] = ∂xn This proves that gn ∈ ker E. [fn+1 (xn+k, . . ., xn+1) − fn−l (xn−1, . . ., xn−k)] = 0. Now, we prove the reverse inclusion ker E ⊂ Im (Tn − Id). We proceed by induction on the number of points. Case k = 1. Assume gn = gn (xn+1, xn) ∈ ker E, that is: ∂gn (2.15) ∂xn (xn+1, xn) + <sup>∂gn−1</sup> ∂xn (xn, xn−1) = 0. Differentiating the previous equation with respect to xn+1 we obtain that gn solves the following partial differential equation for all n: ∂ <sup>2</sup> gn (2.16) ∂xn+1 ∂xn This last equation imply: (xn+1, xn) = 0. (2.17) gn (xn+1, xn) = gn <sup>(1)</sup> n <sup>(1)</sup> <sup>(xn+1) + g</sup> n <sup>(2)</sup> n <sup>(2)</sup> <sup>(xn) .</sup> Taking advantage of the arbitrariness of gn <sup>(1)</sup> n <sup>(1)</sup> and gn <sup>(2)</sup> n <sup>(2)</sup> we can write gn <sup>(2)</sup> Taking advantage of the arbitrariness of gn <sup>(1)</sup> and gn <sup>(2)</sup> we can write gn <sup>(2)</sup> <sup>(x</sup> n+1 <sup>)</sup> <sup>=</sup> Gn (xn) − gn <sup>(1)</sup> <sup>(x</sup> n <sup>),</sup> <sup>that</sup> <sup>is:</sup> n <sup>(1)</sup> <sup>(x</sup> n <sup>),</sup> <sup>that</sup> <sup>is:</sup> (2.18) gn (xn+1, xn) = Gn (xn) + (Tn − Id) gn <sup>(1)</sup> <sup>(xn) .</sup> As (Tn − Id) gn <sup>(1)</sup> n <sup>(1)</sup> <sup>(x</sup> n <sup>) ∈</sup> <sup>Im (T</sup> n <sup>−</sup> <sup>Id) substituting (2.18) into (2.15) we have G′</sup> As (Tn − Id) gn <sup>(1)</sup> <sup>(x</sup> n <sup>) ∈</sup> <sup>Im (T</sup> n <sup>−</sup> <sup>Id) substituting (2.18) into (2.15) we have G′</sup> n <sup>(xn) =</sup> 0. This implies Gn (xn) = Gn, or in (2.18): . (2.19) gn (xn+1, xn) = Gn + (Tn − Id) gn <sup>(1)</sup> <sup>(xn) = (Tn −</sup> <sup>Id)</sup> g <sup>(1)</sup> n n <sup>(1)</sup> <sup>(xn) +</sup> <sup>G�n</sup> as we can always do when there is no explicit dependence on xn and its shifts. From (2.19)In formulawe have(2.19)thatweforrepresentedk = 1 gn ∈GIm (n asTna −discreteId) withintegration Gn = (Tn − Id) G <sup>�</sup> n, n <sup>(1)</sup> <sup>(xn) +</sup> <sup>G�n.</sup> n) ∈ (2.20) fn (xn) = g <sup>(1)</sup> Case k - 1. Assume gn = gn (xn+k, . . ., xn) ∈ ker E for k - 1, and that the property ker E ⊂ Im (Tn − Id) holds for all function hn depending on at most k − 1 points. As gn ∈ ker E we have: (2.21) k ∂gn−l ∂xn l=0 (xn+k−l, . . ., xn−l) = 0. 6 GIORGIO GUBBIOTTI If we differentiate (2.21) with respect to xn+k we obtain: ∂ <sup>2</sup> gn−l (2.22) ∂xn+k ∂xn (xn+k−l, . . ., xn−l) . Reasoning in analogous way as in the case k = 1 we have that we can write the solution of the previous partial differential equation as: (2.23) gn (xn+k, . . ., xn) = Gn (xn+k−1, . . ., xn) + (Tn − Id) ˆgn (xn+k−1, . . ., xn) . From the fact that Im (Tn − Id) ⊂ ker E inserting (2.23) into (2.22) we obtain: (2.24) k−1 l=0 ∂Gn−l ∂xn (xn+k−l, . . ., xn−l) = 0. That is, Gn (xn+k−1, . . ., xn) ∈ ker E. From induction it follows: (2.25) Inserting (2.25) into (2.23) we have that gn (xn+k, . . ., xn) ∈ Im (Tn − Id) with the Gn (xn+k−1, . . ., xn) = (Tn − Id) �gn (xn+k−2, . . ., xn) . function fn (xn+k−1, . . ., xn) given by: (2.26) This concludes the proof of the lemma. fn (xn+k−1, . . ., xn) = �gn (xn+k−2, . . ., xn) + ˆgn (xn+k−1, . . ., xn) . Remark 2.2. We remark that in Lemma 2.1 the presence of the subscript n is necessary when proving the inclusion ker E ⊂ Im (Tn − Id) with the proposed technique. Indeed, if the functions gn and fn are autonomous we have an obstruction to the proof already in the case k = 1. In this case the solution of equation (2.16) read as: (2.27) g (xn+1, xn) = G (xn) + (Tn − Id) gn <sup>(1)</sup> <sup>(xn) .</sup> In (2.15) this implies G <sup>′</sup> (xn) = 0, that is G (xn) = K1, with K1 a constant. The function: (2.28) g (xn+1, xn) = K1 + (Tn − Id) gn <sup>(1)</sup> <sup>(xn),</sup> is in total difference form summing back equation (2.28): n <sup>(1)</sup> <sup>(xn) + (Tn</sup> <sup>−</sup> <sup>Id)−1 (K1) + K2</sup> <sup>= g</sup> n <sup>(1)</sup> (2.29) fn (xn) = gn <sup>(1)</sup> n <sup>(1)</sup> <sup>(xn) + K1n + K2.</sup> That is, the function fn will necessary depend explicitly on n. Lemma 2.1 has the following immediate corollary: Corollary 2.2. If two discrete Lagrangians L1 and L2 differ by a total difference, i.e. there exists a function fn = fn (xn+k−1, . . ., xn) such that: (2.30) L2 = L1 + (Tn − Id) fn (xn+k−1, . . ., xn), then they define the same discrete Euler–Lagrange equations. Proof. The thesis follows immediately applying the Euler operator (2.9) to equation (2.30) and noting that the total difference on the right hand side disappears using Lemma 2.1. Using corollary (2.2) we define the following relation on discrete Lagrangians: ON THE INVERSE PROBLEM OF THE DISCRETE CALCULUS OF VARIATIONS 7 Definition 2.2. Two discrete Lagrangians L1 and L2 are called equivalent, denoted by t.d. ≡, if they differ for a total difference, i.e.: (2.31) L1 t.d. ≡ L2 ⇐⇒ L1 = L2 + (Tn − Id) f (xn+k−1, . . ., xn) . Is it easy to prove the following proposition: t.d. Proposition 2.3. The relation ≡ is an equivalence relation. That is, it possesses the following properties: Reflexivity: L t.d. ≡ L. t.d. ≡ L1. Symmetry: If L1 t.d. ≡ L2 then L2 t.d. ≡ L3 then L1 t.d. ≡ L3. Transitivity: If L1 t.d. ≡ L2 and L2 The proof of Proposition 2.3 is trivial and it is therefore omitted. Remark 2.3. Proposition 2.3 implies that Lagrangians are not functions, but rather t.d. equivalence classes of functions up to the equivalence relation defined by ≡ (2.31). A Lagrangian equivalent to a constant function is said to be a trivial, as its EulerLagrange equations are identically satisfied, i.e. they are not difference equations. Finally we give the following definition: Definition 2.3. A discrete Lagrangian L = L (xn+k, . . ., xn) is called normal if ∂ <sup>2</sup> L (2.32) ∂xn+k ∂xn (xn+k, . . ., xn)̸ = 0. The importance of considering normal Lagrangians come from the fact that non-normal Lagrangians define discrete Euler–Lagrange equations of order 2k − 2 at most. This is the content of the following lemma: Lemma 2.4. A non-normal discrete Lagrangian L defined on k points is equivalent is the smallest integer such that: to a normal discrete Lagrangian∂ <sup>2</sup> LL <sup>�</sup> defined on k − m points, where m ∈{1, . . ., k} ̸ ∂ <sup>2</sup> L (2.33) ∂xn+k−m ∂xn (xn+k, . . ., xn)̸ = 0. Proof. Assume that the discrete Lagrangian L = L (xn+k, . . ., xn) is non-normal. Then from definition 2.3 we have: ∂ <sup>2</sup> L (2.34) ∂xn+k ∂xn (xn+k, . . ., xn) = 0. Solving this partial differential equation and using the same reasoning as in the proof of Lemma 2.1 we obtain that the Lagrangian L has the following form: (2.35) L = L1 (xn+k−1, . . ., xn) + (Tn − Id) fn (xn+k−1, . . ., xn) t.d. ≡ L1 (xn+k−1, . . ., xn) . 8 GIORGIO GUBBIOTTI Therefore the original discrete Lagrangian L is equivalent to a discrete Lagrangian L1 defined on k - 1 point. The Euler–Lagrange equation of L1 are defined on 2k - 2 at most. Now if: ∂ <sup>2</sup> L (2.36) ∂xn+k−1 ∂xn we have that: ∂ <sup>2</sup> L1 (2.37) ∂xn+k−1 ∂xn = 0, = 0, and the above reasoning can be iterated. Therefore, we obtain that t.d. ≡ L2 (xn+k−2, . . ., xn) . (2.38) L t.d. ≡ L1 (xn+k−1, . . ., xn) This procedure can be iterated until we reach m ∈{1, . . ., k} defined by the t.d. (2.39) L (xn+k, . . ., xn) condition (2.33). Defining L <sup>�</sup> ≡ Lm the chain of equivalence gives us: (2.39) L (xn+k, . . ., xn) t.d. chain of equivalence ≡ L <sup>�</sup> (xn+k−m, . . ., xn) . This concludes the proof of the lemma. Corollary 2.5. A discrete Lagrangian L (2.4) such that: ∂ <sup>2</sup> L (2.40) ∂xn ∂xn+m is trivial. = 0, ∀m ∈{1, . . ., k} t.d. ≡ L <sup>�</sup> 0 where L <sup>�</sup> 0 is a Proof. From Lemma 2.4 we have L t.d.≡ L <sup>�</sup> (xn), but L <sup>�</sup> (xn) a trivial Lagrangian. constant. Therefore L t.d. ≡ L <sup>�</sup> (xn), but L <sup>�</sup> (xn) ≡ L <sup>�</sup> 0 where L <sup>�</sup> 0 is a Since in this paper we are interested in the inverse problem of the discrete calculus ≡ L <sup>�</sup> 0 and it is a trivial Lagrangian. Since in this paper we are interested in the inverse problem of the discrete calculus of variations for equations of the form (2.1) depending on exactly 2k points, from now on, we will always consider to deal with normal discrete Lagrangians. In the next section we see which kind of condition must be satisfied to guarantee the existence of a discrete Lagrangian for a given difference equation of order 2k with k - 1. 3. Method for finding discrete Lagrangians As we said in the Introduction, we want to solve the inverse problem of the discrete calculus of variations for scalar difference equations, i.e. we want to be able to state when the difference equation (2.1) can be derived from a Lagrangian (2.4). To this end our first step is to state and prove following technical lemma: Lemma 3.1. Consider a differential operator A acting on the independent variables xn+k−1, xn+k−2, . . ., xn−k, i.e.: (3.1) A = k−1 i=−k Ai ∂ ∂xn+i , Ai = Ai (xn+k−1, . . ., xn−k), i = 1 . . ., k, i=−k such that for every function G = G (xn+k, xn+k−1, . . ., xn) with k - 1 evaluated on the solutions of the difference equation (2.1) (3.2) G = G (F (xn+k−1, xn+k−1, . . ., xn−k), xn+k−1, . . ., xn) . ON THE INVERSE PROBLEM OF THE DISCRETE CALCULUS OF VARIATIONS 9 we have A (G) ≡ 0 identically. Then A is a linear combination of the following k − 1 differential operators: ∂ ∂xn−k ∂F ∂xn−k ∂ ∂xn−m ∂F (3.3) A <sup>+</sup> m <sup>=</sup> ∂xn−m ∂F <sup>+</sup> m <sup>=</sup> ∂xn−m , m = 1, . . ., k − 1. Proof. Let us consider the operator in (3.1) with unspecified coefficients Ai. We will fix the form of these coefficients by imposing the condition that the operator (3.1) applied to any function G as in (3.2) is identically zero. Applying the operator (3.1) applied to a function G as in (3.2) and using the chain rule we obtain: i=0 . k−1 i=0 (3.4) A (G) = �i=1k A−i ∂xn+i - ∂F ∂G ∂G ∂F <sup>+</sup> ∂xn+i ∂F ∂xn−i ∂G ∂F <sup>+</sup> Ai i=1 Let us assume for the moment that the partial derivatives of G ∂G ∂G ∂G (3.5) ∂F <sup>,</sup> ∂xn+k−1, . . ., ∂xn−k are functionally independent, which is the most general case. Then as the condition A (G) ≡ 0 in (3.4) must hold for all G we can annihilate the coefficients of the partial derivatives of G (3.5). From (3.4) this implies that Ai = 0 for i = 0, . . ., k. On the other hand from the derivative with respect to the first argument we obtain the following condition: (3.6) k i=1 A−i ∂F ∂xn−i = 0. i=1 Equation (3.6) defines an hyperplane of dimension k − 1 orthogonal to the gradient vector of F with respect to the variables x <sup>−</sup> = (xn−1, . . ., xn−k): . �T (3.7) ∇x−F = ∂xn−1 - ∂F ∂F , . . ., ∂xn−k A basis for the orthogonal space (∇x−F ) <sup>⊥</sup> is given by the vectors:                                               0 ∂F ∂xn−k 0 ... 0 ∂F ∂xn−2             (3.8) v1 =             ∂F ∂xn−k 0 0 ... 0 ∂F ∂xn−1 , v2 = , . . ., vk−1 =               0 0 ... 0 ∂F ∂xn−k ∂F ∂xn−k+1 . Inserting the components of this base into (3.1) we obtain the vector fields (3.3). Since (3.8) is a basis the thesis follows in the case the when the partial derivatives of G (3.5) are functionally independent. In the particular case when the partial derivatives of G (3.5) are functionally dependent there exists a functional relation of the following kind: ∂G ∂F <sup>,</sup> ∂xn+k−1 - ∂G = 0, (3.9) Q , . . ., <sup>∂G</sup> ∂xn , . . ., <sup>∂G</sup> 10 GIORGIO GUBBIOTTI with Q a given function. Relation (3.9) means that G solves a first-order partial differential equation. This amounts to say that the function G has the form: (3.10) G = G (I1, . . ., Ik), Ij = Ij (F, xn+k−1, . . ., xn), where the derivatives ∂G/∂Ij and functions Ij are functionally independent and their partial derivatives are functionally independent. To each function Ij in (3.10) the result holds because of the first part of the proof. By direct computation using the chain rule we obtain that the result holds for G itself. Therefore we obtain that the result holds even in the case when the partial derivatives of G (3.5) are functionally dependent. This concludes the proof of the lemma. Remark 3.1. In the proof of Lemma 3.1 only derivatives are involved. For this reason Lemma 3.1 generalises immediately to the case when the function F in (2.1) and G in (3.2) depend explicitly on n. Therefore, to obtain the non-autonomous version of Lemma 3.1 just replace each occurrence of F with Fn and of G with Gn. Remark 3.2. We underline that in order to prove Lemma 3.1 it is fundamental to assume that the differential operator A (3.1) annihilates identically on all the functions of the form (3.2). Indeed, it is always possible to find non-trivial differential operators of the form (3.1) which annihilates a particular function, even though its first derivatives are functionally independent. A simple example of this fact arises in dimension two and it is given by radial functions. That is, the function G (x, y) = g is annihilated by the first-order linear differential operator: �x <sup>2</sup> + y <sup>2�</sup> ∂x <sup>∂</sup> <sup>−</sup> <sup>x</sup> ∂y <sup>∂</sup> is annihilated by the first-order linear differential operator: (3.11) A = y <sup>∂</sup> ∂y <sup>∂</sup> <sup>.</sup> However, as is it known from the theory of first-order linear partial differential equations [3], the general solution of A (G) = 0 is given by radial functions. Therefore for every non-radial function H = H (x, y) we will have A (H)̸ = 0. Therefore, the linear differential operator (3.11) does not satisfy the hypotheses of Lemma 3.1. If the equation (2.1) can be solved uniquely for xn−k the evolution of the difference equation is defined in both sides and we can write: (3.12) In this case we have a “mirrored” version of Lemma (3.1) expressed as following: xn−k = F <sup>�</sup> (xn+k, xn+k−1, . . ., xn−k+1) . xn+k, xn+k−2, . . ., xn−k+1, i.e.: Lemma 3.2. Consider a differential operatork A <sup>�</sup> acting on the independent variables , A�i = A�i (xn+k, . . ., xn−k+1), i = 1 . . ., k, (3.13) A� = k −k i=−k+1 ∂ ∂xn+i A�i the solutions of the difference equation (3.12) such that for every function G <sup>�</sup> = G <sup>�</sup> (xn, xn−1, . . ., xn−k) where k - 1, evaluated on (3.14) G� = G� xn, xn−1, . . ., F <sup>�</sup> (xn+k, xn+k−1, . . ., xn−k+1) ON THE INVERSE PROBLEM OF THE DISCRETE CALCULUS OF VARIATIONS 11 ential operators:� we have A <sup>�</sup> G� ≡ 0. Then A <sup>�</sup> is a linear combination of the following k − 1 differ ∂ ∂ ential we have A <sup>�</sup> <sup>−</sup> m <sup>=</sup> ∂xn+m ∂F <sup>�</sup> ∂xn+k ∂F <sup>�</sup> ∂ ∂xn+m (3.15) A <sup>−</sup> m ∂ ∂xn+k , m = 1, . . ., k − 1. Proof. Analogous to the proof of Lemma 3.1. Remark 3.3. Analogously as Lemma 3.1 Lemma 3.2 generalises immediately to the obtain the non-autonomous version of Lemma 3.2 just replace each occurrence of case when the function F <sup>�</sup> in (3.12) and G <sup>�</sup> in (3.14) depend explicitly on n. To Moreover, as for Lemma 3.1, Lemma 3.2 relies on the fact that the differential F� with F�n and of G� with G�n. It is not possible to release such hypothesis, as the same counterexample presented in Remark 3.2 is valid. operator A <sup>�</sup> in (3.13) annihilates identically on all the functions of the form (3.14). Then we state the following definition: Definition 3.1. The differential operators introduced (3.3) and (3.15) are called annihilation operators. In particular the operators (3.3) are the forward annihilation operators, while the operators (3.15) are the backward annihilation operators. Remark 3.4. The annihilation operators defined by equation (3.3) and (3.15) are the one-dimensional analogous of the operators Y <sup>l</sup> and Z <sup>−l</sup>, for l ∈ Z, defined in [16, 17, 39]. These operators have application also in the theory of Darboux integrable partial difference equations [1]. In [17, 18, 23] they were used to find the first integrals of some classes of partial difference equations. These operators annihilates all the dependent shifts of a quad equation, while A <sup>±</sup> m <sup>annihilates</sup> <sup>the</sup> dependent shifts of a scalar difference equation. Before going on it is important to note that the condition k - 1 in Lemmas 3.1 and 3.2 cannot be relaxed. In fact we can prove the following, complementary result: Lemma 3.3. Consider a first-order linear differential operator of the form ∂ (3.16) A = α (xn, xn−1) ∂xn ∂ + β (xn, xn−1) ∂xn−1 , such that for every function g = g (xn+1, xn) where xn+1 solves a scalar secondorder difference equation of the form xn+1 = f (xn, xn−1), i.e.: (3.17) g = g (f (xn, xn−1), xn) . we have A (g) ≡ 0 identically. Then the linear differential operator A is trivial, i.e. A ≡ 0. Analogously, consider a first-order differential operator of the form ∂ ∂ (3.18) ∂xn+1 ∂xn A� = α� (xn+1, xn) + β <sup>�</sup> (xn+1, xn) such that for every function �g = �g (xn, xn−1) where xn−1 solves a scalar second (3.19) . order difference equation of the form xn−1 = f <sup>�</sup> (xn+1, xn), i.e.: - xn, f <sup>�</sup> (xn+1, xn) ∂ (3.18) ∂xn+1 A� = α� (xn+1, xn) (3.19) order difference equation of the form xn−1 = f <sup>�</sup> (xn g� = �g xn, f <sup>�</sup> (xn+1, xn) . 12 GIORGIO GUBBIOTTI Proof. Applying the operator (3.16) to the function g we obtain using the chain we have A <sup>�</sup> (�g) ≡ 0. Then the linear differential operator A <sup>�</sup> ≡ 0 is trivial, i.e. A <sup>�</sup> . rule: A (g) = α <sup>∂g</sup> ∂g (f (xn, xn−1), xn) + β ∂xn−1 (f (xn, xn−1), xn) (3.20) ∂xn ∂f <sup>+ α</sup> ∂x <sup>∂g</sup> n - ∂g = α <sup>∂f</sup> ∂x ∂xn ∂f + β ∂xn−1 ∂xn . Assuming that the derivatives of g with respect to its arguments are independent from the arbitrariness of g we must annihilate their coefficients. This implies that α = β ≡ 0. When the derivatives are no longer independent we can use the same argument as in Lemma 3.1 to reduce to the case when they are independent. is completed.Performing the same reasoning in the in case when �g is given by (3.19) and the□ general first-order differential operator A <sup>�</sup> (3.18) we obtain α� = β <sup>�</sup> ≡ 0 and the proof Using the annihilation operators A <sup>±</sup> m <sup>we</sup> <sup>can</sup> <sup>prove</sup> <sup>our</sup> <sup>main</sup> <sup>result.</sup> As this result relies on the general expression for the Euler–Lagrange equation (2.5), we will formulate it in the non-autonomous case, when such formula can be expressed explicit as equation (2.8). Theorem 3.4. Assume that there exists a discrete Lagrangian L = Ln (2.4) for equation (2.1), where k - 1 and the right-hand side can depend explicitly on n, i.e. F = Fn. Then the Lagrangian Ln satisfies the following system of linear partial differential equations: (xn, . . ., xn−k) - <sup>�</sup> ∂ (3.21) ∂xn−k A <sup>+</sup> ∂xn−k m �� ∂Fn �−1 ∂xn - ∂Ln−k = 0, where m = 1, . . ., k − 1. Moreover, if the equation (2.1) can be solved uniquely for xn−k and the evolution in the backward direction is given by equation (3.12) where the right-hand side can the following system of linear partial differential equations: depend explicitly on n, i.e. F <sup>�</sup> = F <sup>�</sup> n then the discrete Lagrangian Ln (2.4) satisfies �−1 - <sup></sup>   ∂ (3.22) ∂xn+k   1 - ∂xn+k ∂F <sup>�</sup> n ∂xn - ∂Ln <sup></sup>   <sup>= 0,</sup> A <sup>−</sup> m (xn+k, . . ., xn) where m = 1, . . ., k − 1. Proof. Applying the annihilation operator A <sup>+</sup> m <sup>(3.3) to the Euler-Lagrange equation</sup> in explicit form (2.8) we obtain: (xn+k−l, xn+k−1−l, . . ., xn−l) = 0. ∂xn - ∂Ln−l (3.23) k l=0 A <sup>+</sup> m A <sup>+</sup> Using the result of Lemma (3.1), as xn+k must be evaluated along the solutions of equation (2.1), and the definition of the annihilation operators (3.3) we have the ON THE INVERSE PROBLEM OF THE DISCRETE CALCULUS OF VARIATIONS 13 following result: (3.24)    0 if l < m, A <sup>+</sup> m A <sup>+</sup> (xn+k−l, . . ., xn−l) = if l = k. A <sup>+</sup> m ∂xn - ∂Ln−l - <sup>∂Fn</sup> ∂ <sup>2</sup> Ln−l ∂xn ∂xn−m (xn+k−l, . . ., xn−l) if m ≤ l ≤ k − 1 ∂xn−k n−k ∂x ∂xn - ∂Ln−k (xn, . . ., xn−k) Introducing this results in (3.23) we have: (3.25) k−1 l=m ∂Fn = ∂xn−k A <sup>+</sup> m ∂xn - ∂Ln−k (xn, . . ., xn−k) (xn+k−l, . . ., xn−l) . l=m ∂ <sup>2</sup> Ln−l ∂xn−k−l ∂xn Then dividing (3.25) by ∂Fn/∂xn−k and differentiating with respect to xn−k we get the system (3.21). Reasoning in the same way with (3.12) and the backward annihilation operators (3.15) we obtain the system (3.22). This concludes the proof. Remark 3.5. We underline that the system (3.21) consist of at least k - 1 equations. In fact each equation in the system (3.21) can be complemented by some additional conditions given by the fact that F in (2.1) depends on the variables xn+i for i = −k, . . ., k − 1, while Ln−k = Ln−k (xn, . . ., xn−k). Therefore, we must require to each equation in (3.21) to be independent of additional variables xn+k−r, r = 1, . . ., k − 1. This implies that the equations ∂xn - ∂Ln−k - <sup>�</sup> ∂ <sup>2</sup> (3.26) ∂xn−k ∂xn+k−r ∂xn−k �� ∂Fn A <sup>+</sup> m �−1 A <sup>+</sup> m �−1 (xn, . . ., xn−k) = 0, for m, r = 1, . . ., k − 1 must hold. In the simpler, yet usual, case when Fn in (2.1) is a rational function of its argument the k − 1 conditions in (3.26) can be replaced by taking the numerator and then the coefficients with respect to to the variables xn+k−r for r = 1, . . ., k − 1 in equation (3.21). Remark 3.6. We remark that the result of Theorem (3.4) do not require to the recurrence relation (2.1) to be defined in both directions, nor it requires to it to be rational. See Section 4 for examples of non-rational recurrence relations admitting Lagrangians. Theorem 3.4 is an effective tool to compute Lagrangians or to prove if a given difference equation of even order do not possess one. In fact we can state the following: Corollary 3.5. Assume that the general solution of the system of linear partial differential equation (3.21) (or (3.22)) associated with a given forward difference equation (2.1) (or backward difference equation (3.12)), with k - 1, gives raise to a trivial Lagrangian. Then there exists no non-trivial Lagrangian for the forward difference equation (2.1) (or for the backward difference equation (3.12)). Proof. Assume by contradiction that equation (2.1) possess a non-trivial Lagrangian Ln. From Theorem 3.4 such Lagrangian will be a particular solution of the system (3.21). However, since the general solution of the linear system (3.21) is trivial also Ln must be trivial. This is a contradiction. Reasoning in the same way with 14 GIORGIO GUBBIOTTI (3.12) and the system (3.22) we obtain another contradiction. This concludes the proof. To practically the problem of finding a discrete Lagrangian L = Ln we propose the following algorithmic steps. (1) Introduce the function: (3.27) ℓn−k (xn, . . ., xn−k) = <sup>∂Ln−k</sup> ∂xn (xn, . . ., xn−k) . (2) Then the system (3.21) becomes: A <sup>+</sup> m <sup>[ℓn−k</sup> <sup>(xn, . . ., xn−k)]</sup> �−1 A <sup>+</sup> m �−1 ∂ (3.28) ∂xn−k ∂xn−k �� ∂Fn = 0, where m = 1, . . ., k−1. That is the system (3.21) reduces to a linear system of second-order partial differential equations for ℓn−k. (3) The next step depends on the functional form of the the system (3.28): (a) If the system (3.28) is rational in xn+k−r, r = 1, . . ., k − 1 take the numerator of each equation and then the coefficients with respect to the variables xn+k−r, r = 1, . . ., k − 1. This gives the final system of linear partial differential equations to solve. (b) If the system (3.28) is not rational consider the derivatives of each equation with respect to the variables xn+k−r, r = 1, . . ., k − 1: A <sup>+</sup> m <sup>[ℓn−k</sup> <sup>(xn, . . ., xn−k)]</sup> �−1 ∂ <sup>2</sup> (3.29) ∂xn−k ∂xn+k−r ∂xn−k �� ∂Fn = 0. This gives the final system of linear partial differential equations to solve. In both cases solve the resulting final system using, e.g. a computer algebra system like Maple or Mathematica. (4) Recover the Lagrangian is recovered through integration and translation: (3.30) Ln (xn+k, . . ., xn) = ℓn (y, xn+k−1, . . ., xn) d y + ℓ <sup>ˆ</sup> n (xn+k−1, . . ., xn) . - xn+k (5) Fix the form of the remaining arbitrary functions using the compatibility conditions given by equation (3.25). (6) Check if the Euler–Lagrange equation (2.8) is identically satisfied. If for technical reasons it is better to use the conditions (3.22), we can perform the steps (i–vi) using the following function: (3.31) ∂xn Instead of the system (3.28) we willℓ�n (xn+k, . . ., xnsolve the) = <sup>∂Ln</sup> (xn+k, . . ., xn) . Instead of the system (3.28) we will solve the analogous system of second-order lin will be recovered through the integration of equation (3.31) and the remaining arbitraryear partial differential equations forfunctions will be fixed using theℓ <sup>�</sup> n Euler–Lagrange themselvesobtained from (3.22). Again the Lagrangianas compatibility conditions. However, we underline that, if needed, it is possible to mix the forward and the backward approach in order to simplify the conditions. See subsection 4.2 for an example of such occurrence. ON THE INVERSE PROBLEM OF THE DISCRETE CALCULUS OF VARIATIONS 15 Remark 3.7. In the case when k = 2 we have that the systems (3.21) and (3.22) actually consist of a single equations: A <sup>+</sup> 1 <sup>[ℓn−2 (xn, xn−1, xn−2)]</sup> �−1 A <sup>+</sup> 1 �−1 ∂ (3.32a) ∂xn−2 and ∂ (3.32b) ∂xn+2 ∂xn−2 �� ∂Fn    . �−1 <sup>−</sup> 1  - � ℓ�n (xn+2, xn+1, xn) one needs to    <sup>.</sup> - ∂xn+2 ∂F <sup>�</sup> n A <sup>−</sup> If F is rational to obtain the final system one needs to consider the coefficients with respect to xn+1, otherwise to differentiate with respect to it in (3.32a). The In the next section we see some examples of the theory we presented above. same with respect to F <sup>�</sup> and xn−1 in (3.32b). 4. Examples In this section we present several examples, both positive and negative, of the application of the method discussed in the previous one. We mainly present autonomous examples. In all autonomous examples the conditions presented in Theorem 3.4 hold simply dropping the subscript n. In principle, autonomous systems can have non-autonomous Lagrangians. In the continuous case several instances of this fact are known [2, 43, 44]. All the examples of autonomous difference equations presented in this paper and known to the authors also have an autonomous Lagrangian. Therefore, the problem of the finding a nonautonomous (up to equivalence) discrete Lagrangian generating an autonomous difference equation is, up to our knowledge, open. In the last subsection we present a non-autonomous example, the dPI <sup>(2)</sup> equation which shows how the method works in full generality. Before going on, we note that in the working of the presented examples we will employ extensively the computational techniques and reasoning we introduced for the first time in the proofs of Lemmas 2.1 and 2.4. 4.1. The autonomous dP II <sup>(2)</sup> equation. Let us consider the autonomous dPII <sup>(2)</sup> equation [9,31]: In the next section we see some examples of the theory we presented above. xn+2(1 − x <sup>2</sup> n <sup>2</sup> n+1 <sup>) + xn−2(1 −</sup> <sup>x2</sup> n <sup>2</sup> n−1 <sup>) = (xn+1 + xn−1) [xn(xn+1 + xn−1) + C]</sup> (4.1) - <sup>Axn + B</sup> . 1 − x <sup>2</sup> n We start then from equation (3.32a) which, when F is given by solving (4.1) with respect to xn+2, is: [(2xn−1 + 2xn+1) xn + 2xn−2xn−1 + C] <sup>∂2ℓ</sup> ∂x <sup>2</sup> (4.2) ∂x <sup>2</sup> n n−2 ∂ <sup>2</sup> ℓ ∂xn−1∂xn−2 ∂ℓ ∂xn−2 = 0, + 1 − x <sup>2</sup> n−1 + 2xn−1 with ℓ = ℓ (xn, xn−1, xn−2). Since there is no dependence on xn+1 we can take coefficients with respect and, upon solving with respect to higher order derivatives, 16 GIORGIO GUBBIOTTI we obtain: 2xn−1 = xn−1 <sup>2</sup> - 1 ∂ <sup>2</sup> ℓ (4.3) ∂x <sup>2</sup> n−2 ∂ <sup>2</sup> ℓ = 0, ∂xn−1∂xn−2 ∂ℓ ∂xn−2 The solution of (4.3) is: (4.4) ℓ (xn, xn−1, xn−2) = x <sup>2</sup> n <sup>2</sup> n−1 <sup>−</sup> <sup>1</sup> (xn, xn−1) . �inxn−the2ℓ <sup>′</sup> 1 <sup>′</sup> 1 <sup>(xn) +</sup> <sup>∂ℓ2</sup> ∂xn Applying twice the translation operator in the positive direction and integrating (4.4) using (3.30) we obtain: x <sup>2</sup> n �2 ( <sup>2</sup> n+1 <sup>−</sup> <sup>1</sup> xnℓ1 (xn+2) �n+1) + ℓ3 (xn (4.5) L (xn+2, xn+1, xn) = + ℓ2 (xn+2, xn+1) + ℓ3 (xn+1, xn) . Using the arbitrariness of ℓ2 (xn+2, xn+1) we replace it by (4.6) ℓ2 (xn+2, xn+1) − ℓ3 (xn+2, xn+1) . This allows to get rid of a total derivative in (4.5) and we are left with the simplified Lagrangian: xnℓ1 (xn+2) + ℓ2 (xn+2, xn+1) . - condition (3.25) is satisfied. (4.7) L (xn+2, xn+1, xn) = x <sup>2</sup> n <sup>2</sup> n+1 <sup>−</sup> <sup>1</sup> We must now check that the compatibility condition (3.25) is satisfied. Inserting (4.7) in it we obtain: ∂ <sup>2</sup> ℓ2 (4.8) ∂xn−1∂xn (xn, xn−1) + 2xnℓ1 (xn+1) = [(2xn−1 + 2xn+1) xn + C] ℓ <sup>′</sup> 1 <sup>(xn) .</sup> Differentiating (4.8) with respect to xn+1 we obtain (4.9) ℓ <sup>′</sup> 1 <sup>(xn) = ℓ′</sup> 1 <sup>(xn+1) .</sup> This last equation implies that ℓ <sup>′</sup> 1 <sup>(xn) = K1</sup> <sup>so</sup> <sup>that</sup> <sup>ℓ1</sup> <sup>(x1) = K1xn.</sup> <sup>Substituting</sup> in (4.8) we have: ∂ <sup>2</sup> ℓ2 (4.10) ∂xn−1∂xn (xn, xn−1) = K1 (2xn−1xn + C) . The solution of this last PDE is given by: (4.11) ℓ2 (xn, xn−1) = <sup>K1</sup> 2 <sup>xnxn−1 (xnxn−1 + 2C) + ℓ4 (xn) + ℓ5 (xn−1) .</sup> As before we can replace ℓ4 (xn) by ℓ4 (xn) − ℓ5 (x5) and inserting (4.11) and the value of ℓ1 into (4.7) we obtain: (4.12) xnxn+2 + <sup>1</sup> 2 L (xn+2, xn+1, xn) = K1 x <sup>2</sup> n �� <sup>2</sup> n+1 <sup>−</sup> <sup>1</sup> 2 <sup>1</sup> <sup>xn+1xn (xn+1xn + 2C)</sup> +ℓ4 (xn+1) where we eliminated the total differences. Now computing the Euler-Lagrange equations corresponding to (4.12) on the solutions of (4.1) we obtain: Axn + B <sup>′</sup> 4 <sup>(xn) = K1</sup> x <sup>2</sup> n − 1 (4.13) ℓ <sup>′</sup> x <sup>2</sup> n − 1 <sup>.</sup> Solving this last equation with respect to ℓ4 (xn) we obtain: (4.14) ℓ4(xn) = <sup>K1</sup> 2 <sup>[(A + B) log (xn −</sup> <sup>1) + (A −</sup> <sup>B) log (xn + 1)] + K2.</sup> ON THE INVERSE PROBLEM OF THE DISCRETE CALCULUS OF VARIATIONS 17 The arbitrary constant is inessential to the Lagrangian, so we can safely set K2 = 0. Finally, inserting (4.14) into (4.12) and rescaling we obtain: L (xn+2, xn+1, xn) = x <sup>2</sup> n <sup>1</sup> <sup>2</sup> n+1 <sup>−</sup> <sup>1</sup> xnxn+2 + <sup>1</sup> 2 <sup>1</sup> 2 <sup>xn+1xn (xn+1xn + 2C)</sup> (4.15) + <sup>1</sup> <sup>1</sup> 2 <sup>[(A + B) log (xn+1 −</sup> <sup>1) + (A −</sup> <sup>B) log (xn+1 + 1)] .</sup> This is the Lagrangian for equation (4.1). 4.2. The (Q.iii) equation. Consider the following equation introduced in [22]: <sup>α</sup> β <sup>xn (xn+1 −</sup> <sup>xn−1) .</sup> <sup>2</sup> n−1 <sup>−</sup> <sup>x</sup> n <sup>2</sup> n <sup>2</sup> +1 <sup>xn+2</sup> <sup>−</sup> <sup>Cxn−1</sup> <sup>+ Cxn+1</sup> xn +1 xn+1 = <sup>α</sup> 2 <sup>xn+2 + B</sup> β - C (Q.iii) + xn−2x <sup>2</sup> n - C 2 <sup>xn−2 + B</sup> xn−1 − - C We will show that this equation has no Lagrangian. We start then from equation (3.32a), which when xn+2 is given by (Q.iii) is: β = 0, (4.16) ∂ <sup>2</sup> ℓ [(4xnxn−2xn−1 − 2Cxn + Cxn−2 + 2B) β + 2αxn] ∂x <sup>2</sup> n− ∂ <sup>2</sup> ℓ xn−1 (2xnxn−1 + C) ∂xn−1∂xn−2 n−2 ∂ℓ ∂xn−2 (4xnxn−1 + C) where ℓ = ℓ (xn, xn−1, xn−2). It is possible to solve directly equation (4.16), but the solution is quite involved. So instead of starting by solving this equation, we search for another compatibility condition. From equation (3.25) differentiating with respect to xn+1 and translating backward once we obtain: ∂ <sup>2</sup> ℓ (4.17) ∂xn−1 ∂xn−2 = 0. Solving equations (4.17) and (4.16) together we obtain (4.18) ℓ (xn, xn−1, xn−2) = ℓ1 (xn, xn−1) . Using the definition (3.30) we have that the possible Lagrangian for equation (Q.iii) is: (4.19) L (xn+2, xn+1, xn) = ℓ1 (xn+2, xn+1) + ℓ2 (xn+1, xn) . This Lagrangian (4.19) is clearly non-normal. As ∂L/∂xn+1∂xn̸ = 0, we have from Lemma 2.4 that Lagrangian (4.19) can define a difference equation of order two at most. This is a contradiction, and we obtain that equation (Q.iii) does not possess a Lagrangian. 4.3. Examples from [53]. In [53] the Ostrogradsky transformation was used to find Poisson structures for periodic reductions of arbitrary order of four partial difference equations. These Poisson structure were found exploiting the Lagrangian formulation for those partial difference equations. Here we will show that these Lagrangians can be derived applying Theorem 3.4. Due to the algorithmic nature of the process we will present the details of the derivation in one of the four cases. All the other examples can be carried out in the same way, so we will not discuss them in details. In [53] the following four Lagrangians of order p + q are presented: (4.20a) LKdV = xnxn+p − xnxn+q − log (xn − xn+p+q), 18 GIORGIO GUBBIOTTI (4.20b) LplusKdV = xnxn+p + xnxn+q − log (xn + xn+p+q), (4.20c) LLV = xnxn+p − xnxn+q − F (xn − xn+p+q), (4.20d) LASdL = xnxn+p + xnxn+q − F (xn + xn+p+q), where p, q ∈ N such that p < q and gdc (p, q) = 1 and the function F (x) is defined by the following integral: d t. �1 + e <sup>t�</sup> (4.21) F (x) = log 0 - x These Lagrangian take their names from the fact that each of them arises as (p, −q) reduction of the discrete two dimensional Lagrangian for the discrete KdV equation, the plus-KdV equation, the discrete Lotka–Volterra equation [38] and the Adler–Startsev discretization of the Liouville equation [1] respectively. The Euler– Lagrange equation of these Lagrangians are respectively: 1 xn+p + xn−p − xn+q − xn−q xn − xn+p+q 1 xn+p + xn−p − xn+q - xn−q − xn + xn+p+q 1 + xn−p−q − xn 1 xn−p−q + xn (4.22a) xn+p + xn−p − xn+q − xn−q - + = 0, (4.22b) xn+p + xn−p − xn+q - xn−q − - = 0, (4.22c) xn+p + xn−p − xn+q - xn−q + log = 0, 1 + e <sup>xn−p−q−xn</sup> - 1 + exn−xn+q+p xn+p + xn−p − xn+q - xn−q + log 1 + e <sup>xn−p−q−xn</sup> - 1 + exn−xn+q+p 1 + e <sup>xn−p−q−xn</sup> (4.22d) xn+p + xn−p + xn+q + xn−q + log = 0. ��1 + e <sup>xn+xn+q+p��</sup> 1 + e <sup>xn−p−q+xn��</sup> xn+p + xn−p + xn+q + xn−q + log We are going to prove the following result: Lemma 4.1. All the Lagrangians (4.20) can be derived using the conditions (3.21) and (3.22) from Theorem 3.4. Proof. In the case of equation (4.22a) the forward annihilation operators (3.3) have the following expression: 1 <sup>+</sup> m <sup>=</sup> D <sup>2</sup> 1 <sup>+</sup> p <sup>=</sup> D <sup>2</sup> 1 <sup>+</sup> q <sup>=</sup> D <sup>2</sup> A <sup>+</sup> m (4.23a) A <sup>+</sup> m <sup>=</sup>, m̸ = p, q, KdV ∂ ∂xn−m KdV 1 ∂ ∂ (4.23b) A <sup>+</sup> p <sup>=</sup> + (xn − xn−p−q) <sup>2</sup>, DKdV <sup>2</sup> ∂xn−p ∂xn−p−q - 1 ∂ ∂ (4.23c) A <sup>+</sup> q <sup>=</sup> - (xn − xn−p−q) <sup>2</sup>, DKdV <sup>2</sup> ∂xn−p ∂xn−p−q - A <sup>+</sup> p KdV A <sup>+</sup> q KdV ∂ ∂xn−p ∂ ∂xn−p ∂ + (xn − xn−p−q) <sup>2</sup> ∂xn−p−q ∂ - (xn − xn−p−q) <sup>2</sup> ∂xn−p−q where: (4.24) DKdV = 1 − (xn − xn−p−q) (xn+p + xn−p − xn+q - xn−q) . Using these operators we have that the differential conditions on the Lagrangian (3.21) are given by: ∂ <sup>2</sup> ℓ (4.25a) = 0, m̸ = p, q, ∂xn−m ∂xn−p−q ON THE INVERSE PROBLEM OF THE DISCRETE CALCULUS OF VARIATIONS 19 ∂ <sup>2</sup> ℓ (xn − xn−q−p) <sup>2</sup> ∂x <sup>2</sup> n−q n−q−p ∂ <sup>2</sup> ℓ + ∂xn−q−p∂xn−p (4.25b) n−q−p m = p, ∂ℓ + 2 (xn−q−p − xn) ∂xn−q−p = 0, ∂ <sup>2</sup> ℓ (xn − xn−q−p) <sup>2</sup> ∂x <sup>2</sup> n−q n−q−p ∂ <sup>2</sup> ℓ ∂xn−q−p∂xn−q (4.25c) n−q−p m = q. ∂ℓ + 2 (xn−q−p − xn) ∂xn−q−p = 0, Now we prove that solving the conditions (4.25) we find the Lagrangian (4.20a). First of all, we note that the equation (4.22a) depends only on the seven points xn, xn±p, xn±q and xn±(p+q). Therefore, we can make the simplifying assumption: (4.26) L = L (xn+p+q, xn+q, xn+p, xn) . With this assumption the first set of equation (4.25a) is identically satisfied. Then the solution of equations (4.25b) and (4.25c) is given by: (4.27) xn, xn−q + <sup>1 + (xn−p−q</sup> <sup>−</sup> <sup>xn)xn−p</sup> xn − xn−p−q ℓ = ℓ2(xn−q, xn−p, xn) + - ℓ1 d xn−p−q. (xn−p−q − xn) <sup>2</sup> xn − xn−p−q Following the definition (3.27) we obtain that a Lagrangian for equation (4.22a) must have the following form: (4.28) L(xn+p+q, xn+q, xn+p, xn) = ℓ2(xn+p, xn+q, xn) + �� ℓ1 xn+p+q, xn+p + <sup>1 + (xn −</sup> <sup>xn+p+q)xn+q</sup> xn+p+q - xn d xn d xn+p+q. (xn − xn+p+q) <sup>2</sup> xn+p+q - xn Here we used the arbitrariness of ℓ2 to change it to ∂ℓ2/∂xn in order to keep the expression for L as simple as possible. Deriving the Euler–Lagrange equations of the Lagrangian (4.28), applying the operator A <sup>+</sup> p <sup>(4.23b)</sup> <sup>then</sup> <sup>differentiating</sup> <sup>with</sup> respect to xn+p we obtain: ∂ℓ1 ξ = xn+p + <sup>1 + (xn −</sup> <sup>xn+p+q)xn+q</sup> ∂ξ <sup>= 0,</sup> xn+p+q - xn ∂ℓ1 (4.29) ∂ξ xn+p+q - xn . This greatly simplifies the expression in (4.28) to: (4.30) L(xn+p+q, xn+q, xn+p, xn) = ℓ2(xn+p, xn+q, xn) − ℓ1 (xn+p+q) xn − xn+p+q d xn+p+q. Computing the Euler–Lagrange equations of (4.30) then applying the operators A <sup>+</sup> p (4.23b) and A <sup>+</sup> q <sup>(4.23c)</sup> <sup>we</sup> <sup>obtain</sup> <sup>that</sup> <sup>the</sup> <sup>function</sup> <sup>ℓ2</sup> <sup>must</sup> <sup>satisfy</sup> <sup>the</sup> <sup>following</sup> system of PDEs: ∂ <sup>2</sup> ℓ2 (4.31a) (xn−q, xn−p, xn) = −ℓ1 (xn), ∂xn−p∂xn ∂ <sup>2</sup> ℓ2 ∂xn−p∂xn ∂ <sup>2</sup> ℓ2 ∂xn−q∂xn ∂ <sup>2</sup> ℓ2 (4.31b) (xn−q, xn−p, xn) = ℓ1 (xn) . ∂xn−q∂xn 20 GIORGIO GUBBIOTTI Introducing L1 (xn) = ℓ1 (xn) d xn and solving (4.31) we obtain the following form for the Lagrangian of (4.22a): (4.32) L(xn+p+q, xn+q, xn+p, xn) = ℓ3 (xn+p, xn+q) + (xn+p − xn+q) L1(xn) d xn+p+q. t.d. ≡ 0, + ℓ4(xn+p+q) + ℓ5(xn+q) − From the arbitrariness of ℓ4 (xn+p+q) we can write L <sup>′</sup> 1 xn L <sup>′</sup> 1 <sup>(xn+p+q)</sup> xn − xn+p+q (4.33) and since ℓ4 (xn+p+q) = ℓ <sup>�</sup> 4 (xn+p+q) − ℓ5 (xn+p+q) and since (4.34) ℓ5 (xn+p+q) − ℓ5 (xn+p) = q l=0 [ℓ5 (xn+p+l+1) − ℓ5 (xn+p+l)] l=0 we have the following simplification in (4.32): L(xn+p+q, xn+q, xn+p, xn) = ℓ3 (xn+p, xn+q) + (xn+p − xn+q) L1(xn) (4.35) + ℓ4(xn+p+q) − L <sup>′</sup> 1 xn L <sup>′</sup> 1 <sup>(xn+p+q)</sup> xn − xn+p+q d xn+p+q. In (4.35) for sake of simplicity we dropped the tilde in ℓ4 (xn+p+q). From the Lagrangian (4.35) we obtain the following Euler–Lagrange equation: (xLn <sup>′</sup> 1 L <sup>′</sup> 1 <sup>(xn+q+p)</sup> (xn − xn+q+p) <sup>2</sup> <sup>d xn+q+p +</sup> ∂x <sup>∂ℓ3</sup> n <sup>′</sup> 1 <sup>(xn+q+p)</sup> ∂xn (xn+p−q, xn) − L1 (xn+p) (4.36) + <sup>∂ℓ3</sup> ∂xn (xn, xn+q−p) + L1 (xn+q) + (xn−q - xn−p) L <sup>′</sup> 1 <sup>(xn)</sup> L <sup>′</sup> 1 <sup>′</sup> 4 <sup>(xn) +</sup> + ℓ <sup>′</sup> L <sup>′</sup> 1 <sup>(xn)</sup> xn − xn−q−p = 0. Confronting (4.36) with (4.22a) it is natural to make the linear ansatz for L1 (xn), i.e. L1 (xn) = Kxn with K a constant <sup>1</sup> . Using this ansatz the Euler–Lagrange equation (4.36) becomes: (xn+p−q, xn) + <sup>∂ℓ3</sup> ∂xn (xn, xn+q−p) (4.37) K + K (xn+q + xn−q - xn+p − xn−p) + ℓ <sup>′</sup> 4 <sup>(xn) +</sup> xn − xn−q−p K xn − xn+q+p + <sup>∂ℓ3</sup> ∂xn = 0. Since xn+p+q do not depend on xn+p−q and xn+q−p we have that ∂ <sup>2</sup> ℓ3/∂xn+p∂xn+q = 0, i.e. (4.38) ℓ3 (xn+p, xn+q) = ℓ6 (xn+p) + ℓ7 (xn+q) . However, exploiting again the arbitrarily of ℓ4 (xn+p+q) we can write (4.39) ℓ4 (xn+p+q) = ℓ <sup>�</sup> 4 (xn+p+q) − ℓ6 (xn+p+q) − ℓ7 (xn+p+q) . 1Alternatively, without making ansatz it is possible to solve (4.22a) for xn−p−q and apply the backward annihilation operators (3.15). ON THE INVERSE PROBLEM OF THE DISCRETE CALCULUS OF VARIATIONS 21 Then from a reasoning analogous to the one in formula (4.34) we can remove all the terms in ℓ6 and in ℓ7. Therefore we are left with the following Euler–Lagrange equations: (4.40) K xn − xn+q+p K + K (xn+q + xn−q − xn+p − xn−p) + ℓ <sup>′</sup> 4 <sup>(xn) +</sup> xn − xn−q−p = 0. Confronting with (4.22a) we have ℓ <sup>′</sup> 4 <sup>(xn)</sup> <sup>=</sup> <sup>0</sup> <sup>so</sup> <sup>that</sup> <sup>ℓ4 (xn)</sup> <sup>=</sup> <sup>constant.</sup> <sup>Since</sup> constants are inessentials in Lagrangian we can safely put ℓ4 (xn) = 0. Putting these considerations together we obtained the Lagrangian: (4.41) L(xn+p+q, xn+q, xn+p, xn) = K (xn+p − xn+q) xn + K log (xn − xn+p+q), which is equivalent to (4.20a) if we choose K = −1. In A we present the conditions (3.21) for the other three equations in (4.22). The proof that the also the other three Lagrangians in (4.20) can be obtained solving these conditions reported in A runs in the same way and therefore it is omitted. 4.4. The dP I <sup>(2)</sup> equation. In this subsection we consider the following non-autonomous equation: xn (xn+1xn+2 + xn−1xn−2) + xnxn−1xn+1 �− n−1 x <sup>2</sup> n ) +� <sup>2</sup> n+1 <sup>+ x2</sup> n <sup>2</sup> n <sup>+ x</sup> n <sup>2</sup> (4.42) +2x <sup>2</sup> n <sup>2</sup> n <sup>(xn+1</sup> <sup>+ xn+1) + xn</sup> +c3xn (xn−1 + xn + xn+1) + c2xn = c1 + c0 (−1) <sup>n</sup> - n. This equation is the second member of the Painlevé I hierarchy, in short dPI <sup>(2)</sup>, and was first derived in [9]. We will now present a derivation of a discrete Lagrangian for such equation. First, we consider equation (3.32a), which when Fn is given by solving (4.42) with respect to xn+2 is the following: [2 (xn + xn−1) + xn+1 + c3 + xn−2] <sup>∂2ℓn−2</sup> ∂x <sup>2</sup> (4.43) ∂x <sup>2</sup> n n−2 + <sup>∂ℓn−2</sup> ∂xn−2 −xn−1 ∂ <sup>2</sup> ℓ ∂xn−1∂xn−2 = 0. Taking the coefficients with respect to xn+1 in (4.43) and solving the resulting system of partial differential equations we obtain that ℓn−2 has the following form: (4.44) ℓn−2 = xn−2xn−1ℓ1,n−2(xn) + ℓ2,n−2(xn, xn−1). Using the definition (3.27) and exploiting the arbitrariness of ℓ2,n−2 we obtain the following expression for a possible Lagrangian of equation (4.42): (4.45) Ln (xn+2, xn+1, xn) = xnxn+1ℓ1,n(xn+2) + ℓ2,n(xn+2, xn+1). Computing the Euler–Lagrange equations of (4.45) then applying the operator A <sup>+</sup> 1 we obtain the following compatibility condition: (4.46) ∂ <sup>2</sup> ℓ2,n−2 ∂xn−1∂xn (xn, xn−1) = (c3 + 2xn + 2xn−1 + xn+1) ℓ <sup>′</sup> 1,n−2 <sup>(xn) −</sup> <sup>ℓ1,n−1</sup> <sup>(xn+1)</sup> Differentiating (4.46) with respect to xn+1 we obtain: (4.47) ℓ <sup>′</sup> 1,n−1 <sup>(xn+1) = ℓ′</sup> 1,n−2 <sup>(xn) .</sup> 22 GIORGIO GUBBIOTTI We have that the functional equation (4.47) implies ℓ1,n−2 (xn) = Kn−2xn where Kn−2 is a function depending explicitly on n. Inserting such value of ℓ1,n−2 (xn) into (4.47) we have Kn−1 = Kn−2, i.e. Kn = K a constant for all n ∈ Z. So in the end we have ℓ1,n−2 (xn) = Kxn. Substituting this value of ℓ1,n−2 (xn) in equation (4.46) we and solving the obtained partial difference equation with respect to ℓ2,n−2 we have: (4.48) ℓ2,n−2 (xn, xn−1) = Kxnxn−1 (c3 + xn + xn−1) + ℓ3,n−2 (xn) + ℓ4,n−2 (xn−1) . Now due to the arbitrariness of ℓ3,n−2 (xn) we can write (4.49) t.d. and, since ℓ4,n−1 (xn) − ℓ4,n−2 (xn−1) ≡ 0, we obtain the ℓ3,n−2 (xn) = ℓ <sup>�</sup> 3,n−2 (xn) − ℓ4,n−1 (xn) t.d. and, since ℓ4,n−1 (xn) − ℓ4,n−2 (xn−1) ≡ 0, we obtain the following Lagrangian: (4.50) Ln (xn+2, xn+1, xn) = Kxnxn+1xn+2+Kxn+2xn+1 (c3 + xn+2 + xn+1)+ℓ3,n (xn+2), and, since ℓ4,n−1 (xn) − ℓ4,n−2 (xn−1) where for sake of simplicity we dropped the tilde in ℓ3,n. Computing the Euler– Lagrange equations of (4.50) and substituting the value of xn+2 from (4.42) we are left with the following condition: <sup>′</sup> 3,n−2 <sup>(xn) = K</sup> c3x <sup>2</sup> n (4.51) and rescaling� . (4.51) xnℓ <sup>′</sup> <sup>2</sup> n <sup>+ x3</sup> n <sup>3</sup> n <sup>−</sup> <sup>c0 (−1)n + c2xn + n −</sup> <sup>c1</sup> Integrating equation (4.51) and rescaling to eliminate the inessential constant K we obtain the following Lagrangian for equation (4.42): Ln (xn+2, xn+1, xn) = xnxn+1xn+2 + xn+2xn+1 (c3 + xn+2 + xn+1) n+2 <sup>2</sup> + c2xn+2 2 (4.52) This ends the proof. n + <sup>x3</sup> n+2 n <sup>3</sup> + <sup>c3x2</sup> 3 2 n+2 + [n + 2 − c0 (−1) <sup>n</sup> - c1] log xn+2. 5. Conclusions In this paper we discussed the conditions for the existence of a discrete Lagrangian in the case of scalar difference equations of arbitrary even order 2k with k - 1. Our main result is contained in Theorem 3.4 and Corollary 3.5 which gives a way of computing such discrete Lagrangians. The usefulness of the method presented in this paper extends also to differential equations. Indeed, from a difference equation of order 2k through the so-called continuum limit procedure we can always obtain a differential equation of order lesser or equal than 2k. Applying the same continuum limit to the discrete Lagrangian of such difference equation we obtain a continuous Lagrangian for the corresponding differential equation. To give an example of this occurrences, let us consider the autonomous dPII <sup>(2)</sup> equation (4.1). It was proved in [9] that the autonomous dPII <sup>(2)</sup> II <sup>(2)</sup> equation (4.1). It was proved in [9] that the autonomous dPII <sup>(2)</sup> II II equation (4.1) under the following scaling (5.1a) xn = hu (t), t = nh, (5.1b) A = 6 + 2αh <sup>2</sup> + δh <sup>4</sup>, B = βh <sup>5</sup>, C = 4 + αh <sup>2</sup>, in the limit h → 0 reduces to the following differential equation: (5.2) u <sup>iv</sup> - αu <sup>′′</sup> - 10u <sup>2</sup> u <sup>′′</sup> + �δ − 10 (u <sup>′</sup> ) <sup>2�</sup> u + 6u <sup>5</sup> + 2αu <sup>3</sup> + β = 0. ON THE INVERSE PROBLEM OF THE DISCRETE CALCULUS OF VARIATIONS 23 This equation is a translated version of the fourth-order member of the PII hierarchy, the PII <sup>(2)</sup> equation, introduced in [14]. Applying the scaling (5.1) to the discrete Lagrangian (4.15) in the limit h → 0 we obtain: α + <sup>7</sup> 2 2 <sup>7</sup> <sup>u2</sup> (u <sup>′</sup> ) <sup>2</sup> (5.3) hL <sup>6</sup> <sup>=</sup> <sup>1</sup> 2 + <sup>1</sup> 2 <sup>1</sup> 2 <sup>(u′′)2 −</sup> <sup>1</sup> 2 <sup>u</sup> u <sup>2</sup> - α <sup>1</sup> 2 <sup>1</sup> <sup>u</sup> 2u <sup>5</sup> + u <sup>3</sup> α + δu + 2β + O (h), - u <sup>′′</sup> + up to the addition of a total derivative. The leading order term in (5.3) is a Lagrangian for the PII <sup>(2)</sup> equation (5.2). As the PII <sup>(2)</sup> equation (5.2) is a fourth-order equations we obtain that the Lagrangian in (5.3) is then its unique Lagrangian [13]. On the other hand the converse procedure, i.e. going from continuous Lagrangian equations to discrete ones, is not possible in general. This happens because, in general, discretising a differential equation does not preserves its variational structure. The non-trivial problem of finding discretisation with variational structure is part of the so-called geometric integration theory [5,6,34]. We believe that the method presented in this paper can be helpful in the framework of the geometric integration theory. Indeed, the algorithmic test presented in this paper can be used to isolate Lagrangian difference equations out of families of difference equations with the same continuum limit. The case k = 1 seems to be more involved and less algorithmic due to the result of Lemma 3.3. It is possible that this reflects the well-known fact that second-order differential equations (5.4) u <sup>′′</sup> = F (t, u, u <sup>′</sup> ), admit infinitely many Lagrangians. These Lagrangians L = L(t, u, u <sup>′</sup> ) are generated by the Jacobi Last Multiplier solving the trivial partial differential equation: ∂ <sup>2</sup> L (5.5) ∂u <sup>′2</sup> <sup>= M</sup> where M is a Jacobi Last Multiplier of the second-order differential equation (5.4) [27–29,45–47]. In [37] the Jacobi Last Multiplier was defined for discrete equation, but no relationship with the discrete Lagrangian was given. Further investigations to establish the existence of a formula analogous to (5.5) are needed. Let us now comments the relationship of our solution of the inverse problem of the discrete calculus of variation with the one given in [26]. As we noticed in the Introduction in [26] an analogous of the homotopy formula for discrete equations was introduced. The homotopy formula presented in [26] can be used to construct a discrete Lagrangian for scalar difference equations (2.1) for all k ∈ N as well as for systems of difference equations, and even in the case of partial difference equations. However, there are some restrictions on the applicability of the homotopy formula presented in [26]. To keep the discussion simple we give a comparison between the applicability of the method presented in [26] and our method. First of all, let us state the results of [26] in our setting. Let P = P [xn] be a difference function, i.e. a function depending on xn and its shifts up to some order r. We denote the space of such functions by A <sup>r</sup> . The Fréchet derivative of P is an operator DP : A <sup>q</sup> →A <sup>r</sup> defined II <sup>(2)</sup> equation (5.2). As the PII <sup>(2)</sup> 24 GIORGIO GUBBIOTTI by: (5.6) DP (Q) = lim ε→0 P [xn + εQ [xn]] − P [xn] ε where Q = Q [xn] is an arbitrary element of A <sup>q</sup> . Following [26] we have that if the operator DP is self-adjoint with respect to the ℓ <sup>2</sup> (Z) norm then the difference equation of order r defined by (5.7) P [xn] = 0, P ∈A <sup>r</sup> is Lagrangian. To prove that the Fréchet derivative defined by a given difference equation P ∈A <sup>r</sup> is or not self-adjoint is an algorithmic task which can be always accomplished with a finite number of steps. However, a negative answer to this procedure is not definitive. Indeed, even though the operator DP is not self-adjoint a difference function µ ∈A <sup>r−1</sup> such that Dµ·P is self-adjoint might exist. Now since µ [xn] ∈A <sup>r−1</sup> we have that the difference equation defined by: (5.8) µ [xn] P [xn] = 0, is equivalent to equation (5.7). The difference function µ [xn] is called a multiplier. Therefore, to disprove the existence of a Lagrangian for the difference equation (5.7) we must be able to prove that the operator Dµ·P is not self-adjoint for every multiplier µ [xn]. On the other hand, we notice that with our method, multipliers are unessential. Indeed, the annihilation operators (3.3) and (3.15) are uniquely defined by the solutions of the difference equations (5.7) with respect to the highest or the lowest shift of xn, namely equations (2.1) and (3.12). Therefore, the conditions stated in Theorem 3.4 are independent of the value of any possible multiplier µ ∈A <sup>r−1</sup>, since equations (2.1) and (3.12) are unchanged upon multiplication. So, the outcome of the method presented in Section 3 is definitive up to point transformations in the variable xn. Moreover, in an upcoming paper we will consider the problem of classification of variational difference equations of a given order with some mild additional assumption on the functional form of the difference equation (e.g. reversibility). In that contest the conditions of Theorem 3.4 will act as constraint on the functional form of the function F in (2.1). We remark that this problem is non-trivial since using the systems (3.21) and (3.22) as a classification tool requires to derive and solve systems of nonlinear partial difference equations. Finally, work is in progress to extend the method of the annihilation operators to more general discrete variational problems, like systems of difference equations. Acknowledgements We thank Prof. Nalini Joshi, Prof. Maria Clara Nucci and Dr. Dinh Tran for the interesting and fruitful discussion during the preparation of this paper. Moreover, we thank Dr. Dinh T. Tran for pointing out the examples contained in Subsection 4.3. Finally, we express our gratitude to the anonymous referees whose comments and suggestions led to a great improvement of the paper. GG is supported by the Australian Research Council through Nalini Joshi’s Australian Laureate Fellowship grant FL120100094. ON THE INVERSE PROBLEM OF THE DISCRETE CALCULUS OF VARIATIONS 25 Appendix A. Conditions on the existence of a Lagrangian for equations (4.22) To end the proof of Lemma 4.1 we must show that the Lagrangians (4.20) arise from the conditions (3.21). As the computations are analogous to those presented in Subsection 4.3 we will limit ourselves to present the form of the forward annihilation operators (3.3) and of the corresponding conditions on the existence of a Lagrangian (3.21). The interested reader can check using the ansatz (4.26) that these conditions yield the desired Lagrangians. In Subsection 4.3 we already discussed the Lagrangian (4.20a), so we start from the Lagrangian (4.20b) and its Euler–Lagrange equations (4.22b). In the case of equation (4.22b) the forward annihilation operators (3.3) have the following expression: 1 <sup>+</sup> m <sup>=</sup> DplusKdV <sup>2</sup> 1 <sup>+</sup> p <sup>=</sup> DplusKdV <sup>2</sup> 1 <sup>+</sup> q <sup>=</sup> D <sup>2</sup> ∂ ∂xn−m A <sup>+</sup> m (A.1a) A <sup>+</sup> m <sup>=</sup>, m̸ = p, q, plusKdV 1 ∂ ∂ (A.1b) A <sup>+</sup> p <sup>=</sup> - (xn + xn−p−q) <sup>2</sup>, DplusKdV <sup>2</sup> ∂xn−p ∂xn−p−q - 1 ∂ ∂ (A.1c) A <sup>+</sup> q <sup>=</sup> - (xn + xn−p−q) <sup>2</sup>, DplusKdV <sup>2</sup> ∂xn−p ∂xn−p−q - A <sup>+</sup> p plusKdV A <sup>+</sup> q plusKdV ∂ ∂xn−p ∂ ∂xn−p ∂ - (xn + xn−p−q) <sup>2</sup> ∂xn−p−q ∂ - (xn + xn−p−q) <sup>2</sup> ∂xn−p−q where: (A.2) DplusKdV = 1 − (xn + xn−p−q) (xn+p + xn−p + xn+q + xn−q) . Using these operators we have that the differential conditions on the Lagrangian (3.21) are given by: ∂ <sup>2</sup> ℓ (A.3a) = 0, m̸ = p, q, ∂xn−m ∂xn−p−q ∂ <sup>2</sup> ℓ (xn + xn−q−p) <sup>2</sup> ∂x <sup>2</sup> n−q n−q−p ∂ <sup>2</sup> ℓ ∂xn−q−p∂xn−p (A.3b) n−q−p m = p, ∂ℓ + 2 (xn−q−p + xn) ∂xn−q−p = 0, ∂ <sup>2</sup> ℓ (xn + xn−q−p) <sup>2</sup> ∂x <sup>2</sup> n−q n−q−p ∂ <sup>2</sup> ℓ ∂xn−q−p∂xn−q (A.3c) n−q−p m = q. ∂ℓ + 2 (xn−q−p + xn) ∂xn−q−p = 0, The Lagrangian obtained in [53] arises solving the system (A.3). In the case of equation (4.22c) the forward annihilation operators (3.3) have the following expression: A <sup>+</sup> m (A.4a) A <sup>+</sup> m <sup>= DLV</sup>, m̸ = p, q, <sup>+</sup> m <sup>= DLV</sup> ∂ ∂xn−m ∂ ∂ (A.4b) A <sup>+</sup> p <sup>= DLV</sup> +, ∂xn−p ∂xn−p−q - ∂ �1 + e <sup>xn−xn−p−q</sup> <sup>�</sup> ∂ (A.4c) A <sup>+</sup> q <sup>= DLV</sup> -, ∂xn−p ∂xn−p−q - �1 + e <sup>xn−xn−p−q</sup> <sup>�</sup> A <sup>+</sup> p <sup>+</sup> p <sup>= DLV</sup> + A <sup>+</sup> q ∂ ∂xn−p−q �1 + e <sup>xn−xn−p−q</sup> <sup>�</sup> ∂ ∂xn−p−q �1 + e <sup>xn−xn−p−q</sup> <sup>�</sup> <sup>+</sup> q <sup>= DLV</sup> ∂ ∂xn−p ∂ ∂xn−p 26 GIORGIO GUBBIOTTI where: e <sup>xn+q+xn−q−xn+p−xn−p+xn−p−q−xn</sup> (A.5) DLV = e <sup>xn+q+xn−q−xn+p−xn−p</sup> (1 + e <sup>+xn−p−q−xn</sup> ) − 1 <sup>.</sup> Using these operators we have that the differential conditions on the Lagrangian (3.21) are given by: ∂ <sup>2</sup> ℓ (A.6a) = 0, m̸ = p, q, ∂xn−m ∂xn−p−q ∂ <sup>2</sup> ℓ ∂x <sup>2</sup> n−q �1 + e <sup>xn−xn−p−q</sup> <sup>�</sup> ∂ℓ - e <sup>xn−xn−p−q</sup> ∂xn−q−p = 0, n−q−p ∂ <sup>2</sup> ℓ + ∂xn−q−p∂xn−p (A.6b) n−q−p m = p, ∂ <sup>2</sup> ℓ ∂x <sup>2</sup> n−q �1 + e <sup>xn−xn−p−q</sup> <sup>�</sup> ∂ℓ - e <sup>xn−xn−p−q</sup> ∂xn−q−p = 0, n−q−p ∂ <sup>2</sup> ℓ ∂xn−q−p∂xn−q (A.6c) n−q−p m = q. The Lagrangian obtained in [53] arises solving the system (A.6). In the case of equation (4.22d) the forward annihilation operators (3.3) have the following expression: A <sup>+</sup> m (A.7a) A <sup>+</sup> m <sup>= DASdL</sup>, m̸ = p, q, <sup>+</sup> m <sup>= DASdL</sup> ∂ ∂xn−m ∂ ∂ (A.7b) A <sup>+</sup> p <sup>= DASdL</sup> -, ∂xn−p ∂xn−p−q - ∂ �1 + e <sup>xn+xn−p−q</sup> <sup>�</sup> ∂ (A.7c) A <sup>+</sup> q <sup>= DASdL</sup> -, ∂xn−p ∂xn−p−q - �1 + e <sup>xn+xn−p−q</sup> <sup>�</sup> ∂ ∂xn−p−q �1 + e <sup>xn+xn−p−q</sup> <sup>�</sup> ∂ ∂xn−p−q �1 + e <sup>xn+xn−p−q</sup> <sup>�</sup> A <sup>+</sup> p <sup>+</sup> p <sup>= DASdL</sup> A <sup>+</sup> q <sup>+</sup> q <sup>= DASdL</sup> ∂ ∂xn−p ∂ ∂xn−p where: e <sup>xn−p−q+xn−xn+p−xn+q−xn−q−xn−p</sup> (A.8) DASdL = (1 + e <sup>xn−p−q+xn</sup> ) (1 + e <sup>xn−p−q+xn</sup> - e <sup>−xn+p−xn+q−xn−q−xn−p</sup> ) Using these operators we have that the differential conditions on the Lagrangian (3.21) are given by: ∂ <sup>2</sup> ℓ (A.9a) = 0, m̸ = p, q, ∂xn−m ∂xn−p−q ∂ <sup>2</sup> ℓ ∂x <sup>2</sup> n−q �1 + e <sup>xn+xn−p−q</sup> <sup>�</sup> ∂ℓ ∂xn−q−p = 0, n−q−p ∂ <sup>2</sup> ℓ - e <sup>xn+xn−p−q</sup> ∂xn−q−p∂xn−p (A.9b) n−q−p m = p, ∂ <sup>2</sup> ℓ ∂x <sup>2</sup> n−q �1 + e <sup>xn+xn−p−q</sup> <sup>�</sup> ∂ℓ ∂xn−q−p = 0, n−q−p ∂ <sup>2</sup> ℓ - e <sup>xn+xn−p−q</sup> ∂xn−q−p∂xn−q (A.9c) n−q−p m = q. The Lagrangian obtained in [53] arises solving the system (A.9). This ends the proof of Lemma 4.1. ON THE INVERSE PROBLEM OF THE DISCRETE CALCULUS OF VARIATIONS 27 References [1] V. E. Adler and S. Ya. Startsev. Discrete analogues of the Liouville equation. Theor. Math. Phys., 121(2):1484–1495, 1999. [2] I. Anderson and G. Thompson. The inverse problem of the calculus of variations for ordinary differential equations, volume 98 of Memoirs of the American Mathematical Society. 1992. [3] V. I. Arnol’d. Lectures on Partial Differential Equations. Universitext. Springer-Verlag, Berlin, 2004. [4] M. Bruschi, O. Ragnisco, P. M. Santini, and G-Z. Tu. Integrable symplectic maps. Physica D, 49(3):273 - 294, 1991. [5] C. J. Budd and A. Iserles. Geometric integration: numerical solution of differential equations on manifolds. R. Soc. Lond. Philos. Trans. Ser. A, 357(1754):945–956, 1999. [6] C. J. Budd and M. D. Piggott. Geometric integration and its applications. In F. Cucker, editor, Handbook of Numerical Analysis, Vol. XI., pages 35–139. North-Holland, Amsterdam, 2003. [7] G. Caviglia. Helmholtz conditions, covariance, and invariance identities. Int. J. Theor. Phys., 24:377–390, 1985. [8] M. Crampin, W. Sarlet, E. Martínez, G. B. Byrnes, and G. E. Prince. Towards a geometrical understanding of Douglas’ solution of the inverse problem of the calculus of variations. Inverse Problems, 10:245–260, 1994. [9] C. Cresswell and N. Joshi. The discrete first, second and thirty-fourth Painlevé hierarchies. J. Phys. A: Math. Gen., 32:655–669, 1999. [10] B. Dacorogna. Introduction to the calculus of variations. Imperial College Press, London, 3rd edition, 2015. [11] G. Darboux. Leçons sur la théorie généle de surfaces, volume II. Hermann, Paris, 1915. [12] J. Douglas. Solution of the inverse problem of the calculus of variations. Trans. Amer. Math. Soc., 50:71–128, 1941. [13] M. E. Fels. The inverse problem of the calculus of variations for scalar fourth-order ordinary differential equations. Trans. Amer. Math. Soc., 348:5007–5029, 1996. [14] H. Flaschka and A. C. Newell. Monodromy- and spectrum-preserving deformations I. Com mun. Math. Phys., 76:65–116, 1980. [15] A. R. Forsyth. Calculus of variations. Dover Publications, Inc., New York, 1960. [16] R. N. Garifullin, E. V. Gudkova, and I. T. Habibullin. Method for searching higher symmetries for quad-graph equations. J. Phys. A: Math. Theor., 44:325202 (16pp), 2011. [17] R. N. Garifullin and R. I. Yamilov. Generalized symmetry classification of discrete equations of a class depending on twelve parameters. J. Phys. A: Math. Theor., 45:345205 (23pp), 2012. [18] R. N. Garifullin and R. I. Yamilov. Integrable discrete nonautonomous quad-equations as Bäcklund auto-transformations for known Volterra and Toda type semidiscrete equations. J. Phys.: Conf. Ser., 621:012005 (18pp), 2015. [19] I. M. Gelfand and S. V. Fomin. Calculus of variations. Prentice Hall, Englewood Cliffs, New Jersey, 1963. translated and edited by R. A. Silverman. [20] H. Goldstein, C. Poole, and J. Safko. Classical Mechanics. Pearson Education, 2002. [21] G. Gubbiotti, N. Joshi, D. T. Tran, and C-M. Viallet. Complexity and integrability in 4D bi-rational maps with two invariants, 2018. Preprint on arXiv:1808.04942 [nlin.SI]. [22] G. Gubbiotti, N. Joshi, D. T. Tran, and C-M. Viallet. Integrability properties of a class of 4D bi-rational maps with two invariants, 2019. In preparation. [23] G. Gubbiotti and R. I. Yamilov. Darboux integrability of trapezoidal H <sup>4</sup> and H <sup>6</sup> families of lattice equations I: First integrals. J. Phys. A: Math. Theor., 50:345205 (26pp), 2017. [24] H. Helmholtz. Über die physikalische bedutung des princips der kleinsten wirkung. J. Reine Angew. Math., 100:137–166, 1887. [25] M. Henneaux and L. C. Shepley. Lagrangians for spherically symmetric potentials. J. Math. Phys., 23(11):2101–2107, 1982. [26] P. E. Hydon and E. L. Mansfield. A variational complex for difference equations. Found. Comp. Math., 4:187–217, 2004. [27] C. G. J. Jacobi. Sul principio dell’ultimo moltiplicatore, e suo uso come nuovo principio generale di meccanica. Giornale Arcadico di Scienze, Lettere ed Arti, 99:129–146, 1844. [28] C. G. J. Jacobi. Theoria novi multiplicatoris systemati æquationum differentialium vulgarium applicandi. J. Reine Angew. Math., 29:213–279 and 333–376, 1845. 28 GIORGIO GUBBIOTTI [29] C. G. J. Jacobi. Über die Darstellung einer Reihe gegebner Werthe durch eine gebrochne rationale Function. J. für Reine Angewandte Math., 30:127–156, 1846. [30] C. G. J. Jacobi. Vorlesungen über Dynamik. Nebst fünf hinterlassenen Abhandlungen des selben herausgegeben von A. Clebsch. Druck und Verlag von Georg Reimer, Berlin, 1884. [31] N. Joshi and C-M. Viallet. Rational Maps with Invariant Surfaces. J. Int. Sys., 3:xyy017 (14pp), 2018. [32] J. Jost and X. Li-Jost. Calculus of variations, volume 64 of Cambridge Studies in Advanced Mathematics. Cambridge University Press, Cambridge, 1998. [33] M. Juráš. The inverse problem of the calculus of variations for sixth- and eighth-order scalar ordinary differential equations. Acta Appl. Math., 66:25–39, 2001. [34] S. G. Krantz and H. R. Parks. Geometric integration theory. Cornerstones. Birkhäuser, Boston, MA, 2008. [35] B. A. Kupershmidt. Discrete Lax equations and differential-difference calculus. Number 123 in Astérisque. Société mathématique de France, 1985. [36] L. D. Landau and E. M. Lifshitz. Mechanics. Course of Theoretical Physics. Elsevier Science, 1982. [37] D. Levi and M. A. Rodríguez. The Jacobi last multiplier for linear partial difference equations. J. Phys. A Math. Theor., 45(27):275205, 2012. [38] D. Levi and R. I. Yamilov. The generalized symmetry method for discrete equations. J. Phys. A: Math. Theor., 42:454012 (18pp), 2009. [39] D. Levi and R. I. Yamilov. Generalized symmetry integrability test for discrete equations on the square lattice. J. Phys. A: Math. Theor., 44:145207 (22pp), 2011. [40] J. D. Logan. First integrals in the discrete variational calculus. Aeq. Math., 9:210–220, 1973. [41] M. C. Nucci. Jacobi last multiplier and Lie symmetries: a novel application of an old rela tionship. J. Nonlinear Math. Phys., 12:284–304, 2005. [42] M. C. Nucci and A. M. Arthurs. On the inverse problem of calculus of variations for fourth order equations. Proc. R. Soc. A, page rspa20090618, 2010. [43] M. C. Nucci and P. G. L. Leach. Lagrangians galore. J. Math. Phys., 48:123510, 2007. [44] M. C. Nucci and P. G. L. Leach. Jacobi’s last multiplier and Lagrangians for multidimensional systems. J. Math. Phys., 49:073517, 2008. [45] M. C. Nucci and K. M. Tamizhmani. Lagrangians for dissipative nonlinear oscillators: the method of Jacobi Last Multiplier. J. Nonlinear Math. Phys., 17:167–178, 2010. [46] M. C. Nucci and K. M. Tamizhmani. Using an old method of Jacobi to derive Lagrangians: a nonlinear dynamical system with variable coefficients. Il Nuovo Cimento B, 125:255–269, 2010. [47] M. C. Nucci and K. M. Tamizhmani. Lagrangians for biological models. J. Nonlinear Math. Phys. 19, 2012. [48] P. J. Olver. Applications of Lie Groups to Differential Equations. Springer-Verlag, Berlin, 1986. [49] B. S. Madhava Rao. On the reduction of dynamical equations to the lagrangian form. Proc. Benaras Math. Soc.(NS), 2:53–59, 1940. [50] H. Sagan. Introduction to the calculus of variations. Dover Publications, Inc., New York, 1992. Corrected reprint of the 1969 original. [51] W. Sarlet, G. Thompson, and G. E. Prince. The inverse problem of the calculus of variations: the use of geometrical calculus in Douglas’s analysis. Trans. Amer. Math. Soc., 354(7):2897– 2919, 2002. [52] D. J. Saunders. Thirty years of the inverse problem in the calculus of variations. Rep. Math. Phys., 66:43–53, 2010. [53] D. T. Tran, P. H. van der Kamp, and G. R. W. Quispel. Poisson brackets of mappings obtained as (q, −p) reductions of lattice equations. Regular and Chaotic Dynamics, 21(6):682–696, 2016. [54] M. M. Vainberg. Variational methods for the study of nonlinear operators. Holden-Day, San Francisco, 1964. [55] A. P. Veselov. Integrable maps. Russ. Math. Surveys, 46:1–51, 1991. [56] R. Vitolo. Variational sequences. In D. Krupka and D. Saunders, editors, Handbook of Global Analysis. Elsevier, 2007. Lecture notes on the subject available at http://poincare.unisalento.it/vitolo/vitolo_files/publications/in-books/varseq.pdf. [57] V. Volterra. Leçons sur les fonctions de ligne. Gauthier–Villars, Paris, 1916. ON THE INVERSE PROBLEM OF THE DISCRETE CALCULUS OF VARIATIONS 29 [58] E. T. Whittaker. A Treatise on the Analytical Dynamics of Particles and Rigid Bodies. Cambridge University Press, Cambridge, 1999. School of Mathematics and Statistics F07, The University of Sydney, NSW 2006, Australia E-mail address: giorgio.gubbiotti@sydney.edu.au

섹션 본문

섹션 본문이 없습니다.

참고문헌

참고문헌 정보가 없습니다.