Start with the action describing a Newtonian particle of mass m constrained to a spherical surface of radius R within a uniform gravitational field g. When one works in Lagrangian mechanics, there are several ways to implement a constraint: one can switch to generalized coordinates that manifestly solve the constraint, or one can use a Lagrange multiplier while retaining the redundant coordinates so constrained.