Let Ω ⊆ ℝᵖ, f : Ω → ℝ and c ∈ Ω. We call c a relative minimum point of f if some δ > 0 makes f(c) ≤ f(x) hold for all x ∈ Ω lying within distance δ of c. We call c a relative strict minimum point of f if some δ > 0 makes f(c) < f(x) hold for all x ∈ Ω with 0 < ‖x − c‖ < δ. Relative maximum points and relative strict maximum points are obtained by turning these inequalities around. A point that is a relative (strict) minimum point or a relative (strict) maximum point is a relative (strict) extremum point of f; we also say f has a relative (strict) extremum at c.
Suppose f : Ω → ℝ, where Ω ⊆ ℝᵖ, has a relative extremum at an interior point c of Ω. Then for each u ∈ ℝᵖ such that the partial derivative D_u f(c) exists, D_u f(c) = 0.
沿著通過 c、方向 u 的直線看,c 仍然是那條直線上的極值點,單變數的 27.4 就逼這個方向的變化率為零。定理不要求 f 可微,只要求所談的那個偏導數存在。c 必須是 interior point:39.1 的偏導數只在內點有定義,而 boundary 上的極值點往外根本走不出去,沒有理由要求變化率是零。
Proof. If u = 0, every difference quotient [f(c + tu) − f(c)]/t is 0, so D_u f(c) = 0. Let u ≠ 0 and put F(t) = f(c + tu) for t in the open interval I = (−r/‖u‖, r/‖u‖). Because ‖tu‖ = |t|‖u‖ < r for t ∈ I, the point c + tu lies in Ω, so F is defined on I, and 0 is an interior point of I.
這一步的所求:一個單變數函數,好讓 27.4 用得上。u = 0 時「沿 u 走」根本沒有移動,差商的分子恆為零,結論自明。u ≠ 0 時,F(t) 記錄的是沿直線 c + tu 走到參數 t 時的函數值。直線上的點 c + tu 與 c 的距離是 |t|‖u‖,所以 |t| < r/‖u‖ 時它落在半徑 r 的球裡、也就在 Ω 裡,F 在整個 I 上有定義。拿下圖看:f(x, y) = x² + y²、c = (0, 0)、u = (1, 2),則 F(t) = t² + 4t² = 5t²。
Let δ be as in the definition of a relative minimum. If t ∈ I and |t| < δ/‖u‖, then ‖(c + tu) − c‖ < δ, so F(0) = f(c) ≤ f(c + tu) = F(t); hence F has a relative minimum at 0. Since [F(t) − F(0)]/t = [f(c + tu) − f(c)]/t for t ≠ 0 and the right side tends to D_u f(c), the derivative F′(0) exists and equals D_u f(c).
這一步的所求:27.4 的兩個前提——0 是 F 的 relative minimum,而且 F′(0) 存在。第一個前提來自 f 在 c 的 relative minimum:參數 t 的大小小於 δ/‖u‖,直線上的點離 c 就不到 δ,f 在那裡的值不小於 f(c)。第二個前提只是同一個差商換了寫法:F 在 0 的差商與 f 沿 u 的差商逐項相等,而後者的極限依假設存在、等於 D_u f(c)。拿 F(t) = 5t² 對照:F′(0) = 0,與正例算出的 D_u f(0) = 0 一致。
By the minimum version of 27.4, applied to F at the interior point 0 of I, we get F′(0) = 0, that is, D_u f(c) = 0. For a relative maximum the same argument works with 27.4 itself.
這一步的所求:收尾。27.4 的極小值版說:單變數函數在定義域的內點取得 relative minimum,而導數在那裡存在,導數就是零。0 是 I 的內點、是 F 的 relative minimum,F′(0) 存在,所以 F′(0) = 0;上一步說 F′(0) 就是 D_u f(c)。relative maximum 的情形,第二步的不等號反向,最後改用 27.4。
把 f 限制在通過 c 的每一條直線上,c 在每條直線上都還是極值點;單變數的 27.4 逼每個方向的變化率為零。∎
這張圖在說 42.1 的證明怎麼把問題降成單變數:左邊是 f(x, y) = x² + y² 的三條等高圓與通過 c = (0, 0)、方向 u = (1, 2) 的直線;右邊是 f 在這條直線上的剖面 F(t) = 5t²。原點是 f 的極小值點,所以 t = 0 也是剖面的極小值點,27.4 讓剖面在那裡的斜率 F′(0) = D_u f(c) 等於零。每一條通過 c 的直線都可以這樣看。
當 f 在 c 可微時,每個方向的偏導數都存在,而且全部由導數這個線性函數決定。42.1 於是可以整理成一句話:導數本身是零。
42.2 COROLLARY
Let Ω ⊆ ℝᵖ, let f : Ω → ℝ have a relative extremum at an interior point c of Ω, and suppose f is differentiable at c. Then Df(c) is the zero linear function; equivalently, D₁ f(c) = D₂ f(c) = ⋯ = D_p f(c) = 0.
內點上的極值點,只要 f 在那裡可微,導數就把每個向量都送到 0。實際求極值點時,先解 p 條方程式 D₁ f(x) = 0, …, D_p f(x) = 0,p 個未知數是 x 的座標;可微的內點極值點一定在這些解裡面。
Proof. Since f is differentiable at c, 39.7 shows that D₁ f(c), …, D_p f(c) exist and Df(c)(u) = u₁D₁ f(c) + ⋯ + u_pD_p f(c) for every u ∈ ℝᵖ. By 42.1 applied with u = eⱼ, each Dⱼ f(c) = 0; therefore Df(c)(u) = 0 for every u. Conversely, if all Dⱼ f(c) vanish, the same formula gives Df(c) = 0.
Let Ω ⊆ ℝᵖ and f : Ω → ℝ. An interior point c of Ω is a critical point of f when f is differentiable at c and Df(c) = 0. A critical point c of f is a saddle point of f when every neighborhood of c contains a point x ∈ Ω with f(x) > f(c) and a point x ∈ Ω with f(x) < f(c).
critical point 譯作臨界點,saddle point 譯作鞍點。42.2 說:可微的內點極值點一定是臨界點;反過來不一定。一個臨界點若不是 relative minimum point,每個 neighborhood 裡都有比 f(c) 小的值;若也不是 relative maximum point,每個 neighborhood 裡又都有比 f(c) 大的值——這正是 saddle point。所以臨界點恰好分成三類:relative minimum point、relative maximum point、saddle point(f 在 c 附近是常數時,c 同時屬於前兩類)。