Given a Lagrangian using the standard cartesian coordinates. $$ \mathcal{L} = \frac{1}{2}m(\dot{x}^2 + \dot{y}^2) - \frac{1}{2}k(x^2 + y^2) $$
How to move to the hyperbolic coordinates given as $$2 x y = \mu $$ $$ x^2 - y^2 = \lambda $$
One way is to invert the expression of the hyperbolic coordinates and express $x$ and $y $ as a function of $\mu$ and $\lambda$ and substitute it into the lagrangian.
Is there a more direct method which does not involve inverting the function?