I'm self-learning analytical mechanics.
Consider a classical mechanical system. Even if it's clear to me that via (the usual) Legendre transform we can get a unique Hamiltonian function from a Lagrangian (at least for well suited cases), what does happen if we change the coordinate system? AFAIK the relation has to be independent from coordinate change, but how to prove it?