In the theory of many-particle systems, Jacobi coordinates often are used to simplify the mathematical formulation. These coordinates are particularly common in treating polyatomic molecules and chemical reactions, and in celestial mechanics. An algorithm for generating the Jacobi coordinates for N bodies may be based upon binary trees. In words, the algorithm is described as follows:
Let mj and mk be the masses of two bodies that are replaced by a new body of virtual mass M = mj + mk. The position coordinates xj and xk are replaced by their relative position rjk = xj − xk and by the vector to their center of mass Rjk = (mj qj + mkqk)/(mj + mk). The node in the binary tree corresponding to the virtual body has mj as its right child and mk as its left child. The order of children indicates the relative coordinate points from xk to xj. Repeat the above step for N − 1 bodies, that is, the N − 2 original bodies plus the new virtual body.
For the four-body problem the result is:
The vector R is the center of mass of all the bodies:
- David Betounes (2001). Differential Equations. Springer. p. 58; Figure 2.15. ISBN 0387951407. http://books.google.com/books?id=oNvFAzQXBhsC&pg=PA58.
- Patrick Cornille (2003). "Partition of forces using Jacobi coordinates". Advanced electromagnetism and vacuum physics. World Scientific. p. 102. ISBN 9812383670. http://books.google.com/books?id=y8sSFTDkQ20C&pg=PA102.
- John Z. H. Zhang (1999). Theory and application of quantum molecular dynamics. World Scientific. p. 104. ISBN 9810233884. http://books.google.com/books?id=b8AzpUPopqQC&pg=PA104.
- For example, see Edward Belbruno (2004). Capture Dynamics and Chaotic Motions in Celestial Mechanics. Princeton University Press. p. 9. ISBN 0691094802. http://books.google.com/books?id=dK-fl0KrOEIC&pg=PA9.
- Hildeberto Cabral, Florin Diacu (2002). "Appendix A: Canonical transformations to Jacobi coordinates". Classical and celestial mechanics. Princeton University Press. p. 230. ISBN 0691050228. http://books.google.com/books?id=q1emz4C4lYQC&pg=PA230.