5
$\begingroup$

The standard definition is that a function $f:\mathbb{R}^n\to \mathbb{R}$ is differentiable at a point $x$ if there exists a linear map $\mathrm{d}f_x: \mathbb{R}^n \to \mathbb{R}$ such that

$$f(x+h) = f(x) + \mathrm{d}f_x(h) + \epsilon \|h\|$$

where $\epsilon\to 0$ as $h\to 0$. This is stronger than the existence of all partial (or directional) derivatives, but weaker than their continuity. However, when talking about higher differentiability, one usually switches to talking about partial derivatives, asking them to be continuous in order to prove basic properties.

Suppose that instead we define $f$ to be "twice differentiable" at $x$ if in addition to $\mathrm{d}f_x$ as above there exists a quadratic form $\mathrm{d}^2f_x$ such that

$$f(x+h) = f(x) + \mathrm{d}f_x(h) + \frac{1}{2}\mathrm{d}^2f_x(h) + \epsilon \|h\|^2$$

where $\epsilon\to 0$ as $h\to 0$. This is true if $f$ has continous second-order partials (it's the multidimensional Taylor expansion, with $\mathrm{d}^2f_x$ the Hessian matrix).

  1. Does this imply that all second-order partial derivatives of $f$ exist?
  2. If so, does it imply that the mixed second-order partials are equal?
$\endgroup$
16
  • $\begingroup$ I am not sure. I will think some about this. My definition of higher order differentiability would be the following: First $f$ needs to be differentiable in a nbhd of $p$. Then $f$ is twice differentiable at $p$ if there is a bilinear form $D^2f(p)$ such that $Df(p+v_1)(v_2) = Df(p)(v_2)+D^2f(v_1,v_2)+\epsilon |v_1||v_2|$. For some reason it is very hard to find sources where people talk about the second derivative as a bilinear form rather than just a quadratic form. $\endgroup$ May 6, 2014 at 21:31
  • $\begingroup$ You may also be interested in my online course with Jim Fowler here: ximera.osu.edu/course/kisonecat/m2o2c2/course/activity/week1. It is a little buggy, and a little sparse in terms of examples, but it covers this perspective on higher order derivatives in a kind of "interactive textbook" format. $\endgroup$ May 6, 2014 at 21:36
  • 5
    $\begingroup$ See Chapter XIII, section 3--6 of Lang's "Real and Functional Analysis" for a very elegant treatment under which higher derivatives are defined via multilinear maps and moreover the $p$th higher derivative is genuinely the "derivative" of the $(p-1)$th. One virtue of this approach is that it permits both a formulation and proof of the higher-dimensional Taylor formula which looks and feels exactly like the 1-dimensional case (with the mess of factorials hidden away within a clean formalism); of course, one can bust out coordinates and recover the usual messier explicit version from that. $\endgroup$
    – user76758
    May 6, 2014 at 21:47
  • 1
    $\begingroup$ The first derivative of $f$ at $a$ is the linear function of $h$ that best approximates $f(a+h)-f(a)$. The second derivative of $f$ at $a$ is the bilinear function of $(h_1,h_2)$ that best approximates $f(a+h_1+h_2)-f(a+h_1)-f(a+h_2)+f(a)$. Etc. $\endgroup$ May 7, 2014 at 12:13
  • 1
    $\begingroup$ In case anyone is still watching this question, I am puzzled. On p183 of Strichartz' The Way of Analysis, after proving the second-order Taylor approximation to a $C^2$ function, he says "We will not discuss the problem of obtaining a converse kind of statement, deducing the existence of the second derivative from the existence of quadratic polynomial approximations, because such theorems are extremely difficult to prove and have few applications." But that implies that such theorems exist, which the answers to this question seem to deny. Can anyone guess what he had in mind? $\endgroup$ May 12, 2014 at 22:16

3 Answers 3

8
$\begingroup$

The funny thing is that I got almost the same question from one of my student last semester. The idea was to neglect both the linear and quadratic parts of the hypothetical expansion (without loss of generality, we may assume they are zero), and focus on $ \epsilon \|h\|^2$. We came to the following (obvious) one-dimensional counterexample:

$$f(h) = h^3 \sin(\frac{1}{h})$$

for $h \not= 0$, and: $$f(0) = 0$$

$\endgroup$
1
  • $\begingroup$ This example makes it clear that the issue is not that the first derivative might fail to exist (except at the point in question), so that it can't possibly have its own derivative. In this case, the first derivative exists everywhere and is even continuous, just not differentiable at zero. $\endgroup$ Apr 8, 2019 at 18:15
5
$\begingroup$

No, if I understand the question right, not even in one variable. Let $f(x)$ be $x^3g(x)$ where $g$ is bounded and, except at $x=0$, infinitely differentiable. If $g$ oscillates fast enough near $x=0$ then even though it is the sum of a degree two polynomial (namely zero) and an error term of the kind you are allowing, it will not have a second derivative at $0$.

$\endgroup$
3
$\begingroup$

Thanks Michal and Tom for the answer. Let me improve on it slightly with an example of a function which is well-approximated by a polynomial of every degree near 0 (in fact, the zero polynomial), but is still not even twice differentiable there:

$$f(x) = e^{-1/x^2} \sin(e^{1/x^2}) $$

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.