Proposition (Taylor's theorem for second derivative)
Let $f: U\to\R^m$ with $U\subseteq \R^n$.
If $f$ is twice differentiable at $x_0$, then $$ \begin{align*} f(x_0 + h) = f(x_0) + Df(x_0)(h) + \frac{1}{2} D^2f(x_0)(h,h) + ε_2(h)\, \|h\|^2 \end{align*} $$ for all $h\in B_{\mathrm{dist}(x_0, \partial U)}(x_0)$, where $ε_2(h) \to 0$ as $h\to 0$.