The Lagrangian in electromagnetism #
i. Overview #
In this module we define the Lagrangian density for the electromagnetic field in presence of a current density. We prove properties of this lagrangian density, and find it's variational gradient.
The lagrangian density is given by
L = -1/(4 μ₀) F_{μν} F^{μν} - A_μ J^μ
In this implementation we set μ₀ = 1. It is a TODO to introduce this constant.
ii. Key results #
freeCurrentPotential: The potential energy from the interaction of the electromagnetic potential with a free Lorentz current density.gradFreeCurrentPotential: The variational gradient of the free current potential.lagrangian: The lagrangian density for the electromagnetic field in presence of a Lorentz current density.gradLagrangian: The variational gradient of the lagrangian density.gradLagrangian_eq_electricField_magneticField: The variational gradient of the lagrangian density expressed in Gauss's and Ampère laws.
iii. Table of contents #
- A. Free current potential
- A.1. Shifts in the free current potential under shifts in the potential
- A.2. The free current potential has a variational gradient
- A.3. The free current potential in terms of the scalar and vector potentials
- A.4. The variational gradient of the free current potential
- B. The Lagrangian density
- B.1. Shifts in the lagrangian under shifts in the potential
- B.2. Lagrangian in terms of electric and magnetic fields
- C. The variational gradient of the lagrangian density
- C.1. The lagrangian density has a variational gradient
- C.2. The definition of,
gradLagrangian, the variational gradient of the lagrangian density - C.3. The variational gradient in terms of the gradient of the kinetic term
- C.4. The lagrangian density has the variational gradient equal to
gradLagrangian - C.5. The variational gradient in terms of the field strength tensor
- C.6. The lagrangian gradient recovering Gauss's and Ampère laws
iv. References #
A. Free current potential #
The potential energy from the interaction of the electromagnetic potential
with the free current J.
Equations
- A.freeCurrentPotential J x = (Lorentz.Vector.minkowskiProduct (A x)) (J x)
Instances For
A.1. Shifts in the free current potential under shifts in the potential #
A.2. The free current potential has a variational gradient #
A.3. The free current potential in terms of the scalar and vector potentials #
A.4. The variational gradient of the free current potential #
The variational gradient of the free current potential.
Equations
- A.gradFreeCurrentPotential J = varGradient (fun (q' : SpaceTime d → Lorentz.Vector d) (x : SpaceTime d) => Electromagnetism.ElectromagneticPotential.freeCurrentPotential q' J x) A
Instances For
B. The Lagrangian density #
The lagrangian density for the electromagnetic field in presence of a current density J is
L = -1/(4 μ₀) F_{μν} F^{μν} - A_μ J^μ
The lagrangian density associated with a electromagnetic potential and a Lorentz current density.
Equations
Instances For
B.1. Shifts in the lagrangian under shifts in the potential #
B.2. Lagrangian in terms of electric and magnetic fields #
The Lagrangian is equal to 1/2 * (ε₀ E^2 - 1/μ₀ B^2) - φρ + A · j
C. The variational gradient of the lagrangian density #
C.1. The lagrangian density has a variational gradient #
C.2. The definition of, gradLagrangian, the variational gradient of the lagrangian density #
The variational gradient of the lagrangian of electromagnetic field.
Equations
- One or more equations did not get rendered due to their size.