In physics, one only sees Lagrangian that are scalar-valued:
$$ L:t,q,\dot{q}\to \mathbb{R} $$
whose integral over time is the action
$$ S=\int_0^tL(t,q,\dot{q})dt $$
In my own amusement research I have ended up with a Lagrangian that is vector valued:
$$ L:t,q,\dot{q}\to \mathbb{R}^n $$
For instance
$$ \mathbf{L}=e_0L_t(t,q,\dot{q})+ e_1L_x(t,q,\dot{q})+e_2L_y(t,q,\dot{q})+e_3L_z(t,q,\dot{q}) $$
A-priori, there doesn't seem to be any reason why this shouldn't be workable in some sense. But, what would be the interpretation of such a thing: each orthogonal axis are 'independent' sub-systems and the master system cannot 'rotate' between them?
Is there any literature which investigate such Lagrangian with perhaps physical applications?
Does the Euler-Lagrangian equations apply to it - can I get $n$ independent equations of motions via:
$$ e_1\frac{\partial L_1}{\partial q}(t,q,\dot{q})-e_1\frac{d}{dt}\frac{\partial L_2}{\partial \dot{q}}(t,q,\dot{q}) =0\\ \vdots\\ e_2\frac{\partial L_2}{\partial q}(t,q,\dot{q})-e_2\frac{d}{dt}\frac{\partial L_2}{\partial \dot{q}}(t,q,\dot{q})=0 $$