Math 2.0

Real functions Proof

Proof of Schwarz's theorem for C^2 functions by the mean value theorem

Builds on C^k function characterised by continuous derivativesHigher partial derivativesPartial derivativeMean value theoremContinuity in R^n

Proof

We apply the mean value theorem twice to a double difference.

  1. Let U⊆ℝnU \subseteq \R^n be open, let f ⁣:U→ℝf \colon U \to \R be of class C^2, and let a∈Ua \in U. Let i,j∈{1,…,n}i, j \in \set{1, \dots, n}.
  2. If i=ji = j, the two sides of the claim are the same second partial derivative, so there is nothing to prove. Assume i≠ji \ne j.
  3. Write ∂l\partial_l for the partial derivative in the direction xlx_l, and ele_l for the ll-th standard basis vector. So ∂2f∂xj ∂xi=∂j∂if\frac{\partial^2 f}{\partial x_j \, \partial x_i} = \partial_j \partial_i f.
  4. Since UU is open, there is r>0r > 0 such that the open ball of radius 2r2r around aa lies in UU.
  5. For real s,ts, t with ∣s∣<r\abs{s} < r and ∣t∣<r\abs{t} < r, the point a+σei+τeja + \sigma e_i + \tau e_j lies in that ball whenever ∣σ∣≤∣s∣\abs{\sigma} \le \abs{s} and ∣τ∣≤∣t∣\abs{\tau} \le \abs{t}. This holds because its distance to aa is at most ∣σ∣+∣τ∣<2r\abs{\sigma} + \abs{\tau} < 2r.
  6. For such s,ts, t define the double difference Δ(s,t)=f(a+sei+tej)−f(a+sei)−f(a+tej)+f(a)\Delta(s, t) = f(a + s e_i + t e_j) - f(a + s e_i) - f(a + t e_j) + f(a).
  7. Fix s,ts, t with 0<∣s∣<r0 < \abs{s} < r and 0<∣t∣<r0 < \abs{t} < r. Define u(σ)=f(a+σei+tej)−f(a+σei)u(\sigma) = f(a + \sigma e_i + t e_j) - f(a + \sigma e_i) for ∣σ∣<r\abs{\sigma} < r. Then Δ(s,t)=u(s)−u(0)\Delta(s, t) = u(s) - u(0).
  8. The partial derivative ∂if\partial_i f exists on UU, so uu is differentiable on (−r,r)(-r, r), with u′(σ)=∂if(a+σei+tej)−∂if(a+σei)u'(\sigma) = \partial_i f(a + \sigma e_i + t e_j) - \partial_i f(a + \sigma e_i). In particular uu is continuous there.
  9. By the mean value theorem on the interval between 00 and ss, there is σ1\sigma_1 strictly between 00 and ss with Δ(s,t)=s u′(σ1)\Delta(s, t) = s \, u'(\sigma_1).
  10. Define v(τ)=∂if(a+σ1ei+τej)v(\tau) = \partial_i f(a + \sigma_1 e_i + \tau e_j) for ∣τ∣<r\abs{\tau} < r. Then u′(σ1)=v(t)−v(0)u'(\sigma_1) = v(t) - v(0).
  11. The function ∂j∂if\partial_j \partial_i f exists on UU, so vv is differentiable with v′(τ)=∂j∂if(a+σ1ei+τej)v'(\tau) = \partial_j \partial_i f(a + \sigma_1 e_i + \tau e_j).
  12. By the mean value theorem again, there is τ1\tau_1 strictly between 00 and tt with v(t)−v(0)=t ∂j∂if(p)v(t) - v(0) = t \, \partial_j \partial_i f(p), where p=a+σ1ei+τ1ejp = a + \sigma_1 e_i + \tau_1 e_j.
  13. Steps 9 and 12 give Δ(s,t)=st ∂j∂if(p)\Delta(s, t) = s t \, \partial_j \partial_i f(p).
  14. The expression Δ(s,t)\Delta(s, t) does not change if we exchange the roles of (i,s)(i, s) and (j,t)(j, t). So the same argument, with these roles exchanged, gives a point q=a+σ2ei+τ2ejq = a + \sigma_2 e_i + \tau_2 e_j with ∣σ2∣<∣s∣\abs{\sigma_2} < \abs{s}, ∣τ2∣<∣t∣\abs{\tau_2} < \abs{t} and Δ(s,t)=st ∂i∂jf(q)\Delta(s, t) = s t \, \partial_i \partial_j f(q).
  15. Since st≠0s t \ne 0, steps 13 and 14 give ∂j∂if(p)=∂i∂jf(q)\partial_j \partial_i f(p) = \partial_i \partial_j f(q).
  16. The points pp and qq depend on ss and tt, and both satisfy ∥p−a∥≤∣s∣+∣t∣\norm{p - a} \le \abs{s} + \abs{t} and ∥q−a∥≤∣s∣+∣t∣\norm{q - a} \le \abs{s} + \abs{t}.
  17. Take s=t=1/ks = t = 1/k for integers k>1/rk > 1/r. Then the points pkp_k and qkq_k tend to aa as k→∞k \to \infty.
  18. The functions ∂j∂if\partial_j \partial_i f and ∂i∂jf\partial_i \partial_j f are continuous at aa, because ff is of class C2C^2. So ∂j∂if(pk)→∂j∂if(a)\partial_j \partial_i f(p_k) \to \partial_j \partial_i f(a) and ∂i∂jf(qk)→∂i∂jf(a)\partial_i \partial_j f(q_k) \to \partial_i \partial_j f(a).
  19. By step 15 the two sequences are equal, so their limits are equal: ∂2f∂xj ∂xi(a)=∂2f∂xi ∂xj(a)\frac{\partial^2 f}{\partial x_j \, \partial x_i}(a) = \frac{\partial^2 f}{\partial x_i \, \partial x_j}(a).

Idea

The double difference Δ(s,t)\Delta(s, t) is symmetric in the two directions. Two uses of the mean value theorem write it as sts t times a mixed partial at a nearby point, once in each order. Dividing by sts t and letting s,t→0s, t \to 0, continuity of the mixed partials makes the two values meet at aa.

Reading path

To understand this page from the ground up, read these 301 pages in order. The foundations come first. The path takes the proofs Proof of the limit of a sum of sequences, Proof of Rolle's theorem, Proof of the derivative of a map into R^n by components, Proof of the approximation property of the supremum, Proof that every sequence has a monotone subsequence, by peaks, Proof that open sets are the sets that are neighbourhoods of all their points, Proof of the commutativity of addition by induction, Proof of the Lebesgue number lemma by a finite cover of balls, Proof of the epsilon-delta form of continuity, Proof of the triangle inequality for norms, Proof of the Heine–Borel theorem by sequential compactness, Proof that there is a natural number n with 1/n below any positive epsilon, Proof of the derivative as a little-o approximation, Proof that a linear map between normed spaces is continuous if and only if it is bounded, Proof that a function is bijective iff it has a two-sided inverse, Proof that the reals form an ordered field, with the Cauchy sequence construction, Proof of continuity via closed sets, Proof of the double negation law by a truth table, Proof of the extreme value theorem by the Bolzano–Weierstrass theorem, Proof that compact subsets of a metric space are bounded, Proof that compactness and sequential compactness agree in metric spaces, Proof that subsequences of a convergent sequence converge to the same limit, Proof of the uniqueness of limits, Proof that the coordinate map is a linear isomorphism, Proof of strong induction from ordinary induction, Proof that linear maps on finite-dimensional normed spaces are continuous, Proof of the limit of a product of sequences, Proof that the absolute value is multiplicative, Proof of the squeeze theorem for sequences, Proof of the existence of square roots of nonnegative reals, Proof of the linearity of differentiation, Proof that a continuous image of a compact set is compact, Proof that compact subsets of a Hausdorff space are closed, Proof of epsilon-delta continuity at a point in metric spaces, Proof of the sequential characterization of limits, Proof of the description of the open sets of a metric space, Proof of the triangle inequality for real numbers, Proof of the epsilon-N definition of the limit of a sequence, Proof that compactness of a subset can be tested with open sets of the ambient space, Proof of the existence of the infimum by negation, Proof of the equivalence of norms in finite dimension by compactness of the unit sphere, Proof that every spanning set contains a basis, by Zorn's lemma, Proof of Fermat's theorem on stationary points, Proof that limits preserve non-strict inequalities, Proof that closed sets contain their limits, Proof of Zorn's lemma, Proof that metric spaces are Hausdorff, Proof that the derivative gives the directional derivatives, Proof that differentiable functions are continuous, Proof of the sequence characterisation of uniform continuity, Proof of the epsilon-delta form of the limit of a function, Proof of the well-ordering principle from strong induction, Proof of the Bolzano–Weierstrass theorem by a monotone subsequence, Proof of the Archimedean property in an Archimedean ordered field, Proof that a continuous real function on a compact set attains its bounds, Proof of the derivative of a map into a product, Proof that a decreasing sequence bounded below converges, Proof that the reals are Archimedean from the completeness axiom, Proof that convergent sequences are bounded, Proof of the monotone convergence theorem for sequences, Proof that continuity is equivalent to sequential continuity, Proof that open balls are open, Proof of the boundedness theorem by Bolzano–Weierstrass, Proof that Lipschitz maps are uniformly continuous, Proof that C^k functions are characterised by continuous derivatives, Proof that continuous partial derivatives imply differentiability, Proof that a set is open if and only if its complement is closed, Proof of the mean value theorem from Rolle's theorem, Proof of continuity via open sets in metric spaces, Proof of the constant multiple rule.

  1. Basis concept
  2. Complex numbers object
  3. Construction of the reals from Cauchy sequences concept
  4. Coordinate space object
  5. Coordinate vector concept
  6. Definition by recursion concept
  7. Element definition
  8. Euclidean metric example
  9. Euclidean space object
  10. Extended real number line object
  11. Function concept
  12. Integers object
  13. Limit point of a set definition
  14. Linear isomorphism concept
  15. Linear map concept
  16. Local maximum definition
  17. Mathematical induction concept
  18. Natural numbers object
  19. Norm concept
  20. Ordered field definition
  21. Peano axioms concept
  22. Proof of Zorn's lemma proof
  23. Proposition concept
  24. Rational numbers object
  25. Real numbers object
  26. Sequence definition
  27. Set bounded above definition
  28. Vector space definition
  29. p-metric on R^n example
  30. Real and imaginary parts definition
  31. Set definition
  32. Fréchet derivative definition
  33. Having a directional derivative definition
  34. Total derivative concept
  35. Function of several variables concept
  36. Ring of integers statement
  37. Limit of a function definition
  38. Local minimum definition
  39. Successor function definition
  40. Archimedean ordered field definition
  41. Conjunction definition
  42. Disjunction definition
  43. Implication definition
  44. Negation definition
  45. Predicate definition
  46. The reals form a field statement
  47. Real sequence definition
  48. Subsequence definition
  49. Infimum definition
  50. Supremum definition
  51. Linear combination definition
  52. Linear map definition
  53. Linear subspace definition
  54. Norm definition
  55. p-norm on R^n example
  56. Empty set object
  57. Family of sets definition
  58. Ordered pair definition
  59. Partial derivative concept
  60. Intersection definition
  61. Union definition
  62. Limit of a function of several variables concept
  63. Continuity at a point definition
  64. Derivative definition
  65. Addition of natural numbers definition
  66. Biconditional definition
  67. Truth table concept
  68. Modus ponens concept
  69. Proof of the Archimedean property in an Archimedean ordered field proof
  70. The rationals form a field statement
  71. The successor function is injective statement
  72. Zero is not a successor statement
  73. Existential quantifier definition
  74. Universal quantifier definition
  75. Bounded sequence definition
  76. Limit of a sequence definition
  77. Monotone sequence definition
  78. Linear independence definition
  79. Linear isomorphism definition
  80. Linear span definition
  81. Multilinear map definition
  82. Completeness axiom statement
  83. Normed vector space definition
  84. Cartesian product definition
  85. Jacobian matrix concept
  86. Partial derivative definition
  87. Continuity in R^n definition
  88. Continuous function definition
  89. Differentiable function of several variables definition
  90. Union of a family of sets definition
  91. Differentiable function definition
  92. Subset definition
  93. Proof of the commutativity of addition by induction proof
  94. Archimedean property statement
  95. Mathematical proof concept
  96. Order on the natural numbers definition
  97. Propositional logic concept
  98. Proof of the derivative as a little-o approximation proof
  99. The rationals form an ordered field statement
  100. Uniqueness quantifier definition
  101. Convergent sequence definition
  102. Sequential continuity definition
  103. Spanning set definition
  104. Higher partial derivatives definition
  105. Binary relation definition
  106. Topological space definition
  107. Universal set definition
  108. Differentiable on an open set definition
  109. Proof of the derivative of a map into R^n by components proof
  110. Derivative as a little-o approximation statement
  111. Order on the reals definition
  112. Commutativity of addition statement
  113. Tautology definition
  114. Proof of strong induction from ordinary induction proof
  115. Finite-dimensional vector space definition
  116. Basis definition
  117. Antisymmetric relation definition
  118. Reflexive relation definition
  119. Transitive relation definition
  120. Iterated derivative definition
  121. Sequential compactness definition
  122. Subspace topology definition
  123. Complement definition
  124. Interval definition
  125. Function definition
  126. Logical equivalence definition
  127. Coordinate vector definition
  128. Strong induction statement
  129. Preorder definition
  130. Choice function definition
  131. Proof of the epsilon-delta form of continuity proof
  132. Proof of the epsilon-delta form of the limit of a function proof
  133. Codomain definition
  134. Function composition definition
  135. Identity function definition
  136. Image of a set definition
  137. Injective function definition
  138. Preimage of a set definition
  139. Metric space definition
  140. Proof of the well-ordering principle from strong induction proof
  141. Proof of the double negation law by a truth table proof
  142. Partial order definition
  143. Axiom of choice statement
  144. Epsilon-delta definition of continuity statement
  145. Epsilon-delta definition of a limit statement
  146. Left inverse definition
  147. Right inverse definition
  148. Surjective function definition
  149. Closed ball definition
  150. Convergence of a sequence in a metric space definition
  151. Lipschitz map definition
  152. Open ball definition
  153. Triangle inequality for a metric statement
  154. Double negation law statement
  155. Diameter of a set definition
  156. Well-ordering principle statement
  157. Maximal element definition
  158. Total order definition
  159. Upper bound definition
  160. Bijective function definition
  161. Metric topology definition
  162. Bounded set definition
  163. Proof by contradiction concept
  164. Proof that every sequence has a monotone subsequence, by peaks proof
  165. Chain definition
  166. Open set definition
  167. Proof that a function is bijective iff it has a two-sided inverse proof
  168. Proof that the reals form an ordered field, with the Cauchy sequence construction proof
  169. Every sequence has a monotone subsequence statement
  170. Hausdorff space definition
  171. Closed set definition
  172. Proof that open sets are the sets that are neighbourhoods of all their points proof
  173. Bijective iff it has a two-sided inverse statement
  174. Open cover definition
  175. Continuous map of topological spaces definition
  176. Proof that the derivative gives the directional derivatives proof
  177. Zorn's lemma statement
  178. Equivalent metrics definition
  179. Proof of the description of the open sets of a metric space proof
  180. The reals form an ordered field statement
  181. Proof that a set is open if and only if its complement is closed proof
  182. Open sets characterised by neighbourhoods statement
  183. Compact space definition
  184. Derivative gives the directional derivatives statement
  185. Equivalent norms definition
  186. Proof that the coordinate map is a linear isomorphism proof
  187. Open sets of a metric space statement
  188. Absolute value definition
  189. Proof that every spanning set contains a basis, by Zorn's lemma proof
  190. Proof of the approximation property of the supremum proof
  191. Proof of the existence of the infimum by negation proof
  192. Proof of the existence of square roots of nonnegative reals proof
  193. Complement of an open set is closed statement
  194. Compact set definition
  195. Continuity at a point of a topological space definition
  196. Continuous linear map definition
  197. Proof that closed sets contain their limits proof
  198. Proof of the triangle inequality for real numbers proof
  199. Proof that the absolute value is multiplicative proof
  200. Proof that open balls are open proof
  201. Isomorphism with the coordinate space statement
  202. Every spanning set contains a basis statement
  203. Proof of the epsilon-N definition of the limit of a sequence proof
  204. Approximation property of the supremum statement
  205. Existence of the infimum statement
  206. Existence of square roots of nonnegative reals statement
  207. Proof that compactness of a subset can be tested with open sets of the ambient space proof
  208. Proof of continuity via closed sets proof
  209. Closed sets contain their limits statement
  210. Triangle inequality statement
  211. Absolute value is multiplicative statement
  212. Open balls are open statement
  213. Square root definition
  214. Epsilon-N definition of the limit of a sequence statement
  215. Proof that the reals are Archimedean from the completeness axiom proof
  216. Modulus of a complex number definition
  217. Compactness via open covers statement
  218. Continuity via closed sets statement
  219. Proof of the limit of a sum of sequences proof
  220. Proof that differentiable functions are continuous proof
  221. Proof of the uniqueness of limits proof
  222. Proof of epsilon-delta continuity at a point in metric spaces proof
  223. Proof that limits preserve non-strict inequalities proof
  224. Proof of continuity via open sets in metric spaces proof
  225. Proof of the Lebesgue number lemma by a finite cover of balls proof
  226. Proof of the squeeze theorem for sequences proof
  227. Proof that metric spaces are Hausdorff proof
  228. Proof that convergent sequences are bounded proof
  229. The reals are Archimedean statement
  230. Proof that subsequences of a convergent sequence converge to the same limit proof
  231. Proof of the monotone convergence theorem for sequences proof
  232. Proof that compact subsets of a Hausdorff space are closed proof
  233. Proof that a continuous image of a compact set is compact proof
  234. Differentiable functions are continuous statement
  235. Epsilon-delta continuity in metric spaces statement
  236. Proof that compact subsets of a metric space are bounded proof
  237. Lebesgue number lemma statement
  238. Metric spaces are Hausdorff statement
  239. Proof that compactness and sequential compactness agree in metric spaces proof
  240. Proof of the triangle inequality for norms proof
  241. Limit of a sum of sequences statement
  242. Proof of the sequence characterisation of uniform continuity proof
  243. Uniqueness of limits statement
  244. Limits preserve non-strict inequalities statement
  245. Convergent sequences are bounded statement
  246. Proof that there is a natural number n with 1/n below any positive epsilon proof
  247. Subsequences of a convergent sequence converge to the same limit statement
  248. Squeeze theorem statement
  249. Monotone convergence theorem for sequences statement
  250. Compact subsets of a Hausdorff space are closed statement
  251. Continuous image of a compact set is compact statement
  252. Compactness and sequential compactness agree in metric spaces statement
  253. Compact subsets of a metric space are bounded statement
  254. Continuity via open sets statement
  255. Proof of the limit of a product of sequences proof
  256. Epsilon-delta uniform continuity statement
  257. There is a natural number n with 1/n below any positive epsilon statement
  258. Triangle inequality for norms statement
  259. Proof that a decreasing sequence bounded below converges proof
  260. Proof that a linear map between normed spaces is continuous if and only if it is bounded proof
  261. Proof that Lipschitz maps are uniformly continuous proof
  262. Proof of the sequential characterization of limits proof
  263. Proof that continuity is equivalent to sequential continuity proof
  264. Limit of a product of sequences statement
  265. Decreasing sequence bounded below converges statement
  266. Lipschitz maps are uniformly continuous statement
  267. Continuity is equivalent to sequential continuity statement
  268. Sequential characterization of limits statement
  269. Proof of the Bolzano–Weierstrass theorem by a monotone subsequence proof
  270. Bounded linear maps are continuous statement
  271. Proof of the linearity of differentiation proof
  272. Bolzano–Weierstrass theorem statement
  273. Proof of the derivative of a map into a product proof
  274. Linearity of differentiation statement
  275. Proof of the Heine–Borel theorem by sequential compactness proof
  276. Proof of the boundedness theorem by Bolzano–Weierstrass proof
  277. Derivative of a map into a product statement
  278. Proof of the constant multiple rule proof
  279. Boundedness theorem statement
  280. Heine–Borel theorem statement
  281. Constant multiple rule statement
  282. Derivative of a map into R^n by components statement
  283. Proof of the extreme value theorem by the Bolzano–Weierstrass theorem proof
  284. Proof that a continuous real function on a compact set attains its bounds proof
  285. Extreme value theorem statement
  286. Continuous real function on a compact set attains its bounds statement
  287. Proof of Fermat's theorem on stationary points proof
  288. Proof of the equivalence of norms in finite dimension by compactness of the unit sphere proof
  289. Fermat's theorem on stationary points statement
  290. Proof of Rolle's theorem proof
  291. Equivalence of norms in finite dimension statement
  292. Rolle's theorem statement
  293. Proof that linear maps on finite-dimensional normed spaces are continuous proof
  294. Linear maps on finite-dimensional spaces are continuous statement
  295. Proof of the mean value theorem from Rolle's theorem proof
  296. Mean value theorem statement
  297. Proof that continuous partial derivatives imply differentiability proof
  298. Continuous partial derivatives imply differentiability statement
  299. Proof that C^k functions are characterised by continuous derivatives proof
  300. C^k function characterised by continuous derivatives statement
  301. Proof of Schwarz's theorem for C^2 functions by the mean value theorem proof

Where this leads

108 pages build on this one.

Further reading

  1. Web https://en.wikipedia.org/wiki/Symmetry_of_second_derivatives, Schwarz's theorem
About this page
TagJEHJ76Q8J8
URIm2://JEHJ76Q8J8
Kindproof
WritingW0 stub
MSC26B05
ProvesSchwarz's theorem for C^2 functions
UsesC^k function characterised by continuous derivatives, Higher partial derivatives, Partial derivative, Mean value theorem, Continuity in R^n
Changed4 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.