Generating function (physics)

From testwiki
Jump to navigation Jump to search

Template:Short description Template:About

Generating a sine from a circle.

In physics, and more specifically in Hamiltonian mechanics, a generating function is, loosely, a function whose partial derivatives generate the differential equations that determine a system's dynamics. Common examples are the partition function of statistical mechanics, the Hamiltonian, and the function which acts as a bridge between two sets of canonical variables when performing a canonical transformation.

In canonical transformations

There are four basic generating functions, summarized by the following table:[1]

Generating function Its derivatives
F=F1(q,Q,t) p=∂F1∂q and P=−∂F1∂Q
F=F2(q,P,t)=F1+QP p=∂F2∂q and Q=∂F2∂P
F=F3(p,Q,t)=F1−qp q=−∂F3∂p and P=−∂F3∂Q
F=F4(p,P,t)=F1−qp+QP q=−∂F4∂p and Q=∂F4∂P

Example

Sometimes a given Hamiltonian can be turned into one that looks like the harmonic oscillator Hamiltonian, which is

H=aP2+bQ2.

For example, with the Hamiltonian

H=12q2+p2q42,

where Template:Mvar is the generalized momentum and Template:Mvar is the generalized coordinate, a good canonical transformation to choose would be

Template:NumBlk

This turns the Hamiltonian into

H=Q22+P22,

which is in the form of the harmonic oscillator Hamiltonian.

The generating function Template:Math for this transformation is of the third kind,

F=F3(p,Q).

To find Template:Math explicitly, use the equation for its derivative from the table above,

P=−∂F3∂Q,

and substitute the expression for Template:Mvar from equation (Template:EquationNote), expressed in terms of Template:Mvar and Template:Mvar:

pQ2=−∂F3∂Q

Integrating this with respect to Template:Mvar results in an equation for the generating function of the transformation given by equation (Template:EquationNote): Template:Equation box 1

To confirm that this is the correct generating function, verify that it matches (Template:EquationNote):

q=−∂F3∂p=−1Q

See also

References

Template:Reflist