Singular lagrangians and the Hamilton-Jacobi formalism in classical mechanics | Synapse