PhysLean Documentation

PhysLean.Electromagnetism.Dynamics.Lagrangian

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 #

iii. Table of contents #

iv. References #

A. Free current potential #

The potential energy from the interaction of the electromagnetic potential with the free current J.

Equations
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
    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.
        Instances For

          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 #

          theorem Electromagnetism.ElectromagneticPotential.gradLagrangian_eq_sum_fieldStrengthMatrix {d : } {𝓕 : FreeSpace} (A : ElectromagneticPotential d) (hA : ContDiff (↑) A) (J : LorentzCurrentDensity d) (hJ : ContDiff (↑) J) :
          gradLagrangian 𝓕 A J = fun (x : SpaceTime d) => ν : Fin 1 Fin d, minkowskiMatrix ν ν (1 / 𝓕.μ₀ * μ : Fin 1 Fin d, SpaceTime.deriv μ (fun (x : SpaceTime d) => (A.fieldStrengthMatrix x) (μ, ν)) x - J x ν) Lorentz.Vector.basis ν

          C.6. The lagrangian gradient recovering Gauss's and Ampère laws #