A general derivation of Euler-Lagrange equation of Samuelson's variational principle in economics is elucidated without Lagrange multipliers, and the optimal solutions and prices can be determined easily.