帶餘項的泰勒定理
泰勒定理是帶更多導數的中值定理。中值定理是它的一階情形:f(b) = f(a) + f′(c)(b − a)。當有 n 階導數可用時,我們用一個多項式在 a 處匹配前 n 階,而餘項度量這個差距。拉格朗日形式把這個差距放在一個隱藏點上——正是中值定理的精神,升高一階。
Taylor's theorem (Lagrange remainder). Suppose f has n+1 derivatives on an
open interval containing a and x. Then there is a point c strictly between a and x
with
f(x) = P_n(x) + R_n(x),
where the degree-n Taylor polynomial at a is
P_n(x) = f(a) + f'(a)(x-a) + f''(a)/2! (x-a)^2 + ... + f^(n)(a)/n! (x-a)^n,
and the remainder is
R_n(x) = f^(n+1)(c) / (n+1)! · (x - a)^(n+1).
Worked estimate: f(x) = e^x at a = 0, n = 2, on [0, 1].
P_2(x) = 1 + x + x^2/2, R_2(x) = e^c/6 · x^3 for some c in (0, x).
For x in [0,1], c < 1 so e^c < e < 3, giving the honest bound
|e^x - (1 + x + x^2/2)| = |R_2(x)| <= 3/6 · x^3 = x^3 / 2.
At x = 0.1: error <= (0.1)^3 / 2 = 0.0005. (True error ≈ 0.00017 — within bound.)導數告訴你什麼,又不告訴你什麼
導數強大,卻非全知。兩個誠實的告誡為本軌道收尾。第一,光滑不等於解析:一個函數可以在某點擁有所有高階導數,卻仍不等於它在那裡的泰勒級數。第二,導數在一個特定方面比連續函數更古怪,這由達布定理刻畫。
The classic smooth-but-not-analytic example:
f(x) = exp(-1/x^2) for x ≠ 0, f(0) = 0.
One can show (by induction, using exp decay beating every polynomial) that
f^(n)(0) = 0 for EVERY n = 0, 1, 2, ...
So every Taylor coefficient at 0 is 0, and the Taylor polynomial P_n is the
zero polynomial for all n. Its Taylor 'series' is therefore 0.
But f(x) > 0 for every x ≠ 0. So the Taylor series (= 0) does NOT equal f
near 0. Here the remainder R_n(x) = f(x) - 0 = f(x) does NOT go to 0.
Moral: infinitely differentiable (smooth) is strictly weaker than real-analytic.最後,達布定理說每個導數都具有介值性質:若 f 在 [a, b] 上可微,則 f′ 取遍 f′(a) 與 f′(b) 之間的每個值——即便 f′ 不必連續。所以導數不能有跳躍間斷。這正是「導數並不告訴你一切」的確切邊界:它可以不連續,但絕不會以跳躍的方式不連續。