# General Mechanics/Velocity Dependent Forces

We've seen that an Hamiltonian of the form

${\displaystyle H={\frac {\mathbf {p} \cdot \mathbf {p} }{2m}}+V(\mathbf {r} )}$

describes motion under a conservative force, but this is not the most general possible Hamiltonian.

Many waves are described by another simple form, in the geometrical optics limit,

${\displaystyle H=f(|\mathbf {p} |)}$

What happens if we consider other forms for the Hamiltonian?

Suppose we have

${\displaystyle H={\frac {\mathbf {p} \cdot \mathbf {p} }{2m}}+\mathbf {p} \cdot \mathbf {A} (\mathbf {r} )}$

The dot product term is the simplest scalar we can add to the kinetic energy that's dependent on momentum. We'll see that it acts like a potential energy.

Using Hamilton's equations we can immediately write down equations of motion.

${\displaystyle {\begin{matrix}{\dot {x}}_{i}&=&{\frac {\partial H}{\partial p_{i}}}&=&{\frac {p_{i}}{m}}+A_{i}\\{\dot {p}}_{i}&=&-{\frac {\partial H}{\partial x_{i}}}&=&-p_{j}{\frac {\partial A_{j}}{\partial x_{i}}}\end{matrix}}}$

Note that we are using the summation convention here.

Now that we've got the equations of motion, we need to work out what they mean.

The first thing we notice is that the momentum is no longer mv. There is an additional contribution from the potential field A. We can think of this as a form of potential momentum, analogous to potential energy.

The force on the particle is

${\displaystyle F_{i}=m{\ddot {x}}_{i}={\dot {p}}_{i}+m{\frac {d}{dt}}A_{i}(\mathbf {r} )}$

Using the chain rule, and substituting for dp/dt with the second equation of motion, we get

${\displaystyle F_{i}=-p_{j}{\frac {\partial A_{j}}{\partial x_{i}}}+m{\dot {x}}_{j}{\frac {\partial A_{i}}{\partial x_{j}}}}$

Using the first equation, this becomes

${\displaystyle F_{i}=m{\dot {x}}_{j}\left({\frac {\partial A_{i}}{\partial x_{j}}}-{\frac {\partial A_{j}}{\partial x_{i}}}\right)+mA_{j}{\frac {\partial A_{j}}{\partial x_{i}}}}$

The term in brackets is recognizable as being the type of thing we see in cross products. With a little manipulation, using the Kronecker delta and alternating symbol, we can write

${\displaystyle {\begin{matrix}F_{i}&=&{\dot {x}}_{j}\left(\delta _{il}\delta _{jk}-\delta _{ik}\delta _{jl}\right){\frac {\partial A_{l}}{\partial x_{k}}}&+&mA_{j}{\frac {\partial A_{j}}{\partial x_{i}}}\\&=&{\dot {x}}_{j}\epsilon _{nij}\epsilon _{nlk}{\frac {\partial A_{l}}{\partial x_{k}}}&+&mA_{j}{\frac {\partial A_{j}}{\partial x_{i}}}\\&=&-\epsilon _{ijn}{\dot {x}}_{j}\left(\nabla \times \mathbf {A} \right)_{n}&+&mA_{j}{\frac {\partial A_{j}}{\partial x_{i}}}\\&=&-\epsilon _{ijn}{\dot {x}}_{j}\left(\nabla \times \mathbf {A} \right)_{n}&+&{\frac {1}{2}}{\frac {\partial }{\partial x_{i}}}A_{j}A_{j}\end{matrix}}}$

so, writing the last line as a vector equation,

${\displaystyle \mathbf {F} =-m\mathbf {v} \times (\nabla \times \mathbf {A} )+{\frac {1}{2}}m\nabla A^{2}}$

The force from this potential has a component perpendicular to its curl and to the velocity, and another component which is the gradient of a scalar.

If we add a carefully chosen potential energy to the Hamiltonian we can cancel out this second term.

${\displaystyle H={\frac {p^{2}}{2m}}+\mathbf {p} \cdot \mathbf {A} (\mathbf {r} )+{\frac {1}{2}}mA^{2}\qquad \mathbf {F} =-m\mathbf {v} \times \left(\nabla \times \mathbf {A} \right)}$

This Hamiltonian can be simplified to

${\displaystyle H={\frac {1}{2m}}\left(\mathbf {p} +m\mathbf {A} \right)^{2}}$

where the term in bracket is mv, written as a function of momentum.

This simple modification to the Hamiltonian gives us a force perpendicular to velocity, like magnetism. Because the force and velocity are perpendicular, the work done by the force is always zero.

We can use potential fields to describe velocity dependent forces, provided that they do no work.

The coefficient of A in these expression is arbitrary. Changing it amount merely to measuring A in different units so we can equally well write

${\displaystyle H={\frac {1}{2m}}\left(\mathbf {p} +\alpha \mathbf {A} \right)^{2}\qquad \mathbf {F} =-\alpha \mathbf {v} \times \left(\nabla \times \mathbf {A} \right)}$

Having α=m means A is measured in units of velocity, which may sometimes be convenient, but we can use any other constant value of α that suits our purpose. When we come to study relativity, we'll use α=-1.

Notice that the force depends only on the curl of A, not on A itself. This means we can add any function with zero curl to A without changing anything, just as we can add a constant to the potential energy.

Furthermore, it is a standard result of vector calculus that any vector field is the sum of two components, one with zero curl, the other with zero divergence. Since the zero curl component does not affect the total force, we can require it to be zero; i.e. we can require A to have zero divergence.

${\displaystyle \nabla \cdot \mathbf {A} =0}$

This is called a gauge condition. For the moment, it can be considered to define especially natural values for the integration constants.