題目
Problem
3. Consider a function f:(−π,π)→R defined by
f(x)={sinx+sinxaxx2+bx+5if −π<x<0if 0≤x<π
If f is differentiable on (−π,π), then (a,b)=(6).
解答
解法一
思路
展開
- 若 f 在 (−π,π) 上可微,則 f 在 x=0 處必須連續且可微。
- 連續性:左極限必須等於右極限,即 limx→0−f(x)=limx→0+f(x)=f(0)。藉此決定 a。
- 可微性:左導數必須等於右導數,即 f−′(0)=f+′(0)。藉此決定 b。
答題過程
展開
第一步:由連續性求 a
當 x→0− 時,左極限為:
x→0−limf(x)=x→0−lim(sinx+asinxx)=0+a(1)=a
當 x→0+ 時,右極限及函數值為:
x→0+limf(x)=f(0)=02+b(0)+5=5
因為 f(x) 在 x=0 處連續,故:
a=5
第二步:由可微性求 b
利用導數定義求左導數(此時 a=5,f(0)=5):
f−′(0)=x→0−limx−0f(x)−f(0)=x→0−limxsinx+sinx5x−5=x→0−lim(xsinx+5⋅xsinxx−sinx)
我們已知:
x→0−limxsinx=1
對於第二項,利用泰勒展開式 sinx=x−6x3+O(x5):
x→0−limxsinxx−sinx=x→0−limx(x+O(x3))6x3+O(x5)=x→0−limx26x3=0
故:
f−′(0)=1+5(0)=1
接著求右導數:
f+′(0)=x→0+limx−0f(x)−f(0)=x→0+limxx2+bx+5−5=x→0+lim(x+b)=b
因為 f(x) 在 x=0 處可微,故左導數等於右導數:
b=f−′(0)=1
因此,數對 (a,b)=(5,1)。