Keep the metric and hence the Hodge star fixed. Write , so , and use the Bianchi identity for an Abelian p-form . The bilinear pairing on real four-forms is symmetric even for a fixed indefinite metric. Consequently the variation of the kinetic term is .
The two differentiated four-form factors in the cubic term have the same sign, since moving a four-form through another four-form or through a three-form contributes an even exponent. Thus
The graded Leibniz rule gives
Using the Generalized Stokes theorem, the complete first variation is therefore
For compactly supported variations, a closed , or boundary conditions removing this last term, the Euler-Lagrange equation and the Bianchi identity for an Abelian p-form are
The coefficient three follows from the normalization actually present in the action; inserting a differently normalized supergravity coupling would change it. This is the eleven-dimensional three-form action variation.
Under the gauge transformation , the four-form is unchanged because . The kinetic density is unchanged, and the cubic density changes by
It is an exact eleven-form, so the action changes only by a boundary integral. The Euler-Lagrange equations depend only on and are invariant even when this boundary integral is nonzero. Invariance of the action itself additionally requires suitable boundary or support conditions.