# EM Differential Form version of Lagragian

 P: 2 Given that we have the one form A we can get the F=dA, and I see how dF=0 and d*F=J, give maxwell's equations. But if we write the Action as $$\int$$1/2dA$$\wedge$$*dA+A$$\wedge$$J how do we go about doing a variational procedure to get d*dA=J? I tried taking d(Lagrangian)=0 but that seemed to be off by a factor of 2. I guess I'm not sure how you vary an action when your lagrangian is composed of forms. Any ideas?