Equivalent Lagrangians
Given a Lagrangian
This is an exercise from Hand and Finch Analytical Mechanics, page 28. The third item is proven by the definition of action directly. In problem 7 of the same page it is shown that it has to do with the equivalence of inertial frames.
This is related with @olver86 page 249: two Lagrangians
Here
Particular case
If two Lagrangians,
This is a consequence of the fact that the Euler-Lagrange equations remain unchanged when the Lagrangian is modified by a total derivative term. Therefore, the two Lagrangians are related by what is known as a "gauge transformation" in this context.