Im studying Mechanics form Goldstein. I cross this equation in "Derivation of Lagranges equation from d'Alembert's Principle",section 1.4. I have two questions from this derivation.
- The expression given is
$$\sum_{i=1}^n \sum_{k=1}^n m_i \ddot r_i \frac{\partial r_i}{\partial q_k} \delta q_k.\tag{1.50}$$
This can we written as
$$\sum_{i=1}^n \sum_{k=1}^n \left[ \frac{d}{dt} \left(m_i \dot{r_i}\frac{\partial r_i}{\partial q_k}\right)-m_i \dot{r_i} \frac{d}{dt}\left(\frac{\partial r_i}{\partial q_k}\right) \right] \delta q_k.\tag{1.50}$$
- How that expression can be written like this. I don't understand why we split into two parts and make subtraction. Is that any formula?
- How $$\frac{d}{dt} (m_i \dot{r_i}) \frac{\partial v_i}{\partial \dot{q_k}}=\frac{d}{dt} \frac{\partial}{\partial \dot{q_k}} \left[ \frac{1}{2} m_iv_i^2\right] ?$$
Any help?
Best Answer
$$\frac{d}{dt} \left(m_i \mathbf{\dot{r}_i} \cdot \frac{\partial \mathbf r_i}{\partial q_k}\right) = \color{blue}{m_i \mathbf{\ddot{r}_i} \cdot \frac{\partial \mathbf{r_i}}{\partial q_k}} + m_i \mathbf{\dot{r_i}} \cdot \frac{d}{dt}\left(\frac{\mathbf{\partial r_i}}{\partial q_k}\right). $$
What we are interested is in evaluating the term highlighted in blue. You will see that this manipulation allows one to express the principle in terms of kinetic energy $T$.
Now do you see $\displaystyle\frac{\partial \mathbf{v_i}}{\partial \dot{q}_k} = \frac{\partial \mathbf{r_i}}{\partial q_k}$? It should be easy to realise the answer to second now. Make use of the fact that differentiating the kinetic energy $T = \frac{1}{2} mv^2$ wrt to $\dot{q_k}$ is nothing but using chain rule to obtain $\displaystyle m \mathbf{v_i}\cdot\frac{\partial{\mathbf{v_i}}}{\partial q_k}$.