Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2018/iii/paper-301/4/i/solution

Under a gauge transformation, the electromagnetic field tensor changes by
The partial derivatives commute for a smooth gauge parameter, or in the distributional formulation. Thus the Maxwell Lagrangian depends only on a gauge-invariant tensor:
Strictly, the pointwise calculation requires the second derivatives to exist; smooth gauge parameters are the usual convention. Mere first differentiability in the wording can instead be understood through commuting distributional derivatives.

New to topics? Read the docs here!