TheoremBase

Proof sketch: a rectangle second difference is evaluated twice by the one-variable mean value theorem, once in each order, and continuity of the second partial derivatives gives equality; symmetry and continuity of the Hessian follow entrywise.

Proof

Throughout, the arithmetic and order of R\mathbb{R} are used through The Structure of ℝ as a Field and an Ordered Ring (i), The Structure of ℝ as a Field and an Ordered Ring (ii), Arithmetic and Order Rules in the Real Numbers, Stated for ℝ (v), Arithmetic and Order Rules in the Real Numbers, Stated for ℝ (ix), Rules of Arithmetic and Order in an Ordered Field (iii) and The Quotient 1/x, Order Rules for Sums, and Nesting of Closed Intervals in ℝ (i); distances in Rn\mathbb{R}^{n} through Properties of the Euclidean Norm on Rn\mathbb{R}^n: Square, Distance, Vanishing, Coordinate Bounds, Homogeneity, Triangle Inequalities and Expansion of a Square (ii); and the metric spaces (Rn,dE)(\mathbb{R}^{n},d_{E}) and (R,dR)(\mathbb{R},d_{\mathbb{R}}) through Rn\mathbb{R}^n with the Euclidean Distance Is a Complete Metric Space with Coordinatewise Convergence (i) and The Absolute Value Metric on the Real Numbers (i). The argument for (i) is that of Rudin's Theorem 9.41, specialised to functions of class C2C^{2}.

We first collect the regularity of ff that the argument uses. Since ff is of class C2C^{2}, it is of class C1C^{1} by Basic Properties of Cᡏ Functions (ii), hence differentiable on UU by Basic Properties of Cᡏ Functions (v). For every i∈[n]i\in[n], βˆ‚if\partial_{i}f is of class C1C^{1} on UU by Basic Properties of Cᡏ Functions (iii), hence also differentiable on UU. Applying Basic Properties of Cᡏ Functions (iii) once more, every βˆ‚iβˆ‚jf\partial_{i}\partial_{j}f with i,j∈[n]i,j\in[n] is of class C0C^{0} on UU, hence continuous on UU by Basic Properties of Cᡏ Functions (iv). Finally, let h:Uβ†’Rh:U\to\mathbb{R} be differentiable at a point z∈Uz\in U, so that its gradient βˆ‡h(z)\nabla h(z) exists. Since the ii-th coordinate of a vector equals its dot product with the standard basis vector eie_{i} (Standard Basis Vectors of ℝ^q: Coordinates, Orthonormality and Unit Length (i) and The Dot Product on Rn\mathbb{R}^n Is Symmetric, Bilinear and Positive Definite (i)), and the ii-th coordinate of βˆ‡h(z)\nabla h(z) is βˆ‚ih(z)\partial_{i}h(z) (Gradient of a Real-Valued Function on an Open Subset of Rn\mathbb{R}^n (i)),

βˆ‡h(z)β‹…ei=βˆ‚ih(z)(i∈[n]).\nabla h(z)\cdot e_{i}=\partial_{i}h(z)\qquad(i\in[n]).

In particular this holds at every z∈Uz\in U for h=fh=f and for h=βˆ‚lfh=\partial_{l}f with l∈[n]l\in[n], both being differentiable on UU.

We now prove (i). Fix x∈Ux\in U and i,j∈[n]i,j\in[n]. For i=ji=j there is nothing to prove, so let iβ‰ ji\neq j. Since UU is open, there is ρ>0\rho>0 with B(x,ρ)βŠ†UB(x,\rho)\subseteq U. Let s,ts,t be real numbers with ∣s∣,∣t∣<ρ/2|s|,|t|<\rho/2, and let Οƒ,Ο„\sigma,\tau be real numbers with βˆ£Οƒβˆ£β‰€βˆ£s∣|\sigma|\le|s| and βˆ£Ο„βˆ£β‰€βˆ£t∣|\tau|\le|t|. The standard basis vectors have norm one (Standard Basis Vectors of ℝ^q: Coordinates, Orthonormality and Unit Length (iii)), so by the triangle inequality and homogeneity of the norm (Properties of the Euclidean Norm on Rn\mathbb{R}^n: Square, Distance, Vanishing, Coordinate Bounds, Homogeneity, Triangle Inequalities and Expansion of a Square (v))

βˆ₯(x+Οƒei+Ο„ej)βˆ’xβˆ₯=βˆ₯Οƒei+Ο„ejβˆ₯β‰€βˆ£Οƒβˆ£+βˆ£Ο„βˆ£<ρ,\lVert(x+\sigma e_{i}+\tau e_{j})-x\rVert=\lVert\sigma e_{i}+\tau e_{j}\rVert\le|\sigma|+|\tau|<\rho ,

and all such points x+Οƒei+Ο„ejx+\sigma e_{i}+\tau e_{j} lie in B(x,ρ)βŠ†UB(x,\rho)\subseteq U. In particular, when s=t>0s=t>0, each of these points lies within distance βˆ£Οƒβˆ£+βˆ£Ο„βˆ£β‰€2s|\sigma|+|\tau|\le2s of xx. The proof compares two evaluations of the second difference

Ξ”(s,t)=f(x+sei+tej)βˆ’f(x+sei)βˆ’f(x+tej)+f(x).\Delta(s,t)=f(x+se_{i}+te_{j})-f(x+se_{i})-f(x+te_{j})+f(x).

For the first evaluation, let 0<∣s∣,∣t∣<ρ/20<|s|,|t|<\rho/2, and consider on the interval (βˆ’Ο/2,ρ/2)(-\rho/2,\rho/2) the function

g(Οƒ)=f(x+tej+Οƒei)βˆ’f(x+Οƒei).g(\sigma)=f(x+te_{j}+\sigma e_{i})-f(x+\sigma e_{i}).

Both terms are values of ff along lines in direction eie_{i} that stay in UU, one through the base point x+tejx+te_{j} and one through the base point xx. By Derivatives of a Function Along a Line Segment in ℝⁿ (ii), applied to ff with direction eie_{i} and each of these base points, together with the rule for the derivative of a difference, a sum with βˆ’1-1 times the second term (Derivatives of Constants, the Identity, Sums, Scalar Multiples, Products, Reciprocals, Quotients and Powers (iv) and Derivatives of Constants, the Identity, Sums, Scalar Multiples, Products, Reciprocals, Quotients and Powers (v)), gg is differentiable with

gβ€²(Οƒ)=βˆ‚if(x+Οƒei+tej)βˆ’βˆ‚if(x+Οƒei).g'(\sigma)=\partial_{i}f(x+\sigma e_{i}+te_{j})-\partial_{i}f(x+\sigma e_{i}).

Since Ξ”(s,t)=g(s)βˆ’g(0)\Delta(s,t)=g(s)-g(0), and gg is continuous on (βˆ’Ο/2,ρ/2)(-\rho/2,\rho/2), being differentiable there (The Increment Form of the Derivative, and Differentiability Implies Continuity (ii)), the mean value theorem (on [0,s][0,s] or [s,0][s,0]) gives a number Οƒ\sigma strictly between 00 and ss with Ξ”(s,t)=s gβ€²(Οƒ)\Delta(s,t)=s\,g'(\sigma). With this Οƒ\sigma fixed, consider on (βˆ’Ο/2,ρ/2)(-\rho/2,\rho/2) the function k(Ο„)=βˆ‚if(x+Οƒei+Ο„ej)k(\tau)=\partial_{i}f(x+\sigma e_{i}+\tau e_{j}). Applying Derivatives of a Function Along a Line Segment in ℝⁿ (ii) to the differentiable function βˆ‚if\partial_{i}f, with base point x+Οƒeix+\sigma e_{i} and direction eje_{j}, shows that kk is differentiable with

kβ€²(Ο„)=βˆ‚jβˆ‚if(x+Οƒei+Ο„ej),k'(\tau)=\partial_{j}\partial_{i}f(x+\sigma e_{i}+\tau e_{j}),

a second partial derivative of ff. As gβ€²(Οƒ)=k(t)βˆ’k(0)g'(\sigma)=k(t)-k(0), and kk is continuous on (βˆ’Ο/2,ρ/2)(-\rho/2,\rho/2) by The Increment Form of the Derivative, and Differentiability Implies Continuity (ii), the mean value theorem (on [0,t][0,t] or [t,0][t,0]) gives a number Ο„\tau strictly between 00 and tt with gβ€²(Οƒ)=t kβ€²(Ο„)g'(\sigma)=t\,k'(\tau). Combining the two steps,

Ξ”(s,t)=stβ€‰βˆ‚jβˆ‚if(p),p=x+Οƒei+Ο„ej.\Delta(s,t)=st\,\partial_{j}\partial_{i}f(p),\qquad p=x+\sigma e_{i}+\tau e_{j}.

For the second evaluation, observe that Ξ”(s,t)\Delta(s,t) is unchanged when the roles of (i,s)(i,s) and (j,t)(j,t) are exchanged: the first and last terms do not change, and the two middle terms are interchanged. The first evaluation with ii and jj exchanged (after renaming the intermediate parameters so that Οƒβ€²\sigma' is the coefficient of eie_{i} and Ο„β€²\tau' that of eje_{j}) therefore gives Οƒβ€²\sigma' strictly between 00 and ss and Ο„β€²\tau' strictly between 00 and tt with

Ξ”(s,t)=stβ€‰βˆ‚iβˆ‚jf(q),q=x+Οƒβ€²ei+Ο„β€²ej.\Delta(s,t)=st\,\partial_{i}\partial_{j}f(q),\qquad q=x+\sigma' e_{i}+\tau' e_{j}.

It remains to let ss and tt tend to 00. Let Ξ΅>0\varepsilon>0. First, by continuity of βˆ‚jβˆ‚if\partial_{j}\partial_{i}f and βˆ‚iβˆ‚jf\partial_{i}\partial_{j}f at xx (Continuous Map Between Metric Spaces (i)), choose δ∈(0,ρ]\delta\in(0,\rho] such that every z∈B(x,Ξ΄)z\in B(x,\delta) satisfies

βˆ£βˆ‚jβˆ‚if(z)βˆ’βˆ‚jβˆ‚if(x)∣<Ξ΅andβˆ£βˆ‚iβˆ‚jf(z)βˆ’βˆ‚iβˆ‚jf(x)∣<Ξ΅.|\partial_{j}\partial_{i}f(z)-\partial_{j}\partial_{i}f(x)|<\varepsilon\quad\text{and}\quad|\partial_{i}\partial_{j}f(z)-\partial_{i}\partial_{j}f(x)|<\varepsilon .

Then, for this Ξ΄\delta, take s=ts=t with 0<s<Ξ΄/20<s<\delta/2. The points pp and qq lie within distance 2s<Ξ΄2s<\delta of xx, as shown above, so they lie in B(x,Ξ΄)B(x,\delta). Dividing the two evaluations of Ξ”(s,s)\Delta(s,s) by s2s^{2} gives βˆ‚jβˆ‚if(p)=βˆ‚iβˆ‚jf(q)\partial_{j}\partial_{i}f(p)=\partial_{i}\partial_{j}f(q), and therefore

βˆ£βˆ‚jβˆ‚if(x)βˆ’βˆ‚iβˆ‚jf(x)βˆ£β‰€βˆ£βˆ‚jβˆ‚if(x)βˆ’βˆ‚jβˆ‚if(p)∣+βˆ£βˆ‚iβˆ‚jf(q)βˆ’βˆ‚iβˆ‚jf(x)∣<2Ξ΅.|\partial_{j}\partial_{i}f(x)-\partial_{i}\partial_{j}f(x)|\le|\partial_{j}\partial_{i}f(x)-\partial_{j}\partial_{i}f(p)|+|\partial_{i}\partial_{j}f(q)-\partial_{i}\partial_{j}f(x)|<2\varepsilon .

Since Ξ΅>0\varepsilon>0 was arbitrary, βˆ‚iβˆ‚jf(x)=βˆ‚jβˆ‚if(x)\partial_{i}\partial_{j}f(x)=\partial_{j}\partial_{i}f(x).

For (ii), let x∈Ux\in U. By The Hessian Matrix of a Function of Class C² (i) and (i),

(D2f(x))ij=βˆ‚iβˆ‚jf(x)=βˆ‚jβˆ‚if(x)=(D2f(x))jiforΒ allΒ i,j∈[n],\bigl(D^{2}f(x)\bigr)_{ij}=\partial_{i}\partial_{j}f(x)=\partial_{j}\partial_{i}f(x)=\bigl(D^{2}f(x)\bigr)_{ji}\qquad\text{for all }i,j\in[n],

and a matrix AA is symmetric exactly when Aij=AjiA_{ij}=A_{ji} for all i,ji,j (Symmetric Real Matrices and the Set S(n)\mathcal{S}(n) (iii)); so D2f(x)∈S(n)D^{2}f(x)\in\mathcal{S}(n).

For (iii), the entry functions x↦(D2f(x))ijx\mapsto\bigl(D^{2}f(x)\bigr)_{ij} of the Hessian function are the functions βˆ‚iβˆ‚jf\partial_{i}\partial_{j}f, which are continuous on UU, as noted at the start. Hence D2fD^{2}f is continuous on UU by Continuity of Vector- and Matrix-Valued Maps: the Componentwise Criterion, Norms and Algebraic Operations (ii) and Continuity of Vector- and Matrix-Valued Maps: the Componentwise Criterion, Norms and Algebraic Operations (v).

Citations

Loading…

Dependencies

Uses0

Loading…

Comments

Log in to comment.

Loading…