I came across this problem in class where I had calculate the Taylor expansion of $f(\theta + \theta')$ where $f \in C^3(\mathbb{R}^3)$ using the hessian matrix $H_f$.
I was told that the solution was $$ f(\theta) + Df(\theta)^\top\theta' + \frac{1}{2}{\theta'}^\top H_f \theta' + o\left({\theta'}^3\right) $$ where o(-) denotes the little notation.
I can't figure out how to get to this result. I've tried rewriting the Taylor formula but I haven't been able to rearrange anything so that it matches the given solution. Any help would be appreciated.
EDIT: I'm using this definition:
Let $f:\mathbb{R}^n \to \mathbb{R}$ a $k$-time continuously differentiable function at the point $a \in \mathbb{R}^n$. Then there exists $h_\alpha : \mathbb{R}^n \to \mathbb{R}$ so that
\begin{align} & f(\boldsymbol{x}) = \sum_{|\alpha|\leq k} \frac{D^\alpha f(\boldsymbol{a})}{\alpha!} (\boldsymbol{x}-\boldsymbol{a})^\alpha + \sum_{|\alpha|=k} h_\alpha(\boldsymbol{x})(\boldsymbol{x}-\boldsymbol{a})^\alpha, \\ & \mbox{and}\quad \lim_{\boldsymbol{x}\to \boldsymbol{a}}h_\alpha(\boldsymbol{x})=0. \end{align}