Physlib.Electromagnetism.Dynamics.Hamiltonian
The Hamiltonian in electromagnetism
i. Overview
In this module we define the canonical momentum and the Hamiltonian for the electromagnetic field in presence of a current density. We prove properties of these quantities, and express the Hamiltonian in terms of the electric and magnetic fields in the case of three spatial dimensions.
ii. Key results
- `canonicalMomentum` : The canonical momentum for the electromagnetic field in presence of a Lorentz current density. - `hamiltonian` : The Hamiltonian for the electromagnetic field in presence of a Lorentz current density. - `hamiltonian_eq_electricField_magneticField` : The Hamiltonian expressed in terms of the electric and magnetic fields.
iii. Table of contents
- A. The canonical momentum - A.1. The canonical momentum in terms of the kinetic term - A.2. The canonical momentum in terms of the field strength tensor - A.3. The canonical momentum in terms of the electric field - B. The Hamiltonian - B.1. The hamiltonian in terms of the vector potential - B.2. The hamiltonian in terms of the electric and magnetic fields
iv. References
- https://quantummechanics.ucsd.edu/ph130a/130_notes/node452.html
- https://ph.qmul.ac.uk/sites/default/files/EMT10new.pdf
A. The canonical momentum
We define the canonical momentum for the lagrangian `L(A, ∂ A)` as gradient of `v ↦ L(A + t v, ∂ (A + t v)) - t * L(A + v, ∂(A + v))` at `v = 0` This is equivalent to `∂ L/∂ (∂_0 A)`.
A.1. The canonical momentum in terms of the kinetic term
A.2. The canonical momentum in terms of the field strength tensor
A.3. The canonical momentum in terms of the electric field
B. The Hamiltonian
B.1. The hamiltonian in terms of the vector potential
B.2. The hamiltonian in terms of the electric and magnetic fields
8 declarations
Canonical momentum of the electromagnetic potential
For a spatial dimension , let denote the physical parameters of free space. Given an electromagnetic potential field and a Lorentz current density field , the **canonical momentum** at a spacetime point is the Lorentz vector defined by the difference of two gradients: where is the electromagnetic Lagrangian density, is the time component of the spacetime point , and is a Lorentz vector. This construction isolates the conjugate momentum density of the field, which is mathematically equivalent to the partial derivative of the Lagrangian density with respect to the time derivative of the potential:
Canonical Momentum equals the Gradient of the Kinetic Lagrangian Density
For a spatial dimension , let be the physical parameters of free space, be a twice-differentiable electromagnetic potential field, and be a Lorentz current density. The canonical momentum at a spacetime point is equal to the gradient with respect to a Lorentz vector , evaluated at , of the kinetic Lagrangian density for a modified potential field : where , and denotes the time component of the spacetime point .
For a spatial dimension , let denote the parameters of free space with vacuum permeability . Given a twice-differentiable electromagnetic potential field and a Lorentz current density , the -th component of the canonical momentum at a spacetime point is given by: where is the Minkowski matrix and is the component of the electromagnetic field strength tensor (Faraday tensor) corresponding to the index and the temporal index .
and
For a spatial dimension , let denote the physical parameters of free space, characterized by the vacuum permeability and the speed of light . Given a twice-differentiable electromagnetic potential field and a Lorentz current density , the components of the canonical momentum field at a spacetime point are related to the electric field as follows: 1. The temporal component () is zero: 2. The spatial components () are given by: where is the -th component of the electric field at the spacetime point .
Hamiltonian density
For a given spatial dimension and the physical parameters of free space , let be an electromagnetic 4-potential field, be a Lorentz 4-current density field, and be a point in spacetime. The **Hamiltonian density** at the point is defined as the sum over the spacetime indices of the product of the canonical momentum density components and the time derivatives of the potential components, minus the Lagrangian density: where is the -th component of the canonical momentum density at , is the partial derivative of the -th component of the potential with respect to the time coordinate (represented as `Sum.inl 0`), and is the electromagnetic Lagrangian density at .
Hamiltonian density
For a spatial dimension , let denote the physical parameters of free space with speed of light and vacuum permeability . Given a twice-differentiable electromagnetic potential field and a Lorentz current density , the Hamiltonian density at a spacetime point is given by: where is the -th component of the electric field, is the -th component of the vector potential, denotes the partial derivative with respect to time, and is the electromagnetic Lagrangian density at .
Hamiltonian density
For a spatial dimension , let denote the physical parameters of free space with speed of light and vacuum permeability . Given a twice-differentiable electromagnetic potential field , a Lorentz current density , and a point in spacetime , the Hamiltonian density at is given by: where is the electric field, is the scalar potential, is the spatial gradient operator, is the Euclidean inner product, is the Euclidean norm, and is the electromagnetic Lagrangian density at .
Hamiltonian density in terms of , , , and
For a spatial dimension , let denote the physical parameters of free space, including the speed of light , vacuum permittivity , and vacuum permeability . Given a twice-differentiable electromagnetic potential field , a Lorentz current density , and a point in spacetime with time and spatial position , the Hamiltonian density at is expressed in terms of the electric and magnetic fields as: where: - is the electric field and are the components of the magnetic field matrix. - is the scalar potential and is its spatial gradient. - is the charge density and are the components of the current density. - are the components of the vector potential.
