← 学习库 Calculus Volume 3 (OpenStax) · 中英对照 目录

4 Differentiation of Functions of Several Variables 多元函数的微分法

本页译自 OpenStax《Calculus Volume 3》第 4 章 Differentiation of Functions of Several Variables。公式经本地 MathJax 渲染,自定义宏已注入。

Chapter Outline 本章概要

---

——

4.1 Functions of Several Variables 4.1 多元函数

Our first step is to explain what a function of more than one variable is, starting with functions of two independent variables. This step includes identifying the domain and range of such functions and learning how to graph them. We also examine ways to relate the graphs of functions in three dimensions to graphs of more familiar planar functions.

第一步是说明「多于一个变量的函数」究竟指什么,先从两个自变量的函数入手。这一步包括确定这类函数的定义域与值域,并学习如何作它们的图像。我们还将考察怎样把三维空间中函数的图像与更熟悉的平面函数图像联系起来。

Functions of Two Variables 二元函数

The definition of a function of two variables is very similar to the definition for a function of one variable. The main difference is that, instead of mapping values of one variable to values of another variable, we map ordered pairs of variables to another variable.

二元函数的定义与一元函数的定义十分相似。主要区别在于:这里不是把一个变量的值映射为另一个变量的值,而是把变量的有序对映射为另一个变量。

A function of two variables $z = {f\left( {x,y} \right)}$ maps each ordered pair $\left( {x,y} \right)$ in a subset $D$ of the real plane $\mathbb{R}^{2}$ to a unique real number $z.$ The set $D$ is called the *domain* of the function. The *range* of $f$ is the set of all real numbers $z$ that has at least one ordered pair $\left( {x,y} \right) \in D$ such that $f\left( {x,y} \right) = z$ as shown in the following figure.

二元函数 $z = {f\left( {x,y} \right)}$ 把实平面 $\mathbb{R}^{2}$ 的子集 $D$ 中每个有序对 $\left( {x,y} \right)$ 映射为唯一的实数 $z$。集合 $D$ 称为该函数的*定义域*。$f$ 的*值域*是所有这样的实数 $z$ 构成的集合:至少存在一个有序对 $\left( {x,y} \right) \in D$ 使 $f\left( {x,y} \right) = z$,如下图所示。

Determining the domain of a function of two variables involves taking into account any domain restrictions that may exist. Let’s take a look.

确定二元函数的定义域,要把可能存在的各种定义域限制一并考虑进来。下面来看一例。

Domains and Ranges for Functions of Two Variables 二元函数的定义域与值域

Find the domain and range of each of the following functions:

求下列各函数的定义域与值域:

1. $f\left( {x,y} \right) = 3x + 5y + 2$

1. $f\left( {x,y} \right) = 3x + 5y + 2$

2. $g\left( {x,y} \right) = \sqrt{9 - x^{2} - y^{2}}$

2. $g\left( {x,y} \right) = \sqrt{9 - x^{2} - y^{2}}$

Solution

1. This is an example of a linear function in two variables. There are no values or combinations of $x$ and $y$ that cause $f\left( {x,y} \right)$ to be undefined, so the domain of $f$ is $\mathbb{R}^{2}.$ To determine the range, first pick a value for $z.$ We need to find a solution to the equation $f\left( {x,y} \right) = z,$ or $3x + 5y + 2 = z.$ One such solution can be obtained by first setting $y = 0,$ which yields the equation $3x + 2 = z.$ The solution to this equation is $x = \frac{z - 2}{3},$ which gives the ordered pair $\left( {\frac{z - 2}{3},0} \right)$ as a solution to the equation $f\left( {x,y} \right) = z$ for any value of $z.$ Therefore, the range of the function is all real numbers, or $\mathbb{R}.$

1. 这是二元线性函数的例子。不存在使 $f\left( {x,y} \right)$ 无定义的 $x$、$y$ 取值或组合,故 $f$ 的定义域为 $\mathbb{R}^{2}$。要确定值域,先取定一个 $z$ 值,再求方程 $f\left( {x,y} \right) = z$(即 $3x + 5y + 2 = z$)的解。取 $y = 0$ 得方程 $3x + 2 = z$,其解为 $x = \frac{z - 2}{3}$,于是对任意 $z$,有序对 $\left( {\frac{z - 2}{3},0} \right)$ 都是方程 $f\left( {x,y} \right) = z$ 的解。因此该函数的值域为全体实数,即 $\mathbb{R}$。

2. For the function $g\left( {x,y} \right)$ to have a real value, the quantity under the square root must be nonnegative:

2. 要使函数 $g\left( {x,y} \right)$ 取实值,根号下的量必须非负:

$$9 - x^{2} - y^{2} \geq 0.$$

$$9 - x^{2} - y^{2} \geq 0.$$

This inequality can be written in the form

该不等式可写成

$$x^{2} + y^{2} \leq 9.$$

$$x^{2} + y^{2} \leq 9.$$

Therefore, the domain of $g\left( {x,y} \right)$ is $\left\{ {\left( {x,y} \right) \in \left. \mathbb{R}^{2} \right|x^{2} + y^{2} \leq 9} \right\}.$ The graph of this set of points can be described as a disk of radius $3$ centered at the origin. The domain includes the boundary circle as shown in the following graph.

因此 $g\left( {x,y} \right)$ 的定义域为 $\left\{ {\left( {x,y} \right) \in \left. \mathbb{R}^{2} \right|x^{2} + y^{2} \leq 9} \right\}$。这个点集的图形是以原点为圆心、半径为 $3$ 的圆盘,且定义域包含边界圆,如下图所示。

To determine the range of $g\left( {x,y} \right) = \sqrt{9 - x^{2} - y^{2}}$ we start with a point $\left( {x_{0},y_{0}} \right)$ on the boundary of the domain, which is defined by the relation $x^{2} + y^{2} = 9.$ It follows that $x_{0}^{2} + y_{0}^{2} = 9$ and

为确定 $g\left( {x,y} \right) = \sqrt{9 - x^{2} - y^{2}}$ 的值域,先取定义域边界上一点 $\left( {x_{0},y_{0}} \right)$,该边界由关系式 $x^{2} + y^{2} = 9$ 给出。于是 $x_{0}^{2} + y_{0}^{2} = 9$,且

$$g\left( {x_{0},y_{0}} \right) = \sqrt{9 - x_{0}^{2} - y_{0}^{2}} = \sqrt{9 - \left( {x_{0}^{2} + y_{0}^{2}} \right)} = \sqrt{9 - 9} = 0.$$

$$g\left( {x_{0},y_{0}} \right) = \sqrt{9 - x_{0}^{2} - y_{0}^{2}} = \sqrt{9 - \left( {x_{0}^{2} + y_{0}^{2}} \right)} = \sqrt{9 - 9} = 0.$$

If $x_{0}^{2} + y_{0}^{2} = 0$ (in other words, $x_{0} = y_{0} = 0),$ then

若 $x_{0}^{2} + y_{0}^{2} = 0$(换言之 $x_{0} = y_{0} = 0$),则

$$g\left( {x_{0},y_{0}} \right) = \sqrt{9 - x_{0}^{2} - y_{0}^{2}} = \sqrt{9 - \left( {x_{0}^{2} + y_{0}^{2}} \right)} = \sqrt{9 - 0} = 3.$$

$$g\left( {x_{0},y_{0}} \right) = \sqrt{9 - x_{0}^{2} - y_{0}^{2}} = \sqrt{9 - \left( {x_{0}^{2} + y_{0}^{2}} \right)} = \sqrt{9 - 0} = 3.$$

This is the maximum value of the function. Given any value *c* between $0\ \text{and}\ 3,$ we can find an entire set of points inside the domain of $g$ such that $g\left( {x,y} \right) = c\text{:}$

这是该函数的最大值。对 $0$ 与 $3$ 之间的任一给定值 *c*,都能在 $g$ 的定义域内找到一整族点,使 $g\left( {x,y} \right) = c$:

$$\begin{array}{rll} \sqrt{9 - x^{2} - y^{2}} & = & c \\ {9 - x^{2} - y^{2}} & = & c^{2} \\ {x^{2} + y^{2}} & = & {9 - c^{2}.} \end{array}$$

$$\begin{array}{rll} \sqrt{9 - x^{2} - y^{2}} & = & c \\ {9 - x^{2} - y^{2}} & = & c^{2} \\ {x^{2} + y^{2}} & = & {9 - c^{2}.} \end{array}$$

Since $9 - c^{2} > 0,$ this describes a circle of radius $\sqrt{9 - c^{2}}$ centered at the origin. Any point on this circle satisfies the equation $g\left( {x,y} \right) = c.$ Therefore, the range of this function can be written in interval notation as $\left\lbrack {0,3} \right\rbrack.$

由于 $9 - c^{2} > 0$,上式表示以原点为圆心、半径为 $\sqrt{9 - c^{2}}$ 的圆。该圆上任一点都满足方程 $g\left( {x,y} \right) = c$。因此这个函数的值域用区间记号写作 $\left\lbrack {0,3} \right\rbrack$。

Find the domain and range of the function $f\left( {x,y} \right) = \sqrt{36 - 9x^{2} - 9y^{2}}.$

求函数 $f\left( {x,y} \right) = \sqrt{36 - 9x^{2} - 9y^{2}}$ 的定义域与值域。

Graphing Functions of Two Variables 二元函数的作图

Suppose we wish to graph the function $z = f\left( {x,y} \right).$ This function has two independent variables $\left( {x\ \text{and}\ y} \right)$ and one dependent variable $(z).$ When graphing a function $y = f(x)$ of one variable, we use the Cartesian plane. We are able to graph any ordered pair $\left( {x,y} \right)$ in the plane, and every point in the plane has an ordered pair $\left( {x,y} \right)$ associated with it. With a function of two variables, each ordered pair $\left( {x,y} \right)$ in the domain of the function is mapped to a real number $z.$ Therefore, the graph of the function $f$ consists of ordered triples $\left( {x,y,z} \right).$ The graph of a function $z = \left( {x,y} \right)$ of two variables is called a surface.

设要作函数 $z = f\left( {x,y} \right)$ 的图像。该函数有两个自变量 $\left( {x\ \text{and}\ y} \right)$ 和一个因变量 $(z)$。作一元函数 $y = f(x)$ 的图像时使用笛卡儿平面:平面内任一有序对 $\left( {x,y} \right)$ 都能作出,平面内每个点也都对应一个有序对 $\left( {x,y} \right)$。对二元函数而言,定义域内每个有序对 $\left( {x,y} \right)$ 都映射为一个实数 $z$,因此函数 $f$ 的图像由有序三元组 $\left( {x,y,z} \right)$ 组成。二元函数 $z = \left( {x,y} \right)$ 的图像称为曲面。

To understand more completely the concept of plotting a set of ordered triples to obtain a surface in three-dimensional space, imagine the $\left( {x,y} \right)$ coordinate system laying flat. Then, every point in the domain of the function $f$ has a unique $z\text{-value}$ associated with it. If $z$ is positive, then the graphed point is located above the $\textit{xy}\text{-plane,}$ if $z$ is negative, then the graphed point is located below the $\textit{xy}\text{-plane}.$ The set of all the graphed points becomes the two-dimensional surface that is the graph of the function $f.$

为更完整地理解「描出一族有序三元组从而得到三维空间中一张曲面」这一想法,可把 $\left( {x,y} \right)$ 坐标系想象成水平摊开。这样,函数 $f$ 定义域内每个点都对应唯一的 $z$ 值。若 $z$ 为正,所描出的点位于 *xy* 平面之上;若 $z$ 为负,该点位于 *xy* 平面之下。所有描出的点合起来构成一张二维曲面,即函数 $f$ 的图像。

Graphing Functions of Two Variables 二元函数的作图

Create a graph of each of the following functions:

作出下列各函数的图像:

1. $g\left( {x,y} \right) = \sqrt{9 - x^{2} - y^{2}}$

1. $g\left( {x,y} \right) = \sqrt{9 - x^{2} - y^{2}}$

2. $f\left( {x,y} \right) = x^{2} + y^{2}$

2. $f\left( {x,y} \right) = x^{2} + y^{2}$

Solution

1. In Example 4.1, we determined that the domain of $g\left( {x,y} \right) = \sqrt{9 - x^{2} - y^{2}}$ is $\left\{ {\left( {x,y} \right) \in \left. \mathbb{R}^{2} \right|x^{2} + y^{2} \leq 9} \right\}$ and the range is $\left\{ {z \in \left. \mathbb{R} \right|0 \leq z \leq 3} \right\}.$ When $x^{2} + y^{2} = 9$ we have $g\left( {x,y} \right) = 0.$ Therefore any point on the circle of radius $3$ centered at the origin in the $x,y\text{-plane}$ maps to $z = 0$ in $\mathbb{R}^{3}.$ If $x^{2} + y^{2} = 8,$ then $g\left( {x,y} \right) = 1,$ so any point on the circle of radius $2\sqrt{2}$ centered at the origin in the $x,y\text{-plane}$ maps to $z = 1$ in $\mathbb{R}^{3}.$ As $x^{2} + y^{2}$ gets closer to zero, the value of *z* approaches 3. When $x^{2} + y^{2} = 0,$ then $g\left( {x,y} \right) = 3.$ This is the origin in the $x,y\text{-plane}.$ If $x^{2} + y^{2}$ is equal to any other value between $0\ \text{and}\ 9,$ then $g\left( {x,y} \right)$ equals some other constant between $0\ \text{and}\ 3.$ The surface described by this function is a hemisphere centered at the origin with radius $3$ as shown in the following graph.

1. 在示例 4.1 中已确定 $g\left( {x,y} \right) = \sqrt{9 - x^{2} - y^{2}}$ 的定义域为 $\left\{ {\left( {x,y} \right) \in \left. \mathbb{R}^{2} \right|x^{2} + y^{2} \leq 9} \right\}$,值域为 $\left\{ {z \in \left. \mathbb{R} \right|0 \leq z \leq 3} \right\}$。当 $x^{2} + y^{2} = 9$ 时 $g\left( {x,y} \right) = 0$,故 $x,y$ 平面内以原点为圆心、半径为 $3$ 的圆上任一点,在 $\mathbb{R}^{3}$ 中都映射到 $z = 0$。若 $x^{2} + y^{2} = 8$,则 $g\left( {x,y} \right) = 1$,故该平面内以原点为圆心、半径为 $2\sqrt{2}$ 的圆上任一点映射到 $\mathbb{R}^{3}$ 中的 $z = 1$。当 $x^{2} + y^{2}$ 越接近零,*z* 的值就越接近 3。当 $x^{2} + y^{2} = 0$ 时 $g\left( {x,y} \right) = 3$,对应 $x,y$ 平面内的原点。若 $x^{2} + y^{2}$ 等于 $0$ 与 $9$ 之间的其他值,则 $g\left( {x,y} \right)$ 等于 $0$ 与 $3$ 之间的某个常数。该函数所描述的曲面是以原点为中心、半径为 $3$ 的半球面,如下图所示。

2. This function also contains the expression $x^{2} + y^{2}.$ Setting this expression equal to various values starting at zero, we obtain circles of increasing radius. The minimum value of $f(x,y) = x^{2} + y^{2}$ is zero (attained when $x = y = 0.).$ When $x = 0,$ the function becomes $z = y^{2},$ and when $y = 0,$ then the function becomes $z = x^{2}.$ These are cross-sections of the graph, and are parabolas. Recall from Introduction to Vectors in Space that the name of the graph of $f(x,y) = x^{2} + y^{2}$ is a *paraboloid*. The graph of $f$ appears in the following graph.

2. 这个函数同样含有表达式 $x^{2} + y^{2}$。令该表达式自零起依次取各个值,便得到半径递增的一族圆。$f(x,y) = x^{2} + y^{2}$ 的最小值为零(在 $x = y = 0$ 处取到)。当 $x = 0$ 时函数化为 $z = y^{2}$;当 $y = 0$ 时函数化为 $z = x^{2}$。这些是图像的截口,都是抛物线。回顾 Introduction to Vectors in Space(空间中向量的引入)一节可知,$f(x,y) = x^{2} + y^{2}$ 的图像称为*抛物面*。$f$ 的图像见下图。

Nuts and Bolts 螺母与螺栓

A profit function for a hardware manufacturer is given by

某五金制造商的利润函数为

$$f(x,y) = 16 - \left( {x - 3} \right)^{2} - \left( {y - 2} \right)^{2},$$

$$f(x,y) = 16 - \left( {x - 3} \right)^{2} - \left( {y - 2} \right)^{2},$$

where $x$ is the number of nuts sold per month (measured in thousands) and $y$ represents the number of bolts sold per month (measured in thousands). Profit is measured in thousands of dollars. Sketch a graph of this function.

其中 $x$ 为每月售出的螺母数(以千计),$y$ 表示每月售出的螺栓数(以千计),利润以千美元计。作出该函数的图像。

Solution

This function is a polynomial function in two variables. The domain of $f$ consists of $\left( {x,y} \right)$ coordinate pairs that yield a nonnegative profit:

该函数是二元多项式函数。$f$ 的定义域由使利润非负的坐标对 $\left( {x,y} \right)$ 组成:

$$\begin{array}{l} {16 - \left( {x - 3} \right)^{2} - \left( {y - 2} \right)^{2} \geq 0} \\ {\left( {x - 3} \right)^{2} + \left( {y - 2} \right)^{2} \leq 16.} \end{array}$$

$$\begin{array}{l} {16 - \left( {x - 3} \right)^{2} - \left( {y - 2} \right)^{2} \geq 0} \\ {\left( {x - 3} \right)^{2} + \left( {y - 2} \right)^{2} \leq 16.} \end{array}$$

This is a disk of radius $4$ centered at $\left( {3,2} \right).$ A further restriction is that both $x\ \text{and}\ y$ must be nonnegative. When $x = 3$ and $y = 2,$ $f\left( {x,y} \right) = 16.$ Note that it is possible for either value to be a noninteger; for example, it is possible to sell $2.5$ thousand nuts in a month. The domain, therefore, contains thousands of points, so we can consider all points within the disk. For any $z < 16,$ we can solve the equation $f\left( {x,y} \right) = z\text{:}$

这是以 $\left( {3,2} \right)$ 为圆心、半径为 $4$ 的圆盘。此外还有一个限制:$x$ 与 $y$ 都必须非负。当 $x = 3$、$y = 2$ 时 $f\left( {x,y} \right) = 16$。注意两者的取值都可以不是整数,例如一个月可以售出 $2.5$ 千个螺母。因此定义域含有成千上万个点,可以考虑圆盘内的所有点。对任意 $z < 16$,都可以解方程 $f\left( {x,y} \right) = z$:

$$\begin{array}{rll} & & \\ {16 - \left( {x - 3} \right)^{2} - \left( {y - 2} \right)^{2}} & = & z \\ {\left( {x - 3} \right)^{2} + \left( {y - 2} \right)^{2}} & = & {16 - z.} \end{array}$$

$$\begin{array}{rll} & & \\ {16 - \left( {x - 3} \right)^{2} - \left( {y - 2} \right)^{2}} & = & z \\ {\left( {x - 3} \right)^{2} + \left( {y - 2} \right)^{2}} & = & {16 - z.} \end{array}$$

Since $z < 16,$ we know that $16 - z > 0,$ so the previous equation describes a circle with radius $\sqrt{16 - z}$ centered at the point $\left( {3,2} \right).$ Therefore. the range of $f\left( {x,y} \right)$ is $\left\{ {z \in \left. \mathbb{R} \right|z \leq 16} \right\}.$ The graph of $f\left( {x,y} \right)$ is also a paraboloid, and this paraboloid points downward as shown.

由于 $z < 16$,可知 $16 - z > 0$,故上式表示以点 $\left( {3,2} \right)$ 为圆心、半径为 $\sqrt{16 - z}$ 的圆。因此 $f\left( {x,y} \right)$ 的值域为 $\left\{ {z \in \left. \mathbb{R} \right|z \leq 16} \right\}$。$f\left( {x,y} \right)$ 的图像也是抛物面,且如图所示开口向下。

Level Curves 等高线

If hikers walk along rugged trails, they might use a topographical map that shows how steeply the trails change. A topographical map contains curved lines called *contour lines*. Each contour line corresponds to the points on the map that have equal elevation (Figure 4.7). A level curve of a function of two variables $f\left( {x,y} \right)$ is completely analogous to a contour line on a topographical map.

徒步者行走在崎岖的山径上时,可能会用到显示路径起伏陡缓的地形图。地形图上有一些曲线,称为*等高线*,每条等高线对应地图上海拔相同的那些点(图 4.7)。二元函数 $f\left( {x,y} \right)$ 的等高线与地形图上的等高线完全类似。

Given a function $f\left( {x,y} \right)$ and a number $c$ in the range of $f,\ \text{a}$ level curve of a function of two variables for the value $c$ is defined to be the set of points satisfying the equation $f\left( {x,y} \right) = c.$

给定函数 $f\left( {x,y} \right)$ 以及 $f$ 值域中的一个数 $c$,二元函数对应于值 $c$ 的等高线定义为满足方程 $f\left( {x,y} \right) = c$ 的点集。

Returning to the function $g\left( {x,y} \right) = \sqrt{9 - x^{2} - y^{2}},$ we can determine the level curves of this function. The range of $g$ is the closed interval $\left\lbrack {0,3} \right\rbrack.$ First, we choose any number in this closed interval—say, $c = 2.$ The level curve corresponding to $c = 2$ is described by the equation

回到函数 $g\left( {x,y} \right) = \sqrt{9 - x^{2} - y^{2}}$,可以确定它的等高线。$g$ 的值域是闭区间 $\left\lbrack {0,3} \right\rbrack$。先在这个闭区间内任取一数,比如 $c = 2$。对应于 $c = 2$ 的等高线由下述方程给出

$$\sqrt{9 - x^{2} - y^{2}} = 2.$$

$$\sqrt{9 - x^{2} - y^{2}} = 2.$$

To simplify, square both sides of this equation:

为化简,把方程两边平方:

$$9 - x^{2} - y^{2} = 4.$$

$$9 - x^{2} - y^{2} = 4.$$

Now, multiply both sides of the equation by $-1$ and add $9$ to each side:

再把方程两边乘以 $-1$,并各加 $9$:

$$x^{2} + y^{2} = 5.$$

$$x^{2} + y^{2} = 5.$$

This equation describes a circle centered at the origin with radius $\sqrt{5}.$ Using values of $c$ between $0\ \text{and}\ 3$ yields other circles also centered at the origin. If $c = 3,$ then the circle has radius $0,$ so it consists solely of the origin. Figure 4.8 is a graph of the level curves of this function corresponding to $c = 0,1,2,\ \text{and}\ 3.$ Note that in the previous derivation it may be possible that we introduced extra solutions by squaring both sides. This is not the case here because the range of the square root function is nonnegative.

该方程表示以原点为圆心、半径为 $\sqrt{5}$ 的圆。取 $0$ 与 $3$ 之间的其他 $c$ 值,可得同样以原点为圆心的其他圆。若 $c = 3$,圆的半径为 $0$,此时只剩原点一点。图 4.8 给出该函数对应于 $c = 0,1,2,\ \text{and}\ 3$ 的等高线图像。注意上述推导中两边平方有可能引入多余的解,但此处并未出现,因为平方根函数的值域非负。

A graph of the various level curves of a function is called a contour map.

把一个函数的各条等高线画在一起所得的图称为等高线图。

Making a Contour Map 绘制等高线图

Given the function $f\left( {x,y} \right) = \sqrt{8 + 8x - 4y - 4x^{2} - y^{2}},$ find the level curve corresponding to $c = 0.$ Then create a contour map for this function. What are the domain and range of $f?$

给定函数 $f\left( {x,y} \right) = \sqrt{8 + 8x - 4y - 4x^{2} - y^{2}}$,求对应于 $c = 0$ 的等高线,再作出该函数的等高线图。$f$ 的定义域与值域各是什么?

Solution

To find the level curve for $c = 0,$ we set $f\left( {x,y} \right) = 0$ and solve. This gives

为求 $c = 0$ 的等高线,令 $f\left( {x,y} \right) = 0$ 并求解,得

$$0 = \sqrt{8 + 8x - 4y - 4x^{2} - y^{2}}.$$

$$0 = \sqrt{8 + 8x - 4y - 4x^{2} - y^{2}}.$$

We then square both sides and multiply both sides of the equation by $-1\text{:}$

两边平方,再各乘以 $-1$:

$$4x^{2} + y^{2} - 8x + 4y - 8 = 0.$$

$$4x^{2} + y^{2} - 8x + 4y - 8 = 0.$$

Now, we rearrange the terms, putting the $x$ terms together and the $y$ terms together, and add $8$ to each side:

整理各项,把含 $x$ 的项与含 $y$ 的项分别归并,并两边各加 $8$:

$$4x^{2} - 8x + y^{2} + 4y = 8.$$

$$4x^{2} - 8x + y^{2} + 4y = 8.$$

Next, we group the pairs of terms containing the same variable in parentheses, and factor $4$ from the first pair:

把含同一变量的两项用括号括起,并从第一组中提出因子 $4$:

$$4\left( {x^{2} - 2x} \right) + \left( {y^{2} + 4y} \right) = 8.$$

$$4\left( {x^{2} - 2x} \right) + \left( {y^{2} + 4y} \right) = 8.$$

Then we complete the square in each pair of parentheses and add the correct value to the right-hand side:

在每个括号内配方,并在右端加上相应的数:

$$4\left( {x^{2} - 2x + 1} \right) + \left( {y^{2} + 4y + 4} \right) = 8 + 4(1) + 4.$$

$$4\left( {x^{2} - 2x + 1} \right) + \left( {y^{2} + 4y + 4} \right) = 8 + 4(1) + 4.$$

Next, we factor the left-hand side and simplify the right-hand side:

把左端因式分解,并化简右端:

$$4\left( {x - 1} \right)^{2} + \left( {y + 2} \right)^{2} = 16.$$

$$4\left( {x - 1} \right)^{2} + \left( {y + 2} \right)^{2} = 16.$$

Last, we divide both sides by $16\text{:}$

最后两边同除以 $16$:

$$\frac{\left( {x - 1} \right)^{2}}{4} + \frac{\left( {y + 2} \right)^{2}}{16} = 1.$$ (4.1)

$$\frac{\left( {x - 1} \right)^{2}}{4} + \frac{\left( {y + 2} \right)^{2}}{16} = 1.$$ (4.1)

This equation describes an ellipse centered at $\left( {1,-2} \right).$ The graph of this ellipse appears in the following graph.

该方程表示以 $\left( {1,-2} \right)$ 为中心的椭圆。这个椭圆的图像见下图。

We can repeat the same derivation for values of $c$ less than $4.$ Then, Equation 4.1 becomes

对小于 $4$ 的 $c$ 值可重复同样的推导。此时式 (4.1) 变为

$$\frac{4\left( {x - 1} \right)^{2}}{16 - c^{2}} + \frac{\left( {y + 2} \right)^{2}}{16 - c^{2}} = 1$$

$$\frac{4\left( {x - 1} \right)^{2}}{16 - c^{2}} + \frac{\left( {y + 2} \right)^{2}}{16 - c^{2}} = 1$$

for an arbitrary value of $c.$ Figure 4.10 shows a contour map for $f\left( {x,y} \right)$ using the values $c = 0,1,2,\ \text{and}\ 3.$ When $c = 4,$ the level curve is the point $\left( {1,-2} \right).$

其中 $c$ 取任意值。图 4.10 给出 $f\left( {x,y} \right)$ 在 $c = 0,1,2,\ \text{and}\ 3$ 时的等高线图。当 $c = 4$ 时,等高线退化为一点 $\left( {1,-2} \right)$。

$\begin{array}{l} {\text{Domain:}\left( {x,y} \right)~\text{inside~the~ellipse}~\frac{(x - 1)^{2}}{4} + \frac{(y + 2)^{2}}{16} = 1} \\ {\text{Range:}~\lbrack 0,4)} \end{array}$

$\begin{array}{l} {\text{Domain:}\left( {x,y} \right)~\text{inside~the~ellipse}~\frac{(x - 1)^{2}}{4} + \frac{(y + 2)^{2}}{16} = 1} \\ {\text{Range:}~\lbrack 0,4)} \end{array}$

Find and graph the level curve of the function $g\left( {x,y} \right) = x^{2} + y^{2} - 6x + 2y$ corresponding to $c = 15.$

求函数 $g\left( {x,y} \right) = x^{2} + y^{2} - 6x + 2y$ 对应于 $c = 15$ 的等高线并作图。

Another useful tool for understanding the graph of a function of two variables is called a vertical trace. Level curves are always graphed in the $xy\text{-plane,}$ but as their name implies, vertical traces are graphed in the $xz$- or $yz\text{-planes.}$

理解二元函数图像的另一个有用工具称为竖直截痕。等高线总是画在 $xy$ 平面内,而竖直截痕正如其名,画在 $xz$ 平面或 $yz$ 平面内。

Consider a function $z = f\left( {x,y} \right)$ with domain $D \subseteq \mathbb{R}^{2}.$ A vertical trace of the function can be either the set of points that solves the equation $f\left( {a,y} \right) = z$ for a given constant $x = a$ or $f\left( {x,b} \right) = z$ for a given constant $y = b.$

考虑定义域为 $D \subseteq \mathbb{R}^{2}$ 的函数 $z = f\left( {x,y} \right)$。它的竖直截痕,可以是给定常数 $x = a$ 时方程 $f\left( {a,y} \right) = z$ 的解点集,也可以是给定常数 $y = b$ 时方程 $f\left( {x,b} \right) = z$ 的解点集。

Finding Vertical Traces 求竖直截痕

Find vertical traces for the function $f\left( {x,y} \right) = \text{sin}\ x\ \text{cos}\ y$ corresponding to $x = - \frac{\pi}{4},0,\ \text{and}\ \frac{\pi}{4},$ and $y = - \frac{\pi}{4},0,\ \text{and}\ \frac{\pi}{4}.$

求函数 $f\left( {x,y} \right) = \text{sin}\ x\ \text{cos}\ y$ 对应于 $x = - \frac{\pi}{4},0,\ \text{and}\ \frac{\pi}{4}$ 以及 $y = - \frac{\pi}{4},0,\ \text{and}\ \frac{\pi}{4}$ 的竖直截痕。

Solution

First set $x = - \frac{\pi}{4}$ in the equation $z = \text{sin}\ x\ \text{cos}\ y\text{:}$

先在方程 $z = \text{sin}\ x\ \text{cos}\ y$ 中令 $x = - \frac{\pi}{4}$:

$$z = \text{sin}\left( {- \frac{\pi}{4}} \right)\text{cos}\ y = - \frac{\sqrt{2}\ \text{cos}\ y}{2} \approx -0.7071\ \text{cos}\ y.$$

$$z = \text{sin}\left( {- \frac{\pi}{4}} \right)\text{cos}\ y = - \frac{\sqrt{2}\ \text{cos}\ y}{2} \approx -0.7071\ \text{cos}\ y.$$

This describes a cosine graph in the plane $x = - \frac{\pi}{4}.$ The other values of $z$ appear in the following table.

这表示平面 $x = - \frac{\pi}{4}$ 内的一条余弦曲线。$z$ 的其他取值见下表。

| $c$ | *Vertical Trace for* $x = c$ |

| $c$ | *$x = c$ 处的竖直截痕* |

|-------------------|-------------------------------------------|

|-------------------|-------------------------------------------|

| $- \frac{\pi}{4}$ | $z = - \frac{\sqrt{2}\ \text{cos}\ y}{2}$ |

| $- \frac{\pi}{4}$ | $z = - \frac{\sqrt{2}\ \text{cos}\ y}{2}$ |

| $0$ | $z = 0$ |

| $0$ | $z = 0$ |

| $\frac{\pi}{4}$ | $z = \frac{\sqrt{2}\ \text{cos}\ y}{2}$ |

| $\frac{\pi}{4}$ | $z = \frac{\sqrt{2}\ \text{cos}\ y}{2}$ |

Table 4.1 Vertical Traces Parallel to the $xz\text{-Plane}$ for the Function $f\left( {x,y} \right) = \text{sin}\ x\ \text{cos}\ y$

表 4.1 函数 $f\left( {x,y} \right) = \text{sin}\ x\ \text{cos}\ y$ 平行于 $xz$ 平面的竖直截痕

In a similar fashion, we can substitute the $y\text{-values}$ in the equation $f(x,y)$ to obtain the traces in the $yz\text{-plane,}$ as listed in the following table.

同理,把各个 $y$ 值代入 $f(x,y)$,可得 $yz$ 平面内的截痕,列于下表。

| $d$ | *Vertical Trace for* $y = d$ |

| $d$ | *$y = d$ 处的竖直截痕* |

|-------------------|-----------------------------------------|

|-------------------|-----------------------------------------|

| $- \frac{\pi}{4}$ | $z = \frac{\sqrt{2}\ \text{sin}\ x}{2}$ |

| $- \frac{\pi}{4}$ | $z = \frac{\sqrt{2}\ \text{sin}\ x}{2}$ |

| $0$ | $z = \text{sin}\ x$ |

| $0$ | $z = \text{sin}\ x$ |

| $\frac{\pi}{4}$ | $z = \frac{\sqrt{2}\ \text{sin}\ x}{2}$ |

| $\frac{\pi}{4}$ | $z = \frac{\sqrt{2}\ \text{sin}\ x}{2}$ |

Table 4.2 Vertical Traces Parallel to the $yz\text{-Plane}$ for the Function $f\left( {x,y} \right) = \text{sin}\ x\ \text{cos}\ y$

表 4.2 函数 $f\left( {x,y} \right) = \text{sin}\ x\ \text{cos}\ y$ 平行于 $yz$ 平面的竖直截痕

The three traces in the $xz\text{-plane}$ are cosine functions; the three traces in the $yz\text{-plane}$ are sine functions. These curves appear in the intersections of the surface with the planes $x = - \frac{\pi}{4},x = 0,x = \frac{\pi}{4}$ and $y = - \frac{\pi}{4},y = 0,y = \frac{\pi}{4}$ as shown in the following figure.

$xz$ 平面内的三条截痕是余弦函数,$yz$ 平面内的三条截痕是正弦函数。这些曲线出现在曲面与平面 $x = - \frac{\pi}{4},x = 0,x = \frac{\pi}{4}$ 及 $y = - \frac{\pi}{4},y = 0,y = \frac{\pi}{4}$ 的交线处,如下图所示。

Determine the equation of the vertical trace of the function $g\left( {x,y} \right) = \text{−}x^{2} - y^{2} + 2x + 4y - 1$ corresponding to $y = 3,$ and describe its graph.

求函数 $g\left( {x,y} \right) = \text{−}x^{2} - y^{2} + 2x + 4y - 1$ 对应于 $y = 3$ 的竖直截痕方程,并描述其图像。

Functions of two variables can produce some striking-looking surfaces. The following figure shows two examples.

二元函数能产生一些形状十分引人注目的曲面。下图给出两个例子。

Functions of More Than Two Variables 多于两个变量的函数

So far, we have examined only functions of two variables. However, it is useful to take a brief look at functions of more than two variables. Two such examples are

到目前为止,我们只考察了二元函数。不过,简要了解一下多于两个变量的函数是有用的。如下是两个这样的例子:

$$f\left( {x,y,z} \right) = x^{2} - 2xy + y^{2} + 3yz - z^{2} + 4x - 2y + 3x - 6\ \text{(a polynomial in three variables)}$$

$$f\left( {x,y,z} \right) = x^{2} - 2xy + y^{2} + 3yz - z^{2} + 4x - 2y + 3x - 6\ \text{(a polynomial in three variables)}$$

and

以及

$$g\left( {x,y,t} \right) = \left( {x^{2} - 4xy + y^{2}} \right)\text{sin}\ t - \left( {3x + 5y} \right)\text{cos}\ t.$$

$$g\left( {x,y,t} \right) = \left( {x^{2} - 4xy + y^{2}} \right)\text{sin}\ t - \left( {3x + 5y} \right)\text{cos}\ t.$$

In the first function, $\left( {x,y,z} \right)$ represents a point in space, and the function $f$ maps each point in space to a fourth quantity, such as temperature or wind speed. In the second function, $\left( {x,y} \right)$ can represent a point in the plane, and $t$ can represent time. The function might map a point in the plane to a third quantity (for example, pressure) at a given time $t.$ The method for finding the domain of a function of more than two variables is analogous to the method for functions of one or two variables.

在第一个函数中,$\left( {x,y,z} \right)$ 表示空间中的一点,函数 $f$ 把空间中每一点映射到一个第四维的量,例如温度或风速。在第二个函数中,$\left( {x,y} \right)$ 可以表示平面内的一点,$t$ 可以表示时间。该函数可以把平面内一点在给定的时刻 $t$ 映射到一个第三维的量(例如压强)。求多于两个变量的函数之定义域的方法,与求一元或二元函数定义域的方法类似。

Domains for Functions of Three Variables 三元函数的定义域

Find the domain of each of the following functions:

求下列各个函数的定义域:

1. $f\left( {x,y,z} \right) = \frac{3x - 4y + 2z}{\sqrt{9 - x^{2} - y^{2} - z^{2}}}$

1. $f\left( {x,y,z} \right) = \frac{3x - 4y + 2z}{\sqrt{9 - x^{2} - y^{2} - z^{2}}}$

2. $g\left( {x,y,t} \right) = \frac{\sqrt{2t - 4}}{x^{2} - y^{2}}$

2. $g\left( {x,y,t} \right) = \frac{\sqrt{2t - 4}}{x^{2} - y^{2}}$

Solution

1. For the function $f\left( {x,y,z} \right) = \frac{3x - 4y + 2z}{\sqrt{9 - x^{2} - y^{2} - z^{2}}}$ to be defined (and be a real value), two conditions must hold:

1. 要使函数 $f\left( {x,y,z} \right) = \frac{3x - 4y + 2z}{\sqrt{9 - x^{2} - y^{2} - z^{2}}}$ 有定义(且为实数值),须同时满足两个条件:

1. The denominator cannot be zero.

1. 分母不能为零。

2. The radicand cannot be negative.

2. 被开方数不能为负。

Combining these conditions leads to the inequality

综合这些条件得到不等式

$$9 - x^{2} - y^{2} - z^{2} > 0.$$

$$9 - x^{2} - y^{2} - z^{2} > 0.$$

Moving the variables to the other side and reversing the inequality gives the domain as

将变量移到另一边并反转不等号,得到定义域为

$$\text{domain}(f) = \left\{ {\left( {x,y,z} \right) \in \left. \mathbb{R}^{3} \right|x^{2} + y^{2} + z^{2} < 9} \right\},$$

$$\text{domain}(f) = \left\{ {\left( {x,y,z} \right) \in \left. \mathbb{R}^{3} \right|x^{2} + y^{2} + z^{2} < 9} \right\},$$

which describes a ball of radius $3$ centered at the origin. (*Note*: The surface of the ball is not included in this domain.)

它描述了一个以原点为中心、半径为 $3$ 的球体。(*注*:该球体的表面不在此定义域内。)

2. For the function $g\left( {x,y,t} \right) = \frac{\sqrt{2t - 4}}{x^{2} - y^{2}}$ to be defined (and be a real value), two conditions must hold:

2. 要使函数 $g\left( {x,y,t} \right) = \frac{\sqrt{2t - 4}}{x^{2} - y^{2}}$ 有定义(且为实数值),须同时满足两个条件:

1. The radicand cannot be negative.

1. 被开方数不能为负。

2. The denominator cannot be zero.

2. 分母不能为零。

Since the radicand cannot be negative, this implies $2t - 4 \geq 0,$ and therefore that $t \geq 2.$ Since the denominator cannot be zero, $x^{2} - y^{2} \neq 0,$ or $x^{2} \neq y^{2},$ Which can be rewritten as $y \neq \text{±}x$, which are the equations of two lines passing through the origin. Therefore, the domain of $g$ is

由于被开方数不能为负,故 $2t - 4 \geq 0$,从而 $t \geq 2$。由于分母不能为零,故 $x^{2} - y^{2} \neq 0$,即 $x^{2} \neq y^{2}$,可改写为 $y \neq \text{±}x$,这是两条过原点的直线方程。因此 $g$ 的定义域为

$$\text{domain}(g) = \left\{ \left. \left( {x,y,t} \right) \right|y \neq \text{±}x,t \geq 2 \right\}.$$

$$\text{domain}(g) = \left\{ \left. \left( {x,y,t} \right) \right|y \neq \text{±}x,t \geq 2 \right\}.$$

Find the domain of the function $h\left( {x,y,t} \right) = \left( {3t - 6} \right)\sqrt{y - 4x^{2} + 4}.$

求函数 $h\left( {x,y,t} \right) = \left( {3t - 6} \right)\sqrt{y - 4x^{2} + 4}$ 的定义域。

Functions of two variables have level curves, which are shown as curves in the $xy\text{-plane.}$ However, when the function has three variables, the curves become surfaces, so we can define level surfaces for functions of three variables.

二元函数有等高线,它们表现为 $xy\text{-plane}$ 中的曲线。然而,当函数含有三个变量时,这些曲线变成了曲面,因此我们可以为三元函数定义等值面。

Given a function $f\left( {x,y,z} \right)$ and a number $c$ in the range of $f,$ a level surface of a function of three variables is defined to be the set of points satisfying the equation $f\left( {x,y,z} \right) = c.$

给定函数 $f\left( {x,y,z} \right)$ 以及 $f$ 的值域中的一个数值 $c$,三元函数的等值面定义为满足方程 $f\left( {x,y,z} \right) = c$ 的点集。

Finding a Level Surface 求等值面

Find the level surface for the function $f\left( {x,y,z} \right) = 4x^{2} + 9y^{2} - z^{2}$ corresponding to $c = 1.$

求函数 $f\left( {x,y,z} \right) = 4x^{2} + 9y^{2} - z^{2}$ 在 $c = 1$ 处的等值面。

Solution

The level surface is defined by the equation $4x^{2} + 9y^{2} - z^{2} = 1.$ This equation describes a hyperboloid of one sheet as shown in the following figure.

该等值面由方程 $4x^{2} + 9y^{2} - z^{2} = 1$ 定义。此方程描述一个单叶双曲面,如下图所示。

Find an equation of the level surface of the function

求下列函数的等值面方程

$$g\left( {x,y,z} \right) = x^{2} + y^{2} + z^{2} - 2x + 4y - 6$$

$$g\left( {x,y,z} \right) = x^{2} + y^{2} + z^{2} - 2x + 4y - 6$$

corresponding to $c = 2,$ and describe the surface, if possible.

使其在 $c = 2$ 处,并尽可能描述该曲面。

Section 4.1 Exercises 4.1 节习题

For the following exercises, evaluate each function at the indicated values.

在下列习题中,求各函数在指定点处的值。

1.

1.

$W(x,y) = 4x^{2} + y^{2}.$ Find $W(2,-1),$ $W(-3,6).$

$W(x,y) = 4x^{2} + y^{2}$。求 $W(2,-1)$、$W(-3,6)$。

2\.

2.

$W(x,y) = 4x^{2} + y^{2}.$ Find $W(2 + h,3 + h).$

$W(x,y) = 4x^{2} + y^{2}$。求 $W(2 + h,3 + h)$。

3.

3.

The volume of a right circular cylinder is calculated by a function of two variables, $V(x,y) = \pi x^{2}y,$ where $x$ is the radius of the right circular cylinder and $y$ represents the height of the cylinder. Evaluate $V(2,5)$ and explain what this means.

直圆柱的体积由二元函数 $V(x,y) = \pi x^{2}y$ 给出,其中 $x$ 为直圆柱的底面半径,$y$ 为圆柱的高。计算 $V(2,5)$ 并说明其含义。

4\.

4.

An oxygen tank is constructed of a right cylinder of height $y$ and radius $x$ with two hemispheres of radius $x$ mounted on the top and bottom of the cylinder. Express the volume of the tank as a function of two variables, $x\ \text{and}\ y,$ find $V(10,2),$ and explain what this means.

一个氧气罐由一个高为 $y$、半径为 $x$ 的直圆柱以及分别装在圆柱上下两端、半径为 $x$ 的两个半球构成。将罐的体积表示为两个变量 $x$ 与 $y$ 的函数,求 $V(10,2)$,并说明其含义。

For the following exercises, find the domain of the function.

在下列习题中,求各函数的定义域。

5.

5.

$V(x,y) = 4x^{2} + y^{2}$

$V(x,y) = 4x^{2} + y^{2}$

6\.

6.

$f(x,y) = \sqrt{x^{2} + y^{2} - 4}$

$f(x,y) = \sqrt{x^{2} + y^{2} - 4}$

7.

7.

$f(x,y) = 4\ \text{ln}(y^{2} - x)$

$f(x,y) = 4\ \text{ln}(y^{2} - x)$

8\.

8.

$g(x,y) = \sqrt{16 - 4x^{2} - y^{2}}$

$g(x,y) = \sqrt{16 - 4x^{2} - y^{2}}$

9.

9.

$z(x,y) = y^{2} - x^{2}$

$z(x,y) = y^{2} - x^{2}$

10\.

10.

$f(x,y) = \frac{y + 2}{x^{2}}$

$f(x,y) = \frac{y + 2}{x^{2}}$

Find the range of the functions.

求下列函数的值域。

11.

11.

$g(x,y) = \sqrt{16 - 4x^{2} - y^{2}}$

$g(x,y) = \sqrt{16 - 4x^{2} - y^{2}}$

12\.

12.

$V(x,y) = 4x^{2} + y^{2}$

$V(x,y) = 4x^{2} + y^{2}$

13.

13.

$z = y^{2} - x^{2}$

$z = y^{2} - x^{2}$

For the following exercises, find the level curves of each function at the indicated value of $c$ to visualize the given function.

在下列习题中,求各函数在指定 $c$ 值处的等高线,以直观观察所给函数。

14\.

14.

$z(x,y) = y^{2} - x^{2},$ $c = 1$

$z(x,y) = y^{2} - x^{2},$ $c = 1$

15.

15.

$z(x,y) = y^{2} - x^{2},$ $c = 4$

$z(x,y) = y^{2} - x^{2},$ $c = 4$

16\.

16.

$g(x,y) = x^{2} + y^{2};c = 4,c = 9$

$g(x,y) = x^{2} + y^{2};c = 4,c = 9$

17.

17.

$g(x,y) = 4 - x - y;c = 0,4$

$g(x,y) = 4 - x - y;c = 0,4$

18\.

18.

$f(x,y) = xy;c = 1;c = -1$

$f(x,y) = xy;c = 1;c = -1$

19.

19.

$h(x,y) = 2x - y;c = 0,-2,2$

$h(x,y) = 2x - y;c = 0,-2,2$

20\.

20.

$f(x,y) = x^{2} - y;c = 1,2$

$f(x,y) = x^{2} - y;c = 1,2$

21.

21.

$g(x,y) = \frac{x}{x + y};c = -1,0,2$

$g(x,y) = \frac{x}{x + y};c = -1,0,2$

22\.

22.

$g(x,y) = x^{3} - y;c = -1,0,2$

$g(x,y) = x^{3} - y;c = -1,0,2$

23.

23.

$g(x,y) = e_{}^{xy};c = \frac{1}{2},3$

$g(x,y) = e_{}^{xy};c = \frac{1}{2},3$

24\.

24.

$f(x,y) = x^{2};c = 4,9$

$f(x,y) = x^{2};c = 4,9$

25.

25.

$f(x,y) = xy - x;c = -2,0,2$

$f(x,y) = xy - x;c = -2,0,2$

26\.

26.

$h(x,y) = \text{ln}(x^{2} + y^{2});c = -1,0,1$

$h(x,y) = \text{ln}(x^{2} + y^{2});c = -1,0,1$

27.

27.

$g(x,y) = \text{ln}\left( \frac{y}{x^{2}} \right);c = -2,0,2$

$g(x,y) = \text{ln}\left( \frac{y}{x^{2}} \right);c = -2,0,2$

28\.

28.

$z = f(x,y) = \sqrt{x^{2} + y^{2}},$ $c = 3$

$z = f(x,y) = \sqrt{x^{2} + y^{2}},$ $c = 3$

29.

29.

$f(x,y) = \frac{y + 2}{x^{2}},$ $c =$ any constant

$f(x,y) = \frac{y + 2}{x^{2}},$ $c =$ 任意常数

For the following exercises, find the vertical traces of the functions at the indicated values of $x$ and *y*, and plot the traces.

在下列习题中,求函数在指定 $x$ 与 *y* 值处的竖直截痕,并绘出截痕。

30\.

30.

$z = 4 - x - y;x = 2$

$z = 4 - x - y;x = 2$

31.

31.

$f(x,y) = 3x + y^{3},x = 1$

$f(x,y) = 3x + y^{3},x = 1$

32\.

32.

$z = \text{cos}\sqrt{x^{2} + y^{2}}$ $x = 1$

$z = \text{cos}\sqrt{x^{2} + y^{2}}$ $x = 1$

Find the domain of the following functions.

求下列函数的定义域。

33.

33.

$z = \sqrt{100 - 4x^{2} - 25y^{2}}$

$z = \sqrt{100 - 4x^{2} - 25y^{2}}$

34\.

34.

$z = \text{ln}\left( {x - y^{2}} \right)$

$z = \text{ln}\left( {x - y^{2}} \right)$

35.

35.

$f(x,y,z) = \frac{1}{\sqrt{36 - 4x^{2} - 9y^{2} - z^{2}}}$

$f(x,y,z) = \frac{1}{\sqrt{36 - 4x^{2} - 9y^{2} - z^{2}}}$

36\.

36.

$f(x,y,z) = \sqrt{49 - x^{2} - y^{2} - z^{2}}$

$f(x,y,z) = \sqrt{49 - x^{2} - y^{2} - z^{2}}$

37.

37.

$f(x,y,z) = \sqrt[3]{16 - x^{2} - y^{2} - z^{2}}$

$f(x,y,z) = \sqrt[3]{16 - x^{2} - y^{2} - z^{2}}$

38\.

38.

$f(x,y) = \text{cos}\sqrt{x^{2} + y^{2}}$

$f(x,y) = \text{cos}\sqrt{x^{2} + y^{2}}$

For the following exercises, plot a graph of the function.

在下列习题中,绘出函数的图像。

39.

39.

$z = f(x,y) = \sqrt{x^{2} + y^{2}}$

$z = f(x,y) = \sqrt{x^{2} + y^{2}}$

40\.

40.

$z = x^{2} + y^{2}$

$z = x^{2} + y^{2}$

41.

41.

Use technology to graph $z = x^{2}y.$

运用技术手段绘制 $z = x^{2}y$ 的图像。

Sketch the following by finding the level curves. Verify the graph using technology.

通过求等高线草绘下列函数,并用技术手段验证图像。

42\.

42.

$f(x,y) = \sqrt{4 - x^{2} - y^{2}}$

$f(x,y) = \sqrt{4 - x^{2} - y^{2}}$

43.

43.

$f(x,y) = 2 - \sqrt{x^{2} + y^{2}}$

$f(x,y) = 2 - \sqrt{x^{2} + y^{2}}$

44\.

44.

$z = 1 + e^{\text{−}x^{2} - y^{2}}$

$z = 1 + e^{\text{−}x^{2} - y^{2}}$

45.

45.

$z = \text{cos}\sqrt{x^{2} + y^{2}}$

$z = \text{cos}\sqrt{x^{2} + y^{2}}$

46\.

46.

$z = y^{2} - x^{2}$

$z = y^{2} - x^{2}$

47.

47.

Describe the contour lines for several values of $c$ for $z = x^{2} + y^{2} - 2x - 2y.$

描述 $z = x^{2} + y^{2} - 2x - 2y$ 在多个 $c$ 值处的等高线。

Find the level surface for the functions of three variables and describe it.

求下列三元函数的等值面并描述之。

48\.

48.

$w(x,y,z) = x - 2y + z,c = 4$

$w(x,y,z) = x - 2y + z,c = 4$

49.

49.

$w(x,y,z) = x^{2} + y^{2} + z^{2},c = 9$

$w(x,y,z) = x^{2} + y^{2} + z^{2},c = 9$

50\.

50.

$w(x,y,z) = x^{2} + y^{2} - z^{2},c = -4$

$w(x,y,z) = x^{2} + y^{2} - z^{2},c = -4$

51.

51.

$w(x,y,z) = x^{2} + y^{2} - z^{2},c = 4$

$w(x,y,z) = x^{2} + y^{2} - z^{2},c = 4$

52\.

52.

$w(x,y,z) = 9x^{2} - 4y^{2} + 36z^{2},c = 0$

$w(x,y,z) = 9x^{2} - 4y^{2} + 36z^{2},c = 0$

For the following exercises, find an equation of the level curve of $f$ that contains the point $P.$

在下列习题中,求包含点 $P$ 的 $f$ 的等高线方程。

53.

53.

$f(x,y) = 1 - 4x^{2} - y^{2},P(0,1)$

$f(x,y) = 1 - 4x^{2} - y^{2},P(0,1)$

54\.

54.

$g(x,y) = y^{2}\text{arctan}\ x,P(1,2)$

$g(x,y) = y^{2}\text{arctan}\ x,P(1,2)$

55.

55.

$g(x,y) = e^{xy}(x^{2} + y^{2}),P(1,0)$

$g(x,y) = e^{xy}(x^{2} + y^{2}),P(1,0)$

56\.

56.

The strength $E$ of an electric field at point $\left( {x,y,z} \right)$ resulting from an infinitely long charged wire lying along the $z\text{-axis}$ is given by $E(x,y,z) = {k\text{/}\sqrt{x^{2} + y^{2}}},$ where $k$ is a positive constant. For simplicity, let $k = 1$ and find the equations of the level surfaces for $E = 10\ \text{and}\ E = 100.$

位于 $\left( {x,y,z} \right)$ 处、由沿 $z\text{-axis}$ 放置的无限长带电导线产生的电场强度 $E$ 由 $E(x,y,z) = {k\text{/}\sqrt{x^{2} + y^{2}}}$ 给出,其中 $k$ 为正常数。为简便起见,令 $k = 1$,求 $E = 10$ 与 $E = 100$ 的等值面方程。

57.

57.

A thin plate made of iron is located in the $xy\text{-plane.}$ The temperature $T$ in degrees Celsius at a point $P\left( {x,y} \right)$ is inversely proportional to the square of its distance from the origin. Express $T$ as a function of $x\ \text{and}\ y.$

一块铁制薄板位于 $xy\text{-plane}$ 内。点 $P\left( {x,y} \right)$ 处的温度 $T$(单位:摄氏度)与该点到原点的距离的平方成反比。将 $T$ 表示为 $x$ 与 $y$ 的函数。

58\.

58.

Refer to the preceding problem. Using the temperature function found there, determine the proportionality constant if the temperature at point $P\left( {1,2} \right)\ is\ 50\text{°}\text{C}.$ Use this constant to determine the temperature at point $Q\left( {3,4} \right).$

参见上一题。利用在那里求得的温度函数,若点 $P\left( {1,2} \right)$ 处温度为 $50\text{°}\text{C}$,确定比例常数,并用该常数求点 $Q\left( {3,4} \right)$ 处的温度。

59.

59.

Refer to the preceding problem. Find the level curves for $T = 40\text{°}\text{C and}\ T = 100\text{°}\text{C},$ and describe what the level curves represent.

参见上一题。求 $T = 40\text{°}\text{C}$ 与 $T = 100\text{°}\text{C}$ 的等高线,并描述这些等高线表示什么。

4.2 Limits and Continuity 4.2 极限与连续性

We have now examined functions of more than one variable and seen how to graph them. In this section, we see how to take the limit of a function of more than one variable, and what it means for a function of more than one variable to be continuous at a point in its domain. It turns out these concepts have aspects that just don’t occur with functions of one variable.

至此,我们已经考察了多变量函数并了解了如何绘制其图像。本节中,我们将看到如何求多变量函数的极限,以及多变量函数在其定义域内某点处连续意味着什么。结果表明,这些概念包含了单元函数所没有的某些方面。

Limit of a Function of Two Variables 二元函数的极限

Recall from The Limit of a Function the definition of a limit of a function of one variable:

请回忆《函数的极限》中一元函数极限的定义:

Let $f(x)$ be defined for all $x \neq a$ in an open interval containing $a.$ Let $L$ be a real number. Then

设 $f(x)$ 在包含 $a$ 的某个开区间内对所有 $x \neq a$ 有定义。设 $L$ 为一个实数。则

$$\underset{x\rightarrow a}{\text{lim}}f(x) = L$$

$$\underset{x\rightarrow a}{\text{lim}}f(x) = L$$

if for every $\varepsilon > 0,$ there exists a $\delta > 0,$ such that if $0 < \left| {x - a} \right| < \delta$ for all $x$ in the domain of $f,$ then

若对每一个 $\varepsilon > 0$,存在 $\delta > 0$,使得对 $f$ 定义域中所有满足 $0 < \left| {x - a} \right| < \delta$ 的 $x$,都有

$$\left| {f(x) - L} \right| < \varepsilon.$$

$$\left| {f(x) - L} \right| < \varepsilon.$$

Before we can adapt this definition to define a limit of a function of two variables, we first need to see how to extend the idea of an open interval in one variable to an open interval in two variables.

在我们将此定义推广以定义二元函数的极限之前,首先需要了解如何将一元变量中开区间的概念推广到二元变量中的开区间。

Consider a point $(a,b) \in \mathbb{R}^{2}.$ A $\delta$ disk centered at point $(a,b)$ is defined to be an open disk of radius $\delta$ centered at point $\left( {a,b} \right)$—that is,

考虑一点 $(a,b) \in \mathbb{R}^{2}$。以 $(a,b)$ 为中心的 $\delta$ 圆盘定义为以 $(a,b)$ 为中心、半径为 $\delta$ 的开圆盘——即

$$\left\{ (x,y) \in \mathbb{R}^{2} \middle| {(x - a)}^{2} + {(y - b)}^{2} < \delta^{2} \right\}$$

$$\left\{ (x,y) \in \mathbb{R}^{2} \middle| {(x - a)}^{2} + {(y - b)}^{2} < \delta^{2} \right\}$$

as shown in the following graph.

如下图所示。

The idea of a $\delta$ disk appears in the definition of the limit of a function of two variables. If $\delta$ is small, then all the points $\left( {x,y} \right)$ in the $\delta$ disk are close to $\left( {a,b} \right).$ This is completely analogous to $x$ being close to $a$ in the definition of a limit of a function of one variable. In one dimension, we express this restriction as

$\delta$ 圆盘的概念出现在二元函数极限的定义中。若 $\delta$ 很小,则 $\delta$ 圆盘中的所有点 $\left( {x,y} \right)$ 都接近 $\left( {a,b} \right)$。这完全类似于一元函数极限定义中 $x$ 接近 $a$。在一维情形中,我们将此限制表示为

$$a - \delta < x < a + \delta.$$

$$a - \delta < x < a + \delta.$$

In more than one dimension, we use a $\delta$ disk.

在多于一个维度时,我们使用 $\delta$ 圆盘。

Let $f$ be a function of two variables, $x$ and $y.$ The limit of $f\left( {x,y} \right)$ as $\left( {x,y} \right)$ approaches $\left( {a,b} \right)$ is $L,$ written

设 $f$ 为两个变量 $x$ 与 $y$ 的函数。当 $\left( {x,y} \right)$ 趋于 $\left( {a,b} \right)$ 时 $f\left( {x,y} \right)$ 的极限为 $L$,记作

$$\underset{{({x,y})}\rightarrow{({a,b})}}{\text{lim}}f(x,y) = L$$

$$\underset{{({x,y})}\rightarrow{({a,b})}}{\text{lim}}f(x,y) = L$$

if for each $\varepsilon > 0$ there exists a small enough $\delta > 0$ such that for all points $\left( {x,y} \right)$ in a $\delta$ disk around $\left( {a,b} \right),$ except possibly for $\left( {a,b} \right)$ itself, the value of $f\left( {x,y} \right)$ is no more than $\varepsilon$ away from $L$ (Figure 4.15). Using symbols, we write the following: For any $\varepsilon > 0,$ there exists a number $\delta > 0$ such that

若对每一个 $\varepsilon > 0$,存在足够小的 $\delta > 0$,使得在以 $\left( {a,b} \right)$ 为中心、半径为 $\delta$ 的圆盘内所有点 $\left( {x,y} \right)$(可能除 $\left( {a,b} \right)$ 本身外)处,$f\left( {x,y} \right)$ 的值与 $L$ 的差距不超过 $\varepsilon$(图 4.15)。用符号表示如下:对任意 $\varepsilon > 0$,存在数 $\delta > 0$,使得

$$\left| {f\left( {x,y} \right) - L} \right| < \varepsilon\ \text{whenever}\ 0 < \sqrt{\left( {x - a} \right)^{2} + \left( {y - b} \right)^{2}} < \delta.$$

$$\left| {f\left( {x,y} \right) - L} \right| < \varepsilon\ \text{whenever}\ 0 < \sqrt{\left( {x - a} \right)^{2} + \left( {y - b} \right)^{2}} < \delta.$$

Proving that a limit exists using the definition of a limit of a function of two variables can be challenging. Instead, we use the following theorem, which gives us shortcuts to finding limits. The formulas in this theorem are an extension of the formulas in the limit laws theorem in The Limit Laws.

利用二元函数极限的定义来证明极限存在可能十分困难。作为替代,我们使用下面的定理,它给出了求极限的捷径。该定理中的公式是一元函数极限法则定理中公式的推广。

Limit laws for functions of two variables 多元函数的极限法则

Let $f\left( {x,y} \right)$ and $g\left( {x,y} \right)$ be defined for all $\left( {x,y} \right) \neq \left( {a,b} \right)$ in a neighborhood around $\left( {a,b} \right),$ and assume the neighborhood is contained completely inside the domain of $f.$ Assume that $L$ and $M$ are real numbers such that $\underset{(x,y)\rightarrow(a,b)}{\text{lim}}f(x,y) = L$ and $\underset{(x,y)\rightarrow(a,b)}{\text{lim}}g(x,y) = M,$ and let $c$ be a constant. Then each of the following statements holds:

设 $f\left( {x,y} \right)$ 与 $g\left( {x,y} \right)$ 在 $\left( {a,b} \right)$ 的某个邻域内对所有 $\left( {x,y} \right) \neq \left( {a,b} \right)$ 有定义,并设该邻域完全包含于 $f$ 的定义域内。设 $L$ 与 $M$ 为实数,满足 $\underset{(x,y)\rightarrow(a,b)}{\text{lim}}f(x,y) = L$ 与 $\underset{(x,y)\rightarrow(a,b)}{\text{lim}}g(x,y) = M$,并设 $c$ 为常数。则下列各命题均成立:

Constant Law:

常数法则:

$$\underset{(x,y)\rightarrow(a,b)}{\text{lim}}c = c$$ (4.2)

$$\underset{(x,y)\rightarrow(a,b)}{\text{lim}}c = c$$ (4.2)

Identity Laws:

恒等法则:

$$\underset{(x,y)\rightarrow(a,b)}{\text{lim}}x = a$$ (4.3) $$\underset{(x,y)\rightarrow(a,b)}{\text{lim}}y = b$$ (4.4)

$$\underset{(x,y)\rightarrow(a,b)}{\text{lim}}x = a$$ (4.3) $$\underset{(x,y)\rightarrow(a,b)}{\text{lim}}y = b$$ (4.4)

Sum Law:

和法则:

$$\underset{(x,y)\rightarrow(a,b)}{\text{lim}}\left( {f\left( {x,y} \right) + g\left( {x,y} \right)} \right) = L + M$$ (4.5)

$$\underset{(x,y)\rightarrow(a,b)}{\text{lim}}\left( {f\left( {x,y} \right) + g\left( {x,y} \right)} \right) = L + M$$ (4.5)

Difference Law:

差法则:

$$\underset{(x,y)\rightarrow(a,b)}{\text{lim}}\left( {f\left( {x,y} \right) - g\left( {x,y} \right)} \right) = L - M$$ (4.6)

$$\underset{(x,y)\rightarrow(a,b)}{\text{lim}}\left( {f\left( {x,y} \right) - g\left( {x,y} \right)} \right) = L - M$$ (4.6)

Constant Multiple Law:

常数倍法则:

$$\underset{(x,y)\rightarrow(a,b)}{\text{lim}}\left( {cf\left( {x,y} \right)} \right) = cL$$ (4.7)

$$\underset{(x,y)\rightarrow(a,b)}{\text{lim}}\left( {cf\left( {x,y} \right)} \right) = cL$$ (4.7)

Product Law:

积法则:

$$\underset{(x,y)\rightarrow(a,b)}{\text{lim}}\left( {f\left( {x,y} \right)g\left( {x,y} \right)} \right) = LM$$ (4.8)

$$\underset{(x,y)\rightarrow(a,b)}{\text{lim}}\left( {f\left( {x,y} \right)g\left( {x,y} \right)} \right) = LM$$ (4.8)

Quotient Law:

商法则:

$$\underset{(x,y)\rightarrow(a,b)}{\text{lim}}\frac{f\left( {x,y} \right)}{g\left( {x,y} \right)} = \frac{L}{M}\ \text{for}\ M \neq 0$$ (4.9)

$$\underset{(x,y)\rightarrow(a,b)}{\text{lim}}\frac{f\left( {x,y} \right)}{g\left( {x,y} \right)} = \frac{L}{M}\ \text{for}\ M \neq 0$$ (4.9)

Power Law:

幂法则:

$$\underset{(x,y)\rightarrow(a,b)}{\text{lim}}\left( {f\left( {x,y} \right)} \right)^{n} = L^{n}$$ (4.10)

$$\underset{(x,y)\rightarrow(a,b)}{\text{lim}}\left( {f\left( {x,y} \right)} \right)^{n} = L^{n}$$ (4.10)

for any positive integer $n.$

其中 $n$ 为任意正整数。

Root Law:

根法则:

$$\underset{(x,y)\rightarrow(a,b)}{\text{lim}}\sqrt[n]{f\left( {x,y} \right)} = \sqrt[n]{L}$$ (4.11)

$$\underset{(x,y)\rightarrow(a,b)}{\text{lim}}\sqrt[n]{f\left( {x,y} \right)} = \sqrt[n]{L}$$ (4.11)

for all $L$ if $n$ is odd and positive, and for $L \geq 0$ if $n$ is even and positive provided that $f\left( x,\operatorname{}y \right)\operatorname{} \geq \operatorname{}0$ for all $\left( x,\operatorname{}y \right)\operatorname{} \neq \operatorname{}\left( a,\operatorname{}b \right)$ in neighborhood of $\left( a,\operatorname{}b \right)$.

当 $n$ 为正奇数时对所有 $L$ 成立;当 $n$ 为正偶数时,对 $L \geq 0$ 成立,且要求在点 $\left( a,\operatorname{}b \right)$ 的邻域内所有 $\left( x,\operatorname{}y \right)\operatorname{} \neq \operatorname{}\left( a,\operatorname{}b \right)$ 处 $f\left( x,\operatorname{}y \right)\operatorname{} \geq \operatorname{}0$。

The proofs of these properties are similar to those for the limits of functions of one variable. We can apply these laws to finding limits of various functions.

这些性质的证明与一元函数极限的相应证明类似。我们可以应用这些法则来求各类函数的极限。

Finding the Limit of a Function of Two Variables 求二元函数的极限

Find each of the following limits:

求下列各个极限:

1. $\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}\left( {x^{2} - 2xy + 3y^{2} - 4x + 3y - 6} \right)$

1. $\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}\left( {x^{2} - 2xy + 3y^{2} - 4x + 3y - 6} \right)$

2. $\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}\frac{2x + 3y}{4x - 3y}$

2. $\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}\frac{2x + 3y}{4x - 3y}$

Solution

1. First use the sum and difference laws to separate the terms:

1. 首先利用和差法则将各项分离:

$$\begin{array}{l} \\ {\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}\left( {x^{2} - 2xy + 3y^{2} - 4x + 3y - 6} \right)} \\ {= \left( {\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}x^{2}} \right) - \left( {\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}2xy} \right) + \left( {\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}3y^{2}} \right) - \left( {\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}4x} \right)} \\ {\mspace{14mu}{+ \left( {\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}3y} \right)} - \left( {\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}6} \right).} \end{array}$$

$$\begin{array}{l} \\ {\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}\left( {x^{2} - 2xy + 3y^{2} - 4x + 3y - 6} \right)} \\ {= \left( {\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}x^{2}} \right) - \left( {\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}2xy} \right) + \left( {\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}3y^{2}} \right) - \left( {\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}4x} \right)} \\ {\mspace{14mu}{+ \left( {\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}3y} \right)} - \left( {\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}6} \right).} \end{array}$$

Next, use the constant multiple law on the second, third, fourth, and fifth limits:

接着,对第二、第三、第四、第五个极限使用常数倍法则:

$$\begin{array}{l} \\ \\ {= \left( {\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}x^{2}} \right) - 2\left( {\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}xy} \right) + 3\left( {\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}y^{2}} \right) - 4\left( {\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}x} \right)} \\ {\mspace{9mu} + 3\left( {\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}y} \right) - \underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}6.} \end{array}$$

$$\begin{array}{l} \\ \\ {= \left( {\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}x^{2}} \right) - 2\left( {\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}xy} \right) + 3\left( {\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}y^{2}} \right) - 4\left( {\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}x} \right)} \\ {\mspace{9mu} + 3\left( {\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}y} \right) - \underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}6.} \end{array}$$

Now, use the power law on the first and third limits, and the product law on the second limit:

现在,对第一和第三个极限使用幂法则,对第二个极限使用积法则:

$$\begin{array}{l} \\ \\ \\ {= \left( {\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}x} \right)^{2} - 2\left( {\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}x} \right)\left( {\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}y} \right) + 3\left( {\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}y} \right)^{2}} \\ {\mspace{9mu} - 4\left( {\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}x} \right) + 3\left( {\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}y} \right) - \underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}6.} \end{array}$$

$$\begin{array}{l} \\ \\ \\ {= \left( {\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}x} \right)^{2} - 2\left( {\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}x} \right)\left( {\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}y} \right) + 3\left( {\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}y} \right)^{2}} \\ {\mspace{9mu} - 4\left( {\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}x} \right) + 3\left( {\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}y} \right) - \underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}6.} \end{array}$$

Last, use the identity laws on the first six limits and the constant law on the last limit:

最后,对前六个极限使用恒等法则,对最后一个极限使用常数法则:

$\begin{array}{cl} {\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}\left( {x^{2} - 2xy + 3y^{2} - 4x + 3y - 6} \right)} & {= (2)^{2} - 2(2)(-1) + 3(-1)^{2} - 4(2) + 3(-1) - 6} \\ & {= -6.} \end{array}$

$\begin{array}{cl} {\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}\left( {x^{2} - 2xy + 3y^{2} - 4x + 3y - 6} \right)} & {= (2)^{2} - 2(2)(-1) + 3(-1)^{2} - 4(2) + 3(-1) - 6} \\ & {= -6.} \end{array}$

2. Before applying the quotient law, we need to verify that the limit of the denominator is nonzero. Using the difference law, constant multiple law, and identity law,

2. 在应用商法则之前,我们需要验证分母的极限非零。利用差法则、常数倍法则与恒等法则,

$$\begin{array}{cl} {\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}\left( {4x - 3y} \right)} & {= \underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}4x - \underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}3y} \\ & {= 4\left( {\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}x} \right) - 3\left( {\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}y} \right)} \\ & {= 4(2) - 3(-1) = 11.} \end{array}$$

$$\begin{array}{cl} {\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}\left( {4x - 3y} \right)} & {= \underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}4x - \underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}3y} \\ & {= 4\left( {\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}x} \right) - 3\left( {\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}y} \right)} \\ & {= 4(2) - 3(-1) = 11.} \end{array}$$

Since the limit of the denominator is nonzero, the quotient law applies. We now calculate the limit of the numerator using the difference law, constant multiple law, and identity law:

由于分母的极限非零,商法则适用。现在利用差法则、常数倍法则与恒等法则计算分子的极限:

$$\begin{array}{cl} {\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}\left( {2x + 3y} \right)} & {= \underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}2x + \underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}3y} \\ & {= 2\left( {\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}x} \right) + 3\left( {\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}y} \right)} \\ & {= 2(2) + 3(-1)} \\ & {= 1.} \end{array}$$

$$\begin{array}{cl} {\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}\left( {2x + 3y} \right)} & {= \underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}2x + \underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}3y} \\ & {= 2\left( {\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}x} \right) + 3\left( {\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}y} \right)} \\ & {= 2(2) + 3(-1)} \\ & {= 1.} \end{array}$$

Therefore, according to the quotient law we have

因此,由商法则可得

$$\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}\frac{2x + 3y}{4x - 3y} = \frac{\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}\left( {2x + 3y} \right)}{\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}\left( {4x - 3y} \right)} = \frac{1}{11}.$$

$$\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}\frac{2x + 3y}{4x - 3y} = \frac{\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}\left( {2x + 3y} \right)}{\underset{{({x,y})}\rightarrow{({2,-1})}}{\text{lim}}\left( {4x - 3y} \right)} = \frac{1}{11}.$$

Evaluate the following limit:

求下列极限:

$$\underset{(x,y)\rightarrow(5,-2)}{\text{lim}}\sqrt[3]{\frac{x^{2} - y}{y^{2} + x - 1}}.$$

$$\underset{(x,y)\rightarrow(5,-2)}{\text{lim}}\sqrt[3]{\frac{x^{2} - y}{y^{2} + x - 1}}.$$

Since we are taking the limit of a function of two variables, the point $(a,b)$ is in $\mathbb{R}^{2},$ and it is possible to approach this point from an infinite number of directions. Sometimes when calculating a limit, the answer varies depending on the path taken toward $(a,b).$ If this is the case, then the limit fails to exist. In other words, the limit must be unique, regardless of path taken.

由于我们求的是二元函数的极限,点 $(a,b)$ 属于 $\mathbb{R}^{2}$,并且可以从无限多个方向逼近该点。在计算极限时,结果有时会随逼近 $(a,b)$ 所取路径的不同而不同。若如此,则该极限不存在。换言之,极限必须唯一,与所取路径无关。

Limits That Fail to Exist 不存在的极限

Show that neither of the following limits exist:

证明下列两个极限均不存在:

1. $\underset{(x,y)\rightarrow(0,0)}{\text{lim}}\frac{2xy}{3x^{2} + y^{2}}$

1. $\underset{(x,y)\rightarrow(0,0)}{\text{lim}}\frac{2xy}{3x^{2} + y^{2}}$

2. $\underset{(x,y)\rightarrow(0,0)}{\text{lim}}\frac{4xy^{2}}{x^{2} + 3y^{4}}$

2. $\underset{(x,y)\rightarrow(0,0)}{\text{lim}}\frac{4xy^{2}}{x^{2} + 3y^{4}}$

Solution

1. The domain of the function $f(x,y) = \frac{2xy}{3x^{2} + y^{2}}$ consists of all points in the $xy\text{-plane}$ except for the point $\left( {0,0} \right)$ (Figure 4.16). To show that the limit does not exist as $\left( {x,y} \right)$ approaches $\left( {0,0} \right),$ we note that it is impossible to satisfy the definition of a limit of a function of two variables because of the fact that the function takes different values along different lines passing through point $\left( {0,0} \right).$ First, consider the line $y = 0$ in the $xy\text{-plane.}$ Substituting $y = 0$ into $f\left( {x,y} \right)$ gives

1. 函数 $f(x,y) = \frac{2xy}{3x^{2} + y^{2}}$ 的定义域由 $xy\text{-plane}$ 中除 $\left( {0,0} \right)$ 外的所有点组成(图 4.16)。为说明当 $\left( {x,y} \right)$ 趋于 $\left( {0,0} \right)$ 时极限不存在,我们注意到,由于函数沿过 $\left( {0,0} \right)$ 的不同直线取不同的值,故不可能满足二元函数极限的定义。首先,考虑 $xy\text{-plane}$ 中的直线 $y = 0$。将 $y = 0$ 代入 $f\left( {x,y} \right)$ 得

$$f\left( {x,0} \right) = \frac{2x(0)}{3x^{2} + 0^{2}} = 0$$

$$f\left( {x,0} \right) = \frac{2x(0)}{3x^{2} + 0^{2}} = 0$$

for any value of $x.$ Therefore the value of $f$ remains constant for any point on the $x\text{-axis,}$ and as $y$ approaches zero, the function remains fixed at zero.

对任意 $x$ 值成立。因此 $f$ 在 $x\text{-axis}$ 上任意点处的值保持不变,且当 $y$ 趋于零时,函数值固定为零。

Next, consider the line $y = x.$ Substituting $y = x$ into $f\left( {x,y} \right)$ gives

其次,考虑直线 $y = x$。将 $y = x$ 代入 $f\left( {x,y} \right)$ 得

$$f\left( {x,x} \right) = \frac{2x(x)}{3x^{2} + x^{2}} = \frac{2x^{2}}{4x^{2}} = \frac{1}{2}.$$

$$f\left( {x,x} \right) = \frac{2x(x)}{3x^{2} + x^{2}} = \frac{2x^{2}}{4x^{2}} = \frac{1}{2}.$$

This is true for any point on the line $y = x.$ If we let $x$ approach zero while staying on this line, the value of the function remains fixed at $\frac{1}{2},$ regardless of how small $x$ is.

这对直线 $y = x$ 上任意点均成立。若我们沿该直线令 $x$ 趋于零,则无论 $x$ 多小,函数值都固定为 $\frac{1}{2}$。

Choose a value for $\varepsilon$ that is less than $1\text{/}2$—say, $1\text{/}4.$ Then, no matter how small a $\delta$ disk we draw around $\left( {0,0} \right),$ the values of $f\left( {x,y} \right)$ for points inside that $\delta$ disk will include both $0$ and $\frac{1}{2}.$ Therefore, the definition of limit at a point is never satisfied and the limit fails to exist.

取一个小于 $1\text{/}2$ 的 $\varepsilon$——例如 $1\text{/}4$。那么,无论我们在 $\left( {0,0} \right)$ 周围画的 $\delta$ 圆盘多小,该 $\delta$ 圆盘内各点处 $f\left( {x,y} \right)$ 的值都会同时包含 $0$ 与 $\frac{1}{2}$。因此,在一点处的极限定义永远无法满足,极限不存在。

In a similar fashion to a., we can approach the origin along any straight line passing through the origin. If we try the $x\text{-axis}$ (i.e., $y = 0),$ then the function remains fixed at zero. The same is true for the $y\text{-axis.}$ Suppose we approach the origin along a straight line of slope $k.$ The equation of this line is $y = kx.$ Then the limit becomes

与 a. 类似,我们可以沿任意过原点的直线逼近原点。若取 $x\text{-axis}$(即 $y = 0$),则函数值固定为零。$y\text{-axis}$ 的情况同样如此。假设我们沿斜率为 $k$ 的直线逼近原点,该直线方程为 $y = kx$。则极限变为

$$\begin{array}{cl} {\underset{(x,y)\rightarrow(0,0)}{\text{lim}}\frac{4xy^{2}}{x^{2} + 3y^{4}}} & {= \underset{(x,y)\rightarrow(0,0)}{\text{lim}}\frac{4x\left( {kx} \right)^{2}}{x^{2} + 3\left( {kx} \right)^{4}}} \\ & {= \underset{(x,y)\rightarrow(0,0)}{\text{lim}}\frac{4k^{2}x^{3}}{x^{2} + 3k^{4}x^{4}}} \\ & {= \underset{(x,y)\rightarrow(0,0)}{\text{lim}}\frac{4k^{2}x}{1 + 3k^{4}x^{2}}} \\ & {= \frac{\underset{(x,y)\rightarrow(0,0)}{\text{lim}}\left( {4k^{2}x} \right)}{\underset{(x,y)\rightarrow(0,0)}{\text{lim}}\left( {1 + 3k^{4}x^{2}} \right)}} \\ & {= 0} \end{array}$$

$$\begin{array}{cl} {\underset{(x,y)\rightarrow(0,0)}{\text{lim}}\frac{4xy^{2}}{x^{2} + 3y^{4}}} & {= \underset{(x,y)\rightarrow(0,0)}{\text{lim}}\frac{4x\left( {kx} \right)^{2}}{x^{2} + 3\left( {kx} \right)^{4}}} \\ & {= \underset{(x,y)\rightarrow(0,0)}{\text{lim}}\frac{4k^{2}x^{3}}{x^{2} + 3k^{4}x^{4}}} \\ & {= \underset{(x,y)\rightarrow(0,0)}{\text{lim}}\frac{4k^{2}x}{1 + 3k^{4}x^{2}}} \\ & {= \frac{\underset{(x,y)\rightarrow(0,0)}{\text{lim}}\left( {4k^{2}x} \right)}{\underset{(x,y)\rightarrow(0,0)}{\text{lim}}\left( {1 + 3k^{4}x^{2}} \right)}} \\ & {= 0} \end{array}$$

regardless of the value of $k.$ It would seem that the limit is equal to zero. What if we chose a curve passing through the origin instead? For example, we can consider the parabola given by the equation $x = y^{2}.$ Substituting $y^{2}$ in place of $x$ in $f\left( {x,y} \right)$ gives

与 $k$ 的取值无关。这似乎表明极限等于零。但如果我们改选一条过原点的曲线呢?例如,考虑由方程 $x = y^{2}$ 给出的抛物线。在 $f\left( {x,y} \right)$ 中用 $y^{2}$ 替换 $x$ 得

$$\begin{array}{cl} {\underset{{({x,y})}\rightarrow{({0,0})}}{\text{lim}}\frac{4xy^{2}}{x^{2} + 3y^{4}}} & {= \underset{{({x,y})}\rightarrow{({0,0})}}{\text{lim}}\frac{4\left( y^{2} \right)y^{2}}{\left( y^{2} \right)^{2} + 3y^{4}}} \\ & {= \underset{{({x,y})}\rightarrow{({0,0})}}{\text{lim}}\frac{4y^{4}}{y^{4} + 3y^{4}}} \\ & {= \underset{{({x,y})}\rightarrow{({0,0})}}{\text{lim}}1} \\ & {= 1.} \end{array}$$

$$\begin{array}{cl} {\underset{{({x,y})}\rightarrow{({0,0})}}{\text{lim}}\frac{4xy^{2}}{x^{2} + 3y^{4}}} & {= \underset{{({x,y})}\rightarrow{({0,0})}}{\text{lim}}\frac{4\left( y^{2} \right)y^{2}}{\left( y^{2} \right)^{2} + 3y^{4}}} \\ & {= \underset{{({x,y})}\rightarrow{({0,0})}}{\text{lim}}\frac{4y^{4}}{y^{4} + 3y^{4}}} \\ & {= \underset{{({x,y})}\rightarrow{({0,0})}}{\text{lim}}1} \\ & {= 1.} \end{array}$$

By the same logic in a., it is impossible to find a $\delta$ disk around the origin that satisfies the definition of the limit for any value of $\varepsilon < 1.$ Therefore, $\underset{{({x,y})}\rightarrow{({0,0})}}{\text{lim}}\frac{4xy^{2}}{x^{2} + 3y^{4}}$ does not exist.

由与 a. 相同的逻辑,不可能找到以原点为中心的 $\delta$ 圆盘,使其对任一 $\varepsilon < 1$ 都满足极限定义。因此,$\underset{{({x,y})}\rightarrow{({0,0})}}{\text{lim}}\frac{4xy^{2}}{x^{2} + 3y^{4}}$ 不存在。

Show that

证明

$$\underset{{({x,y})}\rightarrow{({2,1})}}{\text{lim}}\frac{\left( {x - 2} \right)\left( {y - 1} \right)}{\left( {x - 2} \right)^{2} + \left( {y - 1} \right)^{2}}$$

$$\underset{{({x,y})}\rightarrow{({2,1})}}{\text{lim}}\frac{\left( {x - 2} \right)\left( {y - 1} \right)}{\left( {x - 2} \right)^{2} + \left( {y - 1} \right)^{2}}$$

does not exist.

不存在。

Interior Points and Boundary Points 内点与边界点

To study continuity and differentiability of a function of two or more variables, we first need to learn some new terminology.

为研究二元或多元函数的连续性与可微性,我们首先需要学习一些新的术语。

Let *S* be a subset of $\mathbb{R}^{2}$ (Figure 4.17).

设 *S* 为 $\mathbb{R}^{2}$ 的子集(图 4.17)。

1. A point $P_{0}$ is called an interior point of $S$ if there is a $\delta$ disk centered around $P_{0}$ contained completely in $S.$

1. 若存在以 $P_{0}$ 为中心、完全包含在 $S$ 内的 $\delta$ 圆盘,则称点 $P_{0}$ 为 $S$ 的内点。

2. A point $P_{0}$ is called a boundary point of $S$ if every $\delta$ disk centered around $P_{0}$ contains points both inside and outside $S.$

2. 若以 $P_{0}$ 为中心的每个 $\delta$ 圆盘都同时含有 $S$ 内部和外部的点,则称点 $P_{0}$ 为 $S$ 的边界点。

Let *S* be a subset of $\mathbb{R}^{2}$ (Figure 4.17).

设 *S* 为 $\mathbb{R}^{2}$ 的子集(图 4.17)。

1. $S$ is called an open set if every point of $S$ is an interior point.

1. 若 $S$ 的每一点都是内点,则称 $S$ 为开集。

2. $S$ is called a closed set if it contains all its boundary points.

2. 若 $S$ 包含所有边界点,则称 $S$ 为闭集。

An example of an open set is a $\delta$ disk. If we include the boundary of the disk, then it becomes a closed set. A set that contains some, but not all, of its boundary points is neither open nor closed. For example if we include half the boundary of a $\delta$ disk but not the other half, then the set is neither open nor closed.

开集的一个例子是 $\delta$ 圆盘。若把圆盘的边界也包括进来,它就变成闭集。一个集合若只包含其部分边界点而非全部,则既不开也不闭。例如,若只包含一个 $\delta$ 圆盘的半个边界而不包含另一半,则该集合既不开也不闭。

Let *S* be a subset of $\mathbb{R}^{2}$ (Figure 4.17).

设 *S* 为 $\mathbb{R}^{2}$ 的子集(图 4.17)。

1. An open set $S$ is a connected set if it cannot be represented as the union of two or more disjoint, nonempty open subsets.

1. 若开集 $S$ 不能表示为两个或更多互不相交的非空开子集的并,则称 $S$ 为连通集。

2. A set $S$ is a region if it is open, connected, and nonempty.

2. 若集合 $S$ 是开集、连通且非空,则称 $S$ 为一个区域。

The definition of a limit of a function of two variables requires the $\delta$ disk to be contained inside the domain of the function. However, if we wish to find the limit of a function at a boundary point of the domain, the $\delta\ \text{disk}$ is not contained inside the domain. By definition, some of the points of the $\delta\ \text{disk}$ are inside the domain and some are outside. Therefore, we need only consider points that are inside both the $\delta$ disk and the domain of the function. This leads to the definition of the limit of a function at a boundary point.

二元函数极限的定义要求 $\delta$ 圆盘包含在函数的定义域内部。然而,若要在定义域的边界点处求函数的极限,则 $\delta\ \text{disk}$ 并不在定义域内部。按定义,$\delta\ \text{disk}$ 的部分点在定义域内、部分在定义域外。因此,我们只需考虑同时位于 $\delta$ 圆盘和函数定义域内部的点。这就引出了函数在边界点处极限的定义。

Let $f$ be a function of two variables, $x$ and $y,$ and suppose $\left( {a,b} \right)$ is on the boundary of the domain of $f.$ Then, the limit of $f\left( {x,y} \right)$ as $\left( {x,y} \right)$ approaches $\left( {a,b} \right)$ is $L,$ written

设 $f$ 为二元函数,自变量为 $x$ 和 $y$,并设 $\left( {a,b} \right)$ 在 $f$ 的定义域的边界上。则 $f\left( {x,y} \right)$ 当 $\left( {x,y} \right)$ 趋于 $\left( {a,b} \right)$ 时的极限为 $L$,记作

$$\underset{{({x,y})}\rightarrow{({a,b})}}{\text{lim}}f\left( {x,y} \right) = L,$$

$$\underset{{({x,y})}\rightarrow{({a,b})}}{\text{lim}}f\left( {x,y} \right) = L,$$

if for any $\varepsilon > 0,$ there exists a number $\delta > 0$ such that for any point $\left( {x,y} \right)$ inside the domain of $f$ and within a suitably small distance positive $\delta$ of $\left( {a,b} \right),$ the value of $f\left( {x,y} \right)$ is no more than $\varepsilon$ away from $L$ (Figure 4.15). Using symbols, we can write: For any $\varepsilon > 0,$ there exists a number $\delta > 0$ such that

若对任意 $\varepsilon > 0$,存在数 $\delta > 0$,使得对于定义域中且距 $\left( {a,b} \right)$ 在足够小的正数 $\delta$ 之内的任意点 $\left( {x,y} \right)$,都有 $f\left( {x,y} \right)$ 的值与 $L$ 的差不超过 $\varepsilon$(图 4.15)。用符号可写为:对任意 $\varepsilon > 0$,存在数 $\delta > 0$,使得

$$\left| {f\left( {x,y} \right) - L} \right| < \varepsilon\ \text{whenever}\ 0 < \sqrt{\left( {x - a} \right)^{2} + \left( {y - b} \right)^{2}} < \delta.$$

$$\left| {f\left( {x,y} \right) - L} \right| < \varepsilon\ \text{whenever}\ 0 < \sqrt{\left( {x - a} \right)^{2} + \left( {y - b} \right)^{2}} < \delta.$$

Limit of a Function at a Boundary Point 边界点处函数的极限

Prove $\underset{{({x,y})}\rightarrow{({4,3})}}{\text{lim}}\sqrt{25 - x^{2} - y^{2}} = 0.$

证明 $\underset{{({x,y})}\rightarrow{({4,3})}}{\text{lim}}\sqrt{25 - x^{2} - y^{2}} = 0$。

Solution

The domain of the function $f\left( {x,y} \right) = \sqrt{25 - x^{2} - y^{2}}$ is $\left\{ {(x,y) \in \mathbb{R}^{2}\left| {x^{2} + y^{2} \leq 25} \right.} \right\},$ which is a circle of radius $5$ centered at the origin, along with its interior as shown in the following graph.

函数 $f\left( {x,y} \right) = \sqrt{25 - x^{2} - y^{2}}$ 的定义域为 $\left\{ {(x,y) \in \mathbb{R}^{2}\left| {x^{2} + y^{2} \leq 25} \right.} \right\}$,即半径为 $5$、以原点为圆心的圆及其内部,如下图所示。

We can use the limit laws, which apply to limits at the boundary of domains as well as interior points:

我们可以利用极限法则,这些法则既适用于定义域内部的极限,也适用于边界处的极限:

$$\begin{array}{cl}{\underset{{({x,y})}\rightarrow{({4,3})}}{\text{lim}}\sqrt{25 - x^{2} - y^{2}}} & {= \sqrt{\underset{{({x,y})}\rightarrow{({4,3})}}{\text{lim}}\left( {25 - x^{2} - y^{2}} \right)}} \\ & {= \sqrt{\underset{{({x,y})}\rightarrow{({4,3})}}{\text{lim}}25 - \underset{{({x,y})}\rightarrow{({4,3})}}{\text{lim}}x^{2} - \underset{{({x,y})}\rightarrow{({4,3})}}{\text{lim}}y^{2}}} \\ & {= \sqrt{25 - 4^{2} - 3^{2}}} \\ & {= 0.}\end{array}$$

$$\begin{array}{cl}{\underset{{({x,y})}\rightarrow{({4,3})}}{\text{lim}}\sqrt{25 - x^{2} - y^{2}}} & {= \sqrt{\underset{{({x,y})}\rightarrow{({4,3})}}{\text{lim}}\left( {25 - x^{2} - y^{2}} \right)}} \\ & {= \sqrt{\underset{{({x,y})}\rightarrow{({4,3})}}{\text{lim}}25 - \underset{{({x,y})}\rightarrow{({4,3})}}{\text{lim}}x^{2} - \underset{{({x,y})}\rightarrow{({4,3})}}{\text{lim}}y^{2}}} \\ & {= \sqrt{25 - 4^{2} - 3^{2}}} \\ & {= 0.}\end{array}$$

See the following graph.

见下图。

Evaluate the following limit:

求下列极限:

$$\underset{{({x,y})}\rightarrow{({5,-2})}}{\text{lim}}\sqrt{29 - x^{2} - y^{2}}.$$

$$\underset{{({x,y})}\rightarrow{({5,-2})}}{\text{lim}}\sqrt{29 - x^{2} - y^{2}}.$$

Continuity of Functions of Two Variables 二元函数的连续性

In Continuity, we defined the continuity of a function of one variable and saw how it relied on the limit of a function of one variable. In particular, three conditions are necessary for $f(x)$ to be continuous at point $x = a\text{:}$

在「连续性」一节中,我们定义了单变量函数的连续性,并看到它依赖于单变量函数的极限。具体而言,$f(x)$ 在点 $x = a$ 处连续需要满足三个条件:

1. $f(a)$ exists.

1. $f(a)$ 存在。

2. $\underset{x\rightarrow a}{\text{lim}}f(x)$ exists.

2. $\underset{x\rightarrow a}{\text{lim}}f(x)$ 存在。

3. $\underset{x\rightarrow a}{\text{lim}}f(x) = f(a).$

3. $\underset{x\rightarrow a}{\text{lim}}f(x) = f(a)$。

These three conditions are necessary for continuity of a function of two variables as well.

这三个条件对于二元函数的连续性同样必要。

A function $f(x,y)$ is continuous at a point $\left( {a,b} \right)$ in its domain if the following conditions are satisfied:

若满足下列条件,则二元函数 $f(x,y)$ 在其定义域中的点 $\left( {a,b} \right)$ 处连续:

1. $f\left( {a,b} \right)$ exists.

1. $f\left( {a,b} \right)$ 存在。

2. $\underset{{({x,y})}\rightarrow{({a,b})}}{\text{lim}}f\left( {x,y} \right)$ exists.

2. $\underset{{({x,y})}\rightarrow{({a,b})}}{\text{lim}}f\left( {x,y} \right)$ 存在。

3. $\underset{{({x,y})}\rightarrow{({a,b})}}{\text{lim}}f\left( {x,y} \right) = f\left( {a,b} \right).$

3. $\underset{{({x,y})}\rightarrow{({a,b})}}{\text{lim}}f\left( {x,y} \right) = f\left( {a,b} \right)$。

Demonstrating Continuity for a Function of Two Variables 二元函数连续性的验证

Show that the function $f(x,y) = \frac{3x + 2y}{x + y + 1}$ is continuous at point $\left( {5,-3} \right).$

证明函数 $f(x,y) = \frac{3x + 2y}{x + y + 1}$ 在点 $\left( {5,-3} \right)$ 处连续。

Solution

There are three conditions to be satisfied, per the definition of continuity. In this example, $a = 5$ and $b = -3.$

根据连续性的定义,需要满足三个条件。在本例中,$a = 5$,$b = -3$。

1. $f\left( {a,b} \right)$ exists. This is true because the domain of the function $f$ consists of those ordered pairs for which the denominator is nonzero (i.e., $x + y + 1 \neq 0).$ Point $\left( {5,-3} \right)$ satisfies this condition. Furthermore,

1. $f\left( {a,b} \right)$ 存在。这成立,因为函数 $f$ 的定义域由那些分母非零(即 $x + y + 1 \neq 0$)的有序对组成。点 $\left( {5,-3} \right)$ 满足这一条件。此外,

$$f\left( {a,b} \right) = f\left( {5,-3} \right) = \frac{3(5) + 2(-3)}{5 + (-3) + 1} = \frac{15 - 6}{2 + 1} = 3.$$

$$f\left( {a,b} \right) = f\left( {5,-3} \right) = \frac{3(5) + 2(-3)}{5 + (-3) + 1} = \frac{15 - 6}{2 + 1} = 3.$$

2. $\underset{{({x,y})}\rightarrow{({a,b})}}{\text{lim}}f\left( {x,y} \right)$ exists. This is also true:

2. $\underset{{({x,y})}\rightarrow{({a,b})}}{\text{lim}}f\left( {x,y} \right)$ 存在。这也成立:

$$\begin{array}{cl}{\underset{{({x,y})}\rightarrow{({a,b})}}{\text{lim}}f\left( {x,y} \right)} & {= \underset{{({x,y})}\rightarrow{({5,-3})}}{\text{lim}}\frac{3x + 2y}{x + y + 1}} \\ & {= \frac{\underset{{({x,y})}\rightarrow{({5,-3})}}{\text{lim}}\left( {3x + 2y} \right)}{\underset{{({x,y})}\rightarrow{({5,-3})}}{\text{lim}}\left( {x + y + 1} \right)}} \\ & {= \frac{15 - 6}{5 - 3 + 1}} \\ & {= 3.}\end{array}$$

$$\begin{array}{cl}{\underset{{({x,y})}\rightarrow{({a,b})}}{\text{lim}}f\left( {x,y} \right)} & {= \underset{{({x,y})}\rightarrow{({5,-3})}}{\text{lim}}\frac{3x + 2y}{x + y + 1}} \\ & {= \frac{\underset{{({x,y})}\rightarrow{({5,-3})}}{\text{lim}}\left( {3x + 2y} \right)}{\underset{{({x,y})}\rightarrow{({5,-3})}}{\text{lim}}\left( {x + y + 1} \right)}} \\ & {= \frac{15 - 6}{5 - 3 + 1}} \\ & {= 3.}\end{array}$$

3. $\underset{{({x,y})}\rightarrow{({a,b})}}{\text{lim}}f\left( {x,y} \right) = f\left( {a,b} \right).$ This is true because we have just shown that both sides of this equation equal three.

3. $\underset{{({x,y})}\rightarrow{({a,b})}}{\text{lim}}f\left( {x,y} \right) = f\left( {a,b} \right)$。这成立,因为我们已经证明该等式两边都等于三。

Show that the function $f\left( {x,y} \right) = \sqrt{26 - 2x^{2} - y^{2}}$ is continuous at point $\left( {2,-3} \right).$

证明函数 $f\left( {x,y} \right) = \sqrt{26 - 2x^{2} - y^{2}}$ 在点 $\left( {2,-3} \right)$ 处连续。

Continuity of a function of any number of variables can also be defined in terms of delta and epsilon. A function of two variables is continuous at a point $\left( {x_{0},y_{0}} \right)$ in its domain if for every $\varepsilon > 0$ there exists a $\delta > 0$ such that, whenever $\sqrt{\left( {x - x_{0}} \right)^{2} + \left( {y - y_{0}} \right)^{2}} < \delta$ it is true, $\left| {f\left( {x,y} \right) - f\left( {a,b} \right)} \right| < \varepsilon.$ This definition can be combined with the formal definition (that is, the *epsilon–delta definition*) of continuity of a function of one variable to prove the following theorems:

任意元变量的连续性也可用 $\delta$ 和 $\varepsilon$ 来定义。若对定义域内每一点 $\left( {x_{0},y_{0}} \right)$,对任意 $\varepsilon > 0$ 都存在 $\delta > 0$,使得每当 $\sqrt{\left( {x - x_{0}} \right)^{2} + \left( {y - y_{0}} \right)^{2}} < \delta$ 成立时,就有 $\left| {f\left( {x,y} \right) - f\left( {a,b} \right)} \right| < \varepsilon$,则二元函数在该点连续。该定义可结合单变量函数连续性的形式化定义(即*$\varepsilon$–$\delta$ 定义*)来证明下列定理:

The Sum of Continuous Functions Is Continuous 连续函数的和是连续的

If $f\left( {x,y} \right)$ is continuous at $\left( {x_{0},y_{0}} \right),$ and $g\left( {x,y} \right)$ is continuous at $\left( {x_{0},y_{0}} \right),$ then $f\left( {x,y} \right) + g\left( {x,y} \right)$ is continuous at $\left( {x_{0},y_{0}} \right).$

若 $f\left( {x,y} \right)$ 在 $\left( {x_{0},y_{0}} \right)$ 处连续,且 $g\left( {x,y} \right)$ 在 $\left( {x_{0},y_{0}} \right)$ 处连续,则 $f\left( {x,y} \right) + g\left( {x,y} \right)$ 在 $\left( {x_{0},y_{0}} \right)$ 处连续。

The Product of Continuous Functions Is Continuous 连续函数的积是连续的

If $g(x)$ is continuous at $x_{0}$ and $h(y)$ is continuous at $y_{0},$ then $f\left( {x,y} \right) = g(x)h(y)$ is continuous at $\left( {x_{0},y_{0}} \right).$

若 $g(x)$ 在 $x_{0}$ 处连续,且 $h(y)$ 在 $y_{0}$ 处连续,则 $f\left( {x,y} \right) = g(x)h(y)$ 在 $\left( {x_{0},y_{0}} \right)$ 处连续。

The Composition of Continuous Functions Is Continuous 连续函数的复合是连续的

Let $g$ be a function of two variables from a domain $D \subseteq \mathbb{R}^{2}$ to a range $R \subseteq \mathbb{R}.$ Suppose $g$ is continuous at some point $\left( {x_{0},y_{0}} \right) \in D$ and define $z_{0} = g\left( {x_{0},y_{0}} \right).$ Let $f$ be a function that maps $\mathbb{R}$ to $\mathbb{R}$ such that $z_{0}$ is in the domain of $f.$ Last, assume $f$ is continuous at $z_{0}.$ Then $f \circ g$ is continuous at $\left( {x_{0},y_{0}} \right)$ as shown in the following figure.

设 $g$ 为从定义域 $D \subseteq \mathbb{R}^{2}$ 到值域 $R \subseteq \mathbb{R}$ 的二元函数。设 $g$ 在 $D$ 中某点 $\left( {x_{0},y_{0}} \right)$ 处连续,并令 $z_{0} = g\left( {x_{0},y_{0}} \right)$。设 $f$ 为从 $\mathbb{R}$ 映到 $\mathbb{R}$ 的函数,且 $z_{0}$ 在 $f$ 的定义域中。最后,假设 $f$ 在 $z_{0}$ 处连续。则 $f \circ g$ 在 $\left( {x_{0},y_{0}} \right)$ 处连续,如下图所示。

Let’s now use the previous theorems to show continuity of functions in the following examples.

现在利用前面的定理来证明下列例子中函数的连续性。

More Examples of Continuity of a Function of Two Variables 二元函数连续性的更多例子

Show that the functions $f\left( {x,y} \right) = 4x^{3}y^{2}$ and $g\left( {x,y} \right) = \text{cos}\left( {4x^{3}y^{2}} \right)$ are continuous everywhere.

证明函数 $f\left( {x,y} \right) = 4x^{3}y^{2}$ 与 $g\left( {x,y} \right) = \text{cos}\left( {4x^{3}y^{2}} \right)$ 处处连续。

Solution

The polynomials $g(x) = 4x^{3}$ and $h(y) = y^{2}$ are continuous at every real number, and therefore by the product of continuous functions theorem, $f\left( {x,y} \right) = 4x^{3}y^{2}$ is continuous at every point $\left( {x,y} \right)$ in the $xy\text{-plane.}$ Since $f\left( {x,y} \right) = 4x^{3}y^{2}$ is continuous at every point $\left( {x,y} \right)$ in the $xy\text{-plane}$ and $g(x) = \text{cos}\ x$ is continuous at every real number $x,$ the continuity of the composition of functions tells us that $g\left( {x,y} \right) = \text{cos}\left( {4x^{3}y^{2}} \right)$ is continuous at every point $\left( {x,y} \right)$ in the $xy\text{-plane.}$

多项式 $g(x) = 4x^{3}$ 与 $h(y) = y^{2}$ 在每个实数处连续,因此根据连续函数的乘积定理,$f\left( {x,y} \right) = 4x^{3}y^{2}$ 在 $xy$ 平面中每一点 $\left( {x,y} \right)$ 处连续。由于 $f\left( {x,y} \right) = 4x^{3}y^{2}$ 在 $xy$ 平面中每一点 $\left( {x,y} \right)$ 处连续,且 $g(x) = \text{cos}\ x$ 在每个实数 $x$ 处连续,复合函数的连续性告诉我们,$g\left( {x,y} \right) = \text{cos}\left( {4x^{3}y^{2}} \right)$ 在 $xy$ 平面中每一点 $\left( {x,y} \right)$ 处连续。

Show that the functions $f\left( {x,y} \right) = 2x^{2}y^{3} + 3$ and $g\left( {x,y} \right) = \left( {2x^{2}y^{3} + 3} \right)^{4}$ are continuous everywhere.

证明函数 $f\left( {x,y} \right) = 2x^{2}y^{3} + 3$ 与 $g\left( {x,y} \right) = \left( {2x^{2}y^{3} + 3} \right)^{4}$ 处处连续。

Functions of Three or More Variables 三元及更多元变量的函数

The limit of a function of three or more variables occurs readily in applications. For example, suppose we have a function $f\left( {x,y,z} \right)$ that gives the temperature at a physical location $\left( {x,y,z} \right)$ in three dimensions. Or perhaps a function $g\left( {x,y,z,t} \right)$ can indicate air pressure at a location $\left( {x,y,z} \right)$ at time $t.$ How can we take a limit at a point in $\mathbb{R}^{3}?$ What does it mean to be continuous at a point in four dimensions?

三元或更多元变量的函数极限在应用中很常见。例如,假设有函数 $f\left( {x,y,z} \right)$ 给出三维物理位置 $\left( {x,y,z} \right)$ 处的温度。或者,函数 $g\left( {x,y,z,t} \right)$ 可以表示位置 $\left( {x,y,z} \right)$ 处在时刻 $t$ 的气压。我们如何在 $\mathbb{R}^{3}$ 中的一点处取极限?在四维中的一点连续意味着什么?

The answers to these questions rely on extending the concept of a $\delta$ disk into more than two dimensions. Then, the ideas of the limit of a function of three or more variables and the continuity of a function of three or more variables are very similar to the definitions given earlier for a function of two variables.

这些问题的答案依赖于把 $\delta$ 圆盘的概念推广到二维以上。于是,三元或更多元变量函数的极限与连续性概念,与前面给出的二元函数定义非常相似。

Let $\left( {x_{0},y_{0},z_{0}} \right)$ be a point in $\mathbb{R}^{3}.$ Then, a $\delta$ ball in three dimensions consists of all points in $\mathbb{R}^{3}$ lying at a distance of less than $\delta$ from $\left( {x_{0},y_{0},z_{0}} \right)$—that is,

设 $\left( {x_{0},y_{0},z_{0}} \right)$ 为 $\mathbb{R}^{3}$ 中的一点。则三维中的 $\delta$ 球由 $\mathbb{R}^{3}$ 中所有与 $\left( {x_{0},y_{0},z_{0}} \right)$ 的距离小于 $\delta$ 的点组成——即

$$\left\{ \left( {x,y,z} \right) \in \mathbb{R}^{3} \middle| \sqrt{\left( {x - x_{0}} \right)^{2} + \left( {y - y_{0}} \right)^{2} + \left( {z - z_{0}} \right)^{2}} < \delta \right\}.$$

$$\left\{ \left( {x,y,z} \right) \in \mathbb{R}^{3} \middle| \sqrt{\left( {x - x_{0}} \right)^{2} + \left( {y - y_{0}} \right)^{2} + \left( {z - z_{0}} \right)^{2}} < \delta \right\}.$$

To define a $\delta$ ball in higher dimensions, add additional terms under the radical to correspond to each additional dimension. For example, given a point $P = \left( {w_{0},x_{0},y_{0},z_{0}} \right)$ in $\mathbb{R}^{4},$ a $\delta$ ball around $P$ can be described by

要在更高维中定义 $\delta$ 球,只需在根号下加上对应每个新增维度的项。例如,给定 $\mathbb{R}^{4}$ 中的点 $P = \left( {w_{0},x_{0},y_{0},z_{0}} \right)$,围绕 $P$ 的 $\delta$ 球可描述为

$$\left\{ \left( {w,x,y,z} \right) \in \mathbb{R}^{4} \middle| \sqrt{\left( {w - w_{0}} \right)^{2} + \left( {x - x_{0}} \right)^{2} + \left( {y - y_{0}} \right)^{2} + \left( {z - z_{0}} \right)^{2}} < \delta \right\}.$$

$$\left\{ \left( {w,x,y,z} \right) \in \mathbb{R}^{4} \middle| \sqrt{\left( {w - w_{0}} \right)^{2} + \left( {x - x_{0}} \right)^{2} + \left( {y - y_{0}} \right)^{2} + \left( {z - z_{0}} \right)^{2}} < \delta \right\}.$$

To show that a limit of a function of three variables exists at a point $\left( {x_{0},y_{0},z_{0}} \right),$ it suffices to show that for any point in a $\delta$ ball centered at $\left( {x_{0},y_{0},z_{0}} \right),$ the value of the function at that point is arbitrarily close to a fixed value (the limit value). All the limit laws for functions of two variables hold for functions of more than two variables as well.

要证明三元函数在点 $\left( {x_{0},y_{0},z_{0}} \right)$ 处的极限存在,只需证明在以 $\left( {x_{0},y_{0},z_{0}} \right)$ 为中心的 $\delta$ 球中的任意一点处,函数在该点的值都任意接近某个固定值(极限值)。二元函数的所有极限法则对多于二元的函数同样成立。

Finding the Limit of a Function of Three Variables 求三元函数的极限

Find $\underset{{({x,y,z})}\rightarrow{({4,1,-3})}}{\text{lim}}\frac{x^{2}y - 3z}{2x + 5y - z}.$

求 $\underset{{({x,y,z})}\rightarrow{({4,1,-3})}}{\text{lim}}\frac{x^{2}y - 3z}{2x + 5y - z}$。

Solution

Before we can apply the quotient law, we need to verify that the limit of the denominator is nonzero. Using the difference law, the identity law, and the constant law,

在应用商的法则之前,我们需要先验证分母的极限非零。利用差法则、恒等法则与常数法则,

$$\begin{array}{cl}{\underset{{({x,y,z})}\rightarrow{({4,1,-3})}}{\text{lim}}\left( {2x + 5y - z} \right)} & {= 2\left( {\underset{{({x,y,z})}\rightarrow{({4,1,-3})}}{\text{lim}}x} \right) + 5\left( {\underset{{({x,y,z})}\rightarrow{({4,1,-3})}}{\text{lim}}y} \right) - \left( {\underset{{({x,y,z})}\rightarrow{({4,1,-3})}}{\text{lim}}z} \right)} \\ & {= 2(4) + 5(1) - (-3)} \\ & {= 16.}\end{array}$$

$$\begin{array}{cl}{\underset{{({x,y,z})}\rightarrow{({4,1,-3})}}{\text{lim}}\left( {2x + 5y - z} \right)} & {= 2\left( {\underset{{({x,y,z})}\rightarrow{({4,1,-3})}}{\text{lim}}x} \right) + 5\left( {\underset{{({x,y,z})}\rightarrow{({4,1,-3})}}{\text{lim}}y} \right) - \left( {\underset{{({x,y,z})}\rightarrow{({4,1,-3})}}{\text{lim}}z} \right)} \\ & {= 2(4) + 5(1) - (-3)} \\ & {= 16.}\end{array}$$

Since this is nonzero, we next find the limit of the numerator. Using the product law, difference law, constant multiple law, and identity law,

由于它非零,接下来我们求分子的极限。利用乘积法则、差法则、常数倍法则与恒等法则,

$$\begin{array}{cl}{\underset{{({x,y,z})}\rightarrow{({4,1,-3})}}{\text{lim}}\left( {x^{2}y - 3z} \right)} & {= \left( {\underset{{({x,y,z})}\rightarrow{({4,1,-3})}}{\text{lim}}x} \right)^{2}\left( {\underset{{({x,y,z})}\rightarrow{({4,1,-3})}}{\text{lim}}y} \right) - 3\underset{{({x,y,z})}\rightarrow{({4,1,-3})}}{\text{lim}}z} \\ & {= \left( 4^{2} \right)(1) - 3(-3)} \\ & {= 16 + 9} \\ & {= 25.}\end{array}$$

$$\begin{array}{cl}{\underset{{({x,y,z})}\rightarrow{({4,1,-3})}}{\text{lim}}\left( {x^{2}y - 3z} \right)} & {= \left( {\underset{{({x,y,z})}\rightarrow{({4,1,-3})}}{\text{lim}}x} \right)^{2}\left( {\underset{{({x,y,z})}\rightarrow{({4,1,-3})}}{\text{lim}}y} \right) - 3\underset{{({x,y,z})}\rightarrow{({4,1,-3})}}{\text{lim}}z} \\ & {= \left( 4^{2} \right)(1) - 3(-3)} \\ & {= 16 + 9} \\ & {= 25.}\end{array}$$

Last, applying the quotient law:

最后,应用商的法则:

$$\begin{array}{cl}{\underset{{({x,y,z})}\rightarrow{({4,1,-3})}}{\text{lim}}\frac{x^{2}y - 3z}{2x + 5y - z}} & {= \frac{\underset{{({x,y,z})}\rightarrow{({4,1,-3})}}{\text{lim}}\left( {x^{2}y - 3z} \right)}{\underset{{({x,y,z})}\rightarrow{({4,1,-3})}}{\text{lim}}\left( {2x + 5y - z} \right)}} \\ & {= \frac{25}{16}.}\end{array}$$

$$\begin{array}{cl}{\underset{{({x,y,z})}\rightarrow{({4,1,-3})}}{\text{lim}}\frac{x^{2}y - 3z}{2x + 5y - z}} & {= \frac{\underset{{({x,y,z})}\rightarrow{({4,1,-3})}}{\text{lim}}\left( {x^{2}y - 3z} \right)}{\underset{{({x,y,z})}\rightarrow{({4,1,-3})}}{\text{lim}}\left( {2x + 5y - z} \right)}} \\ & {= \frac{25}{16}.}\end{array}$$

Find $\underset{{({x,y,z})}\rightarrow{({4,-1,3})}}{\text{lim}}\sqrt{13 - x^{2} - 2y^{2} + z^{2}}.$

求 $\underset{{({x,y,z})}\rightarrow{({4,-1,3})}}{\text{lim}}\sqrt{13 - x^{2} - 2y^{2} + z^{2}}$。

Section 4.2 Exercises 4.2 节习题

For the following exercises, find the limit of the function.

在以下习题中,求函数的极限。

60\.

60.

$\underset{(x,y)\rightarrow(1,2)}{\text{lim}}x$

$\underset{(x,y)\rightarrow(1,2)}{\text{lim}}x$

61.

61.

$\underset{(x,y)\rightarrow(1,2)}{\text{lim}}\frac{5x^{2}y}{x^{2} + y^{2}}$

$\underset{(x,y)\rightarrow(1,2)}{\text{lim}}\frac{5x^{2}y}{x^{2} + y^{2}}$

62\.

62.

Show that the limit $\underset{(x,y)\rightarrow(0,0)}{\text{lim}}\frac{5x^{2}y}{x^{2} + y^{2}}$ exists and is the same along the paths: $y\text{-axis}$ and $x\text{-axis,}$ and along $y = x.$

证明极限 $\underset{(x,y)\rightarrow(0,0)}{\text{lim}}\frac{5x^{2}y}{x^{2} + y^{2}}$ 存在,且沿以下路径取得相同的值:$y\text{-axis}$ 与 $x\text{-axis}$,以及沿 $y = x$。

For the following exercises, evaluate the limits at the indicated values of $x\ \text{and}\ y.$ If the limit does not exist, state this and explain why the limit does not exist.

在以下习题中,在指定的 $x\ \text{and}\ y$ 值处求极限。若极限不存在,请说明这一点并解释为何不存在。

63.

63.

$\underset{(x,y)\rightarrow(0,0)}{\text{lim}}\frac{4x^{2} + 10y^{2} + 4}{4x^{2} - 10y^{2} + 6}$

$\underset{(x,y)\rightarrow(0,0)}{\text{lim}}\frac{4x^{2} + 10y^{2} + 4}{4x^{2} - 10y^{2} + 6}$

64\.

64.

$\underset{(x,y)\rightarrow(11,13)}{\text{lim}}\sqrt{\frac{1}{xy}}$

$\underset{(x,y)\rightarrow(11,13)}{\text{lim}}\sqrt{\frac{1}{xy}}$

65.

65.

$\underset{(x,y)\rightarrow(0,1)}{\text{lim}}\frac{y^{2}\text{sin}\ x}{x}$

$\underset{(x,y)\rightarrow(0,1)}{\text{lim}}\frac{y^{2}\text{sin}\ x}{x}$

66\.

66.

$\underset{(x,y)\rightarrow(0,0)}{\text{lim}}\text{sin}\left( \frac{x^{8} + y^{7}}{x - y + 10} \right)$

$\underset{(x,y)\rightarrow(0,0)}{\text{lim}}\text{sin}\left( \frac{x^{8} + y^{7}}{x - y + 10} \right)$

67.

67.

$\underset{(x,y)\rightarrow(\pi\text{/}4,1)}{\text{lim}}\frac{y\ \text{tan}\ x}{y + 1}$

$\underset{(x,y)\rightarrow(\pi\text{/}4,1)}{\text{lim}}\frac{y\ \text{tan}\ x}{y + 1}$

68\.

68.

$\underset{(x,y)\rightarrow(0,\pi\text{/}4)}{\text{lim}}\frac{\text{sec}\ x + 2}{3x - \text{tan}\ y}$

$\underset{(x,y)\rightarrow(0,\pi\text{/}4)}{\text{lim}}\frac{\text{sec}\ x + 2}{3x - \text{tan}\ y}$

69.

69.

$\underset{(x,y)\rightarrow(2,5)}{\text{lim}}\left( {\frac{1}{x} - \frac{5}{y}} \right)$

$\underset{(x,y)\rightarrow(2,5)}{\text{lim}}\left( {\frac{1}{x} - \frac{5}{y}} \right)$

70\.

70.

$\underset{(x,y)\rightarrow(4,4)}{\text{lim}}x\ \text{ln}\ y$

$\underset{(x,y)\rightarrow(4,4)}{\text{lim}}x\ \text{ln}\ y$

71.

71.

$\underset{(x,y)\rightarrow(4,4)}{\text{lim}}e^{\text{−}x^{2} - y^{2}}$

$\underset{(x,y)\rightarrow(4,4)}{\text{lim}}e^{\text{−}x^{2} - y^{2}}$

72\.

72.

$\underset{(x,y)\rightarrow(0,0)}{\text{lim}}\sqrt{9 - x^{2} - y^{2}}$

$\underset{(x,y)\rightarrow(0,0)}{\text{lim}}\sqrt{9 - x^{2} - y^{2}}$

73.

73.

$\underset{(x,y)\rightarrow(1,2)}{\text{lim}}\left( {x^{2}y^{3} - x^{3}y^{2} + 3x + 2y} \right)$

$\underset{(x,y)\rightarrow(1,2)}{\text{lim}}\left( {x^{2}y^{3} - x^{3}y^{2} + 3x + 2y} \right)$

74\.

74.

$\underset{(x,y)\rightarrow(\pi,\pi)}{\text{lim}}x\ \text{sin}\left( \frac{x + y}{4} \right)$

$\underset{(x,y)\rightarrow(\pi,\pi)}{\text{lim}}x\ \text{sin}\left( \frac{x + y}{4} \right)$

75.

75.

$\underset{(x,y)\rightarrow(0,0)}{\text{lim}}\frac{xy + 1}{x^{2} + y^{2} + 1}$

$\underset{(x,y)\rightarrow(0,0)}{\text{lim}}\frac{xy + 1}{x^{2} + y^{2} + 1}$

76\.

76.

$\underset{(x,y)\rightarrow(0,0)}{\text{lim}}\frac{x^{2} + y^{2}}{\sqrt{x^{2} + y^{2} + 1} - 1}$

$\underset{(x,y)\rightarrow(0,0)}{\text{lim}}\frac{x^{2} + y^{2}}{\sqrt{x^{2} + y^{2} + 1} - 1}$

77.

77.

$\underset{(x,y)\rightarrow(0,0)}{\text{lim}}\text{ln}\left( {x^{2} + y^{2}} \right)$

$\underset{(x,y)\rightarrow(0,0)}{\text{lim}}\text{ln}\left( {x^{2} + y^{2}} \right)$

For the following exercises, complete the statement.

在以下习题中,补全下列语句。

78\.

78.

A point $\left( {x_{0},y_{0}} \right)$ in a plane region $R$ is an interior point of $R$ if \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_.

平面区域 $R$ 中的点 $\left( {x_{0},y_{0}} \right)$ 是 $R$ 的内点,当且仅当 \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_。

79.

79.

A point $\left( {x_{0},y_{0}} \right)$ in a plane region $R$ is called a boundary point of $R$ if \_\_\_\_\_\_\_\_\_\_\_.

平面区域 $R$ 中的点 $\left( {x_{0},y_{0}} \right)$ 称为 $R$ 的边界点,当且仅当 \_\_\_\_\_\_\_\_\_\_\_。

For the following exercises, use algebraic techniques to evaluate the limit.

在以下习题中,用代数方法求极限。

80\.

80.

$\underset{(x,y)\rightarrow(2,1)}{\text{lim}}\frac{x - y - 1}{\sqrt{x - y} - 1}$

$\underset{(x,y)\rightarrow(2,1)}{\text{lim}}\frac{x - y - 1}{\sqrt{x - y} - 1}$

81.

81.

$\underset{(x,y)\rightarrow(0,0)}{\text{lim}}\frac{x^{4} - 4y^{4}}{x^{2} + 2y^{2}}$

$\underset{(x,y)\rightarrow(0,0)}{\text{lim}}\frac{x^{4} - 4y^{4}}{x^{2} + 2y^{2}}$

82\.

82.

$\underset{(x,y)\rightarrow(0,0)}{\text{lim}}\frac{x^{3} - y^{3}}{x - y}$

$\underset{(x,y)\rightarrow(0,0)}{\text{lim}}\frac{x^{3} - y^{3}}{x - y}$

83.

83.

$\underset{(x,y)\rightarrow(0,0)}{\text{lim}}\frac{x^{2} - xy}{\sqrt{x} - \sqrt{y}}$

$\underset{(x,y)\rightarrow(0,0)}{\text{lim}}\frac{x^{2} - xy}{\sqrt{x} - \sqrt{y}}$

For the following exercises, evaluate the limits of the functions of three variables.

在以下习题中,求三元函数的极限。

84\.

84.

$\underset{(x,y,z)\rightarrow(1,2,3)}{\text{lim}}\frac{xz^{2} - y^{2}z}{xyz - 1}$

$\underset{(x,y,z)\rightarrow(1,2,3)}{\text{lim}}\frac{xz^{2} - y^{2}z}{xyz - 1}$

85.

85.

$\underset{(x,y,z)\rightarrow(0,0,0)}{\text{lim}}\frac{x^{2} - y^{2} - z^{2}}{x^{2} + y^{2} - z^{2}}$

$\underset{(x,y,z)\rightarrow(0,0,0)}{\text{lim}}\frac{x^{2} - y^{2} - z^{2}}{x^{2} + y^{2} - z^{2}}$

For the following exercises, evaluate the limit of the function by determining the value the function approaches along the indicated paths. If the limit does not exist, explain why not.

在以下习题中,通过确定函数沿指定路径所趋近的值来求极限。若极限不存在,请解释原因。

86\.

86.

$\underset{(x,y)\rightarrow(0,0)}{\text{lim}}\frac{xy + y^{3}}{x^{2} + y^{2}}$

$\underset{(x,y)\rightarrow(0,0)}{\text{lim}}\frac{xy + y^{3}}{x^{2} + y^{2}}$

1. Along the $x\text{-axis}$ $(y = 0)$

1. 沿 $x$ 轴 $(y = 0)$

2. Along the $y\text{-axis}$ $(x = 0)$

2. 沿 $y$ 轴 $(x = 0)$

3. Along the path $y = 2x$

3. 沿路径 $y = 2x$

87.

87.

Evaluate $\underset{(x,y)\rightarrow(0,0)}{\text{lim}}\frac{xy + y^{3}}{x^{2} + y^{2}}$ using the results of previous problem.

利用前一题的结果求 $\underset{(x,y)\rightarrow(0,0)}{\text{lim}}\frac{xy + y^{3}}{x^{2} + y^{2}}$。

88\.

88.

$\underset{(x,y)\rightarrow(0,0)}{\text{lim}}\frac{x^{2}y}{x^{4} + y^{2}}$

$\underset{(x,y)\rightarrow(0,0)}{\text{lim}}\frac{x^{2}y}{x^{4} + y^{2}}$

1. Along the *x*-axis $(y = 0)$

1. 沿 *x* 轴 $(y = 0)$

2. Along the *y*-axis $(x = 0)$

2. 沿 *y* 轴 $(x = 0)$

3. Along the path $y = x^{2}$

3. 沿路径 $y = x^{2}$

89.

89.

Evaluate $\underset{(x,y)\rightarrow(0,0)}{\text{lim}}\frac{x^{2}y}{x^{4} + y^{2}}$ using the results of previous problem.

利用前一题的结果求 $\underset{(x,y)\rightarrow(0,0)}{\text{lim}}\frac{x^{2}y}{x^{4} + y^{2}}$。

Discuss the continuity of the following functions. Find the largest region in the $xy\text{-plane}$ in which the following functions are continuous.

讨论下列函数的连续性。求出下列函数在 $xy$ 平面中连续的最大区域。

90\.

90.

$f(x,y) = \text{sin}(xy)$

$f(x,y) = \text{sin}(xy)$

91.

91.

$f(x,y) = \text{ln}(x + y)$

$f(x,y) = \text{ln}(x + y)$

92\.

92.

$f(x,y) = e^{3xy}$

$f(x,y) = e^{3xy}$

93.

93.

$f(x,y) = \frac{1}{xy}$

$f(x,y) = \frac{1}{xy}$

For the following two exercises, determine the region in which the function is continuous. Explain your answer.

在以下两题中,确定函数连续的_区域_,并解释你的答案。

94\.

94.

$f(x,y) = \frac{x^{2}y}{x^{2} + y^{2}}$

$f(x,y) = \frac{x^{2}y}{x^{2} + y^{2}}$

95.

95.

$f(x,y) = \frac{\text{sin}(x^{2} + y^{2})}{x^{2} + y^{2}}$

$f(x,y) = \frac{\text{sin}(x^{2} + y^{2})}{x^{2} + y^{2}}$

96\.

96.

Determine whether $f\left( {x,\operatorname{}y} \right)$ is continuous at $\left( {0,\operatorname{}0} \right)$. $f(x,y) = \left\{ \begin{array}{ll}\frac{x^{2}y}{x^{2} + y^{2}} & {\text{if}\ (x,y) \neq (0,0)} \\ 0 & {\text{if}\ (x,y) = (0,0)}\end{array} \right\}$

Determine whether $f\left( {x,\operatorname{}y} \right)$ is continuous at $\left( {0,\operatorname{}0} \right)$. $f(x,y) = \left\{ \begin{array}{ll}\frac{x^{2}y}{x^{2} + y^{2}} & {\text{if}\ (x,y) \neq (0,0)} \\ 0 & {\text{if}\ (x,y) = (0,0)}\end{array} \right\}$

97.

97.

Determine whether $g(x,y) = \frac{x^{2} - y^{2}}{x^{2} + y^{2}}$ is continuous at $\left( {0,0} \right).$

判断 $g(x,y) = \frac{x^{2} - y^{2}}{x^{2} + y^{2}}$ 在 $\left( {0,0} \right)$ 处是否连续。

98\.

98.

Create a plot using graphing software to determine where the limit does not exist. Find where in the coordinate plane $f(x,y) = \frac{1}{x^{2} - y}$ is continuous.

使用绘图软件作图,以确定极限在何处不存在。求出函数 $f(x,y) = \frac{1}{x^{2} - y}$ 在坐标平面的何处连续。

99.

99.

Determine the region of the $xy\text{-plane}$ in which the function $g(x,y) = \text{arctan}\left( \frac{xy^{2}}{x + y} \right)$ is continuous. Use technology to support your conclusion.

确定函数 $g(x,y) = \text{arctan}\left( \frac{xy^{2}}{x + y} \right)$ 在 $xy$ 平面中连续的_区域_。借助技术手段支持你的结论。

100\.

100.

Determine the region of the $xy\text{-plane}$ in which $f(x,y) = \text{ln}(x^{2} + y^{2} - 1)$ is continuous. Use technology to support your conclusion. (*Hint*: Choose the range of values for $x\ \text{and}\ y$ carefully!)

确定函数 $f(x,y) = \text{ln}(x^{2} + y^{2} - 1)$ 在 $xy$ 平面中连续的_区域_。借助技术手段支持你的结论。(*提示*:谨慎选择 $x\ \text{and}\ y$ 的取值范围!)

101.

101.

At what points in space is $g(x,y,z) = x^{2} + y^{2} - 2z^{2}$ continuous?

在空间中的哪些点处,函数 $g(x,y,z) = x^{2} + y^{2} - 2z^{2}$ 连续?

102\.

102.

At what points in space is $g(x,y,z) = \frac{1}{x^{2} + z^{2} - 1}$ continuous?

在空间中的哪些点处,函数 $g(x,y,z) = \frac{1}{x^{2} + z^{2} - 1}$ 连续?

103.

103.

Show that $\underset{(x,y)\rightarrow(0,0)}{\text{lim}}\frac{1}{x^{2} + y^{2}}$ does not exist at $\left( {0,0} \right)$ by plotting the graph of the function.

通过绘制函数图像,证明 $\underset{(x,y)\rightarrow(0,0)}{\text{lim}}\frac{1}{x^{2} + y^{2}}$ 在 $\left( {0,0} \right)$ 处不存在。

104\.

104.

\[T\] Evaluate $\underset{(x,y)\rightarrow(0,0)}{\text{lim}}\frac{\text{−}xy^{2}}{x^{2} + y^{4}}$ by plotting the function using a CAS. Determine analytically the limit along the path $x = y^{2}.$

[T] 使用 CAS 绘制函数图像,求 $\underset{(x,y)\rightarrow(0,0)}{\text{lim}}\frac{\text{−}xy^{2}}{x^{2} + y^{4}}$。沿路径 $x = y^{2}$ 用解析方法确定该极限。

105.

105.

\[T\]

[T]

1. Use a CAS to draw a contour map of $z = \sqrt{9 - x^{2} - y^{2}}.$

1. 使用 CAS 绘制 $z = \sqrt{9 - x^{2} - y^{2}}$ 的等高线图。

2. What is the name of the geometric shape of the level curves?

2. 这些等高线的几何形状叫什么名字?

3. Give the general equation of the level curves.

3. 给出等高线的一般方程。

4. What is the maximum value of $z?$

4. $z$ 的最大值是多少?

5. What is the domain of the function?

5. 该函数的定义域是什么?

6. What is the range of the function?

6. 该函数的值域是什么?

106\.

106.

*True or False*: If we evaluate $\underset{(x,y)\rightarrow(0,0)}{\text{lim}}f(x)$ along several paths and each time the limit is $1,$ we can conclude that $\underset{(x,y)\rightarrow(0,0)}{\text{lim}}f(x) = 1.$

*判断正误*:如果我们沿若干条路径求 $\underset{(x,y)\rightarrow(0,0)}{\text{lim}}f(x)$,且每次极限都是 $1$,就能断定 $\underset{(x,y)\rightarrow(0,0)}{\text{lim}}f(x) = 1$。

107.

107.

Use polar coordinates to find $\underset{(x,y)\rightarrow(0,0)}{\text{lim}}\frac{\text{sin}\sqrt{x^{2} + y^{2}}}{\sqrt{x^{2} + y^{2}}}.$ You can also find the limit using L’Hôpital’s rule.

用极坐标求 $\underset{(x,y)\rightarrow(0,0)}{\text{lim}}\frac{\text{sin}\sqrt{x^{2} + y^{2}}}{\sqrt{x^{2} + y^{2}}}$。你也可以用洛必达法则求该极限。

108\.

108.

Use polar coordinates to find $\underset{(x,y)\rightarrow(0,0)}{\text{lim}}\text{cos}\left( {x^{2} + y^{2}} \right).$

用极坐标求 $\underset{(x,y)\rightarrow(0,0)}{\text{lim}}\text{cos}\left( {x^{2} + y^{2}} \right)$。

109.

109.

Discuss the continuity of $f(g(x,y))$ where $f(t) = {1\text{/}t}$ and $g(x,y) = 2x - 5y.$

讨论 $f(g(x,y))$ 的连续性,其中 $f(t) = {1\text{/}t}$,$g(x,y) = 2x - 5y$。

110\.

110.

Given $f(x,y) = x^{2} - 4y,$ find $\underset{h\rightarrow 0}{\text{lim}}\frac{f(x + h,y) - f(x,y)}{h}.$

给定 $f(x,y) = x^{2} - 4y$,求 $\underset{h\rightarrow 0}{\text{lim}}\frac{f(x + h,y) - f(x,y)}{h}$。

111.

111.

Given $f(x,y) = x^{2} - 4y,$ find $\underset{h\rightarrow 0}{\text{lim}}\frac{f(1 + h,y) - f(1,y)}{h}.$

给定 $f(x,y) = x^{2} - 4y$,求 $\underset{h\rightarrow 0}{\text{lim}}\frac{f(1 + h,y) - f(1,y)}{h}$。

4.3 Partial Derivatives 4.3 偏导数

Now that we have examined limits and continuity of functions of two variables, we can proceed to study derivatives. Finding derivatives of functions of two variables is the key concept in this chapter, with as many applications in mathematics, science, and engineering as differentiation of single-variable functions. However, we have already seen that limits and continuity of multivariable functions have new issues and require new terminology and ideas to deal with them. This carries over into differentiation as well.

既然已经讨论了二元函数的极限与连续,便可着手研究导数。求二元函数的导数是本章的核心概念,它在数学、科学与工程中的应用,与单变量函数求导同样广泛。不过,我们已经看到,多元函数的极限与连续带来了新的问题,并需要新的术语和思想来处理。这一点在微分中同样成立。

Derivatives of a Function of Two Variables 二元函数的导数

When studying derivatives of functions of one variable, we found that one interpretation of the derivative is an instantaneous rate of change of $y$ as a function of $x.$ Leibniz notation for the derivative is ${{dy}\text{/}{dx}},$ which implies that $y$ is the dependent variable and $x$ is the independent variable. For a function $z = f(x,y)$ of two variables, $x$ and $y$ are the independent variables and $z$ is the dependent variable. This raises two questions right away: How do we adapt Leibniz notation for functions of two variables? Also, what is an interpretation of the derivative? The answer lies in partial derivatives.

在研究单变量函数的导数时,我们发现导数的一种解释是 $y$ 作为 $x$ 的函数时的瞬时变化率。导数的莱布尼茨记法是 ${{dy}\text{/}{dx}}$,它表示 $y$ 是因变量、$x$ 是自变量。对于二元函数 $z = f(x,y)$,$x$ 与 $y$ 是自变量、$z$ 是因变量。这立刻引出两个问题:如何为二元函数改造莱布尼茨记法?此外,导数的解释又是什么?答案就在于偏导数。

Let $f\left( {x,y} \right)$ be a function of two variables. Then the partial derivative of $f$ with respect to $x,$ written as ${{\partial f}\text{/}{\partial x}},$ or $f_{x},$ is defined as

设 $f\left( {x,y} \right)$ 为二元函数。则 $f$ 对 $x$ 的偏导数,记作 ${{\partial f}\text{/}{\partial x}}$ 或 $f_{x}$,定义为

$$\frac{\partial f}{\partial x} = \underset{h\rightarrow 0}{\text{lim}}\frac{f\left( {x + h,y} \right) - f\left( {x,y} \right)}{h}.$$ (4.12)

$$\frac{\partial f}{\partial x} = \underset{h\rightarrow 0}{\text{lim}}\frac{f\left( {x + h,y} \right) - f\left( {x,y} \right)}{h}.$$ (4.12)

The partial derivative of $f$ with respect to $y,$ written as ${{\partial f}\text{/}{\partial y}},$ or $f_{y},$ is defined as

$f$ 对 $y$ 的偏导数,记作 ${{\partial f}\text{/}{\partial y}}$ 或 $f_{y}$,定义为

$$\frac{\partial f}{\partial y} = \underset{k\rightarrow 0}{\text{lim}}\frac{f\left( {x,y + k} \right) - f\left( {x,y} \right)}{k}.$$ (4.13)

$$\frac{\partial f}{\partial y} = \underset{k\rightarrow 0}{\text{lim}}\frac{f\left( {x,y + k} \right) - f\left( {x,y} \right)}{k}.$$ (4.13)

This definition shows two differences already. First, the notation changes, in the sense that we still use a version of Leibniz notation, but the $d$ in the original notation is replaced with the symbol $\partial.$ (This rounded $\text{“d”}$ is usually called “partial,” so ${\partial f}\text{/}{\partial x}$ is spoken as the “partial of $f$ with respect to $\left. x\text{.”} \right)$ This is the first hint that we are dealing with partial derivatives. Second, we now have two different derivatives we can take, since there are two different independent variables. Depending on which variable we choose, we can come up with different partial derivatives altogether, and often do.

这一定义已经显现出两点不同。第一,记法改变了:我们仍使用莱布尼茨记法的一种形式,但原记法中的 $d$ 被符号 $\partial$ 取代。(这个圆体 $\text{“d”}$ 通常称为“partial”,因此 ${\partial f}\text{/}{\partial x}$ 读作“$f$ 对 $x$ 的偏导”。)这是我们处理偏导数的第一个暗示。第二,由于有两个不同的自变量,我们现在可以求两种不同的导数。依据所选择的变量不同,我们可能得到完全不同的偏导数,而且常常如此。

Calculating Partial Derivatives from the Definition 由定义计算偏导数

Use the definition of the partial derivative as a limit to calculate ${\partial f}\text{/}{\partial x}$ and ${\partial f}\text{/}{\partial y}$ for the function

用偏导数的极限定义,计算函数 ... 的 ${\partial f}\text{/}{\partial x}$ 与 ${\partial f}\text{/}{\partial y}$。

$$f\left( {x,y} \right) = x^{2} - 3xy + 2y^{2} - 4x + 5y - 12.$$

$$f\left( {x,y} \right) = x^{2} - 3xy + 2y^{2} - 4x + 5y - 12.$$

Solution

First, calculate $f\left( {x + h,y} \right).$

先求 $f\left( {x + h,y} \right)$。

$$\begin{array}{cl} {f\left( {x + h,y} \right)} & {= \left( {x + h} \right)^{2} - 3\left( {x + h} \right)y + 2y^{2} - 4\left( {x + h} \right) + 5y - 12} \\ & {= x^{2} + 2xh + h^{2} - 3xy - 3hy + 2y^{2} - 4x - 4h + 5y - 12.} \end{array}$$

$$\begin{array}{cl} {f\left( {x + h,y} \right)} & {= \left( {x + h} \right)^{2} - 3\left( {x + h} \right)y + 2y^{2} - 4\left( {x + h} \right) + 5y - 12} \\ & {= x^{2} + 2xh + h^{2} - 3xy - 3hy + 2y^{2} - 4x - 4h + 5y - 12.} \end{array}$$

Next, substitute this into Equation 4.12 and simplify:

接下来,将其代入式 4.12 并化简:

$$\begin{array}{cl} \frac{\partial f}{\partial x} & {= \underset{h\rightarrow 0}{\text{lim}}\frac{f\left( {x + h,y} \right) - f\left( {x,y} \right)}{h}} \\ & {= \underset{h\rightarrow 0}{\text{lim}}\frac{\left( {x^{2} + 2xh + h^{2} - 3xy - 3hy + 2y^{2} - 4x - 4h + 5y - 12} \right) - \left( {x^{2} - 3xy + 2y^{2} - 4x + 5y - 12} \right)}{h}} \\ & {= \underset{h\rightarrow 0}{\text{lim}}\frac{x^{2} + 2xh + h^{2} - 3xy - 3hy + 2y^{2} - 4x - 4h + 5y - 12 - x^{2} + 3xy - 2y^{2} + 4x - 5y + 12}{h}} \\ & {= \underset{h\rightarrow 0}{\text{lim}}\frac{2xh + h^{2} - 3hy - 4h}{h}} \\ & {= \underset{h\rightarrow 0}{\text{lim}}\frac{h\left( {2x + h - 3y - 4} \right)}{h}} \\ & {= \underset{h\rightarrow 0}{\text{lim}}\left( {2x + h - 3y - 4} \right)} \\ & {= 2x - 3y - 4.} \end{array}$$

$$\begin{array}{cl} \frac{\partial f}{\partial x} & {= \underset{h\rightarrow 0}{\text{lim}}\frac{f\left( {x + h,y} \right) - f\left( {x,y} \right)}{h}} \\ & {= \underset{h\rightarrow 0}{\text{lim}}\frac{\left( {x^{2} + 2xh + h^{2} - 3xy - 3hy + 2y^{2} - 4x - 4h + 5y - 12} \right) - \left( {x^{2} - 3xy + 2y^{2} - 4x + 5y - 12} \right)}{h}} \\ & {= \underset{h\rightarrow 0}{\text{lim}}\frac{x^{2} + 2xh + h^{2} - 3xy - 3hy + 2y^{2} - 4x - 4h + 5y - 12 - x^{2} + 3xy - 2y^{2} + 4x - 5y + 12}{h}} \\ & {= \underset{h\rightarrow 0}{\text{lim}}\frac{2xh + h^{2} - 3hy - 4h}{h}} \\ & {= \underset{h\rightarrow 0}{\text{lim}}\frac{h\left( {2x + h - 3y - 4} \right)}{h}} \\ & {= \underset{h\rightarrow 0}{\text{lim}}\left( {2x + h - 3y - 4} \right)} \\ & {= 2x - 3y - 4.} \end{array}$$

To calculate $\frac{\partial f}{\partial y},$ first calculate $f\left( {x,y + k} \right)\text{:}$

要计算 $\frac{\partial f}{\partial y}$,先求 $f\left( {x,y + k} \right)\text{:}$

$$\begin{matrix} {f(x,y + k)} & {= x^{2} - 3x(y + k) + 2(y + k)^{2} - 4x + 5(y + k) - 12} \\ & {= x^{2} - 3xy - 3xk + 2y^{2} + 4yk + 2k^{2} - 4x + 5y + 5k - 12.} \end{matrix}$$

$$\begin{matrix} {f(x,y + k)} & {= x^{2} - 3x(y + k) + 2(y + k)^{2} - 4x + 5(y + k) - 12} \\ & {= x^{2} - 3xy - 3xk + 2y^{2} + 4yk + 2k^{2} - 4x + 5y + 5k - 12.} \end{matrix}$$

Next, substitute this into Equation 4.13 and simplify:

接下来,将其代入式 4.13 并化简:

$$\begin{array}{cl} \frac{\partial f}{\partial y} & {= \underset{k\rightarrow 0}{\text{lim}}\frac{f(x,y + k) - f(x,y)}{k}} \\ & {= \underset{k\rightarrow 0}{\text{lim}}\frac{\left( {x^{2} - 3xy - 3xk + 2y^{2} + 4yk + 2k^{2} - 4x + 5y + 5k - 12} \right) - \left( {x^{2} - 3xy + 2y^{2} - 4x + 5y - 12} \right)}{k}} \\ & {= \underset{k\rightarrow 0}{\text{lim}}\frac{x^{2} - 3xy - 3xk + 2y^{2} + 4yk + 2k^{2} - 4x + 5y + 5k - 12 - x^{2} + 3xy - 2y^{2} + 4x - 5y + 12}{k}} \\ & {= \underset{k\rightarrow 0}{\text{lim}}\frac{-3xk + 4yk + 2k^{2} + 5k}{k}} \\ & {= \underset{k\rightarrow 0}{\text{lim}}\frac{h\left( {-3x + 4y + 2k + 5} \right)}{k}} \\ & {= \underset{k\rightarrow 0}{\text{lim}}\left( {-3x + 4y + 2k + 5} \right)} \\ & {= -3x + 4y + 5.} \end{array}$$

$$\begin{array}{cl} \frac{\partial f}{\partial y} & {= \underset{k\rightarrow 0}{\text{lim}}\frac{f(x,y + k) - f(x,y)}{k}} \\ & {= \underset{k\rightarrow 0}{\text{lim}}\frac{\left( {x^{2} - 3xy - 3xk + 2y^{2} + 4yk + 2k^{2} - 4x + 5y + 5k - 12} \right) - \left( {x^{2} - 3xy + 2y^{2} - 4x + 5y - 12} \right)}{k}} \\ & {= \underset{k\rightarrow 0}{\text{lim}}\frac{x^{2} - 3xy - 3xk + 2y^{2} + 4yk + 2k^{2} - 4x + 5y + 5k - 12 - x^{2} + 3xy - 2y^{2} + 4x - 5y + 12}{k}} \\ & {= \underset{k\rightarrow 0}{\text{lim}}\frac{-3xk + 4yk + 2k^{2} + 5k}{k}} \\ & {= \underset{k\rightarrow 0}{\text{lim}}\frac{h\left( {-3x + 4y + 2k + 5} \right)}{k}} \\ & {= \underset{k\rightarrow 0}{\text{lim}}\left( {-3x + 4y + 2k + 5} \right)} \\ & {= -3x + 4y + 5.} \end{array}$$

Use the definition of the partial derivative as a limit to calculate ${\partial f}\text{/}{\partial x}$ and ${\partial f}\text{/}{\partial y}$ for the function

用偏导数的极限定义,计算函数 ... 的 ${\partial f}\text{/}{\partial x}$ 与 ${\partial f}\text{/}{\partial y}$。

$$f\left( {x,y} \right) = 4x^{2} + 2xy - y^{2} + 3x - 2y + 5.$$

$$f\left( {x,y} \right) = 4x^{2} + 2xy - y^{2} + 3x - 2y + 5.$$

The idea to keep in mind when calculating partial derivatives is to treat all independent variables, other than the variable with respect to which we are differentiating, as constants. Then proceed to differentiate as with a function of a single variable. To see why this is true, first fix $y$ and define $g(x) = f\left( {x,y} \right)$ as a function of $x.$ Then

计算偏导数时要牢记:把除求导所对变量之外的所有自变量都视为常数,再像对单变量函数那样求导。要理解为何如此,先固定 $y$,并令 $g(x) = f\left( {x,y} \right)$ 为 $x$ 的函数。于是

$$g^{\prime}(x) = \underset{h\rightarrow 0}{\text{lim}}\frac{g\left( {x + h} \right) - g(x)}{h} = \underset{h\rightarrow 0}{\text{lim}}\frac{f\left( {x + h,y} \right) - f\left( {x,y} \right)}{h} = \frac{\partial f}{\partial x}.$$

$$g^{\prime}(x) = \underset{h\rightarrow 0}{\text{lim}}\frac{g\left( {x + h} \right) - g(x)}{h} = \underset{h\rightarrow 0}{\text{lim}}\frac{f\left( {x + h,y} \right) - f\left( {x,y} \right)}{h} = \frac{\partial f}{\partial x}.$$

The same is true for calculating the partial derivative of $f$ with respect to $y.$ This time, fix $x$ and define $h(y) = f\left( {x,y} \right)$ as a function of $y.$ Then

对 $f$ 关于 $y$ 求偏导数也同样成立。这次固定 $x$,并令 $h(y) = f\left( {x,y} \right)$ 为 $y$ 的函数。于是

$$h^{\prime}(x) = \underset{k\rightarrow 0}{\text{lim}}\frac{h\left( {x + k} \right) - h(x)}{k} = \underset{k\rightarrow 0}{\text{lim}}\frac{f\left( {x,y + k} \right) - f\left( {x,y} \right)}{k} = \frac{\partial f}{\partial y}.$$

$$h^{\prime}(x) = \underset{k\rightarrow 0}{\text{lim}}\frac{h\left( {x + k} \right) - h(x)}{k} = \underset{k\rightarrow 0}{\text{lim}}\frac{f\left( {x,y + k} \right) - f\left( {x,y} \right)}{k} = \frac{\partial f}{\partial y}.$$

All differentiation rules from Introduction to Derivatives apply.

《导数导论》(Introduction to Derivatives)中的所有求导法则均适用。

Calculating Partial Derivatives 计算偏导数

Calculate both partial derivatives for the following functions by holding the opposite variable constant then differentiating:

对下列函数,通过固定另一个变量为常数再求导,计算两个偏导数:

1. $f\left( {x,y} \right) = x^{2} - 3xy + 2y^{2} - 4x + 5y - 12$

1. $f\left( {x,y} \right) = x^{2} - 3xy + 2y^{2} - 4x + 5y - 12$

2. $g\left( {x,y} \right) = \text{sin}\left( {x^{2}y - 2x + 4} \right)$

2. $g\left( {x,y} \right) = \text{sin}\left( {x^{2}y - 2x + 4} \right)$

Solution

1. To calculate ${{\partial f}\text{/}{\partial x}},$ treat the variable $y$ as a constant. Then differentiate $f\left( {x,y} \right)$ with respect to $x$ using the sum, difference, and power rules:

1. 要计算 ${{\partial f}\text{/}{\partial x}}$,把变量 $y$ 视为常数,再用和、差、幂法则对 $x$ 求 $f\left( {x,y} \right)$ 的导数:

$$\begin{array}{cl} \frac{\partial f}{\partial x} & {= \frac{\partial}{\partial x}\left\lbrack {x^{2} - 3xy + 2y^{2} - 4x + 5y - 12} \right\rbrack} \\ & {= \frac{\partial}{\partial x}\left\lbrack x^{2} \right\rbrack - \frac{\partial}{\partial x}\left\lbrack {3xy} \right\rbrack + \frac{\partial}{\partial x}\left\lbrack {2y^{2}} \right\rbrack - \frac{\partial}{\partial x}\left\lbrack {4x} \right\rbrack + \frac{\partial}{\partial x}\left\lbrack {5y} \right\rbrack - \frac{\partial}{\partial x}\lbrack 12\rbrack} \\ & {= 2x - 3y + 0 - 4 + 0 - 0} \\ & {= 2x - 3y - 4.} \end{array}$$

$$\begin{array}{cl} \frac{\partial f}{\partial x} & {= \frac{\partial}{\partial x}\left\lbrack {x^{2} - 3xy + 2y^{2} - 4x + 5y - 12} \right\rbrack} \\ & {= \frac{\partial}{\partial x}\left\lbrack x^{2} \right\rbrack - \frac{\partial}{\partial x}\left\lbrack {3xy} \right\rbrack + \frac{\partial}{\partial x}\left\lbrack {2y^{2}} \right\rbrack - \frac{\partial}{\partial x}\left\lbrack {4x} \right\rbrack + \frac{\partial}{\partial x}\left\lbrack {5y} \right\rbrack - \frac{\partial}{\partial x}\lbrack 12\rbrack} \\ & {= 2x - 3y + 0 - 4 + 0 - 0} \\ & {= 2x - 3y - 4.} \end{array}$$

The derivatives of the third, fifth, and sixth terms are all zero because they do not contain the variable $x,$ so they are treated as constant terms. The derivative of the second term is equal to the coefficient of $x,$ which is $-3y.$ Calculating ${{\partial f}\text{/}{\partial y}}\text{:}$

第三、第五、第六项都不含变量 $x$,故其导数均为零,被当作常数项。第二项的导数等于 $x$ 的系数,即 $-3y$。计算 ${{\partial f}\text{/}{\partial y}}$:

$$\begin{array}{cl} \frac{\partial f}{\partial y} & {= \frac{\partial}{\partial y}\left\lbrack {x^{2} - 3xy + 2y^{2} - 4x + 5y - 12} \right\rbrack} \\ & {= \frac{\partial}{\partial y}\left\lbrack x^{2} \right\rbrack - \frac{\partial}{\partial y}\left\lbrack {3xy} \right\rbrack + \frac{\partial}{\partial y}\left\lbrack {2y^{2}} \right\rbrack - \frac{\partial}{\partial y}\left\lbrack {4x} \right\rbrack + \frac{\partial}{\partial y}\left\lbrack {5y} \right\rbrack - \frac{\partial}{\partial y}\lbrack 12\rbrack} \\ & {= -3x + 4y - 0 + 5 - 0} \\ & {= -3x + 4y + 5.} \end{array}$$

$$\begin{array}{cl} \frac{\partial f}{\partial y} & {= \frac{\partial}{\partial y}\left\lbrack {x^{2} - 3xy + 2y^{2} - 4x + 5y - 12} \right\rbrack} \\ & {= \frac{\partial}{\partial y}\left\lbrack x^{2} \right\rbrack - \frac{\partial}{\partial y}\left\lbrack {3xy} \right\rbrack + \frac{\partial}{\partial y}\left\lbrack {2y^{2}} \right\rbrack - \frac{\partial}{\partial y}\left\lbrack {4x} \right\rbrack + \frac{\partial}{\partial y}\left\lbrack {5y} \right\rbrack - \frac{\partial}{\partial y}\lbrack 12\rbrack} \\ & {= -3x + 4y - 0 + 5 - 0} \\ & {= -3x + 4y + 5.} \end{array}$$

These are the same answers obtained in Example 4.14.

这些与示例 4.14 中得到的结果相同。

2. To calculate ${{\partial g}\text{/}{\partial x}},$ treat the variable *y* as a constant. Then differentiate $g\left( {x,y} \right)$ with respect to *x* using the chain rule and power rule:

2. 要计算 ${{\partial g}\text{/}{\partial x}}$,把变量 *y* 视为常数,再用链式法则与幂法则对 *x* 求 $g\left( {x,y} \right)$ 的导数:

$$\begin{array}{cl} \frac{\partial g}{\partial x} & {= \frac{\partial}{\partial x}\left\lbrack {\text{sin}\left( {x^{2}y - 2x + 4} \right)} \right\rbrack} \\ & {= \text{cos}\left( {x^{2}y - 2x + 4} \right)\frac{\partial}{\partial x}\left\lbrack {x^{2}y - 2x + 4} \right\rbrack} \\ & {= \left( {2xy - 2} \right)\text{cos}\left( {x^{2}y - 2x + 4} \right).} \end{array}$$

$$\begin{array}{cl} \frac{\partial g}{\partial x} & {= \frac{\partial}{\partial x}\left\lbrack {\text{sin}\left( {x^{2}y - 2x + 4} \right)} \right\rbrack} \\ & {= \text{cos}\left( {x^{2}y - 2x + 4} \right)\frac{\partial}{\partial x}\left\lbrack {x^{2}y - 2x + 4} \right\rbrack} \\ & {= \left( {2xy - 2} \right)\text{cos}\left( {x^{2}y - 2x + 4} \right).} \end{array}$$

To calculate ${{\partial g}\text{/}{\partial y}},$ treat the variable $x$ as a constant. Then differentiate $g\left( {x,y} \right)$ with respect to $y$ using the chain rule and power rule:

要计算 ${{\partial g}\text{/}{\partial y}}$,把变量 $x$ 视为常数,再用链式法则与幂法则对 $y$ 求 $g\left( {x,y} \right)$ 的导数:

$$\begin{array}{cl} \frac{\partial g}{\partial y} & {= \frac{\partial}{\partial y}\left\lbrack {\text{sin}\left( {x^{2}y - 2x + 4} \right)} \right\rbrack} \\ & {= \text{cos}\left( {x^{2}y - 2x + 4} \right)\frac{\partial}{\partial y}\left\lbrack {x^{2}y - 2x + 4} \right\rbrack} \\ & {= x^{2}\text{cos}\left( {x^{2}y - 2x + 4} \right).} \end{array}$$

$$\begin{array}{cl} \frac{\partial g}{\partial y} & {= \frac{\partial}{\partial y}\left\lbrack {\text{sin}\left( {x^{2}y - 2x + 4} \right)} \right\rbrack} \\ & {= \text{cos}\left( {x^{2}y - 2x + 4} \right)\frac{\partial}{\partial y}\left\lbrack {x^{2}y - 2x + 4} \right\rbrack} \\ & {= x^{2}\text{cos}\left( {x^{2}y - 2x + 4} \right).} \end{array}$$

Calculate ${\partial f}\text{/}{\partial x}$ and ${\partial f}\text{/}{\partial y}$ for the function $f\left( {x,y} \right) = \text{tan}\left( {x^{3} - 3x^{2}y^{2} + 2y^{4}} \right)$ by holding the opposite variable constant, then differentiating.

通过对另一个变量取常数再求导,计算函数 $f\left( {x,y} \right) = \text{tan}\left( {x^{3} - 3x^{2}y^{2} + 2y^{4}} \right)$ 的 ${\partial f}\text{/}{\partial x}$ 与 ${\partial f}\text{/}{\partial y}$。

How can we interpret these partial derivatives? Recall that the graph of a function of two variables is a surface in $\mathbb{R}^{3}.$ If we remove the limit from the definition of the partial derivative with respect to $x,$ the difference quotient remains:

我们如何解释这些偏导数?回顾:二元函数的图像是 $\mathbb{R}^{3}$ 中的一个曲面。若从对 $x$ 的偏导数定义中去掉极限,则差商保留为:

$$\frac{f\left( {x + h,y} \right) - f\left( {x,y} \right)}{h}.$$

$$\frac{f\left( {x + h,y} \right) - f\left( {x,y} \right)}{h}.$$

This resembles the difference quotient for the derivative of a function of one variable, except for the presence of the $y$ variable. Figure 4.21 illustrates a surface described by an arbitrary function $z = f\left( {x,y} \right).$

这与单变量函数导数的差商相似,只是多了 $y$ 变量。图 4.21 展示了一个任意函数 $z = f\left( {x,y} \right)$ 所描述的曲面。

In Figure 4.21, the value of $h$ is positive. If we graph $f\left( {x,y} \right)$ and $f\left( {x + h,y} \right)$ for an arbitrary point $\left( {x,y} \right),$ then the slope of the secant line passing through these two points is given by

在图 4.21 中,$h$ 取正值。若对任一点 $\left( {x,y} \right)$ 画出 $f\left( {x,y} \right)$ 与 $f\left( {x + h,y} \right)$,则过这两点的割线斜率为

$$\frac{f\left( {x + h,y} \right) - f\left( {x,y} \right)}{h}.$$

$$\frac{f\left( {x + h,y} \right) - f\left( {x,y} \right)}{h}.$$

This line is parallel to the $x\text{–}z~\text{plane.}$ Therefore, the slope of the secant line represents an average rate of change of the function $f$ as we travel parallel to the $x\text{-axis.}$ As $h$ approaches zero, the slope of the secant line approaches the slope of the tangent line.

该直线平行于 $x\text{–}z~\text{plane.}$ 因此,割线的斜率表示我们沿 $x\text{-axis}$ 方向行进时函数 $f$ 的平均变化率。当 $h$ 趋于零,割线斜率趋于切线斜率。

If we choose to change $y$ instead of $x$ by the same incremental value $h,$ then the secant line is parallel to the $y\text{-axis}$ and so is the tangent line. Therefore, ${\partial f}\text{/}{\partial x}$ represents the slope of the tangent line passing through the point $\left( {x,y,f\left( {x,y} \right)} \right)$ parallel to the $x\text{-axis}$ and ${\partial f}\text{/}{\partial y}$ represents the slope of the tangent line passing through the point $\left( {x,y,f\left( {x,y} \right)} \right)$ parallel to the $y\text{-axis}.$ If we wish to find the slope of a tangent line passing through the same point in any other direction, then we need what are called *directional derivatives*, which we discuss in Directional Derivatives and the Gradient.

若我们改为改变 $y$ 而非 $x$,增量同为 $h$,则割线平行于 $y\text{-axis}$,切线也同样。因此,${\partial f}\text{/}{\partial x}$ 表示过点 $\left( {x,y,f\left( {x,y} \right)} \right)$ 且平行于 $x\text{-axis}$ 的切线斜率;${\partial f}\text{/}{\partial y}$ 表示过点 $\left( {x,y,f\left( {x,y} \right)} \right)$ 且平行于 $y\text{-axis}$ 的切线斜率。若想求过同一点沿其他任何方向的切线斜率,则需要所谓*方向导数*,这将在「方向导数与梯度」(Directional Derivatives and the Gradient)中讨论。

We now return to the idea of contour maps, which we introduced in Functions of Several Variables. We can use a contour map to estimate partial derivatives of a function $g\left( {x,y} \right).$

现在回到我们在「多元函数」(Functions of Several Variables)中引入的等高线图概念。可用等高线图来估计函数 $g\left( {x,y} \right)$ 的偏导数。

Partial Derivatives from a Contour Map 由等高线图求偏导数

Use a contour map to estimate ${\partial g}\text{/}{\partial x}$ at the point $\left( {\sqrt{5},0} \right)$ for the function $g\left( {x,y} \right) = \sqrt{9 - x^{2} - y^{2}}.$

用等高线图估计函数 $g\left( {x,y} \right) = \sqrt{9 - x^{2} - y^{2}}$ 在点 $\left( {\sqrt{5},0} \right)$ 处的 ${\partial g}\text{/}{\partial x}$。

Solution

The following graph represents a contour map for the function $g\left( {x,y} \right) = \sqrt{9 - x^{2} - y^{2}}.$

下图是函数 $g\left( {x,y} \right) = \sqrt{9 - x^{2} - y^{2}}$ 的等高线图。

The inner circle on the contour map corresponds to $c = 2$ and the next circle out corresponds to $c = 1.$ The first circle is given by the equation $2 = \sqrt{9 - x^{2} - y^{2}};$ the second circle is given by the equation $1 = \sqrt{9 - x^{2} - y^{2}}.$ The first equation simplifies to $x^{2} + y^{2} = 5$ and the second equation simplifies to $x^{2} + y^{2} = 8.$ The $x\text{-intercept}$ of the first circle is $\left( {\sqrt{5},0} \right)$ and the $x\text{-intercept}$ of the second circle is $\left( {2\sqrt{2},0} \right).$ We can estimate the value of ${\partial g}\text{/}{\partial x}$ evaluated at the point $\left( {\sqrt{5},0} \right)$ using the slope formula:

等高线图的内圈对应 $c = 2$,外一圈对应 $c = 1$。第一个圆由方程 $2 = \sqrt{9 - x^{2} - y^{2}}$ 给出,第二个圆由方程 $1 = \sqrt{9 - x^{2} - y^{2}}$ 给出。第一个方程化简为 $x^{2} + y^{2} = 5$,第二个化简为 $x^{2} + y^{2} = 8$。第一个圆的 $x\text{-intercept}$ 为 $\left( {\sqrt{5},0} \right)$,第二个圆的 $x\text{-intercept}$ 为 $\left( {2\sqrt{2},0} \right)$。我们可用斜率公式估计点 $\left( {\sqrt{5},0} \right)$ 处 ${\partial g}\text{/}{\partial x}$ 的值:

$$\left. \frac{\partial g}{\partial x} \right|_{{({x,y})} = {({\sqrt{5},0})}} \approx \frac{g\left( {\sqrt{5},0} \right) - g\left( {2\sqrt{2},0} \right)}{\sqrt{5} - 2\sqrt{2}} = \frac{2 - 1}{\sqrt{5} - 2\sqrt{2}} = \frac{1}{\sqrt{5} - 2\sqrt{2}} \approx -1.688.$$

$$\left. \frac{\partial g}{\partial x} \right|_{{({x,y})} = {({\sqrt{5},0})}} \approx \frac{g\left( {\sqrt{5},0} \right) - g\left( {2\sqrt{2},0} \right)}{\sqrt{5} - 2\sqrt{2}} = \frac{2 - 1}{\sqrt{5} - 2\sqrt{2}} = \frac{1}{\sqrt{5} - 2\sqrt{2}} \approx -1.688.$$

To calculate the exact value of ${\partial g}\text{/}{\partial x}$ evaluated at the point $\left( {\sqrt{5},0} \right),$ we start by finding ${\partial g}\text{/}{\partial x}$ using the chain rule. First, we rewrite the function as $g\left( {x,y} \right) = \sqrt{9 - x^{2} - y^{2}} = \left( {9 - x^{2} - y^{2}} \right)^{1\text{/}2}$ and then differentiate with respect to $x$ while holding $y$ constant:

要计算点 $\left( {\sqrt{5},0} \right)$ 处 ${\partial g}\text{/}{\partial x}$ 的精确值,先用链式法则求 ${\partial g}\text{/}{\partial x}$。先把函数改写为 $g\left( {x,y} \right) = \sqrt{9 - x^{2} - y^{2}} = \left( {9 - x^{2} - y^{2}} \right)^{1\text{/}2}$,再在固定 $y$ 时对 $x$ 求导:

$$\frac{\partial g}{\partial x} = \frac{1}{2}\left( {9 - x^{2} - y^{2}} \right)^{-1\text{/}2}\left( {-2x} \right) = - \frac{x}{\sqrt{9 - x^{2} - y^{2}}}.$$

$$\frac{\partial g}{\partial x} = \frac{1}{2}\left( {9 - x^{2} - y^{2}} \right)^{-1\text{/}2}\left( {-2x} \right) = - \frac{x}{\sqrt{9 - x^{2} - y^{2}}}.$$

Next, we evaluate this expression using $x = \sqrt{5}$ and $y = 0\text{:}$

接下来,代入 $x = \sqrt{5}$、$y = 0$ 计算该式:

$$\left. \frac{\partial g}{\partial x} \right|_{{({x,y})} = {({\sqrt{5},0})}} = - \frac{\sqrt{5}}{\sqrt{9 - \left( \sqrt{5} \right)^{2} - (0)^{2}}} = - \frac{\sqrt{5}}{\sqrt{4}} = - \frac{\sqrt{5}}{2} \approx -1.118.$$

$$\left. \frac{\partial g}{\partial x} \right|_{{({x,y})} = {({\sqrt{5},0})}} = - \frac{\sqrt{5}}{\sqrt{9 - \left( \sqrt{5} \right)^{2} - (0)^{2}}} = - \frac{\sqrt{5}}{\sqrt{4}} = - \frac{\sqrt{5}}{2} \approx -1.118.$$

The estimate for the partial derivative corresponds to the slope of the secant line passing through the points $\left( {\sqrt{5},0,g\left( {\sqrt{5},0} \right)} \right)$ and $\left( {2\sqrt{2},0,g\left( {2\sqrt{2},0} \right)} \right).$ It represents an approximation to the slope of the tangent line to the surface through the point $\left( {\sqrt{5},0,g\left( {\sqrt{5},0} \right)} \right),$ which is parallel to the $x\text{-axis}.$

该偏导数的估计值对应过两点 $\left( {\sqrt{5},0,g\left( {\sqrt{5},0} \right)} \right)$ 与 $\left( {2\sqrt{2},0,g\left( {2\sqrt{2},0} \right)} \right)$ 的割线斜率,它近似于过点 $\left( {\sqrt{5},0,g\left( {\sqrt{5},0} \right)} \right)$ 且平行于 $x\text{-axis}$ 的曲面切线斜率。

Use a contour map to estimate ${\partial f}\text{/}{\partial y}$ at point $\left( {0,\sqrt{2}} \right)$ for the function

用等高线图估计函数 ... 在点 $\left( {0,\sqrt{2}} \right)$ 处的 ${\partial f}\text{/}{\partial y}$。

$$f\left( {x,y} \right) = x^{2} - y^{2}.$$

$$f\left( {x,y} \right) = x^{2} - y^{2}.$$

Compare this with the exact answer.

将它与精确答案比较。

Functions of More Than Two Variables 多于两个变量的函数

Suppose we have a function of three variables, such as $w = f\left( {x,y,z} \right).$ We can calculate partial derivatives of $w$ with respect to any of the independent variables, simply as extensions of the definitions for partial derivatives of functions of two variables.

假设有一个三元函数,例如 $w = f\left( {x,y,z} \right)$。我们可以求 $w$ 关于任意一个自变量的偏导数,这只需把二元函数偏导数的定义加以推广即可。

Let $f\left( {x,y,z} \right)$ be a function of three variables. Then, the *partial derivative of $f$ with respect to x,* written as ${{\partial f}\text{/}{\partial x}},$ or $f_{x},$ is defined to be

设 $f\left( {x,y,z} \right)$ 为三元函数。那么 *$f$ 对 $x$ 的偏导数*,记作 ${{\partial f}\text{/}{\partial x}}$ 或 $f_{x}$,定义为

$$\frac{\partial f}{\partial x} = \underset{h\rightarrow 0}{\text{lim}}\frac{f\left( {x + h,y,z} \right) - f\left( {x,y,z} \right)}{h}.$$ (4.14)

$$\frac{\partial f}{\partial x} = \underset{h\rightarrow 0}{\text{lim}}\frac{f\left( {x + h,y,z} \right) - f\left( {x,y,z} \right)}{h}.$$ (4.14)

The *partial derivative of* $f$ *with respect to* $y,$ written as ${{\partial f}\text{/}{\partial y}},$ or $f_{y},$ is defined to be

*$f$ 对 $y$ 的偏导数*,记作 ${{\partial f}\text{/}{\partial y}}$ 或 $f_{y}$,定义为

$$\frac{\partial f}{\partial y} = \underset{k\rightarrow 0}{\text{lim}}\frac{f\left( {x,y + k,z} \right) - f\left( {x,y,z} \right)}{k}.$$ (4.15)

$$\frac{\partial f}{\partial y} = \underset{k\rightarrow 0}{\text{lim}}\frac{f\left( {x,y + k,z} \right) - f\left( {x,y,z} \right)}{k}.$$ (4.15)

The *partial derivative of* $f$ *with respect to* $z,$ written as ${{\partial f}\text{/}{\partial z}},$ or $f_{z},$ is defined to be

*$f$ 对 $z$ 的偏导数*,记作 ${{\partial f}\text{/}{\partial z}}$ 或 $f_{z}$,定义为

$$\frac{\partial f}{\partial z} = \underset{m\rightarrow 0}{\text{lim}}\frac{f\left( {x,y,z + m} \right) - f\left( {x,y,z} \right)}{m}.$$ (4.16)

$$\frac{\partial f}{\partial z} = \underset{m\rightarrow 0}{\text{lim}}\frac{f\left( {x,y,z + m} \right) - f\left( {x,y,z} \right)}{m}.$$ (4.16)

We can calculate a partial derivative of a function of three variables using the same idea we used for a function of two variables. For example, if we have a function $f$ of $x,y,\text{and}\ z,$ and we wish to calculate ${{\partial f}\text{/}{\partial x}},$ then we treat the other two independent variables as if they are constants, then differentiate with respect to $x.$

求三元函数的偏导数,可沿用求二元函数偏导数的思路。例如,若函数 $f$ 依赖于 $x,y,\text{and}\ z$,而我们要求 ${{\partial f}\text{/}{\partial x}}$,则把另外两个自变量当作常数,再对 $x$ 求导。

Calculating Partial Derivatives for a Function of Three Variables 计算三元函数的偏导数

Use the limit definition of partial derivatives to calculate ${\partial f}\text{/}{\partial x}$ for the function

用偏导数的极限定义求下列函数的 ${\partial f}\text{/}{\partial x}$:

$$f\left( {x,y,z} \right) = x^{2} - 3xy + 2y^{2} - 4xz + 5yz^{2} - 12x + 4y - 3z.$$

$$f\left( {x,y,z} \right) = x^{2} - 3xy + 2y^{2} - 4xz + 5yz^{2} - 12x + 4y - 3z.$$

Then, find ${\partial f}\text{/}{\partial y}$ and ${\partial f}\text{/}{\partial z}$ by setting the other two variables constant and differentiating accordingly.

然后令另外两个变量为常数并相应求导,求 ${\partial f}\text{/}{\partial y}$ 与 ${\partial f}\text{/}{\partial z}$。

Solution

We first calculate ${\partial f}\text{/}{\partial x}$ using Equation 4.14, then we calculate the other two partial derivatives by holding the remaining variables constant. To use the equation to find ${{\partial f}\text{/}{\partial x}},$ we first need to calculate $f\left( {x + h,y,z} \right)\text{:}$

我们先利用式 (4.14) 计算 ${\partial f}\text{/}{\partial x}$,再通过令其余变量为常数来求另外两个偏导数。要用该式求 ${{\partial f}\text{/}{\partial x}}$,首先需算出 $f\left( {x + h,y,z} \right)\text{:}$

$$\begin{array}{cl} {f\left( {x + h,y,z} \right)} & {= \left( {x + h} \right)^{2} - 3\left( {x + h} \right)y + 2y^{2} - 4\left( {x + h} \right)z + 5yz^{2} - 12\left( {x + h} \right) + 4y - 3z} \\ & {= x^{2} + 2xh + h^{2} - 3xy - 3xh + 2y^{2} - 4xz - 4hz + 5yz^{2} - 12x - 12h + 4y - 3z} \end{array}$$

$$\begin{array}{cl} {f\left( {x + h,y,z} \right)} & {= \left( {x + h} \right)^{2} - 3\left( {x + h} \right)y + 2y^{2} - 4\left( {x + h} \right)z + 5yz^{2} - 12\left( {x + h} \right) + 4y - 3z} \\ & {= x^{2} + 2xh + h^{2} - 3xy - 3xh + 2y^{2} - 4xz - 4hz + 5yz^{2} - 12x - 12h + 4y - 3z} \end{array}$$

and recall that $f\left( {x,y,z} \right) = x^{2} - 3xy + 2y^{2} - 4zx + 5yz^{2} - 12x + 4y - 3z.$ Next, we substitute these two expressions into the equation:

并注意到 $f\left( {x,y,z} \right) = x^{2} - 3xy + 2y^{2} - 4zx + 5yz^{2} - 12x + 4y - 3z$。接下来,把这两个表达式代入方程:

$$\begin{array}{cl} \frac{\partial f}{\partial x} & {= \underset{h\rightarrow 0}{\text{lim}}\left\lbrack \frac{x^{2} + 2xh + h^{2} - 3xy - 3hy + 2y^{2} - 4xz - 4hz + 5yz^{2} - 12x - 12h + 4y - 3z}{h} \right.} \\ & \left. \mspace{9mu} - \frac{x^{2} - 3xy + 2y^{2} - 4xz + 5yz^{2} - 12x + 4y - 3z}{h} \right\rbrack \\ & {= \underset{h\rightarrow 0}{\text{lim}}\left\lbrack \frac{2xh + h^{2} - 3hy - 4hz - 12h}{h} \right\rbrack} \\ & {= \underset{h\rightarrow 0}{\text{lim}}\left\lbrack \frac{h\left( {2x + h - 3y - 4z - 12} \right)}{h} \right\rbrack} \\ & {= \underset{h\rightarrow 0}{\text{lim}}\left( {2x + h - 3y - 4z - 12} \right)} \\ & {= 2x - 3y - 4z - 12.} \end{array}$$

$$\begin{array}{cl} \frac{\partial f}{\partial x} & {= \underset{h\rightarrow 0}{\text{lim}}\left\lbrack \frac{x^{2} + 2xh + h^{2} - 3xy - 3hy + 2y^{2} - 4xz - 4hz + 5yz^{2} - 12x - 12h + 4y - 3z}{h} \right.} \\ & \left. \mspace{9mu} - \frac{x^{2} - 3xy + 2y^{2} - 4xz + 5yz^{2} - 12x + 4y - 3z}{h} \right\rbrack \\ & {= \underset{h\rightarrow 0}{\text{lim}}\left\lbrack \frac{2xh + h^{2} - 3hy - 4hz - 12h}{h} \right\rbrack} \\ & {= \underset{h\rightarrow 0}{\text{lim}}\left\lbrack \frac{h\left( {2x + h - 3y - 4z - 12} \right)}{h} \right\rbrack} \\ & {= \underset{h\rightarrow 0}{\text{lim}}\left( {2x + h - 3y - 4z - 12} \right)} \\ & {= 2x - 3y - 4z - 12.} \end{array}$$

Then we find ${\partial f}\text{/}{\partial y}$ by holding $x\ \text{and}\ z$ constant. Therefore, any term that does not include the variable $y$ is constant, and its derivative is zero. We can apply the sum, difference, and power rules for functions of one variable:

然后,通过令 $x\ \text{and}\ z$ 为常数来求 ${\partial f}\text{/}{\partial y}$。因此,任何不含变量 $y$ 的项都是常数,其导数为零。我们可以应用一元函数的和、差与幂法则:

$$\begin{array}{l} {\frac{\partial}{\partial y}\left\lbrack {x^{2} - 3xy + 2y^{2} - 4xz + 5yz^{2} - 12x + 4y - 3z} \right\rbrack} \\ {= \frac{\partial}{\partial y}\left\lbrack x^{2} \right\rbrack - \frac{\partial}{\partial y}\left\lbrack {3xy} \right\rbrack + \frac{\partial}{\partial y}\left\lbrack {2y^{2}} \right\rbrack - \frac{\partial}{\partial y}\left\lbrack {4xz} \right\rbrack + \frac{\partial}{\partial y}\left\lbrack {5yz^{2}} \right\rbrack - \frac{\partial}{\partial y}\left\lbrack {12x} \right\rbrack + \frac{\partial}{\partial y}\left\lbrack {4y} \right\rbrack - \frac{\partial}{\partial y}\left\lbrack {3z} \right\rbrack} \\ {= 0 - 3x + 4y - 0 + 5z^{2} - 0 + 4 - 0} \\ {= -3x + 4y + 5z^{2} + 4.} \end{array}$$

$$\begin{array}{l} {\frac{\partial}{\partial y}\left\lbrack {x^{2} - 3xy + 2y^{2} - 4xz + 5yz^{2} - 12x + 4y - 3z} \right\rbrack} \\ {= \frac{\partial}{\partial y}\left\lbrack x^{2} \right\rbrack - \frac{\partial}{\partial y}\left\lbrack {3xy} \right\rbrack + \frac{\partial}{\partial y}\left\lbrack {2y^{2}} \right\rbrack - \frac{\partial}{\partial y}\left\lbrack {4xz} \right\rbrack + \frac{\partial}{\partial y}\left\lbrack {5yz^{2}} \right\rbrack - \frac{\partial}{\partial y}\left\lbrack {12x} \right\rbrack + \frac{\partial}{\partial y}\left\lbrack {4y} \right\rbrack - \frac{\partial}{\partial y}\left\lbrack {3z} \right\rbrack} \\ {= 0 - 3x + 4y - 0 + 5z^{2} - 0 + 4 - 0} \\ {= -3x + 4y + 5z^{2} + 4.} \end{array}$$

To calculate ${{\partial f}\text{/}{\partial z}},$ we hold *x* and *y* constant and apply the sum, difference, and power rules for functions of one variable:

为求 ${{\partial f}\text{/}{\partial z}}$,我们令 *x* 和 *y* 为常数,并应用一元函数的和、差与幂法则:

$$\begin{array}{l} {\frac{\partial}{\partial z}\left\lbrack {x^{2} - 3xy + 2y^{2} - 4xz + 5yz^{2} - 12x + 4y - 3z} \right\rbrack} \\ {= \frac{\partial}{\partial z}\left\lbrack x^{2} \right\rbrack - \frac{\partial}{\partial z}\left\lbrack {3xy} \right\rbrack + \frac{\partial}{\partial z}\left\lbrack {2y^{2}} \right\rbrack - \frac{\partial}{\partial z}\left\lbrack {4xz} \right\rbrack + \frac{\partial}{\partial z}\left\lbrack {5yz^{2}} \right\rbrack - \frac{\partial}{\partial z}\left\lbrack {12x} \right\rbrack + \frac{\partial}{\partial z}\left\lbrack {4y} \right\rbrack - \frac{\partial}{\partial z}\left\lbrack {3z} \right\rbrack} \\ {= 0 - 0 + 0 - 4x + 10yz - 0 + 0 - 3} \\ {= -4x + 10yz - 3.} \end{array}$$

$$\begin{array}{l} {\frac{\partial}{\partial z}\left\lbrack {x^{2} - 3xy + 2y^{2} - 4xz + 5yz^{2} - 12x + 4y - 3z} \right\rbrack} \\ {= \frac{\partial}{\partial z}\left\lbrack x^{2} \right\rbrack - \frac{\partial}{\partial z}\left\lbrack {3xy} \right\rbrack + \frac{\partial}{\partial z}\left\lbrack {2y^{2}} \right\rbrack - \frac{\partial}{\partial z}\left\lbrack {4xz} \right\rbrack + \frac{\partial}{\partial z}\left\lbrack {5yz^{2}} \right\rbrack - \frac{\partial}{\partial z}\left\lbrack {12x} \right\rbrack + \frac{\partial}{\partial z}\left\lbrack {4y} \right\rbrack - \frac{\partial}{\partial z}\left\lbrack {3z} \right\rbrack} \\ {= 0 - 0 + 0 - 4x + 10yz - 0 + 0 - 3} \\ {= -4x + 10yz - 3.} \end{array}$$

Use the limit definition of partial derivatives to calculate ${\partial f}\text{/}{\partial x}$ for the function

用偏导数的极限定义求下列函数的 ${\partial f}\text{/}{\partial x}$:

$$f\left( {x,y,z} \right) = 2x^{2} - 4x^{2}y + 2y^{2} + 5xz^{2} - 6x + 3z - 8.$$

$$f\left( {x,y,z} \right) = 2x^{2} - 4x^{2}y + 2y^{2} + 5xz^{2} - 6x + 3z - 8.$$

Then find ${\partial f}\text{/}{\partial y}$ and ${\partial f}\text{/}{\partial z}$ by setting the other two variables constant and differentiating accordingly.

然后令另外两个变量为常数并相应求导,求 ${\partial f}\text{/}{\partial y}$ 与 ${\partial f}\text{/}{\partial z}$。

Calculating Partial Derivatives for a Function of Three Variables 计算三元函数的偏导数

Calculate the three partial derivatives of the following functions.

求下列函数的三个偏导数。

1. $f\left( {x,y,z} \right) = \frac{x^{2}y - 4xz + y^{2}}{x - 3yz}$

1. $f\left( {x,y,z} \right) = \frac{x^{2}y - 4xz + y^{2}}{x - 3yz}$

2. $g\left( {x,y,z} \right) = \text{sin}\left( {x^{2}y - z} \right) + \text{cos}\left( {x^{2} - yz} \right)$

2. $g\left( {x,y,z} \right) = \text{sin}\left( {x^{2}y - z} \right) + \text{cos}\left( {x^{2} - yz} \right)$

Solution

In each case, treat all variables as constants except the one whose partial derivative you are calculating.

在每种情形中,除正在求偏导数的那个变量外,将其余变量都视为常数。

1. $\begin{array}{cl} \frac{\partial f}{\partial x} & {= \frac{\partial}{\partial x}\left\lbrack \frac{x^{2}y - 4xz + y^{2}}{x - 3yz} \right\rbrack} \\ & {= \frac{\frac{\partial}{\partial x}\left( {x^{2}y - 4xz + y^{2}} \right)\left( {x - 3yz} \right) - \left( {x^{2}y - 4xz + y^{2}} \right)\frac{\partial}{\partial x}\left( {x - 3yz} \right)}{\left( {x - 3yz} \right)^{2}}} \\ & {= \frac{\left( {2xy - 4z} \right)\left( {x - 3yz} \right) - \left( {x^{2}y - 4xz + y^{2}} \right)(1)}{\left( {x - 3yz} \right)^{2}}} \\ & {= \frac{2x^{2}y - 6xy^{2}z - 4xz + 12yz^{2} - x^{2}y + 4xz - y^{2}}{\left( {x - 3yz} \right)^{2}}} \\ & {= \frac{x^{2}y - 6xy^{2}z - 4xz + 12yz^{2} + 4xz - y^{2}}{\left( {x - 3yz} \right)^{2}}} \end{array}$

1. $\begin{array}{cl} \frac{\partial f}{\partial x} & {= \frac{\partial}{\partial x}\left\lbrack \frac{x^{2}y - 4xz + y^{2}}{x - 3yz} \right\rbrack} \\ & {= \frac{\frac{\partial}{\partial x}\left( {x^{2}y - 4xz + y^{2}} \right)\left( {x - 3yz} \right) - \left( {x^{2}y - 4xz + y^{2}} \right)\frac{\partial}{\partial x}\left( {x - 3yz} \right)}{\left( {x - 3yz} \right)^{2}}} \\ & {= \frac{\left( {2xy - 4z} \right)\left( {x - 3yz} \right) - \left( {x^{2}y - 4xz + y^{2}} \right)(1)}{\left( {x - 3yz} \right)^{2}}} \\ & {= \frac{2x^{2}y - 6xy^{2}z - 4xz + 12yz^{2} - x^{2}y + 4xz - y^{2}}{\left( {x - 3yz} \right)^{2}}} \\ & {= \frac{x^{2}y - 6xy^{2}z - 4xz + 12yz^{2} + 4xz - y^{2}}{\left( {x - 3yz} \right)^{2}}} \end{array}$

$\begin{array}{cl} \frac{\partial f}{\partial y} & {= \frac{\partial}{\partial y}\left\lbrack \frac{x^{2}y - 4xz + y^{2}}{x - 3yz} \right\rbrack} \\ & {= \frac{\frac{\partial}{\partial y}\left( {x^{2}y - 4xz + y^{2}} \right)\left( {x - 3yz} \right) - \left( {x^{2}y - 4xz + y^{2}} \right)\frac{\partial}{\partial y}\left( {x - 3yz} \right)}{\left( {x - 3yz} \right)^{2}}} \\ & {= \frac{\left( {x^{2} + 2y} \right)\left( {x - 3yz} \right) - \left( {x^{2}y - 4xz + y^{2}} \right)\left( {-3z} \right)}{\left( {x - 3yz} \right)^{2}}} \\ & {= \frac{x^{3} - 3x^{2}yz + 2xy - 6y^{2}z + 3x^{2}yz - 12xz^{2} + 3y^{2}z}{\left( {x - 3yz} \right)^{2}}} \\ & {= \frac{x^{3} + 2xy - 3y^{2}z - 12xz^{2}}{\left( {x - 3yz} \right)^{2}}} \end{array}$

$\begin{array}{cl} \frac{\partial f}{\partial y} & {= \frac{\partial}{\partial y}\left\lbrack \frac{x^{2}y - 4xz + y^{2}}{x - 3yz} \right\rbrack} \\ & {= \frac{\frac{\partial}{\partial y}\left( {x^{2}y - 4xz + y^{2}} \right)\left( {x - 3yz} \right) - \left( {x^{2}y - 4xz + y^{2}} \right)\frac{\partial}{\partial y}\left( {x - 3yz} \right)}{\left( {x - 3yz} \right)^{2}}} \\ & {= \frac{\left( {x^{2} + 2y} \right)\left( {x - 3yz} \right) - \left( {x^{2}y - 4xz + y^{2}} \right)\left( {-3z} \right)}{\left( {x - 3yz} \right)^{2}}} \\ & {= \frac{x^{3} - 3x^{2}yz + 2xy - 6y^{2}z + 3x^{2}yz - 12xz^{2} + 3y^{2}z}{\left( {x - 3yz} \right)^{2}}} \\ & {= \frac{x^{3} + 2xy - 3y^{2}z - 12xz^{2}}{\left( {x - 3yz} \right)^{2}}} \end{array}$

$\begin{array}{cl} \frac{\partial f}{\partial z} & {= \frac{\partial}{\partial z}\left\lbrack \frac{x^{2}y - 4xz + y^{2}}{x - 3yz} \right\rbrack} \\ & {= \frac{\frac{\partial}{\partial z}\left( {x^{2}y - 4xz + y^{2}} \right)\left( {x - 3yz} \right) - \left( {x^{2}y - 4xz + y^{2}} \right)\frac{\partial}{\partial z}\left( {x - 3yz} \right)}{\left( {x - 3yz} \right)^{2}}} \\ & {= \frac{\left( {-4x} \right)\left( {x - 3yz} \right) - \left( {x^{2}y - 4xz + y^{2}} \right)\left( {-3y} \right)}{\left( {x - 3yz} \right)^{2}}} \\ & {= \frac{-4x^{2} + 12xyz + 3x^{2}y^{2} - 12xyz + 3y^{3}}{\left( {x - 3yz} \right)^{2}}} \\ & {= \frac{-4x^{2} + 3x^{2}y^{2} + 3y^{3}}{\left( {x - 3yz} \right)^{2}}} \end{array}$

$\begin{array}{cl} \frac{\partial f}{\partial z} & {= \frac{\partial}{\partial z}\left\lbrack \frac{x^{2}y - 4xz + y^{2}}{x - 3yz} \right\rbrack} \\ & {= \frac{\frac{\partial}{\partial z}\left( {x^{2}y - 4xz + y^{2}} \right)\left( {x - 3yz} \right) - \left( {x^{2}y - 4xz + y^{2}} \right)\frac{\partial}{\partial z}\left( {x - 3yz} \right)}{\left( {x - 3yz} \right)^{2}}} \\ & {= \frac{\left( {-4x} \right)\left( {x - 3yz} \right) - \left( {x^{2}y - 4xz + y^{2}} \right)\left( {-3y} \right)}{\left( {x - 3yz} \right)^{2}}} \\ & {= \frac{-4x^{2} + 12xyz + 3x^{2}y^{2} - 12xyz + 3y^{3}}{\left( {x - 3yz} \right)^{2}}} \\ & {= \frac{-4x^{2} + 3x^{2}y^{2} + 3y^{3}}{\left( {x - 3yz} \right)^{2}}} \end{array}$

2. $\begin{array}{cl} \frac{\partial f}{\partial x} & {= \frac{\partial}{\partial x}\left\lbrack {\text{sin}\left( {x^{2}y - z} \right) + \text{cos}\left( {x^{2} - yz} \right)} \right\rbrack} \\ & {= \left( {\text{cos}\left( {x^{2}y - z} \right)} \right)\frac{\partial}{\partial x}\left( {x^{2}y - z} \right) - \left( {\text{sin}\left( {x^{2} - yz} \right)} \right)\frac{\partial}{\partial x}\left( {x^{2} - yz} \right)} \\ & {= 2xy\ \text{cos}\left( {x^{2}y - z} \right) - 2x\ \text{sin}\left( {x^{2} - yz} \right)} \\ \frac{\partial f}{\partial y} & {= \frac{\partial}{\partial y}\left\lbrack {\text{sin}\left( {x^{2}y - z} \right) + \text{cos}\left( {x^{2} - yz} \right)} \right\rbrack} \\ & {= \left( {\text{cos}\left( {x^{2}y - z} \right)} \right)\frac{\partial}{\partial y}\left( {x^{2}y - z} \right) - \left( {\text{sin}\left( {x^{2} - yz} \right)} \right)\frac{\partial}{\partial y}\left( {x^{2} - yz} \right)} \\ & {= x^{2}\text{cos}\left( {x^{2}y - z} \right) + z\ \text{sin}\left( {x^{2} - yz} \right)} \\ \frac{\partial f}{\partial z} & {= \frac{\partial}{\partial z}\left\lbrack {\text{sin}\left( {x^{2}y - z} \right) + \text{cos}\left( {x^{2} - yz} \right)} \right\rbrack} \\ & {= \left( {\text{cos}\left( {x^{2}y - z} \right)} \right)\frac{\partial}{\partial z}\left( {x^{2}y - z} \right) - \left( {\text{sin}\left( {x^{2} - yz} \right)} \right)\frac{\partial}{\partial z}\left( {x^{2} - yz} \right)} \\ & {= \text{−}\text{cos}\left( {x^{2}y - z} \right) + y\ \text{sin}\left( {x^{2} - yz} \right)} \end{array}$

2. $\begin{array}{cl} \frac{\partial f}{\partial x} & {= \frac{\partial}{\partial x}\left\lbrack {\text{sin}\left( {x^{2}y - z} \right) + \text{cos}\left( {x^{2} - yz} \right)} \right\rbrack} \\ & {= \left( {\text{cos}\left( {x^{2}y - z} \right)} \right)\frac{\partial}{\partial x}\left( {x^{2}y - z} \right) - \left( {\text{sin}\left( {x^{2} - yz} \right)} \right)\frac{\partial}{\partial x}\left( {x^{2} - yz} \right)} \\ & {= 2xy\ \text{cos}\left( {x^{2}y - z} \right) - 2x\ \text{sin}\left( {x^{2} - yz} \right)} \\ \frac{\partial f}{\partial y} & {= \frac{\partial}{\partial y}\left\lbrack {\text{sin}\left( {x^{2}y - z} \right) + \text{cos}\left( {x^{2} - yz} \right)} \right\rbrack} \\ & {= \left( {\text{cos}\left( {x^{2}y - z} \right)} \right)\frac{\partial}{\partial y}\left( {x^{2}y - z} \right) - \left( {\text{sin}\left( {x^{2} - yz} \right)} \right)\frac{\partial}{\partial y}\left( {x^{2} - yz} \right)} \\ & {= x^{2}\text{cos}\left( {x^{2}y - z} \right) + z\ \text{sin}\left( {x^{2} - yz} \right)} \\ \frac{\partial f}{\partial z} & {= \frac{\partial}{\partial z}\left\lbrack {\text{sin}\left( {x^{2}y - z} \right) + \text{cos}\left( {x^{2} - yz} \right)} \right\rbrack} \\ & {= \left( {\text{cos}\left( {x^{2}y - z} \right)} \right)\frac{\partial}{\partial z}\left( {x^{2}y - z} \right) - \left( {\text{sin}\left( {x^{2} - yz} \right)} \right)\frac{\partial}{\partial z}\left( {x^{2} - yz} \right)} \\ & {= \text{−}\text{cos}\left( {x^{2}y - z} \right) + y\ \text{sin}\left( {x^{2} - yz} \right)} \end{array}$

Calculate ${{\partial f}\text{/}{\partial x}},$ ${{\partial f}\text{/}{\partial y}},$ and ${\partial f}\text{/}{\partial z}$ for the function $f\left( {x,y,z} \right) = \text{sec}\left( {x^{2}y} \right) - \text{tan}\left( {x^{3}yz^{2}} \right).$

求函数 $f\left( {x,y,z} \right) = \text{sec}\left( {x^{2}y} \right) - \text{tan}\left( {x^{3}yz^{2}} \right)$ 的 ${{\partial f}\text{/}{\partial x}}$、${{\partial f}\text{/}{\partial y}}$ 与 ${\partial f}\text{/}{\partial z}$。

Higher-Order Partial Derivatives 高阶偏导数

Consider the function

考虑如下函数

$$f(x,y) = 2x^{3} - 4xy^{2} + 5y^{3} - 6xy + 5x - 4y + 12.$$

$$f(x,y) = 2x^{3} - 4xy^{2} + 5y^{3} - 6xy + 5x - 4y + 12.$$

Its partial derivatives are

它的偏导数为

$$\frac{\partial f}{\partial x} = 6x^{2} - 4y^{2} - 6y + 5\ \text{and}\ \frac{\partial f}{\partial y} = -8xy + 15y^{2} - 6x - 4.$$

$$\frac{\partial f}{\partial x} = 6x^{2} - 4y^{2} - 6y + 5\ \text{and}\ \frac{\partial f}{\partial y} = -8xy + 15y^{2} - 6x - 4.$$

Each of these partial derivatives is a function of two variables, so we can calculate partial derivatives of these functions. Just as with derivatives of single-variable functions, we can call these *second-order derivatives, third-order derivatives*, and so on. In general, they are referred to as higher-order partial derivatives. There are four second-order partial derivatives for any function (provided they all exist):

这些偏导数本身都是二元函数,因此可以对它们再求偏导。正如一元函数的高阶导数那样,这些称为*二阶偏导数、三阶偏导数*,依此类推。一般来说,它们被统称为高阶偏导数。对任意函数(只要它们都存在),共有四个二阶偏导数:

$$\frac{\partial^{2}f}{\partial x^{2}} = \frac{\partial}{\partial x}\left\lbrack \frac{\partial f}{\partial x} \right\rbrack,\quad\frac{\partial^{2}f}{\partial x\partial y} = \frac{\partial}{\partial x}\left\lbrack \frac{\partial f}{\partial y} \right\rbrack,\quad\frac{\partial^{2}f}{\partial y\partial x} = \frac{\partial}{\partial y}\left\lbrack \frac{\partial f}{\partial x} \right\rbrack,\quad\frac{\partial^{2}f}{\partial y^{2}} = \frac{\partial}{\partial y}\left\lbrack \frac{\partial f}{\partial y} \right\rbrack.$$

$$\frac{\partial^{2}f}{\partial x^{2}} = \frac{\partial}{\partial x}\left\lbrack \frac{\partial f}{\partial x} \right\rbrack,\quad\frac{\partial^{2}f}{\partial x\partial y} = \frac{\partial}{\partial x}\left\lbrack \frac{\partial f}{\partial y} \right\rbrack,\quad\frac{\partial^{2}f}{\partial y\partial x} = \frac{\partial}{\partial y}\left\lbrack \frac{\partial f}{\partial x} \right\rbrack,\quad\frac{\partial^{2}f}{\partial y^{2}} = \frac{\partial}{\partial y}\left\lbrack \frac{\partial f}{\partial y} \right\rbrack.$$

An alternative notation for each is $f_{xx},f_{yx},f_{xy},$ and $f_{yy},$ respectively. Higher-order partial derivatives calculated with respect to different variables, such as $f_{xy}$ and $f_{yx},$ are commonly called mixed partial derivatives.

它们另一种记法依次是 $f_{xx},f_{yx},f_{xy},$ 和 $f_{yy}$。对不同的变量求的高阶偏导数(例如 $f_{xy}$ 和 $f_{yx}$)通常称为混合偏导数。

Calculating Second Partial Derivatives 计算二阶偏导数

Calculate all four second partial derivatives for the function

求下列函数的全部四个二阶偏导数

$$f\left( {x,y} \right) = xe^{-3y} + \text{sin}\left( {2x - 5y} \right).$$

$$f\left( {x,y} \right) = xe^{-3y} + \text{sin}\left( {2x - 5y} \right).$$

Solution

To calculate ${\partial^{2}f}\text{/}{dx^{2}}$ and ${{\partial^{2}f}\text{/}{\partial y\partial x}},$ we first calculate ${{\partial f}\text{/}{\partial x}}\text{:}$

为求 ${\partial^{2}f}\text{/}{dx^{2}}$ 与 ${{\partial^{2}f}\text{/}{\partial y\partial x}}$,我们先计算 ${{\partial f}\text{/}{\partial x}}\text{:}$

$$\frac{\partial f}{\partial x} = e^{-3y} + 2\ \text{cos}\left( {2x - 5y} \right).$$

$$\frac{\partial f}{\partial x} = e^{-3y} + 2\ \text{cos}\left( {2x - 5y} \right).$$

To calculate ${{\partial^{2}f}\text{/}{dx^{2}}},$ differentiate ${\partial f}\text{/}{\partial x}$ with respect to $x\text{:}$

为求 ${{\partial^{2}f}\text{/}{dx^{2}}}$,对 ${\partial f}\text{/}{\partial x}$ 关于 $x$ 求导:

$$\begin{array}{cl} \frac{\partial^{2}f}{\partial x^{2}} & {= \frac{\partial}{\partial x}\left\lbrack \frac{\partial f}{\partial x} \right\rbrack} \\ & {= \frac{\partial}{\partial x}\left\lbrack {e^{-3y} + 2\ \text{cos}\left( {2x - 5y} \right)} \right\rbrack} \\ & {= -4\ \text{sin}\left( {2x - 5y} \right).} \end{array}$$

$$\begin{array}{cl} \frac{\partial^{2}f}{\partial x^{2}} & {= \frac{\partial}{\partial x}\left\lbrack \frac{\partial f}{\partial x} \right\rbrack} \\ & {= \frac{\partial}{\partial x}\left\lbrack {e^{-3y} + 2\ \text{cos}\left( {2x - 5y} \right)} \right\rbrack} \\ & {= -4\ \text{sin}\left( {2x - 5y} \right).} \end{array}$$

To calculate ${{\partial^{2}f}\text{/}{\partial y\partial x}},$ differentiate ${\partial f}\text{/}{\partial x}$ with respect to $y\text{:}$

为求 ${{\partial^{2}f}\text{/}{\partial y\partial x}}$,对 ${\partial f}\text{/}{\partial x}$ 关于 $y$ 求导:

$$\begin{array}{cl} \frac{\partial^{2}f}{\partial y\partial x} & {= \frac{\partial}{\partial y}\left\lbrack \frac{\partial f}{\partial x} \right\rbrack} \\ & {= \frac{\partial}{\partial y}\left\lbrack {e^{-3y} + 2\ \text{cos}\left( {2x - 5y} \right)} \right\rbrack} \\ & {= -3e^{-3y} + 10\ \text{sin}\left( {2x - 5y} \right).} \end{array}$$

$$\begin{array}{cl} \frac{\partial^{2}f}{\partial y\partial x} & {= \frac{\partial}{\partial y}\left\lbrack \frac{\partial f}{\partial x} \right\rbrack} \\ & {= \frac{\partial}{\partial y}\left\lbrack {e^{-3y} + 2\ \text{cos}\left( {2x - 5y} \right)} \right\rbrack} \\ & {= -3e^{-3y} + 10\ \text{sin}\left( {2x - 5y} \right).} \end{array}$$

To calculate ${\partial^{2}f}\text{/}{\partial x\partial y}$ and ${{\partial^{2}f}\text{/}{dy^{2}}},$ first calculate ${{\partial f}\text{/}{\partial y}}\text{:}$

为求 ${\partial^{2}f}\text{/}{\partial x\partial y}$ 与 ${{\partial^{2}f}\text{/}{dy^{2}}}$,先计算 ${{\partial f}\text{/}{\partial y}}\text{:}$

$$\frac{\partial f}{\partial y} = -3xe^{-3y} - 5\ \text{cos}\left( {2x - 5y} \right).$$

$$\frac{\partial f}{\partial y} = -3xe^{-3y} - 5\ \text{cos}\left( {2x - 5y} \right).$$

To calculate ${{\partial^{2}f}\text{/}{\partial x\partial y}},$ differentiate ${\partial f}\text{/}{\partial y}$ with respect to $x\text{:}$

为求 ${{\partial^{2}f}\text{/}{\partial x\partial y}}$,对 ${\partial f}\text{/}{\partial y}$ 关于 $x$ 求导:

$$\begin{array}{cl} \frac{\partial^{2}f}{\partial x\partial y} & {= \frac{\partial}{\partial x}\left\lbrack \frac{\partial f}{\partial y} \right\rbrack} \\ & {= \frac{\partial}{\partial x}\left\lbrack {-3xe^{-3y} - 5\ \text{cos}\left( {2x - 5y} \right)} \right\rbrack} \\ & {= -3e^{-3y} + 10\ \text{sin}\left( {2x - 5y} \right).} \end{array}$$

$$\begin{array}{cl} \frac{\partial^{2}f}{\partial x\partial y} & {= \frac{\partial}{\partial x}\left\lbrack \frac{\partial f}{\partial y} \right\rbrack} \\ & {= \frac{\partial}{\partial x}\left\lbrack {-3xe^{-3y} - 5\ \text{cos}\left( {2x - 5y} \right)} \right\rbrack} \\ & {= -3e^{-3y} + 10\ \text{sin}\left( {2x - 5y} \right).} \end{array}$$

To calculate ${{\partial^{2}f}\text{/}{\partial y^{2}}},$ differentiate ${\partial f}\text{/}{\partial y}$ with respect to $y\text{:}$

为求 ${{\partial^{2}f}\text{/}{\partial y^{2}}}$,对 ${\partial f}\text{/}{\partial y}$ 关于 $y$ 求导:

$$\begin{array}{cl} \frac{\partial^{2}f}{\partial y^{2}} & {= \frac{\partial}{\partial y}\left\lbrack \frac{\partial f}{\partial y} \right\rbrack} \\ & {= \frac{\partial}{\partial y}\left\lbrack {-3xe^{-3y} - 5\ \text{cos}\left( {2x - 5y} \right)} \right\rbrack} \\ & {= 9xe^{-3y} - 25\ \text{sin}\left( {2x - 5y} \right).} \end{array}$$

$$\begin{array}{cl} \frac{\partial^{2}f}{\partial y^{2}} & {= \frac{\partial}{\partial y}\left\lbrack \frac{\partial f}{\partial y} \right\rbrack} \\ & {= \frac{\partial}{\partial y}\left\lbrack {-3xe^{-3y} - 5\ \text{cos}\left( {2x - 5y} \right)} \right\rbrack} \\ & {= 9xe^{-3y} - 25\ \text{sin}\left( {2x - 5y} \right).} \end{array}$$

Calculate all four second partial derivatives for the function

求下列函数的全部四个二阶偏导数

$$f\left( {x,y} \right) = \text{sin}\left( {3x - 2y} \right) + \text{cos}\left( {x + 4y} \right).$$

$$f\left( {x,y} \right) = \text{sin}\left( {3x - 2y} \right) + \text{cos}\left( {x + 4y} \right).$$

At this point we should notice that, in both Example 4.19 and the checkpoint, it was true that ${{\partial^{2}f}\text{/}{\partial x\partial y}} = {{\partial^{2}f}\text{/}{\partial y\partial x}}.$ Under certain conditions, this is always true. In fact, it is a direct consequence of the following theorem.

至此我们应当注意到,在示例 4.19 和该习题中,都有 ${{\partial^{2}f}\text{/}{\partial x\partial y}} = {{\partial^{2}f}\text{/}{\partial y\partial x}}$ 成立。在某些条件下,这总是成立的。事实上,它是下述定理的直接推论。

Equality of Mixed Partial Derivatives (Clairaut’s Theorem) 混合偏导数的相等性(克莱罗定理)

Suppose that $f\left( {x,y} \right)$ is defined on an open disk $D$ that contains the point $\left( {a,b} \right).$ If the functions $f_{xy}$ and $f_{yx}$ are continuous on $D,$ then $f_{xy} = f_{yx}.$

设 $f\left( {x,y} \right)$ 定义在一个包含点 $\left( {a,b} \right)$ 的开圆盘 $D$ 上。若函数 $f_{xy}$ 与 $f_{yx}$ 在 $D$ 上连续,则 $f_{xy} = f_{yx}$。

Clairaut’s theorem guarantees that as long as mixed second-order derivatives are continuous, the order in which we choose to differentiate the functions (i.e., which variable goes first, then second, and so on) does not matter. It can be extended to higher-order derivatives as well. The proof of Clairaut’s theorem can be found in most advanced calculus books.

克莱罗定理保证:只要混合二阶偏导数连续,我们求导的先后顺序(即哪个变量先求、哪个后求,依此类推)就无关紧要。该定理也可推广到高阶偏导数。克莱罗定理的证明见于大多数高等微积分教材。

Two other second-order partial derivatives can be calculated for any function $f\left( {x,y} \right).$ The partial derivative $f_{xx}$ is equal to the partial derivative of $f_{x}$ with respect to $x,$ and $f_{yy}$ is equal to the partial derivative of $f_{y}$ with respect to $y.$

对任意函数 $f\left( {x,y} \right)$,还可以计算另外两个二阶偏导数。$f_{xx}$ 等于 $f_{x}$ 对 $x$ 的偏导数,$f_{yy}$ 等于 $f_{y}$ 对 $y$ 的偏导数。

Partial Differential Equations 偏微分方程

In Introduction to Differential Equations, we studied differential equations in which the unknown function had one independent variable. A partial differential equation is an equation that involves an unknown function of more than one independent variable and one or more of its partial derivatives. Examples of partial differential equations are

在《微分方程导论》中,我们研究过未知函数只含一个自变量的微分方程。偏微分方程则涉及一个依赖于多个自变量的未知函数及其一个或多个偏导数。偏微分方程的例子如下:

$$u_{t} = c^{2}\left( {u_{xx} + u_{yy}} \right)$$ (4.17)

$$u_{t} = c^{2}\left( {u_{xx} + u_{yy}} \right)$$ (4.17)

(heat equation in two dimensions)

(二维热方程)

$$u_{tt} = c^{2}\left( {u_{xx} + u_{yy}} \right)$$ (4.18)

$$u_{tt} = c^{2}\left( {u_{xx} + u_{yy}} \right)$$ (4.18)

(wave equation in two dimensions)

(二维波动方程)

$$u_{xx} + u_{yy} = 0$$ (4.19)

$$u_{xx} + u_{yy} = 0$$ (4.19)

(Laplace’s equation in two dimensions)

(二维拉普拉斯方程)

In the first two equations, the unknown function $u$ has three independent variables—$t,x,\ \text{and}\ y$—and $c$ is an arbitrary constant. The independent variables $x\ \text{and}\ y$ are considered to be spatial variables, and the variable $t$ represents time. In Laplace’s equation, the unknown function $u$ has two independent variables $x\ \text{and}\ y.$

在前两个方程中,未知函数 $u$ 有三个自变量——$t,x,\ \text{and}\ y$——而 $c$ 为任意常数。自变量 $x\ \text{and}\ y$ 被视为空间变量,变量 $t$ 表示时间。在拉普拉斯方程中,未知函数 $u$ 有两个自变量 $x\ \text{and}\ y$。

A Solution to the Wave Equation 波动方程的解

Verify that

验证

$$u\left( {x,y,t} \right) = 5\ \text{sin}\left( {3\pi x} \right)\text{sin}\left( {4\pi y} \right)\text{cos}\left( {10\pi t} \right)$$

$$u\left( {x,y,t} \right) = 5\ \text{sin}\left( {3\pi x} \right)\text{sin}\left( {4\pi y} \right)\text{cos}\left( {10\pi t} \right)$$

is a solution to the wave equation

是波动方程的一个解

$$u_{tt} = 4\left( {u_{xx} + u_{yy}} \right).$$ (4.20)

$$u_{tt} = 4\left( {u_{xx} + u_{yy}} \right).$$ (4.20)

Solution

First, we calculate $u_{tt},u_{xx},$ and $u_{yy}\text{:}$

首先,我们计算 $u_{tt},u_{xx},$ 与 $u_{yy}\text{:}$

$$\begin{array}{cll}

$$\begin{array}{cll}

u_{tt} & = & {\frac{\partial}{\partial t}\left\lbrack \frac{\partial u}{\partial t} \right\rbrack} \\

u_{tt} & = & {\frac{\partial}{\partial t}\left\lbrack \frac{\partial u}{\partial t} \right\rbrack} \\

& = & {\frac{\partial}{\partial t}\left\lbrack {5\ \text{sin}\left( {3\pi x} \right)\text{sin}\left( {4\pi y} \right)\left( {-10\pi\ \text{sin}\left( {10\pi t} \right)} \right)} \right\rbrack} \\

& = & {\frac{\partial}{\partial t}\left\lbrack {5\ \text{sin}\left( {3\pi x} \right)\text{sin}\left( {4\pi y} \right)\left( {-10\pi\ \text{sin}\left( {10\pi t} \right)} \right)} \right\rbrack} \\

& = & {\frac{\partial}{\partial t}\left\lbrack {-50\pi\ \text{sin}\left( {3\pi x} \right)\text{sin}\left( {4\pi y} \right)\text{sin}\left( {10\pi t} \right)} \right\rbrack} \\

& = & {\frac{\partial}{\partial t}\left\lbrack {-50\pi\ \text{sin}\left( {3\pi x} \right)\text{sin}\left( {4\pi y} \right)\text{sin}\left( {10\pi t} \right)} \right\rbrack} \\

& = & {-500\pi^{2}\text{sin}\left( {3\pi x} \right)\text{sin}\left( {4\pi y} \right)\text{cos}\left( {10\pi t} \right)} \\

& = & {-500\pi^{2}\text{sin}\left( {3\pi x} \right)\text{sin}\left( {4\pi y} \right)\text{cos}\left( {10\pi t} \right)} \\

u_{xx} & = & {\frac{\partial}{\partial x}\left\lbrack \frac{\partial u}{\partial x} \right\rbrack} \\

u_{xx} & = & {\frac{\partial}{\partial x}\left\lbrack \frac{\partial u}{\partial x} \right\rbrack} \\

& = & {\frac{\partial}{\partial x}\left\lbrack {15\pi\ \text{cos}\left( {3\pi x} \right)\text{sin}\left( {4\pi y} \right)\text{cos}\left( {10\pi t} \right)} \right\rbrack} \\

& = & {\frac{\partial}{\partial x}\left\lbrack {15\pi\ \text{cos}\left( {3\pi x} \right)\text{sin}\left( {4\pi y} \right)\text{cos}\left( {10\pi t} \right)} \right\rbrack} \\

& = & {-45\pi^{2}\text{sin}\left( {3\pi x} \right)\text{sin}\left( {4\pi y} \right)\text{cos}\left( {10\pi t} \right)} \\

& = & {-45\pi^{2}\text{sin}\left( {3\pi x} \right)\text{sin}\left( {4\pi y} \right)\text{cos}\left( {10\pi t} \right)} \\

u_{yy} & = & {\frac{\partial}{\partial y}\left\lbrack \frac{\partial u}{\partial y} \right\rbrack} \\

u_{yy} & = & {\frac{\partial}{\partial y}\left\lbrack \frac{\partial u}{\partial y} \right\rbrack} \\

& = & {\frac{\partial}{\partial y}\left\lbrack {5\ \text{sin}\left( {3\pi x} \right)\left( {4\pi\ \text{cos}\left( {4\pi y} \right)} \right)\text{cos}\left( {10\pi t} \right)} \right\rbrack} \\

& = & {\frac{\partial}{\partial y}\left\lbrack {5\ \text{sin}\left( {3\pi x} \right)\left( {4\pi\ \text{cos}\left( {4\pi y} \right)} \right)\text{cos}\left( {10\pi t} \right)} \right\rbrack} \\

& = & {\frac{\partial}{\partial y}\left\lbrack {20\pi\ \text{sin}\left( {3\pi x} \right)\text{cos}\left( {4\pi y} \right)\text{cos}\left( {10\pi t} \right)} \right\rbrack} \\

& = & {\frac{\partial}{\partial y}\left\lbrack {20\pi\ \text{sin}\left( {3\pi x} \right)\text{cos}\left( {4\pi y} \right)\text{cos}\left( {10\pi t} \right)} \right\rbrack} \\

& = & {-80\pi^{2}\text{sin}\left( {3\pi x} \right)\text{sin}\left( {4\pi y} \right)\text{cos}\left( {10\pi t} \right).}

& = & {-80\pi^{2}\text{sin}\left( {3\pi x} \right)\text{sin}\left( {4\pi y} \right)\text{cos}\left( {10\pi t} \right).}

\end{array}$$

\end{array}$$

Next, we substitute each of these into the right-hand side of Equation 4.20 and simplify:

接下来,把上述各偏导数代入式 (4.20) 的右端并化简:

$$\begin{array}{cl}

$$\begin{array}{cl}

{4\left( {u_{xx} + u_{yy}} \right)} & {= 4\left( {-45\pi^{2}\text{sin}\left( {3\pi x} \right)\text{sin}\left( {4\pi y} \right)\text{cos}\left( {10\pi t} \right) + - 80\pi^{2}\text{sin}\left( {3\pi x} \right)\text{sin}\left( {4\pi y} \right)\text{cos}\left( {10\pi t} \right)} \right)} \\

{4\left( {u_{xx} + u_{yy}} \right)} & {= 4\left( {-45\pi^{2}\text{sin}\left( {3\pi x} \right)\text{sin}\left( {4\pi y} \right)\text{cos}\left( {10\pi t} \right) + - 80\pi^{2}\text{sin}\left( {3\pi x} \right)\text{sin}\left( {4\pi y} \right)\text{cos}\left( {10\pi t} \right)} \right)} \\

& {= 4\left( {-125\pi^{2}\text{sin}\left( {3\pi x} \right)\text{sin}\left( {4\pi y} \right)\text{cos}\left( {10\pi t} \right)} \right)} \\

& {= 4\left( {-125\pi^{2}\text{sin}\left( {3\pi x} \right)\text{sin}\left( {4\pi y} \right)\text{cos}\left( {10\pi t} \right)} \right)} \\

& {= -500\pi^{2}\text{sin}\left( {3\pi x} \right)\text{sin}\left( {4\pi y} \right)\text{cos}\left( {10\pi t} \right)} \\

& {= -500\pi^{2}\text{sin}\left( {3\pi x} \right)\text{sin}\left( {4\pi y} \right)\text{cos}\left( {10\pi t} \right)} \\

& {= u_{tt}.}

& {= u_{tt}.}

\end{array}$$

\end{array}$$

This verifies the solution.

这就验证了该解。

Verify that $u\left( {x,y,t} \right) = 2\ \text{sin}\left( \frac{x}{3} \right)\text{sin}\left( \frac{y}{4} \right)e^{-25t\text{/}16}$ is a solution to the heat equation

验证 $u\left( {x,y,t} \right) = 2\ \text{sin}\left( \frac{x}{3} \right)\text{sin}\left( \frac{y}{4} \right)e^{-25t\text{/}16}$ 是热方程的一个解

$$u_{t} = 9\left( {u_{xx} + u_{yy}} \right).$$ (4.21)

$$u_{t} = 9\left( {u_{xx} + u_{yy}} \right).$$ (4.21)

Since the solution to the two-dimensional heat equation is a function of three variables, it is not easy to create a visual representation of the solution. We can graph the solution for fixed values of *t*, which amounts to snapshots of the heat distributions at fixed times. These snapshots show how the heat is distributed over a two-dimensional surface as time progresses. The graph of the preceding solution at time $t = 0$ appears in the following figure. As time progresses, the extremes level out, approaching zero as *t* approaches infinity.

由于二维热方程的解是一个三元函数,难以对其作出直观的几何表示。我们可以对固定的 $t$ 值画出该解的图象,这相当于在固定时刻拍摄热分布的快照。这些快照展示了随着时间推移,热量如何在二维表面上分布。上述解在时刻 $t = 0$ 的图象如下图所示。随着时间推移,极值逐渐趋于平缓,并在 $t$ 趋于无穷时趋近于零。

If we consider the heat equation in one dimension, then it is possible to graph the solution over time. The heat equation in one dimension becomes

若考虑一维热方程,则可以把解随时间的变化画出来。一维热方程化为

$$u_{t} = c^{2}u_{xx},$$

$$u_{t} = c^{2}u_{xx},$$

where $c^{2}$ represents the thermal diffusivity of the material in question. A solution of this differential equation can be written in the form

其中 $c^{2}$ 表示所讨论材料的热扩散率。该微分方程的一个解可写成如下形式

$$u_{m}\left( {x,t} \right) = e^{\text{−}\pi^{2}m^{2}c^{2}t}\text{sin}\left( {m\pi x} \right)$$ (4.22)

$$u_{m}\left( {x,t} \right) = e^{\text{−}\pi^{2}m^{2}c^{2}t}\text{sin}\left( {m\pi x} \right)$$ (4.22)

where $m$ is any positive integer. A graph of this solution using $m = 1$ appears in Figure 4.24, where the initial temperature distribution over a wire of length $1$ is given by $u\left( {x,0} \right) = \text{sin}\ \pi x.$ Notice that as time progresses, the wire cools off. This is seen because, from left to right, the highest temperature (which occurs in the middle of the wire) decreases and changes color from red to blue.

其中 $m$ 为任意正整数。取 $m = 1$ 时该解的图象如图 4.24 所示,其中长度为 $1$ 的金属丝上初始温度分布由 $u\left( {x,0} \right) = \text{sin}\ \pi x$ 给出。注意,随着时间推移,金属丝逐渐冷却。这是因为从左到右,最高温度(出现在金属丝中段)下降,并由红色变为蓝色。

Lord Kelvin and the Age of Earth 开尔文勋爵与地球的年龄

During the late 1800s, the scientists of the new field of geology were coming to the conclusion that Earth must be “millions and millions” of years old. At about the same time, Charles Darwin had published his treatise on evolution. Darwin’s view was that evolution needed many millions of years to take place, and he made a bold claim that the Weald chalk fields, where important fossils were found, were the result of $300$ million years of erosion.

19 世纪后期,新兴地质学领域的科学家逐渐得出这样的结论:地球必定有“数百万年甚至数亿年”的历史。大约在同一个时期,查尔斯·达尔文发表了他的进化论著作。达尔文认为,进化需要历经数百万年才能发生,并且他大胆断言,发现重要化石的威尔德白垩地层是 $300$ 百万年侵蚀作用的产物。

At that time, eminent physicist William Thomson (Lord Kelvin) used an important partial differential equation, known as the *heat diffusion equation*, to estimate the age of Earth by determining how long it would take Earth to cool from molten rock to what we had at that time. His conclusion was a range of $20\ \text{to}\ 400$ million years, but most likely about $50$ million years. For many decades, the proclamations of this irrefutable icon of science did not sit well with geologists or with Darwin.

当时,著名物理学家威廉·汤姆森(开尔文勋爵)利用一个重要的偏微分方程——即*热扩散方程*——通过估算地球从熔融岩浆冷却到当时状态所需的时间来确定地球的年龄。他的结论是一个 $20\ \text{to}\ 400$ 百万年的范围,但最可能的数值约为 $5000$ 万年。在之后的数十年里,这位科学界无可辩驳的权威人物的断言,始终令地质学家和达尔文感到不满。

Read Kelvin’s paper on estimating the age of the Earth.

阅读开尔文关于估算地球年龄的论文。

Kelvin made reasonable assumptions based on what was known in his time, but he also made several assumptions that turned out to be wrong. One incorrect assumption was that Earth is solid and that the cooling was therefore via conduction only, hence justifying the use of the diffusion equation. But the most serious error was a forgivable one—omission of the fact that Earth contains radioactive elements that continually supply heat beneath Earth’s mantle. The discovery of radioactivity came near the end of Kelvin’s life and he acknowledged that his calculation would have to be modified.

开尔文基于当时已知的事实作出了合理的假设,但他也作了若干后来被证明是错误的假设。其中一个错误假设是:地球是固态的,因此冷却仅通过热传导进行,这就为使用扩散方程提供了依据。但最严重的错误却情有可原——他忽略了地球含有放射性元素这一事实,这些元素在地球地幔之下持续不断地提供热量。放射性的发现接近开尔文生命的尾声,他承认自己的计算必须加以修正。

Kelvin used the simple one-dimensional model applied only to Earth’s outer shell, and derived the age from graphs and the roughly known temperature gradient near Earth’s surface. Let’s take a look at a more appropriate version of the diffusion equation in radial coordinates, which has the form

开尔文使用了仅适用于地球外壳的简单一维模型,并根据图象以及地球表面附近大致已知的温度梯度推导出地球的年龄。下面我们来看看在球坐标下更为合适的扩散方程形式:

$$\frac{\partial T}{\partial t} = K\left\lbrack {\frac{\partial^{2}T}{\partial^{2}r} + \frac{2}{r}\ \frac{\partial T}{\partial r}} \right\rbrack.$$ (4.23)

$$\frac{\partial T}{\partial t} = K\left\lbrack {\frac{\partial^{2}T}{\partial^{2}r} + \frac{2}{r}\ \frac{\partial T}{\partial r}} \right\rbrack.$$ (4.23)

Here, $T\left( {r,t} \right)$ is temperature as a function of $r$ (measured from the center of Earth) and time $t.$ $K$ is the heat conductivity—for molten rock, in this case. The standard method of solving such a partial differential equation is by separation of variables, where we express the solution as the product of functions containing each variable separately. In this case, we would write the temperature as

这里,$T\left( {r,t} \right)$ 是温度,它是距地球中心的距离 $r$ 和时间 $t$ 的函数。$K$ 为热导率——在本例中即熔融岩石的热导率。求解此类偏微分方程的标准方法是分离变量法,即把解写成分别只含各个变量的函数的乘积。在本例中,我们把温度写为

$$T\left( {r,t} \right) = R(r)f(t).$$

$$T\left( {r,t} \right) = R(r)f(t).$$

1. Substitute this form into Equation 4.13 and, noting that $f(t)$ is constant with respect to distance $(r)$ and $R(r)$ is constant with respect to time $(t),$ show that

1. 将此形式代入式 4.13,并注意到 $f(t)$ 关于距离 $(r)$ 为常数、$R(r)$ 关于时间 $(t)$ 为常数,证明

$$\frac{1}{f}\ \frac{\partial f}{\partial t} = \frac{K}{R}\left\lbrack {\frac{\partial^{2}R}{\partial r^{2}} + \frac{2}{r}\ \frac{\partial R}{\partial r}} \right\rbrack.$$

$$\frac{1}{f}\ \frac{\partial f}{\partial t} = \frac{K}{R}\left\lbrack {\frac{\partial^{2}R}{\partial r^{2}} + \frac{2}{r}\ \frac{\partial R}{\partial r}} \right\rbrack.$$

2. This equation represents the separation of variables we want. The left-hand side is only a function of $t$ and the right-hand side is only a function of $r,$ and they must be equal for all values of $r\ \text{and}\ t.$ Therefore, they both must be equal to a constant. Let’s call that constant $\text{−}\lambda^{2}.$ (The convenience of this choice is seen on substitution.) So, we have

2. 这个方程正是我们所想要的变量分离形式。左端只是 $t$ 的函数,右端只是 $r$ 的函数,而它们对于所有 $r\ \text{and}\ t$ 的值都必须相等。因此,二者必同时等于某个常数。我们把这个常数记为 $\text{−}\lambda^{2}.$(这样选取的方便之处将在代入后显现出来。)于是有

$$\frac{1}{f}\ \frac{\partial f}{\partial t} = \text{−}\lambda^{2}\quad\text{and}\quad\frac{K}{R}\left\lbrack {\frac{\partial^{2}R}{\partial r^{2}} + \frac{2}{r}\ \frac{\partial R}{\partial r}} \right\rbrack = \text{−}\lambda^{2}.$$

$$\frac{1}{f}\ \frac{\partial f}{\partial t} = \text{−}\lambda^{2}\quad\text{and}\quad\frac{K}{R}\left\lbrack {\frac{\partial^{2}R}{\partial r^{2}} + \frac{2}{r}\ \frac{\partial R}{\partial r}} \right\rbrack = \text{−}\lambda^{2}.$$

Now, we can verify through direct substitution for each equation that the solutions are $f(t) = Ae^{\text{−}\lambda^{2}t}$ and $R(r) = B\left( \frac{\text{sin}\ \alpha r}{r} \right) + C\left( \frac{\text{cos}\ \alpha r}{r} \right),$ where $\alpha = {\lambda\text{/}{\sqrt{K}.}}$ Note that $f(t) = Ae^{+ \lambda n^{2}t}$ is also a valid solution, so we could have chosen $+ \lambda^{2}$ for our constant. Can you see why it would not be valid for this case as time increases?

现在,通过对每个方程直接代入即可验证,其解为 $f(t) = Ae^{\text{−}\lambda^{2}t}$ 与 $R(r) = B\left( \frac{\text{sin}\ \alpha r}{r} \right) + C\left( \frac{\text{cos}\ \alpha r}{r} \right)$,其中 $\alpha = {\lambda\text{/}{\sqrt{K}.}}$ 注意,$f(t) = Ae^{+ \lambda n^{2}t}$ 同样是一个有效解,因此我们本也可以取 $+ \lambda^{2}$ 作为常数。你能看出为什么随着时间增大,这个取值在本情形下不成立吗?

3. Let’s now apply boundary conditions.

3. 下面我们施加边界条件。

1. The temperature must be finite at the center of Earth, $r = 0.$ Which of the two constants, $B$ or $C,$ must therefore be zero to keep $R$ finite at $r = 0?$ (Recall that $\text{sin}(\alpha r)\text{/}r\rightarrow\alpha =$ as $r\rightarrow 0,$ but $\text{cos}(\alpha r)\text{/}r$ behaves very differently.)

1. 温度在地球中心 $r = 0$ 处必须有限。因此,为使 $R$ 在 $r = 0$ 处保持有限,$B$ 和 $C$ 这两个常数中哪一个必须为零?(回想 $\text{sin}(\alpha r)\text{/}r\rightarrow\alpha =$ 当 $r\rightarrow 0$,而 $\text{cos}(\alpha r)\text{/}r$ 的行为则截然不同。)

2. Kelvin argued that when magma reaches Earth’s surface, it cools very rapidly. A person can often touch the surface within weeks of the flow. Therefore, the surface reached a moderate temperature very early and remained nearly constant at a surface temperature $T_{s}.$ For simplicity, let’s set $T = 0\ \text{at}\ r = R_{E}$ and find $\alpha$ such that this is the temperature there for all time $t.$ (Kelvin took the value to be $300\ \text{K} \approx 80\text{°}\text{F}.$ We can add this $300\ \text{K}$ constant to our solution later.) For this to be true, the sine argument must be zero at $r = R_{E}.$ Note that $\alpha$ has an infinite series of values that satisfies this condition. Each value of $\alpha$ represents a valid solution (each with its own value for $A).$ The total or general solution is the sum of all these solutions.

2. 开尔文认为,当岩浆到达地球表面时会迅速冷却。人们常常在熔岩流过后数周内就能触摸其表面。因此,地表很早就达到了一个温和的温度,并在表面温度 $T_{s}$ 附近基本保持不变。为简单起见,令 $T = 0\ \text{at}\ r = R_{E}$,并找出满足在所有时间 $t$ 该处温度均为零的 $\alpha$。(开尔文取该值为 $300\ \text{K} \approx 80\text{°}\text{F}$。我们随后可以把这个 $300\ \text{K}$ 常数加到解上。)要使此成立,正弦的自变量在 $r = R_{E}$ 处必须为零。注意,$\alpha$ 有一组无穷多个满足条件的值。每一个 $\alpha$ 的值都对应一个有效解(各有其对应的 $A$ 值)。整体解或通解就是所有这些解之和。

3. At $t = 0,$ we assume that all of Earth was at an initial hot temperature $T_{0}$ (Kelvin took this to be about $7000\ \text{K}.)$ The application of this boundary condition involves the more advanced application of Fourier coefficients. As noted in part b. each value of $\alpha_{n}$ represents a valid solution, and the general solution is a sum of all these solutions. This results in a series solution:

3. 在 $t = 0$ 时,我们假设整个地球处于初始高温 $T_{0}$(开尔文取此值约为 $7000\ \text{K}$)。这一边界条件的施加涉及傅里叶系数较高级的应用。如 b 部分所述,每一个 $\alpha_{n}$ 的值都对应一个有效解,而通解就是所有这些解之和。这就得到一个级数解:

$$T(r,t) = \left( \frac{T_{0}R_{\text{E}}}{\pi} \right){\sum\limits_{n}{\frac{{(-1)}^{n - 1}}{n}e^{\text{−}\lambda n^{2}t}\frac{\text{sin}(\alpha_{n}r)}{r},}}\text{where}\ \alpha_{n} = {{n\pi}\text{/}R_{\text{E}}}.$$

$$T(r,t) = \left( \frac{T_{0}R_{\text{E}}}{\pi} \right){\sum\limits_{n}{\frac{{(-1)}^{n - 1}}{n}e^{\text{−}\lambda n^{2}t}\frac{\text{sin}(\alpha_{n}r)}{r},}}\text{where}\ \alpha_{n} = {{n\pi}\text{/}R_{\text{E}}}.$$

Note how the values of $\alpha_{n}$ come from the boundary condition applied in part b. The term $\frac{\text{−}1^{n - 1}}{n}$ is the constant $A_{n}$ for each term in the series, determined from applying the Fourier method. Letting $\beta = \frac{\pi}{R_{\text{E}}},$ examine the first few terms of this solution shown here and note how $\lambda^{2}$ in the exponential causes the higher terms to decrease quickly as time progresses:

注意,$\alpha_{n}$ 的值来自 b 部分所施加的边界条件。项 $\frac{\text{−}1^{n - 1}}{n}$ 是级数中每一项的常数 $A_{n}$,由傅里叶方法确定。令 $\beta = \frac{\pi}{R_{\text{E}}}$,考察此处所示该解的前几项,并注意指数中的 $\lambda^{2}$ 如何使高次项随着时间推移而迅速减小:

$$T(r,t) = \frac{T_{0}R_{\text{E}}}{\pi r}\begin{pmatrix}

$$T(r,t) = \frac{T_{0}R_{\text{E}}}{\pi r}\begin{pmatrix}

{e^{\text{−}K\beta^{2}t}\left( {\text{sin}\ \beta r} \right) - \frac{1}{2}e^{-4K\beta^{2}t}\left( {\text{sin}\ 2\beta r} \right) + \frac{1}{3}e^{-9K\beta^{2}t}\left( {\text{sin}\ 3\beta r} \right)} \\

{e^{\text{−}K\beta^{2}t}\left( {\text{sin}\ \beta r} \right) - \frac{1}{2}e^{-4K\beta^{2}t}\left( {\text{sin}\ 2\beta r} \right) + \frac{1}{3}e^{-9K\beta^{2}t}\left( {\text{sin}\ 3\beta r} \right)} \\

{- \frac{1}{4}e^{-16K\beta^{2}t}\left( {\text{sin}\ 4\beta r} \right) + \frac{1}{5}e^{-25K\beta^{2}t}\left( {\text{sin}\ 5\beta r} \right)...}

{- \frac{1}{4}e^{-16K\beta^{2}t}\left( {\text{sin}\ 4\beta r} \right) + \frac{1}{5}e^{-25K\beta^{2}t}\left( {\text{sin}\ 5\beta r} \right)...}

\end{pmatrix}.$$

\end{pmatrix}.$$

Near time $t = 0,$ many terms of the solution are needed for accuracy. Inserting values for the conductivity $K$ and $\beta = {\pi\text{/}R_{\text{E}}}$ for time approaching merely thousands of years, only the first few terms make a significant contribution. Kelvin only needed to look at the solution near Earth’s surface (Figure 4.26) and, after a long time, determine what time best yielded the estimated temperature gradient known during his era $(1\text{°}\text{F}$ increase per $50\ \text{ft}).$ He simply chose a range of times with a gradient close to this value. In Figure 4.26, the solutions are plotted and scaled, with the $300 - \text{K}$ surface temperature added. Note that the center of Earth would be relatively cool. At the time, it was thought Earth must be solid.

在 $t = 0$ 附近,需要很多项才能保证精度。代入热导率 $K$ 的值以及 $\beta = {\pi\text{/}R_{\text{E}}}$,对于仅数千年这样短的时间,只有前几项贡献显著。开尔文只需考察地球表面附近的解(图 4.26),并在很长时间后确定哪个时刻能合理地给出其所在时代已知的估计温度梯度 $(1\text{°}\text{F}$ 每 $50\ \text{ft})$。他只是选取了一组梯度接近该值的时间范围。图 4.26 中绘出了经过缩放的解,并加上了 $300 - \text{K}$ 的表面温度。注意,地球中心相对较冷。在当时,人们认为地球必定是固态的。

Epilog

后记

On May $20,1904,$ physicist Ernest Rutherford spoke at the Royal Institution to announce a revised calculation that included the contribution of radioactivity as a source of Earth’s heat. In Rutherford’s own words:

1904 年 5 月 20 日,物理学家欧内斯特·卢瑟福在皇家研究院发表演讲,宣布了一项修正后的计算,其中把放射性作为地球热源的贡献纳入其中。用卢瑟福自己的话说:

“I came into the room, which was half-dark, and presently spotted Lord Kelvin in the audience, and realised that I was in for trouble at the last part of my speech dealing with the age of the Earth, where my views conflicted with his. To my relief, Kelvin fell fast asleep, but as I came to the important point, I saw the old bird sit up, open an eye and cock a baleful glance at me.

“我走进那间半暗的房间,不一会儿就发现了听众中的开尔文勋爵,并意识到在我演讲的最后部分——涉及地球年龄、而我的观点与他相左的地方——会惹上麻烦。令我宽慰的是,开尔文很快睡着了;但当我讲到关键处时,我看见这位老先生坐直身子,睁开一只眼,向我投来恶狠狠的一瞥。

Then a sudden inspiration came, and I said Lord Kelvin had limited the age of the Earth, *provided no new source* \[*of heat*\] *was discovered*. That prophetic utterance referred to what we are now considering tonight, radium! Behold! The old boy beamed upon me.”

这时我灵机一动,说道:开尔文勋爵限定了地球的年龄,*前提是尚未发现新的热源* \[*of heat*\] *。* 这句带有预言意味的话所指的,正是我们今晚要讨论的——镭!看哪!这位老兄朝我露出了笑容。”

Rutherford calculated an age for Earth of about $500$ million years. Today’s accepted value of Earth’s age is about $4.6$ billion years.

卢瑟福算出地球的年龄约为 $500$ 百万年。现今公认的地球年龄约为 $46$ 亿年。

Section 4.3 Exercises 4.3 节习题

For the following exercises, calculate the partial derivative using the limit definitions only.

对于下列习题,仅用极限定义计算偏导数。

112\.

112.

$\frac{\partial z}{\partial x}$ for $z = x^{2} - 3xy + y^{2}$

求 $\frac{\partial z}{\partial x}$,其中 $z = x^{2} - 3xy + y^{2}$

113.

113.

$\frac{\partial z}{\partial y}$ for $z = x^{2} - 3xy + y^{2}$

求 $\frac{\partial z}{\partial y}$,其中 $z = x^{2} - 3xy + y^{2}$

For the following exercises, calculate the sign of the partial derivative using the graph of the surface.

对于下列习题,利用曲面图象判断偏导数的符号。

114\.

114.

$f_{x}(1,1)$

求 $f_{x}(1,1)$

115.

115.

$f_{x}(-1,1)$

求 $f_{x}(-1,1)$

116\.

116.

$f_{y}(1,1)$

求 $f_{y}(1,1)$

117.

117.

$f_{x}(0,0)$

求 $f_{x}(0,0)$

For the following exercises, calculate the partial derivatives.

对于下列习题,计算偏导数。

118\.

118.

$\frac{\partial z}{\partial x}$ for $z = \text{sin}(3x)\text{cos}(3y)$

求 $\frac{\partial z}{\partial x}$,其中 $z = \text{sin}(3x)\text{cos}(3y)$

119.

119.

$\frac{\partial z}{\partial y}$ for $z = \text{sin}(3x)\text{cos}(3y)$

求 $\frac{\partial z}{\partial y}$,其中 $z = \text{sin}(3x)\text{cos}(3y)$

120\.

120.

$\frac{\partial z}{\partial x}$ and $\frac{\partial z}{\partial y}$ for $z = x^{8}e^{3y}$

求 $\frac{\partial z}{\partial x}$ 与 $\frac{\partial z}{\partial y}$,其中 $z = x^{8}e^{3y}$

121.

121.

$\frac{\partial z}{\partial x}$ and $\frac{\partial z}{\partial y}$ for $z = \text{ln}\left( {x^{6} + y^{4}} \right)$

求 $\frac{\partial z}{\partial x}$ 与 $\frac{\partial z}{\partial y}$,其中 $z = \text{ln}\left( {x^{6} + y^{4}} \right)$

122\.

122.

Find $f_{y}(x,y)$ for $f(x,y) = e^{xy}\text{cos}(x)\text{sin}(y).$

求 $f_{y}(x,y)$,其中 $f(x,y) = e^{xy}\text{cos}(x)\text{sin}(y)$。

123.

123.

Let $z = e^{xy}.$ Find $\frac{\partial z}{\partial x}$ and $\frac{\partial z}{\partial y}.$

设 $z = e^{xy}$。求 $\frac{\partial z}{\partial x}$ 与 $\frac{\partial z}{\partial y}$。

124\.

124.

Let $z = \text{ln}\left( \frac{x}{y} \right).$ Find $\frac{\partial z}{\partial x}$ and $\frac{\partial z}{\partial y}.$

设 $z = \text{ln}\left( \frac{x}{y} \right)$。求 $\frac{\partial z}{\partial x}$ 与 $\frac{\partial z}{\partial y}$。

125.

125.

Let $z = \text{tan}(2x - y).$ Find $\frac{\partial z}{\partial x}$ and $\frac{\partial z}{\partial y}.$

设 $z = \text{tan}(2x - y)$。求 $\frac{\partial z}{\partial x}$ 与 $\frac{\partial z}{\partial y}$。

126\.

126.

Let $z = \text{sinh}\left( {2x + 3y} \right).$ Find $\frac{\partial z}{\partial x}$ and $\frac{\partial z}{\partial y}.$

设 $z = \text{sinh}\left( {2x + 3y} \right)$。求 $\frac{\partial z}{\partial x}$ 与 $\frac{\partial z}{\partial y}$。

127.

127.

Let $f(x,y) = \text{arctan}\left( \frac{y}{x} \right).$ Evaluate $f_{x}(2,-2)$ and $f_{y}(2,-2).$

设 $f(x,y) = \text{arctan}\left( \frac{y}{x} \right)$。求 $f_{x}(2,-2)$ 与 $f_{y}(2,-2)$。

128\.

128.

Let $f(x,y) = \frac{xy}{x - y}.$ Find $f_{x}(2,-2)$ and $f_{y}(2,-2).$

设 $f(x,y) = \frac{xy}{x - y}$。求 $f_{x}(2,-2)$ 与 $f_{y}(2,-2)$。

129.

129.

Find $\frac{\partial z}{\partial x}$ at $\left( {0,1} \right)$ for $z = e^{\text{−}x}\text{cos}(y).$ Evaluate the partial derivatives at point $P(0,1).$

求 $\frac{\partial z}{\partial x}$ 在 $\left( {0,1} \right)$ 处的值,其中 $z = e^{\text{−}x}\text{cos}(y)$。在点 $P(0,1)$ 处求各偏导数。

130\.

130.

Given $f(x,y,z) = x^{3}yz^{2},$ find $\frac{\partial^{2}f}{\partial x\partial y}$ and $f_{z}(1,1,1).$

已知 $f(x,y,z) = x^{3}yz^{2}$,求 $\frac{\partial^{2}f}{\partial x\partial y}$ 与 $f_{z}(1,1,1)$。

131.

131.

Given $f(x,y,z) = 2\ \text{sin}\left( {x + y} \right),$ find $f_{x}\left( {0,\frac{\pi}{2},-4} \right),$ $f_{y}\left( {0,\frac{\pi}{2},-4} \right),$ and $f_{z}\left( {0,\frac{\pi}{2},-4} \right).$

已知 $f(x,y,z) = 2\ \text{sin}\left( {x + y} \right)$,求 $f_{x}\left( {0,\frac{\pi}{2},-4} \right)$、$f_{y}\left( {0,\frac{\pi}{2},-4} \right)$ 与 $f_{z}\left( {0,\frac{\pi}{2},-4} \right)$。

132\.

132.

The area of a parallelogram with adjacent side lengths that are $a\ \text{and}\ b,$ and in which the angle between these two sides is $\theta,$ is given by the function $A(a,b,\theta) = ba\ \text{sin}(\theta).$ Find the rate of change of the area of the parallelogram with respect to the following:

边长为 $a\ \text{and}\ b$ 且两边夹角为 $\theta$ 的平行四边形,其面积由函数 $A(a,b,\theta) = ba\ \text{sin}(\theta)$ 给出。求平行四边形面积关于下列量的变化率:

1. Side *a*

1. 边 *a*

2. Side *b*

2. 边 *b*

3. $\text{Angle}\ \theta$

3. 角 $\theta$

133.

133.

Express the volume of a right circular cylinder as a function of two variables:

把直圆柱体的体积表示为两个变量的函数:

1. its radius $r$ and its height $h.$

1. 其半径 $r$ 与高 $h$。

2. Show that the rate of change of the volume of the cylinder with respect to its radius is the product of its circumference multiplied by its height.

2. 证明:圆柱体体积对半径的变化率等于其底面周长与高的乘积。

3. Show that the rate of change of the volume of the cylinder with respect to its height is equal to the area of the circular base.

3. 证明:圆柱体体积对高的变化率等于其底面的面积。

134\.

134.

Calculate $\frac{\partial w}{\partial z}$ for $w = z\ \text{sin}(xy^{2} + 2z).$

计算 $\frac{\partial w}{\partial z}$,其中 $w = z\ \text{sin}(xy^{2} + 2z)$。

Find the indicated higher-order partial derivatives.

求下列指定的高阶偏导数。

135.

135.

$f_{xy}$ for $z = \text{ln}(x - y)$

求 $f_{xy}$,其中 $z = \text{ln}(x - y)$

136\.

136.

$f_{yx}$ for $z = \text{ln}(x - y)$

求 $f_{yx}$,其中 $z = \text{ln}(x - y)$

137.

137.

Let $z = x^{2} + 3xy + 2y^{2}.$ Find $\frac{\partial^{2}z}{\partial x^{2}}$ and $\frac{\partial^{2}z}{\partial y^{2}}.$

设 $z = x^{2} + 3xy + 2y^{2}$。求 $\frac{\partial^{2}z}{\partial x^{2}}$ 与 $\frac{\partial^{2}z}{\partial y^{2}}$。

138\.

138.

Given $z = e^{x}\text{tan}\ y,$ find $\frac{\partial^{2}z}{\partial x\partial y}$ and $\frac{\partial^{2}z}{\partial y\partial x}.$

已知 $z = e^{x}\text{tan}\ y$,求 $\frac{\partial^{2}z}{\partial x\partial y}$ 与 $\frac{\partial^{2}z}{\partial y\partial x}$。

139.

139.

Given $f(x,y,z) = xyz,$ find $f_{xyy},f_{yxy},$ and $f_{yyx}.$

已知 $f(x,y,z) = xyz$,求 $f_{xyy},f_{yxy},$ 与 $f_{yyx}$。

140\.

140.

Given $f(x,y,z) = e^{-2x}\text{sin}\left( {z^{2}y} \right),$ show that $f_{xyy} = f_{yxy}.$

已知 $f(x,y,z) = e^{-2x}\text{sin}\left( {z^{2}y} \right)$,证明 $f_{xyy} = f_{yxy}$。

141.

141.

Show that $z = \frac{1}{2}\left( {e^{y} - e^{\text{−}y}} \right)\text{sin}\ x$ is a solution of the differential equation $\frac{\partial^{2}z}{\partial x^{2}} + \frac{\partial^{2}z}{\partial y^{2}} = 0.$

证明 $z = \frac{1}{2}\left( {e^{y} - e^{\text{−}y}} \right)\text{sin}\ x$ 是微分方程 $\frac{\partial^{2}z}{\partial x^{2}} + \frac{\partial^{2}z}{\partial y^{2}} = 0$ 的解。

142\.

142.

Find $f_{xx}(x,y)$ for $f(x,y) = \frac{4x^{2}}{y} + \frac{y^{2}}{2x}.$

求 $f_{xx}(x,y)$,其中 $f(x,y) = \frac{4x^{2}}{y} + \frac{y^{2}}{2x}$。

143.

143.

Let $f(x,y,z) = x^{2}y^{3}z - 3xy^{2}z^{3} + 5x^{2}z - y^{3}z.$ Find $f_{xyz}.$

设 $f(x,y,z) = x^{2}y^{3}z - 3xy^{2}z^{3} + 5x^{2}z - y^{3}z$。求 $f_{xyz}$。

144\.

144.

Let $F(x,y,z) = x^{3}yz^{2} - 2x^{2}yz + 3xz - 2y^{3}z.$ Find $F_{xyz}.$

设 $F(x,y,z) = x^{3}yz^{2} - 2x^{2}yz + 3xz - 2y^{3}z$。求 $F_{xyz}$。

145.

145.

Given $f(x,y) = x^{2} + x - 3xy + y^{3} - 5,$ find all points at which $f_{x} = f_{y} = 0$ simultaneously.

已知 $f(x,y) = x^{2} + x - 3xy + y^{3} - 5$,求所有满足 $f_{x} = f_{y} = 0$ 的点。

146\.

146.

Given $f(x,y) = 2x^{2} + 2xy + y^{2} + 2x - 3,$ find all points at which $\frac{\partial f}{\partial x} = 0$ and $\frac{\partial f}{\partial y} = 0$ simultaneously.

已知 $f(x,y) = 2x^{2} + 2xy + y^{2} + 2x - 3$,求所有满足 $\frac{\partial f}{\partial x} = 0$ 且 $\frac{\partial f}{\partial y} = 0$ 的点。

147.

147.

Given $f(x,y) = y^{3} - 3yx^{2} - 3y^{2} - 3x^{2} + 1,$ find all points on $f$ at which $f_{x} = f_{y} = 0$ simultaneously.

已知 $f(x,y) = y^{3} - 3yx^{2} - 3y^{2} - 3x^{2} + 1$,求 $f$ 上所有满足 $f_{x} = f_{y} = 0$ 的点。

148\.

148.

Given $f(x,y) = 15x^{3} - 3xy + 15y^{3},$ find all points at which $f_{x}(x,y) = f_{y}(x,y) = 0$ simultaneously.

已知 $f(x,y) = 15x^{3} - 3xy + 15y^{3}$,求所有满足 $f_{x}(x,y) = f_{y}(x,y) = 0$ 的点。

149.

149.

Show that $z = e^{x}\text{sin}\ y$ satisfies the equation $\frac{\partial^{2}z}{\partial x^{2}} + \frac{\partial^{2}z}{\partial y^{2}} = 0.$

证明 $z = e^{x}\text{sin}\ y$ 满足方程 $\frac{\partial^{2}z}{\partial x^{2}} + \frac{\partial^{2}z}{\partial y^{2}} = 0$。

150\.

150.

Show that $f(x,y) = \text{ln}\left( {x^{2} + y^{2}} \right)$ solves Laplace’s equation $\frac{\partial^{2}z}{\partial x^{2}} + \frac{\partial^{2}z}{\partial y^{2}} = 0.$

证明 $f(x,y) = \text{ln}\left( {x^{2} + y^{2}} \right)$ 满足拉普拉斯方程 $\frac{\partial^{2}z}{\partial x^{2}} + \frac{\partial^{2}z}{\partial y^{2}} = 0$。

151.

151.

Show that $z = e^{\text{−}t}\text{cos}\left( \frac{x}{c} \right)$ satisfies the heat equation $\frac{\partial z}{\partial t} = c^{2}\left( \frac{\partial^{2}z}{\partial x^{2}} \right)$

证明 $z = e^{\text{−}t}\text{cos}\left( \frac{x}{c} \right)$ 满足热方程 $\frac{\partial z}{\partial t} = c^{2}\left( \frac{\partial^{2}z}{\partial x^{2}} \right)$

152\.

152.

Find $\underset{\text{Δ}x\rightarrow 0}{\text{lim}}\frac{f(x + \text{Δ}x\text{,}y) - f(x,y)}{\text{Δ}x}$ for $f(x,y) = -7x - 2xy + 7y.$

求 $\underset{\text{Δ}x\rightarrow 0}{\text{lim}}\frac{f(x + \text{Δ}x\text{,}y) - f(x,y)}{\text{Δ}x}$,其中 $f(x,y) = -7x - 2xy + 7y$。

153.

153.

Find $\underset{\text{Δ}y\rightarrow 0}{\text{lim}}\frac{f(x,y + \text{Δ}y) - f(x,y)}{\text{Δ}y}$ for $f(x,y) = -7x - 2xy + 7y.$

求 $\underset{\text{Δ}y\rightarrow 0}{\text{lim}}\frac{f(x,y + \text{Δ}y) - f(x,y)}{\text{Δ}y}$,其中 $f(x,y) = -7x - 2xy + 7y$。

154\.

154.

Find $\underset{\text{Δ}x\rightarrow 0}{\text{lim}}\frac{\text{Δ}f}{\text{Δ}x} = \underset{\text{Δ}x\rightarrow 0}{\text{lim}}\frac{f(x + \text{Δ}x,y) - f(x,y)}{\text{Δ}x}$ for $f(x,y) = x^{2}y^{2} + xy + y.$

求 $\underset{\text{Δ}x\rightarrow 0}{\text{lim}}\frac{\text{Δ}f}{\text{Δ}x} = \underset{\text{Δ}x\rightarrow 0}{\text{lim}}\frac{f(x + \text{Δ}x,y) - f(x,y)}{\text{Δ}x}$,其中 $f(x,y) = x^{2}y^{2} + xy + y$。

155.

155.

Find $\underset{\text{Δ}x\rightarrow 0}{\text{lim}}\frac{\text{Δ}f}{\text{Δ}x} = \underset{\text{Δ}x\rightarrow 0}{\text{lim}}\frac{f(x + \text{Δ}x,y) - f(x,y)}{\text{Δ}x}$ for $f(x,y) = \text{sin}(xy).$

求 $\underset{\text{Δ}x\rightarrow 0}{\text{lim}}\frac{\text{Δ}f}{\text{Δ}x} = \underset{\text{Δ}x\rightarrow 0}{\text{lim}}\frac{f(x + \text{Δ}x,y) - f(x,y)}{\text{Δ}x}$,其中 $f(x,y) = \text{sin}(xy)$。

156\.

156.

The function $P(T,V) = \frac{nRT}{V}$ gives the pressure at a point in a gas as a function of of temperature $T$ and volume $V.$ The letters $n\ \text{and}\ R$ are constants. Find $\frac{\partial P}{\partial V}$ and $\frac{\partial P}{\partial T},$ and explain what these quantities represent.

函数 $P(T,V) = \frac{nRT}{V}$ 给出气体中某点的压强,它是温度 $T$ 与体积 $V$ 的函数。字母 $n\ \text{and}\ R$ 为常数。求 $\frac{\partial P}{\partial V}$ 与 $\frac{\partial P}{\partial T}$,并解释这些量的物理意义。

157.

157.

The equation for heat flow in the $xy\text{-plane}$ is $\frac{\partial f}{\partial t} = \frac{\partial^{2}f}{\partial x^{2}} + \frac{\partial^{2}f}{\partial y^{2}}.$ Show that $f(x,y,t) = e^{-2t}\text{sin}\ x\ \text{sin}\ y$ is a solution.

$xy\text{-plane}$ 中的热流方程为 $\frac{\partial f}{\partial t} = \frac{\partial^{2}f}{\partial x^{2}} + \frac{\partial^{2}f}{\partial y^{2}}$。证明 $f(x,y,t) = e^{-2t}\text{sin}\ x\ \text{sin}\ y$ 是一个解。

158\.

158.

The basic wave equation is $f_{tt} = f_{xx}.$ Verify that $f(x,t) = \text{sin}(x + t)$ and $f(x,t) = \text{sin}(x - t)$ are solutions.

基本波动方程为 $f_{tt} = f_{xx}$。验证 $f(x,t) = \text{sin}(x + t)$ 与 $f(x,t) = \text{sin}(x - t)$ 均为解。

159.

159.

The law of cosines can be thought of as a function of three variables. Let $x,y,$ and $\theta$ be two sides of any triangle where the angle $\theta$ is the included angle between the two sides. Then, $F(x,y,\theta) = x^{2} + y^{2} - 2xy\ \text{cos}\ \theta$ gives the square of the third side of the triangle. Find $\frac{\partial F}{\partial\theta}$ and $\frac{\partial F}{\partial x}$ when $x = 2,y = 3,$ and $\theta = \frac{\pi}{6}.$

余弦定理可以看作三个变量的函数。设 $x,y,$ 与 $\theta$ 为任意三角形的两条边,其中 $\theta$ 为这两边所夹的角。则 $F(x,y,\theta) = x^{2} + y^{2} - 2xy\ \text{cos}\ \theta$ 给出三角形第三边的平方。求 $\frac{\partial F}{\partial\theta}$ 与 $\frac{\partial F}{\partial x}$(当 $x = 2,y = 3,$ 且 $\theta = \frac{\pi}{6}$ 时)。

160\.

160.

Suppose the sides of a rectangle are changing with respect to time. The first side is changing at a rate of $2$ in./sec whereas the second side is changing at the rate of $4$ in/sec. How fast is the diagonal of the rectangle changing when the first side measures $16$ in. and the second side measures $20$ in.? (Round answer to three decimal places.)

设矩形两边随时间变化。第一边以 $2$ in./sec 的速率变化,第二边以 $4$ in/sec 的速率变化。当第一边长为 $16$ in.、第二边长为 $20$ in. 时,矩形的对角线变化有多快?(答案保留三位小数。)

161.

161.

A Cobb-Douglas production function is $f(x,y) = 200x^{0.7}y^{0.3},$ where $x\ \text{and}\ y$ represent the amount of labor and capital available. Let $x = 500$ and $y = 1000.$ Find $\frac{\partial f}{\partial x}$ and $\frac{\partial f}{\partial y}$ at these values, which represent the marginal productivity of labor and capital, respectively.

一个柯布-道格拉斯生产函数为 $f(x,y) = 200x^{0.7}y^{0.3}$,其中 $x\ \text{and}\ y$ 分别表示可用的劳动量与资本量。令 $x = 500$、$y = 1000$。求在这些取值下的 $\frac{\partial f}{\partial x}$ 与 $\frac{\partial f}{\partial y}$,它们分别表示劳动与资本的边际生产率。

162\.

162.

The apparent temperature index is a measure of how the temperature feels, and it is based on two variables: $h,$ which is relative humidity, and $t,$ which is the air temperature.

体感温度指数是对温度感受程度的度量,它基于两个变量:$h$(相对湿度)与 $t$(气温)。

$A = 0.885t - 22.4h + 1.20th - 0.544.$ Find $\frac{\partial A}{\partial t}$ and $\frac{\partial A}{\partial h}$ when $t = 20\text{°}\text{F}$ and $h = 0.90.$

$A = 0.885t - 22.4h + 1.20th - 0.544$。求 $\frac{\partial A}{\partial t}$ 与 $\frac{\partial A}{\partial h}$(当 $t = 20\text{°}\text{F}$ 且 $h = 0.90$ 时)。

4.4 Tangent Planes and Linear Approximations 4.4 切平面与线性逼近

In this section, we consider the problem of finding the tangent plane to a surface, which is analogous to finding the equation of a tangent line to a curve when the curve is defined by the graph of a function of one variable, $y = f(x).$ The slope of the tangent line at the point $x = a$ is given by $m = f\prime(a);$ what is the slope of a tangent plane? We learned about the equation of a plane in Equations of Lines and Planes in Space; in this section, we see how it can be applied to the problem at hand.

本节我们考虑求曲面切平面的问题,它与求曲线的切线方程类似:当曲线由一元函数 $y = f(x)$ 的图像定义时,曲线在 $x = a$ 处切线的斜率为 $m = f\prime(a)$;那么切平面的“斜率”又是什么?我们已在《空间中的直线与平面方程》中学过平面方程;本节将看到它如何应用到当前问题。

Tangent Planes 切平面

Intuitively, it seems clear that, in a plane, only one line can be tangent to a curve at a point. However, in three-dimensional space, many lines can be tangent to a given point. If these lines lie in the same plane, they determine the tangent plane at that point. A tangent plane at a regular point contains all of the lines tangent to that point. A more intuitive way to think of a tangent plane is to assume the surface is smooth at that point (no corners). Then, a tangent line to the surface at that point in any direction does not have any abrupt changes in slope because the direction changes smoothly.

在平面上,过一点只能作一条直线与曲线相切。然而在三维空间中,过给定一点可以作许多条切线。如果这些直线位于同一平面内,它们就确定该点处的切平面。正则点处的切平面包含过该点的所有切线。理解切平面更直观的方式是:假定曲面在该点光滑(没有棱角)。于是,曲面在该点沿任意方向的切线,其斜率都不会发生突变,因为方向是平滑变化的。

Let $P_{0} = \left( {x_{0},y_{0},z_{0}} \right)$ be a point on a surface $S,$ and let $C$ be any curve passing through $P_{0}$ and lying entirely in $S.$ If the tangent lines to all such curves $C$ at $P_{0}$ lie in the same plane, then this plane is called the tangent plane to $S$ at $P_{0}$ (Figure 4.27).

设 $P_{0} = \left( {x_{0},y_{0},z_{0}} \right)$ 是曲面 $S$ 上一点,$C$ 为任意一条经过 $P_{0}$ 且完全落在 $S$ 中的曲线。若所有这些曲线 $C$ 在 $P_{0}$ 处的切线都位于同一平面内,则该平面称为 $S$ 在 $P_{0}$ 处的切平面(图 4.27)。

For a tangent plane to a surface to exist at a point on that surface, it is sufficient for the function that defines the surface to be differentiable at that point, defined later in this section. We define the term tangent plane here and then explore the idea intuitively.

要使曲面在某点处存在切平面,充分条件是其定义函数在该点可微(可微性将在本节后面定义)。我们在此先给出切平面的定义,再从直观上探究这一概念。

Let $S$ be a surface defined by a differentiable function $z = f\left( {x,y} \right),$ and let $P_{0} = \left( {x_{0},y_{0}} \right)$ be a point in the domain of $f.$ Then, the equation of the tangent plane to $S$ at $P_{0}$ is given by

设 $S$ 是由可微函数 $z = f\left( {x,y} \right)$ 定义的曲面,$P_{0} = \left( {x_{0},y_{0}} \right)$ 为 $f$ 定义域中的一点。则 $S$ 在 $P_{0}$ 处的切平面方程为

$$z = f\left( {x_{0},y_{0}} \right) + f_{x}\left( {x_{0},y_{0}} \right)\left( {x - x_{0}} \right) + f_{y}\left( {x_{0},y_{0}} \right)\left( {y - y_{0}} \right).$$ (4.24)

$$z = f\left( {x_{0},y_{0}} \right) + f_{x}\left( {x_{0},y_{0}} \right)\left( {x - x_{0}} \right) + f_{y}\left( {x_{0},y_{0}} \right)\left( {y - y_{0}} \right).$$ (4.24)

To see why this formula is correct, let’s first find two tangent lines to the surface $S.$ The equation of the tangent line to the curve that is represented by the intersection of $S$ with the vertical trace given by $x = x_{0}$ is $z = f\left( {x_{0},y_{0}} \right) + f_{y}\left( {x_{0},y_{0}} \right)\left( {y - y_{0}} \right).$ Similarly, the equation of the tangent line to the curve that is represented by the intersection of $S$ with the vertical trace given by $y = y_{0}$ is $z = f\left( {x_{0},y_{0}} \right) + f_{x}\left( {x_{0},y_{0}} \right)\left( {x - x_{0}} \right).$ A parallel vector to the first tangent line is $\mathbf{a} = \mathbf{j} + f_{y}\left( {x_{0},y_{0}} \right)\mathbf{k;}$ a parallel vector to the second tangent line is $\mathbf{b} = \mathbf{i} + f_{x}\left( {x_{0},y_{0}} \right)\mathbf{k}.$ We can take the cross product of these two vectors:

为理解该公式为何正确,先求曲面 $S$ 的两条切线。曲面 $S$ 与由 $x = x_{0}$ 给出的竖直截痕相交所表示的曲线的切线方程为 $z = f\left( {x_{0},y_{0}} \right) + f_{y}\left( {x_{0},y_{0}} \right)\left( {y - y_{0}} \right)$;类似地,$S$ 与由 $y = y_{0}$ 给出的竖直截痕相交所表示的曲线的切线方程为 $z = f\left( {x_{0},y_{0}} \right) + f_{x}\left( {x_{0},y_{0}} \right)\left( {x - x_{0}} \right)$。第一条切线的一个平行向量为 $\mathbf{a} = \mathbf{j} + f_{y}\left( {x_{0},y_{0}} \right)\mathbf{k;}$,第二条切线的一个平行向量为 $\mathbf{b} = \mathbf{i} + f_{x}\left( {x_{0},y_{0}} \right)\mathbf{k}$。对这两个向量取叉积:

$$\begin{array}{cl}{\mathbf{a}\ \times \ \mathbf{b}} & {= \left( {\mathbf{j} + f_{y}\left( {x_{0},y_{0}} \right)\mathbf{k}} \right)\ \times \ \left( {\mathbf{i} + f_{x}\left( {x_{0},y_{0}} \right)\mathbf{k}} \right)} \\ & {= \left| \begin{array}{lll}\mathbf{i} & \mathbf{j} & \mathbf{k} \\0 & 1 & {f_{y}\left( {x_{0},y_{0}} \right)} \\1 & 0 & {f_{x}\left( {x_{0},y_{0}} \right)}\end{array} \right|} \\ & {= f_{x}\left( {x_{0},y_{0}} \right)\mathbf{i} + f_{y}\left( {x_{0},y_{0}} \right)\mathbf{j} - \mathbf{k}.}\end{array}$$

$$\begin{array}{cl}{\mathbf{a}\ \times \ \mathbf{b}} & {= \left( {\mathbf{j} + f_{y}\left( {x_{0},y_{0}} \right)\mathbf{k}} \right)\ \times \ \left( {\mathbf{i} + f_{x}\left( {x_{0},y_{0}} \right)\mathbf{k}} \right)} \\ & {= \left| \begin{array}{lll}\mathbf{i} & \mathbf{j} & \mathbf{k} \\0 & 1 & {f_{y}\left( {x_{0},y_{0}} \right)} \\1 & 0 & {f_{x}\left( {x_{0},y_{0}} \right)}\end{array} \right|} \\ & {= f_{x}\left( {x_{0},y_{0}} \right)\mathbf{i} + f_{y}\left( {x_{0},y_{0}} \right)\mathbf{j} - \mathbf{k}.}\end{array}$$

This vector is perpendicular to both lines and is therefore perpendicular to the tangent plane. We can use this vector as a normal vector to the tangent plane, along with the point $P_{0} = \left( {x_{0},y_{0},f\left( {x_{0},y_{0}} \right)} \right)$ in the equation for a plane:

该向量与两条直线都垂直,因而与切平面垂直。我们可将其作为切平面的法向量,连同平面方程中的点 $P_{0} = \left( {x_{0},y_{0},f\left( {x_{0},y_{0}} \right)} \right)$ 使用:

$$\begin{array}{rll}{\mathbf{n} \cdot \left( {\left( {x - x_{0}} \right)\mathbf{i} + \left( {y - y_{0}} \right)\mathbf{j} + \left( {z - f\left( {x_{0},y_{0}} \right)} \right)\mathbf{k}} \right)} & = & 0 \\{\left( {f_{x}\left( {x_{0},y_{0}} \right)\mathbf{i} + f_{y}\left( {x_{0},y_{0}} \right)\mathbf{j}\text{-}\mathbf{k}} \right) \cdot \left( {\left( {x - x_{0}} \right)\mathbf{i} + \left( {y - y_{0}} \right)\mathbf{j} + \left( {z - f\left( {x_{0},y_{0}} \right)} \right)\mathbf{k}} \right)} & = & 0 \\{f_{x}\left( {x_{0},y_{0}} \right)\left( {x - x_{0}} \right) + f_{y}\left( {x_{0},y_{0}} \right)\left( {y - y_{0}} \right) - \left( {z - f\left( {x_{0},y_{0}} \right)} \right)} & = & {0.}\end{array}$$

$$\begin{array}{rll}{\mathbf{n} \cdot \left( {\left( {x - x_{0}} \right)\mathbf{i} + \left( {y - y_{0}} \right)\mathbf{j} + \left( {z - f\left( {x_{0},y_{0}} \right)} \right)\mathbf{k}} \right)} & = & 0 \\{\left( {f_{x}\left( {x_{0},y_{0}} \right)\mathbf{i} + f_{y}\left( {x_{0},y_{0}} \right)\mathbf{j}\text{-}\mathbf{k}} \right) \cdot \left( {\left( {x - x_{0}} \right)\mathbf{i} + \left( {y - y_{0}} \right)\mathbf{j} + \left( {z - f\left( {x_{0},y_{0}} \right)} \right)\mathbf{k}} \right)} & = & 0 \\{f_{x}\left( {x_{0},y_{0}} \right)\left( {x - x_{0}} \right) + f_{y}\left( {x_{0},y_{0}} \right)\left( {y - y_{0}} \right) - \left( {z - f\left( {x_{0},y_{0}} \right)} \right)} & = & {0.}\end{array}$$

Solving this equation for $z$ gives Equation 4.24.

对上式解 $z$,即得式 4.24。

Finding a Tangent Plane 求切平面

Find an equation of the tangent plane to the surface defined by the function $f\left( {x,y} \right) = 2x^{2} - 3xy + 8y^{2} + 2x - 4y + 4$ at point $\left( {2,-1} \right).$

求由函数 $f\left( {x,y} \right) = 2x^{2} - 3xy + 8y^{2} + 2x - 4y + 4$ 定义的曲面在点 $\left( {2,-1} \right)$ 处的切平面方程。

Solution

First, we must calculate $f_{x}\left( {x,y} \right)$ and $f_{y}\left( {x,y} \right),$ then use Equation 4.24 with $x_{0} = 2$ and $y_{0} = -1\text{:}$

首先,计算 $f_{x}\left( {x,y} \right)$ 与 $f_{y}\left( {x,y} \right)$,再由式 4.24,取 $x_{0} = 2$、$y_{0} = -1\text{:}$

$$\begin{array}{rll}{f_{x}\left( {x,y} \right)} & = & {4x - 3y + 2} \\{f_{y}\left( {x,y} \right)} & = & {-3x + 16y - 4} \\{f\left( {2,-1} \right)} & = & {2(2)^{2} - 3(2)(-1) + 8(-1)^{2} + 2(2) - 4(-1) + 4 = 34.} \\{f_{x}\left( {2,-1} \right)} & = & {4(2) - 3(-1) + 2 = 13} \\{f_{y}\left( {2,-1} \right)} & = & {-3(2) + 16(-1) - 4 = -26.}\end{array}$$

$$\begin{array}{rll}{f_{x}\left( {x,y} \right)} & = & {4x - 3y + 2} \\{f_{y}\left( {x,y} \right)} & = & {-3x + 16y - 4} \\{f\left( {2,-1} \right)} & = & {2(2)^{2} - 3(2)(-1) + 8(-1)^{2} + 2(2) - 4(-1) + 4 = 34.} \\{f_{x}\left( {2,-1} \right)} & = & {4(2) - 3(-1) + 2 = 13} \\{f_{y}\left( {2,-1} \right)} & = & {-3(2) + 16(-1) - 4 = -26.}\end{array}$$

Then Equation 4.24 becomes

于是式 4.24 化为

$$\begin{array}{l}{z = f\left( {x_{0},y_{0}} \right) + f_{x}\left( {x_{0},y_{0}} \right)\left( {x - x_{0}} \right) + f_{y}\left( {x_{0},y_{0}} \right)\left( {y - y_{0}} \right)} \\{z = 34 + 13\left( {x - 2} \right) - 26\left( {y - (-1)} \right)} \\{z = 34 + 13x - 26 - 26y - 26} \\{z = 13x - 26y - 18.}\end{array}$$

$$\begin{array}{l}{z = f\left( {x_{0},y_{0}} \right) + f_{x}\left( {x_{0},y_{0}} \right)\left( {x - x_{0}} \right) + f_{y}\left( {x_{0},y_{0}} \right)\left( {y - y_{0}} \right)} \\{z = 34 + 13\left( {x - 2} \right) - 26\left( {y - (-1)} \right)} \\{z = 34 + 13x - 26 - 26y - 26} \\{z = 13x - 26y - 18.}\end{array}$$

(See the following figure).

(参见下图)。

Find an equation of the tangent plane to the surface defined by the function $f\left( {x,y} \right) = x^{3} - x^{2}y + y^{2} - 2x + 3y - 2$ at point $\left( {-1,3} \right).$

求由函数 $f\left( {x,y} \right) = x^{3} - x^{2}y + y^{2} - 2x + 3y - 2$ 定义的曲面在点 $\left( {-1,3} \right)$ 处的切平面方程。

Finding Another Tangent Plane 求另一个切平面

Find an equation of the tangent plane to the surface defined by the function $f\left( {x,y} \right) = \text{sin}\left( {2x} \right)\text{cos}\left( {3y} \right)$ at the point $\left( {{\pi\text{/}3},{\pi\text{/}4}} \right).$

求由函数 $f\left( {x,y} \right) = \text{sin}\left( {2x} \right)\text{cos}\left( {3y} \right)$ 定义的曲面在点 $\left( {{\pi\text{/}3},{\pi\text{/}4}} \right)$ 处的切平面方程。

Solution

First, calculate $f_{x}\left( {x,y} \right)$ and $f_{y}\left( {x,y} \right),$ then use Equation 4.24 with $x_{0} = {\pi\text{/}3}$ and $y_{0} = {\pi\text{/}4}\text{:}$

首先,计算 $f_{x}\left( {x,y} \right)$ 与 $f_{y}\left( {x,y} \right)$,再由式 4.24,取 $x_{0} = {\pi\text{/}3}$、$y_{0} = {\pi\text{/}4}\text{:}$

$$\begin{array}{rll}{f_{x}\left( {x,y} \right)} & = & {2\ \text{cos}\left( {2x} \right)\text{cos}\left( {3y} \right)} \\{f_{y}\left( {x,y} \right)} & = & {-3\ \text{sin}\left( {2x} \right)\text{sin}\left( {3y} \right)} \\{f\left( {\frac{\pi}{3},\frac{\pi}{4}} \right)} & = & {\text{sin}\left( {2\left( \frac{\pi}{3} \right)} \right)\text{cos}\left( {3\left( \frac{\pi}{4} \right)} \right) = \left( \frac{\sqrt{3}}{2} \right)\left( {- \frac{\sqrt{2}}{2}} \right) = - \frac{\sqrt{6}}{4}} \\{f_{x}\left( {\frac{\pi}{3},\frac{\pi}{4}} \right)} & = & {2\ \text{cos}\left( {2\left( \frac{\pi}{3} \right)} \right)\text{cos}\left( {3\left( \frac{\pi}{4} \right)} \right) = 2\left( {- \frac{1}{2}} \right)\left( {- \frac{\sqrt{2}}{2}} \right) = \frac{\sqrt{2}}{2}} \\{f_{y}\left( {\frac{\pi}{3},\frac{\pi}{4}} \right)} & = & {-3\ \text{sin}\left( {2\left( \frac{\pi}{3} \right)} \right)\text{sin}\left( {3\left( \frac{\pi}{4} \right)} \right) = -3\left( \frac{\sqrt{3}}{2} \right)\left( \frac{\sqrt{2}}{2} \right) = - \frac{3\sqrt{6}}{4}.}\end{array}$$

$$\begin{array}{rll}{f_{x}\left( {x,y} \right)} & = & {2\ \text{cos}\left( {2x} \right)\text{cos}\left( {3y} \right)} \\{f_{y}\left( {x,y} \right)} & = & {-3\ \text{sin}\left( {2x} \right)\text{sin}\left( {3y} \right)} \\{f\left( {\frac{\pi}{3},\frac{\pi}{4}} \right)} & = & {\text{sin}\left( {2\left( \frac{\pi}{3} \right)} \right)\text{cos}\left( {3\left( \frac{\pi}{4} \right)) \right) = \left( \frac{\sqrt{3}}{2} \right)\left( {- \frac{\sqrt{2}}{2}} \right) = - \frac{\sqrt{6}}{4}} \\{f_{x}\left( {\frac{\pi}{3},\frac{\pi}{4}} \right)} & = & {2\ \text{cos}\left( {2\left( \frac{\pi}{3} \right)} \right)\text{cos}\left( {3\left( \frac{\pi}{4} \right)) \right) = 2\left( {- \frac{1}{2}} \right)\left( {- \frac{\sqrt{2}}{2}} \right) = \frac{\sqrt{2}}{2}} \\{f_{y}\left( {\frac{\pi}{3},\frac{\pi}{4}} \right)} & = & {-3\ \text{sin}\left( {2\left( \frac{\pi}{3} \right)} \right)\text{sin}\left( {3\left( \frac{\pi}{4} \right)) \right) = -3\left( \frac{\sqrt{3}}{2} \right)\left( \frac{\sqrt{2}}{2} \right) = - \frac{3\sqrt{6}}{4}.}\end{array}$$

Then Equation 4.24 becomes

于是式 4.24 化为

$$\begin{array}{l} \\{z = f\left( {x_{0},y_{0}} \right) + f_{x}\left( {x_{0},y_{0}} \right)\left( {x - x_{0}} \right) + f_{y}\left( {x_{0},y_{0}} \right)\left( {y - y_{0}} \right)} \\ \\{z = - \frac{\sqrt{6}}{4} + \frac{\sqrt{2}}{2}\left( {x - \frac{\pi}{3}} \right) - \frac{3\sqrt{6}}{4}\left( {y - \frac{\pi}{4}} \right)} \\{z = \frac{\sqrt{2}}{2}x - \frac{3\sqrt{6}}{4}y - \frac{\sqrt{6}}{4} - \frac{\pi\sqrt{2}}{6} + \frac{3\pi\sqrt{6}}{16}.}\end{array}$$

$$\begin{array}{l} \\{z = f\left( {x_{0},y_{0}} \right) + f_{x}\left( {x_{0},y_{0}} \right)\left( {x - x_{0}} \right) + f_{y}\left( {x_{0},y_{0}} \right)\left( {y - y_{0}} \right)} \\ \\{z = - \frac{\sqrt{6}}{4} + \frac{\sqrt{2}}{2}\left( {x - \frac{\pi}{3}} \right) - \frac{3\sqrt{6}}{4}\left( {y - \frac{\pi}{4}} \right)} \\{z = \frac{\sqrt{2}}{2}x - \frac{3\sqrt{6}}{4}y - \frac{\sqrt{6}}{4} - \frac{\pi\sqrt{2}}{6} + \frac{3\pi\sqrt{6}}{16}.}\end{array}$$

A tangent plane to a surface does not always exist at every point on the surface. Consider the function

曲面上并非每一点都存在切平面。考虑函数

$$f(x,y) = \begin{cases}\frac{xy}{\sqrt{x^{2} + y^{2}}} & {\left( {x,y} \right) \neq \left( {0,0} \right)} \\0 & {\left( {x,y} \right) = \left( {0,0} \right).}\end{cases}$$

$$f(x,y) = \begin{cases}\frac{xy}{\sqrt{x^{2} + y^{2}}} & {\left( {x,y} \right) \neq \left( {0,0} \right)} \\0 & {\left( {x,y} \right) = \left( {0,0} \right).}\end{cases}$$

The graph of this function follows.

该函数的图像如下。

If either $x = 0$ or $y = 0,$ then $f\left( {x,y} \right) = 0,$ so the value of the function does not change on either the *x*- or *y*-axis. Therefore, $f_{x}\left( {x,0} \right) = f_{y}\left( {0,y} \right) = 0,$ so as either $x\ or\ y$ approach zero, these partial derivatives stay equal to zero. Substituting them into Equation 4.24 gives $z = 0$ as the equation of the tangent line. However, if we approach the origin from a different direction, we get a different story. For example, suppose we approach the origin along the line $y = x.$ If we put $y = x$ into the original function, it becomes

若 $x = 0$ 或 $y = 0$,则 $f\left( {x,y} \right) = 0$,故函数在 *x* 轴或 *y* 轴上取值不变。因此 $f_{x}\left( {x,0} \right) = f_{y}\left( {0,y} \right) = 0$,于是当 $x$ 或 $y$ 趋于零时,这些偏导数始终为零。将它们代入式 4.24,得到切线方程为 $z = 0$。然而,若沿另一方向逼近原点,情形就不同了。例如,设沿直线 $y = x$ 逼近原点。将 $y = x$ 代入原函数,得到

$$f\left( {x,x} \right) = \frac{x(x)}{\sqrt{x^{2} + (x)^{2}}} = \frac{x^{2}}{\sqrt{2x^{2}}} = \frac{|x|}{\sqrt{2}}.$$

$$f\left( {x,x} \right) = \frac{x(x)}{\sqrt{x^{2} + (x)^{2}}} = \frac{x^{2}}{\sqrt{2x^{2}}} = \frac{|x|}{\sqrt{2}}.$$

When $x > 0,$ the slope of this curve is equal to ${\sqrt{2}\text{/}2};$ when $x < 0,$ the slope of this curve is equal to $\text{−}\left( {\sqrt{2}\text{/}2} \right).$ This presents a problem. In the definition of *tangent plane*, we presumed that all tangent lines through point $P$ (in this case, the origin) lay in the same plane. This is clearly not the case here. When we study differentiable functions, we will see that this function is not differentiable at the origin.

当 $x > 0$ 时,该曲线斜率为 ${\sqrt{2}\text{/}2}$;当 $x < 0$ 时,斜率为 $\text{−}\left( {\sqrt{2}\text{/}2} \right)$。这就出现了问题。在*切平面*的定义中,我们假定过点 $P$(此处即原点)的所有切线都位于同一平面内,而这里显然并非如此。学习可微函数时我们将看到,该函数在原点不可微。

Linear Approximations 线性逼近

Recall from Linear Approximations and Differentials that the formula for the linear approximation of a function $f(x)$ at the point $x = a$ is given by

回顾《线性逼近与微分》可知,函数 $f(x)$ 在点 $x = a$ 处的线性逼近公式为

$$y \approx f(a) + f\prime(a)\left( {x - a} \right).$$

$$y \approx f(a) + f\prime(a)\left( {x - a} \right).$$

The diagram for the linear approximation of a function of one variable appears in the following graph.

一元函数线性逼近的示意图见下图。

The tangent line can be used as an approximation to the function $f(x)$ for values of $x$ reasonably close to $x = a.$ When working with a function of two variables, the tangent line is replaced by a tangent plane, but the approximation idea is much the same.

切线可用作函数 $f(x)$ 在 $x$ 接近 $a$ 时的逼近。处理二元函数时,切线被切平面取代,但逼近的思想基本一致。

Given a function $z = f\left( {x,y} \right)$ with continuous partial derivatives that exist at the point $\left( {x_{0},y_{0}} \right),$ the linear approximation of $f$ at the point $\left( {x_{0},y_{0}} \right)$ is given by the equation

给定函数 $z = f\left( {x,y} \right)$,其在点 $\left( {x_{0},y_{0}} \right)$ 处存在连续偏导数,则 $f$ 在点 $\left( {x_{0},y_{0}} \right)$ 处的线性逼近由下式给出

$$L\left( {x,y} \right) = f\left( {x_{0},y_{0}} \right) + f_{x}\left( {x_{0},y_{0}} \right)\left( {x - x_{0}} \right) + f_{y}\left( {x_{0},y_{0}} \right)\left( {y - y_{0}} \right).$$ (4.25)

$$L\left( {x,y} \right) = f\left( {x_{0},y_{0}} \right) + f_{x}\left( {x_{0},y_{0}} \right)\left( {x - x_{0}} \right) + f_{y}\left( {x_{0},y_{0}} \right)\left( {y - y_{0}} \right).$$ (4.25)

Notice that this equation also represents the tangent plane to the surface defined by $z = f\left( {x,y} \right)$ at the point $\left( {x_{0},y_{0}} \right).$ The idea behind using a linear approximation is that, if there is a point $\left( {x_{0},y_{0}} \right)$ at which the precise value of $f\left( {x,y} \right)$ is known, then for values of $\left( {x,y} \right)$ reasonably close to $\left( {x_{0},y_{0}} \right),$ the linear approximation (i.e., tangent plane) yields a value that is also reasonably close to the exact value of $f\left( {x,y} \right)$ (Figure 4.31). Furthermore the plane that is used to find the linear approximation is also the tangent plane to the surface at the point $\left( {x_{0},y_{0}} \right).$

注意,该方程同时表示曲面 $z = f\left( {x,y} \right)$ 在点 $\left( {x_{0},y_{0}} \right)$ 处的切平面。使用线性逼近的思想是:若存在一点 $\left( {x_{0},y_{0}} \right)$ 处 $f\left( {x,y} \right)$ 的精确值已知,则对充分接近 $\left( {x_{0},y_{0}} \right)$ 的 $\left( {x,y} \right)$,线性逼近(即切平面)给出的值也充分接近 $f\left( {x,y} \right)$ 的精确值(图 4.31)。此外,用于求线性逼近的平面也就是曲面在点 $\left( {x_{0},y_{0}} \right)$ 处的切平面。

Using a Tangent Plane Approximation 利用切平面逼近

Given the function $f\left( {x,y} \right) = \sqrt{41 - 4x^{2} - y^{2}},$ approximate $f\left( {2.1,2.9} \right)$ using point $\left( {2,3} \right)$ for $\left( {x_{0},y_{0}} \right).$ What is the approximate value of $f\left( {2.1,2.9} \right)$ to four decimal places?

已知函数 $f\left( {x,y} \right) = \sqrt{41 - 4x^{2} - y^{2}}$,取 $\left( {x_{0},y_{0}} \right) = \left( {2,3} \right)$,用切平面逼近 $f\left( {2.1,2.9} \right)$。$f\left( {2.1,2.9} \right)$ 的近似值保留四位小数是多少?

Solution

To apply Equation 4.25, we first must calculate $f\left( {x_{0},y_{0}} \right),$ $f_{x}\left( {x_{0},y_{0}} \right),$ and $f_{y}\left( {x_{0},y_{0}} \right)$ using $x_{0} = 2$ and $y_{0} = 3\text{:}$

为应用式 4.25,先用 $x_{0} = 2$、$y_{0} = 3$ 计算 $f\left( {x_{0},y_{0}} \right)$、$f_{x}\left( {x_{0},y_{0}} \right)$ 与 $f_{y}\left( {x_{0},y_{0}} \right)$:

$$\begin{array}{rll}{f\left( {x_{0},y_{0}} \right)} & = & {f\left( {2,3} \right) = \sqrt{41 - 4(2)^{2} - (3)^{2}} = \sqrt{41 - 16 - 9} = \sqrt{16} = 4} \\{f_{x}\left( {x,y} \right)} & = & {- \frac{4x}{\sqrt{41 - 4x^{2} - y^{2}}}\ \text{so}\ f_{x}\left( {x_{0},y_{0}} \right) = - \frac{4(2)}{\sqrt{41 - 4(2)^{2} - (3)^{2}}} = -2} \\{f_{y}\left( {x,y} \right)} & = & {- \frac{y}{\sqrt{41 - 4x^{2} - y^{2}}}\ \text{so}\ f_{y}\left( {x_{0},y_{0}} \right) = - \frac{3}{\sqrt{41 - 4(2)^{2} - (3)^{2}}} = - \frac{3}{4}.}\end{array}$$

$$\begin{array}{rll}{f\left( {x_{0},y_{0}} \right)} & = & {f\left( {2,3} \right) = \sqrt{41 - 4(2)^{2} - (3)^{2}} = \sqrt{41 - 16 - 9} = \sqrt{16} = 4} \\{f_{x}\left( {x,y} \right)} & = & {- \frac{4x}{\sqrt{41 - 4x^{2} - y^{2}}}\ \text{so}\ f_{x}\left( {x_{0},y_{0}} \right) = - \frac{4(2)}{\sqrt{41 - 4(2)^{2} - (3)^{2}}} = -2} \\{f_{y}\left( {x,y} \right)} & = & {- \frac{y}{\sqrt{41 - 4x^{2} - y^{2}}}\ \text{so}\ f_{y}\left( {x_{0},y_{0}} \right) = - \frac{3}{\sqrt{41 - 4(2)^{2} - (3)^{2}}} = - \frac{3}{4}.}\end{array}$$

Now we substitute these values into Equation 4.25:

现在将这些值代入式 4.25:

$$\begin{array}{cl}{L\left( {x,y} \right)} & {= f\left( {x_{0},y_{0}} \right) + f_{x}\left( {x_{0},y_{0}} \right)\left( {x - x_{0}} \right) + f_{y}\left( {x_{0},y_{0}} \right)\left( {y - y_{0}} \right)} \\ & {= 4 - 2\left( {x - 2} \right) - \frac{3}{4}\left( {y - 3} \right)} \\ & {= \frac{41}{4} - 2x - \frac{3}{4}y.}\end{array}$$

$$\begin{array}{cl}{L\left( {x,y} \right)} & {= f\left( {x_{0},y_{0}} \right) + f_{x}\left( {x_{0},y_{0}} \right)\left( {x - x_{0}} \right) + f_{y}\left( {x_{0},y_{0}} \right)\left( {y - y_{0}} \right)} \\ & {= 4 - 2\left( {x - 2} \right) - \frac{3}{4}\left( {y - 3} \right)} \\ & {= \frac{41}{4} - 2x - \frac{3}{4}y.}\end{array}$$

Last, we substitute $x = 2.1$ and $y = 2.9$ into $L\left( {x,y} \right)\text{:}$

最后,将 $x = 2.1$、$y = 2.9$ 代入 $L\left( {x,y} \right)$:

$$L\left( {2.1,2.9} \right) = \frac{41}{4} - 2(2.1) - \frac{3}{4}(2.9) = 10.25 - 4.2 - 2.175 = 3.875.$$

$$L\left( {2.1,2.9} \right) = \frac{41}{4} - 2(2.1) - \frac{3}{4}(2.9) = 10.25 - 4.2 - 2.175 = 3.875.$$

The approximate value of $f\left( {2.1,2.9} \right)$ to four decimal places is

$f\left( {2.1,2.9} \right)$ 保留四位小数的近似值为

$$f\left( {2.1,2.9} \right) = \sqrt{41 - 4(2.1)^{2} - (2.9)^{2}} = \sqrt{14.95} \approx 3.8665,$$

$$f\left( {2.1,2.9} \right) = \sqrt{41 - 4(2.1)^{2} - (2.9)^{2}} = \sqrt{14.95} \approx 3.8665,$$

which corresponds to a $0.2\text{\%}$ error in approximation.

对应的逼近误差为 $0.2\text{\%}$。

Given the function $f\left( {x,y} \right) = e^{5 - 2x + 3y},$ approximate $f\left( {4.1,0.9} \right)$ using point $\left( {4,1} \right)$ for $\left( {x_{0},y_{0}} \right).$ What is the approximate value of $f\left( {4.1,0.9} \right)$ to four decimal places?

已知函数 $f\left( {x,y} \right) = e^{5 - 2x + 3y}$,取 $\left( {x_{0},y_{0}} \right) = \left( {4,1} \right)$,用切平面逼近 $f\left( {4.1,0.9} \right)$。$f\left( {4.1,0.9} \right)$ 的近似值保留四位小数是多少?

Differentiability 可微性

When working with a function $y = f(x)$ of one variable, the function is said to be differentiable at a point $x = a$ if $f^{\prime}(a)$ exists. Furthermore, if a function of one variable is differentiable at a point, the graph is "smooth" at that point (i.e., no corners exist) and a tangent line is well-defined at that point.

对于一元函数 $y = f(x)$,若 $f^{\prime}(a)$ 存在,则称该函数在点 $x = a$ 处可微。此外,若一元函数在某点可微,则其图像在该点“光滑”(即没有棱角),且该点处切线确定良好。

The idea behind differentiability of a function of two variables is connected to the idea of smoothness at that point. In this case, a surface is considered to be smooth at point $P$ if a tangent plane to the surface exists at that point. If a function is differentiable at a point, then a tangent plane to the surface exists at that point. Recall the formula for a tangent plane at a point $\left( {x_{0},y_{0}} \right)$ is given by

二元函数可微性的思想与该点处的光滑性相关。此时,若曲面在该点存在切平面,则称该曲面在点 $P$ 处光滑。若函数在某点可微,则曲面在该点存在切平面。回顾在点 $\left( {x_{0},y_{0}} \right)$ 处切平面的公式:

$$z = f\left( {x_{0},y_{0}} \right) + f_{x}\left( {x_{0},y_{0}} \right)\left( {x - x_{0}} \right) + f_{y}\left( {x_{0},y_{0}} \right)\left( {y - y_{0}} \right),$$

$$z = f\left( {x_{0},y_{0}} \right) + f_{x}\left( {x_{0},y_{0}} \right)\left( {x - x_{0}} \right) + f_{y}\left( {x_{0},y_{0}} \right)\left( {y - y_{0}} \right),$$

For a tangent plane to exist at the point $\left( {x_{0},y_{0}} \right),$ the partial derivatives must therefore exist at that point. However, this is not a sufficient condition for smoothness, as was illustrated in Figure 4.29. In that case, the partial derivatives existed at the origin, but the function also had a corner on the graph at the origin.

要使点 $\left( {x_{0},y_{0}} \right)$ 处存在切平面,该点处偏导数必须存在。然而,这并非光滑性的充分条件,如图 4.29 所示。在该例中,原点处偏导数存在,但函数的图像在原点处仍有棱角。

A function $f\left( {x,y} \right)$ is differentiable at a point $P\left( {x_{0},y_{0}} \right)$ if, for all points $\left( {x,y} \right)$ in a $\delta$ disk around $P,$ we can write

若对点 $P$ 的某个 $\delta$ 圆盘内所有点 $\left( {x,y} \right)$,都能写成如下形式,则称函数 $f\left( {x,y} \right)$ 在点 $P\left( {x_{0},y_{0}} \right)$ 处可微:

$$f\left( {x,y} \right) = f\left( {x_{0},y_{0}} \right) + f_{x}\left( {x_{0},y_{0}} \right)\left( {x - x_{0}} \right) + f_{y}\left( {x_{0},y_{0}} \right)\left( {y - y_{0}} \right) + E\left( {x,y} \right),$$ (4.26)

$$f\left( {x,y} \right) = f\left( {x_{0},y_{0}} \right) + f_{x}\left( {x_{0},y_{0}} \right)\left( {x - x_{0}} \right) + f_{y}\left( {x_{0},y_{0}} \right)\left( {y - y_{0}} \right) + E\left( {x,y} \right),$$ (4.26)

where the error term $E$ satisfies

其中误差项 $E$ 满足

$$\underset{{({x,y})}\rightarrow{({x_{0},y_{0}})}}{\text{lim}}\frac{E\left( {x,y} \right)}{\sqrt{\left( {x - x_{0}} \right)^{2} + \left( {y - y_{0}} \right)^{2}}} = 0.$$

$$\underset{{({x,y})}\rightarrow{({x_{0},y_{0}})}}{\text{lim}}\frac{E\left( {x,y} \right)}{\sqrt{\left( {x - x_{0}} \right)^{2} + \left( {y - y_{0}} \right)^{2}}} = 0.$$

The last term in Equation 4.26 is referred to as the *error term* and it represents how closely the tangent plane comes to the surface in a small neighborhood $(\delta$ disk) of point $P.$ For the function $f$ to be differentiable at $P,$ the function must be smooth—that is, the graph of $f$ must be close to the tangent plane for points near $P.$

式 4.26 中的最后一项称为*误差项*,它表示在点 $P$ 的一个小邻域($\delta$ 圆盘)内,切平面与曲面接近的程度。要使函数 $f$ 在 $P$ 处可微,函数必须光滑——也就是说,对 $P$ 附近的点,其图像必须接近切平面。

Demonstrating Differentiability 证明可微性

Show that the function $f\left( {x,y} \right) = 2x^{2} - 4y$ is differentiable at point $\left( {2,-3} \right).$

证明函数 $f\left( {x,y} \right) = 2x^{2} - 4y$ 在点 $\left( {2,-3} \right)$ 处可微。

Solution

First, we calculate $f\left( {x_{0},y_{0}} \right),f_{x}\left( {x_{0},y_{0}} \right),\ \text{and}\ f_{y}\left( {x_{0},y_{0}} \right)$ using $x_{0} = 2$ and $y_{0} = -3,$ then we use Equation 4.26:

首先,用 $x_{0} = 2$、$y_{0} = -3$ 计算 $f\left( {x_{0},y_{0}} \right)$、$f_{x}\left( {x_{0},y_{0}} \right)$ 与 $f_{y}\left( {x_{0},y_{0}} \right)$,然后应用式 4.26:

$$\begin{array}{rll}{f\left( {2,-3} \right)} & = & {2(2)^{2} - 4(-3) = 8 + 12 = 20} \\{f_{x}\left( {2,-3} \right)} & = & {4(2) = 8} \\{f_{y}\left( {2,-3} \right)} & = & -4.\end{array}$$

$$\begin{array}{rll}{f\left( {2,-3} \right)} & = & {2(2)^{2} - 4(-3) = 8 + 12 = 20} \\{f_{x}\left( {2,-3} \right)} & = & {4(2) = 8} \\{f_{y}\left( {2,-3} \right)} & = & -4.\end{array}$$

Therefore $m_{1} = 8$ and $m_{2} = -4,$ and Equation 4.26 becomes

于是 $m_{1} = 8$、$m_{2} = -4$,式 4.26 化为

$$\begin{array}{rll}{f\left( {x,y} \right)} & = & {f\left( {2,-3} \right) + f_{x}\left( {2,-3} \right)\left( {x - 2} \right) + f_{y}\left( {2,-3} \right)\left( {y + 3} \right) + E\left( {x,y} \right)} \\{2x^{2} - 4y} & = & {20 + 8\left( {x - 2} \right) - 4\left( {y + 3} \right) + E\left( {x,y} \right)} \\{2x^{2} - 4y} & = & {20 + 8x - 16 - 4y - 12 + E\left( {x,y} \right)} \\{2x^{2} - 4y} & = & {8x - 4y - 8 + E\left( {x,y} \right)} \\{E\left( {x,y} \right)} & = & {2x^{2} - 8x + 8.}\end{array}$$

$$\begin{array}{rll}{f\left( {x,y} \right)} & = & {f\left( {2,-3} \right) + f_{x}\left( {2,-3} \right)\left( {x - 2} \right) + f_{y}\left( {2,-3} \right)\left( {y + 3} \right) + E\left( {x,y} \right)} \\{2x^{2} - 4y} & = & {20 + 8\left( {x - 2} \right) - 4\left( {y + 3} \right) + E\left( {x,y} \right)} \\{2x^{2} - 4y} & = & {20 + 8x - 16 - 4y - 12 + E\left( {x,y} \right)} \\{2x^{2} - 4y} & = & {8x - 4y - 8 + E\left( {x,y} \right)} \\{E\left( {x,y} \right)} & = & {2x^{2} - 8x + 8.}\end{array}$$

Next, we calculate $\underset{{({x,y})}\rightarrow{({x_{0},y_{0}})}}{\text{lim}}\frac{E\left( {x,y} \right)}{\sqrt{\left( {x - x_{0}} \right)^{2} + \left( {y - y_{0}} \right)^{2}}}\text{:}$

接下来,计算 $\underset{{({x,y})}\rightarrow{({x_{0},y_{0}})}}{\text{lim}}\frac{E\left( {x,y} \right)}{\sqrt{\left( {x - x_{0}} \right)^{2} + \left( {y - y_{0}} \right)^{2}}}\text{:}$

$$\begin{array}{cl}{\underset{{({x,y})}\rightarrow{({x_{0},y_{0}})}}{\text{lim}}\frac{E\left( {x,y} \right)}{\sqrt{\left( {x - x_{0}} \right)^{2} + \left( {y - y_{0}} \right)^{2}}}} & {= \underset{{({x,y})}\rightarrow{({2,-3})}}{\text{lim}}\frac{2x^{2} - 8x + 8}{\sqrt{\left( {x - 2} \right)^{2} + \left( {y + 3} \right)^{2}}}} \\ & {= \underset{{({x,y})}\rightarrow{({2,-3})}}{\text{lim}}\frac{2\left( {x^{2} - 4x + 4} \right)}{\sqrt{\left( {x - 2} \right)^{2} + \left( {y + 3} \right)^{2}}}} \\ & {= \underset{{({x,y})}\rightarrow{({2,-3})}}{\text{lim}}\frac{2\left( {x - 2} \right)^{2}}{\sqrt{\left( {x - 2} \right)^{2} + \left( {y + 3} \right)^{2}}}} \\ & {\leq \underset{{({x,y})}\rightarrow{({2,-3})}}{\text{lim}}\frac{2\left( {\left( {x - 2} \right)^{2} + \left( {y + 3} \right)^{2}} \right)}{\sqrt{\left( {x - 2} \right)^{2} + \left( {y + 3} \right)^{2}}}} \\ & {= \underset{{({x,y})}\rightarrow{({2,-3})}}{\text{lim}}2\sqrt{\left( {x - 2} \right)^{2} + \left( {y + 3} \right)^{2}}} \\ & {= 0.}\end{array}$$

$$\begin{array}{cl}{\underset{{({x,y})}\rightarrow{({x_{0},y_{0}})}}{\text{lim}}\frac{E\left( {x,y} \right)}{\sqrt{\left( {x - x_{0}} \right)^{2} + \left( {y - y_{0}} \right)^{2}}}} & {= \underset{{({x,y})}\rightarrow{({2,-3})}}{\text{lim}}\frac{2x^{2} - 8x + 8}{\sqrt{\left( {x - 2} \right)^{2} + \left( {y + 3} \right)^{2}}}} \\ & {= \underset{{({x,y})}\rightarrow{({2,-3})}}{\text{lim}}\frac{2\left( {x^{2} - 4x + 4} \right)}{\sqrt{\left( {x - 2} \right)^{2} + \left( {y + 3} \right)^{2}}}} \\ & {= \underset{{({x,y})}\rightarrow{({2,-3})}}{\text{lim}}\frac{2\left( {x - 2} \right)^{2}}{\sqrt{\left( {x - 2} \right)^{2} + \left( {y + 3} \right)^{2}}}} \\ & {\leq \underset{{({x,y})}\rightarrow{({2,-3})}}{\text{lim}}\frac{2\left( {\left( {x - 2} \right)^{2} + \left( {y + 3} \right)^{2}} \right)}{\sqrt{\left( {x - 2} \right)^{2} + \left( {y + 3} \right)^{2}}}} \\ & {= \underset{{({x,y})}\rightarrow{({2,-3})}}{\text{lim}}2\sqrt{\left( {x - 2} \right)^{2} + \left( {y + 3} \right)^{2}}} \\ & {= 0.}\end{array}$$

Since $E\left( {x,y} \right) \geq 0$ for any value of $x\ \text{or}\ y,$ the original limit must be equal to zero. Therefore, $f\left( {x,y} \right) = 2x^{2} - 4y$ is differentiable at point $\left( {2,-3} \right).$

由于对任意 $x$ 或 $y$ 均有 $E\left( {x,y} \right) \geq 0$,原极限必为零。因此,$f\left( {x,y} \right) = 2x^{2} - 4y$ 在点 $\left( {2,-3} \right)$ 处可微。

Show that the function $f\left( {x,y} \right) = 3x - 4y^{2}$ is differentiable at point $\left( {-1,2} \right).$

证明函数 $f\left( {x,y} \right) = 3x - 4y^{2}$ 在点 $\left( {-1,2} \right)$ 处可微。

$$f\left( {x,y} \right) = \begin{cases}\frac{xy}{\sqrt{x^{2} + y^{2}}} & {\left( {x,y} \right) \neq \left( {0,0} \right)} \\0 & {\left( {x,y} \right) = \left( {0,0} \right)}\end{cases}$$ is not differentiable at the origin. We can see this by calculating the partial derivatives. This function appeared earlier in the section, where we showed that $f_{x}\left( {0,0} \right) = f_{y}\left( {0,0} \right) = 0.$ Substituting this information into Equation 4.26 using $x_{0} = 0$ and $y_{0} = 0,$ we get

$$f\left( {x,y} \right) = \begin{cases}\frac{xy}{\sqrt{x^{2} + y^{2}}} & {\left( {x,y} \right) \neq \left( {0,0} \right)} \\0 & {\left( {x,y} \right) = \left( {0,0} \right)}\end{cases}$$ 该函数在原点不可微。这一点可通过计算偏导数看出。本节前面已说明该函数满足 $f_{x}\left( {0,0} \right) = f_{y}\left( {0,0} \right) = 0$。将这一信息代入式 4.26,取 $x_{0} = 0$、$y_{0} = 0$,得到

$$\begin{array}{rll}{f\left( {x,y} \right)} & = & {f\left( {0,0} \right) + f_{x}\left( {0,0} \right)\left( {x - 0} \right) + f_{y}\left( {0,0} \right)\left( {y - 0} \right) + E\left( {x,y} \right)} \\{E\left( {x,y} \right)} & = & {\frac{xy}{\sqrt{x^{2} + y^{2}}}.}\end{array}$$

$$\begin{array}{rll}{f\left( {x,y} \right)} & = & {f\left( {0,0} \right) + f_{x}\left( {0,0} \right)\left( {x - 0} \right) + f_{y}\left( {0,0} \right)\left( {y - 0} \right) + E\left( {x,y} \right)} \\{E\left( {x,y} \right)} & = & {\frac{xy}{\sqrt{x^{2} + y^{2}}}.}\end{array}$$

Calculating $\underset{{({x,y})}\rightarrow{({x_{0},y_{0}})}}{\text{lim}}\frac{E\left( {x,y} \right)}{\sqrt{\left( {x - x_{0}} \right)^{2} + \left( {y - y_{0}} \right)^{2}}}$ gives

计算 $\underset{{({x,y})}\rightarrow{({x_{0},y_{0}})}}{\text{lim}}\frac{E\left( {x,y} \right)}{\sqrt{\left( {x - x_{0}} \right)^{2} + \left( {y - y_{0}} \right)^{2}}}$ 得

$$\begin{array}{cl}{\underset{{({x,y})}\rightarrow{({x_{0},y_{0}})}}{\text{lim}}\frac{E\left( {x,y} \right)}{\sqrt{\left( {x - x_{0}} \right)^{2} + \left( {y - y_{0}} \right)^{2}}}} & {= \underset{{({x,y})}\rightarrow{({0,0})}}{\text{lim}}\frac{\frac{xy}{\sqrt{x^{2} + y^{2}}}}{\sqrt{x^{2} + y^{2}}}} \\ & {= \underset{{({x,y})}\rightarrow{({0,0})}}{\text{lim}}\frac{xy}{x^{2} + y^{2}}.}\end{array}$$

$$\begin{array}{cl}{\underset{{({x,y})}\rightarrow{({x_{0},y_{0}})}}{\text{lim}}\frac{E\left( {x,y} \right)}{\sqrt{\left( {x - x_{0}} \right)^{2} + \left( {y - y_{0}} \right)^{2}}}} & {= \underset{{({x,y})}\rightarrow{({0,0})}}{\text{lim}}\frac{\frac{xy}{\sqrt{x^{2} + y^{2}}}}{\sqrt{x^{2} + y^{2}}}} \\ & {= \underset{{({x,y})}\rightarrow{({0,0})}}{\text{lim}}\frac{xy}{x^{2} + y^{2}}.}\end{array}$$

Depending on the path taken toward the origin, this limit takes different values. Therefore, the limit does not exist and the function $f$ is not differentiable at the origin as shown in the following figure.

沿不同路径逼近原点时,该极限取不同的值。因此极限不存在,函数 $f$ 在原点不可微(如下图所示)。

Differentiability and continuity for functions of two or more variables are connected, the same as for functions of one variable. In fact, with some adjustments of notation, the basic theorem is the same.

二元及多元函数的可微性与连续性之间相互关联,这与一元函数的情况相同。事实上,只需对记号稍作调整,基本定理也是一样的。

Differentiability Implies Continuity 可微性蕴含连续性

Let $z = f\left( {x,y} \right)$ be a function of two variables with $\left( {x_{0},y_{0}} \right)$ in the domain of $f.$ If $f\left( {x,y} \right)$ is differentiable at $\left( {x_{0},y_{0}} \right),$ then $f\left( {x,y} \right)$ is continuous at $\left( {x_{0},y_{0}} \right).$

设 $z = f\left( {x,y} \right)$ 为二元函数,且 $\left( {x_{0},y_{0}} \right)$ 在 $f$ 的定义域内。若 $f\left( {x,y} \right)$ 在 $\left( {x_{0},y_{0}} \right)$ 处可微,则 $f\left( {x,y} \right)$ 在 $\left( {x_{0},y_{0}} \right)$ 处连续。

Differentiability Implies Continuity shows that if a function is differentiable at a point, then it is continuous there. However, if a function is continuous at a point, then it is not necessarily differentiable at that point. For example,

「可微性蕴含连续性」表明:若函数在某点可微,则它在该点连续。然而,若函数在某点连续,却不一定在该点可微。例如,

$$f\left( {x,y} \right) = \begin{cases}\frac{xy}{\sqrt{x^{2} + y^{2}}} & {\left( {x,y} \right) \neq \left( {0,0} \right)} \\0 & {\left( {x,y} \right) = \left( {0,0} \right)}\end{cases}$$

$$f\left( {x,y} \right) = \begin{cases}\frac{xy}{\sqrt{x^{2} + y^{2}}} & {\left( {x,y} \right) \neq \left( {0,0} \right)} \\0 & {\left( {x,y} \right) = \left( {0,0} \right)}\end{cases}$$

is continuous at the origin, but it is not differentiable at the origin. This observation is also similar to the situation in single-variable calculus.

该函数在原点连续,但在原点不可微。这一观察也与一元微积分中的情形类似。

Continuity of First Partials Implies Differentiability further explores the connection between continuity and differentiability at a point. This theorem says that if the function and its partial derivatives are continuous at a point, the function is differentiable.

「一阶偏导数的连续性蕴含可微性」进一步探讨了连续性与可微性在一点处的关系。该定理指出:若函数及其偏导数在某点连续,则该函数在该点可微。

Continuity of First Partials Implies Differentiability 一阶偏导数的连续性蕴含可微性

Let $z = f\left( {x,y} \right)$ be a function of two variables with $\left( {x_{0},y_{0}} \right)$ in the domain of $f.$ If $f\left( {x,y} \right),$ $f_{x}\left( {x,y} \right),$ and $f_{y}\left( {x,y} \right)$ all exist in a neighborhood of $\left( {x_{0},y_{0}} \right)$ and are continuous at $\left( {x_{0},y_{0}} \right),$ then $f\left( {x,y} \right)$ is differentiable there.

设 $z = f\left( {x,y} \right)$ 为二元函数,且 $\left( {x_{0},y_{0}} \right)$ 在 $f$ 的定义域内。若 $f\left( {x,y} \right)$、$f_{x}\left( {x,y} \right)$、$f_{y}\left( {x,y} \right)$ 都在 $\left( {x_{0},y_{0}} \right)$ 的某邻域内存在,且都在 $\left( {x_{0},y_{0}} \right)$ 处连续,则 $f\left( {x,y} \right)$ 在该点可微。

Recall that earlier we showed that the function

回顾前面我们曾证明,函数

$$f\left( {x,y} \right) = \begin{cases}\frac{xy}{\sqrt{x^{2} + y^{2}}} & {\left( {x,y} \right) \neq \left( {0,0} \right)} \\0 & {\left( {x,y} \right) = \left( {0,0} \right)}\end{cases}$$

$$f\left( {x,y} \right) = \begin{cases}\frac{xy}{\sqrt{x^{2} + y^{2}}} & {\left( {x,y} \right) \neq \left( {0,0} \right)} \\0 & {\left( {x,y} \right) = \left( {0,0} \right)}\end{cases}$$

was not differentiable at the origin. Let's calculate the partial derivatives $f_{x}$ and $f_{y}\text{:}$

在原点不可微。下面计算偏导数 $f_{x}$ 与 $f_{y}$:

$$\frac{\partial f}{\partial x} = \frac{y^{3}}{\left( {x^{2} + y^{2}} \right)^{3\text{/}2}}\quad\text{and}\quad\frac{\partial f}{\partial y} = \frac{x^{3}}{\left( {x^{2} + y^{2}} \right)^{3\text{/}2}}.$$

$$\frac{\partial f}{\partial x} = \frac{y^{3}}{\left( {x^{2} + y^{2}} \right)^{3\text{/}2}}\quad\text{and}\quad\frac{\partial f}{\partial y} = \frac{x^{3}}{\left( {x^{2} + y^{2}} \right)^{3\text{/}2}}.$$

The contrapositive of the preceding theorem states that if a function is not differentiable, then at least one of the hypotheses must be false. Let's explore the condition that $f_{x}\left( {0,0} \right)$ must be continuous. For this to be true, it must be true that $\underset{{({x,y})}\rightarrow{({0,0})}}{\text{lim}}f_{x}\left( {0,0} \right) = f_{x}\left( {0,0} \right)\text{:}$

上述定理的逆否命题指出:若函数不可微,则至少有一个假设不成立。我们来考察 $f_{x}\left( {0,0} \right)$ 必须连续这一条件。要使该条件成立,必须有 $\underset{{({x,y})}\rightarrow{({0,0})}}{\text{lim}}f_{x}\left( {0,0} \right) = f_{x}\left( {0,0} \right)$:

$$\underset{{({x,y})}\rightarrow{({0,0})}}{\text{lim}}f_{x}\left( {x,y} \right) = \underset{{({x,y})}\rightarrow{({0,0})}}{\text{lim}}\frac{y^{3}}{\left( {x^{2} + y^{2}} \right)^{3\text{/}2}}.$$

$$\underset{{({x,y})}\rightarrow{({0,0})}}{\text{lim}}f_{x}\left( {x,y} \right) = \underset{{({x,y})}\rightarrow{({0,0})}}{\text{lim}}\frac{y^{3}}{\left( {x^{2} + y^{2}} \right)^{3\text{/}2}}.$$

Let $x = ky.$ Then

令 $x = ky$。则

$$\begin{array}{cl}{\underset{{({x,y})}\rightarrow{({0,0})}}{\text{lim}}\frac{y^{3}}{\left( {x^{2} + y^{2}} \right)^{3\text{/}2}}} & {= \underset{y\rightarrow 0}{\text{lim}}\frac{y^{3}}{\left( {\left( {ky} \right)^{2} + y^{2}} \right)^{3\text{/}2}}} \\ & {= \underset{y\rightarrow 0}{\text{lim}}\frac{y^{3}}{\left( {k^{2}y^{2} + y^{2}} \right)^{3\text{/}2}}} \\ & {= \underset{y\rightarrow 0}{\text{lim}}\frac{y^{3}}{|y|^{3}\left( {k^{2} + 1} \right)^{3\text{/}2}}} \\ & {= \frac{1}{\left( {k^{2} + 1} \right)^{3\text{/}2}}\underset{y\rightarrow 0}{\text{lim}}\frac{|y|}{y}.}\end{array}$$

$$\begin{array}{cl}{\underset{{({x,y})}\rightarrow{({0,0})}}{\text{lim}}\frac{y^{3}}{\left( {x^{2} + y^{2}} \right)^{3\text{/}2}}} & {= \underset{y\rightarrow 0}{\text{lim}}\frac{y^{3}}{\left( {\left( {ky} \right)^{2} + y^{2}} \right)^{3\text{/}2}}} \\ & {= \underset{y\rightarrow 0}{\text{lim}}\frac{y^{3}}{\left( {k^{2}y^{2} + y^{2}} \right)^{3\text{/}2}}} \\ & {= \underset{y\rightarrow 0}{\text{lim}}\frac{y^{3}}{|y|^{3}\left( {k^{2} + 1} \right)^{3\text{/}2}}} \\ & {= \frac{1}{\left( {k^{2} + 1} \right)^{3\text{/}2}}\underset{y\rightarrow 0}{\text{lim}}\frac{|y|}{y}.}\end{array}$$

If $y > 0,$ then this expression equals ${1\text{/}\left( {k^{2} + 1} \right)^{3\text{/}2}};$ if $y < 0,$ then it equals $\text{−}\left( {1\text{/}\left( {k^{2} + 1} \right)^{3\text{/}2}} \right).$ In either case, the value depends on $k,$ so the limit fails to exist.

若 $y > 0$,则上式等于 ${1\text{/}\left( {k^{2} + 1} \right)^{3\text{/}2}}$;若 $y < 0$,则等于 $\text{−}\left( {1\text{/}\left( {k^{2} + 1} \right)^{3\text{/}2}} \right)$。无论哪种情形,其值都依赖于 $k$,故极限不存在。

Differentials 微分

In Linear Approximations and Differentials we first studied the concept of differentials. The differential of $y,$ written $dy,$ is defined as $f^{\prime}(x)dx.$ The differential is used to approximate $\text{Δ}y = f\left( {x + \text{Δ}x} \right) - f(x),$ where $\text{Δ}x = dx.$ Extending this idea to the linear approximation of a function of two variables at the point $\left( {x_{0},y_{0}} \right)$ yields the formula for the total differential for a function of two variables.

在《线性逼近与微分》中,我们首次研究了微分的概念。变量 $y$ 的微分(记作 $dy$)定义为 $f^{\prime}(x)dx$。微分用于逼近 $\text{Δ}y = f\left( {x + \text{Δ}x} \right) - f(x)$,其中 $\text{Δ}x = dx$。把这一思想推广到二元函数在点 $\left( {x_{0},y_{0}} \right)$ 处的线性逼近,便得到二元函数的全微分公式。

Let $z = f\left( {x,y} \right)$ be a function of two variables with $\left( {x_{0},y_{0}} \right)$ in the domain of $f,$ and let $\text{Δ}x$ and $\text{Δ}y$ be chosen so that $\left( {x_{0} + \text{Δ}x,y_{0} + \text{Δ}y} \right)$ is also in the domain of $f.$ If $f$ is differentiable at the point $\left( {x_{0},y_{0}} \right),$ then the differentials $dx$ and $dy$ are defined as

设 $z = f\left( {x,y} \right)$ 是定义在 $f$ 的定义域中含有点 $\left( {x_{0},y_{0}} \right)$ 的二元函数,并取 $\text{Δ}x$ 与 $\text{Δ}y$ 使 $\left( {x_{0} + \text{Δ}x,y_{0} + \text{Δ}y} \right)$ 也在 $f$ 的定义域中。若 $f$ 在点 $\left( {x_{0},y_{0}} \right)$ 可微,则微分 $dx$ 与 $dy$ 定义为

$$dx = \text{Δ}x\ \text{and}\ dy = \text{Δ}y.$$

$$dx = \text{Δ}x\ \text{and}\ dy = \text{Δ}y.$$

The differential $dz,$ also called the total differential of $z = f\left( {x,y} \right)$ at $\left( {x_{0},y_{0}} \right),$ is defined as

微分 $dz$(也称为 $z = f\left( {x,y} \right)$ 在点 $\left( {x_{0},y_{0}} \right)$ 处的全微分)定义为

$$dz = f_{x}\left( {x_{0},y_{0}} \right)dx + f_{y}\left( {x_{0},y_{0}} \right)dy.$$ (4.27)

$$dz = f_{x}\left( {x_{0},y_{0}} \right)dx + f_{y}\left( {x_{0},y_{0}} \right)dy.$$ (4.27)

Notice that the symbol $\partial$ is not used to denote the total differential; rather, $d$ appears in front of $z.$ Now, let’s define $\text{Δ}z = f\left( {x + \text{Δ}x,y + \text{Δ}y} \right) - f\left( {x,y} \right).$ We use $dz$ to approximate $\text{Δ}z,$ so

注意,全微分不用符号 $\partial$ 表示,而是把 $d$ 写在 $z$ 前面。现在定义 $\text{Δ}z = f\left( {x + \text{Δ}x,y + \text{Δ}y} \right) - f\left( {x,y} \right)$。我们用 $dz$ 来逼近 $\text{Δ}z$,于是

$$\text{Δ}z \approx dz = f_{x}\left( {x_{0},y_{0}} \right)dx + f_{y}\left( {x_{0},y_{0}} \right)dy.$$

$$\text{Δ}z \approx dz = f_{x}\left( {x_{0},y_{0}} \right)dx + f_{y}\left( {x_{0},y_{0}} \right)dy.$$

Therefore, the differential is used to approximate the change in the function $z = f\left( {x_{0},y_{0}} \right)$ at the point $\left( {x_{0},y_{0}} \right)$ for given values of $\text{Δ}x$ and $\text{Δ}y.$ Since $\text{Δ}z = f\left( {x + \text{Δ}x,y + \text{Δ}y} \right) - f\left( {x,y} \right),$ this can be used further to approximate $f\left( {x + \text{Δ}x,y + \text{Δ}y} \right)\text{:}$

因此,对于给定的 $\text{Δ}x$ 与 $\text{Δ}y$,微分用来逼近函数 $z = f\left( {x_{0},y_{0}} \right)$ 在点 $\left( {x_{0},y_{0}} \right)$ 处的变化量。由于 $\text{Δ}z = f\left( {x + \text{Δ}x,y + \text{Δ}y} \right) - f\left( {x,y} \right)$,这还可进一步用来逼近 $f\left( {x + \text{Δ}x,y + \text{Δ}y} \right)$:

$$\begin{array}{cl}{f\left( {x + \text{Δ}x,y + \text{Δ}y} \right)} & {= f\left( {x,y} \right) + \text{Δ}z} \\ & {\approx f\left( {x,y} \right) + f_{x}\left( {x_{0},y_{0}} \right)\text{Δ}x + f_{y}\left( {x_{0},y_{0}} \right)\text{Δ}y.}\end{array}$$

$$\begin{array}{cl}{f\left( {x + \text{Δ}x,y + \text{Δ}y} \right)} & {= f\left( {x,y} \right) + \text{Δ}z} \\ & {\approx f\left( {x,y} \right) + f_{x}\left( {x_{0},y_{0}} \right)\text{Δ}x + f_{y}\left( {x_{0},y_{0}} \right)\text{Δ}y.}\end{array}$$

See the following figure.

见下图。

One such application of this idea is to determine error propagation. For example, if we are manufacturing a gadget and are off by a certain amount in measuring a given quantity, the differential can be used to estimate the error in the total volume of the gadget.

这一思想的一个应用是确定误差传播。例如,若我们制造某种小器件时在测量某一数量时偏离了一定数值,可用微分来估计该器件总体积的误差。

Approximation by Differentials 用微分作逼近

Find the differential $dz$ of the function $f\left( {x,y} \right) = 3x^{2} - 2xy + y^{2}$ and use it to approximate $\text{Δ}z$ at point $\left( {2,-3} \right).$ Use $\text{Δ}x = 0.1$ and $\text{Δ}y = -0.05.$ What is the exact value of $\text{Δ}z?$

求函数 $f\left( {x,y} \right) = 3x^{2} - 2xy + y^{2}$ 的微分 $dz$,并用它在点 $\left( {2,-3} \right)$ 处逼近 $\text{Δ}z$。取 $\text{Δ}x = 0.1$,$\text{Δ}y = -0.05$。$\text{Δ}z$ 的精确值是多少?

Solution

First, we must calculate $f\left( {x_{0},y_{0}} \right),f_{x}\left( {x_{0},y_{0}} \right),\ \text{and}\ f_{y}\left( {x_{0},y_{0}} \right)$ using $x_{0} = 2$ and $y_{0} = -3\text{:}$

首先,利用 $x_{0} = 2$ 与 $y_{0} = -3$ 计算 $f\left( {x_{0},y_{0}} \right),f_{x}\left( {x_{0},y_{0}} \right),\ \text{and}\ f_{y}\left( {x_{0},y_{0}} \right)$:

$$\begin{array}{rll}{f\left( {x_{0},y_{0}} \right)} & = & {f\left( {2,-3} \right) = 3(2)^{2} - 2(2)(-3) + (-3)^{2} = 12 + 12 + 9 = 33} \\ {f_{x}\left( {x,y} \right)} & = & {6x - 2y} \\ {f_{y}\left( {x,y} \right)} & = & {-2x + 2y} \\ {f_{x}\left( {x_{0},y_{0}} \right)} & = & {f_{x}\left( {2,-3} \right) = 6(2) - 2(-3) = 12 + 6 = 18} \\ {f_{y}\left( {x_{0},y_{0}} \right)} & = & {f_{y}\left( {2,-3} \right) = -2(2) + 2(-3) = -4 - 6 = -10.}\end{array}$$

$$\begin{array}{rll}{f\left( {x_{0},y_{0}} \right)} & = & {f\left( {2,-3} \right) = 3(2)^{2} - 2(2)(-3) + (-3)^{2} = 12 + 12 + 9 = 33} \\ {f_{x}\left( {x,y} \right)} & = & {6x - 2y} \\ {f_{y}\left( {x,y} \right)} & = & {-2x + 2y} \\ {f_{x}\left( {x_{0},y_{0}} \right)} & = & {f_{x}\left( {2,-3} \right) = 6(2) - 2(-3) = 12 + 6 = 18} \\ {f_{y}\left( {x_{0},y_{0}} \right)} & = & {f_{y}\left( {2,-3} \right) = -2(2) + 2(-3) = -4 - 6 = -10.}\end{array}$$

Then, we substitute these quantities into Equation 4.27:

然后,把这些量代入公式 4.27:

$$\begin{array}{l}{dz = f_{x}\left( {x_{0},y_{0}} \right)dx + f_{y}\left( {x_{0},y_{0}} \right)dy} \\ {dz = 18(0.1) - 10(-0.05) = 1.8 + 0.5 = 2.3.}\end{array}$$

$$\begin{array}{l}{dz = f_{x}\left( {x_{0},y_{0}} \right)dx + f_{y}\left( {x_{0},y_{0}} \right)dy} \\ {dz = 18(0.1) - 10(-0.05) = 1.8 + 0.5 = 2.3.}\end{array}$$

This is the approximation to $\text{Δ}z = f\left( {x_{0} + \text{Δ}x,y_{0} + \text{Δ}y} \right) - f\left( {x_{0},y_{0}} \right).$ The exact value of $\text{Δ}z$ is given by

这是对 $\text{Δ}z = f\left( {x_{0} + \text{Δ}x,y_{0} + \text{Δ}y} \right) - f\left( {x_{0},y_{0}} \right)$ 的逼近。$\text{Δ}z$ 的精确值由下式给出

$$\begin{array}{cl}{\text{Δ}z} & {= f\left( {x_{0} + \text{Δ}x,y_{0} + \text{Δ}y} \right) - f\left( {x_{0},y_{0}} \right)} \\ & {= f\left( {2 + 0.1,-3 - 0.05} \right) - f\left( {2,-3} \right)} \\ & {= f\left( {2.1,-3.05} \right) - f\left( {2,-3} \right)} \\ & {= 2.3425.}\end{array}$$

$$\begin{array}{cl}{\text{Δ}z} & {= f\left( {x_{0} + \text{Δ}x,y_{0} + \text{Δ}y} \right) - f\left( {x_{0},y_{0}} \right)} \\ & {= f\left( {2 + 0.1,-3 - 0.05} \right) - f\left( {2,-3} \right)} \\ & {= f\left( {2.1,-3.05} \right) - f\left( {2,-3} \right)} \\ & {= 2.3425.}\end{array}$$

Find the differential $dz$ of the function $f\left( {x,y} \right) = 4y^{2} + x^{2}y - 2xy$ and use it to approximate $\text{Δ}z$ at point $\left( {1,-1} \right).$ Use $\text{Δ}x = 0.03$ and $\text{Δ}y = -0.02.$ What is the exact value of $\text{Δ}z?$

求函数 $f\left( {x,y} \right) = 4y^{2} + x^{2}y - 2xy$ 的微分 $dz$,并用它在点 $\left( {1,-1} \right)$ 处逼近 $\text{Δ}z$。取 $\text{Δ}x = 0.03$,$\text{Δ}y = -0.02$。$\text{Δ}z$ 的精确值是多少?

Differentiability of a Function of Three Variables 三元函数的可微性

All of the preceding results for differentiability of functions of two variables can be generalized to functions of three variables. First, the definition:

前面关于二元函数可微性的所有结果都可以推广到三元函数。首先给出定义:

A function $f\left( {x,y,z} \right)$ is differentiable at a point $P\left( {x_{0},y_{0},z_{0}} \right)$ if for all points $\left( {x,y,z} \right)$ in a $\delta$ disk around $P$ we can write

若函数 $f\left( {x,y,z} \right)$ 在点 $P\left( {x_{0},y_{0},z_{0}} \right)$ 可微,则对于 $P$ 的某个 $\delta$ 邻域内的所有点 $\left( {x,y,z} \right)$,都能写出

$$\begin{array}{cl}{f\left( {x,y,z} \right)} & {= f\left( {x_{0},y_{0},z_{0}} \right) + f_{x}\left( {x_{0},y_{0},z_{0}} \right)\left( {x - x_{0}} \right) + f_{y}\left( {x_{0},y_{0},z_{0}} \right)\left( {y - y_{0}} \right)} \\ & {\mspace{9mu} + f_{z}\left( {x_{0},y_{0},z_{0}} \right)\left( {z - z_{0}} \right) + E\left( {x,y,z} \right),}\end{array}$$ (4.28)

$$\begin{array}{cl}{f\left( {x,y,z} \right)} & {= f\left( {x_{0},y_{0},z_{0}} \right) + f_{x}\left( {x_{0},y_{0},z_{0}} \right)\left( {x - x_{0}} \right) + f_{y}\left( {x_{0},y_{0},z_{0}} \right)\left( {y - y_{0}} \right)} \\ & {\mspace{9mu} + f_{z}\left( {x_{0},y_{0},z_{0}} \right)\left( {z - z_{0}} \right) + E\left( {x,y,z} \right),}\end{array}$$ (4.28)

where the error term *E* satisfies

其中误差项 *E* 满足

$$\underset{{({x,y,z})}\rightarrow{({x_{0},y_{0},z_{0}})}}{\text{lim}}\frac{E\left( {x,y,z} \right)}{\sqrt{\left( {x - x_{0}} \right)^{2} + \left( {y - y_{0}} \right)^{2} + \left( {z - z_{0}} \right)^{2}}} = 0.$$

$$\underset{{({x,y,z})}\rightarrow{({x_{0},y_{0},z_{0}})}}{\text{lim}}\frac{E\left( {x,y,z} \right)}{\sqrt{\left( {x - x_{0}} \right)^{2} + \left( {y - y_{0}} \right)^{2} + \left( {z - z_{0}} \right)^{2}}} = 0.$$

If a function of three variables is differentiable at a point $\left( {x_{0},y_{0},z_{0}} \right),$ then it is continuous there. Furthermore, continuity of first partial derivatives at that point guarantees differentiability.

若三元函数在点 $\left( {x_{0},y_{0},z_{0}} \right)$ 可微,则它在该点连续。此外,一阶偏导数在该点连续可保证可微性。

Section 4.4 Exercises 4.4 节习题

For the following exercises, find a unit normal vector to the surface at the indicated point.

对下列习题,求曲面在指定点处的单位法向量。

163.

163.

$z = {f(x,y) = x^{3},(2,-1,8)}$

$z = {f(x,y) = x^{3},(2,-1,8)}$

164\.

164.

$\text{ln}\left( \frac{x}{y - z} \right) = 0$ when $x = y = 1$

$\text{ln}\left( \frac{x}{y - z} \right) = 0$ when $x = y = 1$

For the following exercises, as a useful review for techniques used in this section, find a normal vector and a tangent vector at point $P.$

对下列习题(作为本节所用技巧的有益复习),求点 $P$ 处的法向量与切向量。

165.

165.

$x^{2} + xy + y^{2} = 3,P(-1,-1)$

$x^{2} + xy + y^{2} = 3,P(-1,-1)$

166\.

166.

$\left( {x^{2} + y^{2}} \right)^{2} = 9\left( {x^{2} - y^{2}} \right),P(\sqrt{2},1)$

$\left( {x^{2} + y^{2}} \right)^{2} = 9\left( {x^{2} - y^{2}} \right),P(\sqrt{2},1)$

167.

167.

$xy^{2} - 2x^{2} + y + 5x = 6,P(4,2)$

$xy^{2} - 2x^{2} + y + 5x = 6,P(4,2)$

168\.

168.

$2x^{3} - x^{2}y^{2} = 3x - y - 7,P(1,-2)$

$2x^{3} - x^{2}y^{2} = 3x - y - 7,P(1,-2)$

169.

169.

$ze^{x^{2} - y^{2}} - 3 = 0,$ $P(2,2,3)$

$ze^{x^{2} - y^{2}} - 3 = 0,$ $P(2,2,3)$

For the following exercises, find the equation for the tangent plane to the surface at the indicated point. (*Hint:* Solve for $z$ in terms of $x$ and $y.)$

对下列习题,求曲面在指定点处的切平面方程。(*提示:*把 $z$ 解为 $x$ 与 $y$ 的函数。)

170\.

170.

$-8x - 3y - 7z = -19,P(1,-1,2)$

$-8x - 3y - 7z = -19,P(1,-1,2)$

171.

171.

$z = -9x^{2} - 3y^{2},P(2,1,-39)$

$z = -9x^{2} - 3y^{2},P(2,1,-39)$

172\.

172.

$x^{2} + 10xyz + y^{2} + 8z^{2} = 0,P(-1,-1,-1)$

$x^{2} + 10xyz + y^{2} + 8z^{2} = 0,P(-1,-1,-1)$

173.

173.

$z = \text{ln}(10x^{2} + 2y^{2} + 1),P(0,0,0)$

$z = \text{ln}(10x^{2} + 2y^{2} + 1),P(0,0,0)$

174\.

174.

$z = e^{7x^{2} + 4y^{2}},$ $P(0,0,1)$

$z = e^{7x^{2} + 4y^{2}},$ $P(0,0,1)$

175.

175.

$xy + yz + zx = 11,P(1,2,3)$

$xy + yz + zx = 11,P(1,2,3)$

176\.

176.

$x^{2} + 4y^{2} = z^{2},P(3,2,5)$

$x^{2} + 4y^{2} = z^{2},P(3,2,5)$

177.

177.

$x^{3} + y^{3} = 3xyz,P\left( {1,2,\frac{3}{2}} \right)$

$x^{3} + y^{3} = 3xyz,P\left( {1,2,\frac{3}{2}} \right)$

178\.

178.

$z = axy,P\left( {1,\frac{1}{a},1} \right)$

$z = axy,P\left( {1,\frac{1}{a},1} \right)$

179.

179.

$z = \text{sin}\ x + \text{sin}\ y + \text{sin}(x + y),P(0,0,0)$

$z = \text{sin}\ x + \text{sin}\ y + \text{sin}(x + y),P(0,0,0)$

180\.

180.

$z = {h(x,y) = \text{ln}\sqrt{x^{2} + y^{2}},P(3,4)}$

$z = {h(x,y) = \text{ln}\sqrt{x^{2} + y^{2}},P(3,4)}$

181.

181.

$z = x^{2} - 2xy + y^{2},P(1,2,1)$

$z = x^{2} - 2xy + y^{2},P(1,2,1)$

For the following exercises, find parametric equations for the normal line to the surface at the indicated point. (Recall that to find the equation of a line in space, you need a point on the line, $P_{0}\left( {x_{0,}y_{0},z_{0}} \right),$ and a vector $\mathbf{n} = \left\langle {a,b,c} \right\rangle$ that is parallel to the line. Then the equation of the line is $x - x_{0} = at,y - y_{0} = bt,z - z_{0} = ct.)$

对下列习题,求曲面在指定点处的法线参数方程。(回顾:要求空间中一条直线的方程,需要一个已知直线上的点 $P_{0}\left( {x_{0,}y_{0},z_{0}} \right)$ 和一个与该直线平行的向量 $\mathbf{n} = \left\langle {a,b,c} \right\rangle$。此时直线方程为 $x - x_{0} = at,y - y_{0} = bt,z - z_{0} = ct$。)

182\.

182.

$-3x + 9y + 4z = -4,P(1,-1,2)$

$-3x + 9y + 4z = -4,P(1,-1,2)$

183.

183.

$z = 5x^{2} - 2y^{2},P(2,1,18)$

$z = 5x^{2} - 2y^{2},P(2,1,18)$

184\.

184.

$x^{2} - 8xyz + y^{2} + 6z^{2} = 0,P(1,1,1)$

$x^{2} - 8xyz + y^{2} + 6z^{2} = 0,P(1,1,1)$

185.

185.

$z = \text{ln}\left( {3x^{2} + 7y^{2} + 1} \right),P(0,0,0)$

$z = \text{ln}\left( {3x^{2} + 7y^{2} + 1} \right),P(0,0,0)$

186\.

186.

$z = e^{4x^{2} + 6y^{2}},P(0,0,1)$

$z = e^{4x^{2} + 6y^{2}},P(0,0,1)$

187.

187.

$z = x^{2} - 2xy + y^{2}$ at point $P(1,2,1)$

$z = x^{2} - 2xy + y^{2}$ 在点 $P(1,2,1)$ 处

For the following exercises, use the figure shown here.

对下列习题,使用此处所示图形。

188\.

188.

The length of line segment $AC$ is equal to what mathematical expression?

线段 $AC$ 的长度等于什么数学表达式?

189.

189.

The length of line segment $BC$ is equal to what mathematical expression?

线段 $BC$ 的长度等于什么数学表达式?

190\.

190.

Using the figure, explain what the length of line segment $AB$ represents.

利用图形,说明线段 $AB$ 的长度表示什么。

For the following exercises, complete each task.

对下列习题,完成各任务。

191.

191.

Show that $f(x,y) = e^{xy}x$ is differentiable at point $(1,0).$

证明 $f(x,y) = e^{xy}x$ 在点 $(1,0)$ 可微。

192\.

192.

Find the total differential of the function $w = e^{y}\text{cos}(x) + z^{2}.$

求函数 $w = e^{y}\text{cos}(x) + z^{2}$ 的全微分。

193.

193.

Show that $f(x,y) = x^{2} + 3y$ is differentiable at every point. In other words, show that $\text{Δ}z = f(x + \text{Δ}x,y + \text{Δ}y) - f(x,y) = f_{x}\text{Δ}x + f_{y}\text{Δ}y + \varepsilon_{1}\text{Δ}x + \varepsilon_{2}\text{Δ}y,$ where both $\varepsilon_{1}$ and $\varepsilon_{2}$ approach zero as $\left( {\text{Δ}x,\text{Δ}y} \right)$ approaches $\left( {0,0} \right).$

证明 $f(x,y) = x^{2} + 3y$ 在每一点都可微。换言之,证明 $\text{Δ}z = f(x + \text{Δ}x,y + \text{Δ}y) - f(x,y) = f_{x}\text{Δ}x + f_{y}\text{Δ}y + \varepsilon_{1}\text{Δ}x + \varepsilon_{2}\text{Δ}y$,其中当 $\left( {\text{Δ}x,\text{Δ}y} \right)$ 趋于 $\left( {0,0} \right)$ 时,$\varepsilon_{1}$ 与 $\varepsilon_{2}$ 都趋于零。

194\.

194.

Find the total differential of the function $z = \frac{xy}{y + x}$ where $x$ changes from $10\ \text{to}\ 10.5$ and $y$ changes from $15\ \text{to}\ 13.$

求函数 $z = \frac{xy}{y + x}$ 的全微分,其中 $x$ 从 $10$ 变化到 $10.5$,$y$ 从 $15$ 变化到 $13$。

195.

195.

Let $z = f(x,y) = xe^{y}.$ Compute $\text{Δ}z$ from $P(1,2)$ to $Q(1.05,2.1)$ and then find the approximate change in $z$ from point $P$ to point $Q.$ Recall $\text{Δ}z = f(x + \text{Δ}x,y + \text{Δ}y) - f(x,y),$ and $dz$ and $\text{Δ}z$ are approximately equal.

设 $z = f(x,y) = xe^{y}$。计算从 $P(1,2)$ 到 $Q(1.05,2.1)$ 的 $\text{Δ}z$,再求从点 $P$ 到点 $Q$ 的 $z$ 的近似变化量。回顾 $\text{Δ}z = f(x + \text{Δ}x,y + \text{Δ}y) - f(x,y)$,且 $dz$ 与 $\text{Δ}z$ 近似相等。

196\.

196.

The volume of a right circular cylinder is given by $V(r,h) = \pi r^{2}h.$ Find the differential $dV.$ Interpret the formula geometrically.

直圆柱体的体积由 $V(r,h) = \pi r^{2}h$ 给出。求微分 $dV$,并从几何上解释该公式。

197.

197.

See the preceding problem. Use differentials to estimate the volume of aluminum in an enclosed aluminum can with diameter $8.0\ \text{cm}$ and height $12\ \text{cm}$ if the aluminum is $0.04$ cm thick.

见上一题。用微分估计一个封闭铝罐中铝的体积;该罐直径 $8.0\ \text{cm}$、高 $12\ \text{cm}$,铝厚 $0.04$ cm。

198\.

198.

Use the differential $dz$ to approximate the change in $z = \sqrt{4 - x^{2} - y^{2}}$ as $(x,y)$ moves from point $(1,1)$ to point $(1.01,0.97).$ Compare this approximation with the actual change in the function.

用微分 $dz$ 逼近当 $(x,y)$ 从点 $(1,1)$ 移动到点 $(1.01,0.97)$ 时 $z = \sqrt{4 - x^{2} - y^{2}}$ 的变化量,并将该逼近与函数的实际变化量进行比较。

199.

199.

Let $z = f(x,y) = x^{2} + 3xy - y^{2}.$ Find the exact change in the function and the approximate change in the function as $x$ changes from $2.00\ \text{to}\ 2.05$ and $y$ changes from $3.00\ \text{to}\ 2.96.$

设 $z = f(x,y) = x^{2} + 3xy - y^{2}$。当 $x$ 从 $2.00$ 变化到 $2.05$、$y$ 从 $3.00$ 变化到 $2.96$ 时,求函数的精确变化量与近似变化量。

200\.

200.

The centripetal acceleration of a particle moving in a circle is given by $a(r,v) = \frac{v^{2}}{r},$ where $v$ is the velocity and $r$ is the radius of the circle. Approximate the maximum percent error in measuring the acceleration resulting from errors of $3\text{\%}$ in $v$ and $2\text{\%}$ in $r.$ (Recall that the percentage error is the ratio of the amount of error over the original amount. So, in this case, the percentage error in $a$ is given by $\frac{da}{a}.)$

做圆周运动粒子的向心加速度由 $a(r,v) = \frac{v^{2}}{r}$ 给出,其中 $v$ 为速度、$r$ 为圆半径。若 $v$ 有 $3\text{\%}$ 的误差、$r$ 有 $2\text{\%}$ 的误差,逼近加速度测量的最大百分比误差。(回顾:百分比误差是误差量与原始量之比;因此本题中 $a$ 的百分比误差为 $\frac{da}{a}$。)

201.

201.

The radius $r$ and height $h$ of a right circular cylinder are measured with possible errors of $4\text{\%}\ \text{and}\ 5\text{\%},$ respectively. Approximate the maximum possible percentage error in measuring the volume (Recall that the percentage error is the ratio of the amount of error over the original amount. So, in this case, the percentage error in $V$ is given by $\frac{dV}{V}.)$

直圆柱的半径 $r$ 与高 $h$ 测量时可能分别有 $4\text{\%}$ 与 $5\text{\%}$ 的误差。逼近体积测量的最大可能百分比误差。(回顾:百分比误差是误差量与原始量之比;因此本题中 $V$ 的百分比误差为 $\frac{dV}{V}$。)

202\.

202.

The base radius and height of a right circular cone are measured as $10$ in. and $25$ in., respectively, with a possible error in measurement of as much as $0.1$ in. each. Use differentials to estimate the maximum error in the calculated volume of the cone.

直圆锥的下底半径与高分别测得为 $10$ in. 与 $25$ in.,每项测量的误差至多 $0.1$ in.。用微分估计该圆锥计算体积的最大误差。

203.

203.

The electrical resistance $R$ produced by wiring resistors $R_{1}$ and $R_{2}$ in parallel can be calculated from the formula $\frac{1}{R} = \frac{1}{R_{1}} + \frac{1}{R_{2}}.$ If $R_{1}$ and $R_{2}$ are measured to be $7\text{Ω}$ and $6\text{Ω},$ respectively, and if these measurements are accurate to within $0.05\text{Ω},$ estimate the maximum possible error in computing $R.$ (The symbol $\text{Ω}$ represents an ohm, the unit of electrical resistance.)

将电阻 $R_{1}$ 与 $R_{2}$ 并联所得的等效电阻 $R$ 可由公式 $\frac{1}{R} = \frac{1}{R_{1}} + \frac{1}{R_{2}}$ 计算。若测得 $R_{1} = 7\text{Ω}$、$R_{2} = 6\text{Ω}$,且测量精度在 $0.05\text{Ω}$ 以内,估计计算 $R$ 的最大可能误差。(符号 $\text{Ω}$ 表示欧姆,即电阻的单位。)

204\.

204.

The area of an ellipse with axes of length $2a$ and $2b$ is given by the formula

长半轴为 $2a$、短半轴为 $2b$ 的椭圆面积由下式给出

$A = \pi ab.$ Approximate the percent change in the area when $a$ increases by $2\text{\%}$ and $b$ increases by $1.5\text{\%}.$

$A = \pi ab.$ 当 $a$ 增加 $2\text{\%}$、$b$ 增加 $1.5\text{\%}$ 时,逼近面积的百分比变化。

205.

205.

The period $T$ of a simple pendulum with small oscillations is calculated from the formula $T = 2\pi\sqrt{\frac{L}{g}},$ where $L$ is the length of the pendulum and $g$ is the acceleration resulting from gravity. Suppose that $L$ and $g$ have errors of, at most, $0.5\text{\%}$ and $0.1\text{\%},$ respectively. Use differentials to approximate the maximum percentage error in the calculated value of $T.$

小振幅单摆的周期 $T$ 由公式 $T = 2\pi\sqrt{\frac{L}{g}}$ 计算,其中 $L$ 为摆长、$g$ 为重力加速度。设 $L$ 与 $g$ 的误差分别至多 $0.5\text{\%}$ 与 $0.1\text{\%}$。用微分逼近计算所得 $T$ 的最大百分比误差。

206\.

206.

Electrical power $P$ is given by $P = \frac{V^{2}}{R},$ where $V$ is the voltage and $R$ is the resistance. Approximate the maximum percentage error in calculating power if $120$ $V$ is applied to a $2000 - \text{Ω}$ resistor and the possible percent errors in measuring $V$ and $R$ are $3\text{\%}$ and $4\text{\%},$ respectively.

电功率 $P$ 由 $P = \frac{V^{2}}{R}$ 给出,其中 $V$ 为电压、$R$ 为电阻。若将 $120$ V 加在 $2000 - \text{Ω}$ 电阻上,且测量 $V$ 与 $R$ 的可能百分比误差分别为 $3\text{\%}$ 与 $4\text{\%}$,逼近计算功率的最大百分比误差。

For the following exercises, find the linear approximation of each function at the indicated point.

对下列习题,求各函数在指定点处的线性逼近。

207.

207.

$f(x,y) = x\sqrt{y},\quad P(1,4)$

$f(x,y) = x\sqrt{y},\quad P(1,4)$

208\.

208.

$f(x,y) = e^{x}\text{cos}\ y;P(0,0)$

$f(x,y) = e^{x}\text{cos}\ y;P(0,0)$

209.

209.

$f(x,y) = \text{arctan}(x + 2y),P(1,0)$

$f(x,y) = \text{arctan}(x + 2y),P(1,0)$

210\.

210.

$f(x,y) = \sqrt{20 - x^{2} - 7y^{2}},\quad P(2,1)$

$f(x,y) = \sqrt{20 - x^{2} - 7y^{2}},\quad P(2,1)$

211.

211.

$f(x,y,z) = \sqrt{x^{2} + y^{2} + z^{2}},\quad P(3,2,6)$

$f(x,y,z) = \sqrt{x^{2} + y^{2} + z^{2}},\quad P(3,2,6)$

212\.

212.

\[T\] Find an equation of the tangent plane to the surface $f(x,y) = x^{2} + y^{2}$ at point $\left( {1,2,5} \right),$ and graph the surface and the tangent plane at the point.

\[T\] 求曲面 $f(x,y) = x^{2} + y^{2}$ 在点 $\left( {1,2,5} \right)$ 处的切平面方程,并画出该点处的曲面与切平面。

213.

213.

\[T\] Find the equation for the tangent plane to the surface at the indicated point, and graph the surface and the tangent plane: $z = \text{ln}(10x^{2} + 2y^{2} + 1),P(0,0,0).$

\[T\] 求曲面在指定点处的切平面方程,并画出曲面与切平面:$z = \text{ln}(10x^{2} + 2y^{2} + 1),P(0,0,0)$。

214\.

214.

\[T\] Find an equation of the tangent plane to the surface $z = f(x,y) = \text{sin}(x + y^{2})$ at point $\left( {\frac{\pi}{4},0,\frac{\sqrt{2}}{2}} \right),$ and graph the surface and the tangent plane.

\[T\] 求曲面 $z = f(x,y) = \text{sin}(x + y^{2})$ 在点 $\left( {\frac{\pi}{4},0,\frac{\sqrt{2}}{2}} \right)$ 处的切平面方程,并画出该曲面与切平面。

4.5 The Chain Rule 4.5 链式法则

In single-variable calculus, we found that one of the most useful differentiation rules is the chain rule, which allows us to find the derivative of the composition of two functions. The same thing is true for multivariable calculus, but this time we have to deal with more than one form of the chain rule. In this section, we study extensions of the chain rule and learn how to take derivatives of compositions of functions of more than one variable.

在单变量微积分中,我们发现链式法则是最有用的求导法则之一,它让我们能求两个函数复合后的导数。多元微积分中情形同样如此,但这一次我们要面对链式法则的多种形式。本节研究链式法则的推广,并学习如何对多变量函数的复合求导。

Chain Rules for One or Two Independent Variables 一个或两个自变量情形的链式法则

Recall that the chain rule for the derivative of a composite of two functions can be written in the form

回顾一下,复合两个函数的导数链式法则可以写成如下形式

$$\frac{d}{dx}\left( {f\left( {g(x)} \right)} \right) = f\prime\left( {g(x)} \right)g\prime(x).$$

$$\frac{d}{dx}\left( {f\left( {g(x)} \right)} \right) = f\prime\left( {g(x)} \right)g\prime(x).$$

In this equation, both $f(x)$ and $g(x)$ are functions of one variable. Now suppose that $f$ is a function of two variables and $g$ is a function of one variable. Or perhaps they are both functions of two variables, or even more. How would we calculate the derivative in these cases? The following theorem gives us the answer for the case of one independent variable.

在这个等式里,$f(x)$ 与 $g(x)$ 都是一元函数。现在假设 $f$ 是二元函数,而 $g$ 是一元函数;或者它们可能都是二元函数,甚至更多元。这些情形下我们如何计算导数?下面的定理给出只有一个自变量时的答案。

Chain Rule for One Independent Variable 单自变量的链式法则

Suppose that $x = g(t)$ and $y = h(t)$ are differentiable functions of $t$ and $z = f\left( {x,y} \right)$ is a differentiable function of $x\ \text{and}\ y.$ Then $z = f\left( {x(t),y(t)} \right)$ is a differentiable function of $t$ and

设 $x = g(t)$ 与 $y = h(t)$ 都是 $t$ 的可微函数,且 $z = f\left( {x,y} \right)$ 是 $x$ 与 $y$ 的可微函数。则 $z = f\left( {x(t),y(t)} \right)$ 是 $t$ 的可微函数,并且

$$\frac{dz}{dt} = \frac{\partial z}{\partial x} \cdot \frac{dx}{dt} + \frac{\partial z}{\partial y} \cdot \frac{dy}{dt},$$ (4.29)

$$\frac{dz}{dt} = \frac{\partial z}{\partial x} \cdot \frac{dx}{dt} + \frac{\partial z}{\partial y} \cdot \frac{dy}{dt},$$ (4.29)

where the ordinary derivatives are evaluated at $t$ and the partial derivatives are evaluated at $\left( {x,y} \right).$

其中普通导数在 $t$ 处取值,偏导数在 $\left( {x,y} \right)$ 处取值。

Proof 证明

The proof of this theorem uses the definition of differentiability of a function of two variables. Suppose that *f* is differentiable at the point $P\left( {x_{0},y_{0}} \right),$ where $x_{0} = g\left( t_{0} \right)$ and $y_{0} = h\left( t_{0} \right)$ for a fixed value of $t_{0}.$ We wish to prove that $z = f\left( {x(t),y(t)} \right)$ is differentiable at $t = t_{0}$ and that Equation 4.29 holds at that point as well.

本定理的证明用到二元函数可微性的定义。设 *f* 在点 $P\left( {x_{0},y_{0}} \right)$ 处可微,其中对于某个固定的 $t_{0}$,有 $x_{0} = g\left( t_{0} \right)$、$y_{0} = h\left( t_{0} \right)$。我们想证明 $z = f\left( {x(t),y(t)} \right)$ 在 $t = t_{0}$ 处可微,且等式 (4.29) 在该点也成立。

Since $f$ is differentiable at $P,$ we know that

由于 $f$ 在 $P$ 处可微,我们有

$$z(t) = f\left( {x,y} \right) = f\left( {x_{0},y_{0}} \right) + f_{x}\left( {x_{0},y_{0}} \right)\left( {x - x_{0}} \right) + f_{y}\left( {x_{0},y_{0}} \right)\left( {y - y_{0}} \right) + E\left( {x,y} \right),$$ (4.30)

$$z(t) = f\left( {x,y} \right) = f\left( {x_{0},y_{0}} \right) + f_{x}\left( {x_{0},y_{0}} \right)\left( {x - x_{0}} \right) + f_{y}\left( {x_{0},y_{0}} \right)\left( {y - y_{0}} \right) + E\left( {x,y} \right),$$ (4.30)

where $\underset{{({x,y})}\rightarrow{({x_{0},y_{0}})}}{\text{lim}}\frac{E\left( {x,y} \right)}{\sqrt{\left( {x - x_{0}} \right)^{2} + \left( {y - y_{0}} \right)^{2}}} = 0.$ We then subtract $z_{0} = f\left( {x_{0},y_{0}} \right)$ from both sides of this equation:

其中 $\underset{{({x,y})}\rightarrow{({x_{0},y_{0}})}}{\text{lim}}\frac{E\left( {x,y} \right)}{\sqrt{\left( {x - x_{0}} \right)^{2} + \left( {y - y_{0}} \right)^{2}}} = 0$。然后我们从等式两边同时减去 $z_{0} = f\left( {x_{0},y_{0}} \right)$:

$$\begin{array}{cl} {z(t) - z\left( t_{0} \right)} & {= f\left( {x(t),y(t)} \right) - f\left( {x\left( t_{0} \right),y\left( t_{0} \right)} \right)} \\ & {= f_{x}\left( {x_{0},y_{0}} \right)\left( {x(t) - x\left( t_{0} \right)} \right) + f_{y}\left( {x_{0},y_{0}} \right)\left( {y(t) - y\left( t_{0} \right)} \right) + E\left( {x(t),y(t)} \right).} \end{array}$$

$$\begin{array}{cl} {z(t) - z\left( t_{0} \right)} & {= f\left( {x(t),y(t)} \right) - f\left( {x\left( t_{0} \right),y\left( t_{0} \right)} \right)} \\ & {= f_{x}\left( {x_{0},y_{0}} \right)\left( {x(t) - x\left( t_{0} \right)} \right) + f_{y}\left( {x_{0},y_{0}} \right)\left( {y(t) - y\left( t_{0} \right)} \right) + E\left( {x(t),y(t)} \right).} \end{array}$$

Next, we divide both sides by $t - t_{0}\text{:}$

接下来,等式两边同除以 $t - t_{0}$:

$$\frac{z(t) - z\left( t_{0} \right)}{t - t_{0}} = f_{x}\left( {x_{0},y_{0}} \right)\left( \frac{x(t) - x\left( t_{0} \right)}{t - t_{0}} \right) + f_{y}\left( {x_{0},y_{0}} \right)\left( \frac{y(t) - y\left( t_{0} \right)}{t - t_{0}} \right) + \frac{E\left( {x(t),y(t)} \right)}{t - t_{0}}.$$

$$\frac{z(t) - z\left( t_{0} \right)}{t - t_{0}} = f_{x}\left( {x_{0},y_{0}} \right)\left( \frac{x(t) - x\left( t_{0} \right)}{t - t_{0}} \right) + f_{y}\left( {x_{0},y_{0}} \right)\left( \frac{y(t) - y\left( t_{0} \right)}{t - t_{0}} \right) + \frac{E\left( {x(t),y(t)} \right)}{t - t_{0}}.$$

Then we take the limit as $t$ approaches $t_{0}\text{:}$

然后令 $t$ 趋于 $t_{0}$ 取极限:

$$\begin{array}{cl} {\underset{t\rightarrow t_{0}}{\text{lim}}\frac{z(t) - z\left( t_{0} \right)}{t - t_{0}}} & {= f_{x}\left( {x_{0},y_{0}} \right)\underset{t\rightarrow t_{0}}{\text{lim}}\left( \frac{x(t) - x\left( t_{0} \right)}{t - t_{0}} \right) + f_{y}\left( {x_{0},y_{0}} \right)\underset{t\rightarrow t_{0}}{\text{lim}}\left( \frac{y(t) - y\left( t_{0} \right)}{t - t_{0}} \right)} \\ & {\mspace{9mu} + \underset{t\rightarrow t_{0}}{\text{lim}}\frac{E\left( {x(t),y(t)} \right)}{t - t_{0}}.} \end{array}$$

$$\begin{array}{cl} {\underset{t\rightarrow t_{0}}{\text{lim}}\frac{z(t) - z\left( t_{0} \right)}{t - t_{0}}} & {= f_{x}\left( {x_{0},y_{0}} \right)\underset{t\rightarrow t_{0}}{\text{lim}}\left( \frac{x(t) - x\left( t_{0} \right)}{t - t_{0}} \right) + f_{y}\left( {x_{0},y_{0}} \right)\underset{t\rightarrow t_{0}}{\text{lim}}\left( \frac{y(t) - y\left( t_{0} \right)}{t - t_{0}} \right)} \\ & {\mspace{9mu} + \underset{t\rightarrow t_{0}}{\text{lim}}\frac{E\left( {x(t),y(t)} \right)}{t - t_{0}}.} \end{array}$$

The left-hand side of this equation is equal to ${{dz}\text{/}{dt}},$ which leads to

等式左边等于 ${{dz}\text{/}{dt}}$,于是得到

$$\frac{dz}{dt} = f_{x}\left( {x_{0},y_{0}} \right)\frac{dx}{dt} + f_{y}\left( {x_{0},y_{0}} \right)\frac{dy}{dt} + \underset{t\rightarrow t_{0}}{\text{lim}}\frac{E\left( {x(t),y(t)} \right)}{t - t_{0}}.$$

$$\frac{dz}{dt} = f_{x}\left( {x_{0},y_{0}} \right)\frac{dx}{dt} + f_{y}\left( {x_{0},y_{0}} \right)\frac{dy}{dt} + \underset{t\rightarrow t_{0}}{\text{lim}}\frac{E\left( {x(t),y(t)} \right)}{t - t_{0}}.$$

The last term can be rewritten as

最后一项可以改写为

$$\begin{array}{cl} {\underset{t\rightarrow t_{0}}{\text{lim}}\frac{E\left( {x(t),y(t)} \right)}{t - t_{0}}} & {= \underset{t\rightarrow t_{0}}{\text{lim}}\left( {\frac{E\left( {x,y} \right)}{\sqrt{\left( {x - x_{0}} \right)^{2} + \left( {y - y_{0}} \right)^{2}}}\ \frac{\sqrt{\left( {x - x_{0}} \right)^{2} + \left( {y - y_{0}} \right)^{2}}}{t - t_{0}}} \right)} \\ & {= \underset{t\rightarrow t_{0}}{\text{lim}}\left( \frac{E\left( {x,y} \right)}{\sqrt{\left( {x - x_{0}} \right)^{2} + \left( {y - y_{0}} \right)^{2}}} \right)\underset{t\rightarrow t_{0}}{\text{lim}}\left( \frac{\sqrt{\left( {x - x_{0}} \right)^{2} + \left( {y - y_{0}} \right)^{2}}}{t - t_{0}} \right).} \end{array}$$

$$\begin{array}{cl} {\underset{t\rightarrow t_{0}}{\text{lim}}\frac{E\left( {x(t),y(t)} \right)}{t - t_{0}}} & {= \underset{t\rightarrow t_{0}}{\text{lim}}\left( {\frac{E\left( {x,y} \right)}{\sqrt{\left( {x - x_{0}} \right)^{2} + \left( {y - y_{0}} \right)^{2}}}\ \frac{\sqrt{\left( {x - x_{0}} \right)^{2} + \left( {y - y_{0}} \right)^{2}}}{t - t_{0}}} \right)} \\ & {= \underset{t\rightarrow t_{0}}{\text{lim}}\left( \frac{E\left( {x,y} \right)}{\sqrt{\left( {x - x_{0}} \right)^{2} + \left( {y - y_{0}} \right)^{2}}} \right)\underset{t\rightarrow t_{0}}{\text{lim}}\left( \frac{\sqrt{\left( {x - x_{0}} \right)^{2} + \left( {y - y_{0}} \right)^{2}}}{t - t_{0}} \right).} \end{array}$$

As $t$ approaches $t_{0},$ $\left( {x(t),y(t)} \right)$ approaches $\left( {x\left( t_{0} \right),y\left( t_{0} \right)} \right),$ so we can rewrite the last product as

当 $t$ 趋于 $t_{0}$ 时,$\left( {x(t),y(t)} \right)$ 趋于 $\left( {x\left( t_{0} \right),y\left( t_{0} \right)} \right)$,于是最后一个乘积可改写为

$$\underset{{({x,y})}\rightarrow{({x_{0},y_{0}})}}{\text{lim}}\left( \frac{E\left( {x,y} \right)}{\sqrt{\left( {x - x_{0}} \right)^{2} + \left( {y - y_{0}} \right)^{2}}} \right)\underset{{({x,y})}\rightarrow{({x_{0},y_{0}})}}{\text{lim}}\left( \frac{\sqrt{\left( {x - x_{0}} \right)^{2} + \left( {y - y_{0}} \right)^{2}}}{t - t_{0}} \right).$$

$$\underset{{({x,y})}\rightarrow{({x_{0},y_{0}})}}{\text{lim}}\left( \frac{E\left( {x,y} \right)}{\sqrt{\left( {x - x_{0}} \right)^{2} + \left( {y - y_{0}} \right)^{2}}} \right)\underset{{({x,y})}\rightarrow{({x_{0},y_{0}})}}{\text{lim}}\left( \frac{\sqrt{\left( {x - x_{0}} \right)^{2} + \left( {y - y_{0}} \right)^{2}}}{t - t_{0}} \right).$$

Since the first limit is equal to zero, we need only show that the second limit is finite:

由于第一个极限等于 0,我们只需证明第二个极限有限:

$$\begin{array}{cl} {\underset{{({x,y})}\rightarrow{({x_{0},y_{0}})}}{\text{lim}}\left( \frac{\sqrt{\left( {x - x_{0}} \right)^{2} + \left( {y - y_{0}} \right)^{2}}}{t - t_{0}} \right)} & {= \underset{{({x,y})}\rightarrow{({x_{0},y_{0}})}}{\text{lim}}\left( \sqrt{\frac{\left( {x - x_{0}} \right)^{2} + \left( {y - y_{0}} \right)^{2}}{\left( {t - t_{0}} \right)^{2}}} \right)} \\ & {= \underset{{({x,y})}\rightarrow{({x_{0},y_{0}})}}{\text{lim}}\left( \sqrt{\left( \frac{x - x_{0}}{t - t_{0}} \right)^{2} + \left( \frac{y - y_{0}}{t - t_{0}} \right)^{2}} \right)} \\ & {= \sqrt{\left( {\underset{{({x,y})}\rightarrow{({x_{0},y_{0}})}}{\text{lim}}\left( \frac{x - x_{0}}{t - t_{0}} \right)} \right)^{2} + \left( {\underset{{({x,y})}\rightarrow{({x_{0},y_{0}})}}{\text{lim}}\left( \frac{y - y_{0}}{t - t_{0}} \right)} \right)^{2}}.} \end{array}$$

$$\begin{array}{cl} {\underset{{({x,y})}\rightarrow{({x_{0},y_{0}})}}{\text{lim}}\left( \frac{\sqrt{\left( {x - x_{0}} \right)^{2} + \left( {y - y_{0}} \right)^{2}}}{t - t_{0}} \right)} & {= \underset{{({x,y})}\rightarrow{({x_{0},y_{0}})}}{\text{lim}}\left( \sqrt{\frac{\left( {x - x_{0}} \right)^{2} + \left( {y - y_{0}} \right)^{2}}{\left( {t - t_{0}} \right)^{2}}} \right)} \\ & {= \underset{{({x,y})}\rightarrow{({x_{0},y_{0}})}}{\text{lim}}\left( \sqrt{\left( \frac{x - x_{0}}{t - t_{0}} \right)^{2} + \left( \frac{y - y_{0}}{t - t_{0}} \right)^{2}} \right)} \\ & {= \sqrt{\left( {\underset{{({x,y})}\rightarrow{({x_{0},y_{0}})}}{\text{lim}}\left( \frac{x - x_{0}}{t - t_{0}} \right)} \right)^{2} + \left( {\underset{{({x,y})}\rightarrow{({x_{0},y_{0}})}}{\text{lim}}\left( \frac{y - y_{0}}{t - t_{0}} \right)} \right)^{2}}.} \end{array}$$

Since $x(t)$ and $y(t)$ are both differentiable functions of $t,$ both limits inside the last radical exist. Therefore, this value is finite. This proves the chain rule at $t = t_{0};$ the rest of the theorem follows from the assumption that all functions are differentiable over their entire domains.

由于 $x(t)$ 与 $y(t)$ 都是 $t$ 的可微函数,最内层根号中的两个极限都存在。因此该值为有限值。这就在 $t = t_{0}$ 处证明了链式法则;定理的其余部分由所有函数在各自定义域上均可微这一假设推出。

(证毕)

Closer examination of Equation 4.29 reveals an interesting pattern. The first term in the equation is $\frac{\partial f}{\partial x} \cdot \frac{dx}{dt}$ and the second term is $\frac{\partial f}{\partial y} \cdot \frac{dy}{dt}.$ Recall that when multiplying fractions, cancelation can be used. If we treat these derivatives as fractions, then each product “simplifies” to something resembling ${{\partial f}\text{/}{dt}}.$ The variables $x\ \text{and}\ y$ that disappear in this simplification are often called intermediate variables: they are independent variables for the function $f,$ but are dependent variables for the variable $t.$ Two terms appear on the right-hand side of the formula, and $f$ is a function of two variables. This pattern works with functions of more than two variables as well, as we see later in this section.

仔细考察等式 (4.29) 会发现一个有趣的模式。等式第一项是 $\frac{\partial f}{\partial x} \cdot \frac{dx}{dt}$,第二项是 $\frac{\partial f}{\partial y} \cdot \frac{dy}{dt}$。回想分数相乘时可以约分。若把这些导数当作分数处理,则每个乘积都会“约简”成类似 ${{\partial f}\text{/}{dt}}$ 的形式。在这个约简过程中消失的变量 $x$ 与 $y$ 常被称为中间变量:它们是函数 $f$ 的自变量,却是变量 $t$ 的因变量。公式右边出现两项,而 $f$ 是二元函数。这一模式对多于两个变量的函数同样成立,本节后面还会看到。

Using the Chain Rule 链式法则的应用

Calculate ${dz}\text{/}{dt}$ for each of the following functions:

对下列各个函数,计算 ${dz}\text{/}{dt}$:

1. $z = f\left( {x,y} \right) = 4x^{2} + 3y^{2},x = x(t) = \text{sin}\ t,y = y(t) = \text{cos}\ t$

1. $z = f\left( {x,y} \right) = 4x^{2} + 3y^{2},x = x(t) = \text{sin}\ t,y = y(t) = \text{cos}\ t$

2. $z = f\left( {x,y} \right) = \sqrt{x^{2} - y^{2}},x = x(t) = e^{2t},y = y(t) = e^{\text{−}t}$

2. $z = f\left( {x,y} \right) = \sqrt{x^{2} - y^{2}},x = x(t) = e^{2t},y = y(t) = e^{\text{−}t}$

Solution

1. To use the chain rule, we need four quantities—$\frac{\partial z}{\partial x}, \frac{\partial z}{\partial y}, \frac{\partial x}{\partial u}, \frac{\partial x}{\partial v}, \frac{\partial y}{\partial u}, \frac{\partial y}{\partial v}$, and ${{dy}\text{/}{dt}}\text{:}$

1. 要用链式法则,需要四个量——${{\partial z}\text{/}{\partial x}}$、${{\partial z}\text{/}{\partial y}}$、${{dx}\text{/}{dt}}$ 与 ${{dy}\text{/}{dt}}$:

$$\begin{array}{lccl} {\frac{\partial z}{\partial x} = 8x} & & & {\frac{\partial z}{\partial y} = 6y} \\ {\frac{dx}{dt} = \text{cos}\ t} & & & {\frac{dy}{dt} = \text{−}\text{sin}\ t} \end{array}$$

$$\begin{array}{lccl} {\frac{\partial z}{\partial x} = 8x} & & & {\frac{\partial z}{\partial y} = 6y} \\ {\frac{dx}{dt} = \text{cos}\ t} & & & {\frac{dy}{dt} = \text{−}\text{sin}\ t} \end{array}$$

Now, we substitute each of these into Equation 4.29:

现在,把上述各量代入等式 (4.29):

$$\begin{array}{cl} \frac{dz}{dt} & {= \frac{\partial z}{\partial x} \cdot \frac{dx}{dt} + \frac{\partial z}{\partial y} \cdot \frac{dy}{dt}} \\ & {= \left( {8x} \right)\left( {\text{cos}\ t} \right) + \left( {6y} \right)\left( {\text{−}\text{sin}\ t} \right)} \\ & {= 8x\ \text{cos}\ t - 6y\ \text{sin}\ t.} \end{array}$$

$$\begin{array}{cl} \frac{dz}{dt} & {= \frac{\partial z}{\partial x} \cdot \frac{dx}{dt} + \frac{\partial z}{\partial y} \cdot \frac{dy}{dt}} \\ & {= \left( {8x} \right)\left( {\text{cos}\ t} \right) + \left( {6y} \right)\left( {\text{−}\text{sin}\ t} \right)} \\ & {= 8x\ \text{cos}\ t - 6y\ \text{sin}\ t.} \end{array}$$

This answer has three variables in it. To reduce it to one variable, use the fact that $x(t) = \text{sin}\ t\ \text{and}\ y(t) = \text{cos}\ t.$ We obtain

这个答案含有三个变量。为了化为一个变量,利用 $x(t) = \text{sin}\ t$ 且 $y(t) = \text{cos}\ t$ 这一事实。于是得到

$$\begin{array}{cl} \frac{dz}{dt} & {= 8x\ \text{cos}\ t - 6y\ \text{sin}\ t} \\ & {= 8\left( {\text{sin}\ t} \right)\text{cos}\ t - 6\left( {\text{cos}\ t} \right)\text{sin}\ t} \\ & {= 2\ \text{sin}\ t\ \text{cos}\ t.} \end{array}$$

$$\begin{array}{cl} \frac{dz}{dt} & {= 8x\ \text{cos}\ t - 6y\ \text{sin}\ t} \\ & {= 8\left( {\text{sin}\ t} \right)\text{cos}\ t - 6\left( {\text{cos}\ t} \right)\text{sin}\ t} \\ & {= 2\ \text{sin}\ t\ \text{cos}\ t.} \end{array}$$

This derivative can also be calculated by first substituting $x(t)$ and $y(t)$ into $f\left( {x,y} \right),$ then differentiating with respect to $t\text{:}$

这个导数也可以先代入 $x(t)$ 与 $y(t)$ 到 $f\left( {x,y} \right)$ 中,再对 $t$ 求导得到:

$$\begin{array}{cl} z & {= f\left( {x,y} \right)} \\ & {= f\left( {x(t),y(t)} \right)} \\ & {= 4\left( {x(t)} \right)^{2} + 3\left( {y(t)} \right)^{2}} \\ & {= 4\text{sin}^{2}t + 3\text{cos}^{2}t.} \end{array}$$

$$\begin{array}{cl} z & {= f\left( {x,y} \right)} \\ & {= f\left( {x(t),y(t)} \right)} \\ & {= 4\left( {x(t)} \right)^{2} + 3\left( {y(t)} \right)^{2}} \\ & {= 4\text{sin}^{2}t + 3\text{cos}^{2}t.} \end{array}$$

Then

于是

$$\begin{array}{cl} \frac{dz}{dt} & {= 2(4\ \text{sin}\ t)(\text{cos}\ t) + 2(3\ \text{cos}\ t)(\text{−}\text{sin}\ t)} \\ & {= 8\ \text{sin}\ t\ \text{cos}\ t - 6\ \text{sin}\ t\ \text{cos}\ t} \\ & {= 2\ \text{sin}\ t\ \text{cos}\ t,} \end{array}$$

$$\begin{array}{cl} \frac{dz}{dt} & {= 2(4\ \text{sin}\ t)(\text{cos}\ t) + 2(3\ \text{cos}\ t)(\text{−}\text{sin}\ t)} \\ & {= 8\ \text{sin}\ t\ \text{cos}\ t - 6\ \text{sin}\ t\ \text{cos}\ t} \\ & {= 2\ \text{sin}\ t\ \text{cos}\ t,} \end{array}$$

which is the same solution. However, it may not always be this easy to differentiate in this form.

这与前面的结果相同。不过,这种形式下的求导未必总是如此简便。

2. To use the chain rule, we again need four quantities—$\frac{\partial z}{\partial x}, \frac{\partial z}{\partial y}, \frac{\partial x}{\partial u}, \frac{\partial x}{\partial v}, \frac{\partial y}{\partial u}, \frac{\partial y}{\partial v}$, and ${{dy}\text{/}{dt}}\text{:}$

2. 要用链式法则,同样需要四个量——${{\partial z}\text{/}{\partial x}}$、${{\partial z}\text{/}{dy}}$、${{dx}\text{/}{dt}}$ 与 ${{dy}\text{/}{dt}}$:

$$\begin{matrix} {\frac{\partial z}{\partial x} = \frac{x}{\sqrt{x^{2} - y^{2}}}} & & & {\frac{\partial z}{\partial y} = \frac{\text{−}y}{\sqrt{x^{2} - y^{2}}}} \\ {\frac{dx}{dt} = 2e^{2t}} & & & {\frac{dy}{dt} = \text{−}e^{\text{−}t}.} \end{matrix}$$

$$\begin{matrix} {\frac{\partial z}{\partial x} = \frac{x}{\sqrt{x^{2} - y^{2}}}} & & & {\frac{\partial z}{\partial y} = \frac{\text{−}y}{\sqrt{x^{2} - y^{2}}}} \\ {\frac{dx}{dt} = 2e^{2t}} & & & {\frac{dy}{dt} = \text{−}e^{\text{−}t}.} \end{matrix}$$

We substitute each of these into Equation 4.29:

我们把这些量分别代入等式 (4.29):

$$\begin{array}{cl} \frac{dz}{dt} & {= \frac{\partial z}{\partial x} \cdot \frac{dx}{dt} + \frac{\partial z}{\partial y} \cdot \frac{dy}{dt}} \\ & {= \left( \frac{x}{\sqrt{x^{2} - y^{2}}} \right)\left( {2e^{2t}} \right) + \left( \frac{\text{−}y}{\sqrt{x^{2} - y^{2}}} \right)\left( {\text{−}e^{\text{−}t}} \right)} \\ & {= \frac{2xe^{2t} + ye^{\text{−}t}}{\sqrt{x^{2} - y^{2}}}.} \end{array}$$

$$\begin{array}{cl} \frac{dz}{dt} & {= \frac{\partial z}{\partial x} \cdot \frac{dx}{dt} + \frac{\partial z}{\partial y} \cdot \frac{dy}{dt}} \\ & {= \left( \frac{x}{\sqrt{x^{2} - y^{2}}} \right)\left( {2e^{2t}} \right) + \left( \frac{\text{−}y}{\sqrt{x^{2} - y^{2}}} \right)\left( {\text{−}e^{\text{−}t}} \right)} \\ & {= \frac{2xe^{2t} + ye^{\text{−}t}}{\sqrt{x^{2} - y^{2}}}.} \end{array}$$

To reduce this to one variable, we use the fact that $x(t) = e^{2t}$ and $y(t) = e^{\text{−}t}.$ Therefore,

为了化为一个变量,利用 $x(t) = e^{2t}$ 与 $y(t) = e^{\text{−}t}$ 这一事实。于是

$$\begin{array}{cl} \frac{dz}{dt} & {= \frac{2xe^{2t} + ye^{\text{−}t}}{\sqrt{x^{2} - y^{2}}}} \\ & {= \frac{2\left( e^{2t} \right)e^{2t} + \left( e^{\text{−}t} \right)e^{\text{−}t}}{\sqrt{e^{4t} - e^{-2t}}}} \\ & {= \frac{2e^{4t} + e^{-2t}}{\sqrt{e^{4t} - e^{-2t}}}.} \end{array}$$

$$\begin{array}{cl} \frac{dz}{dt} & {= \frac{2xe^{2t} + ye^{\text{−}t}}{\sqrt{x^{2} - y^{2}}}} \\ & {= \frac{2\left( e^{2t} \right)e^{2t} + \left( e^{\text{−}t} \right)e^{\text{−}t}}{\sqrt{e^{4t} - e^{-2t}}}} \\ & {= \frac{2e^{4t} + e^{-2t}}{\sqrt{e^{4t} - e^{-2t}}}.} \end{array}$$

To eliminate negative exponents, we multiply the top by $e^{2t}$ and the bottom by $\sqrt{e^{4t}}\text{:}$

为了消去负指数,分子分母同乘 $e^{2t}$ 与 $\sqrt{e^{4t}}$:

$$\begin{array}{cl} \frac{dz}{dt} & {= \frac{2e^{4t} + e^{-2t}}{\sqrt{e^{4t} - e^{-2t}}} \cdot \frac{e^{2t}}{\sqrt{e^{4t}}}} \\ & {= \frac{2e^{6t} + 1}{\sqrt{e^{8t} - e^{2t}}}} \\ & {= \frac{2e^{6t} + 1}{\sqrt{e^{2t}\left( {e^{6t} - 1} \right)}}} \\ & {= \frac{2e^{6t} + 1}{e^{t}\sqrt{e^{6t} - 1}}.} \end{array}$$

$$\begin{array}{cl} \frac{dz}{dt} & {= \frac{2e^{4t} + e^{-2t}}{\sqrt{e^{4t} - e^{-2t}}} \cdot \frac{e^{2t}}{\sqrt{e^{4t}}}} \\ & {= \frac{2e^{6t} + 1}{\sqrt{e^{8t} - e^{2t}}}} \\ & {= \frac{2e^{6t} + 1}{\sqrt{e^{2t}\left( {e^{6t} - 1} \right)}}} \\ & {= \frac{2e^{6t} + 1}{e^{t}\sqrt{e^{6t} - 1}}.} \end{array}$$

Again, this derivative can also be calculated by first substituting $x(t)$ and $y(t)$ into $f\left( {x,y} \right),$ then differentiating with respect to $t\text{:}$

同样,这个导数也可以先代入 $x(t)$ 与 $y(t)$ 到 $f\left( {x,y} \right)$ 中,再对 $t$ 求导得到:

$$\begin{array}{cl} z & {= f\left( {x,y} \right)} \\ & {= f\left( {x(t),y(t)} \right)} \\ & {= \sqrt{\left( {x(t)} \right)^{2} - \left( {y(t)} \right)^{2}}} \\ & {= \sqrt{e^{4t} - e^{-2t}}} \\ & {= \left( {e^{4t} - e^{-2t}} \right)^{1\text{/}2}.} \end{array}$$

$$\begin{array}{cl} z & {= f\left( {x,y} \right)} \\ & {= f\left( {x(t),y(t)} \right)} \\ & {= \sqrt{\left( {x(t)} \right)^{2} - \left( {y(t)} \right)^{2}}} \\ & {= \sqrt{e^{4t} - e^{-2t}}} \\ & {= \left( {e^{4t} - e^{-2t}} \right)^{1\text{/}2}.} \end{array}$$

Then

于是

$$\begin{array}{cl} \frac{dz}{dt} & {= \frac{1}{2}\left( {e^{4t} - e^{-2t}} \right)^{\text{−}{1\text{/}2}}\left( {4e^{4t} + 2e^{-2t}} \right)} \\ & {= \frac{2e^{4t} + e^{-2t}}{\sqrt{e^{4t} - e^{-2t}}}.} \end{array}$$

$$\begin{array}{cl} \frac{dz}{dt} & {= \frac{1}{2}\left( {e^{4t} - e^{-2t}} \right)^{\text{−}{1\text{/}2}}\left( {4e^{4t} + 2e^{-2t}} \right)} \\ & {= \frac{2e^{4t} + e^{-2t}}{\sqrt{e^{4t} - e^{-2t}}}.} \end{array}$$

This is the same solution.

这与前面的结果相同。

Calculate ${dz}\text{/}{dt}$ given the following functions. Express the final answer in terms of $t.$

已知下列函数,计算 ${dz}\text{/}{dt}$。把最终答案用 $t$ 表示。

$$z = f\left( {x,y} \right) = x^{2} - 3xy + 2y^{2},x = x(t) = 3\ \text{sin}\ 2t,y = y(t) = 4\ \text{cos}\ 2t$$

$$z = f\left( {x,y} \right) = x^{2} - 3xy + 2y^{2},x = x(t) = 3\ \text{sin}\ 2t,y = y(t) = 4\ \text{cos}\ 2t$$

It is often useful to create a visual representation of Equation 4.29 for the chain rule. This is called a tree diagram for the chain rule for functions of one variable and it provides a way to remember the formula (Figure 4.34). This diagram can be expanded for functions of more than one variable, as we shall see very shortly.

为链式法则中的等式 (4.29) 画一个直观图示往往很有帮助。这被称为一元函数链式法则的树状图,它提供了一种记忆该公式的方法(图 4.34)。这个图也可以推广到多于一个变量的函数,稍后我们就会看到。

In this diagram, the leftmost corner corresponds to $z = f\left( {x,y} \right).$ Since $f$ has two independent variables, there are two lines coming from this corner. The upper branch corresponds to the variable $x$ and the lower branch corresponds to the variable $y.$ Since each of these variables is then dependent on one variable $t,$ one branch then comes from $x$ and one branch comes from $y.$ Last, each of the branches on the far right has a label that represents the path traveled to reach that branch. The top branch is reached by following the $x$ branch, then the $t$ branch; therefore, it is labeled $\left( {{\partial z}\text{/}{\partial x}} \right)\ \times \ \left( {{dx}\text{/}{dt}} \right).$ The bottom branch is similar: first the $y$ branch, then the $t$ branch. This branch is labeled $\left( {{\partial z}\text{/}{\partial y}} \right)\ \times \ \left( {{dy}\text{/}{dt}} \right).$ To get the formula for ${{dz}\text{/}{dt}},$ add all the terms that appear on the rightmost side of the diagram. This gives us Equation 4.29.

在这个图中,最左侧的角对应 $z = f\left( {x,y} \right)$。由于 $f$ 有两个自变量,从这个角引出两条线。上支对应变量 $x$,下支对应变量 $y$。由于这两个变量又各自依赖于一个变量 $t$,于是从 $x$ 引出一条支、从 $y$ 引出一条支。最后,最右侧每条支上都有一个标签,表示到达该支所经过的路径。上支是先沿 $x$ 支、再沿 $t$ 支到达的,因此标为 $\left( {{\partial z}\text{/}{\partial x}} \right)\ \times \ \left( {{dx}\text{/}{dt}} \right)$。下支类似:先沿 $y$ 支、再沿 $t$ 支。该支标为 $\left( {{\partial z}\text{/}{\partial y}} \right)\ \times \ \left( {{dy}\text{/}{dt}} \right)$。要得到 ${{dz}\text{/}{dt}}$ 的公式,只需把图最右侧出现的所有项相加,这就得到等式 (4.29)。

In Chain Rule for Two Independent Variables, $z = f\left( {x,y} \right)$ is a function of $x\ \text{and}\ y,$ and both $x = g\left( {u,v} \right)$ and $y = h\left( {u,v} \right)$ are functions of the independent variables $u\ \text{and}\ v.$

在双自变量的链式法则中,$z = f\left( {x,y} \right)$ 是 $x$ 与 $y$ 的函数,而 $x = g\left( {u,v} \right)$ 与 $y = h\left( {u,v} \right)$ 都是自变量 $u$ 与 $v$ 的函数。

Chain Rule for Two Independent Variables 双自变量的链式法则

Suppose $x = g\left( {u,v} \right)$ and $y = h\left( {u,v} \right)$ are differentiable functions of $u$ and $v,$ and $z = f\left( {x,y} \right)$ is a differentiable function of $x\ \text{and}\ y.$ Then, $z = f\left( {g\left( {u,v} \right),h\left( {u,v} \right)} \right)$ is a differentiable function of $u\ \text{and}\ v,$ and

设 $x = g\left( {u,v} \right)$ 与 $y = h\left( {u,v} \right)$ 都是 $u$、$v$ 的可微函数,且 $z = f\left( {x,y} \right)$ 是 $x$ 与 $y$ 的可微函数。则 $z = f\left( {g\left( {u,v} \right),h\left( {u,v} \right)} \right)$ 是 $u$ 与 $v$ 的可微函数,并且

$$\frac{\partial z}{\partial u} = \frac{\partial z}{\partial x}\ \frac{\partial x}{\partial u} + \frac{\partial z}{\partial y}\ \frac{\partial y}{\partial u}$$ (4.31)

$$\frac{\partial z}{\partial u} = \frac{\partial z}{\partial x}\ \frac{\partial x}{\partial u} + \frac{\partial z}{\partial y}\ \frac{\partial y}{\partial u}$$ (4.31)

and

以及

$$\frac{\partial z}{\partial v} = \frac{\partial z}{\partial x}\ \frac{\partial x}{\partial v} + \frac{\partial z}{\partial y}\ \frac{\partial y}{\partial v}.$$ (4.32)

$$\frac{\partial z}{\partial v} = \frac{\partial z}{\partial x}\ \frac{\partial x}{\partial v} + \frac{\partial z}{\partial y}\ \frac{\partial y}{\partial v}.$$ (4.32)

We can draw a tree diagram for each of these formulas as well as follows.

我们也可以为这两个公式分别画出如下的树状图。

To derive the formula for ${{\partial z}\text{/}{\partial u}},$ start from the left side of the diagram, then follow only the branches that end with $u$ and add the terms that appear at the end of those branches. For the formula for ${{\partial z}\text{/}{\partial v}},$ follow only the branches that end with $v$ and add the terms that appear at the end of those branches.

要推导 ${{\partial z}\text{/}{\partial u}}$ 的公式,从图的左侧出发,只沿终点为 $u$ 的支前进,并把那些支末端的项相加。要推导 ${{\partial z}\text{/}{\partial v}}$ 的公式,则只沿终点为 $v$ 的支前进,并把其末端的项相加。

There is an important difference between these two chain rule theorems. In Chain Rule for One Independent Variable, the left-hand side of the formula for the derivative is not a partial derivative, but in Chain Rule for Two Independent Variables it is. The reason is that, in Chain Rule for One Independent Variable, $z$ is ultimately a function of $t$ alone, whereas in Chain Rule for Two Independent Variables, $z$ is a function of both $u\ \text{and}\ v.$

这两个链式法则定理之间有一个重要区别。在单自变量的链式法则中,导数公式的左边不是偏导数;而在双自变量的链式法则中,左边是偏导数。原因在于:单自变量的链式法则里,$z$ 最终只是 $t$ 的函数;而双自变量的链式法则里,$z$ 是 $u$ 与 $v$ 两者的函数。

Using the Chain Rule for Two Variables 双变量链式法则的应用

Calculate ${\partial z}\text{/}{\partial u}$ and ${\partial z}\text{/}{\partial v}$ using the following functions:

利用下列函数,计算 ${\partial z}\text{/}{\partial u}$ 与 ${\partial z}\text{/}{\partial v}$:

$$z = f\left( {x,y} \right) = 3x^{2} - 2xy + y^{2},x = x\left( {u,v} \right) = 3u + 2v,y = y\left( {u,v} \right) = 4u - v.$$

$$z = f\left( {x,y} \right) = 3x^{2} - 2xy + y^{2},x = x\left( {u,v} \right) = 3u + 2v,y = y\left( {u,v} \right) = 4u - v.$$

Solution

To implement the chain rule for two variables, we need six partial derivatives—$\frac{\partial z}{\partial x}, \frac{\partial z}{\partial y}, \frac{\partial x}{\partial u}, \frac{\partial x}{\partial v}, \frac{\partial y}{\partial u}, \frac{\partial y}{\partial v}$, and ${{\partial y}\text{/}{\partial v}}\text{:}$

要实现双变量的链式法则,需要六个偏导数——$\frac{\partial z}{\partial x}, \frac{\partial z}{\partial y}, \frac{\partial x}{\partial u}, \frac{\partial x}{\partial v}, \frac{\partial y}{\partial u}, \frac{\partial y}{\partial v}$, 以及 ${{\partial y}\text{/}{\partial v}}$:

$$\begin{array}{lccl} {\frac{\partial z}{\partial x} = 6x - 2y} & & & {\frac{\partial z}{\partial y} = -2x + 2y} \\ {\frac{\partial x}{\partial u} = 3} & & & {\frac{\partial x}{\partial v} = 2} \\ {\frac{\partial y}{\partial u} = 4} & & & {\frac{\partial y}{\partial v} = -1.} \end{array}$$

$$\begin{array}{lccl} {\frac{\partial z}{\partial x} = 6x - 2y} & & & {\frac{\partial z}{\partial y} = -2x + 2y} \\ {\frac{\partial x}{\partial u} = 3} & & & {\frac{\partial x}{\partial v} = 2} \\ {\frac{\partial y}{\partial u} = 4} & & & {\frac{\partial y}{\partial v} = -1.} \end{array}$$

To find ${{\partial z}\text{/}{\partial u}},$ we use Equation 4.31:

要求 ${{\partial z}\text{/}{\partial u}}$,使用等式 (4.31):

$$\begin{array}{cl} \frac{\partial z}{\partial u} & {= \frac{\partial z}{\partial x}\frac{\partial x}{\partial u} + \frac{\partial z}{\partial y}\frac{\partial y}{\partial u}} \\ & {= 3\left( {6x - 2y} \right) + 4\left( {-2x + 2y} \right)} \\ & {= 10x + 2y.} \end{array}$$

$$\begin{array}{cl} \frac{\partial z}{\partial u} & {= \frac{\partial z}{\partial x}\frac{\partial x}{\partial u} + \frac{\partial z}{\partial y}\frac{\partial y}{\partial u}} \\ & {= 3\left( {6x - 2y} \right) + 4\left( {-2x + 2y} \right)} \\ & {= 10x + 2y.} \end{array}$$

Next, we substitute $x\left( {u,v} \right) = 3u + 2v$ and $y\left( {u,v} \right) = 4u - v\text{:}$

接下来,代入 $x\left( {u,v} \right) = 3u + 2v$ 与 $y\left( {u,v} \right) = 4u - v$:

$$\begin{array}{cl} \frac{\partial z}{\partial u} & {= 10x + 2y} \\ & {= 10\left( {3u + 2v} \right) + 2\left( {4u - v} \right)} \\ & {= 38u + 18v.} \end{array}$$

$$\begin{array}{cl} \frac{\partial z}{\partial u} & {= 10x + 2y} \\ & {= 10\left( {3u + 2v} \right) + 2\left( {4u - v} \right)} \\ & {= 38u + 18v.} \end{array}$$

To find ${{\partial z}\text{/}{\partial v}},$ we use Equation 4.32:

要求 ${{\partial z}\text{/}{\partial v}}$,使用等式 (4.32):

$$\begin{array}{cl} \frac{\partial z}{\partial v} & {= \frac{\partial z}{\partial x}\ \frac{\partial x}{\partial v} + \frac{\partial z}{\partial y}\ \frac{\partial y}{\partial v}} \\ & {= 2\left( {6x - 2y} \right) + (-1)\left( {-2x + 2y} \right)} \\ & {= 14x - 6y.} \end{array}$$

$$\begin{array}{cl} \frac{\partial z}{\partial v} & {= \frac{\partial z}{\partial x}\ \frac{\partial x}{\partial v} + \frac{\partial z}{\partial y}\ \frac{\partial y}{\partial v}} \\ & {= 2\left( {6x - 2y} \right) + (-1)\left( {-2x + 2y} \right)} \\ & {= 14x - 6y.} \end{array}$$

Then we substitute $x\left( {u,v} \right) = 3u + 2v$ and $y\left( {u,v} \right) = 4u - v\text{:}$

然后代入 $x\left( {u,v} \right) = 3u + 2v$ 与 $y\left( {u,v} \right) = 4u - v$:

$$\begin{array}{cl} \frac{\partial z}{\partial v} & {= 14x - 6y} \\ & {= 14\left( {3u + 2v} \right) - 6\left( {4u - v} \right)} \\ & {= 18u + 34v.} \end{array}$$

$$\begin{array}{cl} \frac{\partial z}{\partial v} & {= 14x - 6y} \\ & {= 14\left( {3u + 2v} \right) - 6\left( {4u - v} \right)} \\ & {= 18u + 34v.} \end{array}$$

Calculate ${\partial z}\text{/}{\partial u}$ and ${\partial z}\text{/}{\partial v}$ given the following functions:

已知下列函数,计算 ${\partial z}\text{/}{\partial u}$ 与 ${\partial z}\text{/}{\partial v}$:

$$z = f\left( {x,y} \right) = \frac{2x - y}{x + 3y},x\left( {u,v} \right) = e^{2u}\text{cos}\ 3v,y\left( {u,v} \right) = e^{2u}\text{sin}\ 3v.$$

$$z = f\left( {x,y} \right) = \frac{2x - y}{x + 3y},x\left( {u,v} \right) = e^{2u}\text{cos}\ 3v,y\left( {u,v} \right) = e^{2u}\text{sin}\ 3v.$$

The Generalized Chain Rule 广义链式法则

Now that we’ve see how to extend the original chain rule to functions of two variables, it is natural to ask: Can we extend the rule to more than two variables? The answer is yes, as the generalized chain rule states.

既然已经看到如何把最初的链式法则推广到二元函数,自然会问:能否把该法则推广到两个以上的变量?答案是肯定的,正如广义链式法则所述。

Generalized Chain Rule 广义链式法则

Let $w = f\left( {x_{1},x_{2}\text{,…,}\ x_{m}} \right)$ be a differentiable function of $m$ independent variables, and for each $i \in \left\{ 1\text{,…,}\ m \right\},$ let $x_{i} = x_{i}(t_{1},t_{2}\text{,…,}\ t_{n})$ be a differentiable function of $n$ independent variables. Then

设 $w = f\left( {x_{1},x_{2}\text{,…,}\ x_{m}} \right)$ 是 $m$ 个自变量的可微函数,并对每个 $i \in \left\{ 1\text{,…,}\ m \right\}$,令 $x_{i} = x_{i}(t_{1},t_{2}\text{,…,}\ t_{n})$ 是 $n$ 个自变量的可微函数。则

$$\frac{\partial w}{\partial t_{j}} = \frac{\partial w}{\partial x_{1}}\ \frac{\partial x_{1}}{\partial t_{j}} + \frac{\partial w}{\partial x_{2}}\ \frac{\partial x_{2}}{\partial t_{j}} + \text{⋯} + \frac{\partial w}{\partial x_{m}}\ \frac{\partial x_{m}}{\partial t_{j}}$$ (4.33)

$$\frac{\partial w}{\partial t_{j}} = \frac{\partial w}{\partial x_{1}}\ \frac{\partial x_{1}}{\partial t_{j}} + \frac{\partial w}{\partial x_{2}}\ \frac{\partial x_{2}}{\partial t_{j}} + \text{⋯} + \frac{\partial w}{\partial x_{m}}\ \frac{\partial x_{m}}{\partial t_{j}}$$ (4.33)

for any $j \in \left\{ 1,2\text{,…,}\ n \right\}.$

对任意 $j \in \left\{ 1,2\text{,…,}\ n \right\}$ 成立。

In the next example we calculate the derivative of a function of three independent variables in which each of the three variables is dependent on two other variables.

在下面的例题中,我们计算一个三元函数的导函数,其中三个变量各自依赖于另外两个变量。

Using the Generalized Chain Rule 使用广义链式法则

Calculate ${\partial w}\text{/}{\partial u}$ and ${\partial w}\text{/}{\partial v}$ using the following functions:

利用下列函数计算 ${\partial w}\text{/}{\partial u}$ 与 ${\partial w}\text{/}{\partial v}$:

$$\begin{array}{rll} & & \\ w & = & {f\left( {x,y,z} \right) = 3x^{2} - 2xy + 4z^{2}} \\ x & = & {x\left( {u,v} \right) = e^{u}\text{sin}\ v} \\ y & = & {y\left( {u,v} \right) = e^{u}\text{cos}\ v} \\ z & = & {z\left( {u,v} \right) = e^{u}.} \end{array}$$

$$\begin{array}{rll} & & \\ w & = & {f\left( {x,y,z} \right) = 3x^{2} - 2xy + 4z^{2}} \\ x & = & {x\left( {u,v} \right) = e^{u}\text{sin}\ v} \\ y & = & {y\left( {u,v} \right) = e^{u}\text{cos}\ v} \\ z & = & {z\left( {u,v} \right) = e^{u}.} \end{array}$$

Solution

The formulas for ${\partial w}\text{/}{\partial u}$ and ${\partial w}\text{/}{\partial v}$ are

计算 ${\partial w}\text{/}{\partial u}$ 与 ${\partial w}\text{/}{\partial v}$ 的公式如下

$$\begin{array}{l} {\frac{\partial w}{\partial u} = \frac{\partial w}{\partial x} \cdot \frac{\partial x}{\partial u} + \frac{\partial w}{\partial y} \cdot \frac{\partial y}{\partial u} + \frac{\partial w}{\partial z} \cdot \frac{\partial z}{\partial u}} \\ {\frac{\partial w}{\partial v} = \frac{\partial w}{\partial x} \cdot \frac{\partial x}{\partial v} + \frac{\partial w}{\partial y} \cdot \frac{\partial y}{\partial v} + \frac{\partial w}{\partial z} \cdot \frac{\partial z}{\partial v}.} \end{array}$$

$$\begin{array}{l} {\frac{\partial w}{\partial u} = \frac{\partial w}{\partial x} \cdot \frac{\partial x}{\partial u} + \frac{\partial w}{\partial y} \cdot \frac{\partial y}{\partial u} + \frac{\partial w}{\partial z} \cdot \frac{\partial z}{\partial u}} \\ {\frac{\partial w}{\partial v} = \frac{\partial w}{\partial x} \cdot \frac{\partial x}{\partial v} + \frac{\partial w}{\partial y} \cdot \frac{\partial y}{\partial v} + \frac{\partial w}{\partial z} \cdot \frac{\partial z}{\partial v}.} \end{array}$$

Therefore, there are nine different partial derivatives that need to be calculated and substituted. We need to calculate each of them:

因此,需要计算并代入九个不同的偏导数。我们逐一计算:

$$\begin{array}{rllccrllccrll} \frac{\partial w}{\partial x} & = & {6x - 2y} & & & \frac{\partial w}{\partial y} & = & {-2x} & & & \frac{\partial w}{\partial z} & = & {8z} \\ \frac{\partial x}{\partial u} & = & {e^{u}\text{sin}\ v} & & & \frac{\partial y}{\partial u} & = & {e^{u}\text{cos}\ v} & & & \frac{\partial z}{\partial u} & = & e^{u} \\ \frac{\partial x}{\partial v} & = & {e^{u}\text{cos}\ v} & & & \frac{\partial y}{\partial v} & = & {\text{−}e^{u}\text{sin}\ v} & & & \frac{\partial z}{\partial v} & = & {0.} \end{array}$$

$$\begin{array}{rllccrllccrll} \frac{\partial w}{\partial x} & = & {6x - 2y} & & & \frac{\partial w}{\partial y} & = & {-2x} & & & \frac{\partial w}{\partial z} & = & {8z} \\ \frac{\partial x}{\partial u} & = & {e^{u}\text{sin}\ v} & & & \frac{\partial y}{\partial u} & = & {e^{u}\text{cos}\ v} & & & \frac{\partial z}{\partial u} & = & e^{u} \\ \frac{\partial x}{\partial v} & = & {e^{u}\text{cos}\ v} & & & \frac{\partial y}{\partial v} & = & {\text{−}e^{u}\text{sin}\ v} & & & \frac{\partial z}{\partial v} & = & {0.} \end{array}$$

Now, we substitute each of them into the first formula to calculate $\partial w\text{/}\partial u\text{:}$

现在,把上述各偏导数代入第一个公式,计算 $\partial w\text{/}\partial u\text{:}$

$$\begin{array}{cl} \frac{\partial w}{\partial u} & {= \frac{\partial w}{\partial x} \cdot \frac{\partial x}{\partial u} + \frac{\partial w}{\partial y} \cdot \frac{\partial y}{\partial u} + \frac{\partial w}{\partial z} \cdot \frac{\partial z}{\partial u}} \\ & {= \left( {6x - 2y} \right)e^{u}\text{sin}\ v - 2xe^{u}\text{cos}\ v + 8ze^{u},} \end{array}$$

$$\begin{array}{cl} \frac{\partial w}{\partial u} & {= \frac{\partial w}{\partial x} \cdot \frac{\partial x}{\partial u} + \frac{\partial w}{\partial y} \cdot \frac{\partial y}{\partial u} + \frac{\partial w}{\partial z} \cdot \frac{\partial z}{\partial u}} \\ & {= \left( {6x - 2y} \right)e^{u}\text{sin}\ v - 2xe^{u}\text{cos}\ v + 8ze^{u},} \end{array}$$

then substitute $x(u,v) = e^{u}\text{sin}\ v,y(u,v) = e^{u}\text{cos}\ v,$ and $z(u,v) = e^{u}$ into this equation:

然后把 $x(u,v) = e^{u}\text{sin}\ v,y(u,v) = e^{u}\text{cos}\ v,$ 与 $z(u,v) = e^{u}$ 代入该方程:

$$\begin{array}{cl} \frac{\partial w}{\partial u} & {= \left( {6x - 2y} \right)e^{u}\text{sin}\ v - 2xe^{u}\text{cos}\ v + 8ze^{u}} \\ & {= \left( {6e^{u}\text{sin}\ v - 2e^{u}\text{cos}\ v} \right)e^{u}\text{sin}\ v - 2\left( {e^{u}\text{sin}\ v} \right)e^{u}\text{cos}\ v + 8e^{2u}} \\ & {= 6e^{2u}\text{sin}^{2}v - 4e^{2u}\text{sin}\ v\ \text{cos}\ v + 8e^{2u}} \\ & {= 2e^{2u}\left( {3\ \text{sin}^{2}v - 2\ \text{sin}\ v\ \text{cos}\ v + 4} \right).} \end{array}$$

$$\begin{array}{cl} \frac{\partial w}{\partial u} & {= \left( {6x - 2y} \right)e^{u}\text{sin}\ v - 2xe^{u}\text{cos}\ v + 8ze^{u}} \\ & {= \left( {6e^{u}\text{sin}\ v - 2e^{u}\text{cos}\ v} \right)e^{u}\text{sin}\ v - 2\left( {e^{u}\text{sin}\ v} \right)e^{u}\text{cos}\ v + 8e^{2u}} \\ & {= 6e^{2u}\text{sin}^{2}v - 4e^{2u}\text{sin}\ v\ \text{cos}\ v + 8e^{2u}} \\ & {= 2e^{2u}\left( {3\ \text{sin}^{2}v - 2\ \text{sin}\ v\ \text{cos}\ v + 4} \right).} \end{array}$$

Next, we calculate ${{\partial w}\text{/}{\partial v}}\text{:}$

接下来计算 ${{\partial w}\text{/}{\partial v}}\text{:}$

$$\begin{array}{cl} \frac{\partial w}{\partial v} & {= \frac{\partial w}{\partial x} \cdot \frac{\partial x}{\partial v} + \frac{\partial w}{\partial y} \cdot \frac{\partial y}{\partial v} + \frac{\partial w}{\partial z} \cdot \frac{\partial z}{\partial v}} \\ & {= \left( {6x - 2y} \right)e^{u}\text{cos}\ v - 2x\left( {\text{−}e^{u}\text{sin}\ v} \right) + 8z(0),} \end{array}$$

$$\begin{array}{cl} \frac{\partial w}{\partial v} & {= \frac{\partial w}{\partial x} \cdot \frac{\partial x}{\partial v} + \frac{\partial w}{\partial y} \cdot \frac{\partial y}{\partial v} + \frac{\partial w}{\partial z} \cdot \frac{\partial z}{\partial v}} \\ & {= \left( {6x - 2y} \right)e^{u}\text{cos}\ v - 2x\left( {\text{−}e^{u}\text{sin}\ v} \right) + 8z(0),} \end{array}$$

then we substitute $x(u,v) = e^{u}\text{sin}\ v,y(u,v) = e^{u}\text{cos}\ v,$ and $z(u,v) = e^{u}$ into this equation:

然后我们把 $x(u,v) = e^{u}\text{sin}\ v,y(u,v) = e^{u}\text{cos}\ v,$ 与 $z(u,v) = e^{u}$ 代入该方程:

$$\begin{matrix} \frac{\partial w}{\partial v} & {= (6x - 2y)e^{u}\text{cos}\ v - 2x\left( \text{−}e^{u}\text{sin}\ v \right)} \\ & {= \left( 6e^{u}\text{sin}\ v - 2e^{u}\text{cos}\ v \right)e^{u}\text{cos}\ v + 2\left( e^{u}\text{sin}\ v \right)\left( e^{u}\text{sin}\ v \right)} \\ & {= 2e^{2u}\text{sin}^{2}v + 6e^{2u}\text{sin}\ v\ \text{cos}\ v - 2e^{2u}\text{cos}^{2}v} \\ & {= 2e^{2u}\left( v + 3\text{sin}~\text{sin~}v~\text{cos}~\text{cos~}v - v \right).} \end{matrix}$$

$$\begin{matrix} \frac{\partial w}{\partial v} & {= (6x - 2y)e^{u}\text{cos}\ v - 2x\left( \text{−}e^{u}\text{sin}\ v \right)} \\ & {= \left( 6e^{u}\text{sin}\ v - 2e^{u}\text{cos}\ v \right)e^{u}\text{cos}\ v + 2\left( e^{u}\text{sin}\ v \right)\left( e^{u}\text{sin}\ v \right)} \\ & {= 2e^{2u}\text{sin}^{2}v + 6e^{2u}\text{sin}\ v\ \text{cos}\ v - 2e^{2u}\text{cos}^{2}v} \\ & {= 2e^{2u}\left( v + 3\text{sin}~\text{sin~}v~\text{cos}~\text{cos~}v - v \right).} \end{matrix}$$

Calculate ${\partial w}\text{/}{\partial u}$ and ${\partial w}\text{/}{\partial v}$ given the following functions:

已知下列函数,计算 ${\partial w}\text{/}{\partial u}$ 与 ${\partial w}\text{/}{\partial v}$:

$$\begin{array}{rll} & & \\ & & \\ w & = & {f\left( {x,y,z} \right) = \frac{x + 2y - 4z}{2x - y + 3z}} \\ x & = & {x\left( {u,v} \right) = e^{2u}\text{cos}\ 3v} \\ y & = & {y\left( {u,v} \right) = e^{2u}\text{sin}\ 3v} \\ z & = & {z\left( {u,v} \right) = e^{2u}.} \end{array}$$

$$\begin{array}{rll} & & \\ & & \\ w & = & {f\left( {x,y,z} \right) = \frac{x + 2y - 4z}{2x - y + 3z}} \\ x & = & {x\left( {u,v} \right) = e^{2u}\text{cos}\ 3v} \\ y & = & {y\left( {u,v} \right) = e^{2u}\text{sin}\ 3v} \\ z & = & {z\left( {u,v} \right) = e^{2u}.} \end{array}$$

Drawing a Tree Diagram 绘制树状图

Create a tree diagram for the case when

针对以下情形绘制树状图:

$$w = f\left( {x,y,z} \right),x = x\left( {t,u,v} \right),y = y\left( {t,u,v} \right),z = z\left( {t,u,v} \right)$$

$$w = f\left( {x,y,z} \right),x = x\left( {t,u,v} \right),y = y\left( {t,u,v} \right),z = z\left( {t,u,v} \right)$$

and write out the formulas for the three partial derivatives of $w.$

并写出 $w$ 的三个偏导数的公式。

Solution

Starting from the left, the function $f$ has three independent variables: $x,y,\text{and}\ z.$ Therefore, three branches must be emanating from the first node. Each of these three branches also has three branches, for each of the variables $t,u,\ \text{and}\ v.$

从左端看起,函数 $f$ 有三个自变量:$x,y,\text{与}\ z$。因此,从第一个节点必须引出三条分支。这三条分支中的每一条又各引出三条分支,分别对应变量 $t,u,\ \text{与}\ v$。

The three formulas are

三个公式如下

$$\begin{array}{l} {\frac{\partial w}{\partial t} = \frac{\partial w}{\partial x}\ \frac{\partial x}{\partial t} + \frac{\partial w}{\partial y}\ \frac{\partial y}{\partial t} + \frac{\partial w}{\partial z}\ \frac{\partial z}{\partial t}} \\ {\frac{\partial w}{\partial u} = \frac{\partial w}{\partial x}\ \frac{\partial x}{\partial u} + \frac{\partial w}{\partial y}\ \frac{\partial y}{\partial u} + \frac{\partial w}{\partial z}\ \frac{\partial z}{\partial u}} \\ {\frac{\partial w}{\partial v} = \frac{\partial w}{\partial x}\ \frac{\partial x}{\partial v} + \frac{\partial w}{\partial y}\ \frac{\partial y}{\partial v} + \frac{\partial w}{\partial z}\ \frac{\partial z}{\partial v}.} \end{array}$$

$$\begin{array}{l} {\frac{\partial w}{\partial t} = \frac{\partial w}{\partial x}\ \frac{\partial x}{\partial t} + \frac{\partial w}{\partial y}\ \frac{\partial y}{\partial t} + \frac{\partial w}{\partial z}\ \frac{\partial z}{\partial t}} \\ {\frac{\partial w}{\partial u} = \frac{\partial w}{\partial x}\ \frac{\partial x}{\partial u} + \frac{\partial w}{\partial y}\ \frac{\partial y}{\partial u} + \frac{\partial w}{\partial z}\ \frac{\partial z}{\partial u}} \\ {\frac{\partial w}{\partial v} = \frac{\partial w}{\partial x}\ \frac{\partial x}{\partial v} + \frac{\partial w}{\partial y}\ \frac{\partial y}{\partial v} + \frac{\partial w}{\partial z}\ \frac{\partial z}{\partial v}.} \end{array}$$

Create a tree diagram for the case when

针对以下情形绘制树状图:

$$w = f\left( {x,y} \right),x = x\left( {t,u,v} \right),y = y\left( {t,u,v} \right)$$

$$w = f\left( {x,y} \right),x = x\left( {t,u,v} \right),y = y\left( {t,u,v} \right)$$

and write out the formulas for the three partial derivatives of $w.$

并写出 $w$ 的三个偏导数的公式。

Implicit Differentiation 隐函数求导

Recall from Implicit Differentiation that implicit differentiation provides a method for finding ${dy}\text{/}{dx}$ when $y$ is defined implicitly as a function of $x.$ The method involves differentiating both sides of the equation defining the function with respect to $x,$ then solving for ${{dy}\text{/}{dx}}.$ Partial derivatives provide an alternative to this method.

回顾隐函数求导:当 $y$ 被隐式定义为 $x$ 的函数时,隐函数求导给出了一种求 ${dy}\text{/}{dx}$ 的方法。该方法对定义该函数的方程两边关于 $x$ 求导,再解出 ${{dy}\text{/}{dx}}$。偏导数提供了这一方法的另一种途径。

Consider the ellipse defined by the equation $x^{2} + 3y^{2} + 4y - 4 = 0$ as follows.

考虑由方程 $x^{2} + 3y^{2} + 4y - 4 = 0$ 定义的椭圆,如下。

This equation implicitly defines $y$ as a function of $x.$ As such, we can find the derivative ${dy}\text{/}{dx}$ using the method of implicit differentiation:

该方程把 $y$ 隐式定义为 $x$ 的函数。因此,我们可以用隐函数求导法求出导数 ${dy}\text{/}{dx}$:

$$\begin{array}{rll} {\frac{d}{dx}\left( {x^{2} + 3y^{2} + 4y - 4} \right)} & = & {\frac{d}{dx}(0)} \\ {2x + 6y\frac{dy}{dx} + 4\frac{dy}{dx}} & = & 0 \\ {\left( {6y + 4} \right)\frac{dy}{dx}} & = & {-2x} \\ \frac{dy}{dx} & = & {- \frac{x}{3y + 2}.} \end{array}$$

$$\begin{array}{rll} {\frac{d}{dx}\left( {x^{2} + 3y^{2} + 4y - 4} \right)} & = & {\frac{d}{dx}(0)} \\ {2x + 6y\frac{dy}{dx} + 4\frac{dy}{dx}} & = & 0 \\ {\left( {6y + 4} \right)\frac{dy}{dx}} & = & {-2x} \\ \frac{dy}{dx} & = & {- \frac{x}{3y + 2}.} \end{array}$$

We can also define a function $z = f\left( {x,y} \right)$ by using the left-hand side of the equation defining the ellipse. Then $f\left( {x,y} \right) = x^{2} + 3y^{2} + 4y - 4.$ The ellipse $x^{2} + 3y^{2} + 4y - 4 = 0$ can then be described by the equation $f\left( {x,y} \right) = 0.$ Using this function and the following theorem gives us an alternative approach to calculating ${{dy}\text{/}{dx}}.$

我们也可以利用定义椭圆的方程左端定义一个函数 $z = f\left( {x,y} \right)$。于是 $f\left( {x,y} \right) = x^{2} + 3y^{2} + 4y - 4$。椭圆 $x^{2} + 3y^{2} + 4y - 4 = 0$ 便可由方程 $f\left( {x,y} \right) = 0$ 描述。借助这个函数和下面的定理,我们得到了计算 ${{dy}\text{/}{dx}}$ 的另一种方法。

Implicit Differentiation of a Function of Two or More Variables 多元函数的隐函数求导

Suppose the function $z = f\left( {x,y} \right)$ defines $y$ implicitly as a function $y = g(x)$ of $x$ via the equation $f\left( {x,y} \right) = 0.$ Then

设函数 $z = f\left( {x,y} \right)$ 通过方程 $f\left( {x,y} \right) = 0$ 把 $y$ 隐式定义为 $x$ 的函数 $y = g(x)$。则

$$\frac{dy}{dx} = - \frac{{\partial f}\text{/}{\partial x}}{{\partial f}\text{/}{\partial y}}$$ (4.34)

$$\frac{dy}{dx} = - \frac{{\partial f}\text{/}{\partial x}}{{\partial f}\text{/}{\partial y}}$$ (4.34)

provided $f_{y}\left( {x,y} \right) \neq 0.$

前提是 $f_{y}\left( {x,y} \right) \neq 0$。

If the equation $f\left( {x,y,z} \right) = 0$ defines $z$ implicitly as a differentiable function of $x\ \text{and}\ y,$ then

若方程 $f\left( {x,y,z} \right) = 0$ 把 $z$ 隐式定义为 $x\ \text{与}\ y$ 的可微函数,则

$$\frac{\partial z}{\partial x} = - \frac{{\partial f}\text{/}{\partial x}}{{\partial f}\text{/}{\partial z}}\quad\text{and}\quad\frac{\partial z}{\partial y} = - \frac{{\partial f}\text{/}{\partial y}}{{\partial f}\text{/}{\partial z}}$$ (4.35)

$$\frac{\partial z}{\partial x} = - \frac{{\partial f}\text{/}{\partial x}}{{\partial f}\text{/}{\partial z}}\quad\text{and}\quad\frac{\partial z}{\partial y} = - \frac{{\partial f}\text{/}{\partial y}}{{\partial f}\text{/}{\partial z}}$$ (4.35)

as long as $f_{z}\left( {x,y,z} \right) \neq 0.$

只要 $f_{z}\left( {x,y,z} \right) \neq 0$。

Equation 4.34 is a direct consequence of Equation 4.31. In particular, if we assume that $y$ is defined implicitly as a function of $x$ via the equation $f\left( {x,y} \right) = 0,$ we can apply the chain rule to find ${{dy}\text{/}{dx}}\text{:}$

式 4.34 是式 4.31 的直接推论。特别地,若假设 $y$ 通过方程 $f\left( {x,y} \right) = 0$ 被隐式定义为 $x$ 的函数,则可应用链式法则求得 ${{dy}\text{/}{dx}}\text{:}$

$$\begin{array}{rll} {\frac{d}{dx}f\left( {x,y} \right)} & = & {\frac{d}{dx}(0)} \\ {\frac{\partial f}{\partial x} \cdot \frac{dx}{dx} + \frac{\partial f}{\partial y} \cdot \frac{dy}{dx}} & = & 0 \\ {\frac{\partial f}{\partial x} + \frac{\partial f}{\partial y} \cdot \frac{dy}{dx}} & = & 0. \end{array}$$

$$\begin{array}{rll} {\frac{d}{dx}f\left( {x,y} \right)} & = & {\frac{d}{dx}(0)} \\ {\frac{\partial f}{\partial x} \cdot \frac{dx}{dx} + \frac{\partial f}{\partial y} \cdot \frac{dy}{dx}} & = & 0 \\ {\frac{\partial f}{\partial x} + \frac{\partial f}{\partial y} \cdot \frac{dy}{dx}} & = & 0. \end{array}$$

Solving this equation for ${dy}\text{/}{dx}$ gives Equation 4.34. Equation 4.35 can be derived in a similar fashion.

对该方程解出 ${dy}\text{/}{dx}$ 即得式 4.34。式 4.35 可用类似方式推出。

Let’s now return to the problem that we started before the previous theorem. Using Implicit Differentiation of a Function of Two or More Variables and the function $f\left( {x,y} \right) = x^{2} + 3y^{2} + 4y - 4,$ we obtain

现在回到上一个定理之前我们开始的问题。利用多元函数的隐函数求导以及函数 $f\left( {x,y} \right) = x^{2} + 3y^{2} + 4y - 4$,我们得到

$$\begin{array}{l} {\frac{\partial f}{\partial x} = 2x} \\ {\frac{\partial f}{\partial y} = 6y + 4.} \end{array}$$

$$\begin{array}{l} {\frac{\partial f}{\partial x} = 2x} \\ {\frac{\partial f}{\partial y} = 6y + 4.} \end{array}$$

Then Equation 4.34 gives

于是由式 4.34 得

$$\frac{dy}{dx} = - \frac{{\partial f}\text{/}{\partial x}}{{\partial f}\text{/}{\partial y}} = - \frac{2x}{6y + 4} = - \frac{x}{3y + 2},$$

$$\frac{dy}{dx} = - \frac{{\partial f}\text{/}{\partial x}}{{\partial f}\text{/}{\partial y}} = - \frac{2x}{6y + 4} = - \frac{x}{3y + 2},$$

which is the same result obtained by the earlier use of implicit differentiation.

这与先前用隐函数求导法所得结果一致。

Implicit Differentiation by Partial Derivatives 用偏导数进行隐函数求导

1. Calculate ${dy}\text{/}{dx}$ if $y$ is defined implicitly as a function of $x$ via the equation $3x^{2} - 2xy + y^{2} + 4x - 6y - 11 = 0.$ What is the equation of the tangent line to the graph of this curve at point $\left( {2,1} \right)?$

1. 若方程 $3x^{2} - 2xy + y^{2} + 4x - 6y - 11 = 0$ 把 $y$ 隐式定义为 $x$ 的函数,求 ${dy}\text{/}{dx}$。该曲线在点 $\left( {2,1} \right)$ 处的切线方程是什么?

2. Calculate ${\partial z}\text{/}{\partial x}$ and ${{\partial z}\text{/}{\partial y}},$ given $x^{2}e^{y} - yze^{x} = 0.$

2. 已知 $x^{2}e^{y} - yze^{x} = 0$,求 ${\partial z}\text{/}{\partial x}$ 与 ${{\partial z}\text{/}{\partial y}}$。

Solution

1. Set $f(x,y) = 3x^{2} - 2xy + y^{2} + 4x - 6y - 11 = 0,$ then calculate $f_{x}$ and $f_{y}\text{:}$ $\begin{array}{l} {f_{x} = 6x - 2y + 4} \\ {f_{y} = -2x + 2y - 6.} \end{array}$

1. 令 $f(x,y) = 3x^{2} - 2xy + y^{2} + 4x - 6y - 11 = 0$,然后计算 $f_{x}$ 与 $f_{y}\text{:}$ $\begin{array}{l} {f_{x} = 6x - 2y + 4} \\ {f_{y} = -2x + 2y - 6.} \end{array}$

The derivative is given by

导数由下式给出:

$$\frac{dy}{dx} = - \frac{{\partial f}\text{/}{\partial x}}{{\partial f}\text{/}{\partial y}} = - \frac{6x - 2y + 4}{-2x + 2y - 6} = \frac{3x - y + 2}{x - y + 3}.$$

$$\frac{dy}{dx} = - \frac{{\partial f}\text{/}{\partial x}}{{\partial f}\text{/}{\partial y}} = - \frac{6x - 2y + 4}{-2x + 2y - 6} = \frac{3x - y + 2}{x - y + 3}.$$

The slope of the tangent line at point $\left( {2,1} \right)$ is given by

曲线在点 $\left( {2,1} \right)$ 处的切线斜率为

$$\left. \frac{dy}{dx} \right|_{{({x,y})} = {({2,1})}} = \frac{3(2) - 1 + 2}{2 - 1 + 3} = \frac{7}{4}.$$

$$\left. \frac{dy}{dx} \right|_{{({x,y})} = {({2,1})}} = \frac{3(2) - 1 + 2}{2 - 1 + 3} = \frac{7}{4}.$$

To find an equation of the tangent line, we use the point-slope form (Figure 4.38):

为求切线方程,我们使用点斜式(图 4.38):

$$\begin{array}{rll} {y - y_{0}} & = & {m\left( {x - x_{0}} \right)} \\ {y - 1} & = & {\frac{7}{4}\left( {x - 2} \right)} \\ y & = & {\frac{7}{4}x - \frac{7}{2} + 1} \\ y & = & {\frac{7}{4}x - \frac{5}{2}.} \end{array}$$

$$\begin{array}{rll} {y - y_{0}} & = & {m\left( {x - x_{0}} \right)} \\ {y - 1} & = & {\frac{7}{4}\left( {x - 2} \right)} \\ y & = & {\frac{7}{4}x - \frac{7}{2} + 1} \\ y & = & {\frac{7}{4}x - \frac{5}{2}.} \end{array}$$

2. We have $f\left( {x,y,z} \right) = x^{2}e^{y} - yze^{x}.$ Therefore,

2. 有 $f\left( {x,y,z} \right) = x^{2}e^{y} - yze^{x}$。于是

$$\begin{array}{l} {\frac{\partial f}{\partial x} = 2xe^{y} - yze^{x}} \\ {\frac{\partial f}{\partial y} = x^{2}e^{y} - ze^{x}} \\ {\frac{\partial f}{\partial z} = \text{−}ye^{x}.} \end{array}$$

$$\begin{array}{l} {\frac{\partial f}{\partial x} = 2xe^{y} - yze^{x}} \\ {\frac{\partial f}{\partial y} = x^{2}e^{y} - ze^{x}} \\ {\frac{\partial f}{\partial z} = \text{−}ye^{x}.} \end{array}$$

Using Equation 4.35,

利用式 4.35,

$$\begin{matrix} \begin{matrix} \frac{\partial z}{\partial x} & {= - \frac{\partial f\text{/}\partial x}{\partial f\text{/}\partial z}} \\ & {= - \frac{2xe^{y} - yze^{x}}{\text{−}ye^{x}}} \\ & {= \frac{2xe^{y} - yze^{x}}{ye^{x}}} \end{matrix} & & & \text{and} & & & \begin{matrix} \frac{\partial z}{\partial y} & {= - \frac{\partial f\text{/}\partial y}{\partial f\text{/}\partial z}} \\ & {= - \frac{x^{2}e^{y} - ze^{x}}{\text{−}ye^{x}}} \\ & {= \frac{x^{2}e^{y} - ze^{x}}{ye^{x}}.} \end{matrix} \end{matrix}$$

$$\begin{matrix} \begin{matrix} \frac{\partial z}{\partial x} & {= - \frac{\partial f\text{/}\partial x}{\partial f\text{/}\partial z}} \\ & {= - \frac{2xe^{y} - yze^{x}}{\text{−}ye^{x}}} \\ & {= \frac{2xe^{y} - yze^{x}}{ye^{x}}} \end{matrix} & & & \text{and} & & & \begin{matrix} \frac{\partial z}{\partial y} & {= - \frac{\partial f\text{/}\partial y}{\partial f\text{/}\partial z}} \\ & {= - \frac{x^{2}e^{y} - ze^{x}}{\text{−}ye^{x}}} \\ & {= \frac{x^{2}e^{y} - ze^{x}}{ye^{x}}.} \end{matrix} \end{matrix}$$

Find ${dy}\text{/}{dx}$ if $y$ is defined implicitly as a function of $x$ by the equation $x^{2} + xy - y^{2} + 7x - 3y - 26 = 0.$ What is the equation of the tangent line to the graph of this curve at point $\left( {3,-2} \right)?$

若方程 $x^{2} + xy - y^{2} + 7x - 3y - 26 = 0$ 把 $y$ 隐式定义为 $x$ 的函数,求 ${dy}\text{/}{dx}$。该曲线在点 $\left( {3,-2} \right)$ 处的切线方程是什么?

Section 4.5 Exercises 4.5 节习题

For the following exercises, use the information provided to solve the problem.

在以下习题中,利用所给信息解题。

215.

215.

Let $w\left( {x,y,z} \right) = xy\ \text{cos}\ z,$ where $x = t,y = t^{2},$ and $z = \text{arcsin}\ t.$ Find $\frac{dw}{dt}.$

设 $w\left( {x,y,z} \right) = xy\ \text{cos}\ z$,其中 $x = t,y = t^{2},$ 且 $z = \text{arcsin}\ t$。求 $\frac{dw}{dt}$。

216\.

216.

Let $w\left( {t,v} \right) = e^{tv}$ where $t = r + s$ and $v = rs.$ Find $\frac{\partial w}{\partial r}$ and $\frac{\partial w}{\partial s}.$

设 $w\left( {t,v} \right) = e^{tv}$,其中 $t = r + s$,$v = rs$。求 $\frac{\partial w}{\partial r}$ 与 $\frac{\partial w}{\partial s}$。

217.

217.

If $w = 5x^{2} + 2y^{2},x = -3s + t,$ and $y = s - 4t,$ find $\frac{\partial w}{\partial s}$ and $\frac{\partial w}{\partial t}.$

若 $w = 5x^{2} + 2y^{2},x = -3s + t,$ 且 $y = s - 4t$,求 $\frac{\partial w}{\partial s}$ 与 $\frac{\partial w}{\partial t}$。

218\.

218.

If $w = xy^{2},x = 5\ \text{cos}(2t),$ and $y = 5\ \text{sin}(2t),$ find $\frac{dw}{dt}.$

若 $w = xy^{2},x = 5\ \text{cos}(2t),$ 且 $y = 5\ \text{sin}(2t)$,求 $\frac{dw}{dt}$。

219.

219.

If $f(x,y) = xy,x = r\ \text{cos}\ \theta,$ and $y = r\ \text{sin}\ \theta,$ find $\frac{\partial f}{\partial r}$ and express the answer in terms of $r$ and $\theta.$

若 $f(x,y) = xy,x = r\ \text{cos}\ \theta,$ 且 $y = r\ \text{sin}\ \theta$,求 $\frac{\partial f}{\partial r}$,并把答案用 $r$ 与 $\theta$ 表示。

220\.

220.

Suppose $f(x,y) = x + y,$ where $x = r\ \text{cos}\ \theta$ and $y = r\ \text{sin}\ \theta.$ Find $\frac{\partial f}{\partial\theta}.$

设 $f(x,y) = x + y$,其中 $x = r\ \text{cos}\ \theta$,$y = r\ \text{sin}\ \theta$。求 $\frac{\partial f}{\partial\theta}$。

For the following exercises, find $\frac{df}{dt}$ using the chain rule and direct substitution.

在以下习题中,用链式法则与直接代入法求 $\frac{df}{dt}$。

221.

221.

$f\left( {x,y} \right) = x^{2} + y^{2},$ $x = t,y = t^{2}$

$f\left( {x,y} \right) = x^{2} + y^{2},$ $x = t,y = t^{2}$

222\.

222.

$f\left( {x,y} \right) = \sqrt{x^{2} + y^{2}},y = t^{2},x = t$

$f\left( {x,y} \right) = \sqrt{x^{2} + y^{2}},y = t^{2},x = t$

223.

223.

$f\left( {x,y} \right) = xy,x = 1 - \sqrt{t},y = 1 + \sqrt{t}$

$f\left( {x,y} \right) = xy,x = 1 - \sqrt{t},y = 1 + \sqrt{t}$

224\.

224.

$f\left( {x,y} \right) = \frac{x}{y},x = e^{t},y = 2e^{t}$

$f\left( {x,y} \right) = \frac{x}{y},x = e^{t},y = 2e^{t}$

225.

225.

$f\left( {x,y} \right) = \text{ln}\left( {x + y} \right),$ $x = e^{t},y = e^{t}$

$f\left( {x,y} \right) = \text{ln}\left( {x + y} \right),$ $x = e^{t},y = e^{t}$

226\.

226.

$f\left( {x,y} \right) = x^{4},$ $x = t,y = t$

$f\left( {x,y} \right) = x^{4},$ $x = t,y = t$

227.

227.

Let $w\left( {x,y,z} \right) = x^{2} + y^{2} + z^{2},$ $x = \text{cos}\ t,y = \text{sin}\ t,$ and $z = e^{t}.$ Express $w$ as a function of $t$ and find $\frac{dw}{dt}$ directly. Then, find $\frac{dw}{dt}$ using the chain rule.

设 $w\left( {x,y,z} \right) = x^{2} + y^{2} + z^{2},$ $x = \text{cos}\ t,y = \text{sin}\ t,$ 且 $z = e^{t}$。把 $w$ 表示为 $t$ 的函数,并直接求 $\frac{dw}{dt}$。然后再用链式法则求 $\frac{dw}{dt}$。

228\.

228.

Let $z = x^{2}y,$ where $x = t^{2}$ and $y = t^{3}.$ Find $\frac{dz}{dt}.$

设 $z = x^{2}y$,其中 $x = t^{2}$,$y = t^{3}$。求 $\frac{dz}{dt}$。

229.

229.

Let $u = e^{x}\text{sin}\ y,$ where $x = \operatorname{-ln}2t$ and $y = \pi t.$ Find $\frac{du}{dt}$ when $x = \text{ln}\ 2$ and $y = \frac{\pi}{4}.$

设 $u = e^{x}\text{sin}\ y$,其中 $x = \operatorname{-ln}2t$,$y = \pi t$。当 $x = \text{ln}\ 2$,$y = \frac{\pi}{4}$ 时,求 $\frac{du}{dt}$。

For the following exercises, find $\frac{dy}{dx}$ using partial derivatives.

在以下习题中,用偏导数求 $\frac{dy}{dx}$。

230\.

230.

$\text{sin}\left( {6x} \right) + \text{tan}\left( {8y} \right) + 5 = 0$

$\text{sin}\left( {6x} \right) + \text{tan}\left( {8y} \right) + 5 = 0$

231.

231.

$x^{3} + y^{2}x - 3 = 0$

$x^{3} + y^{2}x - 3 = 0$

232\.

232.

$\text{sin}\left( {x + y} \right) + \text{cos}\left( {x - y} \right) = 4$

$\text{sin}\left( {x + y} \right) + \text{cos}\left( {x - y} \right) = 4$

233.

233.

$x^{2} - 2xy + y^{4} = 4$

$x^{2} - 2xy + y^{4} = 4$

234\.

234.

$xe^{y} + ye^{x} - 2x^{2}y = 0$

$xe^{y} + ye^{x} - 2x^{2}y = 0$

235.

235.

$x^{2\text{/}3} + y^{2\text{/}3} = a^{2\text{/}3}$

$x^{2\text{/}3} + y^{2\text{/}3} = a^{2\text{/}3}$

236\.

236.

$x\ \text{cos}(xy) + y\ \text{cos}\ x = 2$

$x\ \text{cos}(xy) + y\ \text{cos}\ x = 2$

237.

237.

$e^{xy} + ye^{y} = 1$

$e^{xy} + ye^{y} = 1$

238\.

238.

$x^{2}y^{3} + \text{cos}\ y = 0$

$x^{2}y^{3} + \text{cos}\ y = 0$

239.

239.

Find $\frac{dz}{dt}$ using the chain rule where $z = 3x^{2}y^{3},x = t^{4},$ and $y = t^{2}.$

用链式法则求 $\frac{dz}{dt}$,其中 $z = 3x^{2}y^{3},x = t^{4},$ 且 $y = t^{2}$。

240\.

240.

Let $z = 3\ \text{cos}\ x - \text{sin}(xy),x = \frac{1}{t},$ and $y = 3t.$ Find $\frac{dz}{dt}.$

设 $z = 3\ \text{cos}\ x - \text{sin}(xy),x = \frac{1}{t},$ 且 $y = 3t$。求 $\frac{dz}{dt}$。

241.

241.

Let $z = e^{1 - xy},x = t^{1\text{/}3},$ and $y = t^{3}.$ Find $\frac{dz}{dt}.$

设 $z = e^{1 - xy},x = t^{1\text{/}3},$ 且 $y = t^{3}$。求 $\frac{dz}{dt}$。

242\.

242.

Find $\frac{dz}{dt}$ by the chain rule where $z = \text{cosh}^{2}(xy),x = \frac{1}{2}t,$ and $y = e^{t}.$

用链式法则求 $\frac{dz}{dt}$,其中 $z = \text{cosh}^{2}(xy),x = \frac{1}{2}t,$ 且 $y = e^{t}$。

243.

243.

Let $z = \frac{x}{y},x = 2\ \text{cos}\ u,$ and $y = 3\ \text{sin}\ v.$ Find $\frac{\partial z}{\partial u}$ and $\frac{\partial z}{\partial v}.$

设 $z = \frac{x}{y},x = 2\ \text{cos}\ u,$ 且 $y = 3\ \text{sin}\ v$。求 $\frac{\partial z}{\partial u}$ 与 $\frac{\partial z}{\partial v}$。

244\.

244.

Let $z = e^{x^{2}y},$ where $x = \sqrt{uv}$ and $y = \frac{1}{v}.$ Find $\frac{\partial z}{\partial u}$ and $\frac{\partial z}{\partial v}.$

设 $z = e^{x^{2}y}$,其中 $x = \sqrt{uv}$,$y = \frac{1}{v}$。求 $\frac{\partial z}{\partial u}$ 与 $\frac{\partial z}{\partial v}$。

245.

245.

If $z = xye^{x\text{/}y},$ $x = r\ \text{cos}\ \theta,$ and $y = r\ \text{sin}\ \theta,$ find $\frac{\partial z}{\partial r}$ and $\frac{\partial z}{\partial\theta}$ when $r = 2$ and $\theta = \frac{\pi}{6}.$

若 $z = xye^{x\text{/}y},$ $x = r\ \text{cos}\ \theta,$ 且 $y = r\ \text{sin}\ \theta$,当 $r = 2$,$\theta = \frac{\pi}{6}$ 时,求 $\frac{\partial z}{\partial r}$ 与 $\frac{\partial z}{\partial\theta}$。

246\.

246.

Find $\frac{\partial w}{\partial s}$ if $w = 4x + y^{2} + z^{3},x = e^{rs^{2}},y = \text{ln}\left( \frac{r + s}{t} \right),$ and $z = rst^{2}.$

若 $w = 4x + y^{2} + z^{3},x = e^{rs^{2}},y = \text{ln}\left( \frac{r + s}{t} \right),$ 且 $z = rst^{2}$,求 $\frac{\partial w}{\partial s}$。

247.

247.

If $w = \text{sin}(xyz),x = 1 - 3t,y = e^{1 - t},$ and $z = 4t,$ find $\frac{\partial w}{\partial t}.$

若 $w = \text{sin}(xyz),x = 1 - 3t,y = e^{1 - t},$ 且 $z = 4t$,求 $\frac{\partial w}{\partial t}$。

For the following exercises, use this information: A function $f(x,y)$ is said to be homogeneous of degree $n$ if $f(tx,ty) = t^{n}f(x,y).$ For all homogeneous functions of degree $n,$ the following equation is true: $x\frac{\partial f}{\partial x} + y\frac{\partial f}{\partial y} = nf(x,y).$ Show that the given function is homogeneous and verify that $x\frac{\partial f}{\partial x} + y\frac{\partial f}{\partial y} = nf(x,y).$

在以下习题中,利用下列信息:若函数 $f(x,y)$ 满足 $f(tx,ty) = t^{n}f(x,y)$,则称其为 $n$ 次齐次函数。对所有 $n$ 次齐次函数,下列等式成立:$x\frac{\partial f}{\partial x} + y\frac{\partial f}{\partial y} = nf(x,y)$。证明所给函数是齐次的,并验证 $x\frac{\partial f}{\partial x} + y\frac{\partial f}{\partial y} = nf(x,y)$。

248\.

248.

$f(x,y) = 3x^{2} + y^{2}$

$f(x,y) = 3x^{2} + y^{2}$

249.

249.

$f(x,y) = \sqrt{x^{2} + y^{2}}$

$f(x,y) = \sqrt{x^{2} + y^{2}}$

250\.

250.

$f(x,y) = x^{2}y - 2y^{3}$

$f(x,y) = x^{2}y - 2y^{3}$

251.

251.

The volume of a right circular cylinder is given by $V(x,y) = \pi x^{2}y,$ where $x$ is the radius of the cylinder and *y* is the cylinder height. Suppose $x$ and $y$ are functions of $t$ given by $x = \frac{1}{2}t$ and $y = \frac{1}{3}t$ so that $x\ \text{and}\ y$ are both increasing with time. How fast is the volume increasing when $x = 2$ and $y = \frac{4}{3}?$

直圆柱体的体积由 $V(x,y) = \pi x^{2}y$ 给出,其中 $x$ 是圆柱半径,*y* 是圆柱高。设 $x$ 与 $y$ 都是 $t$ 的函数,由 $x = \frac{1}{2}t$,$y = \frac{1}{3}t$ 给出,从而 $x\ \text{与}\ y$ 都随时间增大。当 $x = 2$,$y = \frac{4}{3}$ 时,体积增大的速率是多少?

252\.

252.

The pressure $P$ of a gas is related to the volume and temperature by the formula $PV = kT,$ where temperature is expressed in kelvins. Express the pressure of the gas as a function of both $V$ and $T.$ Find $\frac{dP}{dt}$ when $k = 1,$ $\frac{dV}{dt} = 2$ cm3/min, $\frac{dT}{dt} = \frac{1}{2}$ K/min, $V = 20$ cm3, and $T = 20\text{°}\text{F}.$

气体的压强 $P$ 与体积、温度的关系由公式 $PV = kT$ 给出,其中温度用开尔文表示。把气体压强表示为 $V$ 与 $T$ 的函数。当 $k = 1,$ $\frac{dV}{dt} = 2$ cm3/min, $\frac{dT}{dt} = \frac{1}{2}$ K/min, $V = 20$ cm3, $T = 20\text{°}\text{F}$ 时,求 $\frac{dP}{dt}$。

253.

253.

The radius of a right circular cone is increasing at $3$ cm/min whereas the height of the cone is decreasing at $2$ cm/min. Find the rate of change of the volume of the cone when the radius is $13$ cm and the height is $18$ cm.

直圆锥半径以 $3$ cm/min 的速率增大,而高以 $2$ cm/min 的速率减小。当半径为 $13$ cm、高为 $18$ cm 时,求该圆锥体积的变化率。

254\.

254.

The volume of a frustum of a cone is given by the formula $V = \frac{1}{3}\pi z\left( {x^{2} + y^{2} + xy} \right),$ where $x$ is the radius of the smaller circle, $y$ is the radius of the larger circle, and $z$ is the height of the frustum (see figure). Find the rate of change of the volume of this frustum when $x = 10\ \text{in}\text{.,}\ y = 12\ \text{in.,}\ \text{and}\ z = 18\ \text{in}.$ if $\frac{dz}{dt} = - 5,\frac{dx}{dt} = 1,\frac{dy}{dt} = 1$ (all in/min).

圆台的体积由公式 $V = \frac{1}{3}\pi z\left( {x^{2} + y^{2} + xy} \right)$ 给出,其中 $x$ 为较小底圆半径,$y$ 为较大底圆半径,$z$ 为圆台高(见附图)。当 $x = 10\ \text{in}\text{.,}\ y = 12\ \text{in.,}\ \text{且}\ z = 18\ \text{in}$,且 $\frac{dz}{dt} = - 5,\frac{dx}{dt} = 1,\frac{dy}{dt} = 1$(单位均为 in/min)时,求该圆台体积的变化率。

255.

255.

A closed box is in the shape of a rectangular solid with dimensions $x,y,\ \text{and}\ z.$ (Dimensions are in inches.) Suppose each dimension is changing at the rate of $0.5$ in./min. Find the rate of change of the total surface area of the box when $x = 2\ \text{in}\text{.,}\ y = 3\ \text{in.,}\ \text{and}\ z = 1\ \text{in}.$

一个封闭盒子为长方体,边长分别为 $x,y,\ \text{与}\ z$。(尺寸单位为英寸。)设每条边长都以 $0.5$ in./min 的速率变化。当 $x = 2\ \text{in}\text{.,}\ y = 3\ \text{in.,}\ \text{且}\ z = 1\ \text{in}$ 时,求该盒子总表面积的变化率。

256\.

256.

The total resistance in a circuit that has three individual resistances represented by $x,y,$ and $z$ is given by the formula $R(x,y,z) = \frac{xyz}{yz + xz + xy}.$ Suppose at a given time the $x$ resistance is $100\text{Ω},$ the *y* resistance is $200\text{Ω},$ and the *z* resistance is $300\text{Ω}.$ Also, suppose the $x$ resistance is changing at a rate of $2\text{Ω}\text{/}\text{min},$ the *y* resistance is changing at the rate of $1\text{Ω}\text{/}\text{min},$ and the *z* resistance has no change. Find the rate of change of the total resistance in this circuit at this time.

一个含三个电阻 $x,y,$ 与 $z$ 的电路中,总电阻由公式 $R(x,y,z) = \frac{xyz}{yz + xz + xy}$ 给出。设在某时刻 $x$ 电阻为 $100\text{Ω}$,*y* 电阻为 $200\text{Ω}$,*z* 电阻为 $300\text{Ω}$。又设 $x$ 电阻以 $2\text{Ω}\text{/}\text{min}$ 的速率变化,*y* 电阻以 $1\text{Ω}\text{/}\text{min}$ 的速率变化,而 *z* 电阻不变。求该时刻电路总电阻的变化率。

257.

257.

The temperature $T$ at a point $(x,y)$ is $T(x,y)$ and is measured using the Celsius scale. A fly crawls so that its position after $t$ seconds is given by $x = \sqrt{1 + t}$ and $y = 2 + \frac{1}{3}t,$ where $x\ \text{and}\ y$ are measured in centimeters. The temperature function satisfies $T_{x}\left( {2,3} \right) = 4$ and $T_{y}\left( {2,3} \right) = 3.$ How fast is the temperature increasing on the fly’s path after $3$ sec?

点 $(x,y)$ 处的温度 $T$ 为 $T(x,y)$,用摄氏温标度量。一只苍蝇爬行,其 $t$ 秒后的位置由 $x = \sqrt{1 + t}$,$y = 2 + \frac{1}{3}t$ 给出,其中 $x\ \text{与}\ y$ 以厘米为单位。温度函数满足 $T_{x}\left( {2,3} \right) = 4$,$T_{y}\left( {2,3} \right) = 3$。苍蝇爬行 $3$ 秒后,沿其路径温度增大的速率是多少?

258\.

258.

The $x\ \text{and}\ y$ components of a fluid moving in two dimensions are given by the following functions: $u(x,y) = 2y$ and $v(x,y) = -2x;$ $x \geq 0;y \geq 0.$ The speed of the fluid at the point $(x,y)$ is $s(x,y) = \sqrt{u{(x,y)}^{2} + v{(x,y)}^{2}}.$ Find $\frac{\partial s}{\partial x}$ and $\frac{\partial s}{\partial y}$ using the chain rule.

二维流动流体的 $x\ \text{与}\ y$ 分量由下列函数给出:$u(x,y) = 2y$,$v(x,y) = -2x$;$x \geq 0;y \geq 0$。流体在点 $(x,y)$ 处的速率是 $s(x,y) = \sqrt{u{(x,y)}^{2} + v{(x,y)}^{2}}$。用链式法则求 $\frac{\partial s}{\partial x}$ 与 $\frac{\partial s}{\partial y}$。

259.

259.

Let $u = u\left( {x,y,z} \right),$ where $x = x(w,t),y = y(w,t),z = z(w,t),w = w(r,s),\text{and}\ t = t(r,s).$ Use a tree diagram and the chain rule to find an expression for $\frac{\partial u}{\partial r}.$

设 $u = u\left( {x,y,z} \right)$,其中 $x = x(w,t),y = y(w,t),z = z(w,t),w = w(r,s),\text{且}\ t = t(r,s)$。用树状图与链式法则求 $\frac{\partial u}{\partial r}$ 的表达式。

4.6 Directional Derivatives and the Gradient 4.6 方向导数与梯度

In Partial Derivatives we introduced the partial derivative. A function $z = f\left( {x,y} \right)$ has two partial derivatives: ${\partial z}\text{/}{\partial x}$ and ${{\partial z}\text{/}{\partial y}}.$ These derivatives correspond to each of the independent variables and can be interpreted as instantaneous rates of change (that is, as slopes of a tangent line). For example, ${\partial z}\text{/}{\partial x}$ represents the slope of a tangent line passing through a given point on the surface defined by $z = f\left( {x,y} \right),$ assuming the tangent line is parallel to the *x*-axis. Similarly, ${\partial z}\text{/}{\partial y}$ represents the slope of the tangent line parallel to the $y\text{-axis.}$ Now we consider the possibility of a tangent line parallel to neither axis.

在「偏导数」一节中我们引入了偏导数。函数 $z = f\left( {x,y} \right)$ 有两个偏导数:${\partial z}\text{/}{\partial x}$ 和 ${{\partial z}\text{/}{\partial y}}$。它们分别对应于各个自变量,可理解为瞬时变化率(即切线的斜率)。例如,在切线平行于 $x$ 轴的假定下,${\partial z}\text{/}{\partial x}$ 表示由 $z = f\left( {x,y} \right)$ 所定义的曲面上过某给定点的切线斜率;类似地,${\partial z}\text{/}{\partial y}$ 表示平行于 $y$ 轴的切线斜率。现在我们考察切线既不平行于 $x$ 轴也不平行于 $y$ 轴的情形。

Directional Derivatives 方向导数

We start with the graph of a surface defined by the equation $z = f\left( {x,y} \right).$ Given a point $\left( {a,b} \right)$ in the domain of $f,$ we choose a direction to travel from that point. We measure the direction using an angle $\theta,$ which is measured counterclockwise in the *x*, *y*-plane, starting at zero from the positive *x*-axis (Figure 4.39). The distance we travel is $h$ and the direction we travel is given by the unit vector $\mathbf{u} = \left( {\text{cos}\ \theta} \right)\mathbf{i} + \left( {\text{sin}\ \theta} \right)\mathbf{j}.$ Therefore, the *z*-coordinate of the second point on the graph is given by $z = f\left( {a + h\ \text{cos}\ \theta,b + h\ \text{sin}\ \theta} \right).$

我们从方程 $z = f\left( {x,y} \right)$ 所定义曲面的图像出发。给定 $f$ 定义域中的一点 $\left( {a,b} \right)$,我们从该点选定一个行进方向。方向用一个角 $\theta$ 来度量,它在 $xy$ 平面内从正 $x$ 轴起按逆时针方向量取(图 4.39)。行进的距离为 $h$,行进方向由单位向量 $\mathbf{u} = \left( {\text{cos}\ \theta} \right)\mathbf{i} + \left( {\text{sin}\ \theta} \right)\mathbf{j}$ 给出。于是,图像上第二点的 $z$ 坐标为 $z = f\left( {a + h\ \text{cos}\ \theta,b + h\ \text{sin}\ \theta} \right)$。

We can calculate the slope of the secant line by dividing the difference in $z\text{-values}$ by the length of the line segment connecting the two points in the domain. The length of the line segment is $h.$ Therefore, the slope of the secant line is

用定义域中连接两点的线段长度去除 $z$ 值之差,即可得到割线的斜率。该线段的长度为 $h$,故割线斜率为

$$m_{\text{sec}} = \frac{f\left( {a + h\ \text{cos}\ \theta,b + h\ \text{sin}\ \theta} \right) - f\left( {a,b} \right)}{h}.$$

$$m_{\text{sec}} = \frac{f\left( {a + h\ \text{cos}\ \theta,b + h\ \text{sin}\ \theta} \right) - f\left( {a,b} \right)}{h}.$$

To find the slope of the tangent line in the same direction, we take the limit as $h$ approaches zero.

要求同一方向上的切线斜率,令 $h$ 趋于零取极限即可。

Suppose $z = f\left( {x,y} \right)$ is a function of two variables with a domain of $D.$ Let $\left( {a,b} \right) \in D$ and define $\text{u} = \text{cos}\ \theta\mathbf{i} + \text{sin}\ \theta\mathbf{j}.$ Then the directional derivative of $f$ in the direction of $\mathbf{u}$ is given by

设 $z = f\left( {x,y} \right)$ 是定义域为 $D$ 的二元函数。令 $\left( {a,b} \right) \in D$,并记 $\text{u} = \text{cos}\ \theta\mathbf{i} + \text{sin}\ \theta\mathbf{j}$。则 $f$ 在 $\mathbf{u}$ 方向上的方向导数定义为

$$D_{\mathbf{u}}f\left( {a,b} \right) = \underset{h\rightarrow 0}{\text{lim}}\frac{f\left( {a + h\ \text{cos}\ \theta,b + h\ \text{sin}\ \theta} \right) - f\left( {a,b} \right)}{h},$$ (4.36)

$$D_{\mathbf{u}}f\left( {a,b} \right) = \underset{h\rightarrow 0}{\text{lim}}\frac{f\left( {a + h\ \text{cos}\ \theta,b + h\ \text{sin}\ \theta} \right) - f\left( {a,b} \right)}{h},$$ (4.36)

provided the limit exists.

其中极限存在。

Equation 4.36 provides a formal definition of the directional derivative that can be used in many cases to calculate a directional derivative.

式 (4.36) 给出了方向导数的一个形式化定义,在许多情形下可用来计算方向导数。

Finding a Directional Derivative from the Definition 由定义求方向导数

Let $\theta = \text{arccos}\left( {3\text{/}5} \right).$ Find the directional derivative $D_{\mathbf{u}}f\left( {x,y} \right)$ of $f\left( {x,y} \right) = x^{2} - xy + 3y^{2}$ in the direction of $\text{u} = \left( {\text{cos}\ \theta} \right)\mathbf{i} + \left( {\text{sin}\ \theta} \right)\mathbf{j}.$ What is $D_{\mathbf{u}}f\left( {-1,2} \right)?$

令 $\theta = \text{arccos}\left( {3\text{/}5} \right)$。求函数 $f\left( {x,y} \right) = x^{2} - xy + 3y^{2}$ 在方向 $\text{u} = \left( {\text{cos}\ \theta} \right)\mathbf{i} + \left( {\text{sin}\ \theta} \right)\mathbf{j}$ 上的方向导数 $D_{\mathbf{u}}f\left( {x,y} \right)$。$D_{\mathbf{u}}f\left( {-1,2} \right)$ 等于多少?

Solution

First of all, since $\text{cos}\ \theta = {3\text{/}5}$ and $\theta$ is acute, this implies

首先,因为 $\text{cos}\ \theta = {3\text{/}5}$ 且 $\theta$ 为锐角,所以

$$\text{sin}\ \theta = \sqrt{1 - \left( \frac{3}{5} \right)^{2}} = \sqrt{\frac{16}{25}} = \frac{4}{5}.$$

$$\text{sin}\ \theta = \sqrt{1 - \left( \frac{3}{5} \right)^{2}} = \sqrt{\frac{16}{25}} = \frac{4}{5}.$$

Using $f\left( {x,y} \right) = x^{2} - xy + 3y^{2},$ we first calculate $f\left( {x + h\ \text{cos}\ \theta,y + h\ \text{sin}\ \theta} \right)\text{:}$

利用 $f\left( {x,y} \right) = x^{2} - xy + 3y^{2}$,我们先计算 $f\left( {x + h\ \text{cos}\ \theta,y + h\ \text{sin}\ \theta} \right)$:

$$\begin{array}{cl} {f\left( {x + h\ \text{cos}\ \theta,y + h\ \text{sin}\ \theta} \right)} & {= \left( {x + h\ \text{cos}\ \theta} \right)^{2} - \left( {x + h\ \text{cos}\ \theta} \right)\left( {y + h\ \text{sin}\ \theta} \right) + 3\left( {y + h\ \text{sin}\ \theta} \right)^{2}} \\ & {= x^{2} + 2xh\ \text{cos}\ \theta + h^{2}\text{cos}^{2}\theta - xy - xh\ \text{sin}\ \theta - yh\ \text{cos}\ \theta} \\ & {\mspace{9mu}\textit{−h}^{2}\text{sin}\ \theta\ \text{cos}\ \theta + 3y^{2} + 6yh\ \text{sin}\ \theta + 3h^{2}\text{sin}^{2}\theta} \\ & {= x^{2} + 2xh\left( \frac{3}{5} \right) + \frac{9h^{2}}{25} - xy - \frac{4xh}{5} - \frac{3yh}{5} - \frac{12h^{2}}{25} + 3y^{2}} \\ & {\mspace{9mu} + 6yh\left( \frac{4}{5} \right) + 3h^{2}\left( \frac{16}{25} \right)} \\ & {= x^{2} - xy + 3y^{2} + \frac{2xh}{5} + \frac{9h^{2}}{5} + \frac{21yh}{5}.} \end{array}$$

$$\begin{array}{cl} {f\left( {x + h\ \text{cos}\ \theta,y + h\ \text{sin}\ \theta} \right)} & {= \left( {x + h\ \text{cos}\ \theta} \right)^{2} - \left( {x + h\ \text{cos}\ \theta} \right)\left( {y + h\ \text{sin}\ \theta} \right) + 3\left( {y + h\ \text{sin}\ \theta} \right)^{2}} \\ & {= x^{2} + 2xh\ \text{cos}\ \theta + h^{2}\text{cos}^{2}\theta - xy - xh\ \text{sin}\ \theta - yh\ \text{cos}\ \theta} \\ & {\mspace{9mu}\textit{−h}^{2}\text{sin}\ \theta\ \text{cos}\ \theta + 3y^{2} + 6yh\ \text{sin}\ \theta + 3h^{2}\text{sin}^{2}\theta} \\ & {= x^{2} + 2xh\left( \frac{3}{5} \right) + \frac{9h^{2}}{25} - xy - \frac{4xh}{5} - \frac{3yh}{5} - \frac{12h^{2}}{25} + 3y^{2}} \\ & {\mspace{9mu} + 6yh\left( \frac{4}{5} \right) + 3h^{2}\left( \frac{16}{25} \right)} \\ & {= x^{2} - xy + 3y^{2} + \frac{2xh}{5} + \frac{9h^{2}}{5} + \frac{21yh}{5}.} \end{array}$$

We substitute this expression into Equation 4.36:

将上式代入式 (4.36):

$$\begin{array}{cl} {D_{\mathbf{u}}f\left( {a,b} \right)} & {= \underset{h\rightarrow 0}{\text{lim}}\frac{f\left( {a + h\ \text{cos}\ \theta,b + h\ \text{sin}\ \theta} \right) - f\left( {a,b} \right)}{h}} \\ & {= \underset{h\rightarrow 0}{\text{lim}}\frac{\left( {x^{2} - xy + 3y^{2} + \frac{2xh}{5} + \frac{9h^{2}}{5} + \frac{21yh}{5}} \right) - \left( {x^{2} - xy + 3y^{2}} \right)}{h}} \\ & {= \underset{h\rightarrow 0}{\text{lim}}\frac{\frac{2xh}{5} + \frac{9h^{2}}{5} + \frac{21yh}{5}}{h}} \\ & {= \underset{h\rightarrow 0}{\text{lim}}\frac{2x}{5} + \frac{9h}{5} + \frac{21y}{5}} \\ & {= \frac{2x + 21y}{5}.} \end{array}$$

$$\begin{array}{cl} {D_{\mathbf{u}}f\left( {a,b} \right)} & {= \underset{h\rightarrow 0}{\text{lim}}\frac{f\left( {a + h\ \text{cos}\ \theta,b + h\ \text{sin}\ \theta} \right) - f\left( {a,b} \right)}{h}} \\ & {= \underset{h\rightarrow 0}{\text{lim}}\frac{\left( {x^{2} - xy + 3y^{2} + \frac{2xh}{5} + \frac{9h^{2}}{5} + \frac{21yh}{5}} \right) - \left( {x^{2} - xy + 3y^{2}} \right)}{h}} \\ & {= \underset{h\rightarrow 0}{\text{lim}}\frac{\frac{2xh}{5} + \frac{9h^{2}}{5} + \frac{21yh}{5}}{h}} \\ & {= \underset{h\rightarrow 0}{\text{lim}}\frac{2x}{5} + \frac{9h}{5} + \frac{21y}{5}} \\ & {= \frac{2x + 21y}{5}.} \end{array}$$

To calculate $D_{\mathbf{u}}f\left( {-1,2} \right),$ we substitute $x = -1$ and $y = 2$ into this answer:

要计算 $D_{\mathbf{u}}f\left( {-1,2} \right)$,将 $x = -1$、$y = 2$ 代入上式:

$$\begin{array}{cl} {D_{\mathbf{u}}f\left( {-1,2} \right)} & {= \frac{2(-1) + 21(2)}{5}} \\ & {= \frac{-2 + 42}{5}} \\ & {= 8.} \end{array}$$

$$\begin{array}{cl} {D_{\mathbf{u}}f\left( {-1,2} \right)} & {= \frac{2(-1) + 21(2)}{5}} \\ & {= \frac{-2 + 42}{5}} \\ & {= 8.} \end{array}$$

(See the following figure.)

(见下图。)

Another approach to calculating a directional derivative involves partial derivatives, as outlined in the following theorem.

计算方向导数的另一种方法利用偏导数,如下述定理所述。

Directional Derivative of a Function of Two Variables 二元函数的方向导数

Let $z = f\left( {x,y} \right)$ be a function of two variables $x\ \text{and}\ y,$ and assume that $f_{x}$ and $f_{y}$ exist and $f(x,~y)$ is differentiable everywhere. Then the directional derivative of $f$ in the direction of $\textbf{u} = \text{cos}\ \theta\textbf{i} + \text{sin}\ \theta\textbf{j}$ is given by

设 $z = f\left( {x,y} \right)$ 为二元函数(自变量为 $x$、$y$),并设 $f_{x}$、$f_{y}$ 存在且 $f(x,~y)$ 处处可微。则 $f$ 在方向 $\textbf{u} = \text{cos}\ \theta\textbf{i} + \text{sin}\ \theta\textbf{j}$ 上的方向导数为

$$D_{\mathbf{u}}f\left( {x,y} \right) = f_{x}\left( {x,y} \right)\text{cos}\ \theta + f_{y}\left( {x,y} \right)\text{sin}\ \theta.$$ (4.37)

$$D_{\mathbf{u}}f\left( {x,y} \right) = f_{x}\left( {x,y} \right)\text{cos}\ \theta + f_{y}\left( {x,y} \right)\text{sin}\ \theta.$$ (4.37)

Proof 证明

Equation 4.36 states that the directional derivative of *f* in the direction of $\mathbf{u} = \text{cos}\ \theta\mathbf{i} + \text{sin}\ \theta\mathbf{j}$ is given by

式 (4.36) 指出,$f$ 在方向 $\mathbf{u} = \text{cos}\ \theta\mathbf{i} + \text{sin}\ \theta\mathbf{j}$ 上的方向导数为

$$D_{\mathbf{u}}f\left( {a,b} \right) = \underset{t\rightarrow 0}{\text{lim}}\frac{f\left( {a + t\ \text{cos}\ \theta,b + t\ \text{sin}\ \theta} \right) - f\left( {a,b} \right)}{t}.$$

$$D_{\mathbf{u}}f\left( {a,b} \right) = \underset{t\rightarrow 0}{\text{lim}}\frac{f\left( {a + t\ \text{cos}\ \theta,b + t\ \text{sin}\ \theta} \right) - f\left( {a,b} \right)}{t}.$$

Let $x = a + t\ \text{cos}\ \theta$ and $y = b + t\ \text{sin}\ \theta,$ and define $g(t) = f\left( {x,y} \right).$ Since $f_{x}$ and $f_{y}$ both exist, and therefore $f$ is differentiable, we can use the chain rule for functions of two variables to calculate $g^{\prime}(t)\text{:}$

令 $x = a + t\ \text{cos}\ \theta$、$y = b + t\ \text{sin}\ \theta$,并定义 $g(t) = f\left( {x,y} \right)$。由于 $f_{x}$、$f_{y}$ 均存在,从而 $f$ 可微,故可用二元函数的链式法则计算 $g^{\prime}(t)$:

$$\begin{array}{cl} {g^{\prime}(t)} & {= \frac{\partial\textit{f}}{\partial\textit{x}}\mspace{2mu}\frac{dx}{dt} + \frac{\partial\textit{f}}{\partial\textit{y}}\mspace{2mu}\frac{dy}{dt}} \\ & {= f_{x}\left( {x,y} \right)\text{cos}\ \theta + f_{y}\left( {x,y} \right)\text{sin}\ \theta.} \end{array}$$

$$\begin{array}{cl} {g^{\prime}(t)} & {= \frac{\partial\textit{f}}{\partial\textit{x}}\mspace{2mu}\frac{dx}{dt} + \frac{\partial\textit{f}}{\partial\textit{y}}\mspace{2mu}\frac{dy}{dt}} \\ & {= f_{x}\left( {x,y} \right)\text{cos}\ \theta + f_{y}\left( {x,y} \right)\text{sin}\ \theta.} \end{array}$$

If $t = 0,$ then $x = x_{0}( = a)$ and $y = y_{0}( = b),$ so

若 $t = 0$,则 $x = x_{0}( = a)$、$y = y_{0}( = b)$,于是

$$g^{\prime}(0) = f_{x}\left( {x_{0},y_{0}} \right)\text{cos}\ \theta + f_{y}\left( {x_{0},y_{0}} \right)\text{sin}\ \theta.$$

$$g^{\prime}(0) = f_{x}\left( {x_{0},y_{0}} \right)\text{cos}\ \theta + f_{y}\left( {x_{0},y_{0}} \right)\text{sin}\ \theta.$$

By the definition of $g^{\prime}(t),$ it is also true that

由 $g^{\prime}(t)$ 的定义,同样有

$$\begin{array}{cl} {g^{\prime}(0)} & {= \underset{t\rightarrow 0}{\text{lim}}\frac{g(t) - g(0)}{t}} \\ & {= \underset{t\rightarrow 0}{\text{lim}}\frac{f\left( {x_{0} + t\ \text{cos}\ \theta,y_{0} + t\ \text{sin}\ \theta} \right) - f\left( {x_{0},y_{0}} \right)}{t}.} \end{array}$$

$$\begin{array}{cl} {g^{\prime}(0)} & {= \underset{t\rightarrow 0}{\text{lim}}\frac{g(t) - g(0)}{t}} \\ & {= \underset{t\rightarrow 0}{\text{lim}}\frac{f\left( {x_{0} + t\ \text{cos}\ \theta,y_{0} + t\ \text{sin}\ \theta} \right) - f\left( {x_{0},y_{0}} \right)}{t}.} \end{array}$$

Therefore, $D_{\mathbf{u}}f\left( {x_{0},y_{0}} \right) = f_{x}\left( {x,y} \right)\text{cos}\ \theta + f_{y}\left( {x,y} \right)\text{sin}\ \theta.$

因此,$D_{\mathbf{u}}f\left( {x_{0},y_{0}} \right) = f_{x}\left( {x,y} \right)\text{cos}\ \theta + f_{y}\left( {x,y} \right)\text{sin}\ \theta$。

证毕

Finding a Directional Derivative: Alternative Method 求方向导数的另一种方法

Let $\theta = \text{arccos}\left( {3\text{/}5} \right).$ Find the directional derivative $D_{\mathbf{u}}f\left( {x,y} \right)$ of $f\left( {x,y} \right) = x^{2} - xy + 3y^{2}$ in the direction of $\mathbf{u} = \left( {\text{cos}\ \theta} \right)\mathbf{i} + \left( {\text{sin}\ \theta} \right)\mathbf{j}.$ What is $D_{\mathbf{u}}f\left( {-1,2} \right)?$

令 $\theta = \text{arccos}\left( {3\text{/}5} \right)$。求函数 $f\left( {x,y} \right) = x^{2} - xy + 3y^{2}$ 在方向 $\mathbf{u} = \left( {\text{cos}\ \theta} \right)\mathbf{i} + \left( {\text{sin}\ \theta} \right)\mathbf{j}$ 上的方向导数 $D_{\mathbf{u}}f\left( {x,y} \right)$。$D_{\mathbf{u}}f\left( {-1,2} \right)$ 等于多少?

Solution

First, we must calculate the partial derivatives of $f\text{:}$

首先,计算 $f$ 的偏导数:

$$\begin{array}{l} {f_{x} = 2x - y} \\ {f_{y} = \text{−}x + 6y,} \end{array}$$

$$\begin{array}{l} {f_{x} = 2x - y} \\ {f_{y} = \text{−}x + 6y,} \end{array}$$

Then we use Equation 4.37 with $\theta = \text{arccos}\left( {3\text{/}5} \right)\text{:}$

然后利用式 (4.37),其中 $\theta = \text{arccos}\left( {3\text{/}5} \right)$:

$$\begin{array}{cl} {D_{\mathbf{u}}f\left( {x,y} \right)} & {= f_{x}\left( {x,y} \right)\text{cos}\ \theta + f_{y}\left( {x,y} \right)\text{sin}\ \theta} \\ & {= \left( {2x - y} \right)\frac{3}{5} + \left( {\text{−}x + 6y} \right)\frac{4}{5}} \\ & {= \frac{6x}{5} - \frac{3y}{5} - \frac{4x}{5} + \frac{24y}{5}} \\ & {= \frac{2x + 21y}{5}.} \end{array}$$

$$\begin{array}{cl} {D_{\mathbf{u}}f\left( {x,y} \right)} & {= f_{x}\left( {x,y} \right)\text{cos}\ \theta + f_{y}\left( {x,y} \right)\text{sin}\ \theta} \\ & {= \left( {2x - y} \right)\frac{3}{5} + \left( {\text{−}x + 6y} \right)\frac{4}{5}} \\ & {= \frac{6x}{5} - \frac{3y}{5} - \frac{4x}{5} + \frac{24y}{5}} \\ & {= \frac{2x + 21y}{5}.} \end{array}$$

To calculate $D_{\mathbf{u}}f\left( {-1,2} \right),$ let $x = -1$ and $y = 2\text{:}$

要计算 $D_{\mathbf{u}}f\left( {-1,2} \right)$,取 $x = -1$、$y = 2$:

$$D_{\mathbf{u}}f\left( {-1,2} \right) = \frac{2(-1) + 21(2)}{5} = \frac{-2 + 42}{5} = 8.$$

$$D_{\mathbf{u}}f\left( {-1,2} \right) = \frac{2(-1) + 21(2)}{5} = \frac{-2 + 42}{5} = 8.$$

This is the same answer obtained in Example 4.31.

这与示例 4.31 所得结果一致。

Gradient 梯度

The right-hand side of Equation 4.37 is equal to $f_{x}\left( {x,y} \right)\text{cos}\ \theta + f_{y}\left( {x,y} \right)\text{sin}\ \theta,$ which can be written as the dot product of two vectors. Define the first vector as $\nabla f\left( {x,y} \right) = f_{x}\left( {x,y} \right)\text{i} + f_{y}\left( {x,y} \right)\text{j}$ and the second vector as $\mathbf{u} = \left( {\text{cos}\ \theta} \right)\mathbf{i} + \left( {\text{sin}\ \theta} \right)\mathbf{j}.$ Then the right-hand side of the equation can be written as the dot product of these two vectors:

式 (4.37) 的右端等于 $f_{x}\left( {x,y} \right)\text{cos}\ \theta + f_{y}\left( {x,y} \right)\text{sin}\ \theta$,它可写成两个向量的点积。记第一个向量为 $\nabla f\left( {x,y} \right) = f_{x}\left( {x,y} \right)\text{i} + f_{y}\left( {x,y} \right)\text{j}$,第二个向量为 $\mathbf{u} = \left( {\text{cos}\ \theta} \right)\mathbf{i} + \left( {\text{sin}\ \theta} \right)\mathbf{j}$。于是式 (4.37) 的右端可写成这两个向量的点积:

$$D_{\mathbf{u}}f\left( {x,y} \right) = \nabla f\left( {x,y} \right) \cdot \mathbf{u}.$$ (4.38)

$$D_{\mathbf{u}}f\left( {x,y} \right) = \nabla f\left( {x,y} \right) \cdot \mathbf{u}.$$ (4.38)

The first vector in Equation 4.38 has a special name: the gradient of the function $f.$ The symbol $\nabla$ is called *nabla* and the vector $\nabla f$ is read $\text{“del}\ f\text{.”}$

式 (4.38) 中的第一个向量有一个专门名称:函数 $f$ 的梯度。符号 $\nabla$ 称为 *nabla*(奈布拉),向量 $\nabla f$ 读作「del $f$」。

Let $z = f\left( {x,y} \right)$ be a function of $x\ \text{and}\ y$ such that $f_{x}$ and $f_{y}$ exist. The vector $\nabla f\left( {x,y} \right)$ is called the gradient of $f$ and is defined as

设 $z = f\left( {x,y} \right)$ 是 $x$、$y$ 的函数,且 $f_{x}$、$f_{y}$ 存在。向量 $\nabla f\left( {x,y} \right)$ 称为 $f$ 的梯度,定义为

$$\nabla f\left( {x,y} \right) = f_{x}\left( {x,y} \right)\mathbf{i} + f_{y}\left( {x,y} \right)\mathbf{j}.$$ (4.39)

$$\nabla f\left( {x,y} \right) = f_{x}\left( {x,y} \right)\mathbf{i} + f_{y}\left( {x,y} \right)\mathbf{j}.$$ (4.39)

The vector $\nabla f\left( {x,y} \right)$ is also written as $\text{“grad}\ f\text{.”}$

向量 $\nabla f\left( {x,y} \right)$ 也记作 $\text{“grad}\ f\text{.”}$。

Find the directional derivative $D_{\mathbf{u}}f\left( {x,y} \right)$ of $f\left( {x,y} \right) = 3x^{2}y - 4xy^{3} + 3y^{2} - 4x$ in the direction of $\mathbf{u} = \left( {\text{cos}\ \frac{\pi}{3}} \right)\mathbf{i} + \left( {\text{sin}\ \frac{\pi}{3}} \right)\mathbf{j}$ using Equation 4.37. What is $D_{\mathbf{u}}f\left( {3,4} \right)?$

利用式 (4.37),求函数 $f\left( {x,y} \right) = 3x^{2}y - 4xy^{3} + 3y^{2} - 4x$ 在方向 $\mathbf{u} = \left( {\text{cos}\ \frac{\pi}{3}} \right)\mathbf{i} + \left( {\text{sin}\ \frac{\pi}{3}} \right)\mathbf{j}$ 上的方向导数 $D_{\mathbf{u}}f\left( {x,y} \right)$。$D_{\mathbf{u}}f\left( {3,4} \right)$ 等于多少?

If the vector that is given for the direction of the derivative is not a unit vector, then it is only necessary to divide by the norm of the vector. For example, if we wished to find the directional derivative of the function in Example 4.32 in the direction of the vector $\left\langle {-5,12} \right\rangle,$ we would first divide by its magnitude to get $\mathbf{u}.$ This gives us $\mathbf{u} = \left\langle {\text{−}\left( {5\text{/}13} \right),{12\text{/}13}} \right\rangle.$ Then

若给出的导数方向向量不是单位向量,只需除以该向量的范数即可。例如,若要求示例 4.32 中函数在方向 $\left\langle {-5,12} \right\rangle$ 上的方向导数,我们先除以其模长得到 $\mathbf{u}$,于是 $\mathbf{u} = \left\langle {\text{−}\left( {5\text{/}13} \right),{12\text{/}13}} \right\rangle$。于是

$$\begin{array}{cl} {D_{\mathbf{u}}f\left( {x,y} \right)} & {= \nabla f\left( {x,y} \right) \cdot \mathbf{u}} \\ & {= - \frac{5}{13}\left( {2x - \frac{77}{12}y} \right) + \frac{12}{13}\left( {\text{−}x + 6y} \right)} \\ & {= - \frac{22}{13}x + \frac{17}{13}y.} \end{array}$$

$$\begin{array}{cl} {D_{\mathbf{u}}f\left( {x,y} \right)} & {= \nabla f\left( {x,y} \right) \cdot \mathbf{u}} \\ & {= - \frac{5}{13}\left( {2x - \frac{77}{12}y} \right) + \frac{12}{13}\left( {\text{−}x + 6y} \right)} \\ & {= - \frac{22}{13}x + \frac{17}{13}y.} \end{array}$$

Finding Gradients 求梯度

Find the gradient $\nabla f\left( {x,y} \right)$ of each of the following functions:

求下列各个函数的梯度 $\nabla f\left( {x,y} \right)$:

1. $f\left( {x,y} \right) = x^{2} - xy + 3y^{2}$

1. $f\left( {x,y} \right) = x^{2} - xy + 3y^{2}$

2. $f\left( {x,y} \right) = \text{sin}\ 3x\ \text{cos}\ 3y$

2. $f\left( {x,y} \right) = \text{sin}\ 3x\ \text{cos}\ 3y$

Solution

For both parts a. and b., we first calculate the partial derivatives $f_{x}$ and $f_{y},$ then use Equation 4.39.

对 a、b 两部分,都先求出偏导数 $f_{x}$、$f_{y}$,再利用式 (4.39)。

1.

1.

$\begin{array}{cll} {f_{x}\left( {x,y} \right)} & = & {2x - y\ \text{and}\ f_{y}\left( {x,y} \right) = \text{−}x + 6y,\ \text{so}} \\ {\nabla f\left( {x,y} \right)} & = & {f_{x}\left( {x,y} \right)\mathbf{i} + f_{y}\left( {x,y} \right)\mathbf{j}} \\ & = & {\left( {2x - y} \right)\mathbf{i} + \left( {\text{−}x + 6y} \right)\mathbf{j.}} \end{array}$

$\begin{array}{cll} {f_{x}\left( {x,y} \right)} & = & {2x - y\ \text{and}\ f_{y}\left( {x,y} \right) = \text{−}x + 6y,\ \text{so}} \\ {\nabla f\left( {x,y} \right)} & = & {f_{x}\left( {x,y} \right)\mathbf{i} + f_{y}\left( {x,y} \right)\mathbf{j}} \\ & = & {\left( {2x - y} \right)\mathbf{i} + \left( {\text{−}x + 6y} \right)\mathbf{j.}} \end{array}$

2.

2.

$\begin{array}{cll} {f_{x}\left( {x,y} \right)} & = & {3\ \text{cos}\ 3x\ \text{cos}\ 3y\ \text{and}\ f_{y}\left( {x,y} \right) = -3\ \text{sin}\ 3x\ \text{sin}\ 3y,\ \text{so}} \\ {\nabla f\left( {x,y} \right)} & = & {f_{x}\left( {x,y} \right)\mathbf{i} + f_{y}\left( {x,y} \right)\mathbf{j}} \\ & = & {\left( {3\ \text{cos}\ 3x\ \text{cos}\ 3y} \right)\mathbf{i} - \left( {3\ \text{sin}\ 3x\ \text{sin}\ 3y} \right)\mathbf{j}.} \end{array}$

$\begin{array}{cll} {f_{x}\left( {x,y} \right)} & = & {3\ \text{cos}\ 3x\ \text{cos}\ 3y\ \text{and}\ f_{y}\left( {x,y} \right) = -3\ \text{sin}\ 3x\ \text{sin}\ 3y,\ \text{so}} \\ {\nabla f\left( {x,y} \right)} & = & {f_{x}\left( {x,y} \right)\mathbf{i} + f_{y}\left( {x,y} \right)\mathbf{j}} \\ & = & {\left( {3\ \text{cos}\ 3x\ \text{cos}\ 3y} \right)\mathbf{i} - \left( {3\ \text{sin}\ 3x\ \text{sin}\ 3y} \right)\mathbf{j}.} \end{array}$

Find the gradient $\nabla f\left( {x,y} \right)$ of $f(x,y) = {\left( {x^{2} - 3y^{2}} \right)\text{/}{\left( {2x + y} \right).}}$

求函数 $f(x,y) = {\left( {x^{2} - 3y^{2}} \right)\text{/}{\left( {2x + y} \right).}}$ 的梯度 $\nabla f\left( {x,y} \right)$。

The gradient has some important properties. We have already seen one formula that uses the gradient: the formula for the directional derivative. Recall from The Dot Product that if the angle between two vectors $\mathbf{a}$ and $\mathbf{b}$ is $\varphi,$ then $\mathbf{a} \cdot \text{b} = \left\| \mathbf{a} \right\|\left\| \text{b} \right\|\text{cos}\ \varphi.$ Therefore, if the angle between $\nabla f\left( {x_{0},y_{0}} \right)$ and $\mathbf{u} = \left( {\text{cos}\ \theta} \right)\mathbf{i} + \left( {\text{sin}\ \theta} \right)\mathbf{j}$ is $\varphi,$ we have

梯度有一些重要性质。我们已经见过一个用到梯度的公式:方向导数的公式。回顾「点积」一节:若两向量 $\mathbf{a}$、$\mathbf{b}$ 的夹角为 $\varphi$,则 $\mathbf{a} \cdot \text{b} = \left\| \mathbf{a} \right\|\left\| \text{b} \right\|\text{cos}\ \varphi$。因此,若 $\nabla f\left( {x_{0},y_{0}} \right)$ 与 $\mathbf{u} = \left( {\text{cos}\ \theta} \right)\mathbf{i} + \left( {\text{sin}\ \theta} \right)\mathbf{j}$ 的夹角为 $\varphi$,则有

$$D_{\mathbf{u}}f\left( {x_{0},y_{0}} \right) = \nabla f\left( {x_{0},y_{0}} \right) \cdot \mathbf{u} = \left\| {\nabla f\left( {x_{0},y_{0}} \right)} \right\|\left\| \mathbf{u} \right\|\text{cos}\ \varphi = \left\| {\nabla f\left( {x_{0},y_{0}} \right)} \right\|\text{cos}\ \varphi.$$

$$D_{\mathbf{u}}f\left( {x_{0},y_{0}} \right) = \nabla f\left( {x_{0},y_{0}} \right) \cdot \mathbf{u} = \left\| {\nabla f\left( {x_{0},y_{0}} \right)} \right\|\left\| \mathbf{u} \right\|\text{cos}\ \varphi = \left\| {\nabla f\left( {x_{0},y_{0}} \right)} \right\|\text{cos}\ \varphi.$$

The $\left\| \mathbf{u} \right\|$ disappears because $\mathbf{u}$ is a unit vector. Therefore, the directional derivative is equal to the magnitude of the gradient evaluated at $\left( {x_{0},y_{0}} \right)$ multiplied by $\text{cos}\ \varphi.$ Recall that $\text{cos}\ \varphi$ ranges from $-1$ to $1.$ If $\varphi = 0,$ then $\text{cos}\ \varphi = 1$ and $\nabla f\left( {x_{0},y_{0}} \right)$ and $\mathbf{u}$ both point in the same direction. If $\varphi = \pi,$ then $\text{cos}\ \varphi = -1$ and $\nabla f\left( {x_{0},y_{0}} \right)$ and $\mathbf{u}$ point in opposite directions. In the first case, the value of $D_{\text{u}}f\left( {x_{0},y_{0}} \right)$ is maximized; in the second case, the value of $D_{\text{u}}f\left( {x_{0},y_{0}} \right)$ is minimized. If $\nabla f\left( {x_{0},y_{0}} \right) = 0,$ then $D_{\mathbf{u}}f\left( {x_{0},y_{0}} \right) = \nabla f\left( {x_{0},y_{0}} \right) \cdot \mathbf{u} = 0$ for any vector $\mathbf{u}.$ These three cases are outlined in the following theorem.

由于 $\mathbf{u}$ 是单位向量,$\left\| \mathbf{u} \right\|$ 消失。因此,方向导数等于梯度在 $\left( {x_{0},y_{0}} \right)$ 处的模长乘以 $\text{cos}\ \varphi$。回顾 $\text{cos}\ \varphi$ 的取值范围为 $-1$ 到 $1$。若 $\varphi = 0$,则 $\text{cos}\ \varphi = 1$,且 $\nabla f\left( {x_{0},y_{0}} \right)$ 与 $\mathbf{u}$ 同向;若 $\varphi = \pi$,则 $\text{cos}\ \varphi = -1$,且 $\nabla f\left( {x_{0},y_{0}} \right)$ 与 $\mathbf{u}$ 反向。第一种情形使 $D_{\text{u}}f\left( {x_{0},y_{0}} \right)$ 取最大值,第二种情形使其取最小值。若 $\nabla f\left( {x_{0},y_{0}} \right) = 0$,则对任意向量 $\mathbf{u}$ 都有 $D_{\mathbf{u}}f\left( {x_{0},y_{0}} \right) = \nabla f\left( {x_{0},y_{0}} \right) \cdot \mathbf{u} = 0$。这三种情形总结于下述定理。

Properties of the Gradient 梯度的性质

Suppose the function $z = f\left( {x,y} \right)$ is differentiable at $\left( {x_{0},y_{0}} \right)$ (Figure 4.41).

设函数 $z = f\left( {x,y} \right)$ 在 $\left( {x_{0},y_{0}} \right)$ 处可微(图 4.41)。

1. If $\nabla f\left( {x_{0},y_{0}} \right) = \mathbf{0},$ then $D_{\mathbf{u}}f\left( {x_{0},y_{0}} \right) = 0$ for any unit vector $\mathbf{u}.$

1. 若 $\nabla f\left( {x_{0},y_{0}} \right) = \mathbf{0}$,则对任意单位向量 $\mathbf{u}$ 都有 $D_{\mathbf{u}}f\left( {x_{0},y_{0}} \right) = 0$。

2. If $\nabla f\left( {x_{0},y_{0}} \right) \neq \mathbf{0},$ then $D_{\mathbf{u}}f\left( {x_{0},y_{0}} \right)$ is maximized when $\mathbf{u}$ points in the same direction as $\nabla f\left( {x_{0},y_{0}} \right).$ The maximum value of $D_{\mathbf{u}}f\left( {x_{0},y_{0}} \right)$ is $\left\| {\nabla f\left( {x_{0},y_{0}} \right)} \right\|\text{.}$

2. 若 $\nabla f\left( {x_{0},y_{0}} \right) \neq \mathbf{0}$,则当 $\mathbf{u}$ 与 $\nabla f\left( {x_{0},y_{0}} \right)$ 同向时,$D_{\mathbf{u}}f\left( {x_{0},y_{0}} \right)$ 取最大值,其最大值为 $\left\| {\nabla f\left( {x_{0},y_{0}} \right)} \right\|$。

3. If $\nabla f\left( {x_{0},y_{0}} \right) \neq \mathbf{0},$ then $D_{\mathbf{u}}f\left( {x_{0},y_{0}} \right)$ is minimized when $\mathbf{u}$ points in the opposite direction from $\nabla f\left( {x_{0},y_{0}} \right).$ The minimum value of $D_{\mathbf{u}}f\left( {x_{0},y_{0}} \right)$ is $\text{−}\left\| {\nabla f\left( {x_{0},y_{0}} \right)} \right\|\text{.}$

3. 若 $\nabla f\left( {x_{0},y_{0}} \right) \neq \mathbf{0}$,则当 $\mathbf{u}$ 与 $\nabla f\left( {x_{0},y_{0}} \right)$ 反向时,$D_{\mathbf{u}}f\left( {x_{0},y_{0}} \right)$ 取最小值,其最小值为 $\text{−}\left\| {\nabla f\left( {x_{0},y_{0}} \right)} \right\|$。

Finding a Maximum Directional Derivative 求最大方向导数

Find the direction for which the directional derivative of $f\left( {x,y} \right) = 3x^{2} - 4xy + 2y^{2}$ at $\left( {-2,3} \right)$ is a maximum. What is the maximum value?

求 $f\left( {x,y} \right) = 3x^{2} - 4xy + 2y^{2}$ 在点 $\left( {-2,3} \right)$ 处方向导数取最大值的方向。最大值是多少?

Solution

The maximum value of the directional derivative occurs when $\nabla f$ and the unit vector point in the same direction. Therefore, we start by calculating $\nabla f\left( {x,y} \right)\text{:}$

当 $\nabla f$ 与单位向量同向时,方向导数取最大值。因此,我们先计算 $\nabla f\left( {x,y} \right)$:

$$\begin{array}{rll} {f_{x}\left( {x,y} \right)} & = & {6x - 4y\ \text{and}\ f_{y}\left( {x,y} \right) = -4x + 4y,\ \text{so}} \\ {\nabla f\left( {x,y} \right)} & = & {f_{x}\left( {x,y} \right)\mathbf{i} + f_{y}\left( {x,y} \right)\mathbf{j} = \left( {6x - 4y} \right)\mathbf{i} + \left( {-4x + 4y} \right)\mathbf{j}.} \end{array}$$

$$\begin{array}{rll} {f_{x}\left( {x,y} \right)} & = & {6x - 4y\ \text{and}\ f_{y}\left( {x,y} \right) = -4x + 4y,\ \text{so}} \\ {\nabla f\left( {x,y} \right)} & = & {f_{x}\left( {x,y} \right)\mathbf{i} + f_{y}\left( {x,y} \right)\mathbf{j} = \left( {6x - 4y} \right)\mathbf{i} + \left( {-4x + 4y} \right)\mathbf{j}.} \end{array}$$

Next, we evaluate the gradient at $\left( {-2,3} \right)\text{:}$

接着,计算梯度在 $\left( {-2,3} \right)$ 处的值:

$$\nabla f\left( {-2,3} \right) = \left( {6(-2) - 4(3)} \right)\mathbf{i} + \left( {-4(-2) + 4(3)} \right)\mathbf{j} = -24\mathbf{i} + 20\mathbf{j}.$$

$$\nabla f\left( {-2,3} \right) = \left( {6(-2) - 4(3)} \right)\mathbf{i} + \left( {-4(-2) + 4(3)} \right)\mathbf{j} = -24\mathbf{i} + 20\mathbf{j}.$$

We need to find a unit vector that points in the same direction as $\nabla f\left( {-2,3} \right),$ so the next step is to divide $\nabla f\left( {-2,3} \right)$ by its magnitude, which is $\sqrt{(-24)^{2} + (20)^{2}} = \sqrt{976} = 4\sqrt{61}.$ Therefore,

我们需要找一个与 $\nabla f\left( {-2,3} \right)$ 同向的单位向量,下一步将 $\nabla f\left( {-2,3} \right)$ 除以其模长,其模长为 $\sqrt{(-24)^{2} + (20)^{2}} = \sqrt{976} = 4\sqrt{61}$。于是

$$\frac{\nabla f\left( {-2,3} \right)}{\left\| {\nabla f\left( {-2,3} \right)} \right\|} = \frac{-24}{4\sqrt{61}}\mathbf{i} + \frac{20}{4\sqrt{61}}\mathbf{j} = \frac{-6\sqrt{61}}{61}\mathbf{i} + \frac{5\sqrt{61}}{61}\mathbf{j}.$$

$$\frac{\nabla f\left( {-2,3} \right)}{\left\| {\nabla f\left( {-2,3} \right)} \right\|} = \frac{-24}{4\sqrt{61}}\mathbf{i} + \frac{20}{4\sqrt{61}}\mathbf{j} = \frac{-6\sqrt{61}}{61}\mathbf{i} + \frac{5\sqrt{61}}{61}\mathbf{j}.$$

This is the unit vector that points in the same direction as $\nabla f\left( {-2,3} \right).$ To find the angle corresponding to this unit vector, we solve the equations

这就是与 $\nabla f\left( {-2,3} \right)$ 同向的单位向量。为求该单位向量对应的角,我们解下列方程

$$\text{cos}\ \theta = \frac{-6\sqrt{61}}{61}\ \text{and}\ \text{sin}\ \theta = \frac{5\sqrt{61}}{61}$$

$$\text{cos}\ \theta = \frac{-6\sqrt{61}}{61}\ \text{and}\ \text{sin}\ \theta = \frac{5\sqrt{61}}{61}$$

for $\theta.$ Since cosine is negative and sine is positive, the angle must be in the second quadrant. Therefore, $\theta = \pi - \text{arcsin}\left( {\left( {5\sqrt{61}} \right)\text{/}61} \right) \approx 2.45\ \text{rad.}$

求 $\theta$。由于余弦为负、正弦为正,该角必在第二象限。因此,$\theta = \pi - \text{arcsin}\left( {\left( {5\sqrt{61}} \right)\text{/}61} \right) \approx 2.45\ \text{rad}$。

The maximum value of the directional derivative at $\left( {-2,3} \right)$ is $\left\| {\nabla f\left( {-2,3} \right)} \right\| = 4\sqrt{61}$ (see the following figure).

在点 $\left( {-2,3} \right)$ 处方向导数的最大值为 $\left\| {\nabla f\left( {-2,3} \right)} \right\| = 4\sqrt{61}$(见下图)。

Find the direction for which the directional derivative of $g\left( {x,y} \right) = 4x - xy + 2y^{2}$ at $\left( {-2,3} \right)$ is a maximum. What is the maximum value?

求 $g\left( {x,y} \right) = 4x - xy + 2y^{2}$ 在点 $\left( {-2,3} \right)$ 处方向导数取最大值的方向。最大值是多少?

Figure 4.43 shows a portion of the graph of the function $f\left( {x,y} \right) = 3 + \text{sin}\ x\ \text{sin}\ y.$ Given a point $\left( {a,b} \right)$ in the domain of $f,$ the maximum value of the gradient at that point is given by $\left\| {\nabla f\left( {a,b} \right)} \right\|.$ This would equal the rate of greatest ascent if the surface represented a topographical map. If we went in the opposite direction, it would be the rate of greatest descent.

图 4.43 展示了函数 $f\left( {x,y} \right) = 3 + \text{sin}\ x\ \text{sin}\ y$ 图像的一部分。给定 $f$ 定义域中一点 $\left( {a,b} \right)$,该点处梯度的最大值由 $\left\| {\nabla f\left( {a,b} \right)} \right\|$ 给出。若该曲面表示一张地形图,这就是最陡上升的速率;若沿相反方向走,则是最陡下降的速率。

When using a topographical map, the steepest slope is always in the direction where the contour lines are closest together (see Figure 4.44). This is analogous to the contour map of a function, assuming the level curves are obtained for equally spaced values throughout the range of that function.

使用地形图时,最陡的坡度总出现在等高线最密集的方向(见图 4.44)。这与函数的等高线图类似,这里假定在该函数的整个值域上以等间隔取值得到等高线。

Gradients and Level Curves 梯度与等高线

Recall that if a curve is defined parametrically by the function pair $\left( {x(t),y(t)} \right),$ then the vector $x^{\prime}(t)\mathbf{i} + y^{\prime}(t)\mathbf{j}$ is tangent to the curve for every value of $t$ in the domain. Now let’s assume $z = f\left( {x,y} \right)$ is a differentiable function of $x\ \text{and}\ y,$ and $\left( {x_{0},y_{0}} \right)$ is in its domain. Let’s suppose further that $x_{0} = x\left( t_{0} \right)$ and $y_{0} = y\left( t_{0} \right)$ for some value of $t,$ and consider the level curve $f\left( {x,y} \right) = k.$ Define $g(t) = f\left( {x(t),y(t)} \right)$ and calculate $g^{\prime}(t)$ on the level curve. By the chain Rule,

回忆:若一条曲线由函数对 $\left( {x(t),y(t)} \right)$ 参数化定义,则对定义域内每个 $t$ 值,向量 $x^{\prime}(t)\mathbf{i} + y^{\prime}(t)\mathbf{j}$ 都与该曲线相切。现设 $z = f\left( {x,y} \right)$ 是 $x$ 与 $y$ 的可微函数,且 $\left( {x_{0},y_{0}} \right)$ 在其定义域内。再设对某个 $t$ 值有 $x_{0} = x\left( t_{0} \right)$、$y_{0} = y\left( t_{0} \right)$,并考虑等高线 $f\left( {x,y} \right) = k$。定义 $g(t) = f\left( {x(t),y(t)} \right)$,并在该等高线上计算 $g^{\prime}(t)$。由链式法则,

$$g^{\prime}(t) = f_{x}\left( {x(t),y(t)} \right)x^{\prime}(t) + f_{y}\left( {x(t),y(t)} \right)y^{\prime}(t).$$

$$g^{\prime}(t) = f_{x}\left( {x(t),y(t)} \right)x^{\prime}(t) + f_{y}\left( {x(t),y(t)} \right)y^{\prime}(t).$$

But $g^{\prime}(t) = 0$ because $g(t) = k$ for all $t.$ Therefore, on the one hand,

但对一切 $t$ 都有 $g(t) = k$,故 $g^{\prime}(t) = 0$。因此,一方面,

$$f_{x}\left( {x(t),y(t)} \right)x^{\prime}(t) + f_{y}\left( {x(t),y(t)} \right)y^{\prime}(t) = 0;$$

$$f_{x}\left( {x(t),y(t)} \right)x^{\prime}(t) + f_{y}\left( {x(t),y(t)} \right)y^{\prime}(t) = 0;$$

on the other hand,

另一方面,

$$f_{x}\left( {x(t),y(t)} \right)x^{\prime}(t) + f_{y}\left( {x(t),y(t)} \right)y^{\prime}(t) = \nabla f\left( {x,y} \right) \cdot \left\langle {x^{\prime}(t),y^{\prime}(t)} \right\rangle\text{.}$$

$$f_{x}\left( {x(t),y(t)} \right)x^{\prime}(t) + f_{y}\left( {x(t),y(t)} \right)y^{\prime}(t) = \nabla f\left( {x,y} \right) \cdot \left\langle {x^{\prime}(t),y^{\prime}(t)} \right\rangle\text{.}$$

Therefore,

因此,

$$\nabla f\left( {x,y} \right) \cdot \left\langle {x^{\prime}(t),y^{\prime}(t)} \right\rangle = 0.$$

$$\nabla f\left( {x,y} \right) \cdot \left\langle {x^{\prime}(t),y^{\prime}(t)} \right\rangle = 0.$$

Thus, the dot product of these vectors is equal to zero, which implies they are orthogonal. However, the second vector is tangent to the level curve, which implies the gradient must be normal to the level curve, which gives rise to the following theorem.

于是这两个向量的点积为零,说明它们互相正交。而其中第二个向量与等高线相切,故梯度必为等高线的法向量。由此得到下述定理。

Gradient Is Normal to the Level Curve 梯度是等高线的法向量

Suppose the function $z = f\left( {x,y} \right)$ has continuous first-order partial derivatives in an open disk centered at a point $\left( {x_{0},y_{0}} \right).$ If $\nabla f\left( {x_{0},y_{0}} \right) \neq \mathbf{0},$ then $\nabla f\left( {x_{0},y_{0}} \right)$ is normal to the level curve of $f$ at $\left( {x_{0},y_{0}} \right).$

设函数 $z = f\left( {x,y} \right)$ 在以点 $\left( {x_{0},y_{0}} \right)$ 为中心的某个开圆盘内具有连续的一阶偏导数。若 $\nabla f\left( {x_{0},y_{0}} \right) \neq \mathbf{0}$,则 $\nabla f\left( {x_{0},y_{0}} \right)$ 是 $f$ 在 $\left( {x_{0},y_{0}} \right)$ 处等高线的法向量。

We can use this theorem to find tangent and normal vectors to level curves of a function.

利用该定理可以求出函数等高线的切向量与法向量。

Finding Tangents to Level Curves 求等高线的切线

For the function $f\left( {x,y} \right) = 2x^{2} - 3xy + 8y^{2} + 2x - 4y + 4,$ find a tangent vector to the level curve at point $\left( {-2,1} \right).$ Graph the level curve corresponding to $f\left( {x,y} \right) = 18$ and draw in $\nabla f\left( {-2,1} \right)$ and a tangent vector.

对函数 $f\left( {x,y} \right) = 2x^{2} - 3xy + 8y^{2} + 2x - 4y + 4$,求其等高线在点 $\left( {-2,1} \right)$ 处的一个切向量。画出对应于 $f\left( {x,y} \right) = 18$ 的等高线,并在图中画出 $\nabla f\left( {-2,1} \right)$ 与一个切向量。

Solution

First, we must calculate $\nabla f\left( {x,y} \right)\text{:}$

首先必须计算 $\nabla f\left( {x,y} \right)$:

$$f_{x}\left( {x,y} \right) = 4x - 3y + 2\ \text{and}\ f_{y} = -3x + 16y - 4\ \text{so}\ \nabla f\left( {x,y} \right) = \left( {4x - 3y + 2} \right)\mathbf{i} + \left( {-3x + 16y - 4} \right)\mathbf{j}.$$

$$f_{x}\left( {x,y} \right) = 4x - 3y + 2\ \text{and}\ f_{y} = -3x + 16y - 4\ \text{so}\ \nabla f\left( {x,y} \right) = \left( {4x - 3y + 2} \right)\mathbf{i} + \left( {-3x + 16y - 4} \right)\mathbf{j}.$$

Next, we evaluate $\nabla f\left( {x,y} \right)$ at $\left( {-2,1} \right)\text{:}$

接着在 $\left( {-2,1} \right)$ 处求 $\nabla f\left( {x,y} \right)$ 的值:

$$\nabla f\left( {-2,1} \right) = \left( {4(-2) - 3(1) + 2} \right)\mathbf{i} + \left( {-3(-2) + 16(1) - 4} \right)\mathbf{j} = -9\mathbf{i} + 18\mathbf{j}.$$

$$\nabla f\left( {-2,1} \right) = \left( {4(-2) - 3(1) + 2} \right)\mathbf{i} + \left( {-3(-2) + 16(1) - 4} \right)\mathbf{j} = -9\mathbf{i} + 18\mathbf{j}.$$

This vector is orthogonal to the curve at point $\left( {-2,1} \right).$ We can obtain a tangent vector by reversing the components and multiplying either one by $-1.$ Thus, for example, $-18\mathbf{i} - 9\mathbf{j}$ is a tangent vector (see the following graph).

该向量在点 $\left( {-2,1} \right)$ 处与曲线正交。把两个分量互换位置、再将其中之一乘以 $-1$,即可得到一个切向量。例如 $-18\mathbf{i} - 9\mathbf{j}$ 就是一个切向量(见下图)。

For the function $f\left( {x,y} \right) = x^{2} - 2xy + 5y^{2} + 3x - 2y + 4,$ find the tangent to the level curve at point $\left( {1,1} \right).$ Draw the graph of the level curve corresponding to $f\left( {x,y} \right) = 9$ and draw $\nabla f\left( {1,1} \right)$ and a tangent vector.

对函数 $f\left( {x,y} \right) = x^{2} - 2xy + 5y^{2} + 3x - 2y + 4$,求其等高线在点 $\left( {1,1} \right)$ 处的切线。画出对应于 $f\left( {x,y} \right) = 9$ 的等高线的图像,并画出 $\nabla f\left( {1,1} \right)$ 与一个切向量。

Three-Dimensional Gradients and Directional Derivatives 三维梯度与方向导数

The definition of a gradient can be extended to functions of more than two variables.

梯度的定义可以推广到二元以上的函数。

Let $w = f\left( {x,y,z} \right)$ be a function of three variables such that $f_{x},f_{y},\text{and}\ f_{z}$ exist. The vector $\nabla f\left( {x,y,z} \right)$ is called the gradient of $f$ and is defined as

设 $w = f\left( {x,y,z} \right)$ 为三元函数,且 $f_{x},f_{y}$ 与 $f_{z}$ 都存在。向量 $\nabla f\left( {x,y,z} \right)$ 称为 $f$ 的梯度,定义为

$$\nabla f\left( {x,y,z} \right) = f_{x}\left( {x,y,z} \right)\mathbf{i} + f_{y}\left( {x,y,z} \right)\mathbf{j} + f_{z}\left( {x,y,z} \right)\mathbf{k}.$$ (4.40)

$$\nabla f\left( {x,y,z} \right) = f_{x}\left( {x,y,z} \right)\mathbf{i} + f_{y}\left( {x,y,z} \right)\mathbf{j} + f_{z}\left( {x,y,z} \right)\mathbf{k}.$$ (4.40)

$\nabla f\left( {x,y,z} \right)$ can also be written as $\text{grad}\ f\left( {x,y,z} \right).$

$\nabla f\left( {x,y,z} \right)$ 也可写作 $\text{grad}\ f\left( {x,y,z} \right)$。

Calculating the gradient of a function in three variables is very similar to calculating the gradient of a function in two variables. First, we calculate the partial derivatives $f_{x},f_{y},$ and $f_{z},$ and then we use Equation 4.40.

求三元函数的梯度与求二元函数的梯度十分相似。先计算偏导数 $f_{x},f_{y}$ 与 $f_{z}$,再使用公式 4.40。

Finding Gradients in Three Dimensions 求三维中的梯度

Find the gradient $\nabla f\left( {x,y,z} \right)$ of each of the following functions:

求下列各函数的梯度 $\nabla f\left( {x,y,z} \right)$:

1. $f\left( {x,y,z} \right) = 5x^{2} - 2xy + y^{2} - 4yz + z^{2} + 3xz$

1. $f\left( {x,y,z} \right) = 5x^{2} - 2xy + y^{2} - 4yz + z^{2} + 3xz$

2. $f\left( {x,y,z} \right) = e^{-2z}\text{sin}\ 2x\ \text{cos}\ 2y$

2. $f\left( {x,y,z} \right) = e^{-2z}\text{sin}\ 2x\ \text{cos}\ 2y$

Solution

For both parts a. and b., we first calculate the partial derivatives $f_{x},f_{y},$ and $f_{z},$ then use Equation 4.40.

对 a、b 两部分,都先计算偏导数 $f_{x},f_{y}$ 与 $f_{z}$,再使用公式 4.40。

1.

1.

$\begin{matrix} {f_{x}(x,y,z)} & = & {10x - 2y + 3z,\ f_{y}(x,y,z) = -2x + 2y - 4z\ \text{and}\ f_{z}(x,y,z) = 3x - 4y + 2z,\ \text{so}} \\ {\nabla f(x,y,z)} & = & {f_{x}(x,y,z)\mathbf{i} + f_{y}(x,y,z)\mathbf{j} + f_{z}(x,y,z)\mathbf{k}} \\ & = & {(10x - 2y + 3z)\mathbf{i} + (-2x + 2y - 4z)\mathbf{j} + (3x - 4y + 2z)\mathbf{k}.} \end{matrix}$

$\begin{matrix} {f_{x}(x,y,z)} & = & {10x - 2y + 3z,\ f_{y}(x,y,z) = -2x + 2y - 4z\ \text{and}\ f_{z}(x,y,z) = 3x - 4y + 2z,\ \text{so}} \\ {\nabla f(x,y,z)} & = & {f_{x}(x,y,z)\mathbf{i} + f_{y}(x,y,z)\mathbf{j} + f_{z}(x,y,z)\mathbf{k}} \\ & = & {(10x - 2y + 3z)\mathbf{i} + (-2x + 2y - 4z)\mathbf{j} + (3x - 4y + 2z)\mathbf{k}.} \end{matrix}$

2.

2.

$\begin{matrix} {f_{x}(x,y,z)} & = & {2e^{-2z}\text{cos}\ 2x\ \text{cos}\ 2y,\ f_{y}(x,y,z) = -2e^{-2z}\text{sin}\ 2x\ \text{sin}\ 2y\ \text{and}} \\ {f_{z}(x,y,z)} & = & {-2e^{-2z}\text{sin}\ 2x\ \text{cos}\ 2y,\ \text{so}} \\ {\nabla f(x,y,z)} & = & {f_{x}(x,y,z)\mathbf{i} + f_{y}(x,y,z)\mathbf{j} + f_{z}(x,y,z)\mathbf{k}} \\ & = & {\left( 2e^{-2z}\text{cos}\ 2x\ \text{cos}\ 2y \right)\mathbf{i} + \left( - 2e^{- 2z}\sin~2x~\sin~2y \right)\mathbf{j} + \left( - 2e^{- 2z}\sin~2x~\cos~2y \right)\mathbf{k}} \\ & = & {2e^{-2z}\left( \text{cos}\ 2x\ \text{cos}\ 2y\ \text{i} - \text{sin}\ 2x\ \text{sin}\ 2y\ \text{j} - \text{sin}\ 2x\ \text{cos}\ 2y\ \text{k} \right).} \end{matrix}$

$\begin{matrix} {f_{x}(x,y,z)} & = & {2e^{-2z}\text{cos}\ 2x\ \text{cos}\ 2y,\ f_{y}(x,y,z) = -2e^{-2z}\text{sin}\ 2x\ \text{sin}\ 2y\ \text{and}} \\ {f_{z}(x,y,z)} & = & {-2e^{-2z}\text{sin}\ 2x\ \text{cos}\ 2y,\ \text{so}} \\ {\nabla f(x,y,z)} & = & {f_{x}(x,y,z)\mathbf{i} + f_{y}(x,y,z)\mathbf{j} + f_{z}(x,y,z)\mathbf{k}} \\ & = & {\left( 2e^{-2z}\text{cos}\ 2x\ \text{cos}\ 2y \right)\mathbf{i} + \left( - 2e^{- 2z}\sin~2x~\sin~2y \right)\mathbf{j} + \left( - 2e^{- 2z}\sin~2x~\cos~2y \right)\mathbf{k}} \\ & = & {2e^{-2z}\left( \text{cos}\ 2x\ \text{cos}\ 2y\ \text{i} - \text{sin}\ 2x\ \text{sin}\ 2y\ \text{j} - \text{sin}\ 2x\ \text{cos}\ 2y\ \text{k} \right).} \end{matrix}$

Find the gradient $\nabla f\left( {x,y,z} \right)$ of $f(x,y,z) = \frac{x^{2} - 3y^{2} + z^{2}}{2x + y - 4z}.$

求 $f(x,y,z) = \frac{x^{2} - 3y^{2} + z^{2}}{2x + y - 4z}$ 的梯度 $\nabla f\left( {x,y,z} \right)$。

The directional derivative can also be generalized to functions of three variables. To determine a direction in three dimensions, a vector with three components is needed. This vector is a unit vector, and the components of the unit vector are called *directional cosines*. Given a three-dimensional unit vector $\mathbf{u}$ in standard form (i.e., the initial point is at the origin), this vector forms three different angles with the positive $x - ,y - ,$ and *z-*axes. Let’s call these angles $\alpha,\beta,$ and $\gamma.$ Then the directional cosines are given by $\text{cos}\ \alpha,\text{cos}\ \beta,$ and $\text{cos}\ \gamma.$ These are the components of the unit vector $\mathbf{u};$ since $\mathbf{u}$ is a unit vector, it is true that $\text{cos}^{2}\alpha + \text{cos}^{2}\beta + \text{cos}^{2}\gamma = 1.$

方向导数同样可以推广到三元函数。要在三维中确定一个方向,需要一个具有三个分量的向量。该向量取为单位向量,其各分量称为*方向余弦*。给定标准形式(即起点位于原点)的三维单位向量 $\mathbf{u}$,它与 $x - ,y - ,$ 以及 *z* 轴的正向构成三个不同的角。记这些角为 $\alpha,\beta$ 与 $\gamma$。于是方向余弦为 $\text{cos}\ \alpha,\text{cos}\ \beta$ 与 $\text{cos}\ \gamma$。它们正是单位向量 $\mathbf{u}$ 的分量;由于 $\mathbf{u}$ 是单位向量,必有 $\text{cos}^{2}\alpha + \text{cos}^{2}\beta + \text{cos}^{2}\gamma = 1$。

Suppose $w = f\left( {x,y,z} \right)$ is a function of three variables with a domain of $D.$ Let $\left( {x_{0},y_{0},z_{0}} \right) \in D$ and let $\text{u} = \text{cos}\ \alpha\mathbf{i} + \text{cos}\ \beta\mathbf{j} + \text{cos}\ \gamma\mathbf{k}$ be a unit vector. Then, the directional derivative of $f$ in the direction of $u$ is given by

设 $w = f\left( {x,y,z} \right)$ 是定义域为 $D$ 的三元函数。取 $\left( {x_{0},y_{0},z_{0}} \right) \in D$,并设 $\text{u} = \text{cos}\ \alpha\mathbf{i} + \text{cos}\ \beta\mathbf{j} + \text{cos}\ \gamma\mathbf{k}$ 为单位向量。则 $f$ 沿 $u$ 方向的方向导数为

$$D_{\mathbf{u}}f\left( {x_{0},y_{0},z_{0}} \right) = \underset{t\rightarrow 0}{\text{lim}}\frac{f\left( {x_{0} + t\ \text{cos}\ \alpha,y_{0} + t\ \text{cos}\ \beta,z_{0} + t\ \text{cos}\ \gamma} \right) - f\left( {x_{0},y_{0},z_{0}} \right)}{t},$$ (4.41)

$$D_{\mathbf{u}}f\left( {x_{0},y_{0},z_{0}} \right) = \underset{t\rightarrow 0}{\text{lim}}\frac{f\left( {x_{0} + t\ \text{cos}\ \alpha,y_{0} + t\ \text{cos}\ \beta,z_{0} + t\ \text{cos}\ \gamma} \right) - f\left( {x_{0},y_{0},z_{0}} \right)}{t},$$ (4.41)

provided the limit exists.

前提是该极限存在。

We can calculate the directional derivative of a function of three variables by using the gradient, leading to a formula that is analogous to Equation 4.38.

三元函数的方向导数可以借助梯度来计算,由此得到与公式 4.38 类似的公式。

Directional Derivative of a Function of Three Variables 三元函数的方向导数

Let $f\left( {x,y,z} \right)$ be a differentiable function of three variables and let $\mathbf{u} = \text{cos}\ \alpha\mathbf{i} + \text{cos}\ \beta\mathbf{j} + \text{cos}\ \gamma\mathbf{k}$ be a unit vector. Then, the directional derivative of $f$ in the direction of $\mathbf{u}$ is given by

设 $f\left( {x,y,z} \right)$ 为可微的三元函数,$\mathbf{u} = \text{cos}\ \alpha\mathbf{i} + \text{cos}\ \beta\mathbf{j} + \text{cos}\ \gamma\mathbf{k}$ 为单位向量。则 $f$ 沿 $\mathbf{u}$ 方向的方向导数为

$$\begin{array}{cl} {D_{\mathbf{u}}f\left( {x,y,z} \right)} & {= \nabla f\left( {x,y,z} \right) \cdot \mathbf{u}} \\ & {= f_{x}\left( {x,y,z} \right)\text{cos}\ \alpha + f_{y}\left( {x,y,z} \right)\text{cos}\ \beta + f_{z}\left( {x,y,z} \right)\text{cos}\ \gamma.} \end{array}$$ (4.42)

$$\begin{array}{cl} {D_{\mathbf{u}}f\left( {x,y,z} \right)} & {= \nabla f\left( {x,y,z} \right) \cdot \mathbf{u}} \\ & {= f_{x}\left( {x,y,z} \right)\text{cos}\ \alpha + f_{y}\left( {x,y,z} \right)\text{cos}\ \beta + f_{z}\left( {x,y,z} \right)\text{cos}\ \gamma.} \end{array}$$ (4.42)

The three angles $\alpha,\beta,\ \text{and}\ \gamma$ determine the unit vector $\mathbf{u}.$ In practice, we can use an arbitrary (nonunit) vector, then divide by its magnitude to obtain a unit vector in the desired direction.

三个角 $\alpha,\beta$ 与 $\gamma$ 决定了单位向量 $\mathbf{u}$。实际计算中,可以先取任意一个(非单位)向量,再除以它的模,得到所需方向上的单位向量。

Finding a Directional Derivative in Three Dimensions 求三维中的方向导数

Calculate $D_{\mathbf{u}}f\left( {1,-2,3} \right)$ in the direction of $\text{v} = \text{−}\mathbf{i} + 2\mathbf{j} + 2\mathbf{k}$ for the function

对下列函数,计算沿 $\text{v} = \text{−}\mathbf{i} + 2\mathbf{j} + 2\mathbf{k}$ 方向的 $D_{\mathbf{u}}f\left( {1,-2,3} \right)$:

$$f\left( {x,y,z} \right) = 5x^{2} - 2xy + y^{2} - 4yz + z^{2} + 3xz.$$

$$f\left( {x,y,z} \right) = 5x^{2} - 2xy + y^{2} - 4yz + z^{2} + 3xz.$$

Solution

First, we find the magnitude of $\mathbf{v}\text{:}$

首先求 $\mathbf{v}$ 的模:

$$\left\| \mathbf{v} \right\| = \sqrt{(-1)^{2} + (2)^{2} + (2)^{2}} = 3.$$

$$\left\| \mathbf{v} \right\| = \sqrt{(-1)^{2} + (2)^{2} + (2)^{2}} = 3.$$

Therefore, $\frac{\mathbf{v}}{\left\| \mathbf{v} \right\|} = \frac{\text{−}\mathbf{i} + 2\mathbf{j} + 2\mathbf{k}}{3} = - \frac{1}{3}\mathbf{i} + \frac{2}{3}\mathbf{j} + \frac{2}{3}\mathbf{k}$ is a unit vector in the direction of $\mathbf{v},$ so $\text{cos}\ \alpha = - \frac{1}{3},\text{cos}\ \beta = \frac{2}{3},\ \text{and}\ \text{cos}\ \gamma = \frac{2}{3}.$ Next, we calculate the partial derivatives of $f\text{:}$

因此 $\frac{\mathbf{v}}{\left\| \mathbf{v} \right\|} = \frac{\text{−}\mathbf{i} + 2\mathbf{j} + 2\mathbf{k}}{3} = - \frac{1}{3}\mathbf{i} + \frac{2}{3}\mathbf{j} + \frac{2}{3}\mathbf{k}$ 是 $\mathbf{v}$ 方向上的单位向量,于是 $\text{cos}\ \alpha = - \frac{1}{3},\text{cos}\ \beta = \frac{2}{3}$,$\text{cos}\ \gamma = \frac{2}{3}$。接着计算 $f$ 的偏导数:

$$\begin{array}{rll} {f_{x}\left( {x,y,z} \right)} & = & {10x - 2y + 3z} \\ {f_{y}\left( {x,y,z} \right)} & = & {-2x + 2y - 4z} \\ {f_{z}\left( {x,y,z} \right)} & = & {-4y + 2z + 3x,} \end{array}$$

$$\begin{array}{rll} {f_{x}\left( {x,y,z} \right)} & = & {10x - 2y + 3z} \\ {f_{y}\left( {x,y,z} \right)} & = & {-2x + 2y - 4z} \\ {f_{z}\left( {x,y,z} \right)} & = & {-4y + 2z + 3x,} \end{array}$$

then substitute them into Equation 4.42:

再把它们代入公式 4.42:

$$\begin{array}{cl} {D_{\mathbf{u}}f\left( {x,y,z} \right)} & {= f_{x}\left( {x,y,z} \right)\text{cos}\ \alpha + f_{y}\left( {x,y,z} \right)\text{cos}\ \beta + f_{z}\left( {x,y,z} \right)\text{cos}\ \gamma} \\ & {= \left( {10x - 2y + 3z} \right)\left( {- \frac{1}{3}} \right) + \left( {-2x + 2y - 4z} \right)\left( \frac{2}{3} \right) + \left( {-4y + 2z + 3x} \right)\left( \frac{2}{3} \right)} \\ & {= - \frac{10x}{3} + \frac{2y}{3} - \frac{3z}{3} - \frac{4x}{3} + \frac{4y}{3} - \frac{8z}{3} - \frac{8y}{3} + \frac{4z}{3} + \frac{6x}{3}} \\ & {= - \frac{8x}{3} - \frac{2y}{3} - \frac{7z}{3}.} \end{array}$$

$$\begin{array}{cl} {D_{\mathbf{u}}f\left( {x,y,z} \right)} & {= f_{x}\left( {x,y,z} \right)\text{cos}\ \alpha + f_{y}\left( {x,y,z} \right)\text{cos}\ \beta + f_{z}\left( {x,y,z} \right)\text{cos}\ \gamma} \\ & {= \left( {10x - 2y + 3z} \right)\left( {- \frac{1}{3}} \right) + \left( {-2x + 2y - 4z} \right)\left( \frac{2}{3} \right) + \left( {-4y + 2z + 3x} \right)\left( \frac{2}{3} \right)} \\ & {= - \frac{10x}{3} + \frac{2y}{3} - \frac{3z}{3} - \frac{4x}{3} + \frac{4y}{3} - \frac{8z}{3} - \frac{8y}{3} + \frac{4z}{3} + \frac{6x}{3}} \\ & {= - \frac{8x}{3} - \frac{2y}{3} - \frac{7z}{3}.} \end{array}$$

Last, to find $D_{\mathbf{u}}f\left( {1,-2,3} \right),$ we substitute $x = 1,y = -2,\ \text{and}\ z = 3\text{:}$

最后,为求 $D_{\mathbf{u}}f\left( {1,-2,3} \right)$,代入 $x = 1,y = -2$ 与 $z = 3$:

$$\begin{array}{cl} {D_{\mathbf{u}}f\left( {1,-2,3} \right)} & {= - \frac{8(1)}{3} - \frac{2(-2)}{3} - \frac{7(3)}{3}} \\ & {= - \frac{8}{3} + \frac{4}{3} - \frac{21}{3}} \\ & {= - \frac{25}{3}.} \end{array}$$

$$\begin{array}{cl} {D_{\mathbf{u}}f\left( {1,-2,3} \right)} & {= - \frac{8(1)}{3} - \frac{2(-2)}{3} - \frac{7(3)}{3}} \\ & {= - \frac{8}{3} + \frac{4}{3} - \frac{21}{3}} \\ & {= - \frac{25}{3}.} \end{array}$$

Calculate $D_{\mathbf{u}}f\left( {x,y,z} \right)$ and $D_{\mathbf{u}}f\left( {0,-2,5} \right)$ in the direction of $\text{v} = -3\mathbf{i} + 12\mathbf{j} - 4\mathbf{k}$ for the function $f\left( {x,y,z} \right) = 3x^{2} + xy - 2y^{2} + 4yz - z^{2} + 2xz.$

对函数 $f\left( {x,y,z} \right) = 3x^{2} + xy - 2y^{2} + 4yz - z^{2} + 2xz$,计算沿 $\text{v} = -3\mathbf{i} + 12\mathbf{j} - 4\mathbf{k}$ 方向的 $D_{\mathbf{u}}f\left( {x,y,z} \right)$ 与 $D_{\mathbf{u}}f\left( {0,-2,5} \right)$。

Section 4.6 Exercises 4.6 节习题

For the following exercises, find the directional derivative using the limit definition only.

下列习题中,仅用极限定义求方向导数。

260\.

260\.

$f\left( {x,y} \right) = 5 - 2x^{2} - \frac{1}{2}y^{2}$ at point $P\left( {3,4} \right)$ in the direction of $\text{u} = \left( {\text{cos}\ \frac{\pi}{4}} \right)\mathbf{i} + \left( {\text{sin}\ \frac{\pi}{4}} \right)\mathbf{j}$

$f\left( {x,y} \right) = 5 - 2x^{2} - \frac{1}{2}y^{2}$ 在点 $P\left( {3,4} \right)$ 处沿 $\text{u} = \left( {\text{cos}\ \frac{\pi}{4}} \right)\mathbf{i} + \left( {\text{sin}\ \frac{\pi}{4}} \right)\mathbf{j}$ 方向

261.

261.

$f\left( {x,y} \right) = y^{2}\text{cos}\left( {2x} \right)$ at point $P\left( {\frac{\pi}{3},2} \right)$ in the direction of $\text{u} = \left( {\text{cos}\ \frac{\pi}{4}} \right)\mathbf{i} + \left( {\text{sin}\ \frac{\pi}{4}} \right)\mathbf{j}$

$f\left( {x,y} \right) = y^{2}\text{cos}\left( {2x} \right)$ 在点 $P\left( {\frac{\pi}{3},2} \right)$ 处沿 $\text{u} = \left( {\text{cos}\ \frac{\pi}{4}} \right)\mathbf{i} + \left( {\text{sin}\ \frac{\pi}{4}} \right)\mathbf{j}$ 方向

262\.

262\.

Find the directional derivative of $f\left( {x,y} \right) = y^{2}\text{sin}\left( {2x} \right)$ at point $P\left( {\frac{\pi}{4},2} \right)$ in the direction of $\mathbf{u} = 5\mathbf{i} + 12\mathbf{j}.$

求 $f\left( {x,y} \right) = y^{2}\text{sin}\left( {2x} \right)$ 在点 $P\left( {\frac{\pi}{4},2} \right)$ 处沿 $\mathbf{u} = 5\mathbf{i} + 12\mathbf{j}$ 方向的方向导数。

For the following exercises, find the directional derivative of the function at point $P$ in the direction of $\mathbf{u}$ or $\mathbf{v}$ as appropriate.

下列习题中,求函数在点 $P$ 处沿 $\mathbf{u}$ 或 $\mathbf{v}$(视题目而定)方向的方向导数。

263.

263.

$f\left( {x,y} \right) = xy,$ $P\left( {0,-2} \right),$ $\mathbf{v} = \frac{1}{2}\mathbf{i} + \frac{\sqrt{3}}{2}\mathbf{j}$

$f\left( {x,y} \right) = xy,$ $P\left( {0,-2} \right),$ $\mathbf{v} = \frac{1}{2}\mathbf{i} + \frac{\sqrt{3}}{2}\mathbf{j}$

264\.

264\.

$h\left( {x,y} \right) = e^{x}\text{sin}\ y,P\left( {1,\frac{\pi}{2}} \right),\mathbf{v} = \text{−}\mathbf{i}$

$h\left( {x,y} \right) = e^{x}\text{sin}\ y,P\left( {1,\frac{\pi}{2}} \right),\mathbf{v} = \text{−}\mathbf{i}$

265.

265.

$h\left( {x,y,z} \right) = xyz,P\left( {2,1,1} \right),\mathbf{v} = 2\mathbf{i} + \mathbf{j} - \mathbf{k}$

$h\left( {x,y,z} \right) = xyz,P\left( {2,1,1} \right),\mathbf{v} = 2\mathbf{i} + \mathbf{j} - \mathbf{k}$

266\.

266\.

$f(x,y) = xy,P(1,1),\mathbf{u} = \left\langle {\frac{\sqrt{2}}{2},\frac{\sqrt{2}}{2}} \right\rangle$

$f(x,y) = xy,P(1,1),\mathbf{u} = \left\langle {\frac{\sqrt{2}}{2},\frac{\sqrt{2}}{2}} \right\rangle$

267.

267.

$f(x,y) = x^{2} - y^{2},\begin{array}{ll} {\mathbf{u} = \left\langle {\frac{\sqrt{3}}{2},\frac{1}{2}} \right\rangle,} & {P(1,0)} \end{array}$

$f(x,y) = x^{2} - y^{2},\begin{array}{ll} {\mathbf{u} = \left\langle {\frac{\sqrt{3}}{2},\frac{1}{2}} \right\rangle,} & {P(1,0)} \end{array}$

268\.

268\.

$f(x,y) = 3x + 4y + 7,\begin{array}{ll} {\mathbf{u} = \left\langle {\frac{3}{5},\frac{4}{5}} \right\rangle,} & {P\left( {0,\frac{\pi}{2}} \right)} \end{array}$

$f(x,y) = 3x + 4y + 7,\begin{array}{ll} {\mathbf{u} = \left\langle {\frac{3}{5},\frac{4}{5}} \right\rangle,} & {P\left( {0,\frac{\pi}{2}} \right)} \end{array}$

269.

269.

$\begin{array}{lll} {f(x,y) = e^{x}\text{cos}\ y,} & {\mathbf{u} = \left\langle {0,1} \right\rangle,} & {P = \left( {0,\frac{\pi}{2}} \right)} \end{array}$

$\begin{array}{lll} {f(x,y) = e^{x}\text{cos}\ y,} & {\mathbf{u} = \left\langle {0,1} \right\rangle,} & {P = \left( {0,\frac{\pi}{2}} \right)} \end{array}$

270\.

270\.

$\begin{array}{lll} {f(x,y) = y^{10},} & {\mathbf{u} = \left\langle {0,-1} \right\rangle,} & {P = (1,-1)} \end{array}$

$\begin{array}{lll} {f(x,y) = y^{10},} & {\mathbf{u} = \left\langle {0,-1} \right\rangle,} & {P = (1,-1)} \end{array}$

271.

271.

$f(x,y) = \text{ln}(x^{2} + y^{2}),\begin{array}{ll} {\mathbf{u} = \left\langle {\frac{3}{5},\frac{4}{5}} \right\rangle,} & {P\left( {1,2} \right)} \end{array}$

$f(x,y) = \text{ln}(x^{2} + y^{2}),\begin{array}{ll} {\mathbf{u} = \left\langle {\frac{3}{5},\frac{4}{5}} \right\rangle,} & {P\left( {1,2} \right)} \end{array}$

272\.

272\.

$f(x,y) = x^{2}y,\begin{array}{ll} {P(-5,5),} & {\mathbf{v} = 3\mathbf{i} - 4\mathbf{j}} \end{array}$

$f(x,y) = x^{2}y,\begin{array}{ll} {P(-5,5),} & {\mathbf{v} = 3\mathbf{i} - 4\mathbf{j}} \end{array}$

273.

273.

$f(x,y,z) = y^{2} + xz,\begin{array}{ll} {P(1,2,2),} & {\mathbf{v} = \left\langle {2,-1,2} \right\rangle} \end{array}$

$f(x,y,z) = y^{2} + xz,\begin{array}{ll} {P(1,2,2),} & {\mathbf{v} = \left\langle {2,-1,2} \right\rangle} \end{array}$

For the following exercises, find the directional derivative of the function in the direction of the unit vector $\mathbf{u} = \text{cos}\ \theta\mathbf{i} + \text{sin}\ \theta\mathbf{j}.$

下列习题中,求函数沿单位向量 $\mathbf{u} = \text{cos}\ \theta\mathbf{i} + \text{sin}\ \theta\mathbf{j}$ 方向的方向导数。

274\.

274\.

$f\left( {x,y} \right) = x^{2} + 2y^{2},\theta = \frac{\pi}{6}$

$f\left( {x,y} \right) = x^{2} + 2y^{2},\theta = \frac{\pi}{6}$

275.

275.

$f\left( {x,y} \right) = \frac{y}{x + 2y},\theta = - \frac{\pi}{4}$

$f\left( {x,y} \right) = \frac{y}{x + 2y},\theta = - \frac{\pi}{4}$

276\.

276\.

$f\left( {x,y} \right) = \text{cos}\left( {3x + y} \right),\theta = \frac{\pi}{4}$

$f\left( {x,y} \right) = \text{cos}\left( {3x + y} \right),\theta = \frac{\pi}{4}$

277.

277.

$w\left( {x,y} \right) = ye^{x},\theta = \frac{\pi}{3}$

$w\left( {x,y} \right) = ye^{x},\theta = \frac{\pi}{3}$

278\.

278\.

$\begin{array}{ll} {f\left( {x,y} \right) = x\ \text{arctan}(y),} & {\theta = \frac{\pi}{2}} \end{array}$

$\begin{array}{ll} {f\left( {x,y} \right) = x\ \text{arctan}(y),} & {\theta = \frac{\pi}{2}} \end{array}$

279.

279.

$\begin{array}{ll} {f\left( {x,y} \right) = \text{ln}(x + 2y),} & {\theta = \frac{\pi}{3}} \end{array}$

$\begin{array}{ll} {f\left( {x,y} \right) = \text{ln}(x + 2y),} & {\theta = \frac{\pi}{3}} \end{array}$

For the following exercises, find the gradient.

下列习题中,求梯度。

280\.

280\.

Find the gradient of $f(x,y) = \frac{14 - x^{2} - y^{2}}{3}.$ Then, find the gradient at point $P\left( {1,2} \right).$

求 $f(x,y) = \frac{14 - x^{2} - y^{2}}{3}$ 的梯度。再求该梯度在点 $P\left( {1,2} \right)$ 处的值。

281.

281.

Find the gradient of $f(x,y,z) = xy + yz + xz$ at point $P\left( {1,2,3} \right).$

求 $f(x,y,z) = xy + yz + xz$ 在点 $P\left( {1,2,3} \right)$ 处的梯度。

282\.

282\.

Find the gradient of $f(x,y,z)$ at $P$ and the directional derivative in the direction of $\mathbf{u}\text{:}$ $f(x,y,z) = \text{ln}(x^{2} + 2y^{2} + 3z^{2}),\begin{array}{ll} {P(2,1,4),} & {\mathbf{u} = \frac{-3}{13}\mathbf{i} - \frac{4}{13}\mathbf{j} - \frac{12}{13}\mathbf{k}} \end{array}.$

求 $f(x,y,z)$ 在 $P$ 处的梯度,以及沿 $\mathbf{u}$ 方向的方向导数:$f(x,y,z) = \text{ln}(x^{2} + 2y^{2} + 3z^{2}),\begin{array}{ll} {P(2,1,4),} & {\mathbf{u} = \frac{-3}{13}\mathbf{i} - \frac{4}{13}\mathbf{j} - \frac{12}{13}\mathbf{k}} \end{array}.$

283.

283.

$f(x,y,z) = 4x^{5}y^{2}z^{3},\begin{array}{ll} {P(2,-1,1),} & {\mathbf{u} = \frac{1}{3}\mathbf{i} + \frac{2}{3}\mathbf{j} - \frac{2}{3}\mathbf{k}} \end{array}$

$f(x,y,z) = 4x^{5}y^{2}z^{3},\begin{array}{ll} {P(2,-1,1),} & {\mathbf{u} = \frac{1}{3}\mathbf{i} + \frac{2}{3}\mathbf{j} - \frac{2}{3}\mathbf{k}} \end{array}$

For the following exercises, find the directional derivative of the function at point $P$ in the direction of $Q.$

下列习题中,求函数在点 $P$ 处沿 $Q$ 方向的方向导数。

284\.

284\.

$f(x,y) = x^{2} + 3y^{2},\begin{array}{ll} {P(1,1),} & {Q(4,5)} \end{array}$

$f(x,y) = x^{2} + 3y^{2},\begin{array}{ll} {P(1,1),} & {Q(4,5)} \end{array}$

285.

285.

$f(x,y,z) = \frac{y}{x + z},\begin{array}{ll} {P(2,1,-1),} & {Q(-1,2,0)} \end{array}$

$f(x,y,z) = \frac{y}{x + z},\begin{array}{ll} {P(2,1,-1),} & {Q(-1,2,0)} \end{array}$

For the following exercises, find the derivative of the function at $P$ in the direction of $\mathbf{u}.$

下列习题中,求函数在 $P$ 处沿 $\mathbf{u}$ 方向的导数。

286\.

286\.

$f(x,y) = -7x + 2y,\begin{array}{ll} {P(2,-4),} & {\mathbf{u} = 4\mathbf{i} - 3\mathbf{j}} \end{array}$

$f(x,y) = -7x + 2y,\begin{array}{ll} {P(2,-4),} & {\mathbf{u} = 4\mathbf{i} - 3\mathbf{j}} \end{array}$

287.

287.

$f(x,y) = \text{ln}(5x + 4y),\begin{array}{ll} {P(3,9),} & {\mathbf{u} = 6\mathbf{i} + 8\mathbf{j}} \end{array}$

$f(x,y) = \text{ln}(5x + 4y),\begin{array}{ll} {P(3,9),} & {\mathbf{u} = 6\mathbf{i} + 8\mathbf{j}} \end{array}$

288\.

288\.

\[T\] Use technology to sketch the level curve of $f(x,y) = 4x - 2y + 3$ that passes through $P(1,2)$ and draw the gradient vector at $P.$

\[T\] 借助计算工具画出 $f(x,y) = 4x - 2y + 3$ 过点 $P(1,2)$ 的等高线,并画出 $P$ 处的梯度向量。

289.

289.

\[T\] Use technology to sketch the level curve of $f(x,y) = x^{2} + 4y^{2}$ that passes through $P(-2,0)$ and draw the gradient vector at $P.$

\[T\] 借助计算工具画出 $f(x,y) = x^{2} + 4y^{2}$ 过点 $P(-2,0)$ 的等高线,并画出 $P$ 处的梯度向量。

For the following exercises, find the gradient vector at the indicated point.

下列习题中,求指定点处的梯度向量。

290\.

290\.

$f(x,y) = xy^{2} - yx^{2},P(-1,1)$

$f(x,y) = xy^{2} - yx^{2},P(-1,1)$

291.

291.

$f(x,y) = xe^{y} - \text{ln}(x),P\left( {3,0} \right)$

$f(x,y) = xe^{y} - \text{ln}(x),P\left( {3,0} \right)$

292\.

292\.

$f(x,y,z) = xy - \text{ln}(z),P(2,-2,2)$

$f(x,y,z) = xy - \text{ln}(z),P(2,-2,2)$

293.

293.

$f(x,y,z) = x\sqrt{y^{2} + z^{2}},P(-2,-1,-1)$

$f(x,y,z) = x\sqrt{y^{2} + z^{2}},P(-2,-1,-1)$

For the following exercises, find the derivative of the function.

下列习题中,求函数的导数。

294\.

294\.

$f(x,y) = x^{2} + xy + y^{2}$ at point $\left( {-5,-4} \right)$ in the direction the function increases most rapidly

$f(x,y) = x^{2} + xy + y^{2}$ 在点 $\left( {-5,-4} \right)$ 处沿函数增长最快的方向

295.

295.

$f(x,y) = e^{xy}$ at point $\left( {6,7} \right)$ in the direction the function increases most rapidly

$f(x,y) = e^{xy}$ 在点 $\left( {6,7} \right)$ 处沿函数增长最快的方向

296\.

296\.

$f(x,y) = \text{arctan}\left( \frac{y}{x} \right)$ at point $\left( {-9,9} \right)$ in the direction the function increases most rapidly

$f(x,y) = \text{arctan}\left( \frac{y}{x} \right)$ 在点 $\left( {-9,9} \right)$ 处沿函数增长最快的方向

297.

297.

$f(x,y,z) = \text{ln}(xy + yz + zx)$ at point $\left( {-9,-18,-27} \right)$ in the direction the function increases most rapidly

$f(x,y,z) = \text{ln}(xy + yz + zx)$ 在点 $\left( {-9,-18,-27} \right)$ 处沿函数增长最快的方向

298\.

298\.

$f(x,y,z) = \frac{x}{y} + \frac{y}{z} + \frac{z}{x}$ at point $\left( {5,-5,5} \right)$ in the direction the function increases most rapidly

$f(x,y,z) = \frac{x}{y} + \frac{y}{z} + \frac{z}{x}$ 在点 $\left( {5,-5,5} \right)$ 处沿函数增长最快的方向

For the following exercises, find the maximum rate of change of $f$ at the given point and the direction in which it occurs.

下列习题中,求 $f$ 在给定点处的最大变化率,以及取得该最大变化率的方向。

299.

299.

$f(x,y) = xe^{\text{−}y},$ $\left( {1,0} \right)$

$f(x,y) = xe^{\text{−}y},$ $\left( {1,0} \right)$

300\.

300\.

$f(x,y) = \sqrt{x^{2} + 2y},$ $\left( {4,10} \right)$

$f(x,y) = \sqrt{x^{2} + 2y},$ $\left( {4,10} \right)$

301.

301.

$f(x,y) = \text{cos}(3x + 2y),\left( {\frac{\pi}{6}, - \frac{\pi}{8}} \right)$

$f(x,y) = \text{cos}(3x + 2y),\left( {\frac{\pi}{6}, - \frac{\pi}{8}} \right)$

For the following exercises, find equations of

下列习题中,求出

1. the tangent plane and

1. 切平面的方程,以及

2. the normal line to the given surface at the given point.

2. 给定曲面在给定点处的法线方程。

302\.

302\.

The level surface $f(x,y,z) = 12$ for $f(x,y,z) = 4x^{2} - 2y^{2} + z^{2}$ at point $\left( {2,2,2} \right).$

由 $f(x,y,z) = 4x^{2} - 2y^{2} + z^{2}$ 确定的等值面 $f(x,y,z) = 12$ 在点 $\left( {2,2,2} \right)$ 处。

303.

303.

$f(x,y,z) = xy + yz + xz = 3$ at point $\left( {1,1,1} \right)$

$f(x,y,z) = xy + yz + xz = 3$ 在点 $\left( {1,1,1} \right)$ 处

304\.

304\.

$f(x,y,z) = xyz = 6$ at point $\left( {1,2,3} \right)$

$f(x,y,z) = xyz = 6$ 在点 $\left( {1,2,3} \right)$ 处

305.

305.

$f(x,y,z) = xe^{y}\text{cos}\ z - z = 1$ at point $\left( {1,0,0} \right)$

$f(x,y,z) = xe^{y}\text{cos}\ z - z = 1$ 在点 $\left( {1,0,0} \right)$ 处

For the following exercises, solve the problem.

下列习题中,解答所给问题。

306\.

306\.

The temperature $T$ in a metal sphere is inversely proportional to the distance from the center of the sphere (the origin: $\left( {0,0,0} \right)).$ The temperature at point $\left( {1,2,2} \right)$ is $120\text{°}\text{C}.$

金属球内的温度 $T$ 与到球心(原点 $\left( {0,0,0} \right)$)的距离成反比。点 $\left( {1,2,2} \right)$ 处的温度为 $120\text{°}\text{C}$。

1. Find the rate of change of the temperature at point $\left( {1,2,2} \right)$ in the direction toward point $\left( {2,1,3} \right).$

1. 求温度在点 $\left( {1,2,2} \right)$ 处沿指向点 $\left( {2,1,3} \right)$ 的方向的变化率。

2. Show that, at any point in the sphere, the direction of greatest increase in temperature is given by a vector that points toward the origin.

2. 证明:在球内任一点处,温度增长最快的方向由指向原点的向量给出。

307.

307.

The electrical potential (voltage) in a certain region of space is given by the function $V(x,y,z) = 5x^{2} - 3xy + xyz.$

空间中某区域内的电位(电压)由函数 $V(x,y,z) = 5x^{2} - 3xy + xyz$ 给出。

1. Find the rate of change of the voltage at point $\left( {3,4,5} \right)$ in the direction of the vector $\left\langle {1,1,-1} \right\rangle.$

1. 求电压在点 $\left( {3,4,5} \right)$ 处沿向量 $\left\langle {1,1,-1} \right\rangle$ 方向的变化率。

2. In which direction does the voltage change most rapidly at point $\left( {3,4,5} \right)?$

2. 在点 $\left( {3,4,5} \right)$ 处,电压沿哪个方向变化最快?

3. What is the maximum rate of change of the voltage at point $\left( {3,4,5} \right)?$

3. 电压在点 $\left( {3,4,5} \right)$ 处的最大变化率是多少?

308\.

308\.

If the electric potential at a point $\left( {x,y} \right)$ in the *xy*-plane is $V(x,y) = e^{-2x}\text{cos}(2y),$ then the electric intensity vector at $\left( {x,y} \right)$ is $\mathbf{E} = \text{−}\nabla V(x,y).$

若 *xy* 平面上点 $\left( {x,y} \right)$ 处的电位为 $V(x,y) = e^{-2x}\text{cos}(2y)$,则 $\left( {x,y} \right)$ 处的电场强度向量为 $\mathbf{E} = \text{−}\nabla V(x,y)$。

1. Find the electric intensity vector at $\left( {\frac{\pi}{4},0} \right).$

1. 求 $\left( {\frac{\pi}{4},0} \right)$ 处的电场强度向量。

2. Show that, at each point in the plane, the electric potential decreases most rapidly in the direction of the vector $\mathbf{E}.$

2. 证明:在平面上每一点处,电位沿向量 $\mathbf{E}$ 的方向下降最快。

309.

309.

In two dimensions, the motion of an ideal fluid is governed by a velocity potential $\varphi.$ The velocity components of the fluid $u$ in the *x-*direction and $v$ in the *y*-direction, are given by $\left\langle {u,v} \right\rangle = \nabla\varphi.$ Find the velocity components associated with the velocity potential $\varphi(x,y) = \text{sin}\ \pi x\ \text{sin}\ 2\pi y.$

在二维情形下,理想流体的运动由速度势 $\varphi$ 支配。流体沿 *x* 方向的速度分量 $u$ 与沿 *y* 方向的速度分量 $v$ 由 $\left\langle {u,v} \right\rangle = \nabla\varphi$ 给出。求与速度势 $\varphi(x,y) = \text{sin}\ \pi x\ \text{sin}\ 2\pi y$ 相应的速度分量。

4.7 Maxima/Minima Problems 4.7 最大值/最小值问题

One of the most useful applications for derivatives of a function of one variable is the determination of maximum and/or minimum values. This application is also important for functions of two or more variables, but as we have seen in earlier sections of this chapter, the introduction of more independent variables leads to more possible outcomes for the calculations. The main ideas of finding critical points and using derivative tests are still valid, but new wrinkles appear when assessing the results.

一元函数导数最有用的应用之一,就是确定最大值和/或最小值。这一应用对二元乃至多元函数同样重要,但正如本章前面各节所见,自变量增多会使计算结果出现更多可能情形。求临界点并使用导数判别法这些主要思想依然有效,但在判定结果时会出现新的复杂之处。

Critical Points 临界点

For functions of a single variable, we defined critical points as the values of the function when the derivative equals zero or does not exist. For functions of two or more variables, the concept is essentially the same, except for the fact that we are now working with partial derivatives.

对单变量函数,我们将临界点定义为导数值等于零或不存在时函数所取的点。对二元或多元函数,概念本质相同,只是现在处理的是偏导数。

Let $z = f\left( {x,y} \right)$ be a function of two variables that is defined on an open set containing the point $\left( {x_{0},y_{0}} \right).$ The point $\left( {x_{0},y_{0}} \right)$ is called a critical point of a function of two variables $f$ if one of the two following conditions holds:

设 $z = f\left( {x,y} \right)$ 是定义在包含点 $\left( {x_{0},y_{0}} \right)$ 的开集上的二元函数。若下列两个条件之一成立,则称点 $\left( {x_{0},y_{0}} \right)$ 为二元函数 $f$ 的临界点:

1. $f_{x}\left( {x_{0},y_{0}} \right) = f_{y}\left( {x_{0},y_{0}} \right) = 0$

1. $f_{x}\left( {x_{0},y_{0}} \right) = f_{y}\left( {x_{0},y_{0}} \right) = 0$

2. Either $f_{x}\left( {x_{0},y_{0}} \right)\ \text{or}\ f_{y}\left( {x_{0},y_{0}} \right)$ does not exist.

2. $f_{x}\left( {x_{0},y_{0}} \right)$ 或 $f_{y}\left( {x_{0},y_{0}} \right)$ 不存在(即至少有一个偏导数不存在)。

Finding Critical Points 求临界点

Find the critical points of each of the following functions:

求下列各个函数的临界点:

1. $f\left( {x,y} \right) = \sqrt{4y^{2} - 9x^{2} + 24y + 36x + 36}$

1. $f\left( {x,y} \right) = \sqrt{4y^{2} - 9x^{2} + 24y + 36x + 36}$

2. $g\left( {x,y} \right) = x^{2} + 2xy - 4y^{2} + 4x - 6y + 4$

2. $g\left( {x,y} \right) = x^{2} + 2xy - 4y^{2} + 4x - 6y + 4$

Solution

1. First, we calculate $f_{x}\left( {x,y} \right)\ \text{and}\ f_{y}\left( {x,y} \right)\text{:}$

1. 首先,我们计算 $f_{x}\left( {x,y} \right)$ 和 $f_{y}\left( {x,y} \right)$:

$$\begin{array}{cll} {f_{x}\left( {x,y} \right)} & = & {\frac{1}{2}\left( {-18x + 36} \right)\left( {4y^{2} - 9x^{2} + 24y + 36x + 36} \right)^{-1\text{/}2}} \\ & = & \frac{-9x + 18}{\sqrt{4y^{2} - 9x^{2} + 24y + 36x + 36}} \\ {f_{y}\left( {x,y} \right)} & = & {\frac{1}{2}\left( {8y + 24} \right)\left( {4y^{2} - 9x^{2} + 24y + 36x + 36} \right)^{-1\text{/}2}} \\ & = & {\frac{4y + 12}{\sqrt{4y^{2} - 9x^{2} + 24y + 36x + 36}}.} \end{array}$$

$$\begin{array}{cll} {f_{x}\left( {x,y} \right)} & = & {\frac{1}{2}\left( {-18x + 36} \right)\left( {4y^{2} - 9x^{2} + 24y + 36x + 36} \right)^{-1\text{/}2}} \\ & = & \frac{-9x + 18}{\sqrt{4y^{2} - 9x^{2} + 24y + 36x + 36}} \\ {f_{y}\left( {x,y} \right)} & = & {\frac{1}{2}\left( {8y + 24} \right)\left( {4y^{2} - 9x^{2} + 24y + 36x + 36} \right)^{-1\text{/}2}} \\ & = & {\frac{4y + 12}{\sqrt{4y^{2} - 9x^{2} + 24y + 36x + 36}}.} \end{array}$$

Next, we set each of these expressions equal to zero:

接着,令这些表达式都等于零:

$$\begin{array}{rll} \frac{-9x + 18}{\sqrt{4y^{2} - 9x^{2} + 24y + 36x + 36}} & = & 0 \\ \frac{4y + 12}{\sqrt{4y^{2} - 9x^{2} + 24y + 36x + 36}} & = & {0.} \end{array}$$

$$\begin{array}{rll} \frac{-9x + 18}{\sqrt{4y^{2} - 9x^{2} + 24y + 36x + 36}} & = & 0 \\ \frac{4y + 12}{\sqrt{4y^{2} - 9x^{2} + 24y + 36x + 36}} & = & {0.} \end{array}$$

Then, multiply each equation by its common denominator:

然后,将每个方程同乘其公分母:

$$\begin{array}{rll} {- 9x + 18} & = & 0 \\ {4y + 12} & = & {0.} \end{array}$$

$$\begin{array}{rll} {- 9x + 18} & = & 0 \\ {4y + 12} & = & {0.} \end{array}$$

Therefore, $x = 2$ and $y = -3,$ so $\left( {2,-3} \right)$ is a critical point of $f.$

因此 $x = 2$、$y = -3$,故 $\left( {2,-3} \right)$ 是 $f$ 的一个临界点。

We must also check for the possibility that the denominator of each partial derivative can equal zero, thus causing the partial derivative not to exist. Since the denominator is the same in each partial derivative, we need only do this once:

我们还必须检查每个偏导数的分母可能等于零的情形,因为那会使偏导数不存在。由于各偏导数的分母相同,只需检查一次:

$$4y^{2} - 9x^{2} + 24y + 36x + 36 = 0.$$

$$4y^{2} - 9x^{2} + 24y + 36x + 36 = 0.$$

This equation represents a hyperbola. We should also note that the domain of $f$ consists of points satisfying the inequality

该方程表示一条双曲线。我们还应注意,$f$ 的定义域由满足下列不等式的点组成:

$$4y^{2} - 9x^{2} + 24y + 36x + 36 \geq 0.$$

$$4y^{2} - 9x^{2} + 24y + 36x + 36 \geq 0.$$

Therefore, any points on the hyperbola are not only critical points, they are also on the boundary of the domain. To put the hyperbola in standard form, we use the method of completing the square:

因此,双曲线上的任意点不仅是临界点,也在定义域的边界上。为把双曲线化为标准形式,我们用配方法:

$$\begin{array}{rll} {4y^{2} - 9x^{2} + 24y + 36x + 36} & = & 0 \\ {4y^{2} - 9x^{2} + 24y + 36x} & = & -36 \\ {4y^{2} + 24y - 9x^{2} + 36x} & = & -36 \\ {4\left( {y^{2} + 6y} \right) - 9\left( {x^{2} - 4x} \right)} & = & -36 \\ {4\left( {y^{2} + 6y + 9} \right) - 9\left( {x^{2} - 4x + 4} \right)} & = & {-36 + 36 - 36} \\ {4\left( {y + 3} \right)^{2} - 9\left( {x - 2} \right)^{2}} & = & {-36.} \end{array}$$

$$\begin{array}{rll} {4y^{2} - 9x^{2} + 24y + 36x + 36} & = & 0 \\ {4y^{2} - 9x^{2} + 24y + 36x} & = & -36 \\ {4y^{2} + 24y - 9x^{2} + 36x} & = & -36 \\ {4\left( {y^{2} + 6y} \right) - 9\left( {x^{2} - 4x} \right)} & = & -36 \\ {4\left( {y^{2} + 6y + 9} \right) - 9\left( {x^{2} - 4x + 4} \right)} & = & {-36 + 36 - 36} \\ {4\left( {y + 3} \right)^{2} - 9\left( {x - 2} \right)^{2}} & = & {-36.} \end{array}$$

Dividing both sides by $-36$ puts the equation in standard form:

两边同除以 $-36$,将方程化为标准形式:

$$\begin{array}{rll} {\frac{4\left( {y + 3} \right)^{2}}{-36} - \frac{9\left( {x - 2} \right)^{2}}{-36}} & = & 1 \\ {\frac{\left( {x - 2} \right)^{2}}{4} - \frac{\left( {y + 3} \right)^{2}}{9}} & = & {1.} \end{array}$$

$$\begin{array}{rll} {\frac{4\left( {y + 3} \right)^{2}}{-36} - \frac{9\left( {x - 2} \right)^{2}}{-36}} & = & 1 \\ {\frac{\left( {x - 2} \right)^{2}}{4} - \frac{\left( {y + 3} \right)^{2}}{9}} & = & {1.} \end{array}$$

Notice that point $\left( {2,-3} \right)$ is the center of the hyperbola.

注意点 $\left( {2,-3} \right)$ 是该双曲线的中心。

2. First, we calculate $g_{x}\left( {x,y} \right)\ \text{and}\ g_{y}\left( {x,y} \right)\text{:}$

2. 首先,我们计算 $g_{x}\left( {x,y} \right)$ 和 $g_{y}\left( {x,y} \right)$:

$$\begin{array}{rll} {g_{x}\left( {x,y} \right)} & = & {2x + 2y + 4} \\ {g_{y}\left( {x,y} \right)} & = & {2x - 8y - 6.} \end{array}$$

$$\begin{array}{rll} {g_{x}\left( {x,y} \right)} & = & {2x + 2y + 4} \\ {g_{y}\left( {x,y} \right)} & = & {2x - 8y - 6.} \end{array}$$

Next, we set each of these expressions equal to zero, which gives a system of equations in $x\ \text{and}\ y\text{:}$

接下来,令这些表达式都等于零,得到关于 $x$ 和 $y$ 的方程组:

$$\begin{array}{rll} {2x + 2y + 4} & = & 0 \\ {2x - 8y - 6} & = & {0.} \end{array}$$

$$\begin{array}{rll} {2x + 2y + 4} & = & 0 \\ {2x - 8y - 6} & = & {0.} \end{array}$$

Subtracting the second equation from the first gives $10y + 10 = 0,\ \text{so}\ y = -1.$ Substituting this into the first equation gives $2x + 2(-1) + 4 = 0,$ so $x = -1.$ Therefore $\left( {-1,-1} \right)$ is a critical point of $g$ (Figure 4.46). There are no points in $\mathbb{R}^{2}$ that make either partial derivative not exist.

将第二个方程减去第一个方程得 $10y + 10 = 0$,故 $y = -1$。代入第一个方程得 $2x + 2(-1) + 4 = 0$,故 $x = -1$。于是 $\left( {-1,-1} \right)$ 是 $g$ 的一个临界点(图 4.46)。在 $\mathbb{R}^{2}$ 中不存在使任一偏导数不存在的点。

Find the critical point of the function $f\left( {x,y} \right) = x^{3} + 2xy - 2x - 4y.$

求函数 $f\left( {x,y} \right) = x^{3} + 2xy - 2x - 4y$ 的临界点。

The main purpose for determining critical points is to locate relative maxima and minima, as in single-variable calculus. When working with a function of one variable, the definition of a local extremum involves finding an interval around the critical point such that the function value is either greater than or less than all the other function values in that interval. When working with a function of two or more variables, we work with an open disk around the point.

求临界点的主要目的,与单变量微积分一样,是为了找到相对极大值与极小值。对单变量函数,局部极值的定义涉及在临界点附近找一个区间,使函数在该区间内的值大于或小于所有其他函数值。对二元或多元函数,我们考虑该点周围的一个开圆盘。

Let $z = f\left( {x,y} \right)$ be a function of two variables that is defined and continuous on an open set containing the point $\left( {x_{0},y_{0}} \right).$ Then *f* has a *local maximum* at $\left( {x_{0},y_{0}} \right)$ if

设 $z = f\left( {x,y} \right)$ 是定义在包含点 $\left( {x_{0},y_{0}} \right)$ 的开集上且连续的函数。若满足以下条件,则称 *f* 在 $\left( {x_{0},y_{0}} \right)$ 取得*局部极大值*:

$$f\left( {x_{0},y_{0}} \right) \geq f\left( {x,y} \right)$$

$$f\left( {x_{0},y_{0}} \right) \geq f\left( {x,y} \right)$$

for all points $\left( {x,y} \right)$ within some disk centered at $\left( {x_{0},y_{0}} \right).$ The number $f\left( {x_{0},y_{0}} \right)$ is called a *local maximum value*. If the preceding inequality holds for every point $\left( {x,y} \right)$ in the domain of $f,$ then $f$ has a *global maximum* (also called an *absolute maximum*) at $\left( {x_{0},y_{0}} \right).$

其中 $\left( {x,y} \right)$ 是某个以 $\left( {x_{0},y_{0}} \right)$ 为圆心的圆盘内的任意点。数 $f\left( {x_{0},y_{0}} \right)$ 称为*局部极大值*。若上述不等式对 $f$ 定义域中每个点 $\left( {x,y} \right)$ 都成立,则 $f$ 在 $\left( {x_{0},y_{0}} \right)$ 取得*全局极大值*(也称*绝对极大值*)。

The function $f$ has a *local minimum* at $\left( {x_{0},y_{0}} \right)$ if

若满足以下条件,则函数 $f$ 在 $\left( {x_{0},y_{0}} \right)$ 取得*局部极小值*:

$$f\left( {x_{0},y_{0}} \right) \leq f\left( {x,y} \right)$$

$$f\left( {x_{0},y_{0}} \right) \leq f\left( {x,y} \right)$$

for all points $\left( {x,y} \right)$ within some disk centered at $\left( {x_{0},y_{0}} \right).$ The number $f\left( {x_{0},y_{0}} \right)$ is called a *local minimum value*. If the preceding inequality holds for every point $\left( {x,y} \right)$ in the domain of $f,$ then $f$ has a *global minimum* (also called an *absolute minimum*) at $\left( {x_{0},y_{0}} \right).$

其中 $\left( {x,y} \right)$ 是某个以 $\left( {x_{0},y_{0}} \right)$ 为圆心的圆盘内的任意点。数 $f\left( {x_{0},y_{0}} \right)$ 称为*局部极小值*。若上述不等式对 $f$ 定义域中每个点 $\left( {x,y} \right)$ 都成立,则 $f$ 在 $\left( {x_{0},y_{0}} \right)$ 取得*全局极小值*(也称*绝对极小值*)。

If $f\left( {x_{0},y_{0}} \right)$ is either a local maximum or local minimum value, then it is called a *local extremum* (see the following figure).

若 $f\left( {x_{0},y_{0}} \right)$ 为局部极大值或局部极小值,则称为*局部极值*(见下图)。

In Maxima and Minima, we showed that extrema of functions of one variable occur at critical points. The same is true for functions of more than one variable, as stated in the following theorem.

在「最大值与最小值」一节中,我们已证明单变量函数的极值出现在临界点处。如下述定理所述,这一结论对多元函数同样成立。

Fermat's Theorem for Functions of Two Variables 二元函数的费马定理

Let $z = f\left( {x,y} \right)$ be a function of two variables that is defined and continuous on an open set containing the point $(x_{0},y_{0}).$ Suppose $f_{x}$ and $f_{y}$ each exists at $\left( {x_{0},y_{0}} \right).$ If $f$ has a local extremum at $\left( {x_{0},y_{0}} \right),$ then $\left( {x_{0},y_{0}} \right)$ is a critical point of $f.$

设 $z = f\left( {x,y} \right)$ 是定义在包含点 $(x_{0},y_{0})$ 的开集上且连续的函数。假设 $f_{x}$ 与 $f_{y}$ 在 $\left( {x_{0},y_{0}} \right)$ 处均存在。若 $f$ 在 $\left( {x_{0},y_{0}} \right)$ 取得局部极值,则 $\left( {x_{0},y_{0}} \right)$ 是 $f$ 的临界点。

Second Derivative Test 二阶导数判别法

Consider the function $f(x) = x^{3}.$ This function has a critical point at $x = 0,$ since $f\prime(0) = 3(0)^{2} = 0.$ However, $f$ does not have an extreme value at $x = 0.$ Therefore, the existence of a critical value at $x = x_{0}$ does not guarantee a local extremum at $x = x_{0}.$ The same is true for a function of two or more variables. One way this can happen is at a saddle point. An example of a saddle point appears in the following figure.

考虑函数 $f(x) = x^{3}$。该函数在 $x = 0$ 处有一个临界点,因为 $f\prime(0) = 3(0)^{2} = 0$。然而 $f$ 在 $x = 0$ 处并没有极值。因此,在 $x = x_{0}$ 处存在临界值,并不能保证在 $x = x_{0}$ 处存在局部极值。对二元或多元函数,情况同样如此。出现这种现象的一种情形是鞍点。下图给出了一个鞍点的例子。

In this graph, the origin is a saddle point. This is because the first partial derivatives of $f\left( {x,y} \right) = x^{2} - y^{2}$ are both equal to zero at this point, but it is neither a maximum nor a minimum for the function. Furthermore the vertical trace corresponding to $y = 0$ is $z = x^{2}$ (a parabola opening upward), but the vertical trace corresponding to $x = 0$ is $z = \text{−}y^{2}$ (a parabola opening downward). Therefore, it is both a global maximum for one trace and a global minimum for another.

在此图中,原点是一个鞍点。这是因为 $f\left( {x,y} \right) = x^{2} - y^{2}$ 的一阶偏导数在该点都为零,但它既非函数的最大值也非最小值。此外,对应于 $y = 0$ 的竖直截痕为 $z = x^{2}$(开口向上的抛物线),而对应于 $x = 0$ 的竖直截痕为 $z = \text{−}y^{2}$(开口向下的抛物线)。因此,它对于一条截痕是全局最大值,对于另一条截痕是全局最小值。

Given the function $z = f\left( {x,y} \right),$ the point $\left( {x_{0},y_{0},f\left( {x_{0},y_{0}} \right)} \right)$ is a saddle point if both $f_{x}\left( {x_{0},y_{0}} \right) = 0$ and $f_{y}\left( {x_{0},y_{0}} \right) = 0,$ but $f$ does not have a local extremum at $\left( {x_{0},y_{0}} \right).$

给定函数 $z = f\left( {x,y} \right)$,若 $f_{x}\left( {x_{0},y_{0}} \right) = 0$ 且 $f_{y}\left( {x_{0},y_{0}} \right) = 0$,但 $f$ 在 $\left( {x_{0},y_{0}} \right)$ 处没有局部极值,则点 $\left( {x_{0},y_{0},f\left( {x_{0},y_{0}} \right)} \right)$ 为鞍点。

The second derivative test for a function of one variable provides a method for determining whether an extremum occurs at a critical point of a function. When extending this result to a function of two variables, an issue arises related to the fact that there are, in fact, four different second-order partial derivatives, although equality of mixed partials reduces this to three. The second derivative test for a function of two variables, stated in the following theorem, uses a discriminant $D$ that replaces $f^{''}\left( x_{0} \right)$ in the second derivative test for a function of one variable.

单变量函数的二阶导数判别法,提供了一种判断极值是否出现在函数临界点处的方法。将这一结论推广到二元函数时,会出现一个问题:实际上存在四个不同的二阶偏导数,尽管混合偏导数相等将其减少为三个。下述定理给出的二元函数二阶导数判别法,使用一个判别式 $D$ 来代替单变量函数二阶导数判别法中的 $f^{''}\left( x_{0} \right)$。

Second Derivative Test 二阶导数判别法

Let $z = f\left( {x,y} \right)$ be a function of two variables for which the first- and second-order partial derivatives are continuous on some disk containing the point $\left( {x_{0},y_{0}} \right).$ Suppose $f_{x}\left( {x_{0},y_{0}} \right) = 0$ and $f_{y}\left( {x_{0},y_{0}} \right) = 0.$ Define the quantity

设 $z = f\left( {x,y} \right)$ 为一个二元函数,其所有一阶与二阶偏导数在某个包含点 $\left( {x_{0},y_{0}} \right)$ 的圆盘上连续。假设 $f_{x}\left( {x_{0},y_{0}} \right) = 0$ 且 $f_{y}\left( {x_{0},y_{0}} \right) = 0$。定义量

$$D = f_{xx}\left( {x_{0},y_{0}} \right)f_{yy}\left( {x_{0},y_{0}} \right) - \left( {f_{xy}\left( {x_{0},y_{0}} \right)} \right)^{2}.$$ (4.43)

$$D = f_{xx}\left( {x_{0},y_{0}} \right)f_{yy}\left( {x_{0},y_{0}} \right) - \left( {f_{xy}\left( {x_{0},y_{0}} \right)} \right)^{2}.$$ (4.43)

1. If $D > 0$ and $f_{xx}\left( {x_{0},y_{0}} \right) > 0,$ then $f$ has a local minimum at $\left( {x_{0},y_{0}} \right).$

1. 若 $D > 0$ 且 $f_{xx}\left( {x_{0},y_{0}} \right) > 0$,则 $f$ 在 $\left( {x_{0},y_{0}} \right)$ 取得局部极小值。

2. If $D > 0$ and $f_{xx}\left( {x_{0},y_{0}} \right) < 0,$ then $f$ has a local maximum at $\left( {x_{0},y_{0}} \right).$

2. 若 $D > 0$ 且 $f_{xx}\left( {x_{0},y_{0}} \right) < 0$,则 $f$ 在 $\left( {x_{0},y_{0}} \right)$ 取得局部极大值。

3. If $D < 0,$ then $f$ has a saddle point at $\left( {x_{0},y_{0}} \right).$

3. 若 $D < 0$,则 $f$ 在 $\left( {x_{0},y_{0}} \right)$ 处为鞍点。

4. If $D = 0,$ then the test is inconclusive.

4. 若 $D = 0$,则该判别法无法得出结论。

See Figure 4.49.

见图 4.49。

To apply the second derivative test, it is necessary that we first find the critical points of the function. There are several steps involved in the entire procedure, which are outlined in a problem-solving strategy.

要应用二阶导数判别法,必须先求出函数的临界点。整个过程包含若干步骤,现将其概括于一个解题策略中。

Using the Second Derivative Test for Functions of Two Variables 对二元函数使用二阶导数判别法

Let $z = f\left( {x,y} \right)$ be a function of two variables for which the first- and second-order partial derivatives are continuous on some disk containing the point $\left( {x_{0},y_{0}} \right).$ To apply the second derivative test to find local extrema, use the following steps:

设 $z = f\left( {x,y} \right)$ 为一个二元函数,其所有一阶与二阶偏导数在某个包含点 $\left( {x_{0},y_{0}} \right)$ 的圆盘上连续。为应用二阶导数判别法求局部极值,按下列步骤进行:

1. Determine the critical points $\left( {x_{0},y_{0}} \right)$ of the function $f$ where $f_{x}\left( {x_{0},y_{0}} \right) = f_{y}\left( {x_{0},y_{0}} \right) = 0.$ Discard any points where at least one of the partial derivatives does not exist.

1. 确定函数 $f$ 的临界点 $\left( {x_{0},y_{0}} \right)$,其中 $f_{x}\left( {x_{0},y_{0}} \right) = f_{y}\left( {x_{0},y_{0}} \right) = 0$。舍去任一偏导数不存在的点。

2. Calculate the discriminant $D = f_{xx}\left( {x_{0},y_{0}} \right)f_{yy}\left( {x_{0},y_{0}} \right) - \left( {f_{xy}\left( {x_{0},y_{0}} \right)} \right)^{2}$ for each critical point of $f.$

2. 对每个临界点,计算判别式 $D = f_{xx}\left( {x_{0},y_{0}} \right)f_{yy}\left( {x_{0},y_{0}} \right) - \left( {f_{xy}\left( {x_{0},y_{0}} \right)} \right)^{2}$。

3. Apply Second Derivative Test to determine whether each critical point is a local maximum, local minimum, or saddle point, or whether the theorem is inconclusive.

3. 应用二阶导数判别法,判断每个临界点是局部极大值、局部极小值还是鞍点,或该定理无法得出结论。

Using the Second Derivative Test 使用二阶导数判别法

Find the critical points for each of the following functions, and use the second derivative test to find the local extrema:

求下列各个函数的临界点,并用二阶导数判别法求局部极值:

1. $f\left( {x,y} \right) = 4x^{2} + 9y^{2} + 8x - 36y + 24$

1. $f\left( {x,y} \right) = 4x^{2} + 9y^{2} + 8x - 36y + 24$

2. $g\left( {x,y} \right) = \frac{1}{3}x^{3} + y^{2} + 2xy - 6x - 3y + 4$

2. $g\left( {x,y} \right) = \frac{1}{3}x^{3} + y^{2} + 2xy - 6x - 3y + 4$

Solution

1. Step $1$ of the problem-solving strategy involves finding the critical points of $f.$ To do this, we first calculate $f_{x}\left( {x,y} \right)$ and $f_{y}\left( {x,y} \right),$ then set each of them equal to zero:

1. 解题策略的第 $1$ 步是求 $f$ 的临界点。为此,我们先计算 $f_{x}\left( {x,y} \right)$ 和 $f_{y}\left( {x,y} \right)$,再令它们都等于零:

$$\begin{array}{rll} {f_{x}\left( {x,y} \right)} & = & {8x + 8} \\ {f_{y}\left( {x,y} \right)} & = & {18y - 36.} \end{array}$$

$$\begin{array}{rll} {f_{x}\left( {x,y} \right)} & = & {8x + 8} \\ {f_{y}\left( {x,y} \right)} & = & {18y - 36.} \end{array}$$

Setting them equal to zero yields the system of equations

令它们等于零,得到方程组

$$\begin{array}{rll} {8x + 8} & = & 0 \\ {18y - 36} & = & {0.} \end{array}$$

$$\begin{array}{rll} {8x + 8} & = & 0 \\ {18y - 36} & = & {0.} \end{array}$$

The solution to this system is $x = -1$ and $y = 2.$ Therefore $\left( {-1,2} \right)$ is a critical point of $f.$

该方程组的解为 $x = -1$、$y = 2$。因此 $\left( {-1,2} \right)$ 是 $f$ 的一个临界点。

Step 2 of the problem-solving strategy involves calculating $D.$ To do this, we first calculate the second partial derivatives of $f\text{:}$

解题策略的第 $2$ 步是计算 $D$。为此,我们先计算 $f$ 的二阶偏导数:

$$\begin{array}{rll} {f_{xx}\left( {x,y} \right)} & = & 8 \\ {f_{xy}\left( {x,y} \right)} & = & 0 \\ {f_{yy}\left( {x,y} \right)} & = & {18.} \end{array}$$

$$\begin{array}{rll} {f_{xx}\left( {x,y} \right)} & = & 8 \\ {f_{xy}\left( {x,y} \right)} & = & 0 \\ {f_{yy}\left( {x,y} \right)} & = & {18.} \end{array}$$

Therefore, $D = f_{xx}\left( {-1,2} \right)f_{yy}\left( {-1,2} \right) - \left( {f_{xy}\left( {-1,2} \right)} \right)^{2} = (8)(18) - (0)^{2} = 144.$

因此 $D = f_{xx}\left( {-1,2} \right)f_{yy}\left( {-1,2} \right) - \left( {f_{xy}\left( {-1,2} \right)} \right)^{2} = (8)(18) - (0)^{2} = 144$。

Step 3 states to check the Second Derivative Test for Functions of Two Variables.. Since $D > 0$ and $f_{xx}\left( {-1,2} \right) > 0,$ this corresponds to case 1. Therefore, $f$ has a local minimum at $\left( {-1,2} \right)$ as shown in the following figure.

第 $3$ 步要求使用「二元函数的二阶导数判别法」。由于 $D > 0$ 且 $f_{xx}\left( {-1,2} \right) > 0$,这对应于情形 1。因此 $f$ 在 $\left( {-1,2} \right)$ 取得局部极小值,如下图所示。

2. For step 1, we first calculate $g_{x}\left( {x,y} \right)$ and $g_{y}\left( {x,y} \right),$ then set each of them equal to zero:

2. 第 $1$ 步,我们先计算 $g_{x}\left( {x,y} \right)$ 和 $g_{y}\left( {x,y} \right)$,再令它们都等于零:

$$\begin{array}{rll} {g_{x}\left( {x,y} \right)} & = & {x^{2} + 2y - 6} \\ {g_{y}\left( {x,y} \right)} & = & {2y + 2x - 3.} \end{array}$$

$$\begin{array}{rll} {g_{x}\left( {x,y} \right)} & = & {x^{2} + 2y - 6} \\ {g_{y}\left( {x,y} \right)} & = & {2y + 2x - 3.} \end{array}$$

Setting them equal to zero yields the system of equations

令它们等于零,得到方程组

$$\begin{array}{rll} {x^{2} + 2y - 6} & = & 0 \\ {2y + 2x - 3} & = & {0.} \end{array}$$

$$\begin{array}{rll} {x^{2} + 2y - 6} & = & 0 \\ {2y + 2x - 3} & = & {0.} \end{array}$$

To solve this system, first solve the second equation for *y.* This gives $y = \frac{3 - 2x}{2}.$ Substituting this into the first equation gives

为解这个方程组,先从第二个方程解出 *y*,得 $y = \frac{3 - 2x}{2}$。将其代入第一个方程得

$$\begin{array}{rll} {x^{2} + 3 - 2x - 6} & = & 0 \\ {x^{2} - 2x - 3} & = & 0 \\ {\left( {x - 3} \right)\left( {x + 1} \right)} & = & {0.} \end{array}$$

$$\begin{array}{rll} {x^{2} + 3 - 2x - 6} & = & 0 \\ {x^{2} - 2x - 3} & = & 0 \\ {\left( {x - 3} \right)\left( {x + 1} \right)} & = & {0.} \end{array}$$

Therefore, $x = -1$ or $x = 3.$ Substituting these values into the equation $y = \frac{3 - 2x}{2}$ yields the critical points $\left( {-1,\frac{5}{2}} \right)$ and $\left( {3, - \frac{3}{2}} \right).$

因此 $x = -1$ 或 $x = 3$。将这些值代入方程 $y = \frac{3 - 2x}{2}$,得到临界点 $\left( {-1,\frac{5}{2}} \right)$ 和 $\left( {3, - \frac{3}{2}} \right)$。

Step 2 involves calculating the second partial derivatives of $g\text{:}$

第 $2$ 步是计算 $g$ 的二阶偏导数:

$$\begin{array}{rll} {g_{xx}\left( {x,y} \right)} & = & {2x} \\ {g_{xy}\left( {x,y} \right)} & = & 2 \\ {g_{yy}\left( {x,y} \right)} & = & {2.} \end{array}$$

$$\begin{array}{rll} {g_{xx}\left( {x,y} \right)} & = & {2x} \\ {g_{xy}\left( {x,y} \right)} & = & 2 \\ {g_{yy}\left( {x,y} \right)} & = & {2.} \end{array}$$

Then, we find a general formula for $D\text{:}$

接着,我们求 $D$ 的一般公式:

$$\begin{array}{cl} D & {= g_{xx}\left( {x_{0},y_{0}} \right)g_{yy}\left( {x_{0},y_{0}} \right) - \left( {g_{xy}\left( {x_{0},y_{0}} \right)} \right)^{2}} \\ & {= \left( {2x_{0}} \right)(2) - 2^{2}} \\ & {= 4x_{0} - 4.} \end{array}$$

$$\begin{array}{cl} D & {= g_{xx}\left( {x_{0},y_{0}} \right)g_{yy}\left( {x_{0},y_{0}} \right) - \left( {g_{xy}\left( {x_{0},y_{0}} \right)} \right)^{2}} \\ & {= \left( {2x_{0}} \right)(2) - 2^{2}} \\ & {= 4x_{0} - 4.} \end{array}$$

Next, we substitute each critical point into this formula:

接着,将每个临界点代入该公式:

$$\begin{array}{rll} {D\left( {-1,\frac{5}{2}} \right)} & = & {\left( {2(-1)} \right)(2) - (2)^{2} = -4 - 4 = -8} \\ {D\left( {3, - \frac{3}{2}} \right)} & = & {\left( {2(3)} \right)(2) - (2)^{2} = 12 - 4 = 8.} \end{array}$$

$$\begin{array}{rll} {D\left( {-1,\frac{5}{2}} \right)} & = & {\left( {2(-1)} \right)(2) - (2)^{2} = -4 - 4 = -8} \\ {D\left( {3, - \frac{3}{2}} \right)} & = & {\left( {2(3)} \right)(2) - (2)^{2} = 12 - 4 = 8.} \end{array}$$

In step 3, we note that, applying the Second Derivative Test for Functions of Two Variables. to point $\left( {-1,\frac{5}{2}} \right)$ leads to case $3,$ which means that $\left( {-1,\frac{5}{2}} \right)$ is a saddle point. Applying the theorem to point $\left( {3, - \frac{3}{2}} \right)$ leads to case 1, which means that $\left( {3, - \frac{3}{2}} \right)$ corresponds to a local minimum as shown in the following figure.

第 $3$ 步中,我们将「二元函数的二阶导数判别法」应用于点 $\left( {-1,\frac{5}{2}} \right)$,得到情形 $3$,这意味着 $\left( {-1,\frac{5}{2}} \right)$ 是一个鞍点。将该定理应用于点 $\left( {3, - \frac{3}{2}} \right)$ 得到情形 1,这意味着 $\left( {3, - \frac{3}{2}} \right)$ 对应于一个局部极小值,如下图所示。

Use the second derivative to find the local extrema of the function

用二阶导数求下列函数的局部极值

$$f\left( {x,y} \right) = x^{3} + 2xy - 6x - 4y^{2}.$$

$$f\left( {x,y} \right) = x^{3} + 2xy - 6x - 4y^{2}.$$

Absolute Maxima and Minima 绝对极值

When finding global extrema of functions of one variable on a closed interval, we start by checking the critical values over that interval and then evaluate the function at the endpoints of the interval. When working with a function of two variables, the closed interval is replaced by a closed, bounded set. A set is *bounded* if all the points in that set can be contained within a ball (or disk) of finite radius. First, we need to find the critical points inside the set and calculate the corresponding critical values. Then, it is necessary to find the maximum and minimum value of the function on the boundary of the set. When we have all these values, the largest function value corresponds to the global maximum and the smallest function value corresponds to the absolute minimum. First, however, we need to be assured that such values exist. The following theorem does this.

在闭区间上求一元函数的全局极值时,我们先检查该区间上的临界值,再在端点处计算函数值。对于二元函数,闭区间被一个闭的有界集所取代。若集合中所有点都能被包含在一个有限半径的球(或圆盘)内,则称该集合是*有界的*。首先,我们需要找出集合内部的临界点并计算相应的临界值。然后,还要找出函数在集合边界上的最大值与最小值。得到所有这些值后,最大的函数值对应于全局最大值,最小的函数值对应于绝对最小值。不过,我们首先需要确认这样的极值确实存在。下面的定理给出了保证。

Extreme Value Theorem 极值定理

A continuous function $f(x,y)$ on a closed and bounded set $D$ in the plane attains an absolute maximum value at some point of $D$ and an absolute minimum value at some point of $D.$

平面中闭有界集 $D$ 上的连续函数 $f(x,y)$ 在 $D$ 的某点取得绝对最大值,并在 $D$ 的某点取得绝对最小值。

Now that we know any continuous function $f$ defined on a closed, bounded set attains its extreme values, we need to know how to find them.

既然已知定义于闭有界集上的任何连续函数都会取得其极值,我们还需要知道如何求得它们。

Finding Extreme Values of a Function of Two Variables 求二元函数的极值

Assume $z = f\left( {x,y} \right)$ is a differentiable function of two variables defined on a closed, bounded set $D.$ Then $f$ will attain the absolute maximum value and the absolute minimum value, which are, respectively, the largest and smallest values found among the following:

设 $z = f\left( {x,y} \right)$ 是定义于闭有界集 $D$ 上的可微二元函数。则 $f$ 会取得绝对最大值与绝对最小值,它们分别是下列各值中的最大者与最小者:

1. The values of $f$ at the critical points of $f$ in $D.$

1. $f$ 在 $D$ 内临界点处的函数值。

2. The values of $f$ on the boundary of $D.$

2. $f$ 在 $D$ 边界上的函数值。

The proof of this theorem is a direct consequence of the extreme value theorem and Fermat’s theorem. In particular, if either extremum is not located on the boundary of $D,$ then it is located at an interior point of $D.$ But an interior point $\left( {x_{0},y_{0}} \right)$ of $D$ that’s an absolute extremum is also a local extremum; hence, $\left( {x_{0},y_{0}} \right)$ is a critical point of $f$ by Fermat’s theorem. Therefore the only possible values for the global extrema of $f$ on $D$ are the extreme values of $f$ on the interior or boundary of $D.$

本定理的证明是极值定理与费马定理的直接结果。具体而言,若某个极值不在 $D$ 的边界上,则它位于 $D$ 的内点处。但 $D$ 的一个绝对极值内点 $\left( {x_{0},y_{0}} \right)$ 同时也是局部极值;因此,由费马定理,$\left( {x_{0},y_{0}} \right)$ 是 $f$ 的临界点。于是 $f$ 在 $D$ 上的全局极值只可能出现在 $f$ 在 $D$ 的内部或边界上的极值之中。

Finding Absolute Maximum and Minimum Values 求绝对最大值与最小值

Let $z = f\left( {x,y} \right)$ be a continuous function of two variables defined on a closed, bounded set $D,$ and assume $f$ is differentiable on $D.$ To find the absolute maximum and minimum values of $f$ on $D,$ do the following:

设 $z = f\left( {x,y} \right)$ 是定义于闭有界集 $D$ 上的连续二元函数,并设 $f$ 在 $D$ 上可微。为求 $f$ 在 $D$ 上的绝对最大值与最小值,按以下步骤进行:

1. Determine the critical points of $f$ in $D.$

1. 确定 $f$ 在 $D$ 内的临界点。

2. Calculate $f$ at each of these critical points.

2. 计算 $f$ 在这些临界点处的值。

3. Determine the maximum and minimum values of $f$ on the boundary of its domain.

3. 确定 $f$ 在定义域边界上的最大值与最小值。

4. The maximum and minimum values of $f$ will occur at one of the values obtained in steps $2\ \text{and}\ 3.$

4. $f$ 的最大值与最小值必出现在第 $2$ 步与第 $3$ 步所得诸值中的某一个。

Finding the maximum and minimum values of $f$ on the boundary of $D$ can be challenging. If the boundary is a rectangle or set of straight lines, then it is possible to parameterize the line segments and determine the maxima on each of these segments, as seen in Example 4.40. The same approach can be used for other shapes such as circles and ellipses.

求 $f$ 在 $D$ 边界上的最大值与最小值可能并不容易。若边界是矩形或一些直线段,则可对这些线段进行参数化,并分别确定各段上的最大值,如示例 4.40 所示。同样的方法也适用于圆、椭圆等其他形状。

If the boundary of the set $D$ is a more complicated curve defined by a function $g\left( {x,y} \right) = c$ for some constant $c,$ and the first-order partial derivatives of $g$ exist, then the method of Lagrange multipliers can prove useful for determining the extrema of $f$ on the boundary. The method of Lagrange multipliers is introduced in Lagrange Multipliers.

若集合 $D$ 的边界是一条更复杂的曲线,由某个函数 $g\left( {x,y} \right) = c$($c$ 为常数)给出,且 $g$ 的一阶偏导数存在,则拉格朗日乘子法有助于确定 $f$ 在边界上的极值。拉格朗日乘子法在「拉格朗日乘子」一节中介绍。

Finding Absolute Extrema 求绝对极值

Use the problem-solving strategy for finding absolute extrema of a function to determine the absolute extrema of each of the following functions:

运用求函数绝对极值的解题策略,确定下列各个函数的绝对极值:

1. $f\left( {x,y} \right) = x^{2} - 2xy + 4y^{2} - 4x - 2y + 24$ on the domain defined by $0 \leq x \leq 4$ and $0 \leq y \leq 2$

1. $f\left( {x,y} \right) = x^{2} - 2xy + 4y^{2} - 4x - 2y + 24$,定义域由 $0 \leq x \leq 4$ 与 $0 \leq y \leq 2$ 给出。

2. $g\left( {x,y} \right) = x^{2} + y^{2} + 4x - 6y$ on the domain defined by $x^{2} + y^{2} \leq 16$

2. $g\left( {x,y} \right) = x^{2} + y^{2} + 4x - 6y$,定义域由 $x^{2} + y^{2} \leq 16$ 给出。

Solution

1. Using the problem-solving strategy, step $1$ involves finding the critical points of $f$ on its domain. Therefore, we first calculate $f_{x}\left( {x,y} \right)$ and $f_{y}\left( {x,y} \right),$ then set them each equal to zero:

1. 按解题策略,第 $1$ 步是求 $f$ 在定义域上的临界点。因此,我们先计算 $f_{x}\left( {x,y} \right)$ 与 $f_{y}\left( {x,y} \right)$,再令它们各自等于零:

$$\begin{array}{rll} {f_{x}\left( {x,y} \right)} & = & {2x - 2y - 4} \\ {f_{y}\left( {x,y} \right)} & = & {-2x + 8y - 2.} \end{array}$$

$$\begin{array}{rll} {f_{x}\left( {x,y} \right)} & = & {2x - 2y - 4} \\ {f_{y}\left( {x,y} \right)} & = & {-2x + 8y - 2.} \end{array}$$

Setting them equal to zero yields the system of equations

令它们等于零,得到方程组

$$\begin{array}{rll} {2x - 2y - 4} & = & 0 \\ {- 2x + 8y - 2} & = & {0.} \end{array}$$

$$\begin{array}{rll} {2x - 2y - 4} & = & 0 \\ {- 2x + 8y - 2} & = & {0.} \end{array}$$

The solution to this system is $x = 3$ and $y = 1.$ Therefore $\left( {3,1} \right)$ is a critical point of $f.$ Calculating $f\left( {3,1} \right)$ gives $f\left( {3,1} \right) = 17.$

该方程组的解为 $x = 3$、$y = 1$。因此 $\left( {3,1} \right)$ 是 $f$ 的一个临界点。计算得 $f\left( {3,1} \right) = 17$。

The next step involves finding the extrema of $f$ on the boundary of its domain. The boundary of its domain consists of four line segments as shown in the following graph:

接下来求 $f$ 在其定义域边界上的极值。定义域的边界由四条线段组成,如下图所示:

$L_{1}$ is the line segment connecting $\left( {0,0} \right)$ and $\left( {4,0} \right),$ and it can be parameterized by the equations $x(t) = t,y(t) = 0$ for $0 \leq t \leq 4.$ Define $g(t) = f\left( {x(t),y(t)} \right).$ This gives $g(t) = t^{2} - 4t + 24.$ Differentiating *g* leads to $g^{\prime}(t) = 2t - 4.$ Therefore, $g$ has a critical value at $t = 2,$ which corresponds to the point $\left( {2,0} \right).$ Calculating $f\left( {2,0} \right)$ gives the *z-*value $20.$

$L_{1}$ 是连接 $\left( {0,0} \right)$ 与 $\left( {4,0} \right)$ 的线段,可用方程 $x(t) = t,y(t) = 0$($0 \leq t \leq 4$)参数化。定义 $g(t) = f\left( {x(t),y(t)} \right)$,得到 $g(t) = t^{2} - 4t + 24$。对 *g* 求导得 $g^{\prime}(t) = 2t - 4$。因此 $g$ 在 $t = 2$ 处有临界点,对应点 $\left( {2,0} \right)$。计算得 $f\left( {2,0} \right)$ 的 *z* 值为 $20$。

$L_{2}$ is the line segment connecting $\left( {4,0} \right)$ and $\left( {4,2} \right),$ and it can be parameterized by the equations $x(t) = 4,y(t) = t$ for $0 \leq t \leq 2.$ Again, define $g(t) = f\left( {x(t),y(t)} \right).$ This gives $g(t) = 4t^{2} - 10t + 24.$ Then, $g^{\prime}(t) = 8t - 10.$ $g$ has a critical value at $t = \frac{5}{4},$ which corresponds to the point $\left( {4,\frac{5}{4}} \right).$ Calculating $f\left( {4,\frac{5}{4}} \right)$ gives the *z-*value $17.75.$

$L_{2}$ 是连接 $\left( {4,0} \right)$ 与 $\left( {4,2} \right)$ 的线段,可用方程 $x(t) = 4,y(t) = t$($0 \leq t \leq 2$)参数化。同样定义 $g(t) = f\left( {x(t),y(t)} \right)$,得到 $g(t) = 4t^{2} - 10t + 24$。于是 $g^{\prime}(t) = 8t - 10$。$g$ 在 $t = \frac{5}{4}$ 处有临界点,对应点 $\left( {4,\frac{5}{4}} \right)$。计算得 $f\left( {4,\frac{5}{4}} \right)$ 的 *z* 值为 $17.75$。

$L_{3}$ is the line segment connecting $\left( {0,2} \right)$ and $\left( {4,2} \right),$ and it can be parameterized by the equations $x(t) = t,y(t) = 2$ for $0 \leq t \leq 4.$ Again, define $g(t) = f\left( {x(t),y(t)} \right).$ This gives $g(t) = t^{2} - 8t + 36.$ The critical value corresponds to the point $\left( {4,2} \right).$ So, calculating $f\left( {4,2} \right)$ gives the *z-*value $20.$

$L_{3}$ 是连接 $\left( {0,2} \right)$ 与 $\left( {4,2} \right)$ 的线段,可用方程 $x(t) = t,y(t) = 2$($0 \leq t \leq 4$)参数化。同样定义 $g(t) = f\left( {x(t),y(t)} \right)$,得到 $g(t) = t^{2} - 8t + 36$。该临界点对应点 $\left( {4,2} \right)$。于是计算得 $f\left( {4,2} \right)$ 的 *z* 值为 $20$。

$L_{4}$ is the line segment connecting $\left( {0,0} \right)$ and $\left( {0,2} \right),$ and it can be parameterized by the equations $x(t) = 0,y(t) = t$ for $0 \leq t \leq 2.$ This time, $g(t) = 4t^{2} - 2t + 24$ and the critical value $t = \frac{1}{4}$ correspond to the point $\left( {0,\frac{1}{4}} \right).$ Calculating $f\left( {0,\frac{1}{4}} \right)$ gives the *z-*value $23.75.$

$L_{4}$ 是连接 $\left( {0,0} \right)$ 与 $\left( {0,2} \right)$ 的线段,可用方程 $x(t) = 0,y(t) = t$($0 \leq t \leq 2$)参数化。此时 $g(t) = 4t^{2} - 2t + 24$,临界点 $t = \frac{1}{4}$ 对应点 $\left( {0,\frac{1}{4}} \right)$。计算得 $f\left( {0,\frac{1}{4}} \right)$ 的 *z* 值为 $23.75$。

We also need to find the values of $f\left( {x,y} \right)$ at the corners of its domain. These corners are located at $\left( {0,0} \right),\left( {4,0} \right),\left( {4,2} \right)\ \text{and}\ \left( {0,2} \right)\text{:}$

还需要求出 $f\left( {x,y} \right)$ 在定义域四个角点处的值。这些角点为 $\left( {0,0} \right),\left( {4,0} \right),\left( {4,2} \right)\ \text{and}\ \left( {0,2} \right)$:

$$\begin{array}{rllll} & & & & \\ {f\left( {0,0} \right)} & = & {(0)^{2} - 2(0)(0) + 4(0)^{2} - 4(0) - 2(0) + 24} & = & 24 \\ {f\left( {4,0} \right)} & = & {(4)^{2} - 2(4)(0) + 4(0)^{2} - 4(4) - 2(0) + 24} & = & 24 \\ {f\left( {4,2} \right)} & = & {(4)^{2} - 2(4)(2) + 4(2)^{2} - 4(4) - 2(2) + 24} & = & 20 \\ {f\left( {0,2} \right)} & = & {(0)^{2} - 2(0)(2) + 4(2)^{2} - 4(0) - 2(2) + 24} & = & {36.} \end{array}$$

$$\begin{array}{rllll} & & & & \\ {f\left( {0,0} \right)} & = & {(0)^{2} - 2(0)(0) + 4(0)^{2} - 4(0) - 2(0) + 24} & = & 24 \\ {f\left( {4,0} \right)} & = & {(4)^{2} - 2(4)(0) + 4(0)^{2} - 4(4) - 2(0) + 24} & = & 24 \\ {f\left( {4,2} \right)} & = & {(4)^{2} - 2(4)(2) + 4(2)^{2} - 4(4) - 2(2) + 24} & = & 20 \\ {f\left( {0,2} \right)} & = & {(0)^{2} - 2(0)(2) + 4(2)^{2} - 4(0) - 2(2) + 24} & = & {36.} \end{array}$$

The absolute maximum value is $36,$ which occurs at $\left( {0,2} \right),$ and the global minimum value is $17,$ which occurs at $\left( {3,1} \right)$ as shown in the following figure.

绝对最大值为 $36$,在 $\left( {0,2} \right)$ 处取得;全局最小值为 $17$,在 $\left( {3,1} \right)$ 处取得,如下图所示。

2. Using the problem-solving strategy, step $1$ involves finding the critical points of $g$ on its domain. Therefore, we first calculate $g_{x}\left( {x,y} \right)$ and $g_{y}\left( {x,y} \right),$ then set them each equal to zero:

2. 按解题策略,第 $1$ 步是求 $g$ 在定义域上的临界点。因此,我们先计算 $g_{x}\left( {x,y} \right)$ 与 $g_{y}\left( {x,y} \right)$,再令它们各自等于零:

$$\begin{array}{rll} {g_{x}\left( {x,y} \right)} & = & {2x + 4} \\ {g_{y}\left( {x,y} \right)} & = & {2y - 6.} \end{array}$$

$$\begin{array}{rll} {g_{x}\left( {x,y} \right)} & = & {2x + 4} \\ {g_{y}\left( {x,y} \right)} & = & {2y - 6.} \end{array}$$

Setting them equal to zero yields the system of equations

令它们等于零,得到方程组

$$\begin{array}{rll} {2x + 4} & = & 0 \\ {2y - 6} & = & {0.} \end{array}$$

$$\begin{array}{rll} {2x + 4} & = & 0 \\ {2y - 6} & = & {0.} \end{array}$$

The solution to this system is $x = -2$ and $y = 3.$ Therefore, $\left( {-2,3} \right)$ is a critical point of $g.$ Calculating $g\left( {-2,3} \right),$ we get

该方程组的解为 $x = -2$、$y = 3$。因此 $\left( {-2,3} \right)$ 是 $g$ 的一个临界点。计算 $g\left( {-2,3} \right)$ 得

$$g\left( {-2,3} \right) = (-2)^{2} + 3^{2} + 4(-2) - 6(3) = 4 + 9 - 8 - 18 = -13.$$

$$g\left( {-2,3} \right) = (-2)^{2} + 3^{2} + 4(-2) - 6(3) = 4 + 9 - 8 - 18 = -13.$$

The next step involves finding the extrema of *g* on the boundary of its domain. The boundary of its domain consists of a circle of radius $4$ centered at the origin as shown in the following graph.

接下来求 *g* 在其定义域边界上的极值。其定义域的边界是一个以原点为圆心、半径为 $4$ 的圆,如下图所示。

The boundary of the domain of $g$ can be parameterized using the functions $x(t) = 4\ \text{cos}\ t,y(t) = 4\ \text{sin}\ t$ for $0 \leq t \leq 2\pi.$ Define $h(t) = g\left( {x(t),y(t)} \right)\text{:}$

$g$ 的定义域边界可用函数 $x(t) = 4\ \text{cos}\ t,y(t) = 4\ \text{sin}\ t$($0 \leq t \leq 2\pi$)参数化。定义 $h(t) = g\left( {x(t),y(t)} \right)$:

$$\begin{array}{cl} {h(t)} & {= g\left( {x(t),y(t)} \right)} \\ & {= \left( {4\ \text{cos}\ t} \right)^{2} + \left( {4\ \text{sin}\ t} \right)^{2} + 4\left( {4\ \text{cos}\ t} \right) - 6\left( {4\ \text{sin}\ t} \right)} \\ & {= 16\text{cos}^{2}\mspace{2mu} t + 16\text{sin}^{2}\mspace{2mu} t + 16\ \text{cos}\ t - 24\ \text{sin}\ t} \\ & {= 16 + 16\ \text{cos}\ t - 24\ \text{sin}\ t.} \end{array}$$

$$\begin{array}{cl} {h(t)} & {= g\left( {x(t),y(t)} \right)} \\ & {= \left( {4\ \text{cos}\ t} \right)^{2} + \left( {4\ \text{sin}\ t} \right)^{2} + 4\left( {4\ \text{cos}\ t} \right) - 6\left( {4\ \text{sin}\ t} \right)} \\ & {= 16\text{cos}^{2}\mspace{2mu} t + 16\text{sin}^{2}\mspace{2mu} t + 16\ \text{cos}\ t - 24\ \text{sin}\ t} \\ & {= 16 + 16\ \text{cos}\ t - 24\ \text{sin}\ t.} \end{array}$$

Setting $h^{\prime}(t) = 0$ leads to

令 $h^{\prime}(t) = 0$,得到

$$\begin{array}{rll} {- 16\ \text{sin}\ t - 24\ \text{cos}\ t} & = & 0 \\ {- 16\ \text{sin}\ t} & = & {24\ \text{cos}\ t} \\ \frac{-16\ \text{sin}\ t}{-16\ \text{cos}\ t} & = & \frac{24\ \text{cos}\ t}{-16\ \text{cos}\ t} \\ {\text{tan}\ t} & = & {- \frac{3}{2}.} \end{array}$$

$$\begin{array}{rll} {- 16\ \text{sin}\ t - 24\ \text{cos}\ t} & = & 0 \\ {- 16\ \text{sin}\ t} & = & {24\ \text{cos}\ t} \\ \frac{-16\ \text{sin}\ t}{-16\ \text{cos}\ t} & = & \frac{24\ \text{cos}\ t}{-16\ \text{cos}\ t} \\ {\text{tan}\ t} & = & {- \frac{3}{2}.} \end{array}$$

This equation has two solutions over the interval $0 \leq t \leq 2\pi.$ One is $t = \pi - \text{arctan}\left( \frac{3}{2} \right)$ and the other is $t = 2\pi - \text{arctan}\left( \frac{3}{2} \right).$ For the first angle,

该方程在区间 $0 \leq t \leq 2\pi$ 上有两个解。一个是 $t = \pi - \text{arctan}\left( \frac{3}{2} \right)$,另一个是 $t = 2\pi - \text{arctan}\left( \frac{3}{2} \right)$。对第一个角,

$$\begin{array}{rll} {\text{sin}\ t} & = & {\text{sin}\left( {\pi - \text{arctan}\left( \frac{3}{2} \right)} \right) = \text{sin}\left( {\text{arctan}\left( \frac{3}{2} \right)} \right) = \frac{3\sqrt{13}}{13}} \\ {\text{cos}\ t} & = & {\text{cos}\left( {\pi - \text{arctan}\left( \frac{3}{2} \right)} \right) = \text{−}\text{cos}\left( {\text{arctan}\left( \frac{3}{2} \right)} \right) = - \frac{2\sqrt{13}}{13}.} \end{array}$$

$$\begin{array}{rll} {\text{sin}\ t} & = & {\text{sin}\left( {\pi - \text{arctan}\left( \frac{3}{2} \right)} \right) = \text{sin}\left( {\text{arctan}\left( \frac{3}{2} \right)} \right) = \frac{3\sqrt{13}}{13}} \\ {\text{cos}\ t} & = & {\text{cos}\left( {\pi - \text{arctan}\left( \frac{3}{2} \right)} \right) = \text{−}\text{cos}\left( {\text{arctan}\left( \frac{3}{2} \right)} \right) = - \frac{2\sqrt{13}}{13}.} \end{array}$$

Therefore, $x(t) = 4\ \text{cos}\ t = - \frac{8\sqrt{13}}{13}$ and $y(t) = 4\ \text{sin}\ t = \frac{12\sqrt{13}}{13},$ so $\left( {- \frac{8\sqrt{13}}{13},\frac{12\sqrt{13}}{13}} \right)$ is a critical point on the boundary and

于是 $x(t) = 4\ \text{cos}\ t = - \frac{8\sqrt{13}}{13}$,$y(t) = 4\ \text{sin}\ t = \frac{12\sqrt{13}}{13}$,故 $\left( {- \frac{8\sqrt{13}}{13},\frac{12\sqrt{13}}{13}} \right)$ 是边界上的一个临界点,且

$$\begin{array}{cl} {g\left( {- \frac{8\sqrt{13}}{13},\frac{12\sqrt{13}}{13}} \right)} & {= \left( {- \frac{8\sqrt{13}}{13}} \right)^{2} + \left( \frac{12\sqrt{13}}{13} \right)^{2} + 4\left( {- \frac{8\sqrt{13}}{13}} \right) - 6\left( \frac{12\sqrt{13}}{13} \right)} \\ & {= \frac{144}{13} + \frac{64}{13} - \frac{32\sqrt{13}}{13} - \frac{72\sqrt{13}}{13}} \\ & {= \frac{208 - 104\sqrt{13}}{13} \approx -12.844.} \end{array}$$

$$\begin{array}{cl} {g\left( {- \frac{8\sqrt{13}}{13},\frac{12\sqrt{13}}{13}} \right)} & {= \left( {- \frac{8\sqrt{13}}{13}} \right)^{2} + \left( \frac{12\sqrt{13}}{13} \right)^{2} + 4\left( {- \frac{8\sqrt{13}}{13}} \right) - 6\left( \frac{12\sqrt{13}}{13} \right)} \\ & {= \frac{144}{13} + \frac{64}{13} - \frac{32\sqrt{13}}{13} - \frac{72\sqrt{13}}{13}} \\ & {= \frac{208 - 104\sqrt{13}}{13} \approx -12.844.} \end{array}$$

For the second angle,

对第二个角,

$$\begin{array}{rll} {\text{sin}\ t} & = & {\text{sin}\left( {2\pi - \text{arctan}\left( \frac{3}{2} \right)} \right) = \text{−}\text{sin}\left( {\text{arctan}\left( \frac{3}{2} \right)} \right) = - \frac{3\sqrt{13}}{13}} \\ {\text{cos}\ t} & = & {\text{cos}\left( {2\pi - \text{arctan}\left( \frac{3}{2} \right)} \right) = \text{cos}\left( {\text{arctan}\left( \frac{3}{2} \right)} \right) = \frac{2\sqrt{13}}{13}.} \end{array}$$

$$\begin{array}{rll} {\text{sin}\ t} & = & {\text{sin}\left( {2\pi - \text{arctan}\left( \frac{3}{2} \right)} \right) = \text{−}\text{sin}\left( {\text{arctan}\left( \frac{3}{2} \right)} \right) = - \frac{3\sqrt{13}}{13}} \\ {\text{cos}\ t} & = & {\text{cos}\left( {2\pi - \text{arctan}\left( \frac{3}{2} \right)} \right) = \text{cos}\left( {\text{arctan}\left( \frac{3}{2} \right)} \right) = \frac{2\sqrt{13}}{13}.} \end{array}$$

Therefore, $x(t) = 4\ \text{cos}\ t = \frac{8\sqrt{13}}{13}$ and $y(t) = 4\ \text{sin}\ t = - \frac{12\sqrt{13}}{13},$ so $\left( {\frac{8\sqrt{13}}{13}, - \frac{12\sqrt{13}}{13}} \right)$ is a critical point on the boundary and

于是 $x(t) = 4\ \text{cos}\ t = \frac{8\sqrt{13}}{13}$,$y(t) = 4\ \text{sin}\ t = - \frac{12\sqrt{13}}{13}$,故 $\left( {\frac{8\sqrt{13}}{13}, - \frac{12\sqrt{13}}{13}} \right)$ 是边界上的一个临界点,且

$$\begin{array}{cl} {g\left( {\frac{8\sqrt{13}}{13}, - \frac{12\sqrt{13}}{13}} \right)} & {= \left( \frac{8\sqrt{13}}{13} \right)^{2} + \left( {- \frac{12\sqrt{13}}{13}} \right)^{2} + 4\left( \frac{8\sqrt{13}}{13} \right) - 6\left( {- \frac{12\sqrt{13}}{13}} \right)} \\ & {= \frac{144}{13} + \frac{64}{13} + \frac{32\sqrt{13}}{13} + \frac{72\sqrt{13}}{13}} \\ & {= \frac{208 + 104\sqrt{13}}{13} \approx 44.844.} \end{array}$$

$$\begin{array}{cl} {g\left( {\frac{8\sqrt{13}}{13}, - \frac{12\sqrt{13}}{13}} \right)} & {= \left( \frac{8\sqrt{13}}{13} \right)^{2} + \left( {- \frac{12\sqrt{13}}{13}} \right)^{2} + 4\left( \frac{8\sqrt{13}}{13} \right) - 6\left( {- \frac{12\sqrt{13}}{13}} \right)} \\ & {= \frac{144}{13} + \frac{64}{13} + \frac{32\sqrt{13}}{13} + \frac{72\sqrt{13}}{13}} \\ & {= \frac{208 + 104\sqrt{13}}{13} \approx 44.844.} \end{array}$$

The absolute minimum of *g* is $-13,$ which is attained at the point $\left( {-2,3} \right),$ which is an interior point of *D*. The absolute maximum of *g* is approximately equal to 44.844, which is attained at the boundary point $\left( {\frac{8\sqrt{13}}{13}, - \frac{12\sqrt{13}}{13}} \right).$ These are the absolute extrema of *g* on *D* as shown in the following figure.

*g* 的绝对最小值为 $-13$,在点 $\left( {-2,3} \right)$ 处取得,该点是 *D* 的内点。*g* 的绝对最大值约为 44.844,在边界点 $\left( {\frac{8\sqrt{13}}{13}, - \frac{12\sqrt{13}}{13}} \right)$ 处取得。这些就是 *g* 在 *D* 上的绝对极值,如下图所示。

Use the problem-solving strategy for finding absolute extrema of a function to find the absolute extrema of the function

运用求函数绝对极值的解题策略,求下列函数的绝对极值:

$$f\left( {x,y} \right) = 4x^{2} - 2xy + 6y^{2} - 8x + 2y + 3$$

$$f\left( {x,y} \right) = 4x^{2} - 2xy + 6y^{2} - 8x + 2y + 3$$

on the domain defined by $0 \leq x \leq 2$ and $-1 \leq y \leq 3.$

定义域为 $0 \leq x \leq 2$ 且 $-1 \leq y \leq 3$。

Chapter Opener: Profitable Golf Balls 章首页:盈利的高尔夫球

Pro-$\text{T}$ company has developed a profit model that depends on the number *x* of golf balls sold per month (measured in thousands), and the number of hours per month of advertising *y*, according to the function

Pro-$\text{T}$ 公司建立了一个利润模型,该模型依赖于每月售出的高尔夫球数 *x*(以千计)以及每月广告投放时长 *y*(小时数),由函数

$$z = f\left( {x,y} \right) = 48x + 96y - x^{2} - 2xy - 9y^{2},$$

$$z = f\left( {x,y} \right) = 48x + 96y - x^{2} - 2xy - 9y^{2},$$

where $z$ is measured in thousands of dollars. The maximum number of golf balls that can be produced and sold is $50,000,$ and the maximum number of hours of advertising that can be purchased is $25.$ Find the values of $x$ and $y$ that maximize profit, and find the maximum profit.

给出,其中 $z$ 的单位为千美元。每月最多可生产与销售的高尔夫球数为 $50,000$,每月最多可购买的广告时长为 $25$ 小时。求使利润最大的 $x$ 与 $y$ 值,以及最大利润。

Solution

Using the problem-solving strategy, step $1$ involves finding the critical points of $f$ on its domain. Therefore, we first calculate $f_{x}\left( {x,y} \right)$ and $f_{y}\left( {x,y} \right),$ then set them each equal to zero:

按解题策略,第 $1$ 步是求 $f$ 在定义域上的临界点。因此,我们先计算 $f_{x}\left( {x,y} \right)$ 与 $f_{y}\left( {x,y} \right)$,再令它们各自等于零:

$$\begin{array}{rll} {f_{x}\left( {x,y} \right)} & = & {48 - 2x - 2y} \\ {f_{y}\left( {x,y} \right)} & = & {96 - 2x - 18y.} \end{array}$$

$$\begin{array}{rll} {f_{x}\left( {x,y} \right)} & = & {48 - 2x - 2y} \\ {f_{y}\left( {x,y} \right)} & = & {96 - 2x - 18y.} \end{array}$$

Setting them equal to zero yields the system of equations

令它们等于零,得到方程组

$$\begin{array}{rll} {48 - 2x - 2y} & = & 0 \\ {96 - 2x - 18y} & = & {0.} \end{array}$$

$$\begin{array}{rll} {48 - 2x - 2y} & = & 0 \\ {96 - 2x - 18y} & = & {0.} \end{array}$$

The solution to this system is $x = 21$ and $y = 3.$ Therefore $\left( {21,3} \right)$ is a critical point of $f.$ Calculating $f\left( {21,3} \right)$ gives $f\left( {21,3} \right) = 48(21) + 96(3) - 21^{2} - 2(21)(3) - 9(3)^{2} = 648.$

该方程组的解为 $x = 21$、$y = 3$。因此 $\left( {21,3} \right)$ 是 $f$ 的一个临界点。计算得 $f\left( {21,3} \right) = 48(21) + 96(3) - 21^{2} - 2(21)(3) - 9(3)^{2} = 648$。

The domain of this function is $0 \leq x \leq 50$ and $0 \leq y \leq 25$ as shown in the following graph.

该函数的定义域为 $0 \leq x \leq 50$ 且 $0 \leq y \leq 25$,如下图所示。

$L_{1}$ is the line segment connecting $\left( {0,0} \right)$ and $\left( {50,0} \right),$ and it can be parameterized by the equations $x(t) = t,y(t) = 0$ for $0 \leq t \leq 50.$ We then define $g(t) = f\left( {x(t),y(t)} \right)\text{:}$

$L_{1}$ 是连接 $\left( {0,0} \right)$ 与 $\left( {50,0} \right)$ 的线段,可用方程 $x(t) = t,y(t) = 0$($0 \leq t \leq 50$)参数化。于是定义 $g(t) = f\left( {x(t),y(t)} \right)$:

$$\begin{array}{cl} {g(t)} & {= f\left( {x(t),y(t)} \right)} \\ & {= f\left( {t,0} \right)} \\ & {= 48t + 96(0) - t^{2} - 2(t)(0) - 9(0)^{2}} \\ & {= 48t - t^{2}.} \end{array}$$

$$\begin{array}{cl} {g(t)} & {= f\left( {x(t),y(t)} \right)} \\ & {= f\left( {t,0} \right)} \\ & {= 48t + 96(0) - t^{2} - 2(t)(0) - 9(0)^{2}} \\ & {= 48t - t^{2}.} \end{array}$$

Setting $g^{\prime}(t) = 0$ yields the critical point $t = 24,$ which corresponds to the point $\left( {24,0} \right)$ in the domain of $f.$ Calculating $f\left( {24,0} \right)$ gives $576.$

令 $g^{\prime}(t) = 0$,得到临界点 $t = 24$,对应 $f$ 定义域中的点 $\left( {24,0} \right)$。计算得 $f\left( {24,0} \right) = 576$。

$L_{2}$ is the line segment connecting and $\left( {50,25} \right),$ and it can be parameterized by the equations $x(t) = 50,y(t) = t$ for $0 \leq t \leq 25.$ Once again, we define $g(t) = f\left( {x(t),y(t)} \right)\text{:}$

$L_{2}$ 是连接(原文此处写作 connecting and,疑似漏写起点 $\left( {0,25} \right)$)$\left( {50,25} \right)$ 的线段,可用方程 $x(t) = 50,y(t) = t$($0 \leq t \leq 25$)参数化。再次定义 $g(t) = f\left( {x(t),y(t)} \right)$:

$$\begin{array}{cl} {g(t)} & {= f\left( {x(t),y(t)} \right)} \\ & {= f\left( {50,t} \right)} \\ & {= 48(50) + 96t - 50^{2} - 2(50)t - 9t^{2}} \\ & {= -9t^{2} - 4t - 100.} \end{array}$$

$$\begin{array}{cl} {g(t)} & {= f\left( {x(t),y(t)} \right)} \\ & {= f\left( {50,t} \right)} \\ & {= 48(50) + 96t - 50^{2} - 2(50)t - 9t^{2}} \\ & {= -9t^{2} - 4t - 100.} \end{array}$$

This function has a critical point at $t = - \frac{2}{9},$ which corresponds to the point $\left( {50, - \frac{2}{9}} \right).$ This point is not in the domain of $f.$

该函数在 $t = - \frac{2}{9}$ 处有临界点,对应点 $\left( {50, - \frac{2}{9}} \right)$。该点不在 $f$ 的定义域内。

$L_{3}$ is the line segment connecting $\left( {0,25} \right)\ \text{and}\ \left( {50,25} \right),$ and it can be parameterized by the equations $x(t) = t,y(t) = 25$ for $0 \leq t \leq 50.$ We define $g(t) = f\left( {x(t),y(t)} \right)\text{:}$

$L_{3}$ 是连接 $\left( {0,25} \right)\ \text{and}\ \left( {50,25} \right)$ 的线段,可用方程 $x(t) = t,y(t) = 25$($0 \leq t \leq 50$)参数化。定义 $g(t) = f\left( {x(t),y(t)} \right)$:

$$\begin{array}{cl} {g(t)} & {= f\left( {x(t),y(t)} \right)} \\ & {= f\left( {t,25} \right)} \\ & {= 48t + 96(25) - t^{2} - 2t(25) - 9\left( 25^{2} \right)} \\ & {= \text{−}t^{2} - 2t - 3225.} \end{array}$$

$$\begin{array}{cl} {g(t)} & {= f\left( {x(t),y(t)} \right)} \\ & {= f\left( {t,25} \right)} \\ & {= 48t + 96(25) - t^{2} - 2t(25) - 9\left( 25^{2} \right)} \\ & {= \text{−}t^{2} - 2t - 3225.} \end{array}$$

This function has a critical point at $t = -1,$ which corresponds to the point $\left( {-1,25} \right),$ which is not in the domain.

该函数在 $t = -1$ 处有临界点,对应点 $\left( {-1,25} \right)$,不在定义域内。

$L_{4}$ is the line segment connecting $\left( {0,0} \right)\ \text{to}\ \left( {0,25} \right),$ and it can be parameterized by the equations $x(t) = 0,y(t) = t$ for $0 \leq t \leq 25.$ We define $g(t) = f\left( {x(t),y(t)} \right)\text{:}$

$L_{4}$ 是连接 $\left( {0,0} \right)\ \text{to}\ \left( {0,25} \right)$ 的线段,可用方程 $x(t) = 0,y(t) = t$($0 \leq t \leq 25$)参数化。定义 $g(t) = f\left( {x(t),y(t)} \right)$:

$$\begin{array}{cl} {g(t)} & {= f\left( {x(t),y(t)} \right)} \\ & {= f\left( {0,t} \right)} \\ & {= 48(0) + 96t - (0)^{2} - 2(0)t - 9t^{2}} \\ & {= 96t - t^{2}.} \end{array}$$

$$\begin{array}{cl} {g(t)} & {= f\left( {x(t),y(t)} \right)} \\ & {= f\left( {0,t} \right)} \\ & {= 48(0) + 96t - (0)^{2} - 2(0)t - 9t^{2}} \\ & {= 96t - t^{2}.} \end{array}$$

This function has a critical point at $t = \frac{16}{3},$ which corresponds to the point $\left( {0,\frac{16}{3}} \right),$ which is on the boundary of the domain. Calculating $f\left( {0,\frac{16}{3}} \right)$ gives $256.$

该函数在 $t = \frac{16}{3}$ 处有临界点,对应点 $\left( {0,\frac{16}{3}} \right)$,位于定义域边界上。计算得 $f\left( {0,\frac{16}{3}} \right) = 256$。

We also need to find the values of $f\left( {x,y} \right)$ at the corners of its domain. These corners are located at $\left( {0,0} \right),\left( {50,0} \right),\left( {50,25} \right)\ \text{and}\ \left( {0,25} \right)\text{:}$

还需要求出 $f\left( {x,y} \right)$ 在定义域四个角点处的值。这些角点为 $\left( {0,0} \right),\left( {50,0} \right),\left( {50,25} \right)\ \text{and}\ \left( {0,25} \right)$:

$$\begin{array}{rll} {f\left( {0,0} \right)} & = & {48(0) + 96(0) - (0)^{2} - 2(0)(0) - 9(0)^{2} = 0} \\ {f\left( {50,0} \right)} & = & {48(50) + 96(0) - (50)^{2} - 2(50)(0) - 9(0)^{2} = -100} \\ {f\left( {50,25} \right)} & = & {48(50) + 96(25) - (50)^{2} - 2(50)(25) - 9(25)^{2} = -5825} \\ {f\left( {0,25} \right)} & = & {48(0) + 96(25) - (0)^{2} - 2(0)(25) - 9(25)^{2} = -3225.} \end{array}$$

$$\begin{array}{rll} {f\left( {0,0} \right)} & = & {48(0) + 96(0) - (0)^{2} - 2(0)(0) - 9(0)^{2} = 0} \\ {f\left( {50,0} \right)} & = & {48(50) + 96(0) - (50)^{2} - 2(50)(0) - 9(0)^{2} = -100} \\ {f\left( {50,25} \right)} & = & {48(50) + 96(25) - (50)^{2} - 2(50)(25) - 9(25)^{2} = -5825} \\ {f\left( {0,25} \right)} & = & {48(0) + 96(25) - (0)^{2} - 2(0)(25) - 9(25)^{2} = -3225.} \end{array}$$

The maximum critical value is $648,$ which occurs at $\left( {21,3} \right).$ Therefore, a maximum profit of $\text{\$}648,000$ is realized when $21,000$ golf balls are sold and $3$ hours of advertising are purchased per month as shown in the following figure.

最大临界值为 $648$,在 $\left( {21,3} \right)$ 处取得。因此,当每月售出 $21,000$ 个高尔夫球、购买 $3$ 小时广告时,可实现最大利润 $\text{\$}648,000$,如下图所示。

Section 4.7 Exercises 4.7 节习题

For the following exercises, find all critical points.

对下列习题,求所有临界点。

310\.

310.

$f(x,y) = 1 + x^{2} + y^{2}$

$f(x,y) = 1 + x^{2} + y^{2}$

311.

311.

$f(x,y) = {(3x - 2)}^{2} + {(y - 4)}^{2}$

$f(x,y) = {(3x - 2)}^{2} + {(y - 4)}^{2}$

312\.

312.

$f(x,y) = x^{4} + y^{4} - 16xy$

$f(x,y) = x^{4} + y^{4} - 16xy$

313.

313.

$f(x,y) = 15x^{3} - 3xy + 15y^{3}$

$f(x,y) = 15x^{3} - 3xy + 15y^{3}$

For the following exercises, find the critical points of the function by using algebraic techniques (completing the square) or by examining the form of the equation. Verify your results using the partial derivatives test.

对下列习题,用代数技巧(配方)或观察方程的形式来求函数的临界点。用偏导数检验验证你的结果。

314\.

314.

$f(x,y) = \sqrt{x^{2} + y^{2} + 1}$

$f(x,y) = \sqrt{x^{2} + y^{2} + 1}$

315.

315.

$f(x,y) = \text{−}x^{2} - 5y^{2} + 8x - 10y - 13$

$f(x,y) = \text{−}x^{2} - 5y^{2} + 8x - 10y - 13$

316\.

316.

$f(x,y) = x^{2} + y^{2} + 2x - 6y + 6$

$f(x,y) = x^{2} + y^{2} + 2x - 6y + 6$

317.

317.

$f(x,y) = \sqrt{x^{2} + y^{2}} + 1$

$f(x,y) = \sqrt{x^{2} + y^{2}} + 1$

For the following exercises, use the second derivative test to classify any critical points and determine whether each critical point is a maximum, minimum, saddle point, or none of these.

对下列习题,用二阶导数判别法对临界点进行分类,判断每个临界点是极大值点、极小值点、鞍点,还是都不属于。

318\.

318.

$f(x,y) = \text{−}x^{3} + 4xy - 2y^{2} + 1$

$f(x,y) = \text{−}x^{3} + 4xy - 2y^{2} + 1$

319.

319.

$f(x,y) = x^{2}y^{2}$

$f(x,y) = x^{2}y^{2}$

320\.

320.

$f(x,y) = x^{2} - 6x + y^{2} + 4y - 8$

$f(x,y) = x^{2} - 6x + y^{2} + 4y - 8$

321.

321.

$f(x,y) = 2xy + 3x + 4y$

$f(x,y) = 2xy + 3x + 4y$

322\.

322.

$f(x,y) = 8xy(x + y) + 7$

$f(x,y) = 8xy(x + y) + 7$

323.

323.

$f(x,y) = x^{2} + 4xy + y^{2}$

$f(x,y) = x^{2} + 4xy + y^{2}$

324\.

324.

$f(x,y) = x^{3} + y^{3} - 300x - 75y - 3$

$f(x,y) = x^{3} + y^{3} - 300x - 75y - 3$

325.

325.

$f(x,y) = 9 - x^{4}y^{4}$

$f(x,y) = 9 - x^{4}y^{4}$

326\.

326.

$f(x,y) = 7x^{2}y + 9xy^{2}$

$f(x,y) = 7x^{2}y + 9xy^{2}$

327.

327.

$f(x,y) = 3x^{2} - 2xy + y^{2} - 8y$

$f(x,y) = 3x^{2} - 2xy + y^{2} - 8y$

328\.

328.

$f(x,y) = 3x^{2} + 2xy + y^{2}$

$f(x,y) = 3x^{2} + 2xy + y^{2}$

329.

329.

$f(x,y) = y^{2} + xy + 3y + 2x + 3$

$f(x,y) = y^{2} + xy + 3y + 2x + 3$

330\.

330.

$f(x,y) = x^{2} + xy + y^{2} - 3x$

$f(x,y) = x^{2} + xy + y^{2} - 3x$

331.

331.

$f(x,y) = x^{2} + 2y^{2} - x^{2}y$

$f(x,y) = x^{2} + 2y^{2} - x^{2}y$

332\.

332.

$f(x,y) = x^{2} + y - e^{y}$

$f(x,y) = x^{2} + y - e^{y}$

333.

333.

$f(x,y) = e^{\text{−}(x^{2} + y^{2} + 2x)}$

$f(x,y) = e^{\text{−}(x^{2} + y^{2} + 2x)}$

334\.

334.

$f(x,y) = x^{2} + xy + y^{2} - x - y + 1$

$f(x,y) = x^{2} + xy + y^{2} - x - y + 1$

335.

335.

$f(x,y) = x^{2} + 10xy + y^{2}$

$f(x,y) = x^{2} + 10xy + y^{2}$

336\.

336.

$f(x,y) = \text{−}x^{2} - 5y^{2} + 10x - 30y - 62$

$f(x,y) = \text{−}x^{2} - 5y^{2} + 10x - 30y - 62$

337.

337.

$f(x,y) = 120x + 120y - xy - x^{2} - y^{2}$

$f(x,y) = 120x + 120y - xy - x^{2} - y^{2}$

338\.

338.

$f(x,y) = 2x^{2} + 2xy + y^{2} + 2x - 3$

$f(x,y) = 2x^{2} + 2xy + y^{2} + 2x - 3$

339.

339.

$f(x,y) = x^{2} + x - 3xy + y^{3} - 5$

$f(x,y) = x^{2} + x - 3xy + y^{3} - 5$

340\.

340.

$f(x,y) = 2xye^{\text{−}x^{2} - y^{2}}$

$f(x,y) = 2xye^{\text{−}x^{2} - y^{2}}$

For the following exercises, determine the extreme values and the saddle points. Use a CAS to graph the function.

对下列习题,确定极值与鞍点。用计算机代数系统(CAS)画出函数图像。

341.

341.

\[T\] $f(x,y) = ye^{x} - e^{y}$

\[T\] $f(x,y) = ye^{x} - e^{y}$

342\.

342.

\[T\] $f(x,y) = x\ \text{sin}(y)$

\[T\] $f(x,y) = x\ \text{sin}(y)$

343.

343.

\[T\] $f(x,y) = \text{sin}(x)\text{sin}(y),x \in \left( {0,2\pi} \right),y \in \left( {0,2\pi} \right)$

\[T\] $f(x,y) = \text{sin}(x)\text{sin}(y),x \in \left( {0,2\pi} \right),y \in \left( {0,2\pi} \right)$

Find the absolute extrema of the given function on the indicated closed and bounded set $R.$

在指定的闭有界集 $R$ 上求给定函数的绝对极值。

344\.

344.

$f(x,y) = xy - x - 3y;$ $R$ is the triangular region with vertices $\left( {0,0} \right),\left( {0,4} \right),\ \text{and}\ \left( {5,0} \right).$

$f(x,y) = xy - x - 3y;$ $R$ 是以顶点 $\left( {0,0} \right),\left( {0,4} \right),\ \text{and}\ \left( {5,0} \right)$ 为顶点的三角形区域。

345.

345.

Find the absolute maximum and minimum values of $f(x,y) = x^{2} + y^{2} - 2y + 1$ on the region $R = \left\{ {(x,y)\left| {x^{2} + y^{2} \leq 4} \right.} \right\}.$

求 $f(x,y) = x^{2} + y^{2} - 2y + 1$ 在区域 $R = \left\{ {(x,y)\left| {x^{2} + y^{2} \leq 4} \right.} \right\}$ 上的绝对最大值与最小值。

346\.

346.

$f(x,y) = x^{3} - 3xy - y^{3}$ on $R = \left\{ (x,y)\text{:}\ -2 \leq x \leq 2,-2 \leq y \leq 2 \right\}$

$f(x,y) = x^{3} - 3xy - y^{3}$,区域 $R = \left\{ (x,y)\text{:}\ -2 \leq x \leq 2,-2 \leq y \leq 2 \right\}$

347.

347.

$f(x,y) = \frac{-2y}{x^{2} + y^{2} + 1}$ on $R = \left\{ {(x,y)\text{:}\ x^{2} + y^{2} \leq 4} \right\}$

$f(x,y) = \frac{-2y}{x^{2} + y^{2} + 1}$,区域 $R = \left\{ {(x,y)\text{:}\ x^{2} + y^{2} \leq 4} \right\}$

348\.

348.

Find three positive numbers the sum of which is $27,$ such that the sum of their squares is as small as possible.

求三个正数,其和为 $27$,并使它们的平方和尽可能小。

349.

349.

Find the points on the surface $x^{2} - yz = 5$ that are closest to the origin.

求曲面 $x^{2} - yz = 5$ 上离原点最近的点。

350\.

350.

Find the maximum volume of a rectangular box with three faces in the coordinate planes and a vertex in the first octant on the plane $x + y + z = 1.$

求一个长方体盒子的最大体积,该盒子有三个面在坐标平面上,且有一个顶点位于第一卦限中的平面 $x + y + z = 1$ 上。

351.

351.

The sum of the length and the girth (perimeter of a cross-section) of a package carried by a delivery service cannot exceed $108$ in. Find the dimensions of the rectangular package of largest volume that can be sent.

某快递公司承运的包裹,其长度与围长(横截面周长)之和不得超过 $108$ 英寸。求可寄送的长方体包裹在体积最大时的尺寸。

352\.

352.

A cardboard box without a lid is to be made with a volume of $4$ ft3. Find the dimensions of the box that requires the least amount of cardboard.

要制作一个无盖纸箱,体积为 $4$ ft3。求所用纸板最少的箱子尺寸。

353.

353.

Find the point on the surface $f(x,y) = x^{2} + y^{2} + 10$ nearest the plane $x + 2y - z = 0.$ Identify the point on the plane.

求曲面 $f(x,y) = x^{2} + y^{2} + 10$ 上离平面 $x + 2y - z = 0$ 最近的点,并指出该平面上的对应点。

354\.

354.

Find the point in the plane $2x - y + 2z = 16$ that is closest to the origin.

求平面 $2x - y + 2z = 16$ 上离原点最近的点。

355.

355.

A company manufactures two types of athletic shoes: jogging shoes and cross-trainers. The total revenue from $x$ jogging shoes and $y$ cross-trainers is given by $R(x,y) = -5x^{2} - 8y^{2} - 2xy + 42x + 102y,$ where $x$ and $y$ are in thousands of units. Find the values of *x* and *y* to maximize the total revenue.

某公司生产两种运动鞋:慢跑鞋与综合训练鞋。销售 $x$ 双慢跑鞋与 $y$ 双综合训练鞋的总收入为 $R(x,y) = -5x^{2} - 8y^{2} - 2xy + 42x + 102y$,其中 $x$、$y$ 以千双计。求使总收入最大的 *x* 与 *y* 的值。

356\.

356.

A shipping company handles rectangular boxes provided the sum of the length, width, and height of the box does not exceed $96$ in. Find the dimensions of the box that meets this condition and has the largest volume.

某航运公司承运长方体箱子,条件是箱子的长、宽、高之和不超过 $96$ 英寸。求满足该条件且体积最大的箱子尺寸。

357.

357.

Find the maximum volume of a cylindrical soda can such that the sum of its height and circumference is $120$ cm.

求一个圆柱形汽水罐的最大体积,使其高度与周长之和为 $120$ cm。

4.8 Lagrange Multipliers 4.8 拉格朗日乘子

Solving optimization problems for functions of two or more variables can be similar to solving such problems in single-variable calculus. However, techniques for dealing with multiple variables allow us to solve more varied optimization problems for which we need to deal with additional conditions or constraints. In this section, we examine one of the more common and useful methods for solving optimization problems with constraints.

求解二元或多元函数的优化问题,可能与单变量微积分中的同类问题相似。然而,处理多变量问题的技巧使我们能解决更多样的最优化问题,这些问题需要应对额外的条件或约束。本节考察一种求解带约束最优化问题时较为常用且实用的方法。

Lagrange Multipliers 拉格朗日乘子

Example 4.41 was an applied situation involving maximizing a profit function, subject to certain constraints. In that example, the constraints involved a maximum number of golf balls that could be produced and sold in $1$ month $(x),$ and a maximum number of advertising hours that could be purchased per month $(y).$ Suppose these were combined into a budgetary constraint, such as $20x + 4y \leq 216,$ that took into account the cost of producing the golf balls and the number of advertising hours purchased per month. The goal is, still, to maximize profit, but now there is a different type of constraint on the values of $x$ and $y.$ This constraint, when combined with the profit function $f\left( {x,y} \right) = 48x + 96y - x^{2} - 2xy - 9y^{2},$ is an example of an optimization problem, and the function $f\left( {x,y} \right)$ is called the objective function. A graph of various level curves of the function $f\left( {x,y} \right)$ follows.

示例 4.41 是一个应用情境,涉及在若干约束条件下最大化利润函数。在那个例子中,约束包括每月能生产和销售的高尔夫球的最大数量 $(x)$,以及每月能购买的广告时长的最大数量 $(y)$。假设这些合并为一个预算约束,例如 $20x + 4y \leq 216$,它综合考虑了生产高尔夫球的成本与每月购买的广告时长。目标仍然是使利润最大化,但现在对 $x$ 和 $y$ 的取值有了另一种类型的约束。这个约束与利润函数 $f\left( {x,y} \right) = 48x + 96y - x^{2} - 2xy - 9y^{2}$ 结合,就构成一个最优化问题,而函数 $f\left( {x,y} \right)$ 称为目标函数。函数 $f\left( {x,y} \right)$ 的若干等高线图如下。

In Figure 4.59, the value $c$ represents different profit levels (i.e., values of the function $f).$ As the value of $c$ increases, the curve shifts to the right. Since our goal is to maximize profit, we want to choose a curve as far to the right as possible. If there was no restriction on the number of golf balls the company could produce, or the number of units of advertising available, then we could produce as many golf balls as we want, and advertise as much as we want, and there would not be a maximum profit for the company. Unfortunately, we have a budgetary constraint that is modeled by the inequality $20x + 4y \leq 216.$ To see how this constraint interacts with the profit function, Figure 4.60 shows the graph of the line $20x + 4y = 216$ superimposed on the previous graph.

在图 4.59 中,数值 $c$ 代表不同的利润水平(即函数 $f$ 的取值)。随着 $c$ 增大,曲线向右平移。由于我们的目标是最大化利润,我们希望选取尽可能靠右的曲线。如果公司对高尔夫球的产量或可用的广告量没有限制,那么我们可以想生产多少就生产多少、想做多少广告就做多少,公司也就没有最大利润可言。遗憾的是,我们有一个由不等式 $20x + 4y \leq 216$ 建模的预算约束。为了看清这个约束如何与利润函数相互作用,图 4.60 把直线 $20x + 4y = 216$ 叠加在之前的图上。

As mentioned previously, the maximum profit occurs when the level curve is as far to the right as possible. However, the level of production corresponding to this maximum profit must also satisfy the budgetary constraint, so the point at which this profit occurs must also lie on (or to the left of) the red line in Figure 4.60. Inspection of this graph reveals that this point exists where the line is tangent to the level curve of $f.$ Trial and error reveals that this profit level seems to be around $395,$ when $x$ and $y$ are both just less than $5.$ We return to the solution of this problem later in this section. From a theoretical standpoint, at the point where the profit curve is tangent to the constraint line, the gradient of both of the functions evaluated at that point must point in the same (or opposite) direction. Recall that the gradient of a function of more than one variable is a vector. If two vectors point in the same (or opposite) directions, then one must be a constant multiple of the other. This idea is the basis of the method of Lagrange multipliers.

如前所述,最大利润出现在等高线尽可能靠右时。然而,对应这一最大利润的生产水平还必须满足预算约束,因此产生该利润的点还必须落在图 4.60 中红线上(或其左侧)。观察该图可知,这个点出现在直线与 $f$ 的等高线相切之处。反复尝试表明,当 $x$ 和 $y$ 都略小于 $5$ 时,该利润水平似乎在 $395$ 左右。我们会在本节后面回到这个问题的解答。从理论上讲,在利润曲线与约束线相切的点处,两个函数在该点的梯度必须指向相同(或相反)的方向。回顾:多元函数的梯度是一个向量。若两个向量指向相同(或相反)方向,则其中一个必为另一个的常数倍。这一思想便是拉格朗日乘子法的基础。

Method of Lagrange Multipliers: One Constraint 拉格朗日乘子法:单约束

Let $f$ and $g$ be functions of two variables with continuous partial derivatives at every point of some open set containing the smooth curve $g\left( {x,y} \right) = 0.$ Suppose that $f,$ when restricted to points on the curve $g\left( {x,y} \right) = 0,$ has a local extremum at the point $\left( {x_{0},y_{0}} \right)$ and that $\nabla g\left( {x_{0},y_{0}} \right) \neq 0.$ Then there is a number $\lambda$ called a Lagrange multiplier, for which

设 $f$ 和 $g$ 为二元函数,在包含光滑曲线 $g\left( {x,y} \right) = 0$ 的某个开集的每个点上都有连续偏导数。假设把 $f$ 限制在该曲线 $g\left( {x,y} \right) = 0$ 上的点时,在点 $\left( {x_{0},y_{0}} \right)$ 取得局部极值,且 $\nabla g\left( {x_{0},y_{0}} \right) \neq 0$。则存在一个数 $\lambda$,称为拉格朗日乘子,使得

$$\nabla f\left( {x_{0},y_{0}} \right) = \lambda\nabla g\left( {x_{0},y_{0}} \right).$$

$$\nabla f\left( {x_{0},y_{0}} \right) = \lambda\nabla g\left( {x_{0},y_{0}} \right).$$

Proof 证明

Assume that a constrained extremum occurs at the point $\left( {x_{0},y_{0}} \right).$ Furthermore, we assume that the equation $g\left( {x,y} \right) = 0$ can be smoothly parameterized as

假设约束极值出现在点 $\left( {x_{0},y_{0}} \right)$。此外,我们假设方程 $g\left( {x,y} \right) = 0$ 可以光滑地参数化为

$$x = x(s)\ \text{and}\ y = y(s)$$

$$x = x(s)\ \text{and}\ y = y(s)$$

where *s* is an arc length parameter with reference point $\left( {x_{0},y_{0}} \right)$ at $s = 0.$ Therefore, the quantity $z = f\left( {x(s),y(s)} \right)$ has a relative maximum or relative minimum at $s = 0,$ and this implies that $\frac{dz}{ds} = 0$ at that point. From the chain rule,

其中 *s* 是以 $\left( {x_{0},y_{0}} \right)$ 为参考点(对应 $s = 0$)的弧长参数。因此,量 $z = f\left( {x(s),y(s)} \right)$ 在 $s = 0$ 处取得相对极大值或相对极小值,这意味着在该点 $\frac{dz}{ds} = 0$。由链式法则,

$$\frac{dz}{ds} = \frac{\partial f}{\partial x} \cdot \frac{dx}{ds} + \frac{\partial f}{\partial y} \cdot \frac{dy}{ds} = \left( \frac{\partial f}{\partial x}\hat{\mathbf{i}} + \frac{\partial f}{\partial y}\hat{\mathbf{j}} \right) \cdot \left( \frac{dx}{ds}\hat{\mathbf{i}} + \frac{dy}{ds}\hat{\mathbf{j}} \right) = 0,$$

$$\frac{dz}{ds} = \frac{\partial f}{\partial x} \cdot \frac{dx}{ds} + \frac{\partial f}{\partial y} \cdot \frac{dy}{ds} = \left( \frac{\partial f}{\partial x}\hat{\mathbf{i}} + \frac{\partial f}{\partial y}\hat{\mathbf{j}} \right) \cdot \left( \frac{dx}{ds}\hat{\mathbf{i}} + \frac{dy}{ds}\hat{\mathbf{j}} \right) = 0,$$

where the derivatives are all evaluated at $s = 0.$ However, the first factor in the dot product is the gradient of $f,$ and the second factor is the unit tangent vector $\text{T}(0)$ to the constraint curve. Since the point $\left( {x_{0},y_{0}} \right)$ corresponds to $s = 0,$ it follows from this equation that

其中各导数都在 $s = 0$ 处取值。然而,点积中的第一个因子是 $f$ 的梯度,第二个因子是约束曲线的单位切向量 $\text{T}(0)$。由于点 $\left( {x_{0},y_{0}} \right)$ 对应 $s = 0$,由该式可得

$$\nabla f\left( {x_{0},y_{0}} \right) \cdot \text{T}(0) = 0,$$

$$\nabla f\left( {x_{0},y_{0}} \right) \cdot \text{T}(0) = 0,$$

which implies that the gradient is either $\mathbf{0}$ or is normal to the constraint curve at a constrained relative extremum. However, the constraint curve $g\left( {x,y} \right) = 0$ is a level curve for the function $g\left( {x,y} \right)$ so that if $\nabla g\left( {x_{0},y_{0}} \right) \neq 0$ then $\nabla g\left( {x_{0},y_{0}} \right)$ is normal to this curve at $\left( {x_{0},y_{0}} \right)$ It follows, then, that there is some scalar $\lambda$ such that

这意味着,在约束相对极值处,梯度要么是 $\mathbf{0}$,要么与约束曲线垂直(即为法向量)。然而,约束曲线 $g\left( {x,y} \right) = 0$ 是函数 $g\left( {x,y} \right)$ 的一条等高线,因此若 $\nabla g\left( {x_{0},y_{0}} \right) \neq 0$,则 $\nabla g\left( {x_{0},y_{0}} \right)$ 在该点 $\left( {x_{0},y_{0}} \right)$ 处与这条曲线垂直。于是可知,存在某个标量 $\lambda$ 使得

$$\nabla f\left( {x_{0},y_{0}} \right) = \lambda\nabla g\left( {x_{0},y_{0}} \right)$$

$$\nabla f\left( {x_{0},y_{0}} \right) = \lambda\nabla g\left( {x_{0},y_{0}} \right)$$

To apply Method of Lagrange Multipliers: One Constraint to an optimization problem similar to that for the golf ball manufacturer, we need a problem-solving strategy.

要把"单约束拉格朗日乘子法"应用于类似于高尔夫球制造商的最优化问题,我们需要一个解题策略。

Steps for Using Lagrange Multipliers 使用拉格朗日乘子法的步骤

1. Determine the objective function $f\left( {x,y} \right)$ and the constraint function $g\left( {x,y} \right).$ Does the optimization problem involve maximizing or minimizing the objective function?

1. 确定目标函数 $f\left( {x,y} \right)$ 与约束函数 $g\left( {x,y} \right)$。该最优化问题是要求目标函数的最大化还是最小化?

2. Set up a system of equations using the following template:

2. 用下面的模板建立方程组:

$$\begin{array}{rll} {\nabla f\left( {x_{0},y_{0}} \right)} & = & {\lambda\nabla g\left( {x_{0},y_{0}} \right)} \\ {g\left( {x_{0},y_{0}} \right)} & = & {0.} \end{array}$$

$$\begin{array}{rll} {\nabla f\left( {x_{0},y_{0}} \right)} & = & {\lambda\nabla g\left( {x_{0},y_{0}} \right)} \\ {g\left( {x_{0},y_{0}} \right)} & = & {0.} \end{array}$$

3. Solve for $x_{0}$ and $y_{0}.$

3. 求解 $x_{0}$ 与 $y_{0}$。

4. The largest of the values of $f$ at the solutions found in step $3$ maximizes $f;$ the smallest of those values minimizes $f.$

4. 在第 3 步所得解处,$f$ 的所有取值中最大的那个使 $f$ 取最大值;最小的那个使 $f$ 取最小值。

Using Lagrange Multipliers 应用拉格朗日乘子法

Use the method of Lagrange multipliers to find the minimum value of $f\left( {x,y} \right) = x^{2} + 4y^{2} - 2x + 8y$ subject to the constraint $x + 2y = 7.$

用拉格朗日乘子法求 $f\left( {x,y} \right) = x^{2} + 4y^{2} - 2x + 8y$ 在约束条件 $x + 2y = 7$ 下的最小值。

Solution

Let's follow the problem-solving strategy:

我们按解题策略来做:

1. The optimization function is $f\left( {x,y} \right) = x^{2} + 4y^{2} - 2x + 8y.$ To determine the constraint function, we must first subtract $7$ from both sides of the constraint. This gives $x + 2y - 7 = 0.$ The constraint function is equal to the left-hand side, so $g\left( {x,y} \right) = x + 2y - 7.$ The problem asks us to solve for the minimum value of $f,$ subject to the constraint (see the following graph).

1. 最优化函数为 $f\left( {x,y} \right) = x^{2} + 4y^{2} - 2x + 8y$。为确定约束函数,须先将约束式两边同减 $7$,得到 $x + 2y - 7 = 0$。约束函数等于其左端,因此 $g\left( {x,y} \right) = x + 2y - 7$。问题要求我们在该约束下求 $f$ 的最小值(见下图)。

2. We then must calculate the gradients of both *f* and *g*:

2. 接着计算 *f* 与 *g* 的梯度:

$$\begin{array}{l} {\nabla f\left( {x,y} \right) = \left( {2x - 2} \right)\mathbf{i} + \left( {8y + 8} \right)\mathbf{j}} \\ {\nabla g\left( {x,y} \right) = \mathbf{i} + 2\mathbf{j}.} \end{array}$$

$$\begin{array}{l} {\nabla f\left( {x,y} \right) = \left( {2x - 2} \right)\mathbf{i} + \left( {8y + 8} \right)\mathbf{j}} \\ {\nabla g\left( {x,y} \right) = \mathbf{i} + 2\mathbf{j}.} \end{array}$$

The equation $\nabla f\left( {x_{0},y_{0}} \right) = \lambda\nabla g\left( {x_{0},y_{0}} \right)$ becomes

方程 $\nabla f\left( {x_{0},y_{0}} \right) = \lambda\nabla g\left( {x_{0},y_{0}} \right)$ 化为

$$\left( {2x_{0} - 2} \right)\mathbf{i} + \left( {8y_{0} + 8} \right)\mathbf{j} = \lambda\left( {\mathbf{i} + 2\mathbf{j}} \right),$$

$$\left( {2x_{0} - 2} \right)\mathbf{i} + \left( {8y_{0} + 8} \right)\mathbf{j} = \lambda\left( {\mathbf{i} + 2\mathbf{j}} \right),$$

which can be rewritten as

可改写为

$$\left( {2x_{0} - 2} \right)\mathbf{i} + \left( {8y_{0} + 8} \right)\mathbf{j} = \lambda\mathbf{i} + {2\lambda}\mathbf{j}.$$

$$\left( {2x_{0} - 2} \right)\mathbf{i} + \left( {8y_{0} + 8} \right)\mathbf{j} = \lambda\mathbf{i} + {2\lambda}\mathbf{j}.$$

Next, we set the coefficients of $\mathbf{i}\ \text{and}\ \mathbf{j}$ equal to each other:

接着,令 $\mathbf{i}$ 与 $\mathbf{j}$ 的系数分别相等:

$$\begin{array}{l} {2x_{0} - 2 = \lambda} \\ {8y_{0} + 8 = 2\lambda.} \end{array}$$

$$\begin{array}{l} {2x_{0} - 2 = \lambda} \\ {8y_{0} + 8 = 2\lambda.} \end{array}$$

The equation $g\left( {x_{0},y_{0}} \right) = 0$ becomes $x_{0} + 2y_{0} - 7 = 0.$ Therefore, the system of equations that needs to be solved is

方程 $g\left( {x_{0},y_{0}} \right) = 0$ 化为 $x_{0} + 2y_{0} - 7 = 0$。因此,需要求解的方程组为

$$\begin{array}{rll} {2x_{0} - 2} & = & \lambda \\ {8y_{0} + 8} & = & {2\lambda} \\ {x_{0} + 2y_{0} - 7} & = & 0. \end{array}$$

$$\begin{array}{rll} {2x_{0} - 2} & = & \lambda \\ {8y_{0} + 8} & = & {2\lambda} \\ {x_{0} + 2y_{0} - 7} & = & 0. \end{array}$$

3. This is a linear system of three equations in three variables. We start by solving the second equation for $\lambda$ and substituting it into the first equation. This gives $\lambda = 4y_{0} + 4,$ so substituting this into the first equation gives

3. 这是一个含三个变量的三个方程的线性方程组。我们先由第二个方程解出 $\lambda$ 并代入第一个方程。得到 $\lambda = 4y_{0} + 4$,将其代入第一个方程得

$$2x_{0} - 2 = 4y_{0} + 4.$$

$$2x_{0} - 2 = 4y_{0} + 4.$$

Solving this equation for $x_{0}$ gives $x_{0} = 2y_{0} + 3.$ We then substitute this into the third equation: $$\begin{array}{rll} {\left( {2y_{0} + 3} \right) + 2y_{0} - 7} & = & 0 \\ {4y_{0} - 4} & = & 0 \\ y_{0} & = & 1. \end{array}$$

由该方程解出 $x_{0}$ 得 $x_{0} = 2y_{0} + 3$。将其代入第三个方程:$$\begin{array}{rll} {\left( {2y_{0} + 3} \right) + 2y_{0} - 7} & = & 0 \\ {4y_{0} - 4} & = & 0 \\ y_{0} & = & 1. \end{array}$$

Since $x_{0} = 2y_{0} + 3,$ this gives $x_{0} = 5.$

由于 $x_{0} = 2y_{0} + 3$,于是得 $x_{0} = 5$。

4. Next, we substitute $\left( {5,1} \right)$ into $f\left( {x,y} \right) = x^{2} + 4y^{2} - 2x + 8y,$ gives $f\left( {5,1} \right) = 5^{2} + 4(1)^{2} - 2(5) + 8(1) = 27.$ To ensure this corresponds to a minimum value on the constraint function, let's try some other values, such as the intercepts of $g\left( {x,y} \right) = 0,$ Which are $\left( {7,0} \right)$ and $\left( {0,3.5} \right).$ We get $f\left( {7,0} \right) = 35$ and $f\left( {0,3.5} \right) = 77,$ so it appears $f$ has a minimum at $\left( {5,1} \right).$

4. 接着,把 $\left( {5,1} \right)$ 代入 $f\left( {x,y} \right) = x^{2} + 4y^{2} - 2x + 8y$,得 $f\left( {5,1} \right) = 5^{2} + 4(1)^{2} - 2(5) + 8(1) = 27$。为确认这对应约束函数上的最小值,我们试几个其他值,例如 $g\left( {x,y} \right) = 0$ 的截距点 $\left( {7,0} \right)$ 与 $\left( {0,3.5} \right)$。得到 $f\left( {7,0} \right) = 35$、$f\left( {0,3.5} \right) = 77$,于是看来 $f$ 在 $\left( {5,1} \right)$ 处取得最小值。

Use the method of Lagrange multipliers to find the maximum value of $f\left( {x,y} \right) = 9x^{2} + 36xy - 4y^{2} - 18x - 8y$ subject to the constraint $3x + 4y = 32.$

用拉格朗日乘子法求 $f\left( {x,y} \right) = 9x^{2} + 36xy - 4y^{2} - 18x - 8y$ 在约束条件 $3x + 4y = 32$ 下的最大值。

Let's now return to the problem posed at the beginning of the section.

现在让我们回到本节开头提出的问题。

Golf Balls and Lagrange Multipliers 高尔夫球与拉格朗日乘子

The golf ball manufacturer, Pro-T, has developed a profit model that depends on the number $x$ of golf balls sold per month (measured in thousands), and the number of hours per month of advertising *y*, according to the function

高尔夫球制造商 Pro-T 建立了一个利润模型,它依赖于每月销售的高尔夫球数量 $x$(以千计)以及每月的广告时长 *y*,由如下函数给出

$$z = f\left( {x,y} \right) = 48x + 96y - x^{2} - 2xy - 9y^{2},$$

$$z = f\left( {x,y} \right) = 48x + 96y - x^{2} - 2xy - 9y^{2},$$

where $z$ is measured in thousands of dollars. The budgetary constraint function relating the cost of the production of thousands golf balls and advertising units is given by $20x + 4y = 216.$ Find the values of $x$ and $y$ that maximize profit, and find the maximum profit.

其中 $z$ 以千美元计。将生产数千个高尔夫球的成本与广告量联系起来的预算约束函数为 $20x + 4y = 216$。求使利润最大的 $x$ 和 $y$ 的值,并求出最大利润。

Solution

Again, we follow the problem-solving strategy:

我们同样按解题策略来做:

1. The optimization function is $f\left( {x,y} \right) = 48x + 96y - x^{2} - 2xy - 9y^{2}.$ To determine the constraint function, we first subtract 216 from both sides of the constraint, then divide both sides by $4,$ which gives $5x + y - 54 = 0.$ The constraint function is equal to the left-hand side, so $g\left( {x,y} \right) = 5x + y - 54.$ The problem asks us to solve for the maximum value of $f,$ subject to this constraint.

1. 最优化函数为 $f\left( {x,y} \right) = 48x + 96y - x^{2} - 2xy - 9y^{2}$。为确定约束函数,先将约束式两边同减 216,再除以 $4$,得到 $5x + y - 54 = 0$。约束函数等于其左端,因此 $g\left( {x,y} \right) = 5x + y - 54$。问题要求我们在该约束下求 $f$ 的最大值。

2. So, we calculate the gradients of both $f\ \text{and}$ $g\text{:}$

2. 于是,计算 $f$ 与 $g$ 的梯度:

$$\begin{array}{l} {\nabla f\left( {x,y} \right) = \left( {48 - 2x - 2y} \right)\mathbf{i} + \left( {96 - 2x - 18y} \right)\mathbf{j}} \\ {\nabla g\left( {x,y} \right) = 5\mathbf{i} + \mathbf{j}.} \end{array}$$

$$\begin{array}{l} {\nabla f\left( {x,y} \right) = \left( {48 - 2x - 2y} \right)\mathbf{i} + \left( {96 - 2x - 18y} \right)\mathbf{j}} \\ {\nabla g\left( {x,y} \right) = 5\mathbf{i} + \mathbf{j}.} \end{array}$$

The equation $\nabla f\left( {x_{0},y_{0}} \right) = \lambda\nabla g\left( {x_{0},y_{0}} \right)$ becomes

方程 $\nabla f\left( {x_{0},y_{0}} \right) = \lambda\nabla g\left( {x_{0},y_{0}} \right)$ 化为

$$\left( {48 - 2x_{0} - 2y_{0}} \right)\mathbf{i} + \left( {96 - 2x_{0} - 18y_{0}} \right)\mathbf{j} = \lambda\left( {5\mathbf{i} + \mathbf{j}} \right),$$

$$\left( {48 - 2x_{0} - 2y_{0}} \right)\mathbf{i} + \left( {96 - 2x_{0} - 18y_{0}} \right)\mathbf{j} = \lambda\left( {5\mathbf{i} + \mathbf{j}} \right),$$

which can be rewritten as

可改写为

$$\left( {48 - 2x_{0} - 2y_{0}} \right)\mathbf{i} + \left( {96 - 2x_{0} - 18y_{0}} \right)\mathbf{j} = \lambda 5\mathbf{i} + \lambda\mathbf{j}.$$

$$\left( {48 - 2x_{0} - 2y_{0}} \right)\mathbf{i} + \left( {96 - 2x_{0} - 18y_{0}} \right)\mathbf{j} = \lambda 5\mathbf{i} + \lambda\mathbf{j}.$$

We then set the coefficients of $\mathbf{i}\ \text{and}\ \mathbf{j}$ equal to each other:

接着,令 $\mathbf{i}$ 与 $\mathbf{j}$ 的系数分别相等:

$$\begin{array}{rll} {48 - 2x_{0} - 2y_{0}} & = & {5\lambda} \\ {96 - 2x_{0} - 18y_{0}} & = & {\lambda.} \end{array}$$

$$\begin{array}{rll} {48 - 2x_{0} - 2y_{0}} & = & {5\lambda} \\ {96 - 2x_{0} - 18y_{0}} & = & {\lambda.} \end{array}$$

The equation $g\left( {x_{0},y_{0}} \right) = 0$ becomes $5x_{0} + y_{0} - 54 = 0.$ Therefore, the system of equations that needs to be solved is

方程 $g\left( {x_{0},y_{0}} \right) = 0$ 化为 $5x_{0} + y_{0} - 54 = 0$。因此,需要求解的方程组为

$$\begin{array}{rll} {48 - 2x_{0} - 2y_{0}} & = & {5\lambda} \\ {96 - 2x_{0} - 18y_{0}} & = & \lambda \\ {5x_{0} + y_{0} - 54} & = & 0. \end{array}$$

$$\begin{array}{rll} {48 - 2x_{0} - 2y_{0}} & = & {5\lambda} \\ {96 - 2x_{0} - 18y_{0}} & = & \lambda \\ {5x_{0} + y_{0} - 54} & = & 0. \end{array}$$

3. We use the left-hand side of the second equation to replace $\lambda$ in the first equation:

3. 用第二个方程的左端替换第一个方程中的 $\lambda$:

$$\begin{array}{rll} {48 - 2x_{0} - 2y_{0}} & = & {5\left( {96 - 2x_{0} - 18y_{0}} \right)} \\ {48 - 2x_{0} - 2y_{0}} & = & {480 - 10x_{0} - 90y_{0}} \\ {8x_{0}} & = & {432 - 88y_{0}} \\ x_{0} & = & {54 - 11y_{0}.} \end{array}$$

$$\begin{array}{rll} {48 - 2x_{0} - 2y_{0}} & = & {5\left( {96 - 2x_{0} - 18y_{0}} \right)} \\ {48 - 2x_{0} - 2y_{0}} & = & {480 - 10x_{0} - 90y_{0}} \\ {8x_{0}} & = & {432 - 88y_{0}} \\ x_{0} & = & {54 - 11y_{0}.} \end{array}$$

Then we substitute this into the third equation:

再将其代入第三个方程:

$$\begin{array}{rll} {5\left( {54 - 11y_{0}} \right) + y_{0} - 54} & = & 0 \\ {270 - 55y_{0} + y_{0}} & = & 0 \\ {216 - 54y_{0}} & = & 0 \\ y_{0} & = & 4. \end{array}$$

$$\begin{array}{rll} {5\left( {54 - 11y_{0}} \right) + y_{0} - 54} & = & 0 \\ {270 - 55y_{0} + y_{0}} & = & 0 \\ {216 - 54y_{0}} & = & 0 \\ y_{0} & = & 4. \end{array}$$

Since $x_{0} = 54 - 11y_{0},$ this gives $x_{0} = 10.$

由于 $x_{0} = 54 - 11y_{0}$,于是得 $x_{0} = 10$。

4. We then substitute $\left( {10,4} \right)$ into $f\left( {x,y} \right) = 48x + 96y - x^{2} - 2xy - 9y^{2},$ which gives

4. 接着,把 $\left( {10,4} \right)$ 代入 $f\left( {x,y} \right) = 48x + 96y - x^{2} - 2xy - 9y^{2}$,得

$$\begin{array}{cl} {f\left( {10,4} \right)} & {= 48(10) + 96(4) - (10)^{2} - 2(10)(4) - 9(4)^{2}} \\ & {= 480 + 384 - 100 - 80 - 144 = 540.} \end{array}$$

$$\begin{array}{cl} {f\left( {10,4} \right)} & {= 48(10) + 96(4) - (10)^{2} - 2(10)(4) - 9(4)^{2}} \\ & {= 480 + 384 - 100 - 80 - 144 = 540.} \end{array}$$

Therefore the maximum profit that can be attained, subject to budgetary constraints, is $\text{\$}540,000$ with a production level of $10,000$ golf balls and $4$ hours of advertising bought per month. Let's check to make sure this truly is a maximum. The endpoints of the line that defines the constraint are $\left( {10.8,0} \right)$ and $\left( {0,54} \right)$ Let's evaluate $f$ at both of these points:

因此,在预算约束下可达到的最大利润为 $\text{\$}540,000$,对应的产量为每月 $10,000$ 个高尔夫球、购买 $4$ 小时广告。我们来验证这确实是一个最大值。定义约束的直线的端点为 $\left( {10.8,0} \right)$ 和 $\left( {0,54} \right)$。在这两个点上计算 $f$:

$$\begin{array}{rll} {f\left( {10.8,0} \right)} & = & {48(10.8) + 96(0) - 10.8^{2} - 2(10.8)(0) - 9\left( 0^{2} \right) = 401.76} \\ {f\left( {0,54} \right)} & = & {48(0) + 96(54) - 0^{2} - 2(0)(54) - 9\left( 54^{2} \right) = -21,060.} \end{array}$$

$$\begin{array}{rll} {f\left( {10.8,0} \right)} & = & {48(10.8) + 96(0) - 10.8^{2} - 2(10.8)(0) - 9\left( 0^{2} \right) = 401.76} \\ {f\left( {0,54} \right)} & = & {48(0) + 96(54) - 0^{2} - 2(0)(54) - 9\left( 54^{2} \right) = -21,060.} \end{array}$$

The second value represents a loss, since no golf balls are produced. Neither of these values exceed $540,$ so it seems that our extremum is a maximum value of $f.$

第二个值表示亏损,因为此时没有生产高尔夫球。这两个值都不超过 $540$,因此我们的极值看来是 $f$ 的最大值。

A company has determined that its production level is given by the Cobb-Douglas function $f\left( {x,y} \right) = 2.5x^{0.45}y^{0.55}$ where *x* represents the total number of labor hours in $1$ year and *y* represents the total capital input for the company. Suppose $1$ unit of labor costs $\text{\$}40$ and $1$ unit of capital costs $\text{\$}50.$ Use the method of Lagrange multipliers to find the maximum value of $f\left( {x,y} \right) = 2.5x^{0.45}y^{0.55}$ subject to a budgetary constraint of $\text{\$}500,000$ per year.

某公司确定其产量由柯布-道格拉斯(Cobb-Douglas)函数 $f\left( {x,y} \right) = 2.5x^{0.45}y^{0.55}$ 给出,其中 *x* 表示一年内劳动力的总工时,*y* 表示公司的总资本投入。设 $1$ 单位劳动力成本为 $\text{\$}40$,$1$ 单位资本成本为 $\text{\$}50$。用拉格朗日乘子法求 $f\left( {x,y} \right) = 2.5x^{0.45}y^{0.55}$ 在每年 $\text{\$}500,000$ 预算约束下的最大值。

In the case of an optimization function with three variables and a single constraint function, it is possible to use the method of Lagrange multipliers to solve an optimization problem as well. An example of an optimization function with three variables could be the Cobb-Douglas function in the previous example: $f\left( {x,y,z} \right) = x^{0.2}y^{0.4}z^{0.4},$ where $x$ represents the cost of labor, $y$ represents capital input, and $z$ represents the cost of advertising. The method is the same as for the method with a function of two variables; the equations to be solved are

对于含三个变量和单个约束函数的最优化问题,同样可以使用拉格朗日乘子法求解。一个三变量最优化函数的例子就是上例中的柯布-道格拉斯函数:$f\left( {x,y,z} \right) = x^{0.2}y^{0.4}z^{0.4}$,其中 $x$ 表示劳动力成本,$y$ 表示资本投入,$z$ 表示广告成本。方法与二元函数情形相同;需要求解的方程为

$$\begin{array}{rll} {\nabla f\left( {x,y,z} \right)} & = & {\lambda\nabla g\left( {x,y,z} \right)} \\ {g\left( {x,y,z} \right)} & = & 0. \end{array}$$

$$\begin{array}{rll} {\nabla f\left( {x,y,z} \right)} & = & {\lambda\nabla g\left( {x,y,z} \right)} \\ {g\left( {x,y,z} \right)} & = & 0. \end{array}$$

Lagrange Multipliers with a Three-Variable Optimization Function 三变量最优化函数的拉格朗日乘子法

Find the minimum of the function $f\left( {x,y,z} \right) = x^{2} + y^{2} + z^{2}$ subject to the constraint $x + y + z = 1.$

求函数 $f\left( {x,y,z} \right) = x^{2} + y^{2} + z^{2}$ 在约束条件 $x + y + z = 1$ 下的最小值。

Solution

1. The optimization function is $f\left( {x,y,z} \right) = x^{2} + y^{2} + z^{2}.$ To determine the constraint function, we subtract $1$ from each side of the constraint: $x + y + z - 1 = 0$ which gives the constraint function as $g\left( {x,y,z} \right) = x + y + z - 1.$

1. 最优化函数为 $f\left( {x,y,z} \right) = x^{2} + y^{2} + z^{2}$。为确定约束函数,将约束式两边各减 $1$:$x + y + z - 1 = 0$,于是约束函数为 $g\left( {x,y,z} \right) = x + y + z - 1$。

2. Next, we calculate $\nabla f\left( {x,y,z} \right)$ and $\nabla g\left( {x,y,z} \right)\text{:}$

2. 接着,计算 $\nabla f\left( {x,y,z} \right)$ 与 $\nabla g\left( {x,y,z} \right)$:

$$\begin{array}{l} {\nabla f\left( {x,y,z} \right) = \left\langle 2x,2y,2z \right\rangle} \\ {\nabla g\left( {x,y,z} \right) = \left\langle 1,1,1 \right\rangle\text{.}} \end{array}$$

$$\begin{array}{l} {\nabla f\left( {x,y,z} \right) = \left\langle 2x,2y,2z \right\rangle} \\ {\nabla g\left( {x,y,z} \right) = \left\langle 1,1,1 \right\rangle\text{.}} \end{array}$$

This leads to the equations

这导出方程组

$$\begin{array}{rll} \left\langle 2x_{0},2y_{0},2z_{0} \right\rangle & = & {\lambda\left\langle 1,1,1 \right\rangle} \\ {x_{0} + y_{0} + z_{0} - 1} & = & 0 \end{array}$$

$$\begin{array}{rll} \left\langle 2x_{0},2y_{0},2z_{0} \right\rangle & = & {\lambda\left\langle 1,1,1 \right\rangle} \\ {x_{0} + y_{0} + z_{0} - 1} & = & 0 \end{array}$$

which can be rewritten in the following form:

可改写为如下形式:

$$\begin{array}{rll} {2x_{0}} & = & \lambda \\ {2y_{0}} & = & \lambda \\ {2z_{0}} & = & \lambda \\ {x_{0} + y_{0} + z_{0} - 1} & = & 0. \end{array}$$

$$\begin{array}{rll} {2x_{0}} & = & \lambda \\ {2y_{0}} & = & \lambda \\ {2z_{0}} & = & \lambda \\ {x_{0} + y_{0} + z_{0} - 1} & = & 0. \end{array}$$

3. Since each of the first three equations has $\lambda$ on the right-hand side, we know that $2x_{0} = 2y_{0} = 2z_{0}$ and all three variables are equal to each other. Substituting $y_{0} = x_{0}$ and $z_{0} = x_{0}$ into the last equation yields $3x_{0} - 1 = 0,$ so $x_{0} = \frac{1}{3}$ and $y_{0} = \frac{1}{3}$ and $z_{0} = \frac{1}{3}$ which corresponds to a critical point on the constraint curve.

3. 由于前三个方程的右端都有 $\lambda$,可知 $2x_{0} = 2y_{0} = 2z_{0}$,即三个变量彼此相等。将 $y_{0} = x_{0}$、$z_{0} = x_{0}$ 代入最后一个方程,得 $3x_{0} - 1 = 0$,于是 $x_{0} = \frac{1}{3}$、$y_{0} = \frac{1}{3}$、$z_{0} = \frac{1}{3}$,这对应约束曲线上的一个临界点。

4. Then, we evaluate *f* at the point $\left( {\frac{1}{3},\frac{1}{3},\frac{1}{3}} \right)\text{:}$

4. 接着,在点 $\left( {\frac{1}{3},\frac{1}{3},\frac{1}{3}} \right)$ 处计算 *f*:

$$f\left( {\frac{1}{3},\frac{1}{3},\frac{1}{3}} \right) = \left( \frac{1}{3} \right)^{2} + \left( \frac{1}{3} \right)^{2} + \left( \frac{1}{3} \right)^{2} = \frac{3}{9} = \frac{1}{3}.$$

$$f\left( {\frac{1}{3},\frac{1}{3},\frac{1}{3}} \right) = \left( \frac{1}{3} \right)^{2} + \left( \frac{1}{3} \right)^{2} + \left( \frac{1}{3} \right)^{2} = \frac{3}{9} = \frac{1}{3}.$$

Therefore, an extremum of the function is $\frac{1}{3}.$ To verify it is a minimum, choose other points that satisfy the constraint and calculate $f$ at that point. For example,

因此,函数的一个极值为 $\frac{1}{3}$。为验证它是最小值,选取其他满足约束的点并在该点计算 $f$。例如,

$$\begin{array}{rll} {f\left( {1,0,0} \right)} & = & {1^{2} + 0^{2} + 0^{2} = 1} \\ {f\left( {0,-2,3} \right)} & = & {0^{2} + (-2)^{2} + 3^{2} = 13.} \end{array}$$

$$\begin{array}{rll} {f\left( {1,0,0} \right)} & = & {1^{2} + 0^{2} + 0^{2} = 1} \\ {f\left( {0,-2,3} \right)} & = & {0^{2} + (-2)^{2} + 3^{2} = 13.} \end{array}$$

Both of these values are greater than $\frac{1}{3},$ leading us to believe the extremum is a minimum.

这两个值都大于 $\frac{1}{3}$,使我们有理由相信该极值为最小值。

Use the method of Lagrange multipliers to find the minimum value of the function

用拉格朗日乘子法求下列函数的最小值

$$f\left( {x,y,z} \right) = x + y + z$$

$$f\left( {x,y,z} \right) = x + y + z$$

subject to the constraint $x^{2} + y^{2} + z^{2} = 1.$

约束条件为 $x^{2} + y^{2} + z^{2} = 1$。

Problems with Two Constraints 两个约束条件的问题

The method of Lagrange multipliers can be applied to problems with more than one constraint. In this case the optimization function, $w$ is a function of three variables:

拉格朗日乘子法可以应用于具有多个约束条件的问题。此时目标函数 $w$ 是三个变量的函数:

$$w = f\left( {x,y,z} \right)$$

$$w = f\left( {x,y,z} \right)$$

and it is subject to two constraints:

且它满足两个约束条件:

$$g\left( {x,y,z} \right) = 0\ \text{and}\ h\left( {x,y,z} \right) = 0.$$

$$g\left( {x,y,z} \right) = 0\ \text{and}\ h\left( {x,y,z} \right) = 0.$$

There are two Lagrange multipliers, $\lambda_{1}$ and $\lambda_{2},$ and the system of equations becomes

有两个拉格朗日乘子 $\lambda_{1}$ 与 $\lambda_{2}$,于是方程组变为

$$\begin{array}{rll}

$$\begin{array}{rll}

{\nabla f\left( {x_{0},y_{0},z_{0}} \right)} & = & {\lambda_{1}\nabla g\left( {x_{0},y_{0},z_{0}} \right) + \lambda_{2}\nabla h\left( {x_{0},y_{0},z_{0}} \right)} \\

{\nabla f\left( {x_{0},y_{0},z_{0}} \right)} & = & {\lambda_{1}\nabla g\left( {x_{0},y_{0},z_{0}} \right) + \lambda_{2}\nabla h\left( {x_{0},y_{0},z_{0}} \right)} \\

{g\left( {x_{0},y_{0},z_{0}} \right)} & = & 0 \\

{g\left( {x_{0},y_{0},z_{0}} \right)} & = & 0 \\

{h\left( {x_{0},y_{0},z_{0}} \right)} & = & 0.

{h\left( {x_{0},y_{0},z_{0}} \right)} & = & 0.

\end{array}$$

\end{array}$$

Lagrange Multipliers with Two Constraints 两个约束条件下的拉格朗日乘子

Find the local extreme values of the function

求下列函数的局部极值

$$f\left( {x,y,z} \right) = x^{2} + y^{2} + z^{2}$$

$$f\left( {x,y,z} \right) = x^{2} + y^{2} + z^{2}$$

subject to the constraints $z^{2} = x^{2} + y^{2}$ and $x + y - z + 1 = 0.$

约束条件为 $z^{2} = x^{2} + y^{2}$ 与 $x + y - z + 1 = 0$。

Solution

Let’s follow the problem-solving strategy:

我们按照解题策略来做:

1. The optimization function is $f\left( {x,y,z} \right) = x^{2} + y^{2} + z^{2}.$ To determine the constraint functions, we first subtract $z^{2}$ from both sides of the first constraint, which gives $x^{2} + y^{2} - z^{2} = 0,$ so $g\left( {x,y,z} \right) = x^{2} + y^{2} - z^{2}.$ The second constraint function is $h\left( {x,y,z} \right) = x + y - z + 1.$

1. 目标函数为 $f\left( {x,y,z} \right) = x^{2} + y^{2} + z^{2}$。为确定约束函数,先将第一个约束两边减去 $z^{2}$,得 $x^{2} + y^{2} - z^{2} = 0$,故 $g\left( {x,y,z} \right) = x^{2} + y^{2} - z^{2}$。第二个约束函数为 $h\left( {x,y,z} \right) = x + y - z + 1$。

2. We then calculate the gradients of $f,g,\ \text{and}\ h\text{:}$

2. 接着计算 $f$、$g$ 与 $h$ 的梯度:

$$\begin{array}{l}

$$\begin{array}{l}

{\nabla f\left( {x,y,z} \right) = 2x\mathbf{i} + 2y\mathbf{j} + 2z\mathbf{k}} \\

{\nabla f\left( {x,y,z} \right) = 2x\mathbf{i} + 2y\mathbf{j} + 2z\mathbf{k}} \\

{\nabla g\left( {x,y,z} \right) = 2x\mathbf{i} + 2y\mathbf{j} - 2z\mathbf{k}} \\

{\nabla g\left( {x,y,z} \right) = 2x\mathbf{i} + 2y\mathbf{j} - 2z\mathbf{k}} \\

{\nabla h\left( {x,y,z} \right) = \mathbf{i} + \mathbf{j} - \mathbf{k}.}

{\nabla h\left( {x,y,z} \right) = \mathbf{i} + \mathbf{j} - \mathbf{k}.}

\end{array}$$

\end{array}$$

The equation $\nabla f\left( {x_{0},y_{0},z_{0}} \right) = \lambda_{1}\nabla g\left( {x_{0},y_{0},z_{0}} \right) + \lambda_{2}\nabla h\left( {x_{0},y_{0},z_{0}} \right)$ becomes

等式 $\nabla f\left( {x_{0},y_{0},z_{0}} \right) = \lambda_{1}\nabla g\left( {x_{0},y_{0},z_{0}} \right) + \lambda_{2}\nabla h\left( {x_{0},y_{0},z_{0}} \right)$ 化为

$$2x_{0}\mathbf{i} + 2y_{0}\mathbf{j} + 2z_{0}\mathbf{k} = \lambda_{1}\left( {2x_{0}\mathbf{i} + 2y_{0}\mathbf{j} - 2z_{0}\mathbf{k}} \right) + \lambda_{2}\left( {\mathbf{i} + \mathbf{j} - \mathbf{k}} \right),$$

$$2x_{0}\mathbf{i} + 2y_{0}\mathbf{j} + 2z_{0}\mathbf{k} = \lambda_{1}\left( {2x_{0}\mathbf{i} + 2y_{0}\mathbf{j} - 2z_{0}\mathbf{k}} \right) + \lambda_{2}\left( {\mathbf{i} + \mathbf{j} - \mathbf{k}} \right),$$

which can be rewritten as

可改写为

$$2x_{0}\mathbf{i} + 2y_{0}\mathbf{j} + 2z_{0}\mathbf{k} = \left( {2\lambda_{1}x_{0} + \lambda_{2}} \right)\mathbf{i} + \left( {2\lambda_{1}y_{0} + \lambda_{2}} \right)\mathbf{j} - \left( {2\lambda_{1}z_{0} + \lambda_{2}} \right)\mathbf{k}.$$

$$2x_{0}\mathbf{i} + 2y_{0}\mathbf{j} + 2z_{0}\mathbf{k} = \left( {2\lambda_{1}x_{0} + \lambda_{2}} \right)\mathbf{i} + \left( {2\lambda_{1}y_{0} + \lambda_{2}} \right)\mathbf{j} - \left( {2\lambda_{1}z_{0} + \lambda_{2}} \right)\mathbf{k}.$$

Next, we set the coefficients of $\mathbf{i}\ \text{,}\ \mathbf{j}\text{, and}\ \mathbf{k}$ equal to each other:

接下来,令 $\mathbf{i}$、$\mathbf{j}$ 与 $\mathbf{k}$ 的系数分别对应相等:

$$\begin{array}{l}

$$\begin{array}{l}

{2x_{0} = 2\lambda_{1}x_{0} + \lambda_{2}} \\

{2x_{0} = 2\lambda_{1}x_{0} + \lambda_{2}} \\

{2y_{0} = 2\lambda_{1}y_{0} + \lambda_{2}} \\

{2y_{0} = 2\lambda_{1}y_{0} + \lambda_{2}} \\

{2z_{0} = -2\lambda_{1}z_{0} - \lambda_{2}.}

{2z_{0} = -2\lambda_{1}z_{0} - \lambda_{2}.}

\end{array}$$

\end{array}$$

The two equations that arise from the constraints are $z_{0}{}^{2} = x_{0}{}^{2} + y_{0}{}^{2}$ and $x_{0} + y_{0} - z_{0} + 1 = 0.$ Combining these equations with the previous three equations gives

由约束条件得到的两个方程为 $z_{0}{}^{2} = x_{0}{}^{2} + y_{0}{}^{2}$ 与 $x_{0} + y_{0} - z_{0} + 1 = 0$。将这两个方程与前三个方程联立得

$$\begin{array}{rll}

$$\begin{array}{rll}

{2x_{0}} & = & {2\lambda_{1}x_{0} + \lambda_{2}} \\

{2x_{0}} & = & {2\lambda_{1}x_{0} + \lambda_{2}} \\

{2y_{0}} & = & {2\lambda_{1}y_{0} + \lambda_{2}} \\

{2y_{0}} & = & {2\lambda_{1}y_{0} + \lambda_{2}} \\

{2z_{0}} & = & {-2\lambda_{1}z_{0} - \lambda_{2}} \\

{2z_{0}} & = & {-2\lambda_{1}z_{0} - \lambda_{2}} \\

{z_{0}{}^{2}} & = & {x_{0}{}^{2} + y_{0}{}^{2}} \\

{z_{0}{}^{2}} & = & {x_{0}{}^{2} + y_{0}{}^{2}} \\

{x_{0} + y_{0} - z_{0} + 1} & = & 0.

{x_{0} + y_{0} - z_{0} + 1} & = & 0.

\end{array}$$

\end{array}$$

3. The first three equations contain the variable $\lambda_{2}.$ Solving the third equation for $\lambda_{2}$ and replacing into the first and second equations reduces the number of equations to four:

3. 前三个方程含有变量 $\lambda_{2}$。由第三个方程解出 $\lambda_{2}$ 并代入第一、第二个方程,方程个数减少为四个:

$$\begin{array}{rll}

$$\begin{array}{rll}

{2x_{0}} & = & {2\lambda_{1}x_{0} - 2\lambda_{1}z_{0} - 2z_{0}} \\

{2x_{0}} & = & {2\lambda_{1}x_{0} - 2\lambda_{1}z_{0} - 2z_{0}} \\

{2y_{0}} & = & {2\lambda_{1}y_{0} - 2\lambda_{1}z_{0} - 2z_{0}} \\

{2y_{0}} & = & {2\lambda_{1}y_{0} - 2\lambda_{1}z_{0} - 2z_{0}} \\

{z_{0}{}^{2}} & = & {x_{0}{}^{2} + y_{0}{}^{2}} \\

{z_{0}{}^{2}} & = & {x_{0}{}^{2} + y_{0}{}^{2}} \\

{x_{0} + y_{0} - z_{0} + 1} & = & 0.

{x_{0} + y_{0} - z_{0} + 1} & = & 0.

\end{array}$$

\end{array}$$

Next, we solve the first and second equation for $\lambda_{1}.$ The first equation gives $\lambda_{1} = \frac{x_{0} + z_{0}}{x_{0} - z_{0}},$ the second equation gives $\lambda_{1} = \frac{y_{0} + z_{0}}{y_{0} - z_{0}}.$ We set the right-hand side of each equation equal to each other and cross-multiply:

接着由第一、第二个方程解出 $\lambda_{1}$。第一个方程给出 $\lambda_{1} = \frac{x_{0} + z_{0}}{x_{0} - z_{0}}$,第二个方程给出 $\lambda_{1} = \frac{y_{0} + z_{0}}{y_{0} - z_{0}}$。令两式右端相等并交叉相乘:

$$\begin{array}{rll}

$$\begin{array}{rll}

\frac{x_{0} + z_{0}}{x_{0} - z_{0}} & = & \frac{y_{0} + z_{0}}{y_{0} - z_{0}} \\

\frac{x_{0} + z_{0}}{x_{0} - z_{0}} & = & \frac{y_{0} + z_{0}}{y_{0} - z_{0}} \\

{\left( {x_{0} + z_{0}} \right)\left( {y_{0} - z_{0}} \right)} & = & {\left( {x_{0} - z_{0}} \right)\left( {y_{0} + z_{0}} \right)} \\

{\left( {x_{0} + z_{0}} \right)\left( {y_{0} - z_{0}} \right)} & = & {\left( {x_{0} - z_{0}} \right)\left( {y_{0} + z_{0}} \right)} \\

{x_{0}y_{0} - x_{0}z_{0} + y_{0}z_{0} - z_{0}{}^{2}} & = & {x_{0}y_{0} + x_{0}z_{0} - y_{0}z_{0} - z_{0}2} \\

{x_{0}y_{0} - x_{0}z_{0} + y_{0}z_{0} - z_{0}{}^{2}} & = & {x_{0}y_{0} + x_{0}z_{0} - y_{0}z_{0} - z_{0}2} \\

{2y_{0}z_{0} - 2x_{0}z_{0}} & = & 0 \\

{2y_{0}z_{0} - 2x_{0}z_{0}} & = & 0 \\

{2z_{0}\left( {y_{0} - x_{0}} \right)} & = & 0.

{2z_{0}\left( {y_{0} - x_{0}} \right)} & = & 0.

\end{array}.$$

\end{array}.$$

Therefore, either $z_{0} = 0$ or $y_{0} = x_{0}.$ If $z_{0} = 0,$ then the first constraint becomes $0 = x_{0}{}^{2} + y_{0}{}^{2}.$ The only real solution to this equation is $x_{0} = 0$ and $y_{0} = 0,$ which gives the ordered triple $\left( {0,0,0} \right).$ This point does not satisfy the second constraint, so it is not a solution.

于是 $z_{0} = 0$ 或 $y_{0} = x_{0}$。若 $z_{0} = 0$,则第一个约束变为 $0 = x_{0}{}^{2} + y_{0}{}^{2}$。该方程的唯一实数解为 $x_{0} = 0$、$y_{0} = 0$,得到有序三元组 $\left( {0,0,0} \right)$。该点不满足第二个约束,故不是解。

Next, we consider $y_{0} = x_{0},$ which reduces the number of equations to three:

接着考虑 $y_{0} = x_{0}$,此时方程个数减少到三个:

$$\begin{array}{rll}

$$\begin{array}{rll}

y_{0} & = & x_{0} \\

y_{0} & = & x_{0} \\

{z_{0}{}^{2}} & = & {x_{0}{}^{2} + y_{0}{}^{2}} \\

{z_{0}{}^{2}} & = & {x_{0}{}^{2} + y_{0}{}^{2}} \\

{x_{0} + y_{0} - z_{0} + 1} & = & 0.

{x_{0} + y_{0} - z_{0} + 1} & = & 0.

\end{array}$$

\end{array}$$

We substitute the first equation into the second and third equations:

将第一个方程代入第二、第三个方程:

$$\begin{array}{rll}

$$\begin{array}{rll}

{z_{0}{}^{2}} & = & {x_{0}{}^{2} + x_{0}{}^{2}} \\

{z_{0}{}^{2}} & = & {x_{0}{}^{2} + x_{0}{}^{2}} \\

{x_{0} + x_{0} - z_{0} + 1} & = & 0.

{x_{0} + x_{0} - z_{0} + 1} & = & 0.

\end{array}$$

\end{array}$$

Then, we solve the second equation for $z_{0},$ which gives $z_{0} = 2x_{0} + 1.$ We then substitute this into the first equation,

然后由第二个方程解出 $z_{0}$,得 $z_{0} = 2x_{0} + 1$。将其代入第一个方程,

$$\begin{array}{rll}

$$\begin{array}{rll}

{z_{0}{}^{2}} & = & {2x_{0}{}^{2}} \\

{z_{0}{}^{2}} & = & {2x_{0}{}^{2}} \\

\left( {2x_{0} + 1} \right)^{2} & = & {2x_{0}{}^{2}} \\

\left( {2x_{0} + 1} \right)^{2} & = & {2x_{0}{}^{2}} \\

{4x_{0}{}^{2} + 4x_{0} + 1} & = & {2x_{0}{}^{2}} \\

{4x_{0}{}^{2} + 4x_{0} + 1} & = & {2x_{0}{}^{2}} \\

{2x_{0}{}^{2} + 4x_{0} + 1} & = & {0,}

{2x_{0}{}^{2} + 4x_{0} + 1} & = & {0,}

\end{array}$$

\end{array}$$

and use the quadratic formula to solve for $x_{0}\text{:}$

并用二次公式求解 $x_{0}$:

$$x_{0} = \frac{-4 \pm \sqrt{4^{2} - 4(2)(1)}}{2(2)} = \frac{-4 \pm \sqrt{8}}{4} = \frac{-4 \pm 2\sqrt{2}}{4} = -1 \pm \frac{\sqrt{2}}{2}.$$

$$x_{0} = \frac{-4 \pm \sqrt{4^{2} - 4(2)(1)}}{2(2)} = \frac{-4 \pm \sqrt{8}}{4} = \frac{-4 \pm 2\sqrt{2}}{4} = -1 \pm \frac{\sqrt{2}}{2}.$$

Recall $y_{0} = x_{0},$ so this solves for $y_{0}$ as well. Then, $z_{0} = 2x_{0} + 1,$ so

注意 $y_{0} = x_{0}$,故这也解出 $y_{0}$。又 $z_{0} = 2x_{0} + 1$,于是

$$z_{0} = 2x_{0} + 1 = 2\left( {-1 \pm \frac{\sqrt{2}}{2}} \right) + 1 = -2 + 1 \pm \sqrt{2} = -1 \pm \sqrt{2}.$$

$$z_{0} = 2x_{0} + 1 = 2\left( {-1 \pm \frac{\sqrt{2}}{2}} \right) + 1 = -2 + 1 \pm \sqrt{2} = -1 \pm \sqrt{2}.$$

Therefore, there are two ordered triplet solutions:

因此有两个有序三元组解:

$$\left( {-1 + \frac{\sqrt{2}}{2},-1 + \frac{\sqrt{2}}{2},-1 + \sqrt{2}} \right)\ \text{and}\ \left( {-1 - \frac{\sqrt{2}}{2},-1 - \frac{\sqrt{2}}{2},-1 - \sqrt{2}} \right).$$

$$\left( {-1 + \frac{\sqrt{2}}{2},-1 + \frac{\sqrt{2}}{2},-1 + \sqrt{2}} \right)\ \text{and}\ \left( {-1 - \frac{\sqrt{2}}{2},-1 - \frac{\sqrt{2}}{2},-1 - \sqrt{2}} \right).$$

4. We substitute $\left( {-1 + \frac{\sqrt{2}}{2},-1 + \frac{\sqrt{2}}{2},-1 + \sqrt{2}} \right)$ into $f\left( {x,y,z} \right) = x^{2} + y^{2} + z^{2},$ which gives

4. 将 $\left( {-1 + \frac{\sqrt{2}}{2},-1 + \frac{\sqrt{2}}{2},-1 + \sqrt{2}} \right)$ 代入 $f\left( {x,y,z} \right) = x^{2} + y^{2} + z^{2}$,得

$$\begin{array}{cl}

$$\begin{array}{cl}

{f\left( {-1 + \frac{\sqrt{2}}{2},-1 + \frac{\sqrt{2}}{2},-1 + \sqrt{2}} \right)} & {= \left( {-1 + \frac{\sqrt{2}}{2}} \right)^{2} + \left( {-1 + \frac{\sqrt{2}}{2}} \right)^{2} + \left( {-1 + \sqrt{2}} \right)^{2}} \\

{f\left( {-1 + \frac{\sqrt{2}}{2},-1 + \frac{\sqrt{2}}{2},-1 + \sqrt{2}} \right)} & {= \left( {-1 + \frac{\sqrt{2}}{2}} \right)^{2} + \left( {-1 + \frac{\sqrt{2}}{2}} \right)^{2} + \left( {-1 + \sqrt{2}} \right)^{2}} \\

& {= \left( {1 - \sqrt{2} + \frac{1}{2}} \right) + \left( {1 - \sqrt{2} + \frac{1}{2}} \right) + \left( {1 - 2\sqrt{2} + 2} \right)} \\

& {= \left( {1 - \sqrt{2} + \frac{1}{2}} \right) + \left( {1 - \sqrt{2} + \frac{1}{2}} \right) + \left( {1 - 2\sqrt{2} + 2} \right)} \\

& {= 6 - 4\sqrt{2}.}

& {= 6 - 4\sqrt{2}.}

\end{array}$$

\end{array}$$

Then, we substitute $\left( {-1 - \frac{\sqrt{2}}{2},-1 - \frac{\sqrt{2}}{2},-1 - \sqrt{2}} \right)$ into $f\left( {x,y,z} \right) = x^{2} + y^{2} + z^{2},$ which gives

再将 $\left( {-1 - \frac{\sqrt{2}}{2},-1 - \frac{\sqrt{2}}{2},-1 - \sqrt{2}} \right)$ 代入 $f\left( {x,y,z} \right) = x^{2} + y^{2} + z^{2}$,得

$$\begin{array}{cl}

$$\begin{array}{cl}

{f\left( {-1 - \frac{\sqrt{2}}{2},-1 - \frac{\sqrt{2}}{2},-1 - \sqrt{2}} \right)} & {= \left( {-1 - \frac{\sqrt{2}}{2}} \right)^{2} + \left( {-1 - \frac{\sqrt{2}}{2}} \right)^{2} + \left( {-1 - \sqrt{2}} \right)^{2}} \\

{f\left( {-1 - \frac{\sqrt{2}}{2},-1 - \frac{\sqrt{2}}{2},-1 - \sqrt{2}} \right)} & {= \left( {-1 - \frac{\sqrt{2}}{2}} \right)^{2} + \left( {-1 - \frac{\sqrt{2}}{2}} \right)^{2} + \left( {-1 - \sqrt{2}} \right)^{2}} \\

& {= \left( {1 + \sqrt{2} + \frac{1}{2}} \right) + \left( {1 + \sqrt{2} + \frac{1}{2}} \right) + \left( {1 + 2\sqrt{2} + 2} \right)} \\

& {= \left( {1 + \sqrt{2} + \frac{1}{2}} \right) + \left( {1 + \sqrt{2} + \frac{1}{2}} \right) + \left( {1 + 2\sqrt{2} + 2} \right)} \\

& {= 6 + 4\sqrt{2}.}

& {= 6 + 4\sqrt{2}.}

\end{array}$$

\end{array}$$

$6 + 4\sqrt{2}$ and $6 - 4\sqrt{2}$ are the local extreme values of $f\left( {x,y,z} \right),$ subject to the given constraints.

$6 + 4\sqrt{2}$ 与 $6 - 4\sqrt{2}$ 是 $f\left( {x,y,z} \right)$ 在给定约束下的局部极值。

Use the method of Lagrange multipliers to find the minimum value of the function

用拉格朗日乘子法求下列函数的最小值

$$f\left( {x,y,z} \right) = x^{2} + y^{2} + z^{2}$$

$$f\left( {x,y,z} \right) = x^{2} + y^{2} + z^{2}$$

subject to the constraints $2x + y + 2z = 9$ and $5x + 5y + 7z = 29.$

约束条件为 $2x + y + 2z = 9$ 与 $5x + 5y + 7z = 29$。

Section 4.8 Exercises 第 4.8 节习题

For the following exercises, use the method of Lagrange multipliers to find the maximum and minimum values of the function subject to the given constraints.

在以下习题中,用拉格朗日乘子法求函数在给定约束条件下的最大值与最小值。

358\.

358.

$f(x,y) = x^{2}y;x^{2} + 2y^{2} = 6$

$f(x,y) = x^{2}y;x^{2} + 2y^{2} = 6$

359.

359.

$f\left( {x,y,z} \right) = xyz,x^{2} + 2y^{2} + 3z^{2} = 6$

$f\left( {x,y,z} \right) = xyz,x^{2} + 2y^{2} + 3z^{2} = 6$

360\.

360.

$f(x,y) = xy;4x^{2} + 8y^{2} = 16$

$f(x,y) = xy;4x^{2} + 8y^{2} = 16$

361.

361.

$f(x,y) = 4x^{3} + y^{2};2x^{2} + y^{2} = 1$

$f(x,y) = 4x^{3} + y^{2};2x^{2} + y^{2} = 1$

362\.

362.

$f\left( {x,y,z} \right) = x^{2} + y^{2} + z^{2},x^{4} + y^{4} + z^{4} = 1$

$f\left( {x,y,z} \right) = x^{2} + y^{2} + z^{2},x^{4} + y^{4} + z^{4} = 1$

363.

363.

$f\left( {x,y,z} \right) = yz + xy,xy = 1,y^{2} + z^{2} = 1$

$f\left( {x,y,z} \right) = yz + xy,xy = 1,y^{2} + z^{2} = 1$

364\.

364.

$f\left( {x,y} \right) = x^{2} + y^{2},\left( {x - 1} \right)^{2} + 4y^{2} = 4$

$f\left( {x,y} \right) = x^{2} + y^{2},\left( {x - 1} \right)^{2} + 4y^{2} = 4$

365.

365.

$f\left( {x,y} \right) = 4xy,\frac{x^{2}}{9} + \frac{y^{2}}{16} = 1$

$f\left( {x,y} \right) = 4xy,\frac{x^{2}}{9} + \frac{y^{2}}{16} = 1$

366\.

366.

$f\left( {x,y,z} \right) = x + y + z,\frac{1}{x} + \frac{1}{y} + \frac{1}{z} = 1$

$f\left( {x,y,z} \right) = x + y + z,\frac{1}{x} + \frac{1}{y} + \frac{1}{z} = 1$

367.

367.

$f\left( {x,y,z} \right) = x + 3y - z,x^{2} + y^{2} + z^{2} = 4$

$f\left( {x,y,z} \right) = x + 3y - z,x^{2} + y^{2} + z^{2} = 4$

368\.

368.

$f\left( {x,y,z} \right) = x^{2} + y^{2} + z^{2},xyz = 4$

$f\left( {x,y,z} \right) = x^{2} + y^{2} + z^{2},xyz = 4$

369.

369.

Minimize $f\left( {x,y} \right) = x^{2} + y^{2}$ on the hyperbola $xy = 1.$

在双曲线 $xy = 1$ 上求 $f\left( {x,y} \right) = x^{2} + y^{2}$ 的最小值。

370\.

370.

Minimize $f\left( {x,y} \right) = xy$ on the ellipse $b^{2}x^{2} + a^{2}y^{2} = a^{2}b^{2}.$

在椭圆 $b^{2}x^{2} + a^{2}y^{2} = a^{2}b^{2}$ 上求 $f\left( {x,y} \right) = xy$ 的最小值。

371.

371.

Maximize $f\left( {x,y,z} \right) = 2x + 3y + 5z$ on the sphere $x^{2} + y^{2} + z^{2} = 19.$

在球面 $x^{2} + y^{2} + z^{2} = 19$ 上求 $f\left( {x,y,z} \right) = 2x + 3y + 5z$ 的最大值。

372\.

372.

Maximize $\begin{array}{l}

Maximize $\begin{array}{l}

{f\left( {x,y} \right) = x^{2} - y^{2};x > 0,y > 0;} \\

{f\left( {x,y} \right) = x^{2} - y^{2};x > 0,y > 0;} \\

{g\left( {x,y} \right) = y - x^{2} = 0}

{g\left( {x,y} \right) = y - x^{2} = 0}

\end{array}$

\end{array}$

373.

373.

The curve $x^{3} - y^{3} = 1$ is asymptotic to the line $y = x.$ Find the point(s) on the curve $x^{3} - y^{3} = 1$ farthest from the line $y = x.$

曲线 $x^{3} - y^{3} = 1$ 渐近于直线 $y = x$。求该曲线上离直线 $y = x$ 最远的点。

374\.

374.

Maximize $U\left( {x,y} \right) = 8x^{4\text{/}5}y^{1\text{/}5};4x + 2y = 12$

在约束 $4x + 2y = 12$ 下求 $U\left( {x,y} \right) = 8x^{4\text{/}5}y^{1\text{/}5}$ 的最大值。

375.

375.

Minimize $f\left( {x,y} \right) = x^{2} + y^{2},x + 2y - 5 = 0.$

在约束 $x + 2y - 5 = 0$ 下求 $f\left( {x,y} \right) = x^{2} + y^{2}$ 的最小值。

376\.

376.

Maximize $f\left( {x,y} \right) = \sqrt{6 - x^{2} - y^{2}},x + y - 2 = 0.$

在约束 $x + y - 2 = 0$ 下求 $f\left( {x,y} \right) = \sqrt{6 - x^{2} - y^{2}}$ 的最大值。

377.

377.

Minimize $f\left( {x,y,z} \right) = x^{2} + y^{2} + z^{2},x + y + z = 1.$

在约束 $x + y + z = 1$ 下求 $f\left( {x,y,z} \right) = x^{2} + y^{2} + z^{2}$ 的最小值。

378\.

378.

Minimize $f\left( {x,y} \right) = x^{2} - y^{2}$ subject to the constraint $x - 2y + 6 = 0.$

在约束 $x - 2y + 6 = 0$ 下求 $f\left( {x,y} \right) = x^{2} - y^{2}$ 的最小值。

379.

379.

Minimize $f\left( {x,y,z} \right) = x^{2} + y^{2} + z^{2}$ when $x + y + z = 9$ and $x + 2y + 3z = 20.$

当 $x + y + z = 9$ 且 $x + 2y + 3z = 20$ 时,求 $f\left( {x,y,z} \right) = x^{2} + y^{2} + z^{2}$ 的最小值。

For the next group of exercises, use the method of Lagrange multipliers to solve the following applied problems.

在下一组习题中,用拉格朗日乘子法求解下列应用题。

380\.

380.

A pentagon is formed by placing an isosceles triangle on a rectangle, as shown in the diagram. If the perimeter of the pentagon is $10$ in., find the lengths of the sides of the pentagon that will maximize the area of the pentagon.

如示意图所示,将一个等腰三角形置于矩形上构成五边形。若五边形的周长为 $10$ in.,求使五边形面积最大的各边长。

381.

381.

A rectangular box without a top (a topless box) is to be made from $12$ ft2 of cardboard. Find the maximum volume of such a box.

一个无盖(无顶面)长方体盒由 $12$ ft2 纸板做成。求该盒的最大体积。

382\.

382.

Find the minimum and maximum distances between the ellipse $x^{2} + xy + 2y^{2} = 1$ and the origin.

求椭圆 $x^{2} + xy + 2y^{2} = 1$ 与原点之间的最小与最大距离。

383.

383.

Find the point on the surface $x^{2} - 2xy + y^{2} - x + y = 0$ closest to the point $\left( {1,2,-3} \right).$

求曲面 $x^{2} - 2xy + y^{2} - x + y = 0$ 上离点 $\left( {1,2,-3} \right)$ 最近的点。

384\.

384.

Show that, of all the triangles inscribed in a circle of radius $R$ (see diagram), the equilateral triangle has the largest perimeter.

证明:在半径为 $R$ 的圆(见图)内接的所有三角形中,等边三角形周长最大。

385.

385.

Find the minimum distance from point $\left( {0,1} \right)$ to the parabola $x^{2} = 4y.$

求点 $\left( {0,1} \right)$ 到抛物线 $x^{2} = 4y$ 的最小距离。

386\.

386.

Find the minimum distance from the parabola $y = x^{2}$ to point $\left( {0,3} \right).$

求抛物线 $y = x^{2}$ 到点 $\left( {0,3} \right)$ 的最小距离。

387.

387.

Find the minimum distance from the plane $x + y + z = 1$ to point $\left( {2,1,1} \right).$

求平面 $x + y + z = 1$ 到点 $\left( {2,1,1} \right)$ 的最小距离。

388\.

388.

A large container in the shape of a rectangular solid must have a volume of $480$ m3. The bottom of the container costs \$5/m2 to construct whereas the top and sides cost \$3/m2 to construct. Use Lagrange multipliers to find the dimensions of the container of this size that has the minimum cost.

一个长方体形状的大型容器体积须为 $480$ m3。容器底部造价为 \$5/m2,而顶部与侧面为 \$3/m2。用拉格朗日乘子法求该尺寸下造价最低的容器尺寸。

389.

389.

Find the point on the line $y = 2x + 3$ that is closest to point $\left( {4,2} \right).$

求直线 $y = 2x + 3$ 上离点 $\left( {4,2} \right)$ 最近的点。

390\.

390.

Find the point on the plane $4x + 3y + z = 2$ that is closest to the point $\left( {1,-1,1} \right).$

求平面 $4x + 3y + z = 2$ 上离点 $\left( {1,-1,1} \right)$ 最近的点。

391.

391.

Find the maximum value of $f\left( {x,y} \right) = \text{sin}\ x\ \text{sin}\ y,$ where $x\ \text{and}\ y$ denote the acute angles of a right triangle. Draw the contours of the function using a CAS.

求 $f\left( {x,y} \right) = \text{sin}\ x\ \text{sin}\ y$ 的最大值,其中 $x$ 与 $y$ 为直角三角形的锐角。用计算机代数系统画出该函数的等高线。

392\.

392.

A rectangular solid is contained within a tetrahedron with vertices at

一个长方体包含于顶点为

$\left( {1,0,0} \right),\left( {0,1,0} \right),\left( {0,0,1} \right),$ and the origin. The base of the box has dimensions $x,y,$ and the height of the box is $z.$ If the sum of $x,y,\ \text{and}\ z$ is 1.0, find the dimensions that maximizes the volume of the rectangular solid.

$\left( {1,0,0} \right),\left( {0,1,0} \right),\left( {0,0,1} \right)$ 与原点。盒子的底面尺寸为 $x,y$,高为 $z$。若 $x,y$ 与 $z$ 之和为 1.0,求使长方体体积最大的尺寸。

393.

393.

\[T\] By investing *x* units of labor and *y* units of capital, a watch manufacturer can produce $P\left( {x,y} \right) = 50x^{0.4}y^{0.6}$ watches. Find the maximum number of watches that can be produced on a budget of $\text{\$}20,000$ if labor costs \$100/unit and capital costs \$200/unit. Use a CAS to sketch a contour plot of the function.

\[T\] 某手表制造商投入 *x* 单位劳动力与 *y* 单位资本,可生产 $P\left( {x,y} \right) = 50x^{0.4}y^{0.6}$ 只手表。若劳动力成本为 \$100/单位、资本成本为 \$200/单位,在 \$20,000 预算下求可生产的最多手表数。用计算机代数系统画出该函数的等高线图。

Key Terms 关键术语

boundary point — a point $P_{0}$ of $R$ is a boundary point if every $\delta$ disk centered around $P_{0}$ contains points both inside and outside $R$

边界点 —— $R$ 中点 $P_{0}$ 为边界点,若以 $P_{0}$ 为中心的每个 $\delta$ 圆盘都同时含有 $R$ 内部与外部的点

closed set — a set $S$ that contains all its boundary points

闭集 —— 包含其全部边界点的集合 $S$

connected set — an open set $S$ that cannot be represented as the union of two or more disjoint, nonempty open subsets

连通集 —— 一个开集 $S$,且不能表示为两个或多个互不相交的非空开子集的并

constraint — an inequality or equation involving one or more variables that is used in an optimization problem; the constraint enforces a limit on the possible solutions for the problem

约束条件 —— 在优化问题中用到的一个含一个或多个变量的不等式或方程;它限制了解题可能解的范围

contour map — a plot of the various level curves of a given function $f\left( {x,y} \right)$

等高线图 —— 给定函数 $f\left( {x,y} \right)$ 的各条等高线的图示

critical point of a function of two variables — the point $\left( {x_{0},y_{0}} \right)$ is called a critical point of $f\left( {x,y} \right)$ if one of the two following conditions holds:
1. $f_{x}\left( {x_{0},y_{0}} \right) = f_{y}\left( {x_{0},y_{0}} \right) = 0$
2. At least one of $f_{x}\left( {x_{0},y_{0}} \right)$ and $f_{y}\left( {x_{0},y_{0}} \right)$ do not exist

二元函数的临界点 —— 若满足下列两个条件之一,则称点 $\left( {x_{0},y_{0}} \right)$ 为 $f\left( {x,y} \right)$ 的临界点:
1. $f_{x}\left( {x_{0},y_{0}} \right) = f_{y}\left( {x_{0},y_{0}} \right) = 0$
2. $f_{x}\left( {x_{0},y_{0}} \right)$ 与 $f_{y}\left( {x_{0},y_{0}} \right)$ 中至少有一个不存在

differentiable — a function $f\left( {x,y,z} \right)$ is differentiable at $\left( {x_{0},y_{0}} \right)$ if $f\left( {x,y} \right)$ can be expressed in the form $f(x,y) = f(x_{0},y_{0}) + f_{x}(x_{0},y_{0})\left( {x - x_{0}} \right) + f_{y}(x_{0},y_{0})\left( {y - y_{0}} \right) + E\left( {x,y} \right),$
where the error term $E\left( {x,y} \right)$ satisfies $\underset{{({x,y})}\rightarrow{({x_{0},y_{0}})}}{\text{lim}}\frac{E\left( {x,y} \right)}{\sqrt{\left( {x - x_{0}} \right)^{2} + \left( {y - y_{0}} \right)^{2}}} = 0$

可微的 —— 若函数 $f\left( {x,y,z} \right)$ 在 $\left( {x_{0},y_{0}} \right)$ 处可微,则 $f\left( {x,y} \right)$ 可表示为形式 $f(x,y) = f(x_{0},y_{0}) + f_{x}(x_{0},y_{0})\left( {x - x_{0}} \right) + f_{y}(x_{0},y_{0})\left( {y - y_{0}} \right) + E\left( {x,y} \right),$
其中误差项 $E\left( {x,y} \right)$ 满足 $\underset{{({x,y})}\rightarrow{({x_{0},y_{0}})}}{\text{lim}}\frac{E\left( {x,y} \right)}{\sqrt{\left( {x - x_{0}} \right)^{2} + \left( {y - y_{0}} \right)^{2}}} = 0$

directional derivative — the derivative of a function in the direction of a given unit vector

方向导数 —— 函数在给定单位向量方向上的导数

discriminant — the discriminant of the function $f\left( {x,y} \right)$ is given by the formula $D = f_{xx}(x_{0},y_{0})f_{yy}(x_{0},y_{0}) - \left( {f_{xy}(x_{0},y_{0})} \right)^{2}$

判别式 —— 函数 $f\left( {x,y} \right)$ 的判别式由公式 $D = f_{xx}(x_{0},y_{0})f_{yy}(x_{0},y_{0}) - \left( {f_{xy}(x_{0},y_{0})} \right)^{2}$ 给出

function of two variables — a function $z = f\left( {x,y} \right)$ that maps each ordered pair $\left( {x,y} \right)$ in a subset $D$ of $\mathbb{R}^{2}$ to a unique real number $z$

二元函数 —— 一个函数 $z = f\left( {x,y} \right)$,把 $\mathbb{R}^{2}$ 的子集 $D$ 中每个有序对 $\left( {x,y} \right)$ 对应到一个唯一的实数 $z$

generalized chain rule — the chain rule extended to functions of more than one independent variable, in which each independent variable may depend on one or more other variables

广义链式法则 —— 链式法则推广到多独立变量的函数,其中每个独立变量可能依赖于一个或多个其他变量

gradient — the gradient of the function $f\left( {x,y} \right)$ is defined to be $\nabla f\left( {x,y} \right) = \left( {{\partial f}\text{/}{\partial x}} \right)\mathbf{i} + \left( {{\partial f}\text{/}{\partial y}} \right)\mathbf{j},$ which can be generalized to a function of any number of independent variables

梯度 —— 函数 $f\left( {x,y} \right)$ 的梯度定义为 $\nabla f\left( {x,y} \right) = \left( {{\partial f}\text{/}{\partial x}} \right)\mathbf{i} + \left( {{\partial f}\text{/}{\partial y}} \right)\mathbf{j},$ 并可推广到任意多个独立变量的函数

graph of a function of two variables — a set of ordered triples $\left( {x,y,z} \right)$ that satisfies the equation $z = f\left( {x,y} \right)$ plotted in three-dimensional Cartesian space

二元函数的图像 —— 满足方程 $z = f\left( {x,y} \right)$ 的有序三元组 $\left( {x,y,z} \right)$ 的集合,绘制在三维笛卡尔空间中

higher-order partial derivatives — second-order or higher partial derivatives, regardless of whether they are mixed partial derivatives

高阶偏导数 —— 二阶或更高阶的偏导数,无论其是否为混合偏导数

interior point — a point $P_{0}$ of $R$ is a boundary point if there is a $\delta$ disk centered around $P_{0}$ contained completely in $R$

内点 —— 若以 $P_{0}$ 为中心的某个 $\delta$ 圆盘完全包含在 $R$ 中,则 $R$ 中点 $P_{0}$ 为内点

intermediate variable — given a composition of functions (e.g., $f\left( {x(t),y(t)} \right)),$ the intermediate variables are the variables that are independent in the outer function but dependent on other variables as well; in the function $f\left( {x(t),y(t)} \right),$ the variables $x\ \text{and}\ y$ are examples of intermediate variables

中间变量 —— 给定函数的复合(例如 $f\left( {x(t),y(t)} \right)$),中间变量是在外层函数中独立、同时又依赖其他变量的变量;在函数 $f\left( {x(t),y(t)} \right)$ 中,变量 $x\ \text{and}\ y$ 就是中间变量的例子

Lagrange multiplier — the constant (or constants) used in the method of Lagrange multipliers; in the case of one constant, it is represented by the variable $\lambda$

拉格朗日乘子 —— 拉格朗日乘子法中所用的常数(或常数组);当只有一个常数时,用变量 $\lambda$ 表示

level curve of a function of two variables — the set of points satisfying the equation $f\left( {x,y} \right) = c$ for some real number $c$ in the range of $f$

二元函数的等高线 —— 满足方程 $f\left( {x,y} \right) = c$ 的点集,其中 $c$ 为 $f$ 值域中的某个实数

level surface of a function of three variables — the set of points satisfying the equation $f\left( {x,y,z} \right) = c$ for some real number $c$ in the range of $f$

三元函数的等值面 —— 满足方程 $f\left( {x,y,z} \right) = c$ 的点集,其中 $c$ 为 $f$ 值域中的某个实数

linear approximation — given a function $f\left( {x,y} \right)$ and a tangent plane to the function at a point $\left( {x_{0},y_{0}} \right),$ we can approximate $f\left( {x,y} \right)$ for points near $\left( {x_{0},y_{0}} \right)$ using the tangent plane formula

线性逼近 —— 给定函数 $f\left( {x,y} \right)$ 及其在点 $\left( {x_{0},y_{0}} \right)$ 处的切平面,可用切平面公式对 $\left( {x_{0},y_{0}} \right)$ 附近的点近似 $f\left( {x,y} \right)$

method of Lagrange multipliers — a method of solving an optimization problem subject to one or more constraints

拉格朗日乘子法 —— 在受一个或多个约束条件下求解优化问题的方法

mixed partial derivatives — second-order or higher partial derivatives, in which at least two of the differentiations are with respect to different variables

混合偏导数 —— 二阶或更高阶的偏导数,其中至少两次求导是关于不同变量的

objective function — the function that is to be maximized or minimized in an optimization problem

目标函数 —— 在优化问题中需要最大化或最小化的函数

open set — a set $S$ that contains none of its boundary points

开集 —— 不包含任何边界点的集合 $S$

optimization problem — calculation of a maximum or minimum value of a function of several variables, often using Lagrange multipliers

优化问题 —— 计算一个多元函数的最大或最小值,常用拉格朗日乘子法

partial derivative — a derivative of a function of more than one independent variable in which all the variables but one are held constant

偏导数 —— 多独立变量函数对其中一个变量求导,而将其余所有变量视为常数

partial differential equation — an equation that involves an unknown function of more than one independent variable and one or more of its partial derivatives

偏微分方程 —— 含一个未知多独立变量函数及其一个或多个偏导数的方程

region — an open, connected, nonempty subset of $\mathbb{R}^{2}$

区域 —— $\mathbb{R}^{2}$ 的一个开、连通、非空的子集

saddle point — given the function $z = f(x,y),$ the point $\left( {x_{0},y_{0},f\left( {x_{0},y_{0}} \right)} \right)$ is a saddle point if both $f_{x}\left( {x_{0},y_{0}} \right) = 0$ and $f_{y}\left( {x_{0},y_{0}} \right) = 0,$ but $f$ does not have a local extremum at $\left( {x_{0},y_{0}} \right)$

鞍点 —— 给定函数 $z = f(x,y)$,若点 $\left( {x_{0},y_{0},f\left( {x_{0},y_{0}} \right)} \right)$ 满足 $f_{x}\left( {x_{0},y_{0}} \right) = 0$ 且 $f_{y}\left( {x_{0},y_{0}} \right) = 0$,但 $f$ 在 $\left( {x_{0},y_{0}} \right)$ 处没有局部极值,则该点为鞍点

surface — the graph of a function of two variables, $z = f\left( {x,y} \right)$

曲面 —— 二元函数 $z = f\left( {x,y} \right)$ 的图像

tangent plane — given a function $f\left( {x,y} \right)$ that is differentiable at a point $\left( {x_{0},y_{0}} \right),$ the equation of the tangent plane to the surface $z = f\left( {x,y} \right)$ is given by $z = f\left( {x_{0},y_{0}} \right) + f_{x}\left( {x_{0},y_{0}} \right)\left( {x - x_{0}} \right) + f_{y}\left( {x_{0},y_{0}} \right)\left( {y - y_{0}} \right)$

切平面 —— 若函数 $f\left( {x,y} \right)$ 在点 $\left( {x_{0},y_{0}} \right)$ 处可微,则曲面 $z = f\left( {x,y} \right)$ 在该点的切平面方程为 $z = f\left( {x_{0},y_{0}} \right) + f_{x}\left( {x_{0},y_{0}} \right)\left( {x - x_{0}} \right) + f_{y}\left( {x_{0},y_{0}} \right)\left( {y - y_{0}} \right)$

total differential — the total differential of the function $f\left( {x,y} \right)$ at $\left( {x_{0},y_{0}} \right)$ is given by the formula $dz = f_{x}\left( {x_{0},y_{0}} \right)dx + f_{y}\left( {x_{0},y_{0}} \right)dy$

全微分 —— 函数 $f\left( {x,y} \right)$ 在 $\left( {x_{0},y_{0}} \right)$ 处的全微分由公式 $dz = f_{x}\left( {x_{0},y_{0}} \right)dx + f_{y}\left( {x_{0},y_{0}} \right)dy$ 给出

tree diagram — illustrates and derives formulas for the generalized chain rule, in which each independent variable is accounted for

树状图 —— 用于说明并推导广义链式法则的公式,其中每个独立变量都被计入

vertical trace — the set of ordered triples $\left( {c,y,z} \right)$ that solves the equation $f\left( {c,y} \right) = z$ for a given constant $x = c$ or the set of ordered triples $\left( {x,d,z} \right)$ that solves the equation $f\left( {x,d} \right) = z$ for a given constant $y = d$

垂直截痕 —— 对给定常数 $x = c$,满足方程 $f\left( {c,y} \right) = z$ 的有序三元组 $\left( {c,y,z} \right)$ 的集合;或对给定常数 $y = d$,满足方程 $f\left( {x,d} \right) = z$ 的有序三元组 $\left( {x,d,z} \right)$ 的集合

$\delta$ ball — all points in $\mathbb{R}^{3}$ lying at a distance of less than $\delta$ from $\left( {x_{0},y_{0},z_{0}} \right)$

$\delta$ 球 —— $\mathbb{R}^{3}$ 中到 $\left( {x_{0},y_{0},z_{0}} \right)$ 的距离小于 $\delta$ 的所有点

$\delta$ disk — an open disk of radius $\delta$ centered at point $\left( {a,b} \right)$

$\delta$ 圆盘 —— 以 $\left( {a,b} \right)$ 为中心、半径为 $\delta$ 的开圆盘

Key Equations 关键公式

Vertical trace$f\left( {a,y} \right) = z$ for $x = a$ or $f\left( {x,b} \right) = z$ for $y = b$
Level surface of a function of three variables$f(x,y,z) = c$
Partial derivative of $f$ with respect to $x$$\frac{\partial f}{\partial x} = \underset{h\rightarrow 0}{\text{lim}}\frac{f\left( {x + h,y} \right) - f\left( {x,y} \right)}{h}$
Partial derivative of $f$ with respect to $y$$\frac{\partial f}{\partial y} = \underset{k\rightarrow 0}{\text{lim}}\frac{f\left( {x,y + k} \right) - f\left( {x,y} \right)}{k}$
垂直截痕$f\left( {a,y} \right) = z$ for $x = a$ or $f\left( {x,b} \right) = z$ for $y = b$
三元函数的等值面$f(x,y,z) = c$
函数 $f$ 对 $x$ 的偏导数$\frac{\partial f}{\partial x} = \underset{h\rightarrow 0}{\text{lim}}\frac{f\left( {x + h,y} \right) - f\left( {x,y} \right)}{h}$
函数 $f$ 对 $y$ 的偏导数$\frac{\partial f}{\partial y} = \underset{k\rightarrow 0}{\text{lim}}\frac{f\left( {x,y + k} \right) - f\left( {x,y} \right)}{k}$
Tangent planez = f(x0,y0) + fx(x0,y0)(xx0) + fy(x0,y0)(yy0)
Linear approximationL(x,y) = f(x0,y0) + fx(x0,y0)(xx0) + fy(x0,y0)(yy0)
Total differentialdz = fx(x0,y0)dx + fy(x0,y0)dy.
Differentiability (two variables)f(x,y) = f(x0,y0) + fx(x0,y0)(xx0) + fy(x0,y0)(yy0) + E(x,y),
where the error term E satisfies
$\underset{{({x,y})}\rightarrow{({x_{0},y_{0}})}}{\text{lim}}\frac{E\left( {x,y} \right)}{\sqrt{\left( {x - x_{0}} \right)^{2} + \left( {y - y_{0}} \right)^{2}}} = 0.$
Differentiability (three variables)$\begin{array}{cl} {f\left( {x,y} \right)} & {= f\left( {x_{0},y_{0},z_{0}} \right) + f_{x}\left( {x_{0},y_{0},z_{0}} \right)\left( {x - x_{0}} \right) + f_{y}\left( {x_{0},y_{0},z_{0}} \right)\left( {y - y_{0}} \right)} \\ & {\mspace{9mu} + f_{z}\left( {x_{0},y_{0},z_{0}} \right)\left( {z - z_{0}} \right) + E\left( {x,y,z} \right),} \end{array}$
where the error term E satisfies
$\underset{{({x,y,z})}\rightarrow{({x_{0},y_{0},z_{0}})}}{\text{lim}}\frac{E\left( {x,y,z} \right)}{\sqrt{\left( {x - x_{0}} \right)^{2} + \left( {y - y_{0}} \right)^{2} + \left( {z - z_{0}} \right)^{2}}} = 0.$
切平面z = f(x0,y0) + fx(x0,y0)(xx0) + fy(x0,y0)(yy0)
线性逼近L(x,y) = f(x0,y0) + fx(x0,y0)(xx0) + fy(x0,y0)(yy0)
全微分dz = fx(x0,y0)dx + fy(x0,y0)dy.
可微性(二元)f(x,y) = f(x0,y0) + fx(x0,y0)(xx0) + fy(x0,y0)(yy0) + E(x,y),
其中误差项 E 满足
$\underset{{({x,y})}\rightarrow{({x_{0},y_{0}})}}{\text{lim}}\frac{E\left( {x,y} \right)}{\sqrt{\left( {x - x_{0}} \right)^{2} + \left( {y - y_{0}} \right)^{2}}} = 0.$
可微性(三元)$\begin{array}{cl} {f\left( {x,y} \right)} & {= f\left( {x_{0},y_{0},z_{0}} \right) + f_{x}\left( {x_{0},y_{0},z_{0}} \right)\left( {x - x_{0}} \right) + f_{y}\left( {x_{0},y_{0},z_{0}} \right)\left( {y - y_{0}} \right)} \\ & {\mspace{9mu} + f_{z}\left( {x_{0},y_{0},z_{0}} \right)\left( {z - z_{0}} \right) + E\left( {x,y,z} \right),} \end{array}$
其中误差项 E 满足
$\underset{{({x,y,z})}\rightarrow{({x_{0},y_{0},z_{0}})}}{\text{lim}}\frac{E\left( {x,y,z} \right)}{\sqrt{\left( {x - x_{0}} \right)^{2} + \left( {y - y_{0}} \right)^{2} + \left( {z - z_{0}} \right)^{2}}} = 0.$
Chain rule, one independent variable$\frac{dz}{dt} = \frac{\partial z}{\partial x} \cdot \frac{dx}{dt} + \frac{\partial z}{\partial y} \cdot \frac{dy}{dt}$
Chain rule, two independent variables$\frac{dz}{du} = \frac{\partial z}{\partial x}\frac{\partial x}{\partial u} + \frac{\partial z}{\partial y}\frac{\partial y}{\partial u}$
$\frac{dz}{dv} = \frac{\partial z}{\partial x}\frac{\partial x}{\partial v} + \frac{\partial z}{\partial y}\frac{\partial y}{\partial v}$
Generalized chain rule$\frac{\partial w}{\partial t_{j}} = \frac{\partial w}{\partial x_{1}}\ \frac{\partial x_{1}}{\partial t_{j}} + \frac{\partial w}{\partial x_{2}}\ \frac{\partial x_{1}}{\partial t_{j}} + \text{⋯} + \frac{\partial w}{\partial x_{m}}\ \frac{\partial x_{m}}{\partial t_{j}}$
链式法则(一个独立变量)$\frac{dz}{dt} = \frac{\partial z}{\partial x} \cdot \frac{dx}{dt} + \frac{\partial z}{\partial y} \cdot \frac{dy}{dt}$
链式法则(两个独立变量)$\frac{dz}{du} = \frac{\partial z}{\partial x}\frac{\partial x}{\partial u} + \frac{\partial z}{\partial y}\frac{\partial y}{\partial u}$
$\frac{dz}{dv} = \frac{\partial z}{\partial x}\frac{\partial x}{\partial v} + \frac{\partial z}{\partial y}\frac{\partial y}{\partial v}$
广义链式法则$\frac{\partial w}{\partial t_{j}} = \frac{\partial w}{\partial x_{1}}\ \frac{\partial x_{1}}{\partial t_{j}} + \frac{\partial w}{\partial x_{2}}\ \frac{\partial x_{1}}{\partial t_{j}} + \text{⋯} + \frac{\partial w}{\partial x_{m}}\ \frac{\partial x_{m}}{\partial t_{j}}$
directional derivative (two dimensions)$D_{\mathbf{u}}f\left( {a,b} \right) = \underset{h\rightarrow 0}{\text{lim}}\frac{f\left( {a + h\ \text{cos}\ \theta,b + h\ \text{sin}\ \theta} \right) - f\left( {a,b} \right)}{h}$
or
Duf(x,y) = fx(x,y)cos θ + fy(x,y)sin θ
gradient (two dimensions)f(x,y) = fx(x,y)i + fy(x,y)j
gradient (three dimensions)f(x,y,z) = fx(x,y,z)i + fy(x,y,z)j + fz(x,y,z)k
directional derivative (three dimensions)$\begin{array}{cl} {D_{\mathbf{u}}f\left( {x,y,z} \right)} & {= \nabla f\left( {x,y,z} \right) \cdot \mathbf{u}} \\ & {= f_{x}\left( {x,y,z} \right)\text{cos}\ \alpha + f_{y}\left( {x,y,z} \right)\text{cos}\ \beta + f_{x}\left( {x,y,z} \right)\text{cos}\ \gamma} \end{array}$
方向导数(二维)$D_{\mathbf{u}}f\left( {a,b} \right) = \underset{h\rightarrow 0}{\text{lim}}\frac{f\left( {a + h\ \text{cos}\ \theta,b + h\ \text{sin}\ \theta} \right) - f\left( {a,b} \right)}{h}$

Duf(x,y) = fx(x,y)cos θ + fy(x,y)sin θ
梯度(二维)f(x,y) = fx(x,y)i + fy(x,y)j
梯度(三维)f(x,y,z) = fx(x,y,z)i + fy(x,y,z)j + fz(x,y,z)k
方向导数(三维)$\begin{array}{cl} {D_{\mathbf{u}}f\left( {x,y,z} \right)} & {= \nabla f\left( {x,y,z} \right) \cdot \mathbf{u}} \\ & {= f_{x}\left( {x,y,z} \right)\text{cos}\ \alpha + f_{y}\left( {x,y,z} \right)\text{cos}\ \beta + f_{x}\left( {x,y,z} \right)\text{cos}\ \gamma} \end{array}$
Discriminant$D = f_{xx}\left( {x_{0},y_{0}} \right)f_{yy}\left( {x_{0},y_{0}} \right) - \left( {f_{xy}\left( {x_{0},y_{0}} \right)} \right)^{2}$
Method of Lagrange multipliers, one constraint$\begin{array}{rll} {\nabla f\left( {x_{0},y_{0}} \right)} & = & {\lambda\nabla g\left( {x_{0},y_{0}} \right)} \\ {g\left( {x_{0},y_{0}} \right)} & = & 0 \end{array}$
Method of Lagrange multipliers, two constraints$\begin{array}{rll} {\nabla f\left( {x_{0},y_{0},z_{0}} \right)} & = & {\lambda_{1}\nabla g\left( {x_{0},y_{0},z_{0}} \right) + \lambda_{2}\nabla h\left( {x_{0},y_{0},z_{0}} \right)} \\ {g\left( {x_{0},y_{0},z_{0}} \right)} & = & 0 \\ {h\left( {x_{0},y_{0},z_{0}} \right)} & = & 0 \end{array}$
判别式$D = f_{xx}\left( {x_{0},y_{0}} \right)f_{yy}\left( {x_{0},y_{0}} \right) - \left( {f_{xy}\left( {x_{0},y_{0}} \right)} \right)^{2}$
拉格朗日乘子法(一个约束)$\begin{array}{rll} {\nabla f\left( {x_{0},y_{0}} \right)} & = & {\lambda\nabla g\left( {x_{0},y_{0}} \right)} \\ {g\left( {x_{0},y_{0}} \right)} & = & 0 \end{array}$
拉格朗日乘子法(两个约束)$\begin{array}{rll} {\nabla f\left( {x_{0},y_{0},z_{0}} \right)} & = & {\lambda_{1}\nabla g\left( {x_{0},y_{0},z_{0}} \right) + \lambda_{2}\nabla h\left( {x_{0},y_{0},z_{0}} \right)} \\ {g\left( {x_{0},y_{0},z_{0}} \right)} & = & 0 \\ {h\left( {x_{0},y_{0},z_{0}} \right)} & = & 0 \end{array}$

Key Concepts 关键概念

4.1 Functions of Several Variables 4.1 多元函数

  • The graph of a function of two variables is a surface in $\mathbb{R}^{3}$ and can be studied using level curves and vertical traces.
  • A set of level curves is called a contour map.
  • 二元函数的图像是 $\mathbb{R}^{3}$ 中的一个曲面,可用等高线与竖直截痕来研究。
  • 一组等高线称为等高线图(等值线图)。

4.2 Limits and Continuity 4.2 极限与连续性

  • To study limits and continuity for functions of two variables, we use a $\delta$ disk centered around a given point.
  • A function of several variables has a limit if for any point in a $\delta$ ball centered at a point $P,$ the value of the function at that point is arbitrarily close to a fixed value (the limit value).
  • The limit laws established for a function of one variable have natural extensions to functions of more than one variable.
  • A function of two variables is continuous at a point if the limit exists at that point, the function exists at that point, and the limit and function are equal at that point.
  • 为研究二元函数的极限与连续性,我们使用以给定点为中心的 $\delta$ 圆盘。
  • 若对于以某点 $P$ 为中心的 $\delta$ 球内任意一点,函数在该点的值都任意接近某个固定值(极限值),则该多元函数存在极限。
  • 一元函数所建立的极限法则可自然推广到多元函数。
  • 若在某点处极限存在、函数有定义,且极限值与函数值相等,则该二元函数在该点连续。

4.3 Partial Derivatives 4.3 偏导数

  • A partial derivative is a derivative involving a function of more than one independent variable.
  • To calculate a partial derivative with respect to a given variable, treat all the other variables as constants and use the usual differentiation rules.
  • Higher-order partial derivatives can be calculated in the same way as higher-order derivatives.
  • 偏导数是涉及多自变量函数的一种导数。
  • 计算对某一给定变量的偏导数时,将其余变量视为常数,并使用通常的求导法则。
  • 高阶偏导数可按与高阶导數相同的方式计算。

4.4 Tangent Planes and Linear Approximations 4.4 切平面与线性逼近

  • The analog of a tangent line to a curve is a tangent plane to a surface for functions of two variables.
  • Tangent planes can be used to approximate values of functions near known values.
  • A function is differentiable at a point if it is ”smooth” at that point (i.e., no corners or discontinuities exist at that point).
  • The total differential can be used to approximate the change in a function $z = f\left( {x_{0},y_{0}} \right)$ at the point $\left( {x_{0},y_{0}} \right)$ for given values of $\text{Δ}x$ and $\text{Δ}y.$
  • 对二元函数而言,曲线切线的类比物是曲面的切平面。
  • 切平面可用于逼近已知函数值附近的函数值。
  • 若函数在某点“光滑”(即该点没有尖角或不连续),则该函数在该点可微。
  • 全微分可用于在给定 $\text{Δ}x$ 与 $\text{Δ}y$ 之值时,逼近函数 $z = f\left( {x_{0},y_{0}} \right)$ 在点 $\left( {x_{0},y_{0}} \right)$ 处的变化量。

4.5 The Chain Rule 4.5 链式法则

  • The chain rule for functions of more than one variable involves the partial derivatives with respect to all the independent variables.
  • Tree diagrams are useful for deriving formulas for the chain rule for functions of more than one variable, where each independent variable also depends on other variables.
  • 多元函数的链式法则涉及对所有自变量的偏导数。
  • 树状图有助于推导多元函数链式法则的公式,其中每个自变量又依赖于其他变量。

4.6 Directional Derivatives and the Gradient 4.6 方向导数与梯度

  • A directional derivative represents a rate of change of a function in any given direction.
  • The gradient can be used in a formula to calculate the directional derivative.
  • The gradient indicates the direction of greatest change of a function of more than one variable.
  • 方向导数表示函数在任意给定方向上的变化率。
  • 梯度可用于在公式中计算方向导数。
  • 梯度指向多元函数变化最大的方向。

4.7 Maxima/Minima Problems 4.7 最大值/最小值问题

  • A critical point of the function $f\left( {x,y} \right)$ is any point $\left( {x_{0},y_{0}} \right)$ where either $f_{x}\left( {x_{0},y_{0}} \right) = f_{y}\left( {x_{0},y_{0}} \right) = 0,$ or at least one of $f_{x}\left( {x_{0},y_{0}} \right)$ and $f_{y}\left( {x_{0},y_{0}} \right)$ do not exist.
  • A saddle point is a point $\left( {x_{0},y_{0}} \right)$ where $f_{x}\left( {x_{0},y_{0}} \right) = f_{y}\left( {x_{0},y_{0}} \right) = 0,$ but $\left( {x_{0},y_{0}} \right)$ is neither a maximum nor a minimum at that point.
  • To find extrema of functions of two variables, first find the critical points, then calculate the discriminant and apply the second derivative test.
  • 函数 $f\left( {x,y} \right)$ 的临界点,是指任意满足 $f_{x}\left( {x_{0},y_{0}} \right) = f_{y}\left( {x_{0},y_{0}} \right) = 0$,或 $f_{x}\left( {x_{0},y_{0}} \right)$ 与 $f_{y}\left( {x_{0},y_{0}} \right)$ 中至少有一个不存在的点 $\left( {x_{0},y_{0}} \right)$。
  • 鞍点是指满足 $f_{x}\left( {x_{0},y_{0}} \right) = f_{y}\left( {x_{0},y_{0}} \right) = 0$,但 $\left( {x_{0},y_{0}} \right)$ 在该点既非极大值也非极小值的点。
  • 求二元函数极值时,先找出临界点,再计算判别式并应用二阶导数判别法。

4.8 Lagrange Multipliers 4.8 拉格朗日乘子

  • An objective function combined with one or more constraints is an example of an optimization problem.
  • To solve optimization problems, we apply the method of Lagrange multipliers using a four-step problem-solving strategy.
  • 目标函数与一个或多个约束条件相结合,是最优化问题的一个例子。
  • 求解最优化问题时,我们采用拉格朗日乘子法(method of Lagrange multipliers),使用四步解题策略。

Review Exercises 复习题

For the following exercises, determine whether the statement is *true or false*. Justify your answer with a proof or a counterexample.

判断下列各陈述是*真*还是*假*。用证明或反例说明你的理由。

394\. The domain of $f\left( {x,y} \right) = x^{3}\text{sin}^{-1}(y)$ is $x =$ all real numbers, and $\text{−}\pi \leq y \leq \pi.$

394. 函数 $f\left( {x,y} \right) = x^{3}\text{sin}^{-1}(y)$ 的定义域为 $x =$ 全体实数,且 $\text{−}\pi \leq y \leq \pi$。

395. If the function $f\left( {x,y} \right)$ and all its second derivatives are continuous everywhere, then $f_{xy} = f_{yx}.$

395. 若函数 $f\left( {x,y} \right)$ 及其所有二阶偏导数处处连续,则 $f_{xy} = f_{yx}$。

396\. The linear approximation to the function of $f\left( {x,y} \right) = 5x^{2} + x\ \text{tan}(y)$ at $\left( {2,\pi} \right)$ is given by $L\left( {x,y} \right) = 22 + 21\left( {x - 2} \right) + \left( {y - \pi} \right).$

396. 函数 $f\left( {x,y} \right) = 5x^{2} + x\ \text{tan}(y)$ 在点 $\left( {2,\pi} \right)$ 处的线性逼近由 $L\left( {x,y} \right) = 22 + 21\left( {x - 2} \right) + \left( {y - \pi} \right)$ 给出。

397. $\left( {\frac{3}{4},\frac{9}{16}} \right)$ is a critical point of $g\left( {x,y} \right) = 4x^{3} - 2x^{2}y + y^{2} - 2.$

397. $\left( {\frac{3}{4},\frac{9}{16}} \right)$ 是函数 $g\left( {x,y} \right) = 4x^{3} - 2x^{2}y + y^{2} - 2$ 的临界点。

For the following exercises, sketch the function in one graph and, in a second, sketch several level curves.

在一张图中画出函数图像,在另一张图中画出若干等高线。

398\. $f\left( {x,y} \right) = e^{\text{−}{({x^{2} + 2y^{2}})}}.$

398. $f\left( {x,y} \right) = e^{\text{−}{({x^{2} + 2y^{2}})}}$。

399. $f\left( {x,y} \right) = x + 4y^{2}.$

399. $f\left( {x,y} \right) = x + 4y^{2}$。

For the following exercises, evaluate the following limits, if they exist. If they do not exist, prove it.

求下列极限(若存在)。若不存在,请证明。

400\. $\underset{{({x,y})}\rightarrow{({1,1})}}{\text{lim}}\frac{4xy}{x - 2y^{2}}$

400. $\underset{{({x,y})}\rightarrow{({1,1})}}{\text{lim}}\frac{4xy}{x - 2y^{2}}$

401. $\underset{{({x,y})}\rightarrow{({0,0})}}{\text{lim}}\frac{4xy}{x - 2y^{2}}$

401. $\underset{{({x,y})}\rightarrow{({0,0})}}{\text{lim}}\frac{4xy}{x - 2y^{2}}$

For the following exercises, find the largest region of continuity for the function.

求函数的最大连续区域。

402\. $f\left( {x,y} \right) = x^{3}\text{sin}^{-1}(y)$

402. $f\left( {x,y} \right) = x^{3}\text{sin}^{-1}(y)$

403. $g\left( {x,y} \right) = \text{ln}\left( {4 - x^{2} - y^{2}} \right)$

403. $g\left( {x,y} \right) = \text{ln}\left( {4 - x^{2} - y^{2}} \right)$

For the following exercises, find all first derivatives, full or partial, as appropriate.

视情况求所有一阶偏导数(或全导数)。

404\. $f\left( {x,y} \right) = \sqrt{x^{2} - y^{2}}$

404. $f\left( {x,y} \right) = \sqrt{x^{2} - y^{2}}$

405. $u\left( {x,y} \right) = x^{4} - 3xy + 1,x = 2t,y = t^{3}$

405. $u\left( {x,y} \right) = x^{4} - 3xy + 1$,$x = 2t$,$y = t^{3}$

For the following exercises, find all second partial derivatives.

求所有二阶偏导数。

406\. $g\left( {t,x} \right) = 3t^{2} - \text{sin}\left( {x + t} \right)$

406. $g\left( {t,x} \right) = 3t^{2} - \text{sin}\left( {x + t} \right)$

407. $h\left( {x,y,z} \right) = \frac{x^{3}e^{2y}}{z}$

407. $h\left( {x,y,z} \right) = \frac{x^{3}e^{2y}}{z}$

For the following exercises, find an equation of the tangent plane to the specified surface at the given point.

求指定曲面在给定点处的切平面方程。

408\. $z = x^{3} - 2y^{2} + y - 1$ at point $\left( {1,1,-1} \right)$

408. 曲面 $z = x^{3} - 2y^{2} + y - 1$ 在点 $\left( {1,1,-1} \right)$ 处

409. $z = e^{x} + \frac{2}{y}$ at point $\left( {0,1,3} \right)$

409. 曲面 $z = e^{x} + \frac{2}{y}$ 在点 $\left( {0,1,3} \right)$ 处

410\. Approximate $f\left( {x,y} \right) = e^{x^{2}} + \sqrt{y}$ at $\left( {0.1,9.1} \right).$ Write down your linear approximation function $L\left( {x,y} \right).$ How accurate is the approximation to the exact answer, rounded to four digits?

410. 在点 $\left( {0.1,9.1} \right)$ 处逼近函数 $f\left( {x,y} \right) = e^{x^{2}} + \sqrt{y}$。写出线性逼近函数 $L\left( {x,y} \right)$。该逼近相对于精确到四位小数的精确答案,误差有多大?

411. Find the differential $dz$ of $h\left( {x,y} \right) = 4x^{2} + 2xy - 3y$ and approximate $\text{Δ}z$ at the point $\left( {1,-2} \right).$ Let $\text{Δ}x = 0.1$ and $\text{Δ}y = 0.01.$

411. 求函数 $h\left( {x,y} \right) = 4x^{2} + 2xy - 3y$ 的微分 $dz$,并在点 $\left( {1,-2} \right)$ 处逼近 $\text{Δ}z$。令 $\text{Δ}x = 0.1$,$\text{Δ}y = 0.01$。

412\. Find the directional derivative of $f\left( {x,y} \right) = x^{2} + 6xy - y^{2}$ in the direction $\text{v} = \mathbf{i} + 4\mathbf{j}.$

412. 求函数 $f\left( {x,y} \right) = x^{2} + 6xy - y^{2}$ 在方向 $\text{v} = \mathbf{i} + 4\mathbf{j}$ 上的方向导数。

413. Find the maximal directional derivative magnitude and direction for the function $f\left( {x,y} \right) = x^{3} + 2xy - \text{cos}\left( {\pi y} \right)$ at point $\left( {3,0} \right).$

413. 求函数 $f\left( {x,y} \right) = x^{3} + 2xy - \text{cos}\left( {\pi y} \right)$ 在点 $\left( {3,0} \right)$ 处方向导数的最大模长及其方向。

For the following exercises, find the gradient.

求梯度。

414\. $c\left( {x,t} \right) = e\left( {t - x} \right)^{2} + 3\ \text{cos}(t)$

414. $c\left( {x,t} \right) = e\left( {t - x} \right)^{2} + 3\ \text{cos}(t)$

415. $f\left( {x,y} \right) = \frac{\sqrt{x} + y^{2}}{xy}$

415. $f\left( {x,y} \right) = \frac{\sqrt{x} + y^{2}}{xy}$

For the following exercises, find and classify the critical points.

求临界点并分类。

416\. $z = x^{3} - xy + y^{2} - 1$

416. $z = x^{3} - xy + y^{2} - 1$

For the following exercises, use Lagrange multipliers to find the maximum and minimum values for the functions with the given constraints.

使用拉格朗日乘子法,在给定约束下求各函数的最大值与最小值。

417. $f\left( {x,y} \right) = x^{2}y,x^{2} + y^{2} = 4$

417. $f\left( {x,y} \right) = x^{2}y$,$x^{2} + y^{2} = 4$

418\. $f\left( {x,y} \right) = x^{2} - y^{2},x + 6y = 4$

418. $f\left( {x,y} \right) = x^{2} - y^{2}$,$x + 6y = 4$

419. A machinist is constructing a right circular cone out of a block of aluminum. The machine gives an error of $5\text{\%}$ in height and $2\text{\%}$ in radius. Find the maximum error in the volume of the cone if the machinist creates a cone of height $6$ cm and radius $2$ cm.

419. 一名机械师用铝块加工一个直圆锥。机器在高度上产生 $5\text{\%}$ 的误差,在半径上产生 $2\text{\%}$ 的误差。若该机械师加工出的圆锥高为 $6$ cm、半径为 $2$ cm,求圆锥体积的最大误差。

420\. A trash compactor is in the shape of a cuboid. Assume the trash compactor is filled with incompressible liquid. The length and width are decreasing at rates of $2$ ft/sec and $3$ ft/sec, respectively. Find the rate at which the liquid level is rising when the length is $14$ ft, the width is $10$ ft, and the height is $4$ ft.

420. 一台垃圾压缩机呈长方体形状。假设压缩机内充满不可压缩液体。其长度与宽度分别以 $2$ ft/sec 与 $3$ ft/sec 的速率减小。当长度为 $14$ ft、宽度为 $10$ ft、高度为 $4$ ft 时,求液面上升的速率。