Consider two particles moving unconstrained in three dimensions, with potential energy $U\left(\mathbf{r}_{1}, \mathbf{r}_{2}\right) .$ (a) Write down the six equations of motion obtained by applying Newton's second law to each particle. (b) Write down the Lagrangian $\mathcal{L}\left(\mathbf{r}_{1}, \mathbf{r}_{2}, \dot{\mathbf{r}}_{1}, \dot{\mathbf{r}}_{2}\right)=T-U$ and show that the six Lagrange equations are the same as the six Newtonian equations of part (a). This establishes the validity of Lagrange's equations in rectangular coordinates, which in turn establishes Hamilton's principle. since the latter is independent of coordinates, this proves Lagrange's equations in any coordinate system.