Can one use the Lagrangian formalism for all classical systems, i.e. systems with a set of trajectories $\vec{x}_i(t)$ describing paths?
On the wikipedia page of Lagrangian mechanics, there is an advertisement, which says that it also works for systems for which energy and momentum is not conserved. It's unreferenced but it sounds nice, but I wonder if there are other problems one might encounter. Does this statement already mean that all systems can be described by a Lagrangian?
I have found that, at least in some dissipative systems, you have to introduce non-standard Lagrangians, which are not of the form $L=T-V$ and so there is no clear kinetic and potential term. However, from a Newtonian point of view, there is still the $T:=\sum \frac{m}{2}\vec{x}_i'(t)^2$ term. Does that mean that you have a kinetic term, but it just isn't part of the Lagrangian?
Also, if it's possible to write down the Lagrangian (even if there is not such thing as a conserved energy), what is the meaning of the Legendre transform of this Lagrangian? Usually, it would be the Hamiltonian, but now, is it just any random function without any use?
I don't mind some differential geometry speak btw.
Lastly, are there extension of this, i.e. variational principles, which are far away from the Lagrangian ideas?