개념 해석 · Concepts

NOTE 임의의 방향에서의 변화율 Rates of Change in Any Direction절 도입 · p.1032
한국어

캘리포니아·네바다 지역의 기상도는 기온 함수 $T(x,y)$의 등고선 지도이며, 그 등위선인 등온선은 기온이 같은 지점들을 이어 놓은 곡선이다.

Reno와 같은 도시에서 편도함수 $T_x$는 정동쪽으로 단위거리만큼 이동할 때의 기온 변화율을, $T_y$는 정북쪽으로 이동할 때의 변화율을 나타낸다. 그러나 이 두 값만으로는 Las Vegas 쪽 남동 방향이나 그 밖의 임의의 방향으로 이동할 때 기온이 얼마나 빨리 변하는지는 알 수 없다.

이 절에서는 이변수 이상 함수의 임의의 방향에서의 변화율을 기록하는 새로운 도함수인 방향도함수와, 이 모든 변화율을 한꺼번에 담아내는 벡터인 기울기 벡터를 도입한다.

English

A weather map of California and Nevada is a contour map of a temperature function $T(x,y)$: its level curves, the isothermals, join the places that share a temperature.

At a city such as Reno the partial derivative $T_x$ is the rate of change of temperature per unit distance travelled due east, and $T_y$ is the rate travelled due north. Neither number answers the question of how fast the temperature changes on the way southeast toward Las Vegas, or along any other heading.

This section introduces a derivative — the directional derivative — that measures how fast a function of two or more variables changes along an arbitrarily chosen heading, together with the vector that packages all of these rates at once, the gradient.

NOTE 방향도함수의 기하적 유도 Geometric Setup for the Directional DerivativeEq. (1) · p.1032–1033
한국어

$z=f(x,y)$의 편도함수가 다음 극한

$$\begin{aligned}f_x(x_0,y_0)&=\lim_{h\to 0}\frac{f(x_0+h,\,y_0)-f(x_0,y_0)}{h},\\[2pt] f_y(x_0,y_0)&=\lim_{h\to 0}\frac{f(x_0,\,y_0+h)-f(x_0,y_0)}{h},\end{aligned}\tag{1}$$

으로 주어졌음을 상기하자. 이는 단위벡터 $\mathbf i,\mathbf j$ 방향으로의 $z$의 변화율이다. 이제 임의의 단위벡터 $\mathbf u=\langle a,b\rangle$를 고정하고, 그 방향으로 $(x_0,y_0)$에서의 $z$의 변화율을 구해 보자.

곡면 $S$를 $z=f(x,y)$라 하고 $z_0=f(x_0,y_0)$로 두면 점 $P(x_0,y_0,z_0)$는 $S$ 위에 있다. $P$를 지나 $\mathbf u$ 방향인 수직평면이 $S$와 만나 곡선 $C$를 이루며, $C$의 $P$에서의 접선 $T$의 기울기가 바로 구하려는 변화율이다.

$C$ 위의 다른 점을 $Q(x,y,z)$라 하고, $P,Q$를 $xy$평면에 정사영한 점을 각각 $P',Q'$이라 하자. $\overrightarrow{P'Q'}$은 $\mathbf u$에 평행하므로 어떤 스칼라 $h$에 대해 $\overrightarrow{P'Q'}=h\mathbf u=\langle ha,\,hb\rangle$이고, 따라서 $x-x_0=ha$, $y-y_0=hb$이며

$$\frac{\Delta z}{h}=\frac{z-z_0}{h}=\frac{f(x_0+ha,\;y_0+hb)-f(x_0,y_0)}{h}.$$

$h\to 0$일 때 이 몫의 극한이 $\mathbf u$ 방향으로 거리에 대한 $z$의 변화율이다.

z x y S P(x₀, y₀, z₀) Q(x, y, z) P′(x₀, y₀, 0) Q′(x, y, 0) h u C T
English

Recall that for $z=f(x,y)$ the partial derivatives are the limits

$$\begin{aligned}f_x(x_0,y_0)&=\lim_{h\to 0}\frac{f(x_0+h,\,y_0)-f(x_0,y_0)}{h},\\[2pt] f_y(x_0,y_0)&=\lim_{h\to 0}\frac{f(x_0,\,y_0+h)-f(x_0,y_0)}{h},\end{aligned}\tag{1}$$

which give the rates of change of $z$ in the directions of the unit vectors $\mathbf i$ and $\mathbf j$. Now fix an arbitrary unit vector $\mathbf u=\langle a,b\rangle$ and ask for the rate of change of $z$ at $(x_0,y_0)$ in that direction.

Let $S$ be the surface $z=f(x,y)$ and put $z_0=f(x_0,y_0)$, so that $P(x_0,y_0,z_0)$ lies on $S$. The vertical plane through $P$ in the direction of $\mathbf u$ cuts $S$ in a curve $C$, and the slope at $P$ of the tangent line $T$ to $C$ is exactly the rate of change sought.

Let $Q(x,y,z)$ be another point of $C$, and let $P'$ and $Q'$ be the projections of $P$ and $Q$ onto the $xy$-plane. Since $\overrightarrow{P'Q'}$ is parallel to $\mathbf u$, there is a scalar $h$ with $\overrightarrow{P'Q'}=h\mathbf u=\langle ha,\,hb\rangle$, so $x-x_0=ha$ and $y-y_0=hb$, and therefore

$$\frac{\Delta z}{h}=\frac{z-z_0}{h}=\frac{f(x_0+ha,\;y_0+hb)-f(x_0,y_0)}{h}.$$

The limit of this quotient as $h\to 0$ is the rate of change of $z$ with respect to distance in the direction of $\mathbf u$.

z x y S P(x₀, y₀, z₀) Q(x, y, z) P′(x₀, y₀, 0) Q′(x, y, 0) h u C T
DEF 3 방향도함수 (이변수) Directional DerivativeDefinition 2 · p.1033
한국어

정의 2. 단위벡터 $\mathbf u=\langle a,b\rangle$ 방향으로 $(x_0,y_0)$에서의 $f$의 방향도함수

$$D_{\mathbf u}f(x_0,y_0)=\lim_{h\to 0}\frac{f(x_0+ha,\;y_0+hb)-f(x_0,y_0)}{h},\tag{2}$$

이 극한이 존재할 때 정의된다.

(2)에 $\mathbf u=\mathbf i=\langle 1,0\rangle$을 대입하면 (1)의 첫 번째 극한이, $\mathbf u=\mathbf j=\langle 0,1\rangle$을 대입하면 두 번째 극한이 그대로 나온다.

$$D_{\mathbf i}f=f_x,\qquad D_{\mathbf j}f=f_y.$$

즉 두 편도함수는 좌표축 방향의 방향도함수에 지나지 않으며, $D_{\mathbf u}f$는 이 둘을 아우르는 공통의 일반화이다.

English

Definition 2. The directional derivative of $f$ at $(x_0,y_0)$ in the direction of a unit vector $\mathbf u=\langle a,b\rangle$ is

$$D_{\mathbf u}f(x_0,y_0)=\lim_{h\to 0}\frac{f(x_0+ha,\;y_0+hb)-f(x_0,y_0)}{h},\tag{2}$$

provided that this limit exists.

Setting $\mathbf u=\mathbf i=\langle 1,0\rangle$ in (2) reproduces the first limit in (1), and $\mathbf u=\mathbf j=\langle 0,1\rangle$ reproduces the second:

$$D_{\mathbf i}f=f_x,\qquad D_{\mathbf j}f=f_y.$$

So the two partial derivatives are nothing but the directional derivatives along the two coordinate directions, and $D_{\mathbf u}f$ is the common generalization of both.

THM 4 방향도함수 계산 공식 Computing the Directional DerivativeTheorem 3 · p.1034
한국어

정리 3. $f$가 $x,y$에 대해 미분가능한 함수이면, $f$는 모든 단위벡터 $\mathbf u=\langle a,b\rangle$ 방향으로 방향도함수를 가지며

$$D_{\mathbf u}f(x,y)=f_x(x,y)\,a+f_y(x,y)\,b.\tag{3}$$

이 정리는 정의 2의 극한을 두 편도함수의 계산으로 바꾸어 주므로, 식으로 주어진 함수의 방향도함수는 보통의 미분만으로 얻어진다. 증명은 $f$를 $(x_0,y_0)$를 지나 $\mathbf u$ 방향인 직선으로 제한한 뒤, 그 결과로 얻는 일변수함수에 연쇄법칙(정리 14.5.1)의 경우 1을 적용한다.

증명. $\mathbf u=\langle a,b\rangle$를 단위벡터로 고정하고, 매개변수 $h$에 대하여 함수 $g(h)=f(x_0+ha,\;y_0+hb)$를 정의하자. 정의 2에 의해

$$D_{\mathbf u}f(x_0,y_0)=\lim_{h\to0}\frac{f(x_0+ha,y_0+hb)-f(x_0,y_0)}{h}=\lim_{h\to0}\frac{g(h)-g(0)}{h}=g'(0)\tag{4}$$

이며, 마지막 등식은 $g'(0)$이 존재한다는 전제 아래 성립한다. 이제 $x(h)=x_0+ha$, $y(h)=y_0+hb$로 두면 $g(h)=f(x(h),y(h))$이고, $x,y$는 $h$에 대해 미분가능한 함수로서 $x'(h)=a$, $y'(h)=b$이다. 가정에 의해 $f$는 미분가능하므로 이 직선 위의 각 점에서 연쇄법칙(경우 1)을 $g$에 적용할 수 있고,

$$g'(h)=f_x(x(h),y(h))\,x'(h)+f_y(x(h),y(h))\,y'(h)=f_x(x_0+ha,y_0+hb)\,a+f_y(x_0+ha,y_0+hb)\,b$$

를 얻으며, 특히 $h=0$에서

$$g'(0)=f_x(x_0,y_0)\,a+f_y(x_0,y_0)\,b\tag{5}$$

이다. 연쇄법칙이 $g$의 미분가능성을 보장하므로 $D_{\mathbf u}f(x_0,y_0)=g'(0)$이 실제로 존재하고, (4)(5)에 의해 그 값이 $f_x(x_0,y_0)a+f_y(x_0,y_0)b$와 같음이 확인된다. $(x_0,y_0)$와 $\mathbf u$는 임의로 고른 것이었으므로 식 (3)이 $f$가 미분가능한 모든 점과 모든 단위벡터 방향에 대해 성립한다.

$\square$
English

Theorem 3. If $f$ is a differentiable function of $x$ and $y$, then $f$ has a directional derivative in the direction of every unit vector $\mathbf u=\langle a,b\rangle$, and

$$D_{\mathbf u}f(x,y)=f_x(x,y)\,a+f_y(x,y)\,b.\tag{3}$$

The theorem replaces the limit of Definition 2 by two partial derivatives, so for a function given by a formula the directional derivative is obtained by ordinary differentiation. The proof restricts $f$ to the line through $(x_0,y_0)$ in the direction of $\mathbf u$ and applies Case 1 of the Chain Rule (Theorem 14.5.1) to the resulting function of one variable.

Proof. Fix the unit vector $\mathbf u=\langle a,b\rangle$ and, for a parameter $h$, define $g(h)=f(x_0+ha,\;y_0+hb)$. By Definition 2,

$$D_{\mathbf u}f(x_0,y_0)=\lim_{h\to0}\frac{f(x_0+ha,y_0+hb)-f(x_0,y_0)}{h}=\lim_{h\to0}\frac{g(h)-g(0)}{h}=g'(0),\tag{4}$$

the last equality holding provided $g'(0)$ exists. Set $x(h)=x_0+ha$ and $y(h)=y_0+hb$, so that $g(h)=f(x(h),y(h))$; both $x$ and $y$ are differentiable functions of $h$ with $x'(h)=a$ and $y'(h)=b$. Since $f$ is differentiable by hypothesis, Case 1 of the Chain Rule applies to $g$ at each point of this line and gives

$$g'(h)=f_x(x(h),y(h))\,x'(h)+f_y(x(h),y(h))\,y'(h)=f_x(x_0+ha,y_0+hb)\,a+f_y(x_0+ha,y_0+hb)\,b,$$

and in particular, at $h=0$,

$$g'(0)=f_x(x_0,y_0)\,a+f_y(x_0,y_0)\,b.\tag{5}$$

Because the Chain Rule guarantees that $g$ is differentiable, $D_{\mathbf u}f(x_0,y_0)=g'(0)$ indeed exists, and (4)–(5) show it equals $f_x(x_0,y_0)a+f_y(x_0,y_0)b$. Since $(x_0,y_0)$ and $\mathbf u$ were arbitrary, formula (3) holds at every point where $f$ is differentiable, in every unit-vector direction.

$\square$
REM 5 각으로 나타낸 방향 Angle Form of the FormulaEq. (6) · p.1035
한국어

평면에서 방향은 벡터 대신 각으로 주어지는 경우가 많다. 단위벡터 $\mathbf u$가 양의 $x$축과 이루는 각이 $\theta$이면, 그 성분은 코사인과 사인이다.

$$\mathbf u=\langle\cos\theta,\;\sin\theta\rangle,$$

이를 $a=\cos\theta$, $b=\sin\theta$로 정리 3의 식 (3)에 대입하면 다음을 얻는다.

$$D_{\mathbf u}f(x,y)=f_x(x,y)\cos\theta+f_y(x,y)\sin\theta.\tag{6}$$

방향이 양의 $x$축에서 잰 각으로 주어질 때는 언제나 식 (6)을 사용한다.

English

A direction in the plane is often specified by an angle rather than by a vector. If the unit vector $\mathbf u$ makes an angle $\theta$ with the positive $x$-axis, then its components are its cosine and sine,

$$\mathbf u=\langle\cos\theta,\;\sin\theta\rangle,$$

and substituting $a=\cos\theta$, $b=\sin\theta$ into Theorem 3 turns formula (3) into

$$D_{\mathbf u}f(x,y)=f_x(x,y)\cos\theta+f_y(x,y)\sin\theta.\tag{6}$$

Formula (6) is the version to use whenever the direction is given as an angle measured from the positive $x$-axis.

NOTE 기울기 벡터의 도입 Introducing the GradientEq. (7) · p.1035
한국어

정리 3의 우변은 두 곱의 합이며, 이는 정확히 내적의 형태이다.

$$D_{\mathbf u}f(x,y)=f_x(x,y)\,a+f_y(x,y)\,b=\langle f_x(x,y),\,f_y(x,y)\rangle\cdot\langle a,b\rangle=\langle f_x(x,y),\,f_y(x,y)\rangle\cdot\mathbf u.\tag{7}$$

둘째 인수가 방향을 담당하고, 첫째 인수 $\langle f_x,f_y\rangle$는 오직 $f$로부터만 만들어지며 $\mathbf u$에 의존하지 않는다. 이 벡터는 다른 여러 맥락에서도 등장하므로 그 자체로 이름을 얻는데, 바로 $f$의 기울기 벡터이며 $\nabla f$ 또는 $\operatorname{grad}f$("델 $f$"라 읽는다)로 표기한다.

English

The right-hand side of Theorem 3 is a sum of two products, which is precisely a dot product:

$$D_{\mathbf u}f(x,y)=f_x(x,y)\,a+f_y(x,y)\,b=\langle f_x(x,y),\,f_y(x,y)\rangle\cdot\langle a,b\rangle=\langle f_x(x,y),\,f_y(x,y)\rangle\cdot\mathbf u.\tag{7}$$

The second factor carries the direction; the first factor $\langle f_x,f_y\rangle$ is built from $f$ alone and does not depend on $\mathbf u$. That vector appears in many other contexts as well, so it is given a name of its own — the gradient of $f$ — and a notation of its own, $\nabla f$ or $\operatorname{grad}f$, read "del $f$".

DEF 7 기울기 벡터 (이변수) The Gradient VectorDefinition 8 · p.1036
한국어

정의 8. 이변수함수 $f(x,y)$에 대해, $f$의 기울기 벡터는 다음과 같이 정의되는 벡터함수 $\nabla f$이다.

$$\nabla f(x,y)=\langle f_x(x,y),\,f_y(x,y)\rangle=\frac{\partial f}{\partial x}\,\mathbf i+\frac{\partial f}{\partial y}\,\mathbf j.\tag{8}$$

$f$ 자체는 스칼라값 함수이지만, 기울기 벡터는 $f$의 정의역의 각 점에 벡터를 대응시킨다. 두 편도함수가 모두 존재하는 점에서 정의된다.

English

Definition 8. For a function $f$ of two variables $x$ and $y$, the gradient of $f$ is the vector function $\nabla f$ defined by

$$\nabla f(x,y)=\langle f_x(x,y),\,f_y(x,y)\rangle=\frac{\partial f}{\partial x}\,\mathbf i+\frac{\partial f}{\partial y}\,\mathbf j.\tag{8}$$

The gradient assigns a vector to each point of the domain of $f$, although $f$ itself is scalar-valued; it is defined wherever both partial derivatives exist.

THM 8 방향도함수와 기울기 벡터의 내적 The Directional Derivative as a Dot ProductEq. (9) · p.1036
한국어

기울기 벡터 표기를 쓰면 식 (7)은 다음과 같이 다시 쓸 수 있다. $f$가 미분가능하고 $\mathbf u$가 단위벡터이면

$$D_{\mathbf u}f(x,y)=\nabla f(x,y)\cdot\mathbf u.\tag{9}$$

$\lvert\mathbf u\rvert=1$이므로 우변은 $\mathbf u$ 위로의 $\nabla f$의 스칼라 정사영 $\operatorname{comp}_{\mathbf u}\nabla f$이다. 이렇게 읽으면, 주어진 방향의 방향도함수는 그 방향을 향하는 기울기 벡터의 성분에 지나지 않으며, 한 점에서의 모든 방향도함수는 오직 하나의 벡터 $\nabla f$로부터 복원된다.

English

With the gradient notation, equation (7) reads: if $f$ is differentiable and $\mathbf u$ is a unit vector, then

$$D_{\mathbf u}f(x,y)=\nabla f(x,y)\cdot\mathbf u.\tag{9}$$

Since $\lvert\mathbf u\rvert=1$, the right-hand side is the scalar projection $\operatorname{comp}_{\mathbf u}\nabla f$ of the gradient onto $\mathbf u$. Reading (9) this way, the directional derivative in a given direction is just the amount of the gradient that points that way, and all the directional derivatives at a point are recovered from the single vector $\nabla f$.

DEF 9 방향도함수 (삼변수) Directional Derivative in SpaceDefinition 10, Eq. (11) · p.1037
한국어

삼변수함수에서도 같은 형태의 차분의 극한이 단위벡터 방향의 $f$의 변화율을 정의한다.

정의 10. 단위벡터 $\mathbf u=\langle a,b,c\rangle$ 방향으로 $(x_0,y_0,z_0)$에서의 $f$의 방향도함수

$$D_{\mathbf u}f(x_0,y_0,z_0)=\lim_{h\to 0}\frac{f(x_0+ha,\;y_0+hb,\;z_0+hc)-f(x_0,y_0,z_0)}{h},\tag{10}$$

이 극한이 존재할 때 정의된다.

$n=2$일 때 $\mathbf x_0=\langle x_0,y_0\rangle$, $n=3$일 때 $\mathbf x_0=\langle x_0,y_0,z_0\rangle$로 쓰면, 정의 2와 정의 10은 하나의 벡터 공식으로 합쳐진다.

$$D_{\mathbf u}f(\mathbf x_0)=\lim_{h\to 0}\frac{f(\mathbf x_0+h\mathbf u)-f(\mathbf x_0)}{h}.\tag{11}$$

이는 자연스러운데, $\mathbf x_0$를 지나 $\mathbf u$ 방향인 직선의 벡터방정식이 $\mathbf x=\mathbf x_0+t\mathbf u$이므로, $f(\mathbf x_0+h\mathbf u)$는 그 직선 위에서 매개변수가 $h$인 점에서의 $f$의 값이기 때문이다.

English

For a function of three variables the same difference quotient defines the rate of change of $f$ along a unit vector.

Definition 10. The directional derivative of $f$ at $(x_0,y_0,z_0)$ in the direction of a unit vector $\mathbf u=\langle a,b,c\rangle$ is

$$D_{\mathbf u}f(x_0,y_0,z_0)=\lim_{h\to 0}\frac{f(x_0+ha,\;y_0+hb,\;z_0+hc)-f(x_0,y_0,z_0)}{h},\tag{10}$$

provided that this limit exists.

Writing $\mathbf x_0=\langle x_0,y_0\rangle$ when $n=2$ and $\mathbf x_0=\langle x_0,y_0,z_0\rangle$ when $n=3$, Definitions 2 and 10 collapse into one vector formula:

$$D_{\mathbf u}f(\mathbf x_0)=\lim_{h\to 0}\frac{f(\mathbf x_0+h\mathbf u)-f(\mathbf x_0)}{h}.\tag{11}$$

This is natural because the line through $\mathbf x_0$ in the direction of $\mathbf u$ has vector equation $\mathbf x=\mathbf x_0+t\mathbf u$, so $f(\mathbf x_0+h\mathbf u)$ is the value of $f$ at the point of that line at parameter $h$.

THM 10 공간에서의 기울기 벡터와 계산 공식 Gradient in SpaceEq. (12)–(14) · p.1037
한국어

$f(x,y,z)$가 미분가능하고 $\mathbf u=\langle a,b,c\rangle$가 단위벡터이면, 정리 3을 증명할 때와 같은 논법으로

$$D_{\mathbf u}f(x,y,z)=f_x(x,y,z)\,a+f_y(x,y,z)\,b+f_z(x,y,z)\,c.\tag{12}$$

를 얻는다. 이러한 $f$의 기울기 벡터는 다음 벡터함수이다.

$$\nabla f=\langle f_x,\,f_y,\,f_z\rangle=\frac{\partial f}{\partial x}\,\mathbf i+\frac{\partial f}{\partial y}\,\mathbf j+\frac{\partial f}{\partial z}\,\mathbf k,\tag{13}$$

이를 이용하면 식 (12)는 평면의 경우와 같은 내적 형태로 쓰인다.

$$D_{\mathbf u}f(x,y,z)=\nabla f(x,y,z)\cdot\mathbf u.\tag{14}$$

식 (9)와 (14)는 성분의 개수만 다를 뿐이므로, 아래에서 $\nabla f\cdot\mathbf u$에 대해 서술하는 모든 내용은 이변수함수와 삼변수함수에 똑같이 적용된다.

English

If $f(x,y,z)$ is differentiable and $\mathbf u=\langle a,b,c\rangle$ is a unit vector, then the argument that proves Theorem 3 gives

$$D_{\mathbf u}f(x,y,z)=f_x(x,y,z)\,a+f_y(x,y,z)\,b+f_z(x,y,z)\,c.\tag{12}$$

The gradient of such an $f$ is the vector function

$$\nabla f=\langle f_x,\,f_y,\,f_z\rangle=\frac{\partial f}{\partial x}\,\mathbf i+\frac{\partial f}{\partial y}\,\mathbf j+\frac{\partial f}{\partial z}\,\mathbf k,\tag{13}$$

and with it formula (12) takes the same dot-product form as in the plane:

$$D_{\mathbf u}f(x,y,z)=\nabla f(x,y,z)\cdot\mathbf u.\tag{14}$$

Formulas (9) and (14) differ only in the number of components, so every statement made below about $\nabla f\cdot\mathbf u$ applies to functions of two and of three variables alike.

THM 11 방향도함수의 최대화 Maximizing the Directional DerivativeTheorem 15 · p.1038
한국어

한 점에서 $f$의 모든 방향도함수를 모아 보면, 이는 가능한 모든 방향에서의 $f$의 변화율을 알려 준다. 그렇다면 어느 방향에서 증가가 가장 빠르며, 그 속도는 얼마인가? 기울기 벡터는 이 두 물음에 한꺼번에 답한다.

정리 15. $f$가 이변수 또는 삼변수의 미분가능한 함수라 하자. 모든 단위벡터 $\mathbf u$에 대한 방향도함수 $D_{\mathbf u}f(\mathbf x)$의 최댓값은

$$\max_{\lvert\mathbf u\rvert=1}D_{\mathbf u}f(\mathbf x)=\lvert\nabla f(\mathbf x)\rvert,$$

이며, $\mathbf u$가 기울기 벡터 $\nabla f(\mathbf x)$와 같은 방향일 때 이 최댓값이 얻어진다.

증명은 오직 식 (9)와 (14)에 있는 내적의 기하적 형태만을 사용한다.

증명. $\nabla f(\mathbf x)=\mathbf 0$이면 식 (9)(또는 (14))에 의해 모든 단위벡터 $\mathbf u$에 대해 $D_{\mathbf u}f(\mathbf x)=\mathbf 0\cdot\mathbf u=0=\lvert\nabla f(\mathbf x)\rvert$이므로, 최댓값이 $\lvert\nabla f(\mathbf x)\rvert$라는 주장은 성립하며 그 값은 모든 방향에서 동시에 달성된다(영벡터는 방향을 정하지 않으므로 방향에 관한 주장은 이 경우 내용이 없다). 이제 $\nabla f(\mathbf x)\neq\mathbf 0$라 하자. $\theta$를 $\nabla f(\mathbf x)$와 $\mathbf u$ 사이의 각이라 하면, 내적의 기하적 정의에 의해

$$D_{\mathbf u}f(\mathbf x)=\nabla f(\mathbf x)\cdot\mathbf u=\lvert\nabla f(\mathbf x)\rvert\,\lvert\mathbf u\rvert\cos\theta=\lvert\nabla f(\mathbf x)\rvert\cos\theta$$

이다(마지막 등식은 $\lvert\mathbf u\rvert=1$에서 나온다). $\lvert\nabla f(\mathbf x)\rvert\ge0$이고 $-1\le\cos\theta\le1$이므로

$$D_{\mathbf u}f(\mathbf x)=\lvert\nabla f(\mathbf x)\rvert\cos\theta\le\lvert\nabla f(\mathbf x)\rvert$$

이며, 등호는 $\cos\theta=1$, 즉 $\theta=0$일 때, 다시 말해 $\mathbf u$가 $\nabla f(\mathbf x)$와 같은 방향(즉 $\mathbf u=\nabla f(\mathbf x)/\lvert\nabla f(\mathbf x)\rvert$)일 때만 성립한다. 따라서 $D_{\mathbf u}f(\mathbf x)$는 모든 단위벡터 $\mathbf u$ 중에서 $\lvert\nabla f(\mathbf x)\rvert$를 최댓값으로 가지며, 이는 $\mathbf u$가 기울기 벡터의 방향을 향할 때 정확히 달성된다.

$\square$
English

Collect all the directional derivatives of $f$ at one point: they give the rates of change of $f$ in every possible direction. Which direction gives the fastest increase, and how fast is it? The gradient answers both questions at once.

Theorem 15. Let $f$ be a differentiable function of two or three variables. The maximum value of the directional derivative $D_{\mathbf u}f(\mathbf x)$, taken over all unit vectors $\mathbf u$, is

$$\max_{\lvert\mathbf u\rvert=1}D_{\mathbf u}f(\mathbf x)=\lvert\nabla f(\mathbf x)\rvert,$$

and it is attained when $\mathbf u$ has the same direction as the gradient vector $\nabla f(\mathbf x)$.

The proof only uses the geometric form of the dot product in (9) and (14).

Proof. If $\nabla f(\mathbf x)=\mathbf 0$, then by (9) (or (14)) $D_{\mathbf u}f(\mathbf x)=\mathbf 0\cdot\mathbf u=0=\lvert\nabla f(\mathbf x)\rvert$ for every unit vector $\mathbf u$: the maximum value is $\lvert\nabla f(\mathbf x)\rvert$ and every direction attains it, while the assertion about the direction says nothing here, the zero vector determining no direction. Suppose now $\nabla f(\mathbf x)\neq\mathbf 0$, and let $\theta$ be the angle between $\nabla f(\mathbf x)$ and $\mathbf u$. By the geometric description of the dot product,

$$D_{\mathbf u}f(\mathbf x)=\nabla f(\mathbf x)\cdot\mathbf u=\lvert\nabla f(\mathbf x)\rvert\,\lvert\mathbf u\rvert\cos\theta=\lvert\nabla f(\mathbf x)\rvert\cos\theta,$$

the last step using $\lvert\mathbf u\rvert=1$. Since $\lvert\nabla f(\mathbf x)\rvert\ge0$ and $-1\le\cos\theta\le1$,

$$D_{\mathbf u}f(\mathbf x)=\lvert\nabla f(\mathbf x)\rvert\cos\theta\le\lvert\nabla f(\mathbf x)\rvert,$$

with equality exactly when $\cos\theta=1$, i.e. $\theta=0$ — that is, when $\mathbf u$ has the same direction as $\nabla f(\mathbf x)$ (so $\mathbf u=\nabla f(\mathbf x)/\lvert\nabla f(\mathbf x)\rvert$). Hence, among all unit vectors $\mathbf u$, the quantity $D_{\mathbf u}f(\mathbf x)$ attains the maximum value $\lvert\nabla f(\mathbf x)\rvert$, and it does so precisely when $\mathbf u$ points in the direction of the gradient.

$\square$
NOTE 등위면의 접평면 준비 Setting Up Tangent Planes to Level SurfacesEq. (16)–(18) · p.1040
한국어

삼변수함수 $F$의 등위면 $S:F(x,y,z)=k$ 위의 한 점을 $P(x_0,y_0,z_0)$라 하자. $C$를 $S$ 위에 있으면서 $P$를 지나는 임의의 곡선이라 하고, (§13.1에서처럼) 연속인 벡터함수 $\mathbf r(t)=\langle x(t),y(t),z(t)\rangle$로 나타내어 $\mathbf r(t_0)=\langle x_0,y_0,z_0\rangle$이 되게 하자. $C$의 모든 점이 $S$ 위에 있으므로

$$F\big(x(t),\,y(t),\,z(t)\big)=k.\tag{16}$$

$x,y,z$가 $t$에 대해 미분가능하고 $F$가 미분가능하면, (16)의 양변에 연쇄법칙을 적용하여

$$\frac{\partial F}{\partial x}\frac{dx}{dt}+\frac{\partial F}{\partial y}\frac{dy}{dt}+\frac{\partial F}{\partial z}\frac{dz}{dt}=0,\tag{17}$$

을 얻는다. $\nabla F=\langle F_x,F_y,F_z\rangle$이고 $\mathbf r'(t)=\langle x'(t),y'(t),z'(t)\rangle$이므로 식 (17)은 $\nabla F\cdot\mathbf r'(t)=0$이라는 진술이다. 매개변수값 $t_0$에서는

$$\nabla F(x_0,y_0,z_0)\cdot\mathbf r'(t_0)=0.\tag{18}$$

따라서 $\nabla F(x_0,y_0,z_0)$는 $P$를 지나 $S$ 위에 있는 모든 곡선의 접벡터에 수직이다. $\nabla F(x_0,y_0,z_0)\neq\mathbf 0$일 때, $P$에서 $S$의 접평면을 $\nabla F(x_0,y_0,z_0)$를 법선벡터로 갖고 $P$를 지나는 평면으로 정의하는 것은 자연스럽다.

S C P(x₀, y₀, z₀) ∇F(x₀, y₀, z₀) r′(t₀) 접평면
English

Let $S$ be the level surface $F(x,y,z)=k$ of a function $F$ of three variables, and let $P(x_0,y_0,z_0)$ be a point of $S$. Let $C$ be any curve lying on $S$ and passing through $P$, described (as in §13.1) by a continuous vector function $\mathbf r(t)=\langle x(t),y(t),z(t)\rangle$, with $\mathbf r(t_0)=\langle x_0,y_0,z_0\rangle$. Because every point of $C$ lies on $S$,

$$F\big(x(t),\,y(t),\,z(t)\big)=k.\tag{16}$$

If $x,y,z$ are differentiable functions of $t$ and $F$ is differentiable, the Chain Rule applied to both sides of (16) gives

$$\frac{\partial F}{\partial x}\frac{dx}{dt}+\frac{\partial F}{\partial y}\frac{dy}{dt}+\frac{\partial F}{\partial z}\frac{dz}{dt}=0,\tag{17}$$

and since $\nabla F=\langle F_x,F_y,F_z\rangle$ and $\mathbf r'(t)=\langle x'(t),y'(t),z'(t)\rangle$, equation (17) is the statement $\nabla F\cdot\mathbf r'(t)=0$. At the parameter value $t_0$ this reads

$$\nabla F(x_0,y_0,z_0)\cdot\mathbf r'(t_0)=0.\tag{18}$$

So $\nabla F(x_0,y_0,z_0)$ is orthogonal to the tangent vector of every curve on $S$ through $P$. When $\nabla F(x_0,y_0,z_0)\neq\mathbf 0$ it is therefore natural to define the tangent plane to $S$ at $P$ as the plane through $P$ having $\nabla F(x_0,y_0,z_0)$ as normal vector.

S C P(x₀, y₀, z₀) ∇F(x₀, y₀, z₀) r′(t₀) tangent plane
THM 13 등위면의 접평면 Tangent Plane to a Level SurfaceEq. (19) · p.1040
한국어

$S$를 등위면 $F(x,y,z)=k$라 하고, $P(x_0,y_0,z_0)\in S$에서 $\nabla F(x_0,y_0,z_0)\neq\mathbf 0$이라 하자. 법선벡터 $\nabla F(x_0,y_0,z_0)$를 $P$를 지나는 평면의 표준방정식(식 12.5.7)에 대입하면 $P$에서 $S$의 접평면을 얻는다.

$$F_x(x_0,y_0,z_0)(x-x_0)+F_y(x_0,y_0,z_0)(y-y_0)+F_z(x_0,y_0,z_0)(z-z_0)=0.\tag{19}$$

실제로는 곡면을 $F(x,y,z)=k$의 형태로 쓰고 세 편도함수를 그 점에서 계산해 (19)에 대입하면 되며, $z$에 대해 따로 풀 필요가 없다.

English

Let $S$ be the level surface $F(x,y,z)=k$ and let $P(x_0,y_0,z_0)\in S$ with $\nabla F(x_0,y_0,z_0)\neq\mathbf 0$. Feeding the normal vector $\nabla F(x_0,y_0,z_0)$ into the standard equation of a plane through $P$ (Equation 12.5.7) gives the tangent plane to $S$ at $P$:

$$F_x(x_0,y_0,z_0)(x-x_0)+F_y(x_0,y_0,z_0)(y-y_0)+F_z(x_0,y_0,z_0)(z-z_0)=0.\tag{19}$$

In practice one writes the surface in the form $F(x,y,z)=k$, evaluates the three partial derivatives at the point, and reads off (19); no solving for $z$ is required.

THM 14 법선 The Normal LineEq. (20) · p.1040
한국어

$P$에서 $S$의 법선은 $P$를 지나고 접평면에 수직인 직선이다. 그 방향은 $\nabla F(x_0,y_0,z_0)$의 방향이므로, 식 12.5.3에 의해 대칭방정식은

$$\frac{x-x_0}{F_x(x_0,y_0,z_0)}=\frac{y-y_0}{F_y(x_0,y_0,z_0)}=\frac{z-z_0}{F_z(x_0,y_0,z_0)}.\tag{20}$$

이다. 같은 직선을 매개변수식 $x=x_0+F_x t$, $y=y_0+F_y t$, $z=z_0+F_z t$(편도함수는 모두 $P$에서 계산)로 나타낼 수도 있으며, 이 형태는 편도함수 중 하나가 $0$이 되는 경우에도 그대로 쓸 수 있다. 이때 (20)은 해당 좌표를 상수로 고정한 채 읽어야 한다.

English

The normal line to $S$ at $P$ is the line through $P$ perpendicular to the tangent plane. Its direction is that of $\nabla F(x_0,y_0,z_0)$, so by Equation 12.5.3 its symmetric equations are

$$\frac{x-x_0}{F_x(x_0,y_0,z_0)}=\frac{y-y_0}{F_y(x_0,y_0,z_0)}=\frac{z-z_0}{F_z(x_0,y_0,z_0)}.\tag{20}$$

Equivalently, the same line has parametric equations $x=x_0+F_x t$, $y=y_0+F_y t$, $z=z_0+F_z t$, with the partial derivatives evaluated at $P$; this form remains usable when one of them vanishes, in which case (20) must be read with the corresponding coordinate held constant.

REM 15 §14.4와의 일관성 Consistency with §14.4p.1041
한국어

그래프 $z=f(x,y)$로 주어진 곡면은 특수한 경우이다. 이를

$$F(x,y,z)=f(x,y)-z=0,$$

으로 다시 쓰면 $S$는 $k=0$인 $F$의 등위면이 된다. 이때

$$\begin{aligned}F_x(x_0,y_0,z_0)&=f_x(x_0,y_0),\\[2pt] F_y(x_0,y_0,z_0)&=f_y(x_0,y_0),\\[2pt] F_z(x_0,y_0,z_0)&=-1,\end{aligned}$$

이므로 식 (19)는

$$f_x(x_0,y_0)(x-x_0)+f_y(x_0,y_0)(y-y_0)-(z-z_0)=0,$$

이 되어, 이는 정확히 접평면 방정식 (14.4.2)이다. 따라서 새로운 정의는 §14.4에서 그래프에 대해 주어졌던 정의보다 더 일반적이면서도 그와 일관된다.

English

A surface given as a graph $z=f(x,y)$ is a special case: rewrite it as

$$F(x,y,z)=f(x,y)-z=0,$$

so that $S$ is the level surface of $F$ with $k=0$. Then

$$\begin{aligned}F_x(x_0,y_0,z_0)&=f_x(x_0,y_0),\\[2pt] F_y(x_0,y_0,z_0)&=f_y(x_0,y_0),\\[2pt] F_z(x_0,y_0,z_0)&=-1,\end{aligned}$$

and equation (19) becomes

$$f_x(x_0,y_0)(x-x_0)+f_y(x_0,y_0)(y-y_0)-(z-z_0)=0,$$

which is exactly the tangent plane equation (14.4.2). The new definition is therefore more general than, and consistent with, the one given for graphs in §14.4.

REM 16 기울기 벡터의 성질 Properties of the Gradient VectorProperties box · p.1042
한국어

기울기 벡터의 성질. $f$를 이변수 또는 삼변수의 미분가능한 함수라 하고 $\nabla f(\mathbf x)\neq\mathbf 0$이라 하자.

  • 단위벡터 $\mathbf u$ 방향으로 $\mathbf x$에서의 $f$의 방향도함수는 $D_{\mathbf u}f(\mathbf x)=\nabla f(\mathbf x)\cdot\mathbf u$이다.
  • $\nabla f(\mathbf x)$는 $\mathbf x$에서 $f$가 가장 빠르게 증가하는 방향을 가리키며, 그 최대 변화율은 $\lvert\nabla f(\mathbf x)\rvert$이다.
  • $\nabla f(\mathbf x)$는 $\mathbf x$를 지나는 $f$의 등위선 또는 등위면에 수직이다.

앞의 두 성질은 각각 식 (9), (14)와 정리 15이다. 삼변수의 경우 세 번째 성질은 식 (18)이며, 이변수의 경우는 그 점을 지나는 등위선 $f(x,y)=k$의 매개변수화에 같은 방식의 논법을 적용하면 얻어진다.

x y 0 P(x₀, y₀) ∇f(x₀, y₀) f(x, y) = k
English

Properties of the Gradient Vector. Let $f$ be a differentiable function of two or three variables and suppose $\nabla f(\mathbf x)\neq\mathbf 0$.

  • The directional derivative of $f$ at $\mathbf x$ in the direction of a unit vector $\mathbf u$ is $D_{\mathbf u}f(\mathbf x)=\nabla f(\mathbf x)\cdot\mathbf u$.
  • $\nabla f(\mathbf x)$ points in the direction of the maximum rate of increase of $f$ at $\mathbf x$, and that maximum rate of change is $\lvert\nabla f(\mathbf x)\rvert$.
  • $\nabla f(\mathbf x)$ is perpendicular to the level curve or level surface of $f$ through $\mathbf x$.

The first two items are (9), (14) and Theorem 15. For three variables the third item is (18); for two variables it follows from the same kind of argument applied to a parametrization of the level curve $f(x,y)=k$ through the point.

x y 0 P(x₀, y₀) ∇f(x₀, y₀) f(x, y) = k
NOTE 기울기 벡터의 의미와 최급경사 곡선 Steepest Ascent and Gradient Fieldsp.1042
한국어

뒤의 두 성질은 직관과도 잘 들어맞는다. $P$에서 등위면을 따라 움직이면 $f$의 값은 변하지 않으므로, 가장 큰 증가가 그 곡면에 수직인 방향 — 바로 $\nabla f(P)$의 방향 — 에서 일어난다는 것은 자연스럽다.

언덕의 지형도에서 $(x,y)$ 지점의 해발고도를 $f(x,y)$라 할 때, 최급경사 곡선은 모든 등고선과 직각으로 만나도록 그은 곡선이다.

여러 표본점 $(a,b)$마다 시점을 $(a,b)$로 하는 벡터 $\nabla f(a,b)$를 그리면 기울기 벡터장을 얻는다. 예를 들어 $f(x,y)=x^2-y^2$의 등고선 지도 위에 겹쳐 그리면, 위의 성질들이 예측하는 대로 벡터들은 "오르막"을 향하고 등위선과 수직으로 교차한다.

English

The last two properties agree with intuition. Moving away from $P$ along the level surface leaves the value of $f$ unchanged, so it is reasonable that the largest increase should occur in the direction perpendicular to that surface — which is exactly the direction of $\nabla f(P)$.

On a topographic map of a hill, with $f(x,y)$ the height above sea level at the point $(x,y)$, a curve of steepest ascent is one drawn so as to meet every contour line at a right angle.

Plotting the vector $\nabla f(a,b)$ with initial point $(a,b)$ at many sample points produces a gradient vector field. Superimposed on a contour map — for instance that of $f(x,y)=x^2-y^2$ — the plotted vectors point "uphill" and cross the level curves perpendicularly, as the properties above predict.

예제 답안 · Worked Examples

EXAM 1 기상도에서 읽는 방향도함수 Estimating a Directional Derivative from a Weather MapExample 1 · p.1034
한국어

어느 10월 오후 3시 캘리포니아·네바다 지역의 기온 함수 $T(x,y)$를 나타낸 등온선 지도가 주어져 있다. 이 지도에서 Reno를 지나 남동쪽으로 그은 직선이 등온선 $T=50$과 $T=60$을 자르는 두 점 사이의 거리를 읽어, Reno에서 남동쪽 방향 $\mathbf u=(\mathbf i-\mathbf j)/\sqrt2$의 방향도함수 $D_{\mathbf u}T$의 값을 °F/mi 단위로 어림하라.

풀이. $D_{\mathbf u}T(\text{Reno})$는 정의 2의 극한 $\lim_{h\to0}\dfrac{T(\text{Reno}+h\mathbf u)-T(\text{Reno})}{h}$이므로 지도만으로 직접 계산할 수는 없지만, $h$의 작은 값 하나에 대응하는 차분몫으로 근사할 수 있다. Reno를 지나 $\mathbf u=(\mathbf i-\mathbf j)/\sqrt2$ 방향(남동쪽)으로 직선을 그으면, 이 직선은 등온선 $T=50$과 $T=60$을 각각 한 점씩에서 지난다. 지도의 축척으로 이 두 교점 사이의 거리를 재면 약 $75$ mi이다.

두 등온선 사이의 온도 변화는 $\Delta T=60-50=10\;{}^\circ\text F$이고 이동 거리는 $\Delta s\approx75$ mi이므로, 방향도함수를 이 유한한 구간에서의 평균변화율로 근사하면

$$D_{\mathbf u}T(\text{Reno})\approx\frac{\Delta T}{\Delta s}=\frac{10}{75}=\frac2{15}\approx0.13\;{}^\circ\text{F/mi}$$

를 얻는다. 이 값은 지도 판독에 의존하므로 정확한 극한값이 아니라 근삿값이다.

English

A contour map shows the isothermals of the temperature function $T(x,y)$ recorded over California and Nevada at 3:00 pm one October afternoon. Draw the line through Reno heading southeast, in the direction of $\mathbf u=(\mathbf i-\mathbf j)/\sqrt2$, and read off the distance between the points where it crosses the isothermals $T=50$ and $T=60$. Use this to estimate $D_{\mathbf u}T$ at Reno in degrees Fahrenheit per mile.

Solution. $D_{\mathbf u}T(\text{Reno})$ is the limit $\lim_{h\to0}\dfrac{T(\text{Reno}+h\mathbf u)-T(\text{Reno})}{h}$ from Definition 2, which a map cannot evaluate directly; instead it is approximated by a difference quotient over one small displacement read off the map. Drawing the line through Reno in the direction $\mathbf u=(\mathbf i-\mathbf j)/\sqrt2$ (southeast), this line crosses the isothermals $T=50$ and $T=60$ at two points, and the distance between them, read from the map's scale, is about $75$ mi.

The change in temperature between the two isothermals is $\Delta T=60-50=10\;{}^\circ\text F$ over a distance $\Delta s\approx75$ mi, so approximating the directional derivative by this average rate of change gives

$$D_{\mathbf u}T(\text{Reno})\approx\frac{\Delta T}{\Delta s}=\frac{10}{75}=\frac2{15}\approx0.13\;{}^\circ\text{F/mi}.$$

Since the value rests on reading distances off a map, it is only an estimate rather than an exact limit.

EXAM 2 각으로 주어진 방향의 방향도함수 A Directional Derivative Given by an AngleExample 2 · p.1035
한국어

$f(x,y)=x^3-3xy+4y^2$이고, $\mathbf u$는 양의 $x$축에서 잰 각이 $\theta=\pi/6$인 방향의 단위벡터이다. 방향도함수 $D_{\mathbf u}f(x,y)$를 $x,y$에 대한 식으로 구하고, 이를 이용해 $D_{\mathbf u}f(1,2)$의 값을 구하라.

풀이. $f(x,y)=x^3-3xy+4y^2$의 편도함수는

$$f_x(x,y)=3x^2-3y,\qquad f_y(x,y)=-3x+8y$$

이다. $\mathbf u$가 양의 $x$축과 각 $\theta=\pi/6$을 이루므로 $\mathbf u=\big\langle\cos\tfrac\pi6,\sin\tfrac\pi6\big\rangle=\big\langle\tfrac{\sqrt3}2,\tfrac12\big\rangle$이고, 이를 각 형태의 공식 (6)에 대입하면

$$D_{\mathbf u}f(x,y)=f_x\cos\frac\pi6+f_y\sin\frac\pi6=(3x^2-3y)\frac{\sqrt3}2+(-3x+8y)\frac12$$

이며, 우변을 정리하면

$$D_{\mathbf u}f(x,y)=\frac{3\sqrt3}2x^2-\frac32x+\Big(4-\frac{3\sqrt3}2\Big)y=\frac12\Big[3\sqrt3\,x^2-3x+(8-3\sqrt3)y\Big]$$

이다. 이제 $(1,2)$를 대입하면

$$D_{\mathbf u}f(1,2)=\frac12\big[3\sqrt3-3+2(8-3\sqrt3)\big]=\frac12\big[3\sqrt3-3+16-6\sqrt3\big]=\frac12(13-3\sqrt3)=\frac{13-3\sqrt3}2$$

를 얻는다. 따라서 $D_{\mathbf u}f(x,y)=\dfrac12\big[3\sqrt3\,x^2-3x+(8-3\sqrt3)y\big]$이고 $D_{\mathbf u}f(1,2)=\dfrac{13-3\sqrt3}2\approx3.90$이다.

English

Let $f(x,y)=x^3-3xy+4y^2$ and let $\mathbf u$ be the unit vector whose direction makes the angle $\theta=\pi/6$ with the positive $x$-axis. Find $D_{\mathbf u}f(x,y)$ as a formula in $x$ and $y$, and then evaluate $D_{\mathbf u}f(1,2)$.

Solution. The partial derivatives of $f(x,y)=x^3-3xy+4y^2$ are

$$f_x(x,y)=3x^2-3y,\qquad f_y(x,y)=-3x+8y.$$

Since $\mathbf u$ makes angle $\theta=\pi/6$ with the positive $x$-axis, $\mathbf u=\big\langle\cos\tfrac\pi6,\sin\tfrac\pi6\big\rangle=\big\langle\tfrac{\sqrt3}2,\tfrac12\big\rangle$, and substituting into the angle form (6) gives

$$D_{\mathbf u}f(x,y)=f_x\cos\frac\pi6+f_y\sin\frac\pi6=(3x^2-3y)\frac{\sqrt3}2+(-3x+8y)\frac12,$$

which simplifies to

$$D_{\mathbf u}f(x,y)=\frac{3\sqrt3}2x^2-\frac32x+\Big(4-\frac{3\sqrt3}2\Big)y=\frac12\Big[3\sqrt3\,x^2-3x+(8-3\sqrt3)y\Big].$$

Evaluating at $(1,2)$,

$$D_{\mathbf u}f(1,2)=\frac12\big[3\sqrt3-3+2(8-3\sqrt3)\big]=\frac12\big[3\sqrt3-3+16-6\sqrt3\big]=\frac12(13-3\sqrt3)=\frac{13-3\sqrt3}2.$$

Hence $D_{\mathbf u}f(x,y)=\dfrac12\big[3\sqrt3\,x^2-3x+(8-3\sqrt3)y\big]$ and $D_{\mathbf u}f(1,2)=\dfrac{13-3\sqrt3}2\approx3.90$.

EXAM 3 기울기 벡터 구하기 Computing a Gradient VectorExample 3 · p.1036
한국어

$f(x,y)=\sin x+e^{xy}$일 때, 기울기 벡터 $\nabla f(x,y)$를 성분으로 나타내고 점 $(0,1)$에서의 값 $\nabla f(0,1)$을 구하라.

풀이. $f(x,y)=\sin x+e^{xy}$를 한 변수로 미분할 때 다른 변수는 상수로 두고, 두 경우 모두 $e^{xy}$에 연쇄법칙을 적용하면

$$f_x(x,y)=\cos x+y\,e^{xy},\qquad f_y(x,y)=x\,e^{xy}$$

이므로 정의 8에 의해

$$\nabla f(x,y)=\big\langle\cos x+y\,e^{xy},\;x\,e^{xy}\big\rangle$$

이다. 점 $(0,1)$에서는 $\cos0=1$, $e^{0\cdot1}=e^0=1$이므로 $f_x(0,1)=1+1\cdot1=2$이고, $f_y(0,1)=0\cdot e^0=0$이다. 따라서

$$\nabla f(0,1)=\langle2,0\rangle$$

이다.

English

For $f(x,y)=\sin x+e^{xy}$, write the gradient vector $\nabla f(x,y)$ in component form and evaluate it at the point $(0,1)$.

Solution. Differentiate $f(x,y)=\sin x+e^{xy}$ with respect to one variable while the other is held fixed, applying the Chain Rule to $e^{xy}$ in both cases:

$$f_x(x,y)=\cos x+y\,e^{xy},\qquad f_y(x,y)=x\,e^{xy},$$

so by Definition 8

$$\nabla f(x,y)=\big\langle\cos x+y\,e^{xy},\;x\,e^{xy}\big\rangle.$$

At $(0,1)$, $\cos0=1$ and $e^{0\cdot1}=e^0=1$, so $f_x(0,1)=1+1\cdot1=2$ and $f_y(0,1)=0\cdot e^0=0$. Hence

$$\nabla f(0,1)=\langle2,0\rangle.$$
EXAM 4 벡터 방향의 방향도함수 A Directional Derivative in the Direction of a VectorExample 4 · p.1036
한국어

함수 $f(x,y)=x^2y^3-4y$의 점 $(2,-1)$에서 벡터 $\mathbf v=2\mathbf i+5\mathbf j$ 방향의 방향도함수를 구하라. ($\mathbf v$는 단위벡터가 아님에 주의하라.)

풀이. $f(x,y)=x^2y^3-4y$의 편도함수는

$$f_x(x,y)=2xy^3,\qquad f_y(x,y)=3x^2y^2-4$$

이므로 $\nabla f(x,y)=\langle2xy^3,\,3x^2y^2-4\rangle$이고, 점 $(2,-1)$에서는

$$\nabla f(2,-1)=\langle2\cdot2\cdot(-1)^3,\;3\cdot4\cdot1-4\rangle=\langle-4,\,8\rangle$$

이다. 방향벡터 $\mathbf v=2\mathbf i+5\mathbf j$는 $\lvert\mathbf v\rvert=\sqrt{2^2+5^2}=\sqrt{29}$로 단위벡터가 아니므로 먼저 정규화하여

$$\mathbf u=\frac{\mathbf v}{\lvert\mathbf v\rvert}=\Big\langle\frac2{\sqrt{29}},\,\frac5{\sqrt{29}}\Big\rangle$$

를 얻는다. 식 (9)에 의해

$$D_{\mathbf u}f(2,-1)=\nabla f(2,-1)\cdot\mathbf u=(-4)\cdot\frac2{\sqrt{29}}+8\cdot\frac5{\sqrt{29}}=\frac{-8+40}{\sqrt{29}}=\frac{32}{\sqrt{29}}=\frac{32\sqrt{29}}{29}$$

이다. 따라서 $D_{\mathbf u}f(2,-1)=\dfrac{32}{\sqrt{29}}\approx5.94$이다.

English

Find the directional derivative of $f(x,y)=x^2y^3-4y$ at the point $(2,-1)$ in the direction of the vector $\mathbf v=2\mathbf i+5\mathbf j$. (Note that $\mathbf v$ is not a unit vector.)

Solution. The partial derivatives of $f(x,y)=x^2y^3-4y$ are

$$f_x(x,y)=2xy^3,\qquad f_y(x,y)=3x^2y^2-4,$$

so $\nabla f(x,y)=\langle2xy^3,\,3x^2y^2-4\rangle$, and at $(2,-1)$

$$\nabla f(2,-1)=\langle2\cdot2\cdot(-1)^3,\;3\cdot4\cdot1-4\rangle=\langle-4,\,8\rangle.$$

The vector $\mathbf v=2\mathbf i+5\mathbf j$ has $\lvert\mathbf v\rvert=\sqrt{2^2+5^2}=\sqrt{29}\neq1$, so it must first be normalized:

$$\mathbf u=\frac{\mathbf v}{\lvert\mathbf v\rvert}=\Big\langle\frac2{\sqrt{29}},\,\frac5{\sqrt{29}}\Big\rangle.$$

By formula (9),

$$D_{\mathbf u}f(2,-1)=\nabla f(2,-1)\cdot\mathbf u=(-4)\cdot\frac2{\sqrt{29}}+8\cdot\frac5{\sqrt{29}}=\frac{-8+40}{\sqrt{29}}=\frac{32}{\sqrt{29}}=\frac{32\sqrt{29}}{29}.$$

Hence $D_{\mathbf u}f(2,-1)=\dfrac{32}{\sqrt{29}}\approx5.94$.

EXAM 5 삼변수 함수의 기울기 벡터와 방향도함수 Gradient and Directional Derivative in SpaceExample 5 · p.1037–1038
한국어

삼변수함수 $f(x,y,z)=x\sin yz$에 대하여 다음을 구하라.

(a) 기울기 벡터 $\nabla f(x,y,z)$.

(b) 점 $(1,3,0)$에서 벡터 $\mathbf v=\mathbf i+2\mathbf j-\mathbf k$ 방향의 방향도함수.

(a) $f(x,y,z)=x\sin yz$의 편도함수는 $x$에 대해서는 $\sin yz$를 상수로 보고 미분하며, $y,z$에 대해서는 $x$를 상수로 보고 합성함수 $\sin(yz)$에 연쇄법칙을 적용한다.

$$\begin{aligned}f_x&=\sin yz,\\[2pt] f_y&=xz\cos yz,\\[2pt] f_z&=xy\cos yz\end{aligned}$$

이므로 식 (13)에 의해

$$\nabla f(x,y,z)=\big\langle\sin yz,\;xz\cos yz,\;xy\cos yz\big\rangle$$

이다.

(b) 점 $(1,3,0)$에서는 $yz=3\cdot0=0$이므로 $\sin0=0$, $\cos0=1$이고,

$$\nabla f(1,3,0)=\langle\sin0,\;1\cdot0\cdot\cos0,\;1\cdot3\cdot\cos0\rangle=\langle0,\,0,\,3\rangle$$

이다. $\mathbf v=\mathbf i+2\mathbf j-\mathbf k$는 $\lvert\mathbf v\rvert=\sqrt{1+4+1}=\sqrt6$로 단위벡터가 아니므로 정규화하면 $\mathbf u=\dfrac1{\sqrt6}\langle1,2,-1\rangle$이고, 식 (14)에 의해

$$D_{\mathbf u}f(1,3,0)=\nabla f(1,3,0)\cdot\mathbf u=\langle0,0,3\rangle\cdot\frac1{\sqrt6}\langle1,2,-1\rangle=\frac1{\sqrt6}(0+0-3)=-\frac3{\sqrt6}$$

를 얻는다. 분모를 유리화하면 $D_{\mathbf u}f(1,3,0)=-\dfrac3{\sqrt6}=-\dfrac{\sqrt6}2=-\sqrt{\dfrac32}\approx-1.22$이다.

English

Let $f(x,y,z)=x\sin yz$.

(a) Find the gradient $\nabla f(x,y,z)$.

(b) Find the directional derivative of $f$ at the point $(1,3,0)$ in the direction of $\mathbf v=\mathbf i+2\mathbf j-\mathbf k$.

(a) Compute the three partial derivatives of $f(x,y,z)=x\sin yz$: with respect to $x$ hold $\sin yz$ fixed, and with respect to $y,z$ hold $x$ fixed and apply the Chain Rule to $\sin(yz)$.

$$\begin{aligned}f_x&=\sin yz,\\[2pt] f_y&=xz\cos yz,\\[2pt] f_z&=xy\cos yz,\end{aligned}$$

so by (13)

$$\nabla f(x,y,z)=\big\langle\sin yz,\;xz\cos yz,\;xy\cos yz\big\rangle.$$

(b) At $(1,3,0)$, $yz=3\cdot0=0$, so $\sin0=0$ and $\cos0=1$, giving

$$\nabla f(1,3,0)=\langle\sin0,\;1\cdot0\cdot\cos0,\;1\cdot3\cdot\cos0\rangle=\langle0,\,0,\,3\rangle.$$

Since $\mathbf v=\mathbf i+2\mathbf j-\mathbf k$ has $\lvert\mathbf v\rvert=\sqrt{1+4+1}=\sqrt6\neq1$, normalize it to $\mathbf u=\dfrac1{\sqrt6}\langle1,2,-1\rangle$, and by (14)

$$D_{\mathbf u}f(1,3,0)=\nabla f(1,3,0)\cdot\mathbf u=\langle0,0,3\rangle\cdot\frac1{\sqrt6}\langle1,2,-1\rangle=\frac1{\sqrt6}(0+0-3)=-\frac3{\sqrt6}.$$

Rationalizing, $D_{\mathbf u}f(1,3,0)=-\dfrac3{\sqrt6}=-\dfrac{\sqrt6}2=-\sqrt{\dfrac32}\approx-1.22$.

EXAM 6 최대 증가 방향과 최대 변화율 Direction of Fastest IncreaseExample 6 · p.1038–1039
한국어

$f(x,y)=xe^{y}$에 대하여 다음을 구하라.

(a) 점 $P(2,0)$에서 점 $Q\!\left(\tfrac12,\,2\right)$로 향하는 방향의 $f$의 변화율.

(b) 점 $P(2,0)$에서 $f$가 가장 빠르게 증가하는 방향과 그때의 최대 변화율.

(a) $f(x,y)=xe^y$의 편도함수는 $f_x=e^y$, $f_y=xe^y$이므로 $\nabla f(x,y)=\langle e^y,\,xe^y\rangle$이고, 점 $P(2,0)$에서는 $e^0=1$이므로

$$\nabla f(2,0)=\langle1,\,2\rangle$$

이다. $P$에서 $Q\!\left(\tfrac12,2\right)$로 향하는 방향은 $\overrightarrow{PQ}=\big\langle\tfrac12-2,\;2-0\big\rangle=\big\langle-\tfrac32,\,2\big\rangle$이며, 그 크기는 $\lvert\overrightarrow{PQ}\rvert=\sqrt{\big(\tfrac32\big)^2+2^2}=\sqrt{\tfrac94+4}=\sqrt{\tfrac{25}4}=\tfrac52$이다. 이를 정규화하면

$$\mathbf u=\frac{\overrightarrow{PQ}}{\lvert\overrightarrow{PQ}\rvert}=\frac{\big\langle-\tfrac32,2\big\rangle}{\tfrac52}=\Big\langle-\frac35,\,\frac45\Big\rangle$$

이고, 구하는 변화율은

$$D_{\mathbf u}f(2,0)=\nabla f(2,0)\cdot\mathbf u=1\cdot\Big(-\frac35\Big)+2\cdot\frac45=-\frac35+\frac85=1$$

이다.

(b) 정리 15에 의해 $f$가 가장 빠르게 증가하는 방향은 $\nabla f(2,0)=\langle1,2\rangle$의 방향(단위벡터로는 $\tfrac1{\sqrt5}\langle1,2\rangle$)이고, 그때의 최대 변화율은

$$\lvert\nabla f(2,0)\rvert=\sqrt{1^2+2^2}=\sqrt5$$

이다. (a)의 답 $1$이 이 최댓값 $\sqrt5\approx2.24$보다 작다는 사실은 $\overrightarrow{PQ}$ 방향이 기울기 방향과 다르다는 것과 일치한다.

English

Let $f(x,y)=xe^{y}$.

(a) Find the rate of change of $f$ at the point $P(2,0)$ in the direction from $P$ to $Q\!\left(\tfrac12,\,2\right)$.

(b) In which direction does $f$ increase fastest at $P(2,0)$, and what is that maximum rate of change?

(a) Since $f(x,y)=xe^y$ has $f_x=e^y$ and $f_y=xe^y$, $\nabla f(x,y)=\langle e^y,\,xe^y\rangle$, and at $P(2,0)$, using $e^0=1$,

$$\nabla f(2,0)=\langle1,\,2\rangle.$$

The direction from $P$ to $Q\!\left(\tfrac12,2\right)$ is $\overrightarrow{PQ}=\big\langle\tfrac12-2,\;2-0\big\rangle=\big\langle-\tfrac32,\,2\big\rangle$, with magnitude $\lvert\overrightarrow{PQ}\rvert=\sqrt{\big(\tfrac32\big)^2+2^2}=\sqrt{\tfrac94+4}=\sqrt{\tfrac{25}4}=\tfrac52$. Normalizing,

$$\mathbf u=\frac{\overrightarrow{PQ}}{\lvert\overrightarrow{PQ}\rvert}=\frac{\big\langle-\tfrac32,2\big\rangle}{\tfrac52}=\Big\langle-\frac35,\,\frac45\Big\rangle,$$

and the requested rate of change is

$$D_{\mathbf u}f(2,0)=\nabla f(2,0)\cdot\mathbf u=1\cdot\Big(-\frac35\Big)+2\cdot\frac45=-\frac35+\frac85=1.$$

(b) By Theorem 15, $f$ increases fastest at $P$ in the direction of $\nabla f(2,0)=\langle1,2\rangle$ (unit vector $\tfrac1{\sqrt5}\langle1,2\rangle$), with maximum rate of change

$$\lvert\nabla f(2,0)\rvert=\sqrt{1^2+2^2}=\sqrt5.$$

The answer $1$ from part (a) is smaller than this maximum $\sqrt5\approx2.24$, consistent with the fact that the direction of $\overrightarrow{PQ}$ is not the direction of the gradient.

EXAM 7 온도가 가장 빨리 증가하는 방향 Fastest Temperature Increase in SpaceExample 7 · p.1039
한국어

공간의 점 $(x,y,z)$에서의 온도가

$$T(x,y,z)=\frac{80}{1+x^2+2y^2+3z^2}$$

로 주어져 있다. 여기서 $T$의 단위는 °C이고 $x,y,z$의 단위는 m이다. 점 $(1,1,-2)$에서 온도가 가장 빠르게 증가하는 방향을 구하고, 그때의 최대 증가율을 구하라.

풀이. $q(x,y,z)=1+x^2+2y^2+3z^2$로 두면 $T=80/q$이고, 몫의 미분(또는 연쇄법칙)에 의해

$$\begin{aligned}T_x&=-\frac{80\cdot2x}{q^2}=-\frac{160x}{q^2},\\[2pt] T_y&=-\frac{320y}{q^2},\\[2pt] T_z&=-\frac{480z}{q^2}\end{aligned}$$

이므로

$$\nabla T=\frac{160}{q^2}\big(-x\,\mathbf i-2y\,\mathbf j-3z\,\mathbf k\big)$$

이다. 점 $(1,1,-2)$에서는 $q=1+1+2+3\cdot4=1+1+2+12=16$이므로 $q^2=256$이고,

$$\nabla T(1,1,-2)=\frac{160}{256}\langle-1,\,-2,\,6\rangle=\frac58\langle-1,\,-2,\,6\rangle$$

를 얻는다($-3z=-3\cdot(-2)=6$에 유의). 정리 15에 의해 온도가 가장 빠르게 증가하는 방향은 $\nabla T(1,1,-2)$, 즉 $-\mathbf i-2\mathbf j+6\mathbf k$의 방향(단위벡터로는 $\tfrac1{\sqrt{41}}\langle-1,-2,6\rangle$)이고, 최대 증가율은

$$\lvert\nabla T(1,1,-2)\rvert=\frac58\sqrt{(-1)^2+(-2)^2+6^2}=\frac58\sqrt{41}\approx4.00\;{}^\circ\text{C/m}$$

이다.

English

The temperature at a point $(x,y,z)$ in space is

$$T(x,y,z)=\frac{80}{1+x^2+2y^2+3z^2},$$

where $T$ is measured in degrees Celsius and $x,y,z$ in meters. Determine the direction in which the temperature increases fastest at the point $(1,1,-2)$, and find that maximum rate of increase.

Solution. Let $q(x,y,z)=1+x^2+2y^2+3z^2$, so $T=80/q$; the quotient (or chain) rule gives

$$\begin{aligned}T_x&=-\frac{80\cdot2x}{q^2}=-\frac{160x}{q^2},\\[2pt] T_y&=-\frac{320y}{q^2},\\[2pt] T_z&=-\frac{480z}{q^2},\end{aligned}$$

so

$$\nabla T=\frac{160}{q^2}\big(-x\,\mathbf i-2y\,\mathbf j-3z\,\mathbf k\big).$$

At $(1,1,-2)$, $q=1+1+2+3\cdot4=1+1+2+12=16$, so $q^2=256$, and

$$\nabla T(1,1,-2)=\frac{160}{256}\langle-1,\,-2,\,6\rangle=\frac58\langle-1,\,-2,\,6\rangle$$

(note $-3z=-3\cdot(-2)=6$). Theorem 15 then says that the temperature climbs fastest along $\nabla T(1,1,-2)$, that is, in the direction of $-\mathbf i-2\mathbf j+6\mathbf k$ (unit vector $\tfrac1{\sqrt{41}}\langle-1,-2,6\rangle$), with maximum rate of increase

$$\lvert\nabla T(1,1,-2)\rvert=\frac58\sqrt{(-1)^2+(-2)^2+6^2}=\frac58\sqrt{41}\approx4.00\;{}^\circ\text{C/m}.$$
EXAM 8 타원면의 접평면과 법선 Tangent Plane and Normal Line to an EllipsoidExample 8 · p.1040–1041
한국어

타원면

$$\frac{x^2}{4}+y^2+\frac{z^2}{9}=3$$

위의 점 $(-2,1,-3)$에서, 이 곡면의 접평면의 방정식과 법선의 대칭방정식을 구하라.

풀이. 타원면을 $F(x,y,z)=\dfrac{x^2}4+y^2+\dfrac{z^2}9$로 놓으면 이 곡면은 $F(x,y,z)=3$인 $F$의 등위면이다. 편도함수는

$$F_x=\frac x2,\qquad F_y=2y,\qquad F_z=\frac{2z}9$$

이며, 점 $(-2,1,-3)$에서는

$$\begin{aligned}F_x(-2,1,-3)&=-1,\\[2pt] F_y(-2,1,-3)&=2,\\[2pt] F_z(-2,1,-3)&=\frac{2(-3)}9=-\frac23\end{aligned}$$

이다(이 점이 실제로 곡면 위에 있음은 $\tfrac{(-2)^2}4+1^2+\tfrac{(-3)^2}9=1+1+1=3$으로 확인된다). 식 (19)에 대입하면 접평면은

$$-1(x+2)+2(y-1)-\frac23(z+3)=0$$

이고, 양변에 $-3$을 곱해 분수를 없애면

$$3(x+2)-6(y-1)+2(z+3)=0\;\Longrightarrow\;3x-6y+2z+18=0$$

이다. 법선은 방향벡터 $\nabla F(-2,1,-3)=\big\langle-1,2,-\tfrac23\big\rangle$을 가지므로, 식 (20)에 의해 대칭방정식은

$$\frac{x+2}{-1}=\frac{y-1}2=\frac{z+3}{-2/3}$$

이다. 따라서 접평면은 $3x-6y+2z+18=0$이고, 법선은 위 대칭방정식으로 주어진다.

English

Find equations of the tangent plane and of the normal line to the ellipsoid

$$\frac{x^2}{4}+y^2+\frac{z^2}{9}=3$$

at the point $(-2,1,-3)$, giving the normal line in symmetric form.

Solution. Write the ellipsoid as the level surface $F(x,y,z)=3$ of $F(x,y,z)=\dfrac{x^2}4+y^2+\dfrac{z^2}9$. The partial derivatives are

$$F_x=\frac x2,\qquad F_y=2y,\qquad F_z=\frac{2z}9,$$

and at $(-2,1,-3)$,

$$\begin{aligned}F_x(-2,1,-3)&=-1,\\[2pt] F_y(-2,1,-3)&=2,\\[2pt] F_z(-2,1,-3)&=\frac{2(-3)}9=-\frac23\end{aligned}$$

(the point does lie on the surface, since $\tfrac{(-2)^2}4+1^2+\tfrac{(-3)^2}9=1+1+1=3$). Substituting into (19) gives the tangent plane

$$-1(x+2)+2(y-1)-\frac23(z+3)=0,$$

and multiplying through by $-3$ to clear the fraction,

$$3(x+2)-6(y-1)+2(z+3)=0\;\Longrightarrow\;3x-6y+2z+18=0.$$

The normal line has direction vector $\nabla F(-2,1,-3)=\big\langle-1,2,-\tfrac23\big\rangle$, so by (20) its symmetric equations are

$$\frac{x+2}{-1}=\frac{y-1}2=\frac{z+3}{-2/3}.$$

Hence the tangent plane is $3x-6y+2z+18=0$, and the normal line is given by the symmetric equations above.

EXAM 9 등위면 방법으로 구한 접평면 A Tangent Plane by the Level-Surface MethodExample 9 · p.1041
한국어

곡면 $z=2x^2+y^2$ 위의 점 $(1,1,3)$에서의 접평면의 방정식을, 이 곡면을 적당한 삼변수함수의 등위면으로 보는 방법으로 구하라. (§14.4 예제 1의 답과 비교하라.)

풀이. 곡면 $z=2x^2+y^2$을 $F(x,y,z)=2x^2+y^2-z$의 등위면 $F=0$ (즉 $k=0$)으로 본다. 편도함수는

$$F_x=4x,\qquad F_y=2y,\qquad F_z=-1$$

이며, 점 $(1,1,3)$에서는 $F_x=4$, $F_y=2$, $F_z=-1$이다. 식 (19)에 대입하면

$$4(x-1)+2(y-1)-(z-3)=0$$

이고, 이를 정리하면

$$4x-4+2y-2-z+3=0\;\Longrightarrow\;4x+2y-z-3=0\;\Longrightarrow\;z=4x+2y-3$$

이다. 이는 §14.4 예제 1에서 그래프의 접평면 공식 $z-z_0=f_x(x_0,y_0)(x-x_0)+f_y(x_0,y_0)(y-y_0)$으로 직접 구한 답과 정확히 일치하며, 이는 REM 15에서 확인한 대로 등위면 방법이 그래프의 접평면 정의를 특수한 경우로 포함하기 때문이다.

English

Find the tangent plane to the surface $z=2x^2+y^2$ at the point $(1,1,3)$ by regarding the surface as a level surface of a suitable function of three variables. (Compare the answer with Example 14.4.1.)

Solution. View the surface $z=2x^2+y^2$ as the level surface $F=0$ (i.e. $k=0$) of $F(x,y,z)=2x^2+y^2-z$. The partial derivatives are

$$F_x=4x,\qquad F_y=2y,\qquad F_z=-1,$$

and at $(1,1,3)$, $F_x=4$, $F_y=2$, $F_z=-1$. Substituting into (19) gives

$$4(x-1)+2(y-1)-(z-3)=0,$$

which simplifies to

$$4x-4+2y-2-z+3=0\;\Longrightarrow\;4x+2y-z-3=0\;\Longrightarrow\;z=4x+2y-3.$$

This is exactly the answer obtained directly from the graph formula $z-z_0=f_x(x_0,y_0)(x-x_0)+f_y(x_0,y_0)(y-y_0)$ in Example 14.4.1, as it must be, since the level-surface method contains the graph definition as a special case (REM 15).

연결 · Links