Write down Lagrangian in spherical coordinate system for motion of a particle in space
Shoham Teberiwal, AIR 77, 2023
for spherical coordinate system $(r, \theta, \phi)$
$\because \sin^2\theta + \cos^2\theta = 1$
& let $V = V(r, \theta, \phi)$
$\therefore$
Hence