Hello physicists!(adsbygoogle = window.adsbygoogle || []).push({});

I'm a comp sci student and I am trying to graphically model a simplified version of the solar system as part of a programming exercise. In order to apply the gravitational forces to the planets, I need to compute the Jacobian matrix as it relates to two particles (planetary objects). My (limited) understanding is that the resulting matrix will be 9x9, but I am unsure how it is constructed exactly. This is what I have come up with so far:

[tex]J = \begin{pmatrix}

\frac{\partial F_1}{\partial r_1} & \frac{\partial F_1}{\partial r_2} & \frac{\partial F_1}{\partial r_3}\\

\frac{\partial F_2}{\partial r_1} & \frac{\partial F_2}{\partial r_2} & \frac{\partial F_2}{\partial r_3}\\

\frac{\partial F_3}{\partial r_1} & \frac{\partial F_3}{\partial r_2} & \frac{\partial F_3}{\partial r_3}

\end{pmatrix}[/tex]

where [tex]\frac{\partial F_i}{\partial r_i}[/tex] is 3x3, [tex]F[/tex] is the gravitational force [tex]F = \frac{Gm_1m_2}{r^2}[/tex] and [tex]r[/tex] is the respective dimension component [tex](x, y, z)[/tex].

Some clarification would be much appreciated :-)

Thanks.

**Physics Forums - The Fusion of Science and Community**

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!

# Computing the Jacobian matrix for a solar system simulation

Can you offer guidance or do you also need help?

Draft saved
Draft deleted

Loading...

Similar Threads - Computing Jacobian matrix | Date |
---|---|

I How do we compute an integral with a dot product inside ? | Dec 30, 2016 |

I Computing the normal scalar component of acceleration | Apr 5, 2016 |

A nasty integral to compute | Jan 20, 2016 |

Question on how to efficiently compute a jacobian | Feb 20, 2013 |

Question about computing Jacobians of transformations | Dec 18, 2012 |

**Physics Forums - The Fusion of Science and Community**