逐步主鏈
S01 · definition
操作前
f'(x)
操作後
f'(x)=D\iff\forall\varepsilon>0\ \exists\delta>0\ \forall h:\ 0<|h|<\delta\Rightarrow\left|\frac{f(x+h)-f(x)}{h}-D\right|<\varepsilon條件:h\neq 0
規則:mko_derivative · 依賴:G1, func_limit_def
葉節點依據:mko_derivative + func_limit_def + def_unfold
依 MKO,導數是差商在 h→0(h≠0)的兩側有限極限。差商本身只對 h≠0 有定義;導數是極限,不是某一個有限步的差商。若極限不存在,導數就不存在。
S02 · equivalent
操作前
f(1)
操作後
3\cdot 1^2-2\cdot 1+5=6
條件:無
規則:numeric_evaluation · 依賴:G2
葉節點依據:numeric_evaluation
中心值 f(1)=3−2+5=6(N3)。這是差商分子中被減去的量。
S03 · equivalent
操作前
f(1+h)
操作後
3(1+h)^2-2(1+h)+5=6+4h+3h^2
條件:無
規則:distributive · 依賴:G2, distributive
葉節點依據:distributive + power_laws + add_comm + add_assoc
(1+h)²=1+2h+h²,所以 3(1+h)²=3+6h+3h²;−2(1+h)=−2−2h;相加 3+6h+3h²−2−2h+5=6+4h+3h²(N1 以多項式恆等式核對)。
S04 · equivalent
操作前
f(1+h)-f(1)
操作後
4h+3h^2
條件:無
規則:eq_replace · 依賴:S02, S03
葉節點依據:eq_replace + add_inverse + add_zero
代入 S03 與 S02:(6+4h+3h²)−6=4h+3h²。
S05 · equivalent
操作前
\frac{4h+3h^2}{h}\ (h\neq 0)操作後
4+3h
條件:h\neq 0
規則:frac_rules · 依賴:S04, frac_rules
葉節點依據:frac_rules + distributive + mul_inverse_nonzero
分子 4h+3h²=h(4+3h),對 h≠0 約去 h 得 4+3h。h=0 時差商是 0/0,沒有定義;所以不能把 h=0 直接代入原差商,只能先在 h≠0 處化簡,再看極限。
S06 · implies
操作前
\varepsilon>0\ \text{arbitrary},\ \delta=\tfrac{\varepsilon}{3}操作後
0<|h|<\delta\Rightarrow|(4+3h)-4|=3|h|<\varepsilon;\ f'(1)=4
條件:\varepsilon>0
規則:forall_intro · 依賴:S01, S05
葉節點依據:forall_intro + exists_intro + abs_rules + order_basics
取任意 ε>0,令 δ=ε/3。若 0<|h|<δ,由 S05,|Q(h)−4|=|3h|=3|h|<3δ=ε。ε 任意,依 S01,f'(1)=4。
S07 · equivalent
操作前
\frac{f(x+h)-f(x)}{h},\ f(t)=a_2t^2+a_1t+a_0,\ h\neq 0操作後
2a_2x+a_1+a_2h
條件:h\neq 0
規則:L_diff_quot · 依賴:G2
葉節點依據:distributive + frac_rules + mul_inverse_nonzero
一般化:依引理 L_diff_quot,任何二次以下多項式在任意 x 的差商都是 2a2x+a1+a2h。代入 a2=3、a1=−2、x=1 得 6−2+3h=4+3h,與 S05 一致(N6)。引理在 S07.1、S07.2 證明。
S08 · implies
操作前
\lim_{h\to 0,\,h\neq 0}(2a_2x+a_1+a_2h)操作後
f'(x)=2a_2x+a_1\ \text{for every real}\ x條件:無
規則:L_lin_limit · 依賴:S01, S07
葉節點依據:forall_intro + order_basics + abs_rules
取 A=2a2x+a1、B=a2,依引理 L_lin_limit,差商在 h→0 時趨向 2a2x+a1;依 S01,這就是 f'(x)。x 任意,所以公式對每個實數 x 成立。引理在 S08.1、S08.2 分 B=0 與 B≠0 證明。
S09 · implies
操作前
h=\tfrac{1}{10}操作後
Q(\tfrac{1}{10})=4+\tfrac{3}{10}=\tfrac{43}{10}\neq 4=f'(1)條件:無
規則:numeric_evaluation · 依賴:S05, S06, G3
葉節點依據:numeric_evaluation + frac_rules
有限步 h=1/10 的差商是 4+3/10=43/10(N4,直接由 f(1.1)、f(1) 計算),與導數 4 相差 a2h=3/10。有限差商只是平均變化率;導數是 h→0 的極限。只有當 a2h=0 時兩者才相等(見 S10)。
S10 · implies
操作前
e(t)=-2t+5\ (a_2=0)
操作後
\frac{e(x+h)-e(x)}{h}=-2\ (h\neq 0),\ e'(x)=-2條件:h\neq 0
規則:L_diff_quot · 依賴:S07, S08, G3
葉節點依據:L_diff_quot + L_lin_limit + mul_zero
MKO 假設 a2 允許 a2=0(次數至多二,不必是真正的二次式)。由 S07,a2=0、a1=−2 的差商是 −2+0·h=−2,對每個 h≠0 都相同(N11);由 S08,e'(x)=−2。這裡每個有限差商都等於導數,只因 a2h=0;這不能推廣到 a2≠0 的情形(S09)。常數 a2=a1=0 時導數為 0,也是合法的低階邊界。
S11 · equivalent
操作前
g(t)=|t-2|,\ t=2
操作後
\frac{g(2+h)-g(2)}{h}=\frac{|h|-0}{h}=\frac{|h|}{h}\ (h\neq 0)條件:h\neq 0
規則:eq_replace · 依賴:G3, abs_rules
葉節點依據:eq_replace + abs_rules
g(2)=|0|=0,g(2+h)=|h|,所以差商為 |h|/h,對 h≠0 有定義。
S12 · case_split
操作前
\frac{|h|}{h}操作後
1\ (h>0),\quad -1\ (h<0)
條件:h\neq 0
規則:abs_rules · 依賴:S11, abs_rules
葉節點依據:abs_rules + case_analysis + frac_rules
h>0 時 |h|=h,差商 h/h=1;h<0 時 |h|=−h,差商 −h/h=−1(N9、N10)。兩個情況涵蓋所有 h≠0。右導數 1、左導數 −1。
S13 · implies
操作前
g'(2)=D\ \text{(assumed)},\ \varepsilon=\tfrac12,\ h=\pm\tfrac{\delta}{2}操作後
|1-D|<\tfrac12,\ |-1-D|<\tfrac12\Rightarrow 2\le|1-D|+|D+1|<1:\ \text{contradiction}條件:無
規則:contradiction · 依賴:S01, S12
葉節點依據:contradiction + exists_elim + abs_rules + order_basics
反證:假設 g'(2)=D 存在。對 ε=1/2 取得 δ>0,令 h=δ/2 與 h=−δ/2,都滿足 0<|h|<δ。由 S12,|1−D|<1/2 且 |−1−D|<1/2。三角不等式:2=|1−(−1)|≤|1−D|+|D−(−1)|<1/2+1/2=1,矛盾。所以 g 在 2 沒有導數。
S14 · implies
操作前
t_0>2,\ 0<|h|<t_0-2
操作後
\frac{g(t_0+h)-g(t_0)}{h}=\frac{(t_0+h-2)-(t_0-2)}{h}=1;\ g'(t_0)=1條件:t_0>2
規則:abs_rules · 依賴:G3, S01
葉節點依據:abs_rules + order_basics + frac_rules
t0>2 時,若 |h|<t0−2,則 t0+h>2,兩個絕對值都等於裡面的式子,分子為 h(N12),差商恰為 1。所以取 δ=t0−2,對任何 ε 誤差都是 0,g'(t0)=1。同理 t0<2 時 g(t)=2−t 在 t0 附近成立,g'(t0)=−1。
S15 · implies
操作前
\text{a totalized API returning}\ 0\ \text{at}\ t=2操作後
g'(2)\ \text{does not exist};\ 0\ \text{is not a limit of}\ Q條件:無
規則:quantifier_negation · 依賴:S12, S13
葉節點依據:quantifier_negation + abs_rules
某些形式庫把導數做成全定義函數,在不可導點填預設值 0。但 0 不是差商的極限:對每個 h≠0,|Q(h)−0|=1,取 ε=1/2 就失敗。所以本條目的答案是「g'(2) 不存在」,不是 0;預設值是函數的記帳慣例,不代表導數存在。
局部子步與引理
S07.1 · equivalent
操作前
f(x+h)-f(x)
操作後
a_2(2xh+h^2)+a_1h=h(2a_2x+a_1+a_2h)
條件:無
規則:distributive · 依賴:distributive, power_laws
葉節點依據:distributive + power_laws + add_inverse
(x+h)²−x²=2xh+h²,a1(x+h)−a1x=a1h,a0 相消;提出公因子 h 得 h(2a2x+a1+a2h)(N2 以五個變數的多項式恆等式核對)。
S07.2 · equivalent
操作前
\frac{h(2a_2x+a_1+a_2h)}{h}操作後
2a_2x+a_1+a_2h
條件:h\neq 0
規則:frac_rules · 依賴:S07.1, frac_rules
葉節點依據:frac_rules + mul_inverse_nonzero
h≠0,約去 h。S07.1、S07.2 合起來證得引理 L_diff_quot。
S08.1 · implies
操作前
B=0
操作後
|(A+0\cdot h)-A|=0<\varepsilon\ \text{for every}\ h條件:B=0
規則:mul_zero · 依賴:mul_zero
葉節點依據:mul_zero + add_zero + order_basics
B=0 時 A+Bh=A 對每個 h 成立,誤差為 0<ε,任何 δ>0 都可以。
S08.2 · implies
操作前
B\neq 0,\ \delta=\tfrac{\varepsilon}{|B|}操作後
0<|h|<\delta\Rightarrow|Bh|=|B||h|<|B|\delta=\varepsilon
條件:|B|>0
規則:order_basics · 依賴:abs_rules, order_basics
葉節點依據:abs_rules + order_basics + mul_inverse_nonzero
B≠0 時 |B|>0,令 δ=ε/|B|>0。若 0<|h|<δ,兩邊乘正數 |B| 得 |B||h|<ε。S08.1、S08.2 合起來證得引理 L_lin_limit。