I have a small problem with directional derivatives $-$ finding the 2nd derivative of a directional derivative.
Consider $z=f(x,y)$, $x = x(t)=x_0+th$ and $y=y(t) =y_0+tk$. I am required to prove that the 2nd derivative is $\frac{d^2z}{dt^2}=f''_{xx}h^2+2f''_{xy}hk+f''_{yy}k^2$.
I have worked until the first derivative, $\frac{dz}{dt}$, by:
$$ \begin{align*} \frac{dz}{dt}&=f'_x \cdot\frac{dx}{dt} + f'_y \cdot\frac{dy}{dt} \\&=hf'_x + kf'_y \end{align*} $$
From here, how do you do the 2nd derivative? I attempted it with:
$$ \begin{align*} \frac{d^2z}{dt^2}&=\frac{d}{dt}\begin{bmatrix}hf'_x + kf'_y\end{bmatrix} \\&= h\begin{bmatrix}f''_{xx} + f''_{xy}\end{bmatrix} + k\begin{bmatrix}f''_{yx} + f''_{yy}\end{bmatrix} \end{align*} $$
I can't continue from here.