- #1
dyn
- 773
- 62
- TL;DR Summary
- Scalar Product and generalized coordinates
Hi
If i have 2 general vectors written in Cartesian coordinates then the scalar product a.b can be written as aibi because the basis vectors are an orthonormal basis.
In Hamiltonian mechanics i have seen the Hamiltonian written as H = pivi - L where L is the lagrangian and v is the time derivative of position . I have also seen this written as H= p.v - L.
My question is ; how is pivi equivalent to p.v ? Surely this only applies if p and v are written in an orthonormal basis but are p and v even vectors when written using generalised coordinates and generalised momenta ? Generalised coordinates q can sometimes just be angles and i have never seen any mention of basis vectors in this case.
So is it just a convention that pivi is equivalent to p.v in Hamiltonian mechanics ?
Thanks
If i have 2 general vectors written in Cartesian coordinates then the scalar product a.b can be written as aibi because the basis vectors are an orthonormal basis.
In Hamiltonian mechanics i have seen the Hamiltonian written as H = pivi - L where L is the lagrangian and v is the time derivative of position . I have also seen this written as H= p.v - L.
My question is ; how is pivi equivalent to p.v ? Surely this only applies if p and v are written in an orthonormal basis but are p and v even vectors when written using generalised coordinates and generalised momenta ? Generalised coordinates q can sometimes just be angles and i have never seen any mention of basis vectors in this case.
So is it just a convention that pivi is equivalent to p.v in Hamiltonian mechanics ?
Thanks