Singular Lagrangians and Its Corresponding Hamiltonian Structures Singular Lagrangians and Its Corresponding Hamiltonian Structures

We present a general procedure to obtain the Lagrangian and associated Hamiltonian structure for integrable systems of the Helmholtz type. We present the analysis for coupled Korteweg-de Vries systems that are extensions of the Korteweg-de Vries equation. Starting with the system of partial differential equations it is possible to follow the Helmholtz approach to construct one or more Lagrangians whose station- ary points coincide with the original system. All the Lagrangians are singular. Following the Dirac approach, we obtain all the constraints of the formulation and construct the Poisson bracket on the physical phase space via the Dirac bracket. We show compatibility of some of these Poisson structures. We obtain the Gardner ε -deforma- tion of these systems and construct a master Lagrangian which describe the coupled systems in the weak ε -limit and its modified version in the strong ε -limit.


Introduction
The Lagrangian mechanics has a wide range of applications from classical mechanics to quantum field theory. There are two main reasons to introduce a Lagrangian in order to describe a physical model. Its stationary points, defined in terms of functional derivatives, provide the classical equations of motion or classical field equations governing the evolution of the physical system while the action functional constructed from the Lagrangian provides the path integral approach to quantum mechanics and quantum field theories. In this chapter, we analyze several aspects of singular Lagrangians, which are relevant in various areas of physics. They are essential in the description of the fundamental forces in nature and in the analysis of integrable systems. In this chapter, we consider recent applications of singular Lagrangians in the area of completely integrable systems.
Besides the physical applications of coupled KdV systems at low energies [17][18][19], one of the Poisson structures of the KdV equation is related to the Virasoro algebra with central terms. The latest is a fundamental symmetry of string theory, a proposal for a consistent quantum gravity theory.
In this chapter, we discuss a general approach based on the Helmholtz procedure to obtain a Lagrangian formulation and the Hamiltonian structure, starting from the system of time evolution partial differential equations describing the coupled KdV systems. Once the Lagrangian, whose stationary points corresponds to the integrable equations, has been obtained we follow the Dirac approach to constrained systems [20] to obtain the complete set of constraints and the Hamiltonian structure of the system. We discuss the existence of more than one Poisson structures associated with the integrable systems. Some of them are compatible Poisson structures and define a pencil of Poisson structures. We also discuss duality relations among the integrable systems we consider. The extensions of the KdV equation include a parametric coupled KdV system [21,22], which we discuss in Section 3. In Section 8, we present a coupled KdV system arising from the breaking of a N ¼ 1 supersymmetric model [15]. In Section 11, we discuss an extension of the KdV equation where the fields are valued on the octonion algebra and the product in the equation is the product on the octonion algebra [23]. This system has a supersymmetric extension which may be directly related to a model of the D ¼ 11 supermembrane theory, a relevant sector of M−theory. The latest is a proposal of unification of all fundamental forces at very high energy.

The Dirac procedure for constrained systems
The Dirac approach for constrained systems [20] is a fundamental tool in the analysis of classical and quantum aspects of a physical theory. From a classical point of view, it provides a precise formulation of the initial valued problem for a time evolution system of partial differential equations. The initial data for the initial valued problem, given in terms of a constrained submanifold of a phase space, defines the physical phase space provided with the corresponding Poisson structure which gives rise to the canonical quantization of the system. In field theory, the starting point is a Lagrangian formulation. Its stationary points determine the classical field equations, generically a time evolution system of partial differential equations. From the Lagrangian density L, one defines the conjugate momenta p i ; i ¼ 1, …; N; associated with the original independent fields q i ; i ¼ 1, …; N; defining the Lagrangian: L is assumed to be a function of _ q i and a finite number of spatial derivatives.

If the Hessian matrix
is singular we cannot express, from the above equation defining the conjugate momenta, all the _ q i velocities in terms of the conjugate momenta.
The system presents then constraints on the phase space defined by the conjugate pairs The phase space is provided with a Poisson structure given by In general, it is a difficult task to disentangle all the constraints on the phase space associated with a given Lagrangian. The Dirac approach provides a systematic way to obtain all the constraints on phase space. Moreover, it determines the Lagrange multipliers associated with the constraints (eventually after a gauge fixing procedure) in a way that if the constraints are satisfied initially then the Hamilton equations ensure that they are satisfied at any time. In this sense, it provides a precise formulation of the initial value problem, the initial data is given by the set of ðq i ; p i Þ conjugate pairs satisfying the constraints on phase space. The Hamilton equations then provide the time evolution of the system. This constrained initial data, with its associated Poisson structure (also obtained from the Dirac construction) provides the fundamental structure to define the canonical quantization of the original Lagrangian.
From the equation defining momenta one obtains, in the case of singular Lagrangian, a set of constraints φ M ðq; pÞ ¼ 0, where the argument is a shorthand notation for p; q and their derivatives with respect to the spatial coordinates x a ; a ¼ 1, …; k: Also, by performing a Legendre transformation one gets a Hamiltonian the Hamilton density is given by where L is the Lagrangian density. Then, we obtain a new Hamiltonian H ¼ The conservation of the constraints, which have to be satisfied at any time, yields {φ M ; H} ¼ 0 may (i) be identically satisfied on the constrained surface φ m ¼ 0, (ii) determine Lagrange multipliers, or (iii) give new constraints.
In Case (i) or (ii), the procedure ends; in Case (iii), the iteration follows exactly in the same way. At some step, the procedure ends, assuming that there is a finite of physical degrees of freedom describing the dynamics of the original Lagrangian. In the procedure, a set of Lagrange multipliers may be determined and others may not. The constraints associated with the ones that have been determined are called second class constraints, the other constraints for which the Lagrange multipliers are not determined are related to first class constraints. The first class constraints are the generators of a gauge symmetry on the time evolution system of partial differential equations. A difficult situation may occur in field theory when there is a combination of first and second class constraints. In order to separate them, one may have to invert some matrix involving fields of the formulation which may render dangerous nonlocalities in the final formulation.
All physical theories of the known fundamental forces in nature are formulated in terms of Lagrangians with gauge symmetries. All of them have first class constraints in their canonical formulation. In addition, they may also have second class constraints. In the analysis of field theories which are completely integrable systems like the ones we will discuss in this chapter only second class constraint appear. In this case, there are short cut procedures to simplify the Dirac procedure. However, the richness of the Dirac approach is that from its formulation one can extrapolate gauge systems which under a gauge fixing procedure reduce to the given system with second class constraints only. This is one of the main motivations of this chapter, to establish the Lagrangian and Hamiltonian structure for coupled KdV systems, which may allow the construction of gauge systems which are completely integrable.
In the case in which the constrained system has second class constraints, Dirac introduced the Poisson structure on the constrained submanifold in phase space. It determines the "physical" phase space with its Poisson bracket structure given by the Dirac bracket. They are defined in terms of the original Poisson bracket {, } on the full phase space by: where {φ M ; φ N } −1 is the inverse of the matrix {φ M ; φ N } which, in the case where φ M ¼ 0 are second class constraints, is always of full rank.
The difficulty in field theory occurs when the matrix {φ M ; φ N } depends on the fields describing the theory and its inverse may lead to nonlocalities in the formulation. In our applications, those difficulties will not be present.
The Dirac bracket of a second class constraint with any other observable is zero. Consequently, the time conservation of the second class constraints is assured by the construction. For the same reason, there is no ambiguity on which Hamiltonian is used in determining the time evolution of observables.

A parametric coupled KdV system
A very interesting and well-known integrable system is the Korteweg-de Vries (KdV) equation. It arises from a variational principle of a singular Lagrangian. In what follows, we consider an extension of it. A coupled KdV system formulated in terms of two real differentiable functions uðx; tÞ and vðx; tÞ given by the following partial differential equations [21]: where λ is a real parameter.
When discussing conserved quantities, we will assume that u and v belong to the real Schwartz space defined by When λ ¼ þ1 the system is equivalent to two decoupled KdV equations. When λ ¼ −1 the system is equivalent to a KdV equation valued on the complex algebra. By a redefinition of v given by v ! v ffiffiffiffi jλj p the system for λ > 0 reduces to the λ ¼ þ1 case and the system for λ < 0 reduces to the λ ¼ −1 case. The case λ ¼ 0 is an independent integrable system.
It is a very interesting evolution system. It is known to have solutions developing singularities on a finite time [24]. Also, a class of solitonic solutions was reported in [25] through the Hirota approach [26] and in [27] via a Bäcklund transformation in the sense of Wahlquist and Estabrook (WE) [28].
The system (6) and (7) for λ ¼ 0 correspond to the ninth Hirota-Satsuma [6] coupled KdV system given in Ref. [29] (for the particular value of k ¼ 0) (see also [30]) and is also included in the interesting study that relates integrable hierarchies with polynomial Lie algebras [31].

The Lagrangian associated with the parametric coupled KdV system
In this section, we obtain the Lagrangian and associated Hamiltonian structure of the coupled KdV system. We present the main results in Ref. [22].
The Lagrangian construction requires the introduction of the Casimir potentials w and y given by The system (6) and (7) rewritten in terms of w and y is given by We notice that the matrix constructed from the Frechet derivatives of F and G, with respect to w and y, is self-adjoint. We then conclude from the Helmholtz procedure that where λ ≠ 0, and for every real value of λ, are two Lagrangian densities which give rise, from a variational principle to Eqs. (6) and (7).
The Lagrangians associated with L i ; i ¼ 1; 2 are given by L i ðw; yÞ ¼ Independent variations of L i , for each i, with respect to w and y give rise to the field equations which coincide, for each i, with Eqs. (6) and (7). In the above equations δ w and δ y denote the Gateaux functional variation defined by Lðw þ eδw; yÞ−Lðw; yÞ e δ y Lðw; yÞ ¼ lim Lðw; y þ eδyÞ−Lðw; yÞ e : The explicit expressions for L 1 and L 2 are given by The Lagrangians L i ; i ¼ 1; 2, are singular Lagrangians, we thus expect a constrained Hamiltonian formulation associated with them. The same happens for the corresponding KdV Lagrangian that can be obtained from L 1 by imposing λ ¼ 0.
We consider first the Lagrangian L 1 . The conjugate momenta associated with w and y, which we denote by p and q, respectively, are given by We define Hence, φ 1 ¼ φ 2 ¼ 0 are constraints on the phase space. We then follow the Dirac procedure to determine the whole set of constraints. It turns out that these are the only constraints on the phase space.
The Hamiltonian density may be obtained directly from L 1 by performing a Legendre transformation, The Hamiltonian density is then given by 20) and the Hamiltonian by We introduce a Poisson structure on the phase space by defining with all other brackets between these variables being zero.
From them we obtain It turns out that φ 1 ; φ 2 are second class constraints. In fact, In order to define the Poisson structure on the constrained phase space, we need to use the Dirac brackets.
The Dirac bracket between two functionals F and G on phase space is defined by where <> x ′ denotes integration on x ′ from −∞ to þ∞. The indices i; j ¼ 1; 2 and the C ij ðx ′ ; x ″ Þ are the components of the inverse of the matrix whose components are This matrix becomes and its inverse is given by It turns out, after some calculations, that the Dirac brackets of the original variables are We remind that this Poisson structure has been constructed assuming λ ≠ 0.
From them, we obtain the Hamilton equations, which of course are the same as Eqs. (6) and (7): We notice that adding any function of the constraints to H 1 does not change the result, since the Dirac bracket of the constraints with any other local function of the phase space variables is zero.
Using the above bracket relations for u and v, we may obtain directly the Dirac bracket of any two functionals Fðu; vÞ and Gðu; vÞ. We notice that the observables F and G may be functionals of w; y; p, and q, not only of u and v. In this sense, the phase space approach for singular Lagrangians provides the most general space of observables.
We now consider the action L 2 and its associated Hamiltonian structure. In this case, we denote the conjugate momenta to w and y byp andq, respectively. We havê In this case, the constraints become The corresponding Poisson brackets are given by From them, we can construct the Dirac brackets after which some calculations yield the Poisson structure for the original variables The Hamiltonian dx H 2 is given in terms of the Hamiltonian density The Hamilton equations follow then in terms of the Dirac brackets, they are which coincide with the field Eqs. (6) and (7) for any value of λ. We have thus constructed two Hamiltonian functionals and associated Poisson bracket structures. These two Hamiltonian structures arise directly from the basic actions L 1 and L 2 . In Section 6, we will construct two additional Hamiltonian structures by considering a Miura transformation for the coupled system.

A pencil of Poisson structures for the parametric coupled KdV system
We have then constructed two Lagrangian densities L i ; i ¼ 1; 2; we may now introduce a real parameter k and define a parametric Lagrangian density The field equations obtained from the corresponding Lagrangian L k ¼ dxL k are equivalent to Eqs. (6) and (7) in the following cases: If λ < 0 for any k.
From now on, we will exclude these particular values of k.
The parametric Lagrangian L k is singular for any value of k (excluding the above mentioned particular cases). The corresponding phase space formulation contains constraints, which are determined by the use of the Dirac procedure. We denote p and q the conjugate momenta associated with w and y, respectively. From their definition, we obtain the primary constraints.
We may then define the Hamiltonian density H k through the Legendre transformation, we get We now follow the Dirac algorithm to determine the complete set of constraints. It turns out that these are the only constraints in the formulation.
The Poisson brackets of the constraints obtained from the canonical Poisson brackets of the conjugate pairs are Hence, they are second class constraints. We will denote by fg k DB the Dirac bracket corresponding to the parameter k. We then proceed to calculate the Dirac brackets of the original fields u and v.
We obtain where the denominator is different from zero for the values of k we are considering. The above brackets define the Poisson structure of the corresponding Hamiltonian The Hamilton equations coincide, as expected, with the coupled Eqs. (6) and (7).
In Section 3, we constructed two Poisson structures for the coupled system (6) and (7). We now show they are compatible. It follows, for any two functionals F and G that where fF; Gg 1 DB , corresponding to k ¼ 1, and fF; Gg 0 DB , corresponding to k ¼ 0, are the two Dirac brackets structures obtained in Section 3. In particular, for any λ≠0; 1 and k ¼ 1 1−λ , we get which implies that any linear combination of fF; Gg 1 DB and fF; Gg 0 DB , for any λ≠0; 1, is a Poisson bracket. That is, the two Poisson structures obtained in Ref. [22], corresponding to k ¼ 1 and k ¼ 0, are compatible.
For the particular value of λ ¼ 0, and any k≠1 we obtain For k ¼ 2 5 the two coefficients on the right-hand member of Eq. (45) are equal. It implies that the Poisson structures for k ¼ 1 2 and k ¼ 0 are compatible.
We have thus constructed a pencil of Poisson structures, except for λ ¼ 1, for which the coupled system reduces to two decoupled KdV equations.

The Miura transformation for the parametric coupled KdV system
It is well known that the KdV equation admits two Hamiltonian structures, one of them is a particular case of our previous construction. It is obtained by considering only the uðx; tÞ field, imposing vðx; tÞ ¼ 0: In this case, the two previous Hamiltonians structures reduce to only one and there is no pencil of Poisson structures. The second Hamiltonian structure for the KdV equation arises from a Miura transformation, which is also a particular case of the following construction. The corresponding Miura transformation for our coupled system becomes and the modified KdV system (MKdVS) It is interesting that from Eq. (47), following the Helmholtz procedure, which is also valid for the MKdVS system, we obtain two singular Lagrangians densities L M i ; i ¼ 1; 2, expressed in terms of the Casimir potentials σ; ρ where μ ¼ σ x ; ν ¼ ρ x : Eq. (48) being valid only for λ≠0.
Each of them has a Poisson structure that follows from the Dirac approach. The Dirac brackets, for the original fields u; v in the coupled system (6) and (7) are given by which is the Poisson structure associated with L M 1 and the Poisson structure associated with L M 2 .
The corresponding Hamiltonian densities H M 1 and H M 2 are given in terms of the fields u and v by The Hamilton equations obtained from these Hamiltonian structures coincide, of course, with Eqs. (6) and (7).
From these two Poisson structures, we may construct a pencil of Poisson structures as we described in the previous section, see Ref. [22] for the details of the construction. We notice that L M 1 and L M 2 in the construction are of the same dimension. It is then not possible to construct a hierarchy of higher order Hamiltonians from them. The same occurs with L 1 and L 2 . However, the two pencils are of different dimensions and we may obtain from them a hierarchy of higher order Hamiltonians which extends the hierarchy of the KdV equation.

A duality relation among the Lagrangians of the parametric coupled KdV system
We consider a generalization of the Gardner construction for the KdV equation. The Gardner transformation for the system (6) and (7) is given by where ε is a real parameter and rðx; tÞ, sðx; tÞ are the fields which describe the Gardner ε-deformation. The Gardner equations are  (54), one obtains an infinite sequence of conserved quantities for the system (6), (7). It is an integrable system in this sense.
We now construct using the Helmholtz approach a master Lagrangian for the Gardner equations. The master Lagrangians, there are two of them, are ε dependent and following the above limits we obtain all the Lagrangian structures we discussed previously. The KdV coupled system and the modified KdV coupled system are then dual constructions corresponding to the weak coupling limit ε ! 0 and to the strong coupling limit ε ! ∞ respectively, of the master construction. A direct relation of these two systems arises from the present construction.
We introduce the Casimir potentials and using the Helmholtz approach we obtain the Lagrangian densities (64) If we take the weak coupling limit ε ! 0 we obtain lim ε!0 where L 1 and L 2 were defined in Section 3.
If we redefine and take the strong coupling limit ε ! ∞, we get where L M 1 and L M 2 were defined in Section 5. Consequently, all the Lagrangian structure and the associated Hamiltonian structure of the coupled system (6), (7) arises from the master Lagrangians. They can also be combined to a unique master Lagrangian depending on a parameter k as was done in Section 4. The field equations of the master Lagrangians are the Gardner equations, the spatial integral of rðx; tÞ and sðx; tÞ define an ε-deformed conserved quantity of the Gardner equations which implies an infinite sequence of conserved quantities of the original coupled KdV system (6), (7).

Hamiltonian structure for a KdV system valued on a Clifford algebra
In this section, we continue the discussion of the Lagrangian and Hamiltonian structures for the coupled KdV systems. We discuss a coupled system arising from the breaking of the supersymmetry on the N ¼ 1 supersymmetric KdV equation. The details of this system may be found in Ref. [15]. The system is formulated in terms of a real valued field uðx; tÞ and a Clifford algebra valued field ξðx; tÞ. The field ξðx; tÞ is expressed in terms of an odd number of generators e i ; i ¼ 1, … of the Clifford algebra where e i e j þ e j e i ¼ −2δ ij , and ϕ i ; ϕ ijk ; … are real valued fields. We define by ξ the conjugate of ξ, where e i ¼ −e i . We denote by PðξξÞ the projector of the product ξξ to the identity element of the algebra We proposed in Ref. [15] the following coupled KdV system arising from the breaking of the supersymmetry in the N ¼ 1 supersymmetric equation [9]: In distinction to the N ¼ 1 supersymmetric KdV equation the coupled system (73) has only a finite number of local conserved quantities, It is interesting to remark that the following nonlocal conserved charge of Super KdV [32] is also a nonlocal conserved charge for the system (73), in terms of the Clifford algebra valued field ξ, However, the nonlocal conserved charges of Super KdV in Ref. [33] are not conserved by the system (73). For example, is not conserved by Eq. (73).
The system (73) has multisolitonic solutions. In Ref. [34], we showed that the soliton solution is Liapunov stable under perturbation of the initial data.

The Lagrangian and Hamiltonian structure of the Clifford valued system
We introduce the Casimir potentials w and η defined by We notice, as in the previous sections, that Eq. (73) may be expressed as stationary points of a singular Lagrangian constructed following the Helmholtz approach. We denote The Lagrangian becomes L ¼ dxL in terms of the Lagrangian density L given by From the Lagrangian L, we may construct its Hamiltonian structure using the Legendre transformation. We denote ðp; σÞ the conjugate momenta to ðw; ηÞ: Eq. (80) describes constraints on the phase space.
Performing the Legendre transformation we obtain the Hamiltonian of the system Following the Dirac approach, the conservation of the primary constraints (80) determines the Lagrange multipliers associated with the constraints (80). There are no more constraints on the phase space. It turns out that both constraints are second class ones. The Poisson structure of the constrained Hamiltonian is then determined by the Dirac brackets, see Ref. [15] for the details. We identify by an index i the independent components of a field η or σ valued on the Clifford algebra. We may rewrite the constraints as Introducing v I :¼ ðv; v i Þ, we then have The Poisson structure of the constrained Hamiltonian is then determined by the Dirac brackets [20]. For any two functionals on the phase space F and G, the Dirac bracket is defined as where We then have fuðxÞ, ϕ i ðyÞg DB ¼ 0: Consequently, where H is given by the last conserved quantity in Eq. (74) and can be directly expressed in terms of u and ξ.

Positiveness of the Hamiltonian for the Clifford valued system
An interesting property of the Hamiltonian H of the Clifford coupled system (73) is its a priori positiveness. In fact,Ĥ where the Sobolev norm ∥∥ H1 is defined by We also noticed thatĤ where ∥∥ L 2 is the L 2 norm.
We then haveĤ Hence, for a normalized state satisfying ∥ðu; ξÞ∥ L 2 ¼ 1, we havê The Hamiltonian is then manifestly bounded from below in the space of normalized L 2 configurations and it is thus physically admissible.
The property of the Hamiltonian is relevant from the physical point of view. In particular, in showing that the soliton solution of the Clifford coupled system is Liapunov stable. The stability analysis follows ideas introduced in Ref. [35] for the KdV equation. It is based on the use of the conserved quantities of the system. It is interesting that only the first few of them, in the case of the KdV equation, are needed. In the case of the Clifford coupled system these are all the local conserved quantities of the system.

The KdV equation valued on the octonion algebra
A famous theorem by Hurwitz establishes that the only real normalized division algebras are the reals R, the complex C, the quaternions ℍ, and the octonions O. In particular, these division algebras are directly related to the existence of super Yang-Mills in several dimensions: 3, 4, 6, and 10 dimensions [36]. The octonion algebra may be explicitly used in the formulation of superstring theory in 10 dimensions and in the supermembrane theory in 11 dimensions, relevant theories in the search for a unified theory of all the known fundamental forces in nature.
The extension of the KdV equation to a partial differential equation for a field valued on a octonion algebra is then an interesting goal [23].
We showed in the previous sections that an extension of the KdV equation to the field valued on a Clifford algebra give rise to a coupled system with Liapunov stable soliton solution but without an infinite sequence of local conserved quantities.
In the present section, we analyze the KdV extension where the field is valued on the octonion algebra. The system shares several properties of the original real KdV equation. It has soliton solutions and also has an infinite sequence of local conserved quantities derived from a Bäcklund transformation and a bi-Lagrangian and bi-Hamiltonian structure [23]. We will show in this section the construction of the bi-Lagrangian structure.
The octonion algebra contains as subalgebras all other division algebras, hence our construction may be reduced to any of them.
The KdV equation on the octonion algebra can be seen as a coupled KdV system, as we will see it has some similarities to the construction in the previous sections. However, it is invariant under the exceptional Lie group G 2 , the automorphisms of the octonions, and under the Galileo transformations. Those symmetries are not present in the model constructed on a Clifford algebra.
We denote u ¼ uðx; tÞ a function with domain in R · R valued on the octonionic algebra. If we denote e i ; i ¼ 1, …; 7 the imaginary basis of the octonions, u can be expressed as where bðx; tÞ is the real part and B ! ¼ ∑ 7 i¼1 B i ðx; tÞe i its imaginary part.
The KdV equation formulated on the algebra of octonions, or simply the octonion KdV equation, is given by Eq. (98) is invariant under the Galileo transformation given bỹ where c is a real constant.

The Gardner formulation for the octonion valued algebra KdV equation
Associated with the real KdV equation, there is a Gardner ε-transformation and a Gardner equation which allows to obtain in a direct way the corresponding infinite sequence of conserved quantities. There exists a generalization of this approach for the KdV valued on the octonion algebra. The generalized Gardner transformation, expressed in terms of a new field rðx; tÞ valued on the octonion is given by The generalized Gardner equation is then where ε is a real parameter.
If rðx; tÞ is a solution of the generalized Gardner equation (106)

The master Lagrangian for the KdV equation valued on the octonion algebra
We may now use the Helmholtz procedure to obtain a Lagrangian density for the generalized Gardner equation. The master Lagrangian formulated in terms of the Casimir potential sðx; tÞ, is where the Lagrangian density is given by The Lagrangian density L ε ðsÞ is invariant under the action of the exceptional Lie group G 2 .
Independent variations with respect to s yields Using properties of the octonion algebra we obtain from the stationary requirement δL ε ðsÞ ¼ 0 the generalized Gardner equation (106).
In the calculation the property to be a division algebra of the octonions is explicitly used.
If we take the limit e ! 0, we obtain a first Lagrangian for the KdV equation valued on the octonion algebra, Independent variations with respect to w yields, using u ¼ w x , the octonionic KdV equation (98). If we consider the following redefinition s !ŝ ¼ εs L ε ðsÞ ! ε 2 L ε ðŝÞ (112) and take the limit e ! ∞ we obtain lim e!∞ e 2 L e ðŝÞ ¼ L M ðŝÞ, where We get in this limit the generalized Miura Lagrangian The Miura equation is then obtained by taking variations with respect toŝ, we get r t þr xxx − 1 18 while the Miura transformation arises after the redefinition process, it is u ¼r x − 1 6r 2 : Any solution of the Miura equation, through the Miura transformation, yields a solution of the KdV equation valued on the octonion algebra. Since L ε ðsÞ is invariant under G 2 , the same occurs for LðwÞ and L M ðŝÞ, and consequently for the equations arising from variations of them.
The Lagrangian formulation of the octonionic KdV equation may be used as the starting step to obtain the Hamiltonian structure of the octonion algebra valued KdV equation.

Conclusions
We analyzed the relevance of the Dirac approach for constraint systems applied to singular Lagrangians. Several interesting theories are described by singular Lagrangians, notoriously the gauge theories describing the known fundamental forces in nature. In this chapter, we emphasized its relevance in the formulation of completely integrable field theories. We discussed extensions of the Korteweg-de Vries equation in different contexts. All these extensions, together with the KdV equation, allow a construction of a Lagrangian and a Hamiltonian structure arising from the application of the Helmholtz procedure. That is, starting with a time evolution partial differential system we construct, following the Helmholtz procedure, a Lagrangian associated with it. We present the construction of several Lagrangians and their corresponding Hamiltonian structures associated with the coupled KdV systems. All of them are characterized by second class constraints. The physical phase space is obtained by the determination of the complete set of constraints and the corresponding Dirac brackets. We established the relation between the several constructions by obtaining a pencil of Poisson structures. The application includes systems with an infinite sequence of conserved quantities together with a system with finite number of conserved quantities but presenting soliton solutions with nice stability properties. The final application is an extension of the KdV equation to the case in which the fields are valued on the octonion algebra. We constructed a master formulation from which two dual Lagrangian formulations are obtained , one corresponding to the KdV valued on the octonions and the other one corresponding to the extension of the modified KdV equation to fields valued on the octonions.
One important extrapolation of the analysis we have presented is the construction of gauge theories describing completely integrable systems. In fact, it is natural to extend the analysis by constructing a gauge theory which under a gauge fixing procedure reduces to the completely integrable systems of the KdV type we have discussed.