跳到主要内容

C.6 · 多元极值与约束优化

GRE 数学 · 知识点 17

本主题的视频课程 打开视频页面
5:21

C.6 · 多元极值与约束优化

本单元利用黑塞矩阵对二元临界点进行分类,运用带正则约束的拉格朗日乘数法,并比较极值与可达性…

英文讲解 · 可切换中英文字幕

17.1

多元极值与约束优化

English

In 1613 Johannes Kepler bought wine for his wedding and watched the merchant measure each barrel's volume with a single rod pushed diagonally through the bung hole. Suspicious, Kepler worked out the mathematics and published it in 1615. He found that the Austrian barrel's proportions came very close to giving the largest volume for a given diagonal. Near a maximum the volume hardly changes with the shape, so the rough rule worked well. A flat top is the sign of a critical point.

GRE Mathematics optimisation questions ask you to:

  • Find critical points of functions of several variables.
  • Classify them with the Hessian 海森矩阵 and know when the test fails.
  • Find global extrema on closed bounded regions.
  • Use a Lagrange multiplier 拉格朗日乘子 for constrained problems.
词汇 训练
English 中文 拼音
Hessian 海森矩阵 hǎi sēn jǔ zhèn
Lagrange multiplier/ˈlæɡreɪndʒ ˌmʌltɪˈplaɪə/ 拉格朗日乘子 lā gé lǎng rì chéng zi
17.2

临界点

English

A critical point of $f(x, y)$ is where $\nabla f = 0$, or where it does not exist.

  • Local extrema of a differentiable function can occur only at critical points.
  • Not every critical point is an extremum: $x^2 - y^2$ has a saddle at the origin.
17.3

二阶导数判别法

English

With $D = f_{xx}f_{yy} - f_{xy}^2$, the determinant of the Hessian, at a critical point:

  • $D > 0$ and $f_{xx} > 0$: local minimum. $D > 0$ and $f_{xx} < 0$: local maximum.
  • $D < 0$: saddle point.
  • $D = 0$: the test says nothing. $x^4 + y^4$ (a minimum) and $x^4 - y^4$ (a saddle) both have $D = 0$ at the origin.
Decision tree: D > 0 with f_xx > 0 is a local minimum, with f_xx < 0 a local maximum; D < 0 is a saddle; D = 0 is inconclusive, as x^4 + y^4 and x^4 - y^4 show
The second-derivative test, including its blind spot.
17.4

全局极值

English

A continuous function on a closed bounded region attains a global maximum and minimum.

  • Check the critical points inside the region.
  • Check the boundary, by parametrising it or with Lagrange multipliers.
  • Compare all the candidate values.
17.5

拉格朗日乘数

English

To find extrema of $f$ subject to $g = c$, solve

$$\nabla f = \lambda\nabla g, \qquad g = c$$
  • This works where $\nabla g \ne 0$; points where $\nabla g = 0$ must be checked separately.
  • The method gives candidates; compare their values to decide which is the maximum or minimum.
  • With two constraints, use $\nabla f = \lambda\nabla g + \mu\nabla h$.
17.6

例题:分类

English
  • $f = x^2 - y^2$: the Hessian is $\operatorname{diag}(2, -2)$, $D = -4 < 0$, so the origin is a saddle.
  • $g = x^4 + y^4$: the Hessian at 0 is zero, so the test is inconclusive. But $g \ge 0$ with equality only at the origin, so it is a strict global minimum.
  • $h = x^2 + xy + y^2$: $D = 2 \times 2 - 1 = 3 > 0$ and $h_{xx} = 2 > 0$, a minimum.
17.7

例题:约束条件

English
  • Minimise $x^2 + y^2$ on $x + y = 6$: $(2x, 2y) = \lambda(1, 1)$ gives $x = y = 3$, value 18. Substituting $y = 6 - x$ gives the same result.
  • Maximise $xy$ on $x^2 + y^2 = 8$: $(y, x) = \lambda(2x, 2y)$ gives $y^2 = x^2$. With $x = y = 2$, $xy = 4$; with $x = -y$, $xy = -4$. So the maximum is 4 and the minimum −4.
  • A box with no lid and volume 32 has least surface area when it is $4 \times 4 \times 2$.
Graph of x² + y² along the line y = 6 − x, with its minimum 18 at x = 3
Substitute the constraint first: the minimum is at x = y = 3, where x² + y² = 18
17.8

常见错误

English
  • Treating $D = 0$ as a saddle or a minimum.
  • Forgetting the boundary when finding global extrema.
  • Reading every Lagrange candidate as a maximum.
  • Ignoring points where $\nabla g = 0$.
  • Using $f_{xx}$ alone to classify a point.
17.9

关键术语

English

Hessian: The matrix of second partial derivatives, used to study the shape of a function near a point.

Lagrange multiplier: The scalar $\lambda$ in $\nabla f = \lambda\nabla g$ at a constrained extremum.

17.10

自我检测

English
  • Classify the origin for $f = xy$.
  • What is the maximum of $x + y$ on the unit circle?
  • At a critical point, $f_{xx} = 1$, $f_{yy} = 4$, $f_{xy} = 2$. What does the test say?

Answers: a saddle ($D = -1$). $\sqrt2$, at $x = y = 1/\sqrt2$. Nothing: $D = 0$.

该知识点的互动课程

逐步完成,配合即时检查练习。

更多 GRE 数学 知识点

登录或创建账户

IGCSE, A-Level & AP