_Kenny_
- 4
- 1
Homework Statement
I'm trying to do a little review of Lagrangian Mechanics through studying the two-body problem for a radial force. I have the Lagrangian of the system L=\frac{1}{2}m_1\dot{\vec{r_1}}^{2}+\frac{1}{2}m_2\dot{\vec{r_2}}^{2}-V(|{\vec{r_1}-\vec{r_2}}|). Now I'm trying to find the Euler-Lagrange Equations for r_1 and r_2 but I'm confused about taking the derivative of the potential portion with respect to either r_1 or r_2. Please call me stupid and then tell me why I'm being stupid here.
Homework Equations
L=\frac{1}{2}m_1\dot{\vec{r_1}}^{2}+\frac{1}{2}m_2\dot{\vec{r_2}}^{2}-V(|{\vec{r_1}-\vec{r_2}}|)
\frac{dL}{dq}=\frac{d}{dt}\frac{dL}{d\dot{q}}
[/B]
The Attempt at a Solution
\frac{\partial L}{\partial r_1}=-\frac{\partial V(|{\vec{r_1}-\vec{r_2}}|)}{\partial r_1}=...?[/B]