Local Maximum and Minimum
Definition 1. Let f(x,y)f(x,y) be defined on a region RR containing the point (a,b)(a,b). Then
1. f(a,b)f(a,b) is a local maximum value of ff if f(a,b)≥f(x,y)f(a,b)≥f(x,y) for all domain points (x,y)(x,y) in an open disk centered at (a,b)(a,b).
2. f(a,b)f(a,b) is a local minimum value of ff if f(a,b)≤f(x,y)f(a,b)≤f(x,y) for all domain points (x,y)(x,y) in an open disk centered at (a,b)(a,b).
Single variable에서 정의했던 local value와 동일하다. 다만 open interval을 일반화해서 open disk로 정의되었다.
First Derivative Test
Theorem 1. If f(x,y)f(x,y) has a local maximum or minimum value at an interior point (a,b)(a,b) of its domain and if the first partial derivatives exist there, then ∂xf(a,b)=0∂xf(a,b)=0 and ∂yf(a,b)=0∂yf(a,b)=0.
Proof. Without loss of generality, we suppose that ff has a local maximum. If we intersect z=f(x,y)z=f(x,y) by the plane x=ax=a, then the function z(y)=f(a,y)z(y)=f(a,y) has a local maximum at y=by=b because f(a,b)≥f(a,y)f(a,b)≥f(a,y) for any yy in an open interval centered at y=by=b. Therefore z′(b)=∂yf(a,b)=0z′(b)=∂yf(a,b)=0. Similarly, we have ∂xf(a,b)=0∂xf(a,b)=0. ◼■
Tangent plane 공식에 위 정리의 사실을 대입하면 ∂xf(a,b)(x−a)+∂yf(a,b)(y−b)−(z−f(a,b))=0⟹z=f(a,b)이므로 local value를 가지는 곳에서 f는 horizontal tangent plane을 가진다는 것을 알 수 있다. Fermat's Theorem의 다변수 버전이라고 생각해도 좋다.
Critical Point
Definition 2. An interior point of the domain of a function f(x,y) where both ∂xf and ∂yf are zero or where one or both of ∂xf and ∂yf do not exist is a critical point of f.
역시나 일변수에서 critical number와 동일하게 정의한다.
Saddle Point
Definition 3. A differentiable function f(x,y) has a saddle point at a critical point (a,b) if in every open disk centered at (a,b) there are domain points (x,y) where f(x,y)>f(a,b) and domain points (x,y) where f(x,y)<f(a,b). The corresponding point (a,b,f(a,b)) on the surface z=f(x,y) is called a saddle point of the surface.
일변수에서도 변곡점의 존재로 인해 단순히 기울기가 0이라고 해서 극값이라고 단정할 수 없었듯이, 다변수에서도 마찬가지다. Critical point, 즉 도함수가 0이거나 존재하지 않는 점의 경우 그 점 근방에서 그 점보다 크거나 작은 점이 모두 존재한다면 이건 local maximum이라고도, minimum이라고도 하기에 애매한 상황이다. 따라서 그러한 점을 따로 정의하고 saddle point, 즉 안장점이라고 부른다.
Second Derivative Test
Theorem 2. Suppose that f(x,y) and its first and second partial derivatives are continuous throughout a disk centered at (a,b) and that ∂xf(a,b)=∂yf(a,b)=0. Then
i) f has a local maximum at (a,b) if ∂xxf<0 and ∂xxf∂yyf−(∂xyf)2>0 at (a,b).
ii) f has a local minimum at (a,b) if ∂xxf>0 and ∂xxf∂yyf−(∂xyf)2>0 at (a,b).
iii) f has a saddle point at (a,b) if ∂xxf∂yyf−(∂xyf)2<0 at (a,b).
iv) the test is inconclusive at (a,b) if ∂xxf∂yyf−(∂xyf)2=0 at (a,b). In this case, we must find some other way to determine the behavior of f at (a,b).
일변수에서도 이계도함수 판정법이란 이름으로 극점과 변곡점을 판별하는 정리가 있었듯이 다변수에서도 위 정리에 의해 극대, 극소, 안장점을 판별 가능하다.
Hessian
Definition 4. The expression ∂xxf∂yyf−(∂xyf)2 above the theorem is called the discriminant or Hessian of f.
Second derivative test는 ∂xxf∂yyf−(∂xyf)2라는 식이 critical하게 적용되는데, |∂xxf∂xyf∂xyf∂yyf|과 같은 행렬식으로 기억하면 편하다. 특별히 이런 꼴의 행렬을 Hessian, 혹은 Hesse matrix, 즉 헤세 행렬이라고 부른다.