简答题(共13题,70.0分)27.(5.4分)已知函数f(x)={}bx+a+2,xgeq0e^ax-1,x<0.处处可导,求a,b
题目解答
答案
为了确定 $a$ 和 $b$ 的值,使得函数 $f(x) = \begin{cases} bx + a + 2, & x \geq 0 \\ e^{ax} - 1, & x < 0 \end{cases}$ 处处可导,我们需要确保函数在 $x = 0$ 处既连续又可导。
步骤1:检查函数在 $x = 0$ 处的连续性
函数在 $x = 0$ 处连续,当且仅当 $\lim_{x \to 0^-} f(x) = f(0) = \lim_{x \to 0^+} f(x)$。
-
计算 $f(0)$:
$f(0) = b \cdot 0 + a + 2 = a + 2$ -
计算 $\lim_{x \to 0^-} f(x)$:
$\lim_{x \to 0^-} f(x) = \lim_{x \to 0^-} (e^{ax} - 1) = e^{a \cdot 0} - 1 = 1 - 1 = 0$ -
计算 $\lim_{x \to 0^+} f(x)$:
$\lim_{x \to 0^+} f(x) = \lim_{x \to 0^+} (bx + a + 2) = b \cdot 0 + a + 2 = a + 2$
为了使函数在 $x = 0$ 处连续,必须有:
$\lim_{x \to 0^-} f(x) = f(0) = \lim_{x \to 0^+} f(x) \implies 0 = a + 2 \implies a = -2$
步骤2:检查函数在 $x = 0$ 处的可导性
函数在 $x = 0$ 处可导,当且仅当 $\lim_{x \to 0^-} \frac{f(x) - f(0)}{x} = \lim_{x \to 0^+} \frac{f(x) - f(0)}{x}$。
-
计算 $\lim_{x \to 0^+} \frac{f(x) - f(0)}{x}$:
$\lim_{x \to 0^+} \frac{f(x) - f(0)}{x} = \lim_{x \to 0^+} \frac{(bx + a + 2) - (a + 2)}{x} = \lim_{x \to 0^+} \frac{bx}{x} = \lim_{x \to 0^+} b = b$ -
计算 $\lim_{x \to 0^-} \frac{f(x) - f(0)}{x}$:
$\lim_{x \to 0^-} \frac{f(x) - f(0)}{x} = \lim_{x \to 0^-} \frac{(e^{ax} - 1) - (a + 2)}{x} = \lim_{x \to 0^-} \frac{e^{ax} - 1 - (-2 + 2)}{x} = \lim_{x \to 0^-} \frac{e^{ax} - 1}{x}$
使用洛必达法则:
$\lim_{x \to 0^-} \frac{e^{ax} - 1}{x} = \lim_{x \to 0^-} \frac{ae^{ax}}{1} = a \cdot e^{a \cdot 0} = a = -2$
为了使函数在 $x = 0$ 处可导,必须有:
$\lim_{x \to 0^-} \frac{f(x) - f(0)}{x} = \lim_{x \to 0^+} \frac{f(x) - f(0)}{x} \implies -2 = b \implies b = -2$
结论
满足条件的 $a$ 和 $b$ 的值为:
$\boxed{a = -2, b = -2}$
解析
关键思路:分段函数在分界点处可导的条件是连续且左右导数相等。
- 连续性:左右极限在分界点$x=0$处相等,且等于函数值$f(0)$。
- 可导性:左右导数在$x=0$处相等。
破题关键:
- 通过连续性确定$a$的值。
- 通过左右导数相等确定$b$的值,注意左导数需用导数定义或洛必达法则计算。
步骤1:检查连续性
当$x \to 0^-$时,$f(x) = e^{ax} - 1$,极限为$e^{0} - 1 = 0$;
当$x \to 0^+$时,$f(x) = bx + a + 2$,极限为$a + 2$;
函数在$x=0$处连续,需满足:
$0 = a + 2 \implies a = -2.$
步骤2:检查可导性
- 右导数:当$x > 0$时,$f(x) = bx + a + 2$,导数为$b$,故右导数为$b$。
- 左导数:当$x < 0$时,$f(x) = e^{ax} - 1$,导数为$a e^{ax}$。
但需用导数定义计算左导数:
$\lim_{x \to 0^-} \frac{e^{ax} - 1 - f(0)}{x} = \lim_{x \to 0^-} \frac{e^{ax} - 1}{x}.$
代入$a = -2$,得:
$\lim_{x \to 0^-} \frac{e^{-2x} - 1}{x} = \lim_{x \to 0^-} \frac{-2x}{x} = -2.$
因此左导数为$-2$,右导数$b$需满足:
$b = -2.$