I'm watching a lecture on the Hamiltonian and can't figure out something. Here it is. Take a generic function G, and differentiate it with respect to p and q. What you get is the partial of G with respect to p TIMES the derivative of p (or p-dot), plus the derivative of G with respect to q TIMES q-dot.(adsbygoogle = window.adsbygoogle || []).push({});

My question is, where does the p-dot and q-dot terms come into the equation here? Why isn't it just the partial of G over p plus the partial of G over q?

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Hamiltonian math

**Physics Forums | Science Articles, Homework Help, Discussion**