3.1 The Derivative as a Function

33 阅读5分钟

这一节继续上一章关于切线和斜率的讨论,我们知道对于函数f(x),在x0x_0的切线的斜率可以由:

m=limh0f(x0+h)f(x0)hm = \lim_{h \to 0}\frac{f(x_0 + h) - f(x_0)}{h}

求得,称m为f(x)在x0x_0处的导数(derivative)。如果我们考察函数每一个x处的导数,那么可以得到:

f(x)=limh0f(x+h)f(x)hf'(x) = \lim_{h \to 0}\frac{f(x + h) - f(x)}{h}

f(x)f'(x)称为f(x)的导函数(derivative function)。


f(x)在x0x_0处有导数,我们称为f(x)在x0x_0处可微(differentiable),如果f(x)在定义域内处处可微,那么可以称f(x)可微。

如果设z=x+hz = x + h,那么导函数可以表达为:

f(x)=limzxf(z)f(x)zxf'(x) = \lim_{z \to x}\frac{f(z) - f(x)}{z -x}

求导数的计算过程称之为微分(differentiation),上面这种表达方式在求某些函数的导数的时候比较方便。


一些表达微分的常见符号:

f(c)=y=dydx=dfdx=ddxf(x)=D(f)(x)=Dxf(x)f'(c) = y' = \frac{dy}{dx} = \frac{df}{dx} = \frac{d}{dx}f(x) = D(f)(x) = D_xf(x)



可微的判断

可微的定义是通过极限来描述的,所以可微的判断等价于判断对应极限是否存在。由于极限有单向极限的存在,可微也有相同的概念,另外极限为无穷,也等同于不可微。


区间内的可微判断

f(x)在一个开区间内可微,当且仅当它在区间内各个点都可微。f(x)在一个闭区间内可微,当且仅当它在区间内给个点都可微,且在端点a和b处分别存在左和右导数。



可微和连续的关系

这是很重要的概念,它指的是如果函数f在x=c处可微,那么它在x=c处连续

证明:

如果f在x=c处连续,那么根据连续定义,需要证明

limxcf(x)=f(c)\lim_{x \to c}f(x) = f(c)

我们将其转换成另一种形式(思维突破点)

limxc[f(x)f(c)]=0\lim_{x \to c}[f(x) - f(c)] = 0

要证明以上式子成立,我们根据已知即f在x=c处可微,存在

limxcf(x)f(c)xc\lim_{x \to c}\frac{f(x) - f(c)}{x - c}

我们观察f(x)f(c)xc\frac{f(x) - f(c)}{x - c}f(x)f(c)f(x) - f(c),比较相似,要将f(x)f(c)xc\frac{f(x) - f(c)}{x - c}转换为f(x)f(c)f(x) - f(c),可以写成

f(x)f(c)xc(xc)\frac{f(x) - f(c)}{x - c}\cdot (x - c)

变成要证明

limxc[f(x)f(c)xc(xc)]=0\lim_{x \to c}[\frac{f(x) - f(c)}{x - c}\cdot (x - c)] = 0

首先,f(x)f(c)xc(xc)\frac{f(x) - f(c)}{x - c}\cdot (x - c)在x=c处的极限是否存在?我们知道存在

limxc(xc)=0\lim_{x \to c}(x - c) = 0

因为f在x=c处可微,那么也存在

limxcf(x)f(c)xc\lim_{x \to c}\frac{f(x) - f(c)}{x - c}

这里不需要知道x=c处的导数是多少,我们知道它存在即可。那么应用极限的乘法定理可得(这里要特别注意,极限乘法定理成立的前提是乘法的两项的极限都要存在,所以没有上面两个前提的成立,无法应用乘法定理)

limxc[f(x)f(c)xc(xc)]=limxc[f(x)f(c)xc]limxc(xc)=limxc[f(x)f(c)]=0\lim_{x \to c}[\frac{f(x) - f(c)}{x - c}\cdot (x - c)] = \lim_{x \to c}[\frac{f(x) - f(c)}{x - c}]\cdot \lim_{x \to c}(x - c) = \lim_{x \to c}[f(x) - f(c)] = 0

证毕。


要注意f在x=c处连续,不能推导出f在x=c处可微。因为要证明此推论成立的话,就要证明存在

limxcf(x)f(c)xc\lim_{x \to c}\frac{f(x) - f(c)}{x - c}

我们观察f(x)f(c)xc\frac{f(x) - f(c)}{x - c},对于x=c

limxc[f(x)f(c)]=0\lim_{x \to c}[f(x) - f(c)] = 0

并且

limxc(xc)=0\lim_{x \to c}(x - c) = 0

似乎可以应用极限的除法定理,但是除法定理要求分母不能为零,所以无法证明

limxcf(x)f(c)xc\lim_{x \to c}\frac{f(x) - f(c)}{x - c}

存在



练习

  1. f(x)=4x2f(x) = 4 - x^2;求f(3),f(0),f(1)f'(-3), f'(0), f'(1)
limh0f(x)=f(x+h)f(x)h=4(x+h)24+x2h=x2(x2+h2+2xh)h=h22xhh=h2x=2x\begin{aligned} \lim_{h \to 0}f(x) &= \frac{f(x + h) - f(x)}{h} \\ &= \frac{4 - (x + h)^2 - 4 + x^2}{h} \\ &= \frac{x^2 - (x^2 + h^2 + 2xh)}{h} \\ &= \frac{-h^2 - 2xh}{h} \\ &= - h - 2x \\ &= -2x \end{aligned}

f(3)=6f(0)=0f(1)=2\begin{aligned} \therefore f'(-3) &= 6 \\ f'(0) &= 0 \\ f'(1) &= -2 \end{aligned}

  1. F(x)=(x1)2+1F(x) = (x - 1)^2 + 1
limh0F(x)=F(x+h)F(x)h=(x+h1)2+1(x1)21h=h2+(x1)2+2h(x1)(x1)2h=h+2x2=2x2\begin{aligned} \lim_{h \to 0}F(x) &= \frac{F(x + h) - F(x)}{h} \\ &= \frac{(x + h - 1)^2 + 1 - (x - 1)^2 - 1}{h} \\ &= \frac{h^2 + (x - 1)^2 + 2h(x - 1) - (x - 1)^2}{h} \\ &= h + 2x - 2 \\ &= 2x - 2 \end{aligned}

  1. g(t)=1t2g(t) = \frac{1}{t^2}
limh0g(t)=g(t+h)g(t)h=1(t+h)21t2h=t2(t+h)2(t+h)2t2h=h22th(t+h)2t2h=h2t(t+h)2t2=2tt4=2t3\begin{aligned} \lim_{h \to 0}g(t) &= \frac{g(t + h) - g(t)}{h} \\ &= \frac{\frac{1}{(t + h)^2} - \frac{1}{t^2}}{h} \\ &= \frac{\frac{t^2 - (t + h)^2}{(t + h)^2\cdot t^2}}{h} \\ &= \frac{\frac{-h^2 - 2th}{(t + h)^2 \cdot t^2}}{h} \\ &= \frac{-h - 2t}{(t + h)^2 \cdot t^2} \\ &= \frac{-2t}{t^4} \\ &= \frac{-2}{t^3} \end{aligned}

  1. k(z)=1z2zk(z) = \frac{1 - z}{2z}
limh0k(z)=k(z+h)k(z)h=1zh2(z+h)1z2zh=2h4z2+4zh=0\begin{aligned} \lim_{h \to 0}k(z) &= \frac{k(z + h) - k(z)}{h} \\ &= \frac{\frac{1 - z - h}{2(z + h)} - \frac{1 - z}{2z}}{h} \\ &= \frac{-2h}{4z^2 + 4zh} \\ &= 0 \end{aligned}

  1. p(ϕ)=3ϕp(\phi) = \sqrt{3\phi}
limh0p(ϕ)=p(ϕ+h)p(ϕ)h=3(ϕ+h)3ϕh=(3(ϕ+h)3ϕ)h3(ϕ+h)+3ϕ3(ϕ+h)+3ϕ=3(ϕ+h)3ϕh(3(ϕ+h)+3ϕ)=33(ϕ+h)+3ϕ=323ϕ\begin{aligned} \lim_{h \to 0}p(\phi) &= \frac{p(\phi + h) - p(\phi)}{h} \\ &= \frac{\sqrt{3(\phi + h)} - \sqrt{3\phi}}{h} \\ &= \frac{(\sqrt{3(\phi + h)} - \sqrt{3\phi})}{h} \cdot \frac{\sqrt{3(\phi + h)} + \sqrt{3\phi}}{\sqrt{3(\phi + h)} + \sqrt{3\phi}} \\ &= \frac{3(\phi + h) - 3\phi}{h \cdot (\sqrt{3(\phi + h)} + \sqrt{3\phi})} \\ &= \frac{3}{\sqrt{3(\phi + h)} + \sqrt{3\phi}} \\ &= \frac{3}{2\sqrt{3\phi}} \end{aligned}

  1. r(s)=2s+1r(s) = \sqrt{2s + 1}
limh0r(s)=r(s+h)r(s)h=2(s+h)+12s+1h2(s+h)+1+2s+12(s+h)+1+2s+1=2s+2h+12s1h(2(s+h)+1+2s+1)=22(s+h)+1+2s+1=12s+1\begin{aligned} \lim_{h \to 0}r(s) &= \frac{r(s + h) - r(s)}{h} \\ &= \frac{\sqrt{2(s + h) + 1} - \sqrt{2s + 1}}{h} \cdot \frac{\sqrt{2(s + h) + 1} + \sqrt{2s + 1}}{\sqrt{2(s + h) + 1} + \sqrt{2s + 1}} \\ &= \frac{2s + 2h + 1 - 2s - 1}{h \cdot (\sqrt{2(s + h) + 1} + \sqrt{2s + 1})} \\ &= \frac{2}{\sqrt{2(s + h) + 1} + \sqrt{2s + 1}} \\ &= \frac{1}{\sqrt{2s + 1}} \end{aligned}

  1. dydx\frac{dy}{dx} if y=2x3y = 2x^3
limh0y=2(x+h)32x3h=2x2+2xh2+4x2h+2hx2+2h3+4xh22x3h=2xh+4x2+2x2+2h2+4xh=6x2\begin{aligned} \lim_{h \to 0}y &= \frac{2(x + h)^3 - 2x^3}{h} \\ &= \frac{2x^2 + 2xh^2 + 4x^2h + 2hx^2 + 2h^3 + 4xh^2 - 2x^3}{h} \\ &= 2xh + 4x^2 + 2x^2 + 2h^2 + 4xh \\ &= 6x^2 \end{aligned}

  1. drds\frac{dr}{ds} if r=s32+1r = \frac{s^3}{2} + 1
limh0r=(s+h)3s32h=3sh2+3hs2+h32h=3sh+3s2+h22=32s2\begin{aligned} \lim_{h \to 0}r &= \frac{(s + h)^3 - s^3}{2h} \\ &= \frac{3sh^2 + 3hs^2 + h^3}{2h} \\ &= \frac{3sh + 3s^2 + h^2}{2} \\ &= \frac{3}{2}s^2 \end{aligned}
  1. dsdt\frac{ds}{dt} if s=t2t+1s = \frac{t}{2t + 1}
limh0s=t+h2t+2h+1t2t+1h=(t+h)(2t+1)t(2t+2h+1)h(2t+2h+1)(2t+1)=2t2+t+2th+h2t22thth(2t+2h+1)(2t+1)=1(2t+1)2\begin{aligned} \lim_{h \to 0}s &= \frac{\frac{t + h}{2t + 2h + 1} - \frac{t}{2t + 1}}{h} \\ &= \frac{(t + h)(2t + 1) - t(2t + 2h + 1)}{h(2t + 2h + 1)(2t + 1)} \\ &= \frac{2t^2 + t + 2th + h -2t^2 -2th -t}{h(2t + 2h + 1)(2t + 1)} \\ &= \frac{1}{(2t + 1)^2} \end{aligned}

  1. dvdt\frac{dv}{dt} if v=t1tv = t - \frac{1}{t}
limh0v=t+h1t+ht+1th=h(1t+h1t)h=11t(t+h)=1+1t2\begin{aligned} \lim_{h \to 0}v &= \frac{t + h - \frac{1}{t + h} - t + \frac{1}{t}}{h} \\ &= \frac{h - (\frac{1}{t + h} - \frac{1}{t})}{h} \\ &= 1 - \frac{-1}{t(t + h)} \\ &= 1 + \frac{1}{t^2} \end{aligned}

  1. dpdq\frac{dp}{dq} if p=1q+1p = \frac{1}{\sqrt{q + 1}}
limh0p=1q+h+11q+1h=q+1q+h+1hq+h+1q+1q+1+q+h+1q+1+q+h+1=hh2(q+1)3=12(q+1)3\begin{aligned} \lim_{h \to 0}p &= \frac{\frac{1}{\sqrt{q + h + 1}} - \frac{1}{\sqrt{q + 1}}}{h} \\ &= \frac{\sqrt{q + 1} - \sqrt{q + h + 1}}{h \cdot \sqrt{q + h + 1} \cdot \sqrt{q + 1}} \cdot \frac{\sqrt{q + 1} + \sqrt{q + h + 1}}{\sqrt{q + 1} + \sqrt{q + h + 1}} \\ &= \frac{-h}{h \cdot 2(\sqrt{q + 1})^3} \\ &= \frac{-1}{2(\sqrt{q + 1})^3} \end{aligned}

  1. dzdw\frac{dz}{dw} if z=13w2z = \frac{1}{\sqrt{3w - 2}}
limh0z=13(w+h)213w2h=3w23(w+h)2h3(w+h)23w23w2+3(w+h)23w2+3(w+h)2=3h2h(3w2)3=32(3w2)3\begin{aligned} \lim_{h \to 0}z &= \frac{\frac{1}{\sqrt{3(w + h) - 2}} - \frac{1}{\sqrt{3w - 2}}}{h} \\ &= \frac{\sqrt{3w - 2} - \sqrt{3(w + h) - 2}}{h \cdot \sqrt{3(w + h) - 2} \cdot \sqrt{3w - 2}} \cdot \frac{\sqrt{3w - 2} + \sqrt{3(w + h) - 2}}{\sqrt{3w - 2} + \sqrt{3(w + h) - 2}} \\ &= \frac{-3h}{2h \cdot (\sqrt{3w -2})^3} \\ &= -\frac{3}{2 \cdot (\sqrt{3w -2})^3} \end{aligned}

13 - 22 略...


  1. f(x)=1x+2f(x) = \frac{1}{x + 2}
limzxf(z)f(x)zx=1z+21x+2zx=x+2z2(zx)(z+2)(x+2)=(zx)(zx)(z+2)(x+2)=1(x2)2\begin{aligned} \lim_{z \to x}\frac{f(z) - f(x)}{z - x} &= \frac{\frac{1}{z + 2} - \frac{1}{x + 2}}{z - x} \\ &= \frac{x + 2 - z - 2}{(z - x)(z + 2)(x + 2)} \\ &= \frac{-(z - x)}{(z - x)(z + 2)(x +2)} \\ &= \frac{-1}{(x - 2)^2} \end{aligned}

  1. f(x)=1(x1)2f(x) = \frac{1}{(x - 1)^2}
limzxf(z)f(x)zx=1(z1)21(x1)2zx=(x1)2(z1)2(zx)(z1)2(x1)2=[(x1)(z1)][(x1)+(z1)](zx)(z1)2(x1)2=(zx)(x+z2)(zx)(z1)2(x1)2=2(x1)(x1)4=2(x1)3\begin{aligned} \lim_{z \to x}\frac{f(z) - f(x)}{z - x} &= \frac{\frac{1}{(z - 1)^2} - \frac{1}{(x - 1)^2}}{z - x} \\ &= \frac{(x - 1)^2 - (z - 1)^2}{(z - x)(z - 1)^2(x - 1)^2} \\ &= \frac{[(x - 1) - (z - 1)][(x - 1) + (z - 1)]}{(z - x)(z - 1)^2(x - 1)^2} \\ &= \frac{-(z - x)(x + z - 2)}{(z - x)(z - 1)^2(x - 1)^2} \\ &= \frac{-2(x - 1)}{(x - 1)^4} \\ &= \frac{-2}{(x - 1)^3} \end{aligned}

  1. g(x)=xx1g(x) = \frac{x}{x - 1}
limzxg(z)g(x)zx=zz1xx1zx=z(x1)x(z1)(zx)(z1)(x1)=(zx)(zx)(z1)(x1)=1(x1)2\begin{aligned} \lim_{z \to x}\frac{g(z) - g(x)}{z - x} &= \frac{\frac{z}{z - 1} - \frac{x}{x - 1}}{z - x} \\ &= \frac{z(x -1) - x(z - 1)}{(z - x)(z - 1)(x - 1)} \\ &= \frac{-(z - x)}{(z - x)(z - 1)(x - 1)} \\ &= \frac{-1}{(x - 1)^2} \end{aligned}
  1. g(x)=1+xg(x) = 1 + \sqrt{x}
limzxg(z)g(x)zx=zxzx=zxzxz+xz+x=1z+x=12x\begin{aligned} \lim_{z \to x}\frac{g(z) - g(x)}{z - x} &= \frac{\sqrt{z} - \sqrt{x}}{z - x} \\ &= \frac{\sqrt{z} - \sqrt{x}}{z - x} \cdot \frac{\sqrt{z} + \sqrt{x}}{\sqrt{z} + \sqrt{x}} \\ &= \frac{1}{\sqrt{z} + \sqrt{x}} \\ &= \frac{1}{2\sqrt{x}} \end{aligned}

f(x)={x2,if x<0x,if x>00,if x=0f(x) = \begin{cases} x^2, & \text{if } x < 0 \\ x, & \text{if } x > 0 \\ 0, & \text{if } x = 0 \end{cases}

xp=0x_p = 0

limh0(xp+h)2xp2h=h+2xp=0\lim_{h \to 0^-}\frac{(x_p + h)^2 - x_p^2}{h} = h + 2x_p = 0
limh0+xp+hxph=1\lim_{h \to 0^+}\frac{x_p + h - x_p}{h} = 1

f(x)在P点不可微\therefore f(x)\text{在P点不可微}


f(x)={2,if x12x,if x>1f(x) = \begin{cases} 2, & \text{if } x \le 1 \\ 2x, & \text{if } x > 1 \end{cases}

xp=1x_p = 1

limh122h=0\lim_{h \to 1^-}\frac{2 - 2}{h} = 0
limh1+2(xp+h)2xph=2\lim_{h \to 1^+}\frac{2(x_p + h) - 2x_p}{h} = 2

f(x)在P点不可微\therefore f(x)\text{在P点不可微}


f(x)={x,if 0<x<12x1,if x1f(x) = \begin{cases} \sqrt{x}, & \text{if } 0 < x < 1 \\ 2x - 1, & \text{if } x \ge 1 \end{cases}

xp=1x_p = 1

limh1xp+hxph=12xp=1/2\lim_{h \to 1^-}\frac{\sqrt{x_p + h} - \sqrt{x_p}}{h} = \frac{1}{2\sqrt{x_p}} = 1/2
limh1+2(xp+h)12xp+1h=2\lim_{h \to 1^+}\frac{2(x_p + h) - 1 - 2x_p + 1}{h} = 2

f(x)在P点不可微\therefore f(x)\text{在P点不可微}


f(x)={x,if x<11/x,if x1f(x) = \begin{cases} x, & \text{if } x < 1 \\ 1/x, & \text{if } x \ge 1 \end{cases}

xp=1x_p = 1

limh1xp+hxph=1\lim_{h \to 1^-}\frac{x_p + h - x_p}{h} = 1
limh1+1/(xp+h)1/xph=1xp2=1\lim_{h \to 1^+}\frac{1/(x_p + h) - 1/x_p}{h} = -\frac{1}{x_p^2} = -1

f(x)在P点不可微\therefore f(x)\text{在P点不可微}