#### Abstract

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 Mathews-Lakshmanan 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 three-dimensional 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 M-L oscillator is a special case of the two-dimensional M-L oscillator.

#### 1. 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–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–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 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–26]. Second, the vector of position is introduced from the rectangular coordinates of and , 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 two-dimensional 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.

#### 2. Construction of the Lagrange Function of the Two-Dimensional M-L Oscillator

##### 2.1. Integral of the Two-Dimensional M-L Oscillator

In 1974, Mathews and Lakshmanan introduced a one-dimensional M-L vibrator:

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: , 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 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 corresponded to the kinetic energy of the mass point and the latter one corresponded to the potential energy. Integral can be rewritten as

##### 2.2. 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 . The Lagrange equation can be expressed in the following form:

The undetermined factors , , and should satisfy the following equations:

##### 2.3. Lagrange Equation of the Two-Dimensional M-L Oscillator

The Lagrange function of the two-dimensional M-L oscillator (2) is constructed by using the above method. and can be set as and ; then, the corresponding generalized force gained from Equation (2) is as follows:

Select the energy integral 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:

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 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

#### 3. 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 and 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

#### 4. The Three-Dimensional Extension of the M-L Oscillator

The vector of position is introduced from the rectangular coordinates of and , 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 or 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 three-dimensional 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 is perpendicular to the plane of motion. After introducing of the three-dimensional position vector, the angular momentum 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 perpendicular to the constant vector, passing through the origin. If the -axis is parallel to , the oscillator must move in the -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.

#### 5. 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 , the two-dimensional M-L oscillator will degenerate to the M-L oscillator represented by Equation (1); if , the differential quotient of time can be transformed into that of the space coordinate by using the integral of Equation (14):

An orbital differential equation of a two-dimensional M-L oscillator can be derived by substituting the energy-type integral (15).

By integrating this equation, the orbit equation of the oscillator () can be obtained, and then, 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 two-dimensional 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.

#### 6. 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 one-dimensional and three-dimensional M-L oscillator is discussed. By studying the analytical mechanics of the two-dimensional 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.”

#### Conflicts of Interest

The authors declare no conflict of interest.

#### Acknowledgments

The authors gratefully acknowledge the financial support by Natural Science Research Project of Anhui Education Department (PX-271191861) and School Enterprise Cooperation Practical Education Base of Anhui Education Department (2017sjjd050).