I really don't even know where to start with this question any help would go very very far. Thank you.
A particle with charge $q$ moving in an electromagnetic field is described by the Lagrangian $$L=\frac{m\mathbf{v}^2}2+\frac qc\mathbf{v}\cdot\mathbf{A}(\mathbf{r},t)-q\phi(\mathbf{r},t).$$ The electric and magnetic fields $(\mathbf{E}(\mathbf{r},t)$ and $\mathbf{B}(\mathbf{r},t)$ correspondingly$)$ are related to 'potentials' $\mathbf{A}(\mathbf{r},t)$ and $\phi(\mathbf{r},t)$ introduced above as follows: $$\mathbf{E}=-\frac1c\frac{\partial\mathbf{A}}{\partial t}-\nabla\phi,\qquad\mathbf{B}=\nabla\times\mathbf{A}.$$ Using the identity $$\mathbf{v}\times(\nabla\times\mathbf{A})=\nabla(\mathbf{v}\cdot\mathbf{A})-(\mathbf{v}\cdot\nabla)\mathbf{A}$$
(a) find the equation of motion of the charged particle from the Lagrangian.
(b) express the force acting on the particle in terms of electric and magnetic fields only (i.e. the equation of motion should have the form of the Newton's second law and contain fields $\mathbf{E}$ and $\mathbf{B}$ but not the 'potentials' $\mathbf{A}$ and $\phi$).
$\newcommand{\+}{^{\dagger}}% \newcommand{\angles}[1]{\left\langle #1 \right\rangle}% \newcommand{\braces}[1]{\left\lbrace #1 \right\rbrace}% \newcommand{\bracks}[1]{\left\lbrack #1 \right\rbrack}% \newcommand{\dd}{{\rm d}}% \newcommand{\isdiv}{\,\left.\right\vert\,}% \newcommand{\ds}[1]{\displaystyle{#1}}% \newcommand{\equalby}[1]{{#1 \atop {= \atop \vphantom{\huge A}}}}% \newcommand{\expo}[1]{\,{\rm e}^{#1}\,}% \newcommand{\floor}[1]{\,\left\lfloor #1 \right\rfloor\,}% \newcommand{\ic}{{\rm i}}% \newcommand{\imp}{\Longrightarrow}% \newcommand{\ket}[1]{\left\vert #1\right\rangle}% \newcommand{\pars}[1]{\left( #1 \right)}% \newcommand{\partiald}[3][]{\frac{\partial^{#1} #2}{\partial #3^{#1}}} \newcommand{\pp}{{\cal P}}% \newcommand{\root}[2][]{\,\sqrt[#1]{\,#2\,}\,}% \newcommand{\sech}{\,{\rm sech}}% \newcommand{\sgn}{\,{\rm sgn}}% \newcommand{\totald}[3][]{\frac{{\rm d}^{#1} #2}{{\rm d} #3^{#1}}} \newcommand{\ul}[1]{\underline{#1}}% \newcommand{\verts}[1]{\left\vert #1 \right\vert}% \newcommand{\yy}{\Longleftrightarrow}$ $$ \totald{}{t}\bracks{m{\bf v} + {q \over c}\,{\bf A}\pars{{\bf r},t}} = \nabla\bracks{% {q \over c}\,{\bf v}\cdot{\bf A}\pars{{\bf r},t} - q\phi\pars{{\bf r},t}} = \nabla\bracks{% {q \over c}\,{\bf v}\cdot{\bf A}\pars{{\bf r},t} - q\phi\pars{{\bf r},t}} $$ Now, use vectorial identities.