A worked solution to Problem 2 of §5, The Lagrangian for a system of particles, in Chapter 1, The Equations of Motion, of L. D. Landau and E. M. Lifshitz, Mechanics, 3rd ed. (1976). Solution by Pierre-Olivier Bolduc.
Open the solution (PDF) Download 1 page, 145 kB · pages 8–8 of the full manual