Both claims follow from Derivatives Along a Segment for C^1 Functions on a Euclidean Open Set once the notation on the right-hand sides is unfolded.
Claim 1. Apply claim 2 of Derivatives Along a Segment for C^1 Functions on a Euclidean Open Set, taking for its open set U, for its base point the point p, for its direction the point h, for its interval J, and for its function F the slice g. Its hypotheses hold: f is of class C1 on U, J is an interval, and p+thβU for every tβJ. Since t0β is an interior point of J, that claim gives that g is differentiable at t0β with
gβ²(t0β)=i=1βnββiβf(p+t0βh)hiβ=i=1βnββiβf(x0β)hiβ,
the second equality being the definition x0β=p+t0βh. This is the first of the two asserted expressions.
Because f is of class C1 on U, clause 1 of C^k Maps on a Euclidean Open Set gives that the partial derivative of f with respect to the ith variable exists at every point of U, and in particular at x0β; so the gradient Df(x0β) is defined, and its ith coordinate is βiβf(x0β). By the definition of the dot product,
hβ
Df(x0β)=i=1βnβhiββiβf(x0β),
which is the displayed sum, the two factors in each summand commuting. This proves claim 1.
Claim 2. Assume now that f is of class C2 on U. The function g1β is exactly the function called G in claim 4 of Derivatives Along a Segment for C^1 Functions on a Euclidean Open Set, for the same data as above, since both are given by tβ¦βi=1nββiβf(p+th)hiβ. That claim therefore gives that g1β is differentiable at the interior point t0β of J, with
g1β²β(t0β)=i=1βnβj=1βnββjββiβf(x0β)hiβhjβ,
where βjββiβf is the iterated partial derivative of clause 4 of C^k Maps on a Euclidean Open Set, defined on all of U by clause 2 there.
We rewrite this double sum. Put aijβ=βjββiβf(x0β)hiβhjβ for i,jβ{1,β¦,n}. By Interchange of a Finite Double Sum,
i=1βnβj=1βnβaijβ=j=1βnβi=1βnβaijβ.
Renaming the bound index j to i and the bound index i to j on the right-hand side β a change of the names of the summation variables only, the order of summation being left as it stands β turns it into
i=1βnβj=1βnβajiβ=i=1βnβj=1βnββiββjβf(x0β)hjβhiβ=i=1βnβj=1βnββiββjβf(x0β)hiβhjβ,
the last equality because the real factors in each summand commute. Hence
g1β²β(t0β)=i=1βnβj=1βnββiββjβf(x0β)hiβhjβ.
Finally, f is of class C2 on U and x0ββU, so the Hessian matrix D2f(x0β) is defined, and its entry in row i and column j is βiββjβf(x0β). By claim 4 of Linearity of the Matrix-Vector Product and the Quadratic Form as a Double Sum, applied with M=D2f(x0β) and w=z=h, and with the matrix-vector product,
hβ
(D2f(x0β)h)=i=1βnβj=1βnβ(D2f(x0β))ijβhiβhjβ=i=1βnβj=1βnββiββjβf(x0β)hiβhjβ,
which is the sum just computed. This proves claim 2. β