- #1

- 32

- 2

to derive the Hamiltonian we used the Legendre transformation on L with respect to dq/dt and got

H = p*(dq/dt) - L (q,(dq/dt)(q,p,t),t). so my question is - why we can treat p and q as independent coordinates here (dp/dq = 0...) , when obviously there is a conection?