50

Is there a $C^{2}$-function $f:\mathbb{R}\to\mathbb{R}$ that is bounded and such that $f'(x)$ is unbounded, but $f''(x)$ is bounded again? For example, $f(x)=\sin(x^2)$ is bounded and has unbounded derivative $f'(x)$, but its second derivative is also unbounded.

edit: Thanks for the great answer. The reason I came up with this question, was the following:

I'd like to find a bounded continuous function $f:\mathbb{R}\to\mathbb{R}$ such that

$\int_{-\infty}^{+\infty}\frac{1}{\sqrt{2\pi t}}e^{-(y-x)^2/2t}f(y)dy -f(x)=\frac{1}{\sqrt{2\pi}}\int_{-\infty}^{+\infty} e^{-y^2/2}(f(x+\sqrt{t}y)-f(x))dy$

does NOT uniformly converge to $0$ for $t\to 0+$. Any help would be much appreciated.

Steven
  • 567
  • 3
    Very good question! – Pete L. Clark May 13 '11 at 03:19
  • It would be interesting to investigate restrictions leading to the affirmative. – AD - Stop Putin - May 13 '11 at 06:40
  • @Pete,Steve: +1, Yes. Exactly the one which was in my mind couple of days ago. –  May 13 '11 at 07:29
  • You should ask a new question instead of inserting an edit like that in there. – Glen Wheeler May 14 '11 at 09:02
  • Oh yes, I actually have: http://math.stackexchange.com/q/38995/10771. But I forgot to mention it here or delete the edit. Sorry. – Steven May 14 '11 at 18:46
  • 2
    Exercise 5.15 in Rudin's Principles of Mathematical Analysis is a quantitative version of this problem. (In a rare moment of candor, Rudin sketches an argument--- basically Giuseppe Negro's argument below, but adapted to his textbook's formulation of Taylor's theorem, and with a slightly better constant. An example is given showing that his constant is in a certain sense the best possible.) – leslie townes Oct 23 '11 at 22:10
  • 1
    Someone suggested an edit that replaced $\sin x^2$ with $\sin \frac1{x^2}$, saying that the former doesn't have unbounded derivative. To them, two things: (1) given that the domain is all of $\mathbb R$, yes it does, and (2) you should leave a comment instead of making unilateral changes that potentially change the meaning of the question. –  Jul 27 '12 at 13:34
  • @leslietownes 'rare moment of candor' – copper.hat Dec 24 '24 at 20:20

2 Answers2

44

No, this can't occur. Suppose $f'(x)$ were unbounded but $|f''(x)| < M$ for some $M$. Then for any $N$ you could find some $x_n$ with $|f'(x_n)| > N$. By the mean value theorem for any $y \neq x_n$ one has $$|f'(y) - f'(x_n)| < M|y - x_n|$$ So if $y$ is such that $|y - x_n| < {N \over 2M}$ then $$|f'(y)- f'(x_n)| < M {N \over 2M} = {N \over 2}$$ Since $|f'(x_n)| > N$, this would mean $|f'(y)| > {N \over 2}$, and furthermore by continuity of $f'$, one necessarily has that $f'(y)$ has the same sign as $f'(x_n)$. So integrating one has $$\left|f\left(x_n + {N \over 2M}\right) - f(x_n)\right| = \left|\int_{x_n}^{x_n + {N \over 2M}} f'(y)\,dy\,\right|$$ $$> \left|\int_{x_n}^{x_n + {N \over 2M}} {N \over 2}\,dy\,\right|= {N^2 \over 4M}$$ By the triangle inequality, $|f(x_n + {N \over 2M}) - f(x_n)| \leq |f(x_n + {N \over 2M})| +|f(x_n)|$. So by the above equation, at least one of $|f(x_n + {N \over 2M})|$ and $|f(x_n)|$ is greater than ${N^2 \over 8M}$. You can do this for any $N$, so $f(x)$ must be unbounded.

Zarrax
  • 46,591
  • 1
    On the other hand, without needing $f$ to be bounded ... – Glen Wheeler May 13 '11 at 08:13
  • @Glen: You mean $f$ and $f'$ unbounded and $f''$ bounded? This can happen, just look at $x \mapsto x^2$ from the real line to itself. – Gunnar Þór Magnússon May 14 '11 at 13:12
  • 1
    @Gunnar indeed, that being my point. (This is a weak "sharpness" observation...) – Glen Wheeler May 14 '11 at 18:17
  • nice proof have you think about using weak derivative or almost pointwise derivatives? – checkmath Jul 16 '12 at 18:53
  • What this is saying in words is the following: If $f''$ is bounded and $f'$ is unbounded, we can take some $x_n$ at which $f'$ is large. But then since $f''$ is bounded, this means that $f'$ is not just large at $x_n$ but even on a large interval around $x_n$. But now since $f'$ is large on some large interval around $x_n$, the values of $f$ at the endpoints of this large interval must differ massively, so at least one of them must be massive. So $f$ must be unbounded. – Smiley1000 Dec 24 '24 at 23:37
31

I would like to propose an alternative proof.

Let $f \in C^2(\mathbb{R})$ and suppose that $f$ and $f''$ are bounded; $$\lvert f(x) \rvert \le C_0, \quad \lvert f''(x) \rvert \le C_2.$$

Then $$\lvert f'(x)\rvert \le 2\sqrt{C_0 C_2},$$ so in particular $f'$ is bounded.

Proof. We fix $x\in \mathbb{R}$ and write a first-order Taylor expansion of $f$ around $x$; $$f(x+h)-f(x)= f'(x)h+\int_{x}^{x+h} f''(t)(x+h-t)\, dt,$$

so, rearranging terms, we obtain the estimate $$\tag{1}\lvert f'(x)\rvert \le \frac{2C_0}{\lvert h\rvert}+C_2\lvert h\rvert ,\qquad \forall h\ne 0.$$ The right hand side attains its minimum value for $h=2\sqrt{\frac{C_0}{C_2}}$, so
$$\lvert f'(x)\rvert \le 2 \sqrt{C_0C_2}.$$ This concludes the proof.

Remark 1. Martin R points out in the comments that the bound can be improved to $$\lvert f'(x)\rvert \le \sqrt 2 \sqrt{C_0C_2}.$$

Remark 2. Here we used that $f$ is smooth on the whole real line. If $f$ is smooth only on a bounded interval $I$, then I think that the bound can be worse. Indeed, in the proof it could be that the choice of $\lvert h\rvert$ that minimizes the right-hand side of (1) is not available, because $x+h$ falls outside of $I$. But I don't have an explicit example.

  • 1
    The final inequality, with $2\sqrt 2$ replaced by a non-explicit constant, can be obtained as an application of the closed graph theorem. See the book "Functional Analysis", Eidelman - Milman - Tsolomitis, Theorem 9.3.4 pag.134. – Giuseppe Negro Aug 23 '17 at 10:21
  • You actually have $\lvert f'(x)\rvert \le \dfrac{2C_0}{h}+\dfrac{C_2h}{2}$. That gives $\lvert f'(x)\rvert \le 2\sqrt{C_0C_2}$ as in https://math.stackexchange.com/q/257020/42969. – A discrete analogue of this question is currently discussed at https://math.stackexchange.com/q/3397548/42969. – Martin R Oct 18 '19 at 11:36
  • @MartinR: Oh, you are right, that improves the constant by a factor of $\sqrt 2$. Is $2\sqrt{C_0C_2}$ the best possible constant? I guess so. – Giuseppe Negro Oct 18 '19 at 12:43
  • 2
    According to Landau–Kolmogorov inequality, $C(2, 1, \Bbb R) = 2$ is the sharp bound for this case. – Martin R Oct 18 '19 at 13:08
  • 2
    The sharp bound is $|f'(x)| \le \sqrt 2 \sqrt{C_0 C_2}$, compare https://math.stackexchange.com/q/3622187/42969. – Martin R Apr 13 '20 at 11:49
  • I originally saw this inequality in "A Mathematician's Miscellany" by J. E. Littlewood, a book I enthusiastically recommend. It has been republished as "Littlewood's Miscellany" and is currently available. – marty cohen Apr 19 '20 at 04:45