L(\vec{r}+\delta\vec{r}, \dot{\vec{r}}, t)=L(\vec{r}, \dot{\vec{r}},t)+\delta\vec{r}\frac{\partial L}{\partial \vec{r}}+...