Hi,
Suppose you have a collection of fields \phi^i (t,x) depending on time and on 1 space variable, for i=1,...,N. Its dynamics is defined by the Lagrangian
L=\frac{1}{2} g_{ij}(\phi) (\dot{\phi}^i \dot{\phi}^j - \phi ' ^i \phi ' ^j ) + b_{ij}(\phi) \dot{\phi}^i \phi ' ^j
where...