Let Ω ⊆ ℝᵖ be open and f : Ω → ℝ^q. We say f is of class C¹ on Ω, written f ∈ C¹(Ω), when f is differentiable at every point of Ω and the derivative depends continuously on the point in the norm of linear functions: for every x₀ ∈ Ω and every ε > 0 there is δ > 0 with ‖Df(x) − Df(x₀)‖ < ε for all x ∈ Ω satisfying ‖x − x₀‖ < δ.
Let Ω ⊆ ℝᵖ be open and let f = (f₁, …, f_q) : Ω → ℝ^q be differentiable at every point of Ω. Then f ∈ C¹(Ω) if and only if each of the pq functions Dⱼ fᵢ (1 ≤ i ≤ q, 1 ≤ j ≤ p) is continuous on Ω.
正例:極座標映射 P(r, θ) = (r cos θ, r sin θ) 於 ℝ²。四個偏導數 cos θ、−r sin θ、sin θ、r cos θ 處處存在而且連續,所以 P ∈ C¹(ℝ²),不必估任何線性函數的 norm。反例:定義卡反例的 h。它只有一個偏導數 h′,而 h′(xₙ) = −1、h′(0) = 0、xₙ → 0,h′ 在 0 不連續;定理於是說 h ∉ C¹(ℝ),與定義卡直接算的結果一致。
Proof. (⟹) Suppose f ∈ C¹(Ω). The i-th coordinate of Δ(x)(eⱼ) is Dⱼ fᵢ(x) − Dⱼ fᵢ(x₀). Since no coordinate of a vector exceeds its norm and ‖eⱼ‖ = 1, |Dⱼ fᵢ(x) − Dⱼ fᵢ(x₀)| ≤ ‖Δ(x)(eⱼ)‖ ≤ ‖Δ(x)‖. Hence any δ that makes ‖Δ(x)‖ < ε also makes |Dⱼ fᵢ(x) − Dⱼ fᵢ(x₀)| < ε, and Dⱼ fᵢ is continuous at x₀.
(⟸) Suppose every Dⱼ fᵢ is continuous on Ω, and let ε > 0. For each of the pq pairs (i, j) choose δᵢⱼ > 0 such that |Dⱼ fᵢ(x) − Dⱼ fᵢ(x₀)| < ε/√(pq) whenever x ∈ Ω and ‖x − x₀‖ < δᵢⱼ. Let δ be the smallest of these pq numbers.
If x ∈ Ω and ‖x − x₀‖ < δ, the squares of the pq entries of Δ(x) add up to less than pq·ε²/(pq) = ε². By the matrix bound of §21, ‖Δ(x)(u)‖ ≤ A‖u‖ for every u, where A is the square root of that sum, so A < ε. Taking the supremum over ‖u‖ ≤ 1 gives ‖Δ(x)‖ ≤ A < ε, which proves f ∈ C¹(Ω).
本節後面的構造,常常把幾個 C¹ 函數接起來,或是只取函數在一塊較小的 open 集合上的部分。下面的引理保證這些操作不會讓 C¹ 失效。
LEMMA · COMPOSITES AND RESTRICTIONS OF C¹ FUNCTIONS
(a) Let Ω ⊆ ℝᵖ and Ω₁ ⊆ ℝ^q be open, let f ∈ C¹(Ω) take values in ℝ^q with f(Ω) ⊆ Ω₁, and let g ∈ C¹(Ω₁) take values in ℝʳ. Then g∘f ∈ C¹(Ω), and D(g∘f)(x) = Dg(f(x))∘Df(x) for each x ∈ Ω. (b) If L : ℝᵖ → ℝ^q is linear and b ∈ ℝ^q, the map x ↦ L(x) + b belongs to C¹(ℝᵖ), and its derivative at every point is L. (c) If f ∈ C¹(Ω) and G ⊆ Ω is open, the restriction of f to G belongs to C¹(G), with the same derivative as f at each point of G.
證明計畫 · 由所求想起 (b):常數與線性函數的導數已知,相加即得,導數不隨點改變。 (c):可微只看一點附近的小球,把小球縮進 G 即可。 (a):鏈鎖律給出導數;兩點的導數之差拆成兩項,一項由 Df 的連續控制,一項由 Dg 的連續與 f 的連續控制。
Proof. (b) A constant has derivative 0 and a linear function L has derivative L at every point, so by 40.1(a) the derivative of x ↦ L(x) + b is L everywhere. Since it does not depend on x, it is continuous.
(c) Let x ∈ G and choose ρ > 0 with the open ball of radius ρ about x inside G. Because the estimate in 39.2 for f at x remains true after shrinking δ to at most ρ, the restriction is differentiable at x with derivative Df(x); the continuity of x ↦ Df(x) on G is inherited from Ω.
這一步的所求:縮小定義域後仍可微、導數不變。39.2 要求「距離 x 小於 δ 的點都在定義域裡,而且誤差不超過 ε‖·‖」。G 是 open,可以先找一個整個在 G 裡的小球;把 f 原來的 δ 改成它與 ρ 中較小的一個,兩個要求就都對限制後的函數成立。連續的部分是例行核對:原來的 δ 對 G 裡的點照樣有效。
(a) By the Chain Rule, g∘f is differentiable at every x ∈ Ω and D(g∘f)(x) = Dg(f(x))∘Df(x). Fix x₀ ∈ Ω and write A = Dg(f(x)), A₀ = Dg(f(x₀)), B = Df(x), B₀ = Df(x₀). Since A∘B − A₀∘B₀ = A∘(B − B₀) + (A − A₀)∘B₀, ‖A∘B − A₀∘B₀‖ ≤ (‖A₀‖ + ‖A − A₀‖)‖B − B₀‖ + ‖A − A₀‖·‖B₀‖.
Let ε > 0 and put η = min{1, ε/(‖A₀‖ + ‖B₀‖ + 2)}. Because Dg is continuous at f(x₀), there is μ > 0 with ‖Dg(y) − A₀‖ < η whenever y ∈ Ω₁ and ‖y − f(x₀)‖ < μ. Since f and Df are continuous at x₀, there is δ > 0 such that ‖x − x₀‖ < δ, x ∈ Ω, imply ‖f(x) − f(x₀)‖ < μ and ‖B − B₀‖ < η. For such x both ‖A − A₀‖ and ‖B − B₀‖ are below η ≤ 1, so ‖A∘B − A₀∘B₀‖ < η(‖A₀‖ + 1 + ‖B₀‖) < ε.
這一步的所求:讓兩個會變小的量同時小於一個預先選好的 η。‖A − A₀‖ 要小,得先讓 f(x) 靠近 f(x₀)(Dg 的連續是對 y = f(x) 說的),而 f 在 x₀ 連續,由 39.5(可微必連續)。兩個門檻 μ 是 Dg 給的、δ 是 f 與 Df 給的,次序是先在值域那一邊定 μ,再回到定義域定 δ。代回上一步:(‖A₀‖ + η)η + η‖B₀‖ ≤ η(‖A₀‖ + 1 + ‖B₀‖),用的是 η ≤ 1;而 η 的取法讓它小於 ε。