We use the notation of the statement. Algebraic manipulations of dot products use Bilinearity and Symmetry of the Dot Product on R n \mathbb{R}^n R n , and M ( λ v + μ w ) = λ M v + μ M w M(\lambda v+\mu w)=\lambda\,Mv+\mu\,Mw M ( λ v + μ w ) = λ M v + μ Mw is claim 1 of Linearity, Compatibility with the Matrix Product, and a Norm Bound for the Matrix-Vector Product . Membership in a subdifferential always refers to Subdifferential of a Real-Valued Function on a Convex Subset of R n \mathbb{R}^n R n §subdifferential .
The matrix S S S . By claim 2 of Elementary Properties of the Transpose of a Real Matrix , ( M + M ⊤ ) ⊤ = M ⊤ + ( M ⊤ ) ⊤ (M+M^{\top})^{\top}=M^{\top}+(M^{\top})^{\top} ( M + M ⊤ ) ⊤ = M ⊤ + ( M ⊤ ) ⊤ , and ( M ⊤ ) ⊤ = M (M^{\top})^{\top}=M ( M ⊤ ) ⊤ = M by claim 1 of that lemma; hence ( M + M ⊤ ) ⊤ = M + M ⊤ (M+M^{\top})^{\top}=M+M^{\top} ( M + M ⊤ ) ⊤ = M + M ⊤ and, again by claim 2, S ⊤ = S S^{\top}=S S ⊤ = S , so S ∈ S ( n ) S\in\mathcal{S}(n) S ∈ S ( n ) . Moreover, for h ∈ R n h\in\mathbb{R}^{n} h ∈ R n , claim 5 of Elementary Properties of the Transpose of a Real Matrix with v = w = h v=w=h v = w = h gives h ⋅ ( M h ) = ( M ⊤ h ) ⋅ h = h ⋅ ( M ⊤ h ) h\cdot(Mh)=(M^{\top}h)\cdot h=h\cdot(M^{\top}h) h ⋅ ( M h ) = ( M ⊤ h ) ⋅ h = h ⋅ ( M ⊤ h ) , the last step by claim 1 of Bilinearity and Symmetry of the Dot Product on R n \mathbb{R}^n R n ; hence, by claim 1 of Linearity of the Matrix-Vector Product and the Quadratic Form as a Double Sum ,
h ⋅ ( S h ) = 1 2 ( h ⋅ ( M h ) + h ⋅ ( M ⊤ h ) ) = h ⋅ ( M h ) . (S) h\cdot(Sh)=\tfrac{1}{2}\bigl(h\cdot(Mh)+h\cdot(M^{\top}h)\bigr)=h\cdot(Mh). \tag{S} h ⋅ ( S h ) = 2 1 ( h ⋅ ( M h ) + h ⋅ ( M ⊤ h ) ) = h ⋅ ( M h ) . ( S )
Claim 1. Let h ∈ R n h\in\mathbb{R}^{n} h ∈ R n with ∥ h ∥ < δ \lVert h\rVert<\delta ∥ h ∥ < δ . If h = 0 h=0 h = 0 the asserted inequality reads 0 ≤ 0 0\le0 0 ≤ 0 , so assume h ≠ 0 h\neq0 h = 0 . Let N ∈ N N\in\mathbb{N} N ∈ N , and for k ∈ { 0 , 1 , … , N } k\in\{0,1,\dots,N\} k ∈ { 0 , 1 , … , N } put t k = k / N t_{k}=k/N t k = k / N and y k = y + t k h y_{k}=y+t_{k}h y k = y + t k h , so that y 0 = y y_{0}=y y 0 = y and y N = y + h y_{N}=y+h y N = y + h . Since 0 ≤ t k ≤ 1 0\le t_{k}\le1 0 ≤ t k ≤ 1 , claim 5 of Elementary Properties of the Euclidean Norm on R n \mathbb{R}^n R n gives ∥ y k − y ∥ = t k ∥ h ∥ ≤ ∥ h ∥ < δ \lVert y_{k}-y\rVert=t_{k}\lVert h\rVert\le\lVert h\rVert<\delta ∥ y k − y ∥ = t k ∥ h ∥ ≤ ∥ h ∥ < δ .
Because R n \mathbb{R}^{n} R n is open and convex, The Subdifferential of a Convex Function on an Open Convex Set is Nonempty §nonempty shows that ∂ f ( y k ) \partial f(y_{k}) ∂ f ( y k ) is nonempty; choose q k ∈ ∂ f ( y k ) q_{k}\in\partial f(y_{k}) q k ∈ ∂ f ( y k ) for each of the finitely many indices k k k , and take q 0 = p q_{0}=p q 0 = p , which is legitimate since p ∈ ∂ f ( y ) = ∂ f ( y 0 ) p\in\partial f(y)=\partial f(y_{0}) p ∈ ∂ f ( y ) = ∂ f ( y 0 ) .
The subgradient inequality at y k y_{k} y k tested at y k + 1 y_{k+1} y k + 1 , and at y k + 1 y_{k+1} y k + 1 tested at y k y_{k} y k , give
1 N q k ⋅ h ≤ f ( y k + 1 ) − f ( y k ) ≤ 1 N q k + 1 ⋅ h ( 0 ≤ k ≤ N − 1 ) , \tfrac{1}{N}\,q_{k}\cdot h\le f(y_{k+1})-f(y_{k})\le\tfrac{1}{N}\,q_{k+1}\cdot h\qquad(0\le k\le N-1), N 1 q k ⋅ h ≤ f ( y k + 1 ) − f ( y k ) ≤ N 1 q k + 1 ⋅ h ( 0 ≤ k ≤ N − 1 ) ,
since y k + 1 − y k = 1 N h y_{k+1}-y_{k}=\tfrac{1}{N}h y k + 1 − y k = N 1 h . Summing over k k k and noting that the middle terms telescope to f ( y + h ) − f ( y ) f(y+h)-f(y) f ( y + h ) − f ( y ) ,
1 N ∑ k = 0 N − 1 q k ⋅ h ≤ f ( y + h ) − f ( y ) ≤ 1 N ∑ k = 1 N q k ⋅ h . (T) \tfrac{1}{N}\sum_{k=0}^{N-1}q_{k}\cdot h\;\le\;f(y+h)-f(y)\;\le\;\tfrac{1}{N}\sum_{k=1}^{N}q_{k}\cdot h. \tag{T} N 1 k = 0 ∑ N − 1 q k ⋅ h ≤ f ( y + h ) − f ( y ) ≤ N 1 k = 1 ∑ N q k ⋅ h . ( T )
Put r k = q k − p − M ( y k − y ) r_{k}=q_{k}-p-M(y_{k}-y) r k = q k − p − M ( y k − y ) . Since ∥ y k − y ∥ < δ \lVert y_{k}-y\rVert<\delta ∥ y k − y ∥ < δ , the hypothesis gives ∥ r k ∥ ≤ ε ∥ y k − y ∥ = ε t k ∥ h ∥ ≤ ε ∥ h ∥ \lVert r_{k}\rVert\le\varepsilon\lVert y_{k}-y\rVert=\varepsilon t_{k}\lVert h\rVert\le\varepsilon\lVert h\rVert ∥ r k ∥ ≤ ε ∥ y k − y ∥ = ε t k ∥ h ∥ ≤ ε ∥ h ∥ , so by Cauchy-Schwarz Inequality for the Euclidean Dot Product
∣ r k ⋅ h ∣ ≤ ε ∥ h ∥ 2 . |r_{k}\cdot h|\le\varepsilon\lVert h\rVert^{2}. ∣ r k ⋅ h ∣ ≤ ε ∥ h ∥ 2 .
Since M ( y k − y ) = t k M h M(y_{k}-y)=t_{k}\,Mh M ( y k − y ) = t k M h , we get q k ⋅ h = p ⋅ h + t k ( M h ) ⋅ h + r k ⋅ h q_{k}\cdot h=p\cdot h+t_{k}\,(Mh)\cdot h+r_{k}\cdot h q k ⋅ h = p ⋅ h + t k ( M h ) ⋅ h + r k ⋅ h . Using ∑ k = 0 N − 1 k = 1 2 N ( N − 1 ) \sum_{k=0}^{N-1}k=\tfrac{1}{2}N(N-1) ∑ k = 0 N − 1 k = 2 1 N ( N − 1 ) and ∑ k = 1 N k = 1 2 N ( N + 1 ) \sum_{k=1}^{N}k=\tfrac{1}{2}N(N+1) ∑ k = 1 N k = 2 1 N ( N + 1 ) ,
1 N ∑ k = 0 N − 1 t k = N − 1 2 N , 1 N ∑ k = 1 N t k = N + 1 2 N , \tfrac{1}{N}\sum_{k=0}^{N-1}t_{k}=\frac{N-1}{2N},\qquad\tfrac{1}{N}\sum_{k=1}^{N}t_{k}=\frac{N+1}{2N}, N 1 k = 0 ∑ N − 1 t k = 2 N N − 1 , N 1 k = 1 ∑ N t k = 2 N N + 1 ,
and each of the two averages of the r k ⋅ h r_{k}\cdot h r k ⋅ h has absolute value at most ε ∥ h ∥ 2 \varepsilon\lVert h\rVert^{2} ε ∥ h ∥ 2 , by claim 5 of Properties of the Absolute Value in an Ordered Field . Hence (T) becomes
p ⋅ h + N − 1 2 N ( M h ) ⋅ h − ε ∥ h ∥ 2 ≤ f ( y + h ) − f ( y ) ≤ p ⋅ h + N + 1 2 N ( M h ) ⋅ h + ε ∥ h ∥ 2 . p\cdot h+\frac{N-1}{2N}(Mh)\cdot h-\varepsilon\lVert h\rVert^{2}\;\le\;f(y+h)-f(y)\;\le\;p\cdot h+\frac{N+1}{2N}(Mh)\cdot h+\varepsilon\lVert h\rVert^{2}. p ⋅ h + 2 N N − 1 ( M h ) ⋅ h − ε ∥ h ∥ 2 ≤ f ( y + h ) − f ( y ) ≤ p ⋅ h + 2 N N + 1 ( M h ) ⋅ h + ε ∥ h ∥ 2 .
Writing Θ = f ( y + h ) − f ( y ) − p ⋅ h − 1 2 ( M h ) ⋅ h \Theta=f(y+h)-f(y)-p\cdot h-\tfrac{1}{2}(Mh)\cdot h Θ = f ( y + h ) − f ( y ) − p ⋅ h − 2 1 ( M h ) ⋅ h and using N ± 1 2 N − 1 2 = ± 1 2 N \frac{N\pm1}{2N}-\frac{1}{2}=\pm\frac{1}{2N} 2 N N ± 1 − 2 1 = ± 2 N 1 , this says
− 1 2 N ∣ ( M h ) ⋅ h ∣ − ε ∥ h ∥ 2 ≤ Θ ≤ 1 2 N ∣ ( M h ) ⋅ h ∣ + ε ∥ h ∥ 2 . -\frac{1}{2N}\bigl|(Mh)\cdot h\bigr|-\varepsilon\lVert h\rVert^{2}\;\le\;\Theta\;\le\;\frac{1}{2N}\bigl|(Mh)\cdot h\bigr|+\varepsilon\lVert h\rVert^{2}. − 2 N 1 ( M h ) ⋅ h − ε ∥ h ∥ 2 ≤ Θ ≤ 2 N 1 ( M h ) ⋅ h + ε ∥ h ∥ 2 .
The number ∣ ( M h ) ⋅ h ∣ |(Mh)\cdot h| ∣ ( M h ) ⋅ h ∣ does not depend on N N N , so by The Archimedean Property of the Real Numbers the quantity 1 2 N ∣ ( M h ) ⋅ h ∣ \frac{1}{2N}|(Mh)\cdot h| 2 N 1 ∣ ( M h ) ⋅ h ∣ is smaller than any prescribed positive real for N N N large. Hence ∣ Θ ∣ ≤ ε ∥ h ∥ 2 |\Theta|\le\varepsilon\lVert h\rVert^{2} ∣Θ∣ ≤ ε ∥ h ∥ 2 by claim 6 of Properties of the Absolute Value in an Ordered Field , and by (S) together with claim 1 of Bilinearity and Symmetry of the Dot Product on R n \mathbb{R}^n R n this is the asserted inequality.
Claim 2. Let ε > 0 \varepsilon>0 ε > 0 and let δ > 0 \delta>0 δ > 0 be as supplied by the hypothesis for this ε \varepsilon ε . By claim 1, every h h h with ∥ h ∥ < δ \lVert h\rVert<\delta ∥ h ∥ < δ satisfies y + h ∈ R n y+h\in\mathbb{R}^{n} y + h ∈ R n and
∣ f ( y + h ) − f ( y ) − p ⋅ h − 1 2 h ⋅ ( S h ) ∣ ≤ ε ∥ h ∥ 2 . \Bigl|f(y+h)-f(y)-p\cdot h-\tfrac{1}{2}h\cdot(Sh)\Bigr|\le\varepsilon\lVert h\rVert^{2}. f ( y + h ) − f ( y ) − p ⋅ h − 2 1 h ⋅ ( S h ) ≤ ε ∥ h ∥ 2 .
Since S ∈ S ( n ) S\in\mathcal{S}(n) S ∈ S ( n ) , this is precisely the condition of Twice Differentiability at a Point §twice-differentiable with U = R n U=\mathbb{R}^{n} U = R n , first-order coefficient p p p and Hessian S S S .