本篇沿用前三篇的場地。f : A → ℝ^q 寫成座標 f = (f₁, …, f_q),每個 fᵢ : A → ℝ 是實值函數;同樣地,一個線性函數 L : ℝᵖ → ℝ^q 的第 i 個座標記作 Lᵢ。會用到 §8-3 的 8.10:y = (y₁, …, y_q) 時 |yᵢ| ≤ ‖y‖ ≤ √q · sup{|y₁|, …, |y_q|}。例子裡借用 §28-1 的求導規則(和、積的導數)。
LEMMA · DIFFERENTIABILITY IS DECIDED COORDINATE BY COORDINATE
Let f = (f₁, …, f_q) : A → ℝ^q with A ⊆ ℝᵖ, and let c ∈ A. Then f is differentiable at c if and only if every coordinate function fᵢ is differentiable at c. In that case, for every u ∈ ℝᵖ, Df(c)(u) = (Df₁(c)(u), …, Df_q(c)(u)).
Proof. Suppose f is differentiable at c with L = Df(c). Each Lᵢ : ℝᵖ → ℝ is linear, since the i-th coordinate of aL(u) + bL(v) is aLᵢ(u) + bLᵢ(v). Given ε > 0, take the δ that 39.2 provides for f. By 8.10, for ‖x − c‖ < δ, |fᵢ(x) − fᵢ(c) − Lᵢ(x − c)| ≤ ‖f(x) − f(c) − L(x − c)‖ ≤ ε‖x − c‖. So fᵢ is differentiable at c with Dfᵢ(c) = Lᵢ.
這一步的所求:由整體的可微推出每個座標的可微,而且順便認出座標的導數。先要確認候選者合格:Lᵢ 是 L 的第 i 個座標,L 線性而向量的加法與純量倍都逐座標進行,所以 Lᵢ 也線性(§21-1 的 21.1 的條件逐座標成立)。估計用的是 8.10 的左半「單一座標的大小不超過整個向量的長度」,套在誤差向量上。δ 直接沿用,連 x ∈ A 那一句也一併繼承。數字看:誤差向量是 (0.03, −0.04) 時長度是 0.05,兩個座標的誤差 0.03、0.04 都不超過它。
Conversely, suppose each fᵢ is differentiable at c and put L(u) = (Df₁(c)(u), …, Df_q(c)(u)); this L is linear because each coordinate is. Given ε > 0, let δᵢ serve fᵢ with the ratio ε/√q, and let δ = inf{δ₁, …, δ_q}. For ‖x − c‖ < δ we have x ∈ A, and 8.10 gives ‖f(x) − f(c) − L(x − c)‖ ≤ √q · sup{|fᵢ(x) − fᵢ(c) − Lᵢ(x − c)|} ≤ √q · (ε/√q)‖x − c‖ = ε‖x − c‖.
39.8(a)(b) THEOREM · FUNCTIONS OF ONE REAL VARIABLE
Let A ⊆ ℝ, let c be an interior point of A, and let f = (f₁, …, f_q) : A → ℝ^q. (a) For q = 1: f is differentiable at c in the sense of 39.2 exactly when f′(c) exists in the sense of 27.1, and then Df(c)(u) = f′(c)u for every u ∈ ℝ. (b) For general q: f is differentiable at c exactly when every fᵢ′(c) exists, and then Df(c)(u) = u·(f₁′(c), …, f_q′(c)) for every u ∈ ℝ.
(a) 說兩種導數是同一件事:舊的導數是一個數 f′(c),新的導數是「乘上 f′(c)」這個線性函數,兩者互相決定。(b) 說曲線的導數由一個向量 f′(c) = (f₁′(c), …, f_q′(c)) 決定:Df(c) 把實數 u 送到這個向量的 u 倍。把 f 看成一條曲線時,這個向量叫做 f 在 f(c) 的切向量;把 x 看成時間時,它是速度向量。切向量可以是零向量,那時它不指出任何方向(例 1 的第二部分)。
Proof. (a) Suppose m = f′(c) exists. Given ε > 0, 27.1 yields δ₀ > 0 with |(f(x) − f(c))/(x − c) − m| < ε for x ∈ A, 0 < |x − c| < δ₀. Let δ = inf{δ₀, r}. If |x − c| < δ, then x ∈ A and, multiplying by |x − c|, |f(x) − f(c) − m(x − c)| ≤ ε|x − c|, which is trivial for x = c. Because u ↦ mu is linear, f is differentiable at c and Df(c)(u) = mu.
這一步的所求:由舊的導數造出新的導數。§27-1 的 27.1 給的是差商靠近 m,兩邊同乘正數 |x − c|,差商的分母就消掉了,得到的正是 39.2 的形狀。距離門檻取 δ₀ 與 r 的較小者,是因為 39.2 還要求範圍內的點都在 A 裡,而 27.1 只談 A 裡的點;r 負責這一句。x = c 時兩邊都是 0,所以不必另外排除。
Conversely, let L = Df(c). Linearity gives L(u) = L(u·1) = uL(1), so L(u) = mu with m = L(1). Given ε > 0, take the δ of 39.2 for the ratio ε/2. For x ∈ A with 0 < |x − c| < δ, dividing by |x − c| gives |(f(x) − f(c))/(x − c) − m| ≤ ε/2 < ε. Hence f′(c) exists and equals m.
這一步的所求:由新的導數讀出舊的導數。關鍵是 ℝ 到 ℝ 的線性函數只有一種長相:u 是 u 倍的 1,所以 L(u) 是 u 倍的 L(1)——整個線性函數由一個數 m = L(1) 決定。剩下的是把上一步倒過來:可微的不等式兩邊除以正數 |x − c|,m(x − c)/(x − c) = m,就是差商離 m 不到 ε/2。比例取 ε/2 是因為 27.1 要嚴格小於。
(b) By the coordinate lemma, f is differentiable at c exactly when each fᵢ is, which by (a) means exactly that each fᵢ′(c) exists. In that case Df(c)(u) = (f₁′(c)u, …, f_q′(c)u) = u·(f₁′(c), …, f_q′(c)).
Let f = (f₁, …, f_q) : A → ℝ^q with A ⊆ ℝᵖ be differentiable at c. Then each partial derivative Dⱼ fᵢ(c) exists (1 ≤ i ≤ q, 1 ≤ j ≤ p), and w = Df(c)(u) has coordinates wᵢ = D₁ fᵢ(c)u₁ + ⋯ + D_p fᵢ(c)u_p (i = 1, …, q). The q × p array whose entry in row i, column j is Dⱼ fᵢ(c) is called the Jacobian matrix of f at c; it is the matrix of the linear function Df(c).
證明計畫 · 由所求想起 所求是偏導數存在,以及導數每個座標的公式。 第一步:用座標引理,把 f 的可微拆成每個 fᵢ 的可微,L 的第 i 個座標就是 Dfᵢ(c)。 第二步:每個 fᵢ 是實值函數,對它用 39.7 寫出偏導數的加權和。
Proof. By the coordinate lemma, every fᵢ is differentiable at c and the i-th coordinate of L(u) is Dfᵢ(c)(u). Since fᵢ is real valued, 39.7 applied to fᵢ shows that D₁ fᵢ(c), …, D_p fᵢ(c) exist and Dfᵢ(c)(u) = u₁D₁ fᵢ(c) + ⋯ + u_pD_p fᵢ(c). This is the stated formula for wᵢ; comparing with 21.2, the coefficients of L are cᵢⱼ = Dⱼ fᵢ(c).