I am a computational mathematician currently working on space-time finite element approximations to PDEs. I am reducing our model equations from (3+1)D to (1+1)D to test our algorithms.
Can we use the Lagrangian of using the electromagnetic potential in (3+1)D, and assume the spacial-component only depends on $x$, to derive the Euler-Lagrange equation of this Lagrangian?
Will we get wave equation $$ \frac{\partial^2 u}{\partial t^2} - \frac{\partial^2 u}{\partial x^2} = 0 $$ in (1+1)D?