1

Edit: n is a positive integer.

enter image description here

As an extra question, how could I apply L'Hopital's rule to an expresion coming from the definition of a derivative? i.e.

$$ \frac{f''(x)}{2} = \lim_{h \to 0}\dfrac {f(x+h) - f(x) -f'(x)h}{h^2} $$

is the denominator what confuses me. How could I differentiate it if it's basically a constant?

Perta
  • 41

3 Answers3

2

If you apply L'Hopital to a limit for $h\to 0$, you must make derivatives with respect to $h$.

0

There is a way to compute $f^{(n)}$ without restoring to any derivatives of $f$, namely $$f^{(n)}(x)=\lim_{h\to0}\dfrac{\sum_{k=0}^{n}(-1)^{n-k}\binom{n}{k}f(x+kh)}{h^n}.$$

Michael Hoppe
  • 18,764
0

First let me clarify few things. We have the following theorem:

If $f^{(n)}(a)$ exists then $$ \frac{f^{(n)}(a)}{n!} = \lim_{h \to 0}\dfrac{{\displaystyle f(a + h) - \sum_{k = 0}^{n - 1}\dfrac{f^{(k)}(a)}{k!}h^{k}}}{h^{n}}$$

Note that this is not the definition of $f^{(n)}(a)$, but rather it is result which holds when $f^{(n)}(a)$ exists. It may happen that the limit on the right exists but $f^{(n)}(a)$ does not exist.

This result can be proved by repeatedly applying L'Hospital's rule. Similar is the case with the formula $$f''(a) = \lim_{h \to 0}\frac{f(a + h) - 2f(a) + f(a - h)}{h^{2}}$$ or the formula which OP has written (although he made a mistake of forgetting a divide by 2, which I have corrected)

All these formulas hold only when the necessary derivatives exist. These formulas are not definitions of higher derivatives (although for $n = 1$ it does turn out to be the definition of $f'(a)$).

Again the other issue is "how to differentiate when these are constant". For applying L'Hospital here one has to differentiate with respect to $h$ and not with respect to $x$ (as in given question) or $a$ (my notation).