Skip to content
CalcGospel 微積分福音
返回

111 台灣大學微積分(B) 第 11 題

考題 / 轉學考微積分 / 台灣大學 / 微積分B

111學年度 · 111台大微積分B · 第 11 題

題目

Problem

  1. Consider the function f:R2Rf : \mathbb{R}^2 \to \mathbb{R} defined by
f(x,y)={xsin(y2)x2+y2if (x,y)(0,0)0if (x,y)=(0,0)f(x, y) = \begin{cases} \frac{x\sin(y^2)}{x^2+y^2} & \text{if } (x,y) \neq (0,0) \\ 0 & \text{if } (x,y) = (0,0) \end{cases}

(a) Is ff continuous at (0,0)(0, 0)? Justify your answer. (5 points)

(b) Let u=ai+bj\mathbf{u} = a\mathbf{i} + b\mathbf{j} be a unit vector. Find the directional derivative of ff at (0,0)(0, 0) in the direction u\mathbf{u}. Express your answer in terms of aa and bb. (5 points)

(c) Find the direction(s) that ff changes the most rapidly at (0,0)(0, 0). (5 points)

解答

(a)

解法一

思路

展開
  1. 我們需要檢驗 lim(x,y)(0,0)f(x,y)\lim_{(x,y)\to(0,0)} f(x,y) 是否等於 f(0,0)=0f(0,0) = 0
  2. 藉由分子分母同除以 y2y^2,把原式拆解成與已知極限 limu0sinuu=1\lim_{u\to 0}\frac{\sin u}{u} = 1 相關的項。
  3. 利用夾擠定理證明剩餘部分的極限為 00,即可判定連續性。

答題過程

展開

我們需要檢驗 lim(x,y)(0,0)f(x,y)\displaystyle\lim_{(x,y)\to(0,0)} f(x,y) 是否等於 f(0,0)=0f(0,0) = 0

將極限式改寫:

lim(x,y)(0,0)xsin(y2)x2+y2=lim(x,y)(0,0)(xy2x2+y2sin(y2)y2)\lim_{(x,y)\to(0,0)} \frac{x\sin(y^2)}{x^2+y^2} = \lim_{(x,y)\to(0,0)} \left( \frac{xy^2}{x^2+y^2} \cdot \frac{\sin(y^2)}{y^2} \right)

我們知道:

lim(x,y)(0,0)sin(y2)y2=1\lim_{(x,y)\to(0,0)} \frac{\sin(y^2)}{y^2} = 1

對於第一項,利用不等式恆等式:

0xy2x2+y2=xy2x2+y2x0 \le \left| \frac{xy^2}{x^2+y^2} \right| = |x| \cdot \frac{y^2}{x^2+y^2} \le |x|

(因為對任意 (x,y)(0,0)(x,y) \neq (0,0),皆有 y2x2+y21\frac{y^2}{x^2+y^2} \le 1

由於 lim(x,y)(0,0)x=0\displaystyle\lim_{(x,y)\to(0,0)} |x| = 0,根據夾擠定理:

lim(x,y)(0,0)xy2x2+y2=0\lim_{(x,y)\to(0,0)} \frac{xy^2}{x^2+y^2} = 0

因此,

lim(x,y)(0,0)f(x,y)=01=0=f(0,0)\lim_{(x,y)\to(0,0)} f(x,y) = 0 \cdot 1 = 0 = f(0,0)

ff(0,0)(0,0) 處是連續的


(b)

解法一

思路

展開
  1. 依據方向導數的定義(注意此處 ff 在原點並不一定可微,必須使用定義式計算): Duf(0,0)=limh0f(ha,hb)f(0,0)hD_{\mathbf{u}}f(0, 0) = \lim_{h\to 0} \frac{f(ha, hb) - f(0, 0)}{h}
  2. x=ha,y=hbx=ha, y=hb 代入 ff 進行極限化簡,並結合單位方向向量約束 a2+b2=1a^2+b^2=1

答題過程

展開

依據方向導數的定義:

Duf(0,0)=limh0f(ha,hb)f(0,0)hD_{\mathbf{u}}f(0, 0) = \lim_{h\to 0} \frac{f(ha, hb) - f(0, 0)}{h}

其中 u=ai+bj\mathbf{u} = a\mathbf{i} + b\mathbf{j} 為單位向量,即 a2+b2=1a^2+b^2=1

x=ha,y=hbx = ha, y = hb 代入 ff 中:

  • a=0a = 0 (即方向為垂直 yy 軸, u=±j\mathbf{u} = \pm \mathbf{j}):

    Duf(0,0)=limh0f(0,±h)0h=limh000h=0D_{\mathbf{u}}f(0,0) = \lim_{h\to 0} \frac{f(0, \pm h) - 0}{h} = \lim_{h\to 0} \frac{0 - 0}{h} = 0

    此時 ab2=0b2=0a b^2 = 0 \cdot b^2 = 0,依然符合公式。

  • a0a \neq 0

    Duf(0,0)=limh01h(hasin(h2b2)h2a2+h2b20)=limh0asin(h2b2)h2(a2+b2)D_{\mathbf{u}}f(0, 0) = \lim_{h\to 0} \frac{1}{h} \left( \frac{ha\sin(h^2b^2)}{h^2a^2 + h^2b^2} - 0 \right) = \lim_{h\to 0} \frac{a\sin(h^2b^2)}{h^2(a^2+b^2)}

    因為 u\mathbf{u} 為單位向量, a2+b2=1a^2+b^2=1

    =alimh0sin(h2b2)h2=alimh0(sin(h2b2)h2b2b2)=ab2limh0sin(h2b2)h2b2= a \lim_{h\to 0} \frac{\sin(h^2b^2)}{h^2} = a \lim_{h\to 0} \left( \frac{\sin(h^2b^2)}{h^2b^2} \cdot b^2 \right) = ab^2 \lim_{h\to 0} \frac{\sin(h^2b^2)}{h^2b^2}

    由於 limh0h2b2=0\displaystyle\lim_{h\to 0} h^2 b^2 = 0,故 limh0sin(h2b2)h2b2=1\displaystyle\lim_{h\to 0} \frac{\sin(h^2b^2)}{h^2b^2} = 1。 所以:

    Duf(0,0)=ab2D_{\mathbf{u}}f(0,0) = \boxed{ab^2}

綜合以上,對任意單位方向向量 u=ai+bj\mathbf{u} = a\mathbf{i} + b\mathbf{j},其方向導數為 ab2\boxed{ab^2}


(c)

解法一

思路

展開
  1. 題意「changes the most rapidly」意指方向導數的絕對值最大(包括最大增加率與最大減少率)。
  2. 我們需要最大化(或最小化) ab2ab^2,約束條件為 a2+b2=1a^2+b^2=1
  3. 利用單變數求導或拉格朗日乘子法求解,並列出所有對應方向。

答題過程

展開

我們欲求使 ab2|ab^2| 最大的單位方向向量 u=a,b\mathbf{u} = \langle a, b \rangle(滿足 a2+b2=1a^2+b^2=1)。 由約束條件知 b2=1a2b^2 = 1 - a^2,代入目標函數得:

g(a)=a(1a2)=aa3,a[1,1]g(a) = a(1 - a^2) = a - a^3, \quad a \in [-1, 1]

對其求導尋找極值點:

g(a)=13a2=0    a=±13g'(a) = 1 - 3a^2 = 0 \implies a = \pm \frac{1}{\sqrt{3}}

此時 b2=1a2=113=23    b=±23b^2 = 1 - a^2 = 1 - \frac{1}{3} = \frac{2}{3} \implies b = \pm \sqrt{\frac{2}{3}}

  • 變化最快(增加)的方向:當 a=13a = \frac{1}{\sqrt{3}}b=±23b = \pm \sqrt{\frac{2}{3}} 時,方向導數為正的最大值:

    Duf(0,0)max=13(23)=239D_{\mathbf{u}}f(0,0)_{\max} = \frac{1}{\sqrt{3}} \left(\frac{2}{3}\right) = \frac{2\sqrt{3}}{9}

    對應的方向為:

    u=(13,±23)\mathbf{u} = \boxed{\left( \frac{1}{\sqrt{3}}, \pm \sqrt{\frac{2}{3}} \right)}
  • 變化最快(減少)的方向:當 a=13a = -\frac{1}{\sqrt{3}}b=±23b = \pm \sqrt{\frac{2}{3}} 時,方向導數為負的最小值(絕對值最大):

    Duf(0,0)min=239D_{\mathbf{u}}f(0,0)_{\min} = -\frac{2\sqrt{3}}{9}

    對應的方向為:

    u=(13,±23)\mathbf{u} = \boxed{\left( -\frac{1}{\sqrt{3}}, \pm \sqrt{\frac{2}{3}} \right)}

綜合以上,變化最劇烈的四個方向向量為:

u=(±13,±23)\mathbf{u} = \boxed{\left( \pm \frac{1}{\sqrt{3}}, \pm \sqrt{\frac{2}{3}} \right)}