If we define the Hamiltonian function
and transformed Hamiltonian function
such that
then the coordinate transformation
, such that
and
, is the so-called canonical transformation [
9]. However, in our example, we use the exterior product to verify whether the transformations are canonical or not by using its properties [
10,
11]. In detail, if
denotes the area of the parallelogram determined by the pair of vectors
v and
w then
A has the following properties:
Apply these two properties in the transformation
such that
and
if
, then the transformations are canonical.
Lie transformation provides a symplectic change of the variable that depends on a small parameter as the general solution of the Hamiltonian system [
4,
5]. In detail, the general solution
defines a canonical transformation such that
with the inverse
, and hence
, where the time
maps the flow of the Hamiltonian system. It is defined by the generation function
W. [
4,
5] We will set time
in order to make our transformations canonical. We then have
2.1. Generating Function
The generating function
is an auxiliary non-autonomous Hamiltonian depending on the parameter
, and the coordinates
. The Hamiltonian system associated with the generating function is given by
The general solution is written as
. For example, the solution curve through a particular point
can be written as
with initial condition
.
To make sure that the transformation between the original Hamiltonian and the new one is valid, we resort to an indirect generating function approach that can be derived from an action principle of the form
Let us consider the independent variations
and ask the action to be minimized with respect to these variations:
Similarly, we calculate the variation of the action in
P and
Q:
We need to show that the integral term vanishes for any variations
. Furthermore, the solution to the action principle is unchanged if
, where
is a function of coordinates and time. If we use this condition of the action principle and keep both
q and
p fixed at the initial and final times, then
W is a function of coordinates and momenta
. To summarize, we have demonstrated a sufficient condition for the transformation
to be a canonical transformation, if there is a function
such that
where
W is called a generating function. Note that if the system does not depend explicitly on time
t then the new Hamiltonian function is the same as the old Hamiltonian function. There are four types of generating functions. All have old coordinates or old momenta and new coordinates or new momenta, respectively. Moreover, the generating function can be determined with respect to the normal forms. It has a different process to calculate. In the next section, we will explain the normal form of a Hamiltonian and then provide an example to clarify the theoretical part.
2.2. Normal Form
We write the coordinate change as
with
, where
and
. Suppose the Hamiltonian function
H depends on a parameter
:
where
refers to the coordinates and
refers to their conjugate momenta. The transformed Hamiltonian
K also depends on a parameter
:
where
refers to the transformed coordinates and
refers to their conjugate momenta.
Lie transformation can be achieved by using the solution to another Hamiltonian system defined by the generating function
following the recursion formula
with
, and hence,
. The operator
is the so-called Poisson bracket of two scalar fields: given
and is defined as the quantity
where
are coordinates and momenta, respectively [
12].
Note that is conserved under the transformation and can be written as .
We express the original Hamiltonian
in terms of the new variable
as
by means of
where
. The coordinate change will be a near-identity map, which means that
and thus,
A similar formula can be used to see the change of coordinates back to the old ones, which is
Here, we define the quantities
as the relation between the coefficients of the various series that are expressed in terms of intermediate quantities
with
and
. These quantities can compute the transformed Hamiltonian
from the original Hamiltonian
and other quantities are computed by a chain of relations:
The following recursion formula relates the terms
K with those in
H and
W by quantities
with
and
[
9,
13,
14].
The last Equation (
5) has the binomial coefficient
. Note that the calculation of
makes the first term
and
equal because
W is a near identity transformation, and hence, the transformation is generated [
12]. In addition, the first term in the expansion for
W starts with
.
The normal form process can be stopped at any existing order. The Lie triangle summarizes the recursion process [
4,
5]. Thus, the process and Lie triangle are as follows:
where
is the transformed Hamiltonian and
respectively [
9]. By using Lie transformations to compute the normal form, the transformed Hamiltonian
K is defined as
In general,
K is in normal form, where
is the polynomial of the degree
. In addition, for any smooth function
f, then
This is the so-called normal form with respect to a given function. However, the same property can be applied on its own quadratic terms, namely
such that
Thus, the normal form of quadratic terms
has the form
where
and
are configuration space coordinates and their conjugate momenta, respectively. Additionally, the coefficients of products
are given by the vector
.
To sum up, assume that we have the Hamiltonian such that
with
is the polynomial of degree
and its coordinates denoted by
. The aim of normalization is to find the easiest change of coordinates
with the inverse
through the generating function
W, such that the function
H expressed in terms of
by means of
with
results in a transformed Hamiltonian
that is in the normal form through the degree
.
The above method was first proposed by Deprit [
5]. Here, we have followed the presentation style of [
9].
2.3. Computing a Generating Function W
In more detail, we provide an example to show how to find generating functions
and
of the degree three and four in formal norm [
15].
Consider
H to be a Hamiltonian of (
n dof). Let us expand
H in power series such that
where
is a homogeneous polynomial of degree
n in the variables
. The aim is to perform transformations canonically to make the expansion simple. We will perform all series manipulations formally, and set
afterwards.
As we have (
7), then
where
K is the transformed Hamiltonian. It is easy to see that the monomials of degree three of
K can be obtained using generating function
by
We choose the coefficients of such that is zero.
Note that if we assume
and
,and we define
hence
and
can be written as
We determine the coefficients such that
. Note that
is a linear operator and takes the diagonal form, due to
Hence, it is easy to find
such that
However,
do not vanish for any
. If the components of frequency vector
are linearly independent and
, then this condition is satisfied. Once
has been calculated, we can compute the new coordinates as a function of the old ones and vice versa [
9,
12,
13].
We rewrite the transformed Hamiltonian as function of
H such that
The following step is calculating the generating function
to get rid of the monomials of degree four from
H. In general, this cannot be applied because
has some zero eigenvalues:
Thus, we can only solve the equation
, if the form of
is
, with
:
The presented method is formal without looking at the convergence of the variables. There are many applications presented in the series divergence. The important part of the method process is the first orders of the transformed system, which provide interesting information due to the linear approximation around the equilibrium. The process can be studied up to any existing order (
) for a good approximation [
16,
17]. In other words, the first order terms consist of useful information to reduce the transformed system without being affected by the divergent character, where the general perturbation theorem takes place.
To summarize, once the generating function
W is calculated, we can derive the new coordinates as functions of the old ones and vice versa. Additionally, the generating function
W and the calculations of Poisson brackets can be used to see the coordinates changing back to the old ones without any additional calculations. There are some interesting examples in physics and engineering for the idea of Hamiltonians normal forms and generating functions which can be found in the book by Sanders and Verhulst [
18]. An example follows the theoretical part for clarification.