I need to show that these two Lagrangians are equivalent:
\begin{align} L(\dot{x},\dot{y},x,y)&=\dot x^2+\dot y + x^2-y ,\\ \tilde{L}(\dot x, \dot y, x, y)&=\dot x^2+\dot y -2y^3. \end{align}
It is the case iff they differ for a total derivation like $\frac{dF}{dt}(x,y)$.
In this case, the difference is $x^2+y^3$ and I can't imagine such an $F(x,y)$ whose total derivative is the one above. How should I move?
I tried with the following $F(x,y)=\frac{x^3}{3\dot x} + \frac{y^4}{4\dot y}$, but it shouldn't have the dotted terms.
Actually, I just proved they don't give rise to the same Lagrange equations, so I can conclude they're not equivalent, right?