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?