関数 $f(x, y) = \frac{1}{x^2 + y^2}$ について、以下の2つの問いに答えます。 (a) $\text{grad} \frac{1}{x^2 + y^2}$ を求める。 (b) $\frac{\partial f}{\partial l}(a, b) = 0$ となる方向 $l$ を求める。ただし、$(a, b) \neq (0, 0)$ とする。

解析学偏微分勾配方向微分ベクトル解析多変数関数
2025/6/27

1. 問題の内容

関数 f(x,y)=1x2+y2f(x, y) = \frac{1}{x^2 + y^2} について、以下の2つの問いに答えます。
(a) grad1x2+y2\text{grad} \frac{1}{x^2 + y^2} を求める。
(b) fl(a,b)=0\frac{\partial f}{\partial l}(a, b) = 0 となる方向 ll を求める。ただし、(a,b)(0,0)(a, b) \neq (0, 0) とする。

2. 解き方の手順

(a) 勾配(グラディエント)を求める。
まず、f(x,y)=1x2+y2f(x, y) = \frac{1}{x^2 + y^2} の偏微分を計算します。
fx=x(x2+y2)1=(x2+y2)22x=2x(x2+y2)2\frac{\partial f}{\partial x} = \frac{\partial}{\partial x} (x^2 + y^2)^{-1} = -(x^2 + y^2)^{-2} \cdot 2x = -\frac{2x}{(x^2 + y^2)^2}
fy=y(x2+y2)1=(x2+y2)22y=2y(x2+y2)2\frac{\partial f}{\partial y} = \frac{\partial}{\partial y} (x^2 + y^2)^{-1} = -(x^2 + y^2)^{-2} \cdot 2y = -\frac{2y}{(x^2 + y^2)^2}
よって、勾配は次のようになります。
gradf(x,y)=(fx,fy)=(2x(x2+y2)2,2y(x2+y2)2)\text{grad} f(x, y) = \left( \frac{\partial f}{\partial x}, \frac{\partial f}{\partial y} \right) = \left( -\frac{2x}{(x^2 + y^2)^2}, -\frac{2y}{(x^2 + y^2)^2} \right)
(b) 方向微分が0になる方向を求める。
方向 l=(cosθ,sinθ)l = (\cos \theta, \sin \theta) とします。
方向微分は次のように計算できます。
fl(a,b)=gradf(a,b)l=(2a(a2+b2)2,2b(a2+b2)2)(cosθ,sinθ)\frac{\partial f}{\partial l}(a, b) = \text{grad} f(a, b) \cdot l = \left( -\frac{2a}{(a^2 + b^2)^2}, -\frac{2b}{(a^2 + b^2)^2} \right) \cdot (\cos \theta, \sin \theta)
fl(a,b)=2acosθ(a2+b2)22bsinθ(a2+b2)2\frac{\partial f}{\partial l}(a, b) = -\frac{2a \cos \theta}{(a^2 + b^2)^2} - \frac{2b \sin \theta}{(a^2 + b^2)^2}
fl(a,b)=0\frac{\partial f}{\partial l}(a, b) = 0 となるためには、
2acosθ(a2+b2)22bsinθ(a2+b2)2=0-\frac{2a \cos \theta}{(a^2 + b^2)^2} - \frac{2b \sin \theta}{(a^2 + b^2)^2} = 0
2acosθ+2bsinθ=02a \cos \theta + 2b \sin \theta = 0
acosθ+bsinθ=0a \cos \theta + b \sin \theta = 0
bsinθ=acosθb \sin \theta = -a \cos \theta
tanθ=sinθcosθ=ab\tan \theta = \frac{\sin \theta}{\cos \theta} = -\frac{a}{b}
したがって、方向 ll は、tanθ=ab\tan \theta = -\frac{a}{b} を満たす方向です。

3. 最終的な答え

(a) grad1x2+y2=(2x(x2+y2)2,2y(x2+y2)2)\text{grad} \frac{1}{x^2 + y^2} = \left( -\frac{2x}{(x^2 + y^2)^2}, -\frac{2y}{(x^2 + y^2)^2} \right)
(b) tanθ=ab\tan \theta = -\frac{a}{b} を満たす方向。