58

I've been trying to solve the following problem:

Suppose that $f$ and $f'$ are continuous functions on $\mathbb{R}$, and that $\displaystyle\lim_{x\to\infty}f(x)$ and $\displaystyle\lim_{x\to\infty}f'(x)$ exist. Show that $\displaystyle\lim_{x\to\infty}f'(x) = 0$.

I'm not entirely sure what to do. Since there's not a lot of information given, I guess there isn't very much one can do. I tried using the definition of the derivative and showing that it went to $0$ as $x$ went to $\infty$ but that didn't really work out. Now I'm thinking I should assume $\displaystyle\lim_{x\to\infty}f'(x) = L \neq 0$ and try to get a contradiction, but I'm not sure where the contradiction would come from.

Could somebody point me in the right direction (e.g. a certain theorem or property I have to use?) Thanks

Hans Lundmark
  • 53,395
saurs
  • 1,377
  • 9
    Hint: What is $\lim_{x \to \infty} \frac{f(x)}{x}$? – N. S. May 31 '11 at 05:14
  • @N.S. what is that ration give at the end? what is your point? – Guy Fsone Jan 29 '18 at 16:17
  • 6
    Surprised nobody has made this comment earlier - to see why you need to assume $\lim_{x\to \infty} f'(x)$ exists, consider the function $f(x) = \frac{\sin(x^2)}{x}$. Then $\lim_{x\to \infty} f(x) = 0$, yet $\limsup_{x\to \infty} f'(x) = 2$ and $\liminf_{x\to \infty} f'(x) = -2$, so $\lim_{x\to \infty} f'(x)$ does not exist. – Daniel Schepler Jan 29 '18 at 23:29
  • @Dan Probably because that exact example (and many others) are already given in the complete table of all possible combinations of limits of $f$ and $f'$ in the article cited in my answer (I posted the table $10$ years prior, and linked to it in my first comment on my answer below). – Bill Dubuque Apr 04 '23 at 22:24

6 Answers6

77

Apply a L'Hospital slick trick: $\, $ if $\rm\ f + f\,'\!\to L\ $ as $\rm\ x\to\infty\ $ then $\rm\ f\to L,\ f\,'\!\to 0,\, $ since

$$\rm \lim_{x\to\infty} f(x)\, =\, \lim_{x\to\infty}\frac{e^x\ f(x)}{e^x}\, =\, \lim_{x\to\infty}\frac{e^x\ (f(x)+f\,'(x))}{e^x}\, =\, \lim_{x\to\infty}\, (f(x)+f'(x))\qquad $$

This application of L'Hôpital's rule achieved some notoriety because the problem appeared in Hardy's classic calculus texbook A Course of Pure Mathematics, but with a less elegant solution. For example, see Landau; Jones: A Hardy Old Problem, Math. Magazine 56 (1983) 230-232.

Bill Dubuque
  • 272,048
  • You also need to assume that either $\lim \limits_\infty f$ or $\lim \limits_\infty f'$ exists. – Git Gud Apr 14 '14 at 20:35
  • 1
    @GitGud Not true, see the table in the article, or see the excerpt in this answer. – Bill Dubuque Apr 14 '14 at 21:00
  • 1
    Of course you're right, I had missed something. Thank you. – Git Gud Apr 14 '14 at 21:11
  • Wouldn't you need to assume that $\lim e^x f(x) = \infty$? Because otherwise you can't apply L'Hopital rule.. Or am I missing something? – Ant Jun 30 '14 at 18:40
  • @Ant See the link in my prior comment. – Bill Dubuque Jun 30 '14 at 18:50
  • @Bill Dubuque - so as you approach Infinity, the Derivative should return Zero? EG: delta *= Derivative | where Derivative is Zero before it is Infinity? Or should this be One instead of Zero? – Rusty Nail Feb 22 '16 at 23:17
  • @Chris See the answer linked in my first comment, – Bill Dubuque Jun 18 '16 at 23:35
  • I just came across this answer (again) because I used it as a duplicate target. Forgive me asking: Is there a reason for that horrible formatting with all those \rm, \, \, etc? – Martin R Jul 21 '22 at 16:49
  • @MartinR Yes, early version of MathJax rendered atrociously on some platforms so that was a workaround. Most of those problems have since been fixed, but I see no good reason to update hundreds of old posts since they still look fine nowadays (does it render poorly in your browser?) – Bill Dubuque Jul 21 '22 at 16:53
  • 1
    @BillDubuque: I just looks bad to me (like formulas typeset in Word :) But never mind, I was just curious. – Martin R Jul 21 '22 at 16:56
  • @MartinR I never used Word for math. In fact I was one of the first users of $\TeX$ at MIT (one of my Macsyma colleagues did the first $\TeX$ port there). I can still recall the puzzled looks I got from Artin and Munkres when I handed in my problem sets in $\TeX$ – Bill Dubuque Jul 21 '22 at 17:09
17

Hint: If you assume $\lim _{x \to \infty } f'(x) = L \ne 0$, the contradiction would come from the mean value theorem (consider $f(x)-f(M)$ for a fixed but arbitrary large $M$, and let $x \to \infty$).

Explained: If the limit of $f(x)$ exist, there is a horizontal asymptote. Therefore as the function approaches infinity it becomes more linear and thus the derivative approaches zero.

Janko Bracic
  • 3,013
Shai Covo
  • 24,077
  • Ah ok, so $\displaystyle\lim_{x\to\infty}\frac{f(x) - f(M)}{x - M} = 0$, right? (Which I suppose is what user9176 was implying.) So just to make sure I'm clear on this, if we take $\frac{f(x) - f(M)}{x - M} = f'(c)$ for some $c \in (M, x)$ then as $x \to \infty$ the left-hand side goes to $0$. And since we take $M$ arbitrarily large does it follow that $c \to \infty$, and hence $\displaystyle\lim_{c \to \infty}f'(c) = 0$? – saurs May 31 '11 at 06:37
  • @sarus: I suggest proving the result by contradiction, that is by assuming $\lim _{x \to \infty } f'(x) = L \ne 0$ (as you originally tried). It may be comfortable for you to split into the cases $L>0$ and $L<0$. – Shai Covo May 31 '11 at 06:52
  • OK, I've got it now. Thanks for the help. – saurs May 31 '11 at 07:47
  • What's wrong with swapping the order of the limits? – Gordon Childs May 31 '11 at 18:30
  • @Rhythmic Fistman: Can you please be more specific? – Shai Covo May 31 '11 at 19:03
  • @Shai Covo: I mean naively changing the order of the x limit and the limit implicit* in the derivative. The MVT seems a little heavy handed for this result (no offence), I was hoping for a more minimal proof. * I'm also hoping to be reminded why you can't do this in general. – Gordon Childs May 31 '11 at 21:21
  • @Rhythmic Fistman: Your intention is still unclear. You may wish to elaborate on your idea in a new answer, starting with "this is too long to be a comment" etc. (or, of course, elaborate in a new comment below). Anyway, take into account that MVT is a very elementary tool, as far as rigorous proofs are concerned. – Shai Covo May 31 '11 at 21:53
  • This is question about the limit of a derivate, but the derivate is itself a limit - so you have two limits. If you exchange their order, the result is obviously zero. Is this a simpler proof or is the limit exchange step wrong or difficult to justify? – Gordon Childs Jun 02 '11 at 09:15
  • @Rhythmic Fistman: I finally understand your question. In general, such steps are either wrong or difficult to justify. I'll consider this specific case (but not soon) and let you know if I find something useful to say. – Shai Covo Jun 02 '11 at 10:12
  • @Rhythmic Fistman: See my new answer... – Shai Covo Jun 02 '11 at 15:03
  • @Shai Covo I really like the idea of proving by contradiction. So if $L>0$, then there is some $N$ such that – math101 Jan 23 '15 at 07:07
17

You know that $\lim_{x \to \infty}f(x)$ and $\lim_{x \to \infty}f^{'}(x)$ exists. Then by Lagrange's theorem there exists $c_n \in (n,n+1)$ such that $f(n+1)-f(n)=f^{'}(c_n)$ Taking the limit as $n \to \infty$ you get that $\lim_{n \to \infty}f'(c_n)=0$. Since the limit exists, and there exists a sequence for which the limit of the function is $0$ it follows that $\lim_{n \to \infty}f^{'}(x)=0$.

rlartiga
  • 4,205
  • 1
  • 14
  • 24
Beni Bogosel
  • 23,381
15

To expand a little on my comment, since $\lim_{x \to \infty} f(x) = L$, we get

$$\lim_{x \to \infty} \frac{f(x)}{x} =0 \,.$$

But also, since $\lim_{x \to \infty} f'(x)$ exists, by L'Hospital we have

$$\lim_{x \to \infty} \frac{f(x)}{x}= \lim_{x \to \infty} f'(x) \,.$$

Note that using the MTV is basically the same proof, since that's how one proves the L'H in this case....

P.S. I know that if $L \neq 0$ one cannot apply L'H to $\frac{f(x)}{x}$, but one can cheat in this case: apply L'H to $\frac{xf(x)}{x^2}$ ;)

N. S.
  • 132,525
  • 3
    This a nice answer. As for the P.S., rather than your "cheat", it seems more natural to just replace $f(x)$ with $f(x) - L$, doesn't it? – Pete L. Clark May 31 '11 at 15:17
  • :) we all miss simple things, eh? – N. S. May 31 '11 at 19:35
  • well, I can't speak for "all", but I know I do... – Pete L. Clark Jun 01 '11 at 16:54
  • @N.S.Sorry if this seems like a silly question, but to use L'Hopital doesn't the fraction $f(x)/g(x)$ have to be either of $0/0 \ , \ \infty / \infty \ or \ -\infty / -\infty$ in this case as $x$ goes to infinity $f(x)$ goes to 0 while $x$ goes to $\infty$ so you have a fraction of the form $0 / \infty$?? can you still use l'hopital for this? – otupygak May 30 '14 at 20:14
  • 1
    @Kimo L'H can actually be applied for $\frac{anything}{\infty}$. Check the second case of this proof: http://en.wikipedia.org/wiki/L%27H%C3%B4pital%27s_rule#General_proof – N. S. May 30 '14 at 20:25
7

This is in response to an interesting observation made by Rhythmic Fistman in a comment below my (first) answer. We suppose that $\lim _{x \to \infty } f'(x) = L$ for some $L \in \mathbb{R}$. Then, from the definition of the derivative, $$ L = \mathop {\lim }\limits_{x \to \infty } \mathop {\lim }\limits_{h \to 0} \frac{{f(x + h) - f(x)}}{h}. $$ As Rhythmic Fistman observed, naively changing the order of the limits gives rise to the equality $$ L = \mathop {\lim }\limits_{h \to 0} \mathop {\lim }\limits_{x \to \infty } \frac{{f(x + h) - f(x)}}{h} = 0, $$ where the last equality follows from the assumption that $\lim _{x \to \infty } f(x)$ exists (finite). ``Hence'' the desired result $\lim _{x \to \infty } f'(x) = 0$. However, as the following counterexample shows, this procedure is not allowed in principle. Define a two-variable function $f$ by $f(x,h)=xe^{-|h|x}$. Analogously to the case in the original question (where the role of $f(x,h)$ is played by $\frac{{f(x + h) - f(x)}}{h}$), $$ \mathop {\lim }\limits_{x \to \infty } f(x,h) = \mathop {\lim }\limits_{x \to \infty } xe^{ - |h|x} = 0, $$ for any $h \neq 0$. Hence, $$ \mathop {\lim }\limits_{h \to 0} \mathop {\lim }\limits_{x \to \infty } f(x,h) = 0. $$ Also, for any $x \in \mathbb{R}$, $$ \mathop {\lim }\limits_{h \to 0} f(x,h) = \mathop {\lim }\limits_{h \to 0} xe^{ - |h|x} = x $$ (this is analogous to the case in the original question, where $f'$ is assumed continuous on $\mathbb{R}$). Hence, $$ \mathop {\lim }\limits_{x \to \infty } \mathop {\lim }\limits_{h \to 0} f(x,h) = \infty \neq 0 = \mathop {\lim }\limits_{h \to 0} \mathop {\lim }\limits_{x \to \infty } f(x,h). $$

Shai Covo
  • 24,077
  • 1
    Thanks, good counter example, I think I get it. So in general limits don't commute - are there any conditions under which they do? – Gordon Childs Jun 08 '11 at 21:15
  • 1
    @Rhythmic Fistman: For nontrivial conditions, this paper may be relevant: http://elib.mi.sanu.ac.rs/files/journals/publ/32/18.pdf – Shai Covo Jun 09 '11 at 14:34
  • 1
    @Rhythmic Fistman: You may find the following very useful: http://58.20.53.14/ec/C404/Course/jiaoan/13-4.pdf – Shai Covo Jun 09 '11 at 14:41
2

The Mean value theorem,reveals that, for each $x$ there exists $c_x\in (x,x+1)$ such that

$$f'(c_x)=f(x+1)-f(x)$$

Hence since, $c_x\to\infty$ as $x\to\infty$ we have

$$\lim_{x\to \infty}f'(x)=\lim_{x\to \infty}f'(c_x) =\lim_{x\to \infty}[f(x+1)-f(x)] =0 $$

Guy Fsone
  • 23,903