Template:Short description Template:Redirect Template:Use dmy dates In mathematics, the symmetry of second derivatives (also called the equality of mixed partials) is the fact that exchanging the order of partial derivatives of a multivariate function
- <math>f\left(x_1,\, x_2,\, \ldots,\, x_n\right)</math>
does not change the result if some continuity conditions are satisfied (see below); that is, the second-order partial derivatives satisfy the identities
- <math>\frac {\partial}{\partial x_i} \left( \frac{\partial f}{\partial x_j} \right) \ = \
\frac {\partial}{\partial x_j} \left( \frac{\partial f}{\partial x_i} \right).
</math> In other words, the matrix of the second-order partial derivatives, known as the Hessian matrix, is a symmetric matrix.
Sufficient conditions for the symmetry to hold are given by Schwarz's theorem, also called Clairaut's theorem or Young's theorem.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>Template:Sfn
In the context of partial differential equations, it is called the Schwarz integrability condition.
Formal expressions of symmetryEdit
In symbols, the symmetry may be expressed as:
- <math>\frac {\partial}{\partial x} \left( \frac{\partial f}{\partial y} \right) \ = \
\frac {\partial}{\partial y} \left( \frac{\partial f}{\partial x} \right)
\qquad\text{or}\qquad
\frac {\partial^2\! f} {\partial x\,\partial y} \ =\ \frac{\partial^2\! f} {\partial y\,\partial x}.
</math>
Another notation is:
- <math>\partial_x\partial_y f = \partial_y\partial_x f \qquad\text{or}\qquad f_{yx} = f_{xy}.</math>
In terms of composition of the differential operator Template:Math which takes the partial derivative with respect to Template:Math:
- <math>D_i \circ D_j = D_j \circ D_i</math>.
From this relation it follows that the ring of differential operators with constant coefficients, generated by the Template:Math, is commutative; but this is only true as operators over a domain of sufficiently differentiable functions. It is easy to check the symmetry as applied to monomials, so that one can take polynomials in the Template:Math as a domain. In fact smooth functions are another valid domain.
HistoryEdit
The result on the equality of mixed partial derivatives under certain conditions has a long history. The list of unsuccessful proposed proofs started with Euler's, published in 1740,Template:Sfn although already in 1721 Bernoulli had implicitly assumed the result with no formal justification.Template:Sfn Clairaut also published a proposed proof in 1740, with no other attempts until the end of the 18th century. Starting then, for a period of 70 years, a number of incomplete proofs were proposed. The proof of Lagrange (1797) was improved by Cauchy (1823), but assumed the existence and continuity of the partial derivatives <math>\tfrac{\partial^2 f}{\partial x^2}</math> and <math>\tfrac{\partial^2 f}{\partial y^2}</math>.Template:Sfn Other attempts were made by P. Blanchet (1841), Duhamel (1856), Sturm (1857), Schlömilch (1862), and Bertrand (1864). Finally in 1867 Lindelöf systematically analyzed all the earlier flawed proofs and was able to exhibit a specific counterexample where mixed derivatives failed to be equal.Template:SfnTemplate:Sfn
Six years after that, Schwarz succeeded in giving the first rigorous proof.Template:Sfn Dini later contributed by finding more general conditions than those of Schwarz. Eventually a clean and more general version was found by Jordan in 1883 that is still the proof found in most textbooks. Minor variants of earlier proofs were published by Laurent (1885), Peano (1889 and 1893), J. Edwards (1892), P. Haag (1893), J. K. Whittemore (1898), Vivanti (1899) and Pierpont (1905). Further progress was made in 1907-1909 when E. W. Hobson and W. H. Young found proofs with weaker conditions than those of Schwarz and Dini. In 1918, Carathéodory gave a different proof based on the Lebesgue integral.Template:Sfn
Schwarz's theoremEdit
Template:Redirect In mathematical analysis, Schwarz's theorem (or Clairaut's theorem on equality of mixed partials)Template:Sfn named after Alexis Clairaut and Hermann Schwarz, states that for a function <math>f \colon \Omega \to \mathbb{R}</math> defined on a set <math>\Omega \subset \mathbb{R}^n</math>, if <math>\mathbf{p}\in \mathbb{R}^n</math> is a point such that some neighborhood of <math>\mathbf{p}</math> is contained in <math>\Omega</math> and <math>f</math> has continuous second partial derivatives on that neighborhood of <math>\mathbf{p}</math>, then for all Template:Mvar and Template:Mvar in <math>\{1, 2 \ldots,\, n\},</math>
- <math>
\frac{\partial^2}{\partial x_i\, \partial x_j}f(\mathbf{p}) = \frac{\partial^2}{\partial x_j\, \partial x_i}f(\mathbf{p}).
</math>
The partial derivatives of this function commute at that point.
There exists a version of this theorem where <math>f</math> is only required to be twice differentiable at the point <math>\mathbf{p}</math>.
One easy way to establish this theorem (in the case where <math>n = 2</math>, <math>i = 1</math>, and <math>j = 2</math>, which readily entails the result in general) is by applying Green's theorem to the gradient of <math>f.</math>
An elementary proof for functions on open subsets of the plane is as follows (by a simple reduction, the general case for the theorem of Schwarz easily reduces to the planar case).<ref name=burkhill>Template:Harvnb</ref> Let <math>f(x,y)</math> be a differentiable function on an open rectangle <math>\Omega</math> containing a point <math>(a,b)</math> and suppose that <math>df</math> is continuous with continuous <math>\partial_x \partial _y f</math> and <math>\partial_y\partial_x f</math> over <math>\Omega.</math> Define
- <math>\begin{align}
u\left(h,\, k\right) &= f\left(a + h,\, b + k\right) - f\left(a + h,\, b\right), \\ v\left(h,\, k\right) &= f\left(a + h,\, b + k\right) - f\left(a,\, b + k\right), \\ w\left(h,\, k\right) &= f\left(a + h,\, b + k\right) - f\left(a + h,\, b\right) - f\left(a,\, b + k\right) + f\left(a,\, b\right).
\end{align}</math>
These functions are defined for <math>\left|h\right|,\, \left|k\right| < \varepsilon</math>, where <math>\varepsilon > 0 </math> and <math>\left[a - \varepsilon,\, a + \varepsilon\right] \times \left[b - \varepsilon,\, b + \varepsilon\right]</math> is contained in <math>\Omega.</math>
By the mean value theorem, for fixed Template:Mvar and Template:Mvar non-zero, <math>\theta, \theta', \phi, \phi'</math> can be found in the open interval <math> (0,1)</math> with
- <math>\begin{align}
w\left(h,\, k\right) &= u\left(h,\, k\right) - u\left(0,\, k\right) = h\, \partial_x u\left(\theta h,\, k\right) \\ &= h\,\left[\partial_x f\left(a + \theta h,\, b + k\right) - \partial_x f\left(a + \theta h,\, b\right)\right] \\ &= hk \, \partial_y \partial_x f\left(a + \theta h,\, b + \theta^\prime k\right) \\
w\left(h,\, k\right) &= v\left(h,\, k\right) - v\left(h,\, 0\right) = k\,\partial_y v\left(h,\, \phi k\right) \\ &= k\left[\partial_y f\left(a + h,\, b + \phi k\right) - \partial_y f\left(a,\, b + \phi k\right)\right] \\ &= hk\, \partial_x\partial_y f \left(a + \phi^\prime h,\, b + \phi k\right).
\end{align}</math>
Since <math>h,\,k \neq 0</math>, the first equality below can be divided by <math>hk</math>:
- <math>\begin{align}
hk\,\partial_y\partial_x f\left(a + \theta h,\, b + \theta^\prime k\right) &= hk \, \partial_x\partial_y f\left(a + \phi^\prime h,\, b + \phi k\right), \\ \partial_y\partial_x f\left(a + \theta h,\, b + \theta^\prime k\right) &= \partial_x\partial_y f\left(a + \phi^\prime h,\, b + \phi k\right).
\end{align}</math>
Letting <math>h,\,k</math> tend to zero in the last equality, the continuity assumptions on <math>\partial_y\partial_x f</math> and <math>\partial_x\partial_y f</math> now imply that
- <math>
\frac{\partial^2}{\partial x\partial y}f\left(a,\, b\right) = \frac{\partial^2}{\partial y\partial x}f\left(a,\, b\right).
</math>
This account is a straightforward classical method found in many text books, for example in Burkill, Apostol and Rudin.<ref name=burkhill/>Template:SfnTemplate:Sfn
Although the derivation above is elementary, the approach can also be viewed from a more conceptual perspective so that the result becomes more apparent.Template:SfnTemplate:SfnTemplate:SfnTemplate:SfnTemplate:Sfn Indeed the difference operators <math>\Delta^t_x,\,\,\Delta^t_y</math> commute and <math>\Delta^t_x f,\,\,\Delta^t_y f</math> tend to <math>\partial_x f,\,\, \partial_y f</math> as <math>t</math> tends to 0, with a similar statement for second order operators.Template:Efn Here, for <math>z</math> a vector in the plane and <math>u</math> a directional vector <math>\tbinom{1}{0}</math> or <math>\tbinom{0}{1}</math>, the difference operator is defined by
- <math>\Delta^t_u f(z)= {f(z+tu) - f(z)\over t}.</math>
By the fundamental theorem of calculus for <math>C^1</math> functions <math>f</math> on an open interval <math>I</math> with <math> (a,b) \subset I</math>
- <math>\int_a^b f^\prime (x) \, dx = f(b) - f(a).</math>
Hence
- <math>|f(b) - f(a)| \le (b-a)\, \sup_{c\in (a,b)} |f^\prime(c)|</math>.
This is a generalized version of the mean value theorem. Recall that the elementary discussion on maxima or minima for real-valued functions implies that if <math>f</math> is continuous on <math>[a,b]</math> and differentiable on <math>(a,b)</math>, then there is a point <math>c</math> in <math>(a,b)</math> such that
- <math> {f(b) - f(a) \over b - a} = f^\prime(c).</math>
For vector-valued functions with <math>V</math> a finite-dimensional normed space, there is no analogue of the equality above, indeed it fails. But since <math> \inf f^\prime \le f^\prime(c) \le \sup f^\prime</math>, the inequality above is a useful substitute. Moreover, using the pairing of the dual of <math>V</math> with its dual norm, yields the following inequality:
- <math>\|f(b) - f(a)\| \le (b-a)\, \sup_{c\in (a,b)} \|f^\prime(c)\|</math>.
These versions of the mean valued theorem are discussed in Rudin, Hörmander and elsewhere.Template:SfnTemplate:Sfn
For <math>f</math> a <math>C^2</math> function on an open set in the plane, define <math>D_1 = \partial_x</math> and <math> D_2 = \partial_y</math>. Furthermore for <math> t \ne 0</math> set
- <math>\Delta_1^t f(x,y) = [f(x+t,y)-f(x,y)]/t,\,\,\,\,\,\,\Delta^t_2f(x,y)=[f(x,y+t) -f(x,y)]/t</math>.
Then for <math>(x_0,y_0)</math> in the open set, the generalized mean value theorem can be applied twice:
- <math> \left|\Delta_1^t\Delta_2^t f(x_0,y_0) - D_1 D_2f(x_0,y_0)\right|\le \sup_{0\le s \le 1} \left|\Delta_1^t D_2 f(x_0,y_0 + ts) -D_1D_2 f(x_0,y_0)\right|\le \sup_{0\le r,s\le 1} \left|D_1D_2f(x_0+tr,y_0+ts) - D_1D_2f(x_0,y_0)\right|.</math>
Thus <math>\Delta_1^t\Delta_2^t f(x_0,y_0)</math> tends to <math>D_1 D_2f(x_0,y_0)</math> as <math>t</math> tends to 0. The same argument shows that <math>\Delta_2^t\Delta_1^t f(x_0,y_0)</math> tends to <math>D_2 D_1f(x_0,y_0)</math>. Hence, since the difference operators commute, so do the partial differential operators <math>D_1</math> and <math>D_2</math>, as claimed.Template:SfnTemplate:SfnTemplate:SfnTemplate:SfnTemplate:Sfn
Remark. By two applications of the classical mean value theorem,
- <math>\Delta_1^t\Delta_2^t f(x_0,y_0)= D_1 D_2 f(x_0+t\theta,y_0 +t\theta^\prime)</math>
for some <math>\theta</math> and <math>\theta^\prime</math> in <math>(0,1)</math>. Thus the first elementary proof can be reinterpreted using difference operators. Conversely, instead of using the generalized mean value theorem in the second proof, the classical mean valued theorem could be used.
Proof of Clairaut's theorem using iterated integralsEdit
The properties of repeated Riemann integrals of a continuous function Template:Mvar on a compact rectangle Template:Math are easily established.Template:Sfn The uniform continuity of Template:Mvar implies immediately that the functions <math>g(x)=\int_c^d F(x,y)\, dy</math> and <math>h(y)=\int_a^b F(x,y)\, dx</math> are continuous.Template:Sfn It follows that
- <math>\int_a^b \int_c^d F(x,y) \, dy\, dx = \int_c^d \int_a^b F(x,y) \, dx \, dy</math>;
moreover it is immediate that the iterated integral is positive if Template:Mvar is positive.Template:Sfn The equality above is a simple case of Fubini's theorem, involving no measure theory. Template:Harvtxt proves it in a straightforward way using Riemann approximating sums corresponding to subdivisions of a rectangle into smaller rectangles.
To prove Clairaut's theorem, assume Template:Mvar is a differentiable function on an open set Template:Mvar, for which the mixed second partial derivatives Template:Math and Template:Math exist and are continuous. Using the fundamental theorem of calculus twice,
- <math>\int_c^d \int_a^b f_{yx}(x,y) \, dx \, dy = \int_c^d f_y(b,y) - f_y(a,y) \, dy = f(b,d)-f(a,d)-f(b,c)+f(a,c).</math>
Similarly
- <math>\int_a^b \int_c^d f_{xy}(x,y) \, dy \, dx = \int_a^b f_x(x,d) - f_x(x,c) \, dx = f(b,d)-f(a,d)-f(b,c)+f(a,c).</math>
The two iterated integrals are therefore equal. On the other hand, since Template:Math is continuous, the second iterated integral can be performed by first integrating over Template:Mvar and then afterwards over Template:Mvar. But then the iterated integral of Template:Math on Template:Math must vanish. However, if the iterated integral of a continuous function function Template:Mvar vanishes for all rectangles, then Template:Mvar must be identically zero; for otherwise Template:Mvar or Template:Math would be strictly positive at some point and therefore by continuity on a rectangle, which is not possible. Hence Template:Math must vanish identically, so that Template:Math everywhere.Template:SfnTemplate:SfnTemplate:SfnTemplate:Sfn<ref>Template:Citation</ref>
Sufficiency of twice-differentiabilityEdit
A weaker condition than the continuity of second partial derivatives (which is implied by the latter) which suffices to ensure symmetry is that all partial derivatives are themselves differentiable.Template:Sfn Another strengthening of the theorem, in which existence of the permuted mixed partial is asserted, was provided by Peano in a short 1890 note on Mathesis:
- If <math>f:E \to \mathbb{R}</math> is defined on an open set <math>E \subset \R^2</math>; <math>\partial_1 f(x,\, y)</math> and <math> \partial_{2,1}f(x,\, y)</math> exist everywhere on <math>E</math>; <math>\partial_{2,1}f</math> is continuous at <math>\left(x_0,\, y_0\right) \in E</math>, and if <math>\partial_{2}f(x,\, y_0)</math> exists in a neighborhood of <math>x = x_0</math>, then <math>\partial_{1,2}f</math> exists at <math>\left(x_0,\, y_0\right)</math> and <math>\partial_{1,2}f\left(x_0,\, y_0\right) = \partial_{2,1}f\left(x_0,\, y_0\right)</math>.Template:Sfn
Distribution theory formulationEdit
The theory of distributions (generalized functions) eliminates analytic problems with the symmetry. The derivative of an integrable function can always be defined as a distribution, and symmetry of mixed partial derivatives always holds as an equality of distributions. The use of formal integration by parts to define differentiation of distributions puts the symmetry question back onto the test functions, which are smooth and certainly satisfy this symmetry. In more detail (where f is a distribution, written as an operator on test functions, and φ is a test function),
- <math>\left(D_1 D_2 f\right)[\phi] = -\left(D_2f\right)\left[D_1\phi\right] = f\left[D_2 D_1\phi\right] = f\left[D_1 D_2\phi\right] = -\left(D_1 f\right)\left[D_2\phi\right] = \left(D_2 D_1 f\right)[\phi].</math>
Another approach, which defines the Fourier transform of a function, is to note that on such transforms partial derivatives become multiplication operators that commute much more obviously.Template:Efn
Requirement of continuityEdit
The symmetry may be broken if the function fails to have differentiable partial derivatives, which is possible if Clairaut's theorem is not satisfied (the second partial derivatives are not continuous).
An example of non-symmetry is the function (due to Peano)Template:SfnTemplate:Sfn Template:NumBlk
This can be visualized by the polar form <math>f(r \cos(\theta), r\sin(\theta)) = \frac{r^2 \sin(4\theta)}{4}</math>; it is everywhere continuous, but its derivatives at Template:Nowrap cannot be computed algebraically. Rather, the limit of difference quotients shows that <math>f_x(0,0) = f_y(0,0) = 0</math>, so the graph <math>z = f(x, y)</math> has a horizontal tangent plane at Template:Nowrap, and the partial derivatives <math>f_x, f_y</math> exist and are everywhere continuous. However, the second partial derivatives are not continuous at Template:Nowrap, and the symmetry fails. In fact, along the x-axis the y-derivative is <math>f_y(x,0) = x</math>, and so:
- <math>
f_{yx}(0,0) = \lim_{\varepsilon \to 0} \frac{f_y(\varepsilon,0) - f_y(0,0)}{\varepsilon} = 1.
</math>
In contrast, along the y-axis the x-derivative <math>f_x(0,y) = -y</math>, and so <math>f_{xy}(0,0) = -1</math>. That is, <math>f_{yx} \ne f_{xy}</math> at Template:Nowrap, although the mixed partial derivatives do exist, and at every other point the symmetry does hold.
The above function, written in polar coordinates, can be expressed as
- <math>f(r,\, \theta) = \frac{r^2 \sin{4\theta}}{4},</math>
showing that the function oscillates four times when traveling once around an arbitrarily small loop containing the origin. Intuitively, therefore, the local behavior of the function at (0, 0) cannot be described as a quadratic form, and the Hessian matrix thus fails to be symmetric.
In general, the interchange of limiting operations need not commute. Given two variables near Template:Nowrap and two limiting processes on
- <math>f(h,\, k) - f(h,\, 0) - f(0,\, k) + f(0,\, 0)</math>
corresponding to making h → 0 first, and to making k → 0 first. It can matter, looking at the first-order terms, which is applied first. This leads to the construction of pathological examples in which second derivatives are non-symmetric. This kind of example belongs to the theory of real analysis where the pointwise value of functions matters. When viewed as a distribution the second partial derivative's values can be changed at an arbitrary set of points as long as this has Lebesgue measure 0. Since in the example the Hessian is symmetric everywhere except Template:Nowrap, there is no contradiction with the fact that the Hessian, viewed as a Schwartz distribution, is symmetric.
In Lie theoryEdit
Consider the first-order differential operators Di to be infinitesimal operators on Euclidean space. That is, Di in a sense generates the one-parameter group of translations parallel to the xi-axis. These groups commute with each other, and therefore the infinitesimal generators do also; the Lie bracket
- [Di, Dj] = 0
is this property's reflection. In other words, the Lie derivative of one coordinate with respect to another is zero.
Application to differential formsEdit
The Clairaut-Schwarz theorem is the key fact needed to prove that for every <math>C^\infty</math> (or at least twice differentiable) differential form <math>\omega\in\Omega^k(M)</math>, the second exterior derivative vanishes: <math>d^2\omega := d(d\omega) = 0</math>. This implies that every differentiable exact form (i.e., a form <math>\alpha</math> such that <math>\alpha = d\omega</math> for some form <math>\omega</math>) is closed (i.e., <math>d\alpha = 0</math>), since <math>d\alpha = d(d\omega) = 0</math>.Template:Sfn
In the middle of the 18th century, the theory of differential forms was first studied in the simplest case of 1-forms in the plane, i.e. <math>A\,dx + B\,dy</math>, where <math>A</math> and <math>B</math> are functions in the plane. The study of 1-forms and the differentials of functions began with Clairaut's papers in 1739 and 1740. At that stage his investigations were interpreted as ways of solving ordinary differential equations. Formally Clairaut showed that a 1-form <math>\omega = A \, dx + B \, dy</math> on an open rectangle is closed, i.e. <math>d\omega=0</math>, if and only <math>\omega</math> has the form <math>df</math> for some function <math>f</math> in the disk. The solution for <math>f</math> can be written by Cauchy's integral formula
- <math>f(x,y)=\int_{x_0}^x A(x,y)\, dx + \int_{y_0} ^y B(x,y)\, dy;</math>
while if <math> \omega= df</math>, the closed property <math> d\omega=0</math> is the identity <math>\partial_x\partial_y f = \partial_y\partial_x f</math>. (In modern language this is one version of the Poincaré lemma.)Template:Sfn
NotesEdit
Template:Notelist Template:Reflist
ReferencesEdit
- Template:Citation
- Template:Cite book
- Template:Citation
- Template:Citation
- Template:Citation
- Template:Citation
- Template:Citation (reprinted 1978)
- Template:Citation
- Template:Citation
- Template:Citation
- Template:Citation
- Template:Citation
- Template:Citation
- Template:Cite journal
- Template:Citation
- Template:Citation
- Template:Citation
- Template:Cite journal
- Template:Citation
- Template:Citation
- Template:Cite book
- Template:Cite book
- Template:Citation
- Template:Citation
- Template:Citation
- Template:Citation
- Template:Citation
- Template:Citation
- Template:Cite journal
- Template:Citation
- Template:Citation
- Template:Citation
- Template:Citation
- Template:Citation
- Template:Citation
- Template:Citation
- Template:Citation