The Lagrangian and Hamiltonian for the Two-Dimensional Mathews-Lakshmanan Oscillator

The purpose of this paper is to illustrate the theory and methods of analytical mechanics that can be effectively applied to the research of some nonlinear nonconservative systems through the case study of two-dimensionally coupled MathewsLakshmanan oscillator (abbreviated as M-L oscillator). (1) According to the inverse problem method of Lagrangian mechanics, the Lagrangian and Hamiltonian function in the form of rectangular coordinates of the two-dimensional M-L oscillator is directly constructed from an integral of the two-dimensional M-L oscillators. (2) The Lagrange and Hamiltonian function in the form of polar coordinate was rewritten by using coordinate transformation. (3) By introducing the vector form variables, the two-dimensional M-L oscillator motion differential equation, the first integral, and the Lagrange function are written. Therefore, the two-dimensional M-L oscillator is directly extended to the three-dimensional case, and it is proved that the threedimensional M-L oscillator can be reduced to the two-dimensional case. (4) The two direct integration methods were provided to solve the two-dimensional M-L oscillator by using polar coordinate Lagrangian and pointed out that the one-dimensional ML oscillator is a special case of the two-dimensional M-L oscillator.


Introduction
Nonlinear systems are not only the traditional research fields of mechanical physics and engineering science but also the research fields of other natural science and many social science [1,2]. Since the middle of the last century, many researchers have been conducting research about it; they use nonlinear differential equations to simulate nonlinear dynamic system and use a variety of methods such as theory of inverse problem of variational method and conservative quantity theory to solve these equations [3][4][5][6][7][8]. As a result, the analytical mechanics theory and method in solving nonlinear differential equation have been widely used, and significant research results are achieved [9][10][11][12][13][14][15][16][17][18][19][20].
Some theoretical studies of nonlinear dynamic systems require the derivation of Lagrange functions and Hamiltonian functions corresponding to these equations and even require accurate analytical solutions. For example, in 1974, Mathews and Lakshmanan obtained a M-L oscillator subsystem by deformation of the linear conservative oscillator subsystem, which is a nonlinear nonconservative oscillator subsystem, but has a strictly controlled periodic solution [21,22]. Li and Ding constructed the Lagrange function of L = _ x 2 /2ð1 + λx 2 Þ + ω 0 2 /2λð1 + λx 2 Þ in four ways [23]. This article will systematically use analytical mechanics theory and methods to study two-dimensional M-L oscillators. First, after obtaining two integrals with clear physical meanings of the oscillator equation, a two-dimensional M-L oscillator Lagrangian function and Hamiltonian function are constructed directly from an integral according to the theory and method of Lagrangian mechanics inverse problems. And the Lagrange function and Hamiltonian function in the form of plane polar coordinates are derived by using variable transformation [24][25][26]. Second, the vector of position is introduced from the rectangular coordinates of x and y, and the two-dimensional M-L oscillator equation and the derived grange function were written in vector form and vector variable form, respectively, thereby generalizing the twodimensional M-L oscillator to three-dimensional happening. Finally, several issues were discussed, such as the use of Lagrange functions in polar form, two methods are used to directly integrate the two-dimensional oscillator, and the Hamiltonian function can be used to further discuss the quantization of the oscillator. In this paper, by studying the analytical mechanics of the two-dimensional M-L oscillator, it is demonstrated that the methodology of analytical mechanics is of unique value in the study of some nonlinear nonconservative systems. Of which the construction of nonlinear nonconservative systems of Lagrange function and Hamiltonian function is important links.
The one-dimensional M-L oscillator (1) is a nonlinear nonconservative system, but it has a strictly controlled periodic solution [21,22]. In literature [23], its Lagrange function is constructed in four ways: L = _ x 2 /2ð1 + λx 2 Þ + ω 0 2 /2λð1 + λx 2 Þ, extended to two-dimensional M-L oscillator: Equation (2) is completely integrable [24,26], and the following two integrals can be derived directly from the calculation: Integral J indicates the conservation of angular momentum, and Equation (4) is the integral of energy type. If Equation (2) is interpreted as a nonlinear and nonconservative coupled vibration of a unit mass point, the former item of integral E corresponded to the kinetic energy of the mass point and the latter one corresponded to the potential energy. Integral E can be rewritten as

A Method to Construct Lagrange Equation Directly from the First Integral.
According to the Lagrange mechanics, the differential equation of the system can be derived if the Lagrange equation of the system is known. The inverse problem of the Lagrange mechanics is the differential equation of the system that is known, and it is used to test whether this equation can be written into the form of the Lagrange equation and how to write it in such way [13,14]. Apparently, the key of the inverse problem is whether the corresponding Lagrange equation can be constructed. Among the given methods of constructing Lagrange equations, many methods are related to the first integral of the equation, and one of the direct methods is as follows [15]. If we set the differential equation of the system motion as the integral satisfies the condition of det The Lagrange equation can be expressed in the following form: The undetermined factors A, B a , and B 0 should satisfy the following equations:  (2) is constructed by using the above method.
x and y can be set as q 1 and q 2 ; then, the corresponding generalized force gained from Equation (2) is as follows: Select the energy integral E in Equation (4) as the motion integral I in Equation (7) and put it into Equation (8); the following solutions can therefore be obtained by direct calculation: 2 Advances in Mathematical Physics Substituting this into Equation (7), a Lagrange equation of the two-dimensional M-L oscillator can be obtained: which can be rewritten into When the plane polar coordinates of r and θ are introduced, the transformed equation is In the form of plane polar coordinates, kinematic integrals are expressed as In Equations (11) and (12), the Lagrange equations are written as

The Hamiltonian Equation of the Three-Dimensional M-L Oscillator
According to the Lagrange 3quation (11), the respective conjugated canonical momentums derived from the coordinates x and y are The inverse solution are The Hamiltonian equation of the two-dimensional M-L oscillator is obtained by means of Legendre transformation: or rewritten as Similarly, the generalized momentum and Hamilton equation corresponding to plane polar coordinates can be derived as

The Three-Dimensional Extension of the M-L Oscillator
The vector of position is introduced from the rectangular coordinates of x and y, the two-dimensional M-L oscillator equation and the derived grange function were written in vector form and vector variable form, respectively. From this, the two-dimensional vector is extended to three-dimensional vector, so that the two-dimensional M-L oscillator is extended to three-dimensional. The position vector is hence introduced as The differential equation (2) can be written in vector form as Correspondingly, the first integrals Equations (3), (4), and (5) are written, respectively, as In the form of vector variable, the Lagrange equation (11) is written as If the M-L oscillator is extended to the three-dimensional case, the two-dimensional plane potential vector of Equation (24) can be directly extended to the three-dimensional one.
Therefore, Equations (25), (26), (27), (28), (29), and (30) are directly extended to three-dimensional cases without being rewritten. However, there will be changes when they are written in rectangular coordinate forms. For example, the component forms of Equation (25) will be written in rectangular coordinate forms: Correspondingly, there are three component conservation formulas for the angular momentum integral (27), and the energy integrals (28) and (29) should also be rewritten.

Hence, the Lagrange equation (30) is written as
It should be noted that the extension of the threedimensional case of the M-L oscillator has no special significance. According to the previous discussion, the expression (29) of the angular momentum conservation in vector form has gone beyond the two-dimensional space and J * is perpendicular to the plane of motion. After introducing of the threedimensional position vector, the angular momentum J * is still conserved and its direction remains unchanged in space. In the following formula it shows that the three-dimensional M-L oscillator moves in the plane J * perpendicular to the constant vector, passing through the origin. If the z-axis is parallel to J * , the oscillator must move in the xy-plane, that is, In such a coordinate system, Equation (33) degenerates to Equation (2), and Lagrange equation (34) is reduced to Equation (11). In other words, the extended three-dimensional M-L oscillator is reduced to a two-dimensional one. The following section will point out that the one-dimensional M-L oscillator (1) is a special case of the two-dimensional one.

Discussion
After Obtaining the Lagrange function in polar form, the two-dimensional M-L oscillator can be solved directly by two methods: Approach 1. The Lagrangian function of the radial motion of the oscillator can be derived by using Equations (14) and (17).
Now the motion of the two-dimensional M-L oscillator has been reduced to the problem of one-dimensional radial motion, which can be directly integrated.
Approach 2. As can be seen from Equation (28), if J = 0, the two-dimensional M-L oscillator will degenerate to the M-L oscillator represented by Equation (1); if J ≠ 0, the differential quotient of time t can be transformed into that of the space coordinate by using the integral of Equation (14): By integrating this equation, the orbit equation of the oscillator (r = rðθÞ) can be obtained, and then, θ = θðtÞ is hence obtained when plugging in integral (14) of the angular momentum.
In the study of modern physics, for example, it may involve the quantization of some nonconservative nonlinear systems when dealing with some mesoscopic physical systems. At this time, it is often necessary to derive the Hamiltonian function of the system. The Hamiltonian function of the twodimensional M-L oscillator derived in this paper can be directly solved by Hamiltonian mechanics methods, such as Hamilton-Jacobi theory; on the other hand, it also lays the foundation for further discussion of the quantization of this system.

Conclusions
There are many ways to study nonlinear and nonconservative systems, but analytical mechanics theories and methods have an important value in such research. In some studies, e.g., discussing the quantization problem, it is necessary to first mechanize the system analysis; that is to say, the Lagrange and Hamiltonian functions of the system need to be derived first. In this paper, according to the Lagrange mechanics inverse problem theory and method, the Lagrange function and Hamiltonian function of the oscillator can be constructed directly from the energy form integral of the two-dimensional M-L oscillator, which can be used to realize the analytical mechanics of the nonlinear and nonconservative system. The two-dimensional M-L vibrator is solved by using traditional analytical mechanics methods such as coordinate transformation and motion integration reduction order separation variables. At the same time, the relationship between the two-dimensional M-L oscillator and the onedimensional and three-dimensional M-L oscillator is discussed. By studying the analytical mechanics of the twodimensional M-L oscillator, it is shown that the methodology of analytical mechanics is of vital value in the study of some nonlinear nonconservative systems. The key lies in the analysis and mechanization of nonlinear differential equations of motion, meaning that the Lagrange function and Hamilton function of nonlinear equations can be derived by using analytical mechanics inverse problem methodology.

Data Availability
No data were used to support this study of "The Lagrangian and Hamiltonian for the Two-dimensional Mathews-Lakshmanan Oscillator."