다변량 극값 및 제약 최적화
도입됨
5:19
C.6 · 다변수 극값 및 제약 최적화
이 단위는 헤시안 행렬을 사용하여 2변수 임계점을 분류하고, 정칙 제약 조건에서 라그랑주 승수를 사용하며, 최댓값/최솟값과 실현 가능…을 비교합니다.
영어 내레이션 · 영어와 중국어 자막 전환 가능
이 수업의 내용
| English | 의미 |
|---|---|
| saddle/ˈsædl/ | 안장점 |
| Lagrange multipliers/ˈlæɡreɪndʒ ˌmʌltɪˈplaɪəz/ | 라그랑주 승수 |
| critical point/ˈkrɪtɪkl pɔɪnt/ | 임계점 |
| local extremum/ˈləʊkl ekˈstreməm/ | |
| constrained local extremum | |
| singular feasible points | |
| multiplier equations | |
| feasible set | |
| compactness | |
| constraint gradient |
평면 점은 어떤 것이든 될 수 있습니다
- The surfaces $x^2+y^2$, $-x^2-y^2$ and $x^2-y^2$ all have a horizontal tangent plane at the origin. Yet the origin is respectively a minimum, a maximum and a saddle. A zero gradient finds a candidate; it does not classify it.
- 우리는 2계 도함수, 직접 부등식, Lagrange 승수를 사용하여 실제로 달성되는 값이 무엇인지 결정할 것입니다. 허용 가능한 영역이 중요합니다: 주변 환경에서의 안장점은 제약 조건을 적용하면 최소점이 될 수 있습니다.
국소, 전역, 엄격한 minima는 서로 다른 주장입니다
- 국소 최소점은 인접한 허용 가능 지점에서 더 작은 값을 가지지 않으며, 전역 최소점은 영역 전체에서 더 작은 값을 가지지 않습니다. 엄격한 minimum도 인접한 서로 다른 지점에서의 동등한 값을 배제합니다. 극대점에 대해서는 부등식을 뒤집으십시오. 예를 들어, $x^2$의 경우 전체 $y$-축에 걸쳐 비엄격(minima)이 존재합니다.
- 내부 정류점은 기울기가 0이거나 존재하지 않는 영역 내의 점입니다. 정류점은 구체적으로 기울기가 0인 점을 의미합니다. 함수 $\sqrt{x^2+y^2}$은 원점에서 기울이가 존재하지 않지만 엄격한 전역 최소점을 가집니다. 이러한 특이점 후보들은 직접적인 검사가 필요합니다.
분류하기 전에 후보점을 찾으십시오
- At a differentiable interior local extremum, Fermat's condition gives $f_x=f_y=0$. Differentiability and interiority matter: a boundary extremum need not have zero gradient. For $f=x^2+xy+y^2$, the equations $2x+y=0$ and $x+2y=0$ give only the origin.
- 비정류점에서 양수-looking Hessian은 극값 판정을 주지 않습니다. $f=x+x^2+y^2$의 경우 원점은 양의 2계 도함수를 가지지만 $f_x(0,0)=1$입니다. $x$-축 위의 값들은 $f(0,0)$보다 임의의 근방에서 위아래로 변하므로, 원점은 극값이 아닙니다.
지지(For) $f=x+x^2+y^2$, positive definiteness of the Hessian at the origin proves a local minimum there.
난이도 1/5 · 100코인 + 오늘 첫 완료 시 작은 보너스 추가
The gradient at the origin is (1,0), so the point is not stationary. On the x-axis, x+x² takes both signs arbitrarily near zero. The stationary-point hypothesis is essential.
Hessian 판정은 매끄러움과 정류성을 요구합니다
- Assume $f$ has continuous second partial derivatives on a neighbourhood of a stationary point. At that point, write $A=f_{xx}$, $B=f_{xy}$ and $C=f_{yy}$; the Hessian is the symmetric matrix with rows $(A,B)$ and $(B,C)$. Its determinant is $D=AC-B^2$.
- If $D>0$, $A>0$ gives a strict local minimum and $A<0$ gives a strict local maximum. If $D<0$, the quadratic term takes both signs and the point is a saddle. If $D=0$, this test is inconclusive. For $x^2+xy+y^2$, $A=C=2$, $B=1$ and $D=3$, giving a strict minimum.
지지(For) $f = x^2 + xy + y^2$, compute $D = f_{xx}f_{yy} - f_{xy}^2$ at the origin.
난이도 2/5 · 140코인 + 오늘 첫 완료 시 작은 보너스 추가
$2 \cdot 2 - 1$; with $f_{xx} > 0$, a minimum.
혼합항은 순수 편미분들을 뒤집을 수 있습니다
- $f=x^2+4xy+y^2$, $A=C=2$, $B=4$에 대해, 즉 $D=-12$입니다. $y=x$ 방향으로 값은 $x\ne0$일 때 $6x^2>0$입니다; $y=-x$ 방향으로 값은 $-2x^2<0$입니다. 순수 2계 편미분이 모두 양수임에도 불구하고 이 두 경로는 안장점을 검증합니다.
- For the original exercise $f=3x^2-6xy+y^2$, the gradient vanishes at the origin and $D=6\cdot2-(-6)^2=-24$. Along $y=0$ values are positive; along $y=3x$ they are $-6x^2$. Again the mixed term matters; inspecting only $f_{xx}$ and $f_{yy}$ would misclassify the point.
The origin is a critical point of $f = 3x^2 - 6xy + y^2$. It is
난이도 1/5 · 100코인 + 오늘 첫 완료 시 작은 보너스 추가
$D = 6 \cdot 2 - 36 < 0$.
Classify the origin for $f=x^2+4xy+y^2$. Verify stationarity, compute all Hessian entries and $D$, then confirm the verdict with two paths. Explain why the pure second partials alone are insufficient.
당신의 논증을 모델과 체크리스트와 비교하라.
판별식이 0일 때는 다른 논리가 필요합니다
- At the origin, $x^4+y^4$ has a strict global minimum by nonnegativity, while $-x^4-y^4$ has a strict global maximum. Both have zero Hessian there. The function $x^4-y^4$ instead takes opposite signs along the coordinate axes, so it has a saddle with the same determinant $D=0$.
- 근방 부등식은 극소값이나 극대값을 증명할 수 있다. 부호가 서로 반대인 두 경로는 어떤 극값의 존재를 반박할 수 있다. 그러나 일련의 경로를 검사하여 양수 값만 발견했다고 해서 모든 인접 점을 통제할 수는 없으며, 심지어 직선 전체를 검토해도 음수 값이 있는 곡선 영역을 놓칠 수 있다.
If $D = 0$ at a critical point, the second-derivative test is inconclusive.
난이도 1/5 · 100코인 + 오늘 첫 완료 시 작은 보너스 추가
True. $x^4 + y^4$ (minimum), $-x^4 - y^4$ (maximum) and $x^4 - y^4$ (saddle) all have $D = 0$ at the origin.
모든 직선이 문제를 놓칠 수 있다
- Let $F(x,y)=(y-x^2)(y-2x^2)$. On a fixed line $y=mx$ with $m\ne0$, this becomes $x^2(m-x)(m-2x)>0$ for sufficiently small nonzero $x$. On $y=0$ it is $2x^4>0$, and on the vertical line $x=0$ it is $y^2>0$. Each line separately has a strict minimum at the origin.
- 원점은 $D=0$와 함께 정지점(stationary point)이다. 그러나 곡선 경로 $y=3x^2/2$ 위에서는 $x\ne0$일 때 $F=-x^4/4<0$이다. 원점 주변에서도 임의로 양수 값이 존재하므로, 이는 안장점(saddle point)이다. 직선 검증을 통해 허용되는 작은 근방은 기울기에 따라 달라질 수 있으며, 모든 방향과 곡선 경로를 포괄하는 단일 근방을 제공하지는 못한다.
원점에는 무엇이 있습니까?
D = 0인 경우를 포함하여 임계점을 분류하시오.
If a smooth function has a strict minimum at the origin on every straight line through it, then it has a local minimum in the plane.
난이도 1/5 · 100코인 + 오늘 첫 완료 시 작은 보너스 추가
For F=(y-x²)(y-2x²), every fixed line has a strict minimum at zero, but on y=3x²/2 the value is -x⁴/4. No single neighbourhood is controlled by all separate line checks.
지지(For) $G(x,y)=(y-2x^2)(y-3x^2)$, show that each straight-line restriction through the origin has a strict minimum there, yet the origin is not a local minimum in the plane.
당신의 논증을 모델과 체크리스트와 비교하라.
정규 제약 조건은 승수 후보를 산출한다
- Suppose $f$ and $g$ have continuous first partial derivatives near a constrained local extremum on $g(x,y)=c$, and $\nabla g\ne0$ there. The necessary condition is $\nabla f=\lambda\nabla g$, together with $g=c$. The multiplier $\lambda$ is an unknown; the extremum value is $f(x,y)$.
- At a regular constrained extremum, the derivative of $f$ along the constraint's tangent is zero. Thus $\nabla f$ is parallel to the normal $\nabla g$, including the possibility $\nabla f=0$. These equations produce candidates; feasibility, singular points, restricted endpoints and global behaviour still need checks.
특이 타당 점은 사라져서는 안 된다
- Take $f(x,y)=x$ subject to $g(x,y)=x^2+y^2=0$. The only feasible point is the origin, so it is both a constrained global minimum and maximum, with value zero. But $\nabla g=0$ there.
- 승수 방정식은 $(1,0)=\lambda(0,0)$을 요구할 것이나, 이는 해가 없다. 이것이 극값의 부정을 의미하지는 않는다. 정규성 가정이 실패한 것이다. 특이 타당 점을 후보 목록에 추가하고, 소멸할 수 있는 기하학적 미분 계분의 분모로 나누기보다 직접 분석해야 한다.
If the Lagrange equations have no solution, a constrained extremum cannot exist.
난이도 1/5 · 100코인 + 오늘 첫 완료 시 작은 보너스 추가
For f=x under x²+y²=0, the origin is the only feasible point and is both a global minimum and maximum. The constraint gradient vanishes, so the regular multiplier theorem does not apply.
원래 직선 제약 극소값 증명하기
- $f=x^2+y^2$을 $x+y=6$에 대한 제약 조건 하로 최소화한다. $\nabla g=(1,1)\ne0$이므로, 승수 방정식은 $2x=\lambda=2y$를 주므로, 따라서 $x=y=3$와 값 $18$가 된다. 대입하면 $f(x,6-x)=2(x-3)^2+18$이 되므로, 전체 직선에서 $f\ge18$이 된다.
- 실현 가능한 점 $(3+t,3-t)$의 값이 $18+2t^2\to\infty$이므로 최대값은 존재하지 않는다. 단 한 줄의 무한 직선만으로는 이를 증명할 수 없다: 같은 직선 위에서 $-(x^2+y^2)$은 전역 최대값 $-18$을 가진다. 실현 가능한 점을 따라 목적함수의 실제 성장 양상을 조사해야 한다.
A function on an unbounded constraint set cannot attain a global maximum.
난이도 1/5 · 100코인 + 오늘 첫 완료 시 작은 보너스 추가
The function -(x²+y²) on x+y=6 has a global maximum -18 at (3,3), despite the unbounded line. One must inspect the objective, not only the domain.
오목한 제한은 극대값을 보장한다
- $f=xy$을 $x+y=10$에 의해 제약할 때, 정규 승수를 적용하면 $y=\lambda=x$이 되며, 결과적으로 $(5,5)$이 된다. 제약 조건 위에서는 $f=x(10-x)=25-(x-5)^2$이다. 따라서 전역 극대값은 $25$이며, 이는 오직 $(5,5)$에서만 달성된다.
- 전체 직선 위에는 극소값이 없다. 왜냐하면 $(5+t,5-t)$은 $25-t^2\to-\infty$을 주기 때문이다. 만약 $x,y\ge0$와 같은 추가적인 경계가 부과된다면, 타당한 집합은 폐구간으로 변하며 그 끝점들이 검색 대상이 된다. 전역 결과를 주장하기 전에 Constraint set 전체를 명시해야 한다.
Maximise $xy$ subject to $x + y = 10$.
난이도 2/5 · 140코인 + 오늘 첫 완료 시 작은 보너스 추가
Substitute y = 10 − x: xy = 10x − x², maximised at x = 5 (Lagrange gives y = λ = x). Then xy = 5 · 5 = 25.
컴팩트 도메인은 존재를 보장하지만 위치를 보장하지는 않는다
- A continuous function on a nonempty closed bounded subset of Euclidean space attains a global minimum and maximum. For a region with piecewise smooth boundary, inspect stationary and singular interior candidates, restrict to each boundary piece, and include corners and endpoints. Compare the actual function values.
- 이 정리는 극값의 위치를 지정하지 않으며, 극값이 꼭 모서리에 존재한다고도 말하지 않는다. 유한 개성(compactness)이 없으면 극값이 여전히 존재할 수 있으나, 이 정리에 의해 그 존재성이 보장되지는 않는다. 연속성이 없다면 유한 개성만으로는 충분하지 않으므로 두 조건 모두 필수적이다.
사각형의 모든 모서리를 검토하라
- $f=x^2-y^2$에 대해 $[-1,1]^2$에서 유일한 정지 내부 점은 값이 0인 포물점(saddle point) $(0,0)$이다. 모서리 $x=\pm1$, $f=1-y^2$에서는 최대 모서리 값이 $1$로 $y=0$에서 달성된다. 모서리 $y=\pm1$, $f=x^2-1$에서는 최소 모서리 값이 $-1$로 $x=0$에서 달성된다.
- 네 모서리 끝점 모두 값이 0이다. $0\le x^2,y^2\le1$이므로 전역 범위는 $-1\le f\le1$이다. 최대값은 $(\pm1,0)$에서, 최소값은 $(0,\pm1)$에서 달성된다. 모서리 끝점만을 고려하면 두 값을 모두 놓치게 되며, 내부 포물점은 전역 문제를 해결할 수 없다.
What is the maximum of $x^2 - y^2$ on the square $[-1, 1] \times [-1, 1]$?
난이도 2/5 · 140코인 + 오늘 첫 완료 시 작은 보너스 추가
At (±1, 0), on the boundary.
What is the global minimum of $x^2-y^2$ on $[-1,1]^2$?
난이도 2/5 · 140코인 + 오늘 첫 완료 시 작은 보너스 추가
The bound x²-y² ≥ -1 is attained at (0,1) and (0,-1). Corners have value zero and would miss this minimum.
원형 제약 조건은 후보 비교를 유한하게 만듦
- Maximise and minimise $f=x+2y$ on $x^2+y^2=1$. The circle is nonempty and compact, and its constraint gradient never vanishes. Multipliers give $1=2\lambda x$ and $2=2\lambda y$. Thus $\lambda\ne0$, $y=2x$, and the feasible candidates are $(1,2)/\sqrt5$ and $-(1,2)/\sqrt5$.
- 그들의 값은 $\sqrt5$과 $-\sqrt5$이다. 극값이 존재하고 모든 후보가 고려되었으므로, 이들은 전역 최대값과 전역 최소값이다. 부등식 $|x+2y|\le\sqrt5\sqrt{x^2+y^2}$은 독립적으로 상한과 하한 및 등호 성립 지점을 확인해 준다.
What is the global maximum of $x+2y$ on $x^2+y^2=1$? Give a decimal to three places.
난이도 2/5 · 140코인 + 오늘 첫 완료 시 작은 보너스 추가
The maximum is √5 ≈ 2.236 at (1/√5, 2/√5). Cauchy–Schwarz gives |x+2y| ≤ √5 on the unit circle.
The unit circle can be written as $x^2+y^2=1$ or as $(x^2+y^2-1)^2=0$. For $f=x+2y$, explain why the squared representation breaks the regular multiplier equations, then recover the extrema using the regular representation.
당신의 논증을 모델과 체크리스트와 비교하라.
제약 조건 하와 무제약 환경에서의 분류는 다를 수 있다
- 원점은 $f=x^2-y^2$의 무제약 환경 포물점(ambient saddle)이다. $y=0$로 제한했을 때 함수는 $x^2$이며 엄격한 제약 최소점을 가진다. $x=0$로 제한했을 때는 $-y^2$이며 엄격한 제약 최대점을 가진다. 각 판정은 실현 가능한 인접 점들끼리만 비교한다.
- 평면 전체의 헤시안(Hessian) 검사는 무제약 질문에 답한다. 제약 질문의 경우 제한된 함수를 검사하거나 적절한 제약 검사를 사용해야 하며, 무제약 환경 포물점이라는 라벨을 최종 판정으로 다시 사용할 수는 없다. 도메인, 정칙성, 후보 방정식 및 달성된 값을 함께 확인하라.
어떤 극값 결론이 도출되는가?
정지 조건, 정칙성 및 허용 경계를 확인하시오.
At the origin, how is $f=x^2-y^2$ classified when the allowed points satisfy $y=0$?
난이도 1/5 · 100코인 + 오늘 첫 완료 시 작은 보너스 추가
On the constraint the restriction is x², so the origin is a strict constrained minimum. The ambient saddle classification compares points that are not feasible here.
Find all global extrema of $f=x^2-y^2$ on $[-2,1]\times[-1,3]$. Inspect interior candidates, every edge and the corners; give both values and all attaining points.
당신의 논증을 모델과 체크리스트와 비교하라.
복습
- 포물점(saddle): 근방의 어떤 작은 영역에서도 자신의 값보다 크고 작은 값이 모두 존재하는 정지점(stationary point)이다.
- 라그랑주 승인자: 목적함수의 Gradient를 제약 조건 Gradient의 배수로 만들어 정규 제한 극점 후보를 찾는 방법.
- 임계점(critical point): 함수의 도메인 내부 점에서 기울기가 0이거나 존재하지 않는 점이다.
- 헤시안 검사는 해당 가설이 성립할 때에만 사용하고, $D=0$을 직접 처리하며, 전역 극값을 결정하기 전에 모든 실현 가능한 경계나 특이점을 확인하라.
어떤 문제가 있었나요? 사이트 팀만 이 내용을 볼 수 있습니다.