模块 1 引入了欧拉数 e ≈ 2.71828 , e \approx 2.71828\mathclose{\text{,}} e ≈ 2.71828 , 以及自然对数 ln \ln ln 作为 e x e^x e x 的反函数,并承诺展示 e e e 的来源。它同时来自两个方面。一个是金钱:利息被越来越频繁地加入账户。另一个是斜率:在所有指数函数 a x a^x a x 中,恰好有一个在穿过 y y y 轴时斜率为 1。本节将沿着这两个方向进行,第 6.3 节将展示它们最终得到同一个数。
复利
假设一家银行年利率为 100%(一个荒谬的利率,选择这个是为了让数字简单),你存入 £1。如果利息只在年底加入一次,那么一年后你将拥有 £2。如果银行每六个月加入一半的年利率,即 50%,那么第一半年获得的利息在第二半年将产生利息,一年后你将拥有 ( 1 + 1 2 ) 2 = 2.25 (1 + \tfrac12)^2 = 2.25 ( 1 + 2 1 ) 2 = 2.25 英镑。如果每年加入 n n n 次利息,每次利率为 1 n , \tfrac1n\mathclose{\text{,}} n 1 , 那么每次加入都将使余额乘以 1 + 1 n , 1 + \tfrac1n\mathclose{\text{,}} 1 + n 1 , 因此一年后你将拥有
( 1 + 1 n ) n pounds. \Big(1 + \frac1n\Big)^n \text{ pounds.} ( 1 + n 1 ) n pounds.
这里是按年、按半年、按季度、按月、按周、按日(n = 365 )、 n = 365\mathclose{\text{)、}} n = 365 )、 按小时(n = 8760 ) n = 8760\mathclose{\text{)}} n = 8760 ) 和按分钟(n = 525,600 ) n = 525{,}600\mathclose{\text{)}} n = 525 , 600 ) 复利计算的:
n n n ( 1 + 1 n ) n \Big(1 + \dfrac1n\Big)^n ( 1 + n 1 ) n 1 1 1 2 2 2 2 2 2 2.25 2.25 2.25 4 4 4 2.441406 2.441406 2.441406 12 12 12 2.613035 2.613035 2.613035 52 52 52 2.692597 2.692597 2.692597 365 365 365 2.714567 2.714567 2.714567 8760 8760 8760 2.718127 2.718127 2.718127 525600 525600 525600 2.718279 2.718279 2.718279
更频繁的复利计算更有利,但好处越来越小:从按日复利到按分钟复利,收益增加不到半便士。这些金额趋于一个极限,大约是 2.71828,这相当于利息连续地、在每一个瞬间被计算的情况:连续复利 。第 6.3 节证明这个极限是e 。 e\mathclose{\text{。}} e 。
a x a^x a x 在 0 点的斜率
每个指数函数 a x a^x a x 都经过 ( 0 , 1 ) , (0, 1)\mathclose{\text{,}} ( 0 , 1 ) , 因为 a 0 = 1 。 a^0 = 1\mathclose{\text{。}} a 0 = 1 。 在该点处,它的图像有多陡?根据模块 4,切线在 x = 0 x = 0 x = 0 处的斜率是差商的极限,当 h → 0 h \to 0 h → 0 时,
a 0 + h − a 0 h = a h − 1 h . \frac{a^{0+h} - a^0}{h} = \frac{a^h - 1}{h}. h a 0 + h − a 0 = h a h − 1 .
对于 a = 2 a = 2 a = 2 和 a = 3 : a = 3\mathclose{\text{:}} a = 3 :
h h h 2 h − 1 h \dfrac{2^h - 1}{h} h 2 h − 1 3 h − 1 h \dfrac{3^h - 1}{h} h 3 h − 1 0.1 0.1 0.1 0.717735 0.717735 0.717735 1.16123 1.16123 1.16123 0.01 0.01 0.01 0.695555 0.695555 0.695555 1.10467 1.10467 1.10467 0.001 0.001 0.001 0.693387 0.693387 0.693387 1.09922 1.09922 1.09922 0.0001 0.0001 0.0001 0.693171 0.693171 0.693171 1.09867 1.09867 1.09867 − 0.0001 -0.0001 − 0.0001 0.693123 0.693123 0.693123 1.09855 1.09855 1.09855 − 0.001 -0.001 − 0.001 0.692907 0.692907 0.692907 1.09801 1.09801 1.09801 − 0.01 -0.01 − 0.01 0.690750 0.690750 0.690750 1.09260 1.09260 1.09260 − 0.1 -0.1 − 0.1 0.669670 0.669670 0.669670 1.04042 1.04042 1.04042
从两侧来看,这些商趋于稳定:2 x 2^x 2 x 在 0 点的斜率约为 0.6931,而 3 x 3^x 3 x 的斜率约为 1.0986。写出
m ( a ) = lim h → 0 a h − 1 h , m(a) = \lim_{h\to0}\frac{a^h - 1}{h}, m ( a ) = h → 0 lim h a h − 1 ,
读作 “a 的 m”,表示 a x a^x a x 在 x = 0 x = 0 x = 0 处的斜率(m m m 表示斜率,如模块 1 中所示)。表格表明 m ( 2 ) ≈ 0.6931 m(2) \approx 0.6931 m ( 2 ) ≈ 0.6931 和 m ( 3 ) ≈ 1.0986 。 m(3) \approx 1.0986\mathclose{\text{。}} m ( 3 ) ≈ 1.0986 。 在 0 处的斜率决定了所有位置的斜率:
定理 6.1指数函数的导数
设 a > 0 , a > 0\mathclose{\text{,}} a > 0 , 并假设极限 m ( a ) m(a) m ( a ) 存在,即 a x a^x a x 在 x = 0 x = 0 x = 0 处可导。那么 a x a^x a x 在每一个 x x x 处均可导,并且
d d x ( a x ) = m ( a ) a x . \frac{d}{dx}\big(a^x\big) = m(a)\,a^x. d x d ( a x ) = m ( a ) a x .
证明
固定 x 。 x\mathclose{\text{。}} x 。 根据指数法则 a x + h = a x a h , a^{x+h} = a^x a^h\mathclose{\text{,}} a x + h = a x a h ,
a x + h − a x h = a x a h − a x h = a x ⋅ a h − 1 h . \frac{a^{x+h} - a^x}{h} = \frac{a^x a^h - a^x}{h} = a^x\cdot\frac{a^h - 1}{h}. h a x + h − a x = h a x a h − a x = a x ⋅ h a h − 1 .
如 h → 0 , h \to 0\mathclose{\text{,}} h → 0 , 第一个因子 a x a^x a x 不变,第二个因子趋近于 m ( a ) , m(a)\mathclose{\text{,}} m ( a ) , 因此根据乘积的极限法则,差商趋近于 a x m ( a ) 。 a^x\,m(a)\mathclose{\text{。}} a x m ( a ) 。
∎
要点
指数函数在任意一点的斜率等于该点的函数值乘以其在 0 点的斜率。指数函数的增长率与其自身大小成比例;第 6.8 节说明了这在种群、资金和放射性衰变中的含义。
斜率为 1 的底数
自从 m ( 2 ) < 1 < m ( 3 ) , m(2) < 1 < m(3)\mathclose{\text{,}} m ( 2 ) < 1 < m ( 3 ) , 在 2 和 3 之间应该存在一个基数,其指数函数在 0 处的斜率恰好为 1。要找到它,观察将基数提升到某个幂次对 0 处斜率的影响。
定理 6.2改变基数
设 a > 0 , a > 0\mathclose{\text{,}} a > 0 , 且假设 m ( a ) m(a) m ( a ) 存在。那么对于每一个实数 c , c\mathclose{\text{,}} c , m ( a c ) m(a^c) m ( a c ) 存在且
m ( a c ) = c m ( a ) . m\big(a^c\big) = c\,m(a). m ( a c ) = c m ( a ) .
证明
对于 c = 0 , c = 0\mathclose{\text{,}} c = 0 , a 0 = 1 a^0 = 1 a 0 = 1 和 1 h = 1 , 1^h = 1\mathclose{\text{,}} 1 h = 1 , 因此每个商都是 0,且 m ( 1 ) = 0 = 0 ⋅ m ( a ) 。 m(1) = 0 = 0 \cdot m(a)\mathclose{\text{。}} m ( 1 ) = 0 = 0 ⋅ m ( a ) 。 对于 c ≠ 0 , c \ne 0\mathclose{\text{,}} c = 0 , ( a c ) h = a c h (a^c)^h = a^{ch} ( a c ) h = a c h 根据指数法则,因此对于 h ≠ 0 h \ne 0 h = 0
( a c ) h − 1 h = c ⋅ a c h − 1 c h . \frac{(a^c)^h - 1}{h} = c\cdot\frac{a^{ch} - 1}{ch}. h ( a c ) h − 1 = c ⋅ c h a c h − 1 .
写作 k = c h 。 k = ch\mathclose{\text{。}} k = c h 。 当 h → 0 , h \to 0\mathclose{\text{,}} h → 0 , k → 0 , k \to 0\mathclose{\text{,}} k → 0 , 和 k ≠ 0 k \ne 0 k = 0 时, h ≠ 0 ; h \ne 0\mathclose{\text{;}} h = 0 ; 因此分数 a k − 1 k \dfrac{a^k - 1}{k} k a k − 1 趋近于 m ( a ) , m(a)\mathclose{\text{,}} m ( a ) , 整个表达式趋近于 c m ( a ) 。 c\,m(a)\mathclose{\text{。}} c m ( a ) 。
∎
现在选择c = 1 / m ( 2 ) , c = 1/m(2)\mathclose{\text{,}} c = 1/ m ( 2 ) , 这是允许的,因为m ( 2 ) m(2) m ( 2 ) (约为0.69)不为0。根据定理6.2,底数2 1 / m ( 2 ) 2^{1/m(2)} 2 1/ m ( 2 ) 在0处的斜率为1 m ( 2 ) ⋅ m ( 2 ) = 1 。 \dfrac{1}{m(2)}\cdot m(2) = 1\mathclose{\text{。}} m ( 2 ) 1 ⋅ m ( 2 ) = 1 。 为了找到它,更精确地估计m ( 2 ) 。 m(2)\mathclose{\text{。}} m ( 2 ) 。 表格中离h = 0 h = 0 h = 0 最近的两个商值的平均值,即0.693171和0.693123,是模块4的中心差分,其精度远高于其中任何一个:m ( 2 ) ≈ 0.693147 。 m(2) \approx 0.693147\mathclose{\text{。}} m ( 2 ) ≈ 0.693147 。 因此1 / m ( 2 ) ≈ 1.442695 , 1/m(2) \approx 1.442695\mathclose{\text{,}} 1/ m ( 2 ) ≈ 1.442695 , 且底数约为2 1.442695 ≈ 2.718282 : 2^{1.442695} \approx 2.718282\mathclose{\text{:}} 2 1.442695 ≈ 2.718282 : 即模块1的e e e 的数字。
定义 6.1数 e
欧拉数 e e e 是这样一个底数,其指数函数在 x = 0 x = 0 x = 0 处的斜率为 1:
lim h → 0 e h − 1 h = 1. \lim_{h\to0}\frac{e^h - 1}{h} = 1. h → 0 lim h e h − 1 = 1.
自然对数 是如模块 1 所述,e x e^x e x 的反函数:对于 x > 0 , x > 0\mathclose{\text{,}} x > 0 , ln x = y \ln x = y ln x = y 表示 e y = x 。 e^y = x\mathclose{\text{。}} e y = x 。
须知
什么是被证明的,什么是被当作公理的。 本节假定了两个前提。第一个前提是模块 1 的幂 a x a^x a x 对于每一个实数 x , x\mathclose{\text{,}} x , 具有模块 1 所列出的性质:指数法则(对于无理数 x , x\mathclose{\text{,}} x , a x a^x a x 是那些有理指数幂接近 x x x 的幂所趋近的数),以及对于一个底数 a > 1 , a > 1\mathclose{\text{,}} a > 1 , a x a^x a x 是递增的,并且恰好取每一个正数值一次,因此对数存在。第二个前提是极限 m ( 2 ) m(2) m ( 2 ) 存在并且是正数:表格几乎没有疑问地表明它大约是 0.6931,而且本节后面“深入一步”一框中简要说明了这两个事实如何被证明。本节中的其他一切内容都是从这两个前提推导出来的。定理 6.2 表明底数 2 1 / m ( 2 ) 2^{1/m(2)} 2 1/ m ( 2 ) 在 0 处的斜率为 1,因此 e e e 存在,而下一个定理则表明没有其他底数具有这一性质。
定理 6.3
e x e^x e x 和 a x a^x a x 的导数
对于每一个实数 x , x\mathclose{\text{,}} x ,
d d x ( e x ) = e x . \frac{d}{dx}\big(e^x\big) = e^x. d x d ( e x ) = e x .
对于每一个底数 a > 0 : a > 0\mathclose{\text{:}} a > 0 : a x = e x ln a , a^x = e^{x\ln a}\mathclose{\text{,}} a x = e x l n a , a x a^x a x 在 0 处的斜率是 m ( a ) = ln a , m(a) = \ln a\mathclose{\text{,}} m ( a ) = ln a , 并且
d d x ( a x ) = a x ln a . \frac{d}{dx}\big(a^x\big) = a^x\ln a. d x d ( a x ) = a x ln a .
证明
按定义 6.1,m ( e ) = 1 , m(e) = 1\mathclose{\text{,}} m ( e ) = 1 , 因此定理 6.1 给出 ( e x ) ′ = 1 ⋅ e x = e x 。 (e^x)' = 1 \cdot e^x = e^x\mathclose{\text{。}} ( e x ) ′ = 1 ⋅ e x = e x 。 令 a > 0 。 a > 0\mathclose{\text{。}} a > 0 。 则 a = e ln a a = e^{\ln a} a = e l n a (模块 1),因此根据法则 ( a u ) v = a u v , (a^u)^v = a^{uv}\mathclose{\text{,}} ( a u ) v = a uv , 得到 a x = ( e ln a ) x = e x ln a 。 a^x = \big(e^{\ln a}\big)^x = e^{x\ln a}\mathclose{\text{。}} a x = ( e l n a ) x = e x l n a 。 定理 6.2,以底 e e e 和 c = ln a , c = \ln a\mathclose{\text{,}} c = ln a , 给出 m ( a ) = m ( e ln a ) = ln a ⋅ m ( e ) = ln a , m(a) = m\big(e^{\ln a}\big) = \ln a \cdot m(e) = \ln a\mathclose{\text{,}} m ( a ) = m ( e l n a ) = ln a ⋅ m ( e ) = ln a , 且定理 6.1 完成证明。
∎
所以 m ( 2 ) = ln 2 m(2) = \ln 2 m ( 2 ) = ln 2 和 m ( 3 ) = ln 3 , m(3) = \ln 3\mathclose{\text{,}} m ( 3 ) = ln 3 , 表中的极限,以及 e e e 是唯一在 0 处斜率为 1 的底数:m ( a ) = 1 m(a) = 1 m ( a ) = 1 表示 ln a = 1 , \ln a = 1\mathclose{\text{,}} ln a = 1 , 即 a = e 。 a = e\mathclose{\text{。}} a = e 。 你也可以通过模块 5 的链式法则达到 ( a x ) ′ = a x ln a : (a^x)' = a^x\ln a\mathclose{\text{:}} ( a x ) ′ = a x ln a : e x ln a e^{x\ln a} e x l n a 的导数是 e x ln a ⋅ ln a = a x ln a 。 e^{x\ln a}\cdot\ln a = a^x\ln a\mathclose{\text{。}} e x l n a ⋅ ln a = a x ln a 。
图 6.1 左: 2 x , 2^x\mathclose{\text{,}} 2 x , e x e^x e x 和 3 x 3^x 3 x 都经过 ( 0 , 1 ) , (0, 1)\mathclose{\text{,}} ( 0 , 1 ) , 它们的切线(虚线)的斜率分别为 ln 2 ≈ 0.69 , \ln 2 \approx 0.69\mathclose{\text{,}} ln 2 ≈ 0.69 , 恰好为 1,和 ln 3 ≈ 1.10 。 \ln 3 \approx 1.10\mathclose{\text{。}} ln 3 ≈ 1.10 。 右: y = e x y = e^x y = e x 在 x = − 1 x = -1 x = − 1 处的切线,0 和 1。每条切线在 x x x 轴上的截距都比其接触点左移 1 个单位,因此其斜率(即上升量除以运行量)等于该点的函数值 e x : e^x\mathclose{\text{:}} e x : 该函数是其自身的导数。
例 6.1
e x e^x e x 和 a x a^x a x 的导数✓ 已检验
对 (a) e 3 x 、 e^{3x}\mathclose{\text{、}} e 3 x 、 (b) x 2 e − x x^2e^{-x} x 2 e − x 和 (c) 10 x 10^x 1 0 x 求导,并 (d) 求曲线 y = e x y = e^x y = e x 在点 x = 1 x = 1 x = 1 处的切线方程。
(a) 用链式法则,内函数为 3 x , 3x\mathclose{\text{,}} 3 x , 导数为 d d x e 3 x = e 3 x ⋅ 3 = 3 e 3 x 。 \dfrac{d}{dx}e^{3x} = e^{3x}\cdot 3 = 3e^{3x}\mathclose{\text{。}} d x d e 3 x = e 3 x ⋅ 3 = 3 e 3 x 。 同样地,对于每个常数 k , k\mathclose{\text{,}} k , 导数为 d d x e k x = k e k x 。 \dfrac{d}{dx}e^{kx} = ke^{kx}\mathclose{\text{。}} d x d e k x = k e k x 。
(b) 用乘积法则,并结合 (a) 中的 k = − 1 : k = -1\mathclose{\text{:}} k = − 1 :
d d x ( x 2 e − x ) = 2 x e − x + x 2 ( − e − x ) = ( 2 x − x 2 ) e − x . \begin{aligned} \frac{d}{dx}\big(x^2e^{-x}\big) &= 2x\,e^{-x} + x^2\big(-e^{-x}\big) \\ &= \big(2x - x^2\big)e^{-x}. \end{aligned} d x d ( x 2 e − x ) = 2 x e − x + x 2 ( − e − x ) = ( 2 x − x 2 ) e − x .
(c) 用定理 6.3,其中 a = 10 a = 10 a = 10 和 d d x 10 x = 10 x ln 10 ≈ 2.303 ⋅ 10 x 。 \dfrac{d}{dx}10^x = 10^x\ln 10 \approx 2.303 \cdot 10^x\mathclose{\text{。}} d x d 1 0 x = 1 0 x ln 10 ≈ 2.303 ⋅ 1 0 x 。
(d) 在 x = 1 x = 1 x = 1 处,高度为 e , e\mathclose{\text{,}} e , 斜率为 e 1 = e , e^1 = e\mathclose{\text{,}} e 1 = e , 因此切线方程为 y − e = e ( x − 1 ) , y - e = e(x - 1)\mathclose{\text{,}} y − e = e ( x − 1 ) , 即 y = e x 。 y = ex\mathclose{\text{。}} y = e x 。 该切线经过原点,如图 6.1 的右图所示。
注意
幂法则适用于幂 x n , x^n\mathclose{\text{,}} x n , 其中变量在底数中。它不适用于 e x e^x e x 或 2 x , 2^x\mathclose{\text{,}} 2 x , 其中变量在指数中: d d x e x \dfrac{d}{dx}e^x d x d e x 不等于 x e x − 1 , xe^{x-1}\mathclose{\text{,}} x e x − 1 , 且 d d x 2 x \dfrac{d}{dx}2^x d x d 2 x 既不等于 x 2 x − 1 x\,2^{x-1} x 2 x − 1 也不等于 2 x 。 2^x\mathclose{\text{。}} 2 x 。 并且 e 2 ≈ 7.39 e^2 \approx 7.39 e 2 ≈ 7.39 是一个常数,因此其导数为 0。
深入一步为何极限存在,以及通往 e 的另一条道路
极限m ( 2 ) . m(2)\mathclose{\text{.}} m ( 2 ) . 对于h ≠ 0 , h \ne 0\mathclose{\text{,}} h = 0 , 令q ( h ) = 2 h − 1 h q(h) = \dfrac{2^h - 1}{h} q ( h ) = h 2 h − 1 为函数2 x 2^x 2 x 的图像从( 0 , 1 ) (0, 1) ( 0 , 1 ) 到( h , 2 h ) (h, 2^h) ( h , 2 h ) 的割线斜率。函数2 x 2^x 2 x 的图像向上弯曲(它是凸 的),因此当h h h 向右移动时,该斜率增大:q q q 在0的两侧均递增,且每个满足h < 0 h < 0 h < 0 的值均小于每个满足h > 0 h > 0 h > 0 的值。因此,当h h h 递减至0时,q ( h ) q(h) q ( h ) 递减但始终高于q ( − 1 ) = 1 2 , q(-1) = \tfrac12\mathclose{\text{,}} q ( − 1 ) = 2 1 , 而一个递减且始终高于固定数的量趋近于一个极限:这是实数的基本性质,在模块14中针对序列进行了精确表述。同理,当h h h 递增至0时,q ( h ) q(h) q ( h ) 递增至一个极限,且始终低于q ( 1 ) = 1 。 q(1) = 1\mathclose{\text{。}} q ( 1 ) = 1 。 这两个单侧极限相等,因为q ( − h ) = 2 − h q ( h ) q(-h) = 2^{-h}q(h) q ( − h ) = 2 − h q ( h ) 和2 − h → 1 。 2^{-h} \to 1\mathclose{\text{。}} 2 − h → 1 。 因此m ( 2 ) m(2) m ( 2 ) 存在,且介于1 2 \tfrac12 2 1 和1之间;特别地,它是正数。此处省略的步骤是证明2 x 2^x 2 x 是凸函数,这需要针对实指数进行更多推导。
另一条路:从对数开始。 模块 10 提供了一条路径,无需假设幂的性质;它依赖于一个定理,该定理在模块 9 中被使用但未被证明,即连续函数有积分。定义,对于 x > 0 , x > 0\mathclose{\text{,}} x > 0 ,
ln x = ∫ 1 x d t t , \ln x = \int_1^x \frac{dt}{t}, ln x = ∫ 1 x t d t ,
曲线下的面积 y = 1 / t y = 1/t y = 1/ t 从 1 到 x x x (当 x < 1 x < 1 x < 1 时计为负值)。微积分基本定理立即给出 ( ln x ) ′ = 1 / x ; (\ln x)' = 1/x\mathclose{\text{;}} ( ln x ) ′ = 1/ x ; 对数的性质由此得出,结合模块 8 的一个定理; ln \ln ln 是递增的并取所有实数值,因此它有一个反函数 exp ; {\exp}\mathclose{\text{;}} exp ; e e e 是 exp ( 1 ) , \exp(1)\mathclose{\text{,}} exp ( 1 ) , 即从 1 到 e e e 的面积恰好为 1 的那个数;对于 a > 0 a > 0 a > 0 和每个实数 x , x\mathclose{\text{,}} x , 定义 a x = exp ( x ln a ) , a^x = \exp(x\ln a)\mathclose{\text{,}} a x = exp ( x ln a ) , 这也确定了无理数幂的含义。下面的定理 6.4 则给出 exp ′ = exp 。 \exp' = {\exp}\mathclose{\text{。}} exp ′ = exp 。 这些函数与本节相同;只是证明的顺序不同。
动手计算寻找 e
Python 可以用差商估计 a x a^x a x 在 0 处的斜率。对称商 a h − a − h 2 h , \dfrac{a^h - a^{-h}}{2h}\mathclose{\text{,}} 2 h a h − a − h , 即模块 4 的中心差,比 a h − 1 h \dfrac{a^h - 1}{h} h a h − 1 在相同 h h h 下更准确:
Python 复制
import math
def slope_at_0 (a, h=1e-6 ):
return (a**h - a**(-h))/(2 *h) # central difference at x = 0
for a in [2 , 2.5 , 2.7 , 2.72 , 2.8 , 3 ]:
print (f"a = {a}: slope at 0 ≈ {slope_at_0(a):.6f}" )
输出
a = 2: slope at 0 ≈ 0.693147
a = 2.5: slope at 0 ≈ 0.916291
a = 2.7: slope at 0 ≈ 0.993252
a = 2.72: slope at 0 ≈ 1.000632
a = 2.8: slope at 0 ≈ 1.029619
a = 3: slope at 0 ≈ 1.098612
斜率在 2.7 和 2.72 之间穿过 1。模块 3 的二分法不断逼近交叉点,每一步都保留使斜率穿过 1 的区间一半:
Python 复制
lo, hi = 2.0 , 3.0
for step in range (30 ):
mid = (lo + hi)/2
if slope_at_0 (mid) < 1 :
lo = mid
else :
hi = mid
print (f"e lies between {lo:.10f} and {hi:.10f}" )
print (f"math.e is {math.e:.10f}" )
输出
e lies between 2.7182818279 and 2.7182818288
math.e is 2.7182818285
三十次二分将区间缩小到宽度为 2 − 30 , 2^{-30}\mathclose{\text{,}} 2 − 30 , 小于 10 − 9 , 10^{-9}\mathclose{\text{,}} 1 0 − 9 , 并将 e e e 精确定位到八位小数,2.71828182。复利计算是计算机计算 e e e 的糟糕方式:
Python 复制
for k in [4 , 8 , 12 , 15 , 16 ]:
n = 10 **k
print (f"n = 10^{k}: {(1 + 1/n)**n}" )
输出
n = 10^4: 2.7181459268249255
n = 10^8: 2.7182817983473577
n = 10^12: 2.7185234960372378
n = 10^15: 3.035035206549262
n = 10^16: 1.0
直到 n = 10 8 n = 10^8 n = 1 0 8 为止,计算值都在趋近 e 。 e\mathclose{\text{。}} e 。 随后计算失准,当 n = 10 16 n = 10^{16} n = 1 0 16 时结果已经变为 1。计算机把 1 + 1 / n 1 + 1/n 1 + 1/ n 舍入到大约 16 位有效数字后存储。当 n = 10 16 n = 10^{16} n = 1 0 16 时,存储值恰为 1,因而 1 n = 1 ; 1^n = 1\mathclose{\text{;}} 1 n = 1 ; 当 n = 10 15 n = 10^{15} n = 1 0 15 时,存储值为 1 + 1.11 × 10 − 15 , 1 + 1.11 \times 10^{-15}\mathclose{\text{,}} 1 + 1.11 × 1 0 − 15 , 其与 1 的距离比正确值大 11%,取幂后这一误差变成 e 1.11 ≈ 3.035 。 e^{1.11} \approx 3.035\mathclose{\text{。}} e 1.11 ≈ 3.035 。 原因与模块 2 的消去误差相同,浮点数只保留大约 16 位有效数字。
由 模块 1,反函数 f − 1 f^{-1} f − 1 的图像 是 f f f 在直线 y = x y = x y = x 上的镜像。反射将切线映射为切线,因此也应告诉你 f − 1 f^{-1} f − 1 的斜率。在 y = x y = x y = x 上的反射交换了两个坐标,因此交换了上升量和运行量:斜率为 rise run = m \dfrac{\text{rise}}{\text{run}} = m run rise = m 的直线变为斜率为 run rise = 1 m \dfrac{\text{run}}{\text{rise}} = \dfrac1m rise run = m 1 的直线(图 6.2)。因此,如果 f f f 在 ( a , b ) (a, b) ( a , b ) 处的斜率为 m , m\mathclose{\text{,}} m , 则 f − 1 f^{-1} f − 1 在镜像点 ( b , a ) (b, a) ( b , a ) 处的斜率应为 1 / m 。 1/m\mathclose{\text{。}} 1/ m 。
图 6.2 y = e x y = e^x y = e x 和其反函数 y = ln x y = \ln x y = ln x 是直线 y = x y = x y = x (虚线)的镜像。在 e x e^x e x 上 ( 1 2 , e 1 / 2 ) \big(\tfrac12, e^{1/2}\big) ( 2 1 , e 1/2 ) 处的切线斜率为 e 1 / 2 ≈ 1.65 : e^{1/2} \approx 1.65\mathclose{\text{:}} e 1/2 ≈ 1.65 : 横坐标变化 1,纵坐标变化 1.65。其镜像为在 ln x \ln x ln x 上 ( e 1 / 2 , 1 2 ) \big(e^{1/2}, \tfrac12\big) ( e 1/2 , 2 1 ) 处的切线,横坐标变化 1.65,纵坐标变化 1:斜率为 1 / e 1 / 2 ≈ 0.61 。 1/e^{1/2} \approx 0.61\mathclose{\text{。}} 1/ e 1/2 ≈ 0.61 。
要将这张图变为定理,你需要一个关于连续性的事实,本系列在未证明的情况下使用了这个事实。
须知
关于反函数的一个事实。 如果f f f 在开区间I I I 上连续且单射,那么f f f 在I I I 上严格递增或在I I I 上严格递减,其值构成开区间J , J\mathclose{\text{,}} J , 且f − 1 f^{-1} f − 1 在J J J 上连续。思路:如果f f f 先升后降,模块3的介值定理会使其取到某个值两次;并且,如模块3所述,仅上升(或仅下降)的连续图像的镜像仍然是连续的。
定理 6.4反函数的导数
设 f f f 在开区间 I I I 上连续且单射,且设 a a a 是 I I I 中一点,其中 f f f 可导且导数为 f ′ ( a ) ≠ 0 。 f'(a) \ne 0\mathclose{\text{。}} f ′ ( a ) = 0 。 则 f − 1 f^{-1} f − 1 在 b = f ( a ) b = f(a) b = f ( a ) 处可导,并且
( f − 1 ) ′ ( b ) = 1 f ′ ( a ) = 1 f ′ ( f − 1 ( b ) ) . (f^{-1})'(b) = \frac{1}{f'(a)} = \frac{1}{f'\big(f^{-1}(b)\big)}. ( f − 1 ) ′ ( b ) = f ′ ( a ) 1 = f ′ ( f − 1 ( b ) ) 1 .
证明
设 J J J 是 f f f 的值域,如上所述的事实。对于 y ≠ b y \ne b y = b ∈ J , J\mathclose{\text{,}} J , 令 x = f − 1 ( y ) 。 x = f^{-1}(y)\mathclose{\text{。}} x = f − 1 ( y ) 。 则 f ( x ) = y , f(x) = y\mathclose{\text{,}} f ( x ) = y , 且 x ≠ a , x \ne a\mathclose{\text{,}} x = a , 因为 f − 1 f^{-1} f − 1 是单射的。因此
f − 1 ( y ) − f − 1 ( b ) y − b = x − a f ( x ) − f ( a ) = 1 f ( x ) − f ( a ) x − a . \begin{aligned} \frac{f^{-1}(y) - f^{-1}(b)}{y - b} &= \frac{x - a}{f(x) - f(a)} \\ &= \frac{1}{\dfrac{f(x) - f(a)}{x - a}}. \end{aligned} y − b f − 1 ( y ) − f − 1 ( b ) = f ( x ) − f ( a ) x − a = x − a f ( x ) − f ( a ) 1 .
当 y → b , y \to b\mathclose{\text{,}} y → b , x = f − 1 ( y ) x = f^{-1}(y) x = f − 1 ( y ) 接近 f − 1 ( b ) = a f^{-1}(b) = a f − 1 ( b ) = a 时,因为 f − 1 f^{-1} f − 1 是连续的,且 x ≠ a 。 x \ne a\mathclose{\text{。}} x = a 。 因此分母中的差商趋于 f ′ ( a ) , f'(a)\mathclose{\text{,}} f ′ ( a ) , 它不等于 0,根据商的极限法则,整个表达式趋于 1 / f ′ ( a ) 。 1/f'(a)\mathclose{\text{。}} 1/ f ′ ( a ) 。
∎
假设 f ′ ( a ) ≠ 0 f'(a) \ne 0 f ′ ( a ) = 0 是需要的。 f ( x ) = x 3 f(x) = x^3 f ( x ) = x 3 与 f ′ ( 0 ) = 0 f'(0) = 0 f ′ ( 0 ) = 0 单射,且其反函数 x 3 \sqrt[3]{x} 3 x 在 0 处有垂直切线:对于 y > 0 , y > 0\mathclose{\text{,}} y > 0 , 其差商 y 3 − 0 y − 0 = y − 2 / 3 \dfrac{\sqrt[3]{y} - 0}{y - 0} = y^{-2/3} y − 0 3 y − 0 = y − 2/3 在 y → 0 y \to 0 y → 0 趋于无穷大。其他假设确保 f − 1 f^{-1} f − 1 存在且连续。
提示
为了记住公式,假设 f − 1 f^{-1} f − 1 可导,并用链式法则对 f ( f − 1 ( x ) ) = x f\big(f^{-1}(x)\big) = x f ( f − 1 ( x ) ) = x 两边求导:f ′ ( f − 1 ( x ) ) ⋅ ( f − 1 ) ′ ( x ) = 1 , f'\big(f^{-1}(x)\big)\cdot(f^{-1})'(x) = 1\mathclose{\text{,}} f ′ ( f − 1 ( x ) ) ⋅ ( f − 1 ) ′ ( x ) = 1 , 然后相除。这个推导假设了定理所要证明的内容,即 f − 1 f^{-1} f − 1 可导,因此它是一个记忆技巧,而不是证明。
例 6.2没有公式的反函数 ✓ 已检验
在模块 1 的 练习 1.10 中你已证明 f ( x ) = x 3 + x f(x) = x^3 + x f ( x ) = x 3 + x 在 R \R R 上严格递增,因此它有一个反函数,尽管求解 x 3 + x = y x^3 + x = y x 3 + x = y 对 x x x 很困难。找出 ( f − 1 ) ′ ( 2 ) (f^{-1})'(2) ( f − 1 ) ′ ( 2 ) 和 ( f − 1 ) ′ ( 10 ) , (f^{-1})'(10)\mathclose{\text{,}} ( f − 1 ) ′ ( 10 ) , 以及 f − 1 f^{-1} f − 1 图像在 ( 2 , 1 ) (2, 1) ( 2 , 1 ) 处的切线。
f f f 是一个多项式,因此在其定义域 R \R R 上可导,从而连续,且 f ′ ( x ) = 3 x 2 + 1 ≥ 1 : f'(x) = 3x^2 + 1 \ge 1\mathclose{\text{:}} f ′ ( x ) = 3 x 2 + 1 ≥ 1 : 永不为 0。为在 b = 2 b = 2 b = 2 处使用定理 6.4,你需要 a = f − 1 ( 2 ) , a = f^{-1}(2)\mathclose{\text{,}} a = f − 1 ( 2 ) , 即 x 3 + x = 2 x^3 + x = 2 x 3 + x = 2 的解。尝试小的整数:x = 1 x = 1 x = 1 起作用。所以
( f − 1 ) ′ ( 2 ) = 1 f ′ ( 1 ) = 1 3 + 1 = 1 4 . (f^{-1})'(2) = \frac{1}{f'(1)} = \frac{1}{3 + 1} = \frac14. ( f − 1 ) ′ ( 2 ) = f ′ ( 1 ) 1 = 3 + 1 1 = 4 1 .
同样地 f ( 2 ) = 8 + 2 = 10 , f(2) = 8 + 2 = 10\mathclose{\text{,}} f ( 2 ) = 8 + 2 = 10 , 所以 ( f − 1 ) ′ ( 10 ) = 1 f ′ ( 2 ) = 1 13 。 (f^{-1})'(10) = \dfrac{1}{f'(2)} = \dfrac{1}{13}\mathclose{\text{。}} ( f − 1 ) ′ ( 10 ) = f ′ ( 2 ) 1 = 13 1 。 图像 f − 1 f^{-1} f − 1 在 ( 2 , 1 ) (2, 1) ( 2 , 1 ) 处的切线斜率为 1 4 : \tfrac14\mathclose{\text{:}} 4 1 : 即 y = 1 + 1 4 ( x − 2 ) , y = 1 + \tfrac14(x - 2)\mathclose{\text{,}} y = 1 + 4 1 ( x − 2 ) , 也就是 y = 1 4 x + 1 2 。 y = \tfrac14 x + \tfrac12\mathclose{\text{。}} y = 4 1 x + 2 1 。
注意
f − 1 f^{-1} f − 1 在 b b b 处的斜率是 f f f 在镜像点 a = f − 1 ( b ) a = f^{-1}(b) a = f − 1 ( b ) 处斜率的倒数,而不是在 b b b 处。在例 6.2 中是 ( f − 1 ) ′ ( 2 ) = 1 4 , (f^{-1})'(2) = \tfrac14\mathclose{\text{,}} ( f − 1 ) ′ ( 2 ) = 4 1 , 而不是 1 f ′ ( 2 ) = 1 13 。 \dfrac{1}{f'(2)} = \dfrac{1}{13}\mathclose{\text{。}} f ′ ( 2 ) 1 = 13 1 。 首先找到 a , a\mathclose{\text{,}} a , 然后计算 1 / f ′ ( a ) 。 1/f'(a)\mathclose{\text{。}} 1/ f ′ ( a ) 。
ln x 的导数
定理 6.5对数函数的导数
对于每一个 x > 0 , x > 0\mathclose{\text{,}} x > 0 ,
d d x ln x = 1 x , \frac{d}{dx}\ln x = \frac1x, d x d ln x = x 1 ,
并且对于每一个 x ≠ 0 , x \ne 0\mathclose{\text{,}} x = 0 ,
d d x ln ∣ x ∣ = 1 x . \frac{d}{dx}\ln\abs{x} = \frac1x. d x d ln ∣ x ∣ = x 1 .
证明
将定理 6.4 应用于 f ( x ) = e x f(x) = e^x f ( x ) = e x 在开区间 I = R I = \R I = R 上。它可导,因此连续,且是单射的(模块 1);其导数 e x e^x e x 永远不为 0;其值域为 J = ( 0 , ∞ ) ; J = (0, \infty)\mathclose{\text{;}} J = ( 0 , ∞ ) ; 其反函数为 ln 。 {\ln}\mathclose{\text{。}} ln 。 对于 b > 0 , b > 0\mathclose{\text{,}} b > 0 , 令 a = ln b 。 a = \ln b\mathclose{\text{。}} a = ln b 。 则
( ln ) ′ ( b ) = 1 f ′ ( a ) = 1 e ln b = 1 b . (\ln)'(b) = \frac{1}{f'(a)} = \frac{1}{e^{\ln b}} = \frac1b. ( ln ) ′ ( b ) = f ′ ( a ) 1 = e l n b 1 = b 1 .
对于 x > 0 x > 0 x > 0 和 ln ∣ x ∣ = ln x , \ln\abs{x} = \ln x\mathclose{\text{,}} ln ∣ x ∣ = ln x , 其导数为 1 x 。 \tfrac1x\mathclose{\text{。}} x 1 。 对于 x < 0 x < 0 x < 0 和 ln ∣ x ∣ = ln ( − x ) , \ln\abs{x} = \ln(-x)\mathclose{\text{,}} ln ∣ x ∣ = ln ( − x ) , 根据链式法则,其导数为 1 − x ⋅ ( − 1 ) = 1 x 。 \dfrac{1}{-x}\cdot(-1) = \dfrac1x\mathclose{\text{。}} − x 1 ⋅ ( − 1 ) = x 1 。
∎
曲线 ln x \ln x ln x (图 6.2)在 0 附近陡峭上升,此时 1 / x 1/x 1/ x 较大,随着 x x x 增大,曲线逐渐趋于平缓;但其斜率 1 / x 1/x 1/ x 保持正数,因此 ln x \ln x ln x 不断增加,但增速越来越慢。在 x = 1 x = 1 x = 1 处,斜率为 1,与 e x e^x e x 在 0 处的斜率 1 形成镜像关系。利用链式法则,对于可导函数 u u u 的 x , x\mathclose{\text{,}} x ,
d d x ln u = u ′ u where u > 0 , d d x ln ∣ u ∣ = u ′ u where u ≠ 0. \begin{aligned} \frac{d}{dx}\ln u &= \frac{u'}{u} \quad \text{where } u > 0, \\ \frac{d}{dx}\ln\abs{u} &= \frac{u'}{u} \quad \text{where } u \ne 0. \end{aligned} d x d ln u d x d ln ∣ u ∣ = u u ′ where u > 0 , = u u ′ where u = 0.
例 6.3使用对数求导的导数 ✓ 已检验
求导(a) ln ( x 2 + 1 ) , \ln(x^2 + 1)\mathclose{\text{,}} ln ( x 2 + 1 ) , (b) ln ∣ cos x ∣ , \ln{\abs{\cos x}}\mathclose{\text{,}} ln ∣ cos x ∣ , 其中 cos x ≠ 0 , \cos x \ne 0\mathclose{\text{,}} cos x = 0 , 以及(c) ln x 3 x 2 + 1 , \ln\dfrac{x^3}{\sqrt{x^2 + 1}}\mathclose{\text{,}} ln x 2 + 1 x 3 , 对于 x > 0 。 x > 0\mathclose{\text{。}} x > 0 。
(a) 此时 u = x 2 + 1 > 0 , u = x^2 + 1 > 0\mathclose{\text{,}} u = x 2 + 1 > 0 , 因此 d d x ln ( x 2 + 1 ) = 2 x x 2 + 1 。 \dfrac{d}{dx}\ln(x^2 + 1) = \dfrac{2x}{x^2 + 1}\mathclose{\text{。}} d x d ln ( x 2 + 1 ) = x 2 + 1 2 x 。
(b) 此时 u = cos x , u = \cos x\mathclose{\text{,}} u = cos x , 因此 d d x ln ∣ cos x ∣ = − sin x cos x = − tan x 。 \dfrac{d}{dx}\ln\abs{\cos x} = \dfrac{-\sin x}{\cos x} = -\tan x\mathclose{\text{。}} d x d ln ∣ cos x ∣ = cos x − sin x = − tan x 。
(c) 首先使用对数法则:它们将商和幂转化为和。对于 x > 0 , x > 0\mathclose{\text{,}} x > 0 ,
ln x 3 x 2 + 1 = 3 ln x − 1 2 ln ( x 2 + 1 ) , \ln\frac{x^3}{\sqrt{x^2 + 1}} = 3\ln x - \tfrac12\ln(x^2 + 1), ln x 2 + 1 x 3 = 3 ln x − 2 1 ln ( x 2 + 1 ) ,
因此导数为
3 x − 1 2 ⋅ 2 x x 2 + 1 = 3 x − x x 2 + 1 . \frac3x - \frac12\cdot\frac{2x}{x^2 + 1} = \frac3x - \frac{x}{x^2 + 1}. x 3 − 2 1 ⋅ x 2 + 1 2 x = x 3 − x 2 + 1 x .
注意
ln u \ln u ln u 的导数是 u ′ u , \dfrac{u'}{u}\mathclose{\text{,}} u u ′ , 不是 1 u : \dfrac1u\mathclose{\text{:}} u 1 : d d x ln ( x 2 + 1 ) \dfrac{d}{dx}\ln(x^2 + 1) d x d ln ( x 2 + 1 ) 不等于 1 x 2 + 1 。 \dfrac{1}{x^2 + 1}\mathclose{\text{。}} x 2 + 1 1 。 而且 d d x ln ( 5 x ) = 5 5 x = 1 x , \dfrac{d}{dx}\ln(5x) = \dfrac{5}{5x} = \dfrac1x\mathclose{\text{,}} d x d ln ( 5 x ) = 5 x 5 = x 1 , 与 ln x \ln x ln x 的导数相同。这并非偶然: ln ( 5 x ) = ln 5 + ln x , \ln(5x) = \ln 5 + \ln x\mathclose{\text{,}} ln ( 5 x ) = ln 5 + ln x , 因此这两个函数相差一个常数。
其他底数
对于底数 a > 0 a > 0 a > 0 有 a ≠ 1 , a \ne 1\mathclose{\text{,}} a = 1 , log a x = ln x ln a \log_a x = \dfrac{\ln x}{\ln a} log a x = ln a ln x (模 1),且 ln a \ln a ln a 是一个常数,因此对于 x > 0 x > 0 x > 0
d d x log a x = 1 x ln a . \frac{d}{dx}\log_a x = \frac{1}{x\ln a}. d x d log a x = x ln a 1 .
例如 d d x log 10 x = 1 x ln 10 ≈ 0.4343 x \dfrac{d}{dx}\log_{10} x = \dfrac{1}{x\ln 10} \approx \dfrac{0.4343}{x} d x d log 10 x = x ln 10 1 ≈ x 0.4343 和 d d x log 2 x = 1 x ln 2 ≈ 1.4427 x 。 \dfrac{d}{dx}\log_2 x = \dfrac{1}{x\ln 2} \approx \dfrac{1.4427}{x}\mathclose{\text{。}} d x d log 2 x = x ln 2 1 ≈ x 1.4427 。 只有自然对数具有因子 1。这就是为什么微积分使用 ln , {\ln}\mathclose{\text{,}} ln , 正如它使用 e x : e^x\mathclose{\text{:}} e x : 公式 d d x a x = a x ln a \dfrac{d}{dx}a^x = a^x\ln a d x d a x = a x ln a 和 d d x log a x = 1 x ln a \dfrac{d}{dx}\log_a x = \dfrac{1}{x\ln a} d x d log a x = x ln a 1 在 a = e a = e a = e 时恰好失去因子 ln a 。 \ln a\mathclose{\text{。}} ln a 。
两条路径交汇
现在可以解释复利表。 ln \ln ln 在 1 处的导数是 1 1 = 1 , \tfrac11 = 1\mathclose{\text{,}} 1 1 = 1 , 且 ln 1 = 0 , \ln 1 = 0\mathclose{\text{,}} ln 1 = 0 , 因此
lim h → 0 ln ( 1 + h ) h = lim h → 0 ln ( 1 + h ) − ln 1 h = 1. \lim_{h\to0}\frac{\ln(1 + h)}{h} = \lim_{h\to0}\frac{\ln(1 + h) - \ln 1}{h} = 1. h → 0 lim h ln ( 1 + h ) = h → 0 lim h ln ( 1 + h ) − ln 1 = 1.
对于每一个实数 x , x\mathclose{\text{,}} x ,
lim n → ∞ ( 1 + x n ) n = e x , \lim_{n\to\infty}\Big(1 + \frac{x}{n}\Big)^n = e^x, n → ∞ lim ( 1 + n x ) n = e x ,
特别地
lim n → ∞ ( 1 + 1 n ) n = e . \lim_{n\to\infty}\Big(1 + \frac1n\Big)^n = e. n → ∞ lim ( 1 + n 1 ) n = e .
证明
对于 x = 0 x = 0 x = 0 两边都是 1。令 x ≠ 0 , x \ne 0\mathclose{\text{,}} x = 0 , 并取 n > ∣ x ∣ , n > {\abs{x}}\mathclose{\text{,}} n > ∣ x ∣ , 使得 1 + x / n > 0 。 1 + x/n > 0\mathclose{\text{。}} 1 + x / n > 0 。 每一个正数 p p p 都是 e ln p , e^{\ln p}\mathclose{\text{,}} e l n p , 因此 p n = e n ln p , p^n = e^{n\ln p}\mathclose{\text{,}} p n = e n l n p , 并
( 1 + x n ) n = e n ln ( 1 + x / n ) . \Big(1 + \frac{x}{n}\Big)^n = e^{\,n\ln(1 + x/n)}. ( 1 + n x ) n = e n l n ( 1 + x / n ) .
写作 h = x / n , h = x/n\mathclose{\text{,}} h = x / n , 使得 n = x / h 。 n = x/h\mathclose{\text{。}} n = x / h 。 然后
n ln ( 1 + x n ) = x ⋅ ln ( 1 + h ) h . n\ln\Big(1 + \frac{x}{n}\Big) = x\cdot\frac{\ln(1 + h)}{h}. n ln ( 1 + n x ) = x ⋅ h ln ( 1 + h ) .
当 n → ∞ n \to \infty n → ∞ 趋近于 h → 0 h \to 0 h → 0 时,取 h ≠ 0 , h \ne 0\mathclose{\text{,}} h = 0 , 因此这个趋于 x ⋅ 1 = x 。 x \cdot 1 = x\mathclose{\text{。}} x ⋅ 1 = x 。 最后, e u e^u e u 是连续的(它是可导的,且模块 4 显示可导函数是连续的),因此 e n ln ( 1 + x / n ) e^{\,n\ln(1 + x/n)} e n l n ( 1 + x / n ) 趋近于 e x 。 e^x\mathclose{\text{。}} e x 。
∎
所以两条路径都得到同一个数:复利的极限是那个指数函数在 0 处导数为 1 的底数。
例 6.4连续复利 ✓ 已检验
假设你投资 1000 英镑,年利率为 5%。比较一年后利息按年、按季度、按月、按日以及连续复利计算时的余额,并找出在连续复利下资金翻倍所需的时间。
每年加利息 n n n 次,每次加息将余额乘以 1 + 0.05 n , 1 + \dfrac{0.05}{n}\mathclose{\text{,}} 1 + n 0.05 , 因此一年后的余额是 1000 ( 1 + 0.05 n ) n 1000\Big(1 + \dfrac{0.05}{n}\Big)^n 1000 ( 1 + n 0.05 ) n 英镑:
n n n 1000 ( 1 + 0.05 n ) n 1000\Big(1 + \dfrac{0.05}{n}\Big)^n 1000 ( 1 + n 0.05 ) n 1 1 1 1050.00 1050.00 1050.00 4 4 4 1050.95 1050.95 1050.95 12 12 12 1051.16 1051.16 1051.16 365 365 365 1051.27 1051.27 1051.27
根据定理 6.6 与 x = 0.05 , x = 0.05\mathclose{\text{,}} x = 0.05 , 连续复利计算后一年得到 1000 e 0.05 ≈ 1051.27 1000e^{0.05} \approx 1051.27 1000 e 0.05 ≈ 1051.27 英镑:与每日复利计算结果相同,精确到便士。在 t t t 年内,每年复利 n n n 次,账户余额为
1000 ( 1 + 0.05 n ) n t = 1000 [ ( 1 + 0.05 n ) n ] t , \begin{aligned} &1000\Big(1 + \frac{0.05}{n}\Big)^{nt} \\ &\quad= 1000\Big[\Big(1 + \frac{0.05}{n}\Big)^n\Big]^t, \end{aligned} 1000 ( 1 + n 0.05 ) n t = 1000 [ ( 1 + n 0.05 ) n ] t ,
当 n → ∞ n \to \infty n → ∞ 趋近于 1000 ( e 0.05 ) t = 1000 e 0.05 t 1000\big(e^{0.05}\big)^t = 1000e^{0.05t} 1000 ( e 0.05 ) t = 1000 e 0.05 t 时,它在 e 0.05 t = 2 e^{0.05t} = 2 e 0.05 t = 2 时加倍,即当 0.05 t = ln 2 0.05t = \ln 2 0.05 t = ln 2 时:
t = ln 2 0.05 ≈ 13.86 years . t = \frac{\ln 2}{0.05} \approx 13.86 \text{ years}. t = 0.05 ln 2 ≈ 13.86 years .
圆 x 2 + y 2 = 25 , x^2 + y^2 = 25\mathclose{\text{,}} x 2 + y 2 = 25 , 以原点为中心,半径为 5,不是函数的图像:它不通过模块 1 中的垂直线测试。但在点 ( 3 , 4 ) (3, 4) ( 3 , 4 ) 附近,它是函数图像:圆的上半部分是 y = 25 − x 2 y = \sqrt{25 - x^2} y = 25 − x 2 的图像,链式法则给出其斜率,
d y d x = − 2 x 2 25 − x 2 = − x 25 − x 2 , \frac{dy}{dx} = \frac{-2x}{2\sqrt{25 - x^2}} = -\frac{x}{\sqrt{25 - x^2}}, d x d y = 2 25 − x 2 − 2 x = − 25 − x 2 x ,
在 x = 3 x = 3 x = 3 处的斜率为 − 3 16 = − 3 4 。 -\tfrac{3}{\sqrt{16}} = -\tfrac34\mathclose{\text{。}} − 16 3 = − 4 3 。
不必解出 y , y\mathclose{\text{,}} y , 也可以求这个斜率。在 ( 3 , 4 ) (3, 4) ( 3 , 4 ) 附近,把 y y y 看作 x x x 的函数 y = y ( x ) , y = y(x)\mathclose{\text{,}} y = y ( x ) , 其图像就是圆上的这一段。这样,对每个靠近 3 的 x x x 都有 x 2 + y ( x ) 2 = 25 , x^2 + y(x)^2 = 25\mathclose{\text{,}} x 2 + y ( x ) 2 = 25 , 两边是 x x x 的同一个函数,导数相同。两边对 x x x 求导,对 y 2 y^2 y 2 使用链式法则:
2 x + 2 y d y d x = 0 , so d y d x = − x y ( y ≠ 0 ) . 2x + 2y\,\frac{dy}{dx} = 0, \quad\text{so}\quad \frac{dy}{dx} = -\frac{x}{y} \quad (y \ne 0). 2 x + 2 y d x d y = 0 , so d x d y = − y x ( y = 0 ) .
在( 3 , 4 ) (3, 4) ( 3 , 4 ) 处这再次给出− 3 4 。 -\tfrac34\mathclose{\text{。}} − 4 3 。 相同的公式在y ≠ 0 y \ne 0 y = 0 的圆周上的每一点都适用:在( 3 , − 4 ) (3, -4) ( 3 , − 4 ) 处,在下半部分,斜率是+ 3 4 。 +\tfrac34\mathclose{\text{。}} + 4 3 。 这是隐函数微分 :方程将y y y 定义为仅隐式 依赖于x x x 的函数,你直接对现有方程进行微分。答案具有几何意义(图6.3,左侧):从原点到( x , y ) (x, y) ( x , y ) 的半径具有斜率y / x y/x y / x (当x ≠ 0 x \ne 0 x = 0 时),且两个斜率的乘积是( y / x ) ( − x / y ) = − 1 , (y/x)(-x/y) = -1\mathclose{\text{,}} ( y / x ) ( − x / y ) = − 1 , 因此切线垂直于半径,正如中学几何所说的那样。
图 6.3 左:圆 x 2 + y 2 = 25 x^2 + y^2 = 25 x 2 + y 2 = 25 及其在 ( 3 , 4 ) (3, 4) ( 3 , 4 ) 处的切线,该切线垂直于半径。右:笛卡尔叶线 x 3 + y 3 = 6 x y , x^3 + y^3 = 6xy\mathclose{\text{,}} x 3 + y 3 = 6 x y , 其在 ( 3 , 3 ) (3, 3) ( 3 , 3 ) 处的切线斜率为 − 1 , -1\mathclose{\text{,}} − 1 , 以及在环形顶端的水平切线 ( 2 4 / 3 , 2 5 / 3 ) ≈ ( 2.52 , 3.17 ) 。 \big(2^{4/3}, 2^{5/3}\big) \approx (2.52, 3.17)\mathclose{\text{。}} ( 2 4/3 , 2 5/3 ) ≈ ( 2.52 , 3.17 ) 。 在原点处曲线自交,没有唯一的切线。其两个分支趋近于虚线 x + y = − 2 。 x + y = -2\mathclose{\text{。}} x + y = − 2 。
要点
隐函数求导。 为了在由 x x x 和 y y y 给出的方程所定义的曲线上求 d y d x : \dfrac{dy}{dx}\mathclose{\text{:}} d x d y :
对两边关于 x x x 求导,将 y y y 视为 x x x 的函数。每个包含 y y y 的项都需要使用链式法则,如 d d x y n = n y n − 1 d y d x \dfrac{d}{dx}y^n = ny^{n-1}\dfrac{dy}{dx} d x d y n = n y n − 1 d x d y 所示,乘积如 x y xy x y 需要使用乘积法则。
将含有 d y d x \dfrac{dy}{dx} d x d y 的项移到一边,并将其提取出来。
除以其系数(该系数不为 0)。答案通常包含 x x x 和 y : y\mathclose{\text{:}} y : 在曲线上的某一点进行计算。
该方法假设在该点附近,方程将 y y y 定义为 x x x 的可导函数。多元微积分中的一个定理——隐函数定理,保证了在曲线上某一点处,当第 3 步中 d y / d x dy/dx d y / d x 的系数不为 0 时,该点处的函数可导,前提是方程由在该点附近具有连续导数的函数构成,如本模块中的方程在其使用点附近的情况。本系列不证明该定理;模块 17 中对其作了精确陈述。当系数为 0 时,需更仔细地分析:圆在 ( ± 5 , 0 ) (\pm5, 0) ( ± 5 , 0 ) 处有垂直切线,其中 y = 0 。 y = 0\mathclose{\text{。}} y = 0 。
例 6.5笛卡尔叶线 ✓ 已检验
曲线 x 3 + y 3 = 6 x y x^3 + y^3 = 6xy x 3 + y 3 = 6 x y (图 6.3,右)称为笛卡尔叶线(拉丁语为“叶”)。证明 ( 3 , 3 ) (3, 3) ( 3 , 3 ) 在其上,求出该点的切线,并找出切线水平的点。
在 ( 3 , 3 ) (3, 3) ( 3 , 3 ) 处, x 3 + y 3 = 27 + 27 = 54 x^3 + y^3 = 27 + 27 = 54 x 3 + y 3 = 27 + 27 = 54 和 6 x y = 6 ⋅ 3 ⋅ 3 = 54 , 6xy = 6 \cdot 3 \cdot 3 = 54\mathclose{\text{,}} 6 x y = 6 ⋅ 3 ⋅ 3 = 54 , 因此该点在曲线上。对两边进行求导,对 y 3 y^3 y 3 使用链式法则,对 6 x y 6xy 6 x y 使用乘积法则:
3 x 2 + 3 y 2 y ′ = 6 y + 6 x y ′ . 3x^2 + 3y^2\,y' = 6y + 6x\,y'. 3 x 2 + 3 y 2 y ′ = 6 y + 6 x y ′ .
收集左边带有 y ′ y' y ′ 的项并提取公因式,然后除以 3 y 2 − 6 x = 3 ( y 2 − 2 x ) 3y^2 - 6x = 3\big(y^2 - 2x\big) 3 y 2 − 6 x = 3 ( y 2 − 2 x ) (当它不为 0 时):
( 3 y 2 − 6 x ) y ′ = 6 y − 3 x 2 , y ′ = 2 y − x 2 y 2 − 2 x ( y 2 ≠ 2 x ) . \begin{aligned} \big(3y^2 - 6x\big)\,y' &= 6y - 3x^2, \\ y' &= \frac{2y - x^2}{y^2 - 2x} \quad \big(y^2 \ne 2x\big). \end{aligned} ( 3 y 2 − 6 x ) y ′ y ′ = 6 y − 3 x 2 , = y 2 − 2 x 2 y − x 2 ( y 2 = 2 x ) .
在 ( 3 , 3 ) 、 (3, 3)\mathclose{\text{、}} ( 3 , 3 ) 、 y ′ = 6 − 9 9 − 6 = − 1 y' = \dfrac{6 - 9}{9 - 6} = -1 y ′ = 9 − 6 6 − 9 = − 1 处,切线为 y − 3 = − ( x − 3 ) , y - 3 = -(x - 3)\mathclose{\text{,}} y − 3 = − ( x − 3 ) , 即 y = 6 − x 。 y = 6 - x\mathclose{\text{。}} y = 6 − x 。
切线水平处为 y ′ = 0 : y' = 0\mathclose{\text{:}} y ′ = 0 : 此时分子 2 y − x 2 2y - x^2 2 y − x 2 为 0 而分母不为 0。将 y = x 2 / 2 y = x^2/2 y = x 2 /2 代入曲线方程,两边减去 x 3 , x^3\mathclose{\text{,}} x 3 , 再乘以 8:
x 3 + x 6 8 = 6 x ⋅ x 2 2 = 3 x 3 , x 6 = 16 x 3 , x 3 ( x 3 − 16 ) = 0. \begin{aligned} x^3 + \frac{x^6}{8} &= 6x\cdot\frac{x^2}{2} = 3x^3, \\ x^6 &= 16x^3, \\ x^3\big(x^3 - 16\big) &= 0. \end{aligned} x 3 + 8 x 6 x 6 x 3 ( x 3 − 16 ) = 6 x ⋅ 2 x 2 = 3 x 3 , = 16 x 3 , = 0.
根 x = 0 x = 0 x = 0 给出原点,此时分母 y 2 − 2 x y^2 - 2x y 2 − 2 x 也为 0,因此公式在该点无意义:曲线在此处自交。另一个根 x 3 = 16 x^3 = 16 x 3 = 16 给出 x = 16 1 / 3 = 2 4 / 3 ≈ 2.520 x = 16^{1/3} = 2^{4/3} \approx 2.520 x = 1 6 1/3 = 2 4/3 ≈ 2.520 和 y = 1 2 x 2 = 1 2 ⋅ 2 8 / 3 = 2 5 / 3 ≈ 3.175 。 y = \tfrac12 x^2 = \tfrac12 \cdot 2^{8/3} = 2^{5/3} \approx 3.175\mathclose{\text{。}} y = 2 1 x 2 = 2 1 ⋅ 2 8/3 = 2 5/3 ≈ 3.175 。 在该点分母为 2 10 / 3 − 2 ⋅ 2 4 / 3 = 2 10 / 3 − 2 7 / 3 = 2 7 / 3 , 2^{10/3} - 2 \cdot 2^{4/3} = 2^{10/3} - 2^{7/3} = 2^{7/3}\mathclose{\text{,}} 2 10/3 − 2 ⋅ 2 4/3 = 2 10/3 − 2 7/3 = 2 7/3 , 不为 0。因此,曲线在恰好一点 ( 2 4 / 3 , 2 5 / 3 ) \big(2^{4/3}, 2^{5/3}\big) ( 2 4/3 , 2 5/3 ) (即环的顶部)处切线水平。交换 x x x 和 y y y 不改变方程,因此镜像点 ( 2 5 / 3 , 2 4 / 3 ) \big(2^{5/3}, 2^{4/3}\big) ( 2 5/3 , 2 4/3 ) 处切线为垂直。
注意
当你对一个方程进行隐式求导时,y y y 是 x x x 的函数:即 d d x y 2 = 2 y y ′ , \dfrac{d}{dx}y^2 = 2y\,y'\mathclose{\text{,}} d x d y 2 = 2 y y ′ , 而不是 2 y , 2y\mathclose{\text{,}} 2 y , 并且 d d x ( x y ) = y + x y ′ \dfrac{d}{dx}(xy) = y + x\,y' d x d ( x y ) = y + x y ′ 是通过乘积法则求导,而不是 y ′ 。 y'\mathclose{\text{。}} y ′ 。 对两边同时求导:常数 25 的导数是 0,而不是 25。
要解 sin θ = 1 2 \sin\theta = \tfrac12 sin θ = 2 1 中的角度,你需要正弦函数的反函数。但正弦函数不是单射的:即 sin θ = 1 2 \sin\theta = \tfrac12 sin θ = 2 1 对应 θ = π / 6 、 \theta = \pi/6\mathclose{\text{、}} θ = π /6 、 5 π / 6 、 5\pi/6\mathclose{\text{、}} 5 π /6 、 13 π / 6 13\pi/6 13 π /6 和无数多个角度。与模块 1 中的 x 2 x^2 x 2 类似,需要将定义域限制在一个函数是单射的区间上,并且每个值只取一次。对于正弦函数,标准选择是 [ − π / 2 , π / 2 ] , [-\pi/2, \pi/2]\mathclose{\text{,}} [ − π /2 , π /2 ] , 其中它从 − 1 -1 − 1 增加到 1;对于余弦函数,标准选择是 [ 0 , π ] , [0, \pi]\mathclose{\text{,}} [ 0 , π ] , 其中它从 1 减少到 − 1 ; -1\mathclose{\text{;}} − 1 ; 对于正切函数,标准选择是 ( − π / 2 , π / 2 ) , (-\pi/2, \pi/2)\mathclose{\text{,}} ( − π /2 , π /2 ) , 其中它通过每一个实数值(图 6.4)。
定义 6.2反三角函数
对于 − 1 ≤ x ≤ 1 , -1 \le x \le 1\mathclose{\text{,}} − 1 ≤ x ≤ 1 , arcsin x \arcsin x arcsin x 是 y y y 在 [ − π / 2 , π / 2 ] [-\pi/2, \pi/2] [ − π /2 , π /2 ] 中的 sin y = x 。 \sin y = x\mathclose{\text{。}} sin y = x 。
对于 − 1 ≤ x ≤ 1 , -1 \le x \le 1\mathclose{\text{,}} − 1 ≤ x ≤ 1 , arccos x \arccos x arccos x 是 y y y 在 [ 0 , π ] [0, \pi] [ 0 , π ] 中的 cos y = x 。 \cos y = x\mathclose{\text{。}} cos y = x 。
对于每一个实数 x , x\mathclose{\text{,}} x , arctan x \arctan x arctan x 是 ( − π / 2 , π / 2 ) (-\pi/2, \pi/2) ( − π /2 , π /2 ) 中的数 y , y\mathclose{\text{,}} y , 使得 tan y = x 。 \tan y = x\mathclose{\text{。}} tan y = x 。
它们读作“x 的反三角函数”,即“反正弦函数”、“反余弦函数”和“反正切函数”。它们的定义域分别是 [ − 1 , 1 ] 、 [-1, 1]\mathclose{\text{、}} [ − 1 , 1 ] 、 [ − 1 , 1 ] [-1, 1] [ − 1 , 1 ] 和 R , \R\mathclose{\text{,}} R , 它们的值域分别是 [ − π / 2 , π / 2 ] 、 [-\pi/2, \pi/2]\mathclose{\text{、}} [ − π /2 , π /2 ] 、 [ 0 , π ] [0, \pi] [ 0 , π ] 和 ( − π / 2 , π / 2 ) 。 (-\pi/2, \pi/2)\mathclose{\text{。}} ( − π /2 , π /2 ) 。
名字说明了 arcsin x \arcsin x arcsin x 是什么:弧度,即正弦值为 x x x 的角。由于 arcsin \arcsin arcsin 撤销了受限的正弦函数,sin ( arcsin x ) = x \sin(\arcsin x) = x sin ( arcsin x ) = x 对于每个 x x x 在 [ − 1 , 1 ] [-1, 1] [ − 1 , 1 ] 中都有定义;但 arcsin ( sin θ ) = θ \arcsin(\sin\theta) = \theta arcsin ( sin θ ) = θ 仅对 θ \theta θ 在 [ − π / 2 , π / 2 ] [-\pi/2, \pi/2] [ − π /2 , π /2 ] 中有效(例6.6)。其他两个函数也是如此,各自对应自己的区间。
图 6.4 反三角函数。在每个图中,被反函数(橙色)和其反函数(蓝色)是直线 y = x y = x y = x (虚线)的镜像。左: sin x \sin x sin x 在 [ − π / 2 , π / 2 ] [-\pi/2, \pi/2] [ − π /2 , π /2 ] 和 arcsin x \arcsin x arcsin x 上。中间: cos x \cos x cos x 在 [ 0 , π ] [0, \pi] [ 0 , π ] 和 arccos x \arccos x arccos x 上。右: tan x \tan x tan x 在 ( − π / 2 , π / 2 ) (-\pi/2, \pi/2) ( − π /2 , π /2 ) 和 arctan x \arctan x arctan x 上,其图像有水平渐近线 y = ± π / 2 。 y = \pm\pi/2\mathclose{\text{。}} y = ± π /2 。
注意
许多教材和计算器用 sin − 1 x \sin^{-1}x sin − 1 x 表示 arcsin x , \arcsin x\mathclose{\text{,}} arcsin x , 也使用 cos − 1 x \cos^{-1}x cos − 1 x 和 tan − 1 x 。 \tan^{-1}x\mathclose{\text{。}} tan − 1 x 。 这里的 − 1 -1 − 1 表示反函数,类似于 f − 1 。 f^{-1}\mathclose{\text{。}} f − 1 。 它不表示指数,所以 sin − 1 x \sin^{-1}x sin − 1 x 不等于 ( sin x ) − 1 = 1 sin x 。 (\sin x)^{-1} = \dfrac{1}{\sin x}\mathclose{\text{。}} ( sin x ) − 1 = sin x 1 。 这种记法容易和确实表示 ( sin x ) 2 (\sin x)^2 ( sin x ) 2 的 sin 2 x \sin^2 x sin 2 x 混淆。对于 x = 1 2 , x = \tfrac12\mathclose{\text{,}} x = 2 1 , 有 arcsin 1 2 = π 6 ≈ 0.524 , \arcsin\tfrac12 = \tfrac{\pi}{6} \approx 0.524\mathclose{\text{,}} arcsin 2 1 = 6 π ≈ 0.524 , 而 1 sin ( 1 / 2 ) ≈ 2.086 。 \dfrac{1}{\sin(1/2)} \approx 2.086\mathclose{\text{。}} sin ( 1/2 ) 1 ≈ 2.086 。 本系列记为 arcsin 。 {\arcsin}\mathclose{\text{。}} arcsin 。
例 6.6反三角函数的值 ✓ 已检验
求(a) arcsin 1 2 , \arcsin\tfrac12\mathclose{\text{,}} arcsin 2 1 , (b) arccos ( − 1 2 ) , \arccos\big(-\tfrac12\big)\mathclose{\text{,}} arccos ( − 2 1 ) , (c) arctan ( − 1 ) \arctan(-1) arctan ( − 1 ) 和(d) arcsin ( sin 3 π 4 ) 。 \arcsin\big(\sin\tfrac{3\pi}{4}\big)\mathclose{\text{。}} arcsin ( sin 4 3 π ) 。
(a) 以 [ − π / 2 , π / 2 ] [-\pi/2, \pi/2] [ − π /2 , π /2 ] 为角,其正弦为 1 2 \tfrac12 2 1 的角是 π / 6 \pi/6 π /6 (模块 1 的表): arcsin 1 2 = π 6 . \arcsin\tfrac12 = \tfrac{\pi}{6}\mathclose{\text{.}} arcsin 2 1 = 6 π .
(b) cos π 3 = 1 2 \cos\tfrac{\pi}{3} = \tfrac12 cos 3 π = 2 1 和 cos ( π − θ ) = − cos θ , \cos(\pi - \theta) = -\cos\theta\mathclose{\text{,}} cos ( π − θ ) = − cos θ , 因此 cos 2 π 3 = − 1 2 ; \cos\tfrac{2\pi}{3} = -\tfrac12\mathclose{\text{;}} cos 3 2 π = − 2 1 ; 且 2 π 3 \tfrac{2\pi}{3} 3 2 π 在 [ 0 , π ] [0, \pi] [ 0 , π ] 中。因此 arccos ( − 1 2 ) = 2 π 3 . \arccos\big(-\tfrac12\big) = \tfrac{2\pi}{3}\mathclose{\text{.}} arccos ( − 2 1 ) = 3 2 π .
(c) tan ( − π 4 ) = − tan π 4 = − 1 , \tan\big(-\tfrac{\pi}{4}\big) = -\tan\tfrac{\pi}{4} = -1\mathclose{\text{,}} tan ( − 4 π ) = − tan 4 π = − 1 , 且 − π 4 -\tfrac{\pi}{4} − 4 π 在 ( − π / 2 , π / 2 ) (-\pi/2, \pi/2) ( − π /2 , π /2 ) 中: arctan ( − 1 ) = − π 4 . \arctan(-1) = -\tfrac{\pi}{4}\mathclose{\text{.}} arctan ( − 1 ) = − 4 π .
(d) sin 3 π 4 = 2 2 , \sin\tfrac{3\pi}{4} = \tfrac{\sqrt2}{2}\mathclose{\text{,}} sin 4 3 π = 2 2 , 因此 arcsin ( sin 3 π 4 ) = arcsin 2 2 = π 4 , \arcsin\big(\sin\tfrac{3\pi}{4}\big) = \arcsin\tfrac{\sqrt2}{2} = \tfrac{\pi}{4}\mathclose{\text{,}} arcsin ( sin 4 3 π ) = arcsin 2 2 = 4 π , 不是 3 π 4 : \tfrac{3\pi}{4}\mathclose{\text{:}} 4 3 π : arcsin \arcsin arcsin 始终返回一个在 [ − π / 2 , π / 2 ] [-\pi/2, \pi/2] [ − π /2 , π /2 ] 中的角,而 3 π 4 \tfrac{3\pi}{4} 4 3 π 不是其中之一。
定理 6.7反三角函数的导数
d d x arcsin x = 1 1 − x 2 , d d x arccos x = − 1 1 − x 2 , d d x arctan x = 1 1 + x 2 , \begin{aligned} \frac{d}{dx}\arcsin x &= \frac{1}{\sqrt{1 - x^2}}, \\ \frac{d}{dx}\arccos x &= -\frac{1}{\sqrt{1 - x^2}}, \\ \frac{d}{dx}\arctan x &= \frac{1}{1 + x^2}, \end{aligned} d x d arcsin x d x d arccos x d x d arctan x = 1 − x 2 1 , = − 1 − x 2 1 , = 1 + x 2 1 ,
前两个用于 − 1 < x < 1 , -1 < x < 1\mathclose{\text{,}} − 1 < x < 1 , 第三个用于每个实数 x . x\mathclose{\text{.}} x .
证明
正弦函数是可导的,因此连续,并且在开区间 ( − π / 2 , π / 2 ) (-\pi/2, \pi/2) ( − π /2 , π /2 ) 上是单射的,其导数在该区间为 cos y > 0 , \cos y > 0\mathclose{\text{,}} cos y > 0 , 其值域为 ( − 1 , 1 ) 。 (-1, 1)\mathclose{\text{。}} ( − 1 , 1 ) 。 根据定理 6.4, arcsin \arcsin arcsin 在 ( − 1 , 1 ) (-1, 1) ( − 1 , 1 ) 中每个 x x x 处均可导,并且导数为 y = arcsin x 。 y = \arcsin x\mathclose{\text{。}} y = arcsin x 。
d d x arcsin x = 1 cos y . \frac{d}{dx}\arcsin x = \frac{1}{\cos y}. d x d arcsin x = cos y 1 .
用 x x x 表示 cos 2 y = 1 − sin 2 y = 1 − x 2 \cos^2 y = 1 - \sin^2 y = 1 - x^2 cos 2 y = 1 − sin 2 y = 1 − x 2 和 cos y > 0 , \cos y > 0\mathclose{\text{,}} cos y > 0 , 因为 y y y 在 ( − π / 2 , π / 2 ) (-\pi/2, \pi/2) ( − π /2 , π /2 ) 中,所以 cos y \cos y cos y 是正平方根,即 1 − x 2 。 \sqrt{1 - x^2}\mathclose{\text{。}} 1 − x 2 。
对于 arccos , {\arccos}\mathclose{\text{,}} arccos , 用 ( 0 , π ) (0, \pi) ( 0 , π ) 的余弦,导数为 − sin y < 0 ; -\sin y < 0\mathclose{\text{;}} − sin y < 0 ; 在那里 sin y > 0 , \sin y > 0\mathclose{\text{,}} sin y > 0 , 所以 sin y = 1 − cos 2 y = 1 − x 2 \sin y = \sqrt{1 - \cos^2 y} = \sqrt{1 - x^2} sin y = 1 − cos 2 y = 1 − x 2 和 ( arccos x ) ′ = − 1 / 1 − x 2 。 (\arccos x)' = -1/\sqrt{1 - x^2}\mathclose{\text{。}} ( arccos x ) ′ = − 1/ 1 − x 2 。 对于 arctan , {\arctan}\mathclose{\text{,}} arctan , 用 ( − π / 2 , π / 2 ) (-\pi/2, \pi/2) ( − π /2 , π /2 ) 的正切,导数为 sec 2 y \sec^2 y sec 2 y (模块 5)。将 cos 2 y + sin 2 y = 1 \cos^2 y + \sin^2 y = 1 cos 2 y + sin 2 y = 1 除以 cos 2 y \cos^2 y cos 2 y 得到 sec 2 y = 1 + tan 2 y = 1 + x 2 , \sec^2 y = 1 + \tan^2 y = 1 + x^2\mathclose{\text{,}} sec 2 y = 1 + tan 2 y = 1 + x 2 , 因此 ( arctan x ) ′ = 1 / ( 1 + x 2 ) 。 (\arctan x)' = 1/(1 + x^2)\mathclose{\text{。}} ( arctan x ) ′ = 1/ ( 1 + x 2 ) 。
∎
在x = ± 1 x = \pm1 x = ± 1 处定理6.4不适用:正弦函数在± π / 2 、 \pm\pi/2\mathclose{\text{、}} ± π /2 、 cos ( ± π / 2 ) \cos(\pm\pi/2) cos ( ± π /2 ) 处的导数为0,余弦函数在0和π \pi π 处的导数也为0。arcsin \arcsin arcsin 和arccos \arccos arccos 的图像在这些点处有垂直切线(图6.4),且当x x x 趋近于± 1 \pm1 ± 1 时1 / 1 − x 2 1/\sqrt{1 - x^2} 1/ 1 − x 2 无界增长。arcsin \arcsin arcsin 和arccos \arccos arccos 的导数之和为0,因为对于[ − 1 , 1 ] [-1, 1] [ − 1 , 1 ] 中的每个x x x 都有arcsin x + arccos x = π / 2 : \arcsin x + \arccos x = \pi/2\mathclose{\text{:}} arcsin x + arccos x = π /2 : 若y = arcsin x , y = \arcsin x\mathclose{\text{,}} y = arcsin x , 则由加法公式知π / 2 − y \pi/2 - y π /2 − y 位于[ 0 , π ] [0, \pi] [ 0 , π ] 和cos ( π / 2 − y ) = sin y = x \cos(\pi/2 - y) = \sin y = x cos ( π /2 − y ) = sin y = x 中,故arccos x = π / 2 − y 。 \arccos x = \pi/2 - y\mathclose{\text{。}} arccos x = π /2 − y 。
例 6.7升起气球的角度 ✓ 已检验
一个气球从你所在水平地面上某点垂直上升,该点距离你 100 米。当气球上升到 h h h 米时,你观察到它的仰角为 θ = arctan h 100 \theta = \arctan\dfrac{h}{100} θ = arctan 100 h 弧度。当 h = 0 h = 0 h = 0 和 h = 100 h = 100 h = 100 时, θ \theta θ 随 h h h 变化多快?
由链式法则,内函数为 h / 100 , h/100\mathclose{\text{,}} h /100 ,
d θ d h = 1 1 + ( h / 100 ) 2 ⋅ 1 100 = 100 100 2 + h 2 , \begin{aligned} \frac{d\theta}{dh} &= \frac{1}{1 + (h/100)^2}\cdot\frac{1}{100} \\ &= \frac{100}{100^2 + h^2}, \end{aligned} d h d θ = 1 + ( h /100 ) 2 1 ⋅ 100 1 = 10 0 2 + h 2 100 ,
在将分子和分母同时乘以 100 2 100^2 10 0 2 之后。在 h = 0 h = 0 h = 0 处,其值为 100 10,000 = 0.01 \dfrac{100}{10{,}000} = 0.01 10 , 000 100 = 0.01 弧度每米。在 h = 100 h = 100 h = 100 处,其中 θ = arctan 1 = π / 4 , \theta = \arctan 1 = \pi/4\mathclose{\text{,}} θ = arctan 1 = π /4 , 其值为 100 20,000 = 0.005 \dfrac{100}{20{,}000} = 0.005 20 , 000 100 = 0.005 弧度每米,约为 0.29 ∘ 0.29^\circ 0.2 9 ∘ 弧度每米。每米高度变化的角度随着气球上升而减小。模块 7 引入时间,要求计算角度每秒的变化率。
须知
三个更多的反函数 arccot 、 {\arccot}\mathclose{\text{、}} arccot 、 arcsec \arcsec arcsec 和 arccsc {\arccsc} arccsc 使用较少,不同书籍对其定义域意见不一。正割函数的值是所有 x x x 且 ∣ x ∣ ≥ 1 \abs{x} \ge 1 ∣ x ∣ ≥ 1 的数。对于这样的 x , x\mathclose{\text{,}} x , 该级数将 arcsec x \arcsec x arcsec x (读作“x 的反正割”)定义为 y , y\mathclose{\text{,}} y , 即 [ 0 , π / 2 ) ∪ ( π / 2 , π ] [0, \pi/2) \cup (\pi/2, \pi] [ 0 , π /2 ) ∪ ( π /2 , π ] 中满足 sec y = x \sec y = x sec y = x 的角,即 arcsec x = arccos ( 1 / x ) 。 \arcsec x = \arccos(1/x)\mathclose{\text{。}} arcsec x = arccos ( 1/ x ) 。 对于 ∣ x ∣ > 1 , \abs{x} > 1\mathclose{\text{,}} ∣ x ∣ > 1 , 链式法则则给出
d d x arcsec x = − 1 1 − 1 / x 2 ⋅ ( − 1 x 2 ) = 1 x 2 1 − 1 / x 2 = 1 ∣ x ∣ x 2 − 1 , \begin{aligned} &\frac{d}{dx}\arcsec x \\ &\quad= -\frac{1}{\sqrt{1 - 1/x^2}}\cdot\Big(-\frac{1}{x^2}\Big) \\ &\quad= \frac{1}{x^2\sqrt{1 - 1/x^2}} = \frac{1}{\abs{x}\sqrt{x^2 - 1}}, \end{aligned} d x d arcsec x = − 1 − 1/ x 2 1 ⋅ ( − x 2 1 ) = x 2 1 − 1/ x 2 1 = ∣ x ∣ x 2 − 1 1 ,
因为 x 2 = ∣ x ∣ x 2 x^2 = \abs{x}\sqrt{x^2} x 2 = ∣ x ∣ x 2 (模块 1) 和 x 2 1 − 1 / x 2 = x 2 − 1 。 \sqrt{x^2}\sqrt{1 - 1/x^2} = \sqrt{x^2 - 1}\mathclose{\text{。}} x 2 1 − 1/ x 2 = x 2 − 1 。 绝对值起作用: arcsec \arcsec arcsec 在其定义域的两个部分上都是递增的,因此对于 x < − 1 x < -1 x < − 1 也是如此,其斜率为正。其他书籍选择范围 [ 0 , π / 2 ) ∪ [ π , 3 π / 2 ) , [0, \pi/2) \cup [\pi, 3\pi/2)\mathclose{\text{,}} [ 0 , π /2 ) ∪ [ π , 3 π /2 ) , 然后导数是 1 x x 2 − 1 , \dfrac{1}{x\sqrt{x^2 - 1}}\mathclose{\text{,}} x x 2 − 1 1 , 对于 x < − 1 x < -1 x < − 1 为负。当你在别处遇到这些函数时,请检查该书使用的范围。
实数指数的幂法则
模块 4 和 5 证明了 d d x x n = n x n − 1 \dfrac{d}{dx}x^n = nx^{n-1} d x d x n = n x n − 1 对于每一个整数 n , n\mathclose{\text{,}} n , 正、负或零都成立。使用 e x e^x e x 和 ln x , \ln x\mathclose{\text{,}} ln x , 该法则可扩展到每一个实数指数。
定理 6.8实数指数的幂法则
对于每一个实数 r r r 和每一个 x > 0 , x > 0\mathclose{\text{,}} x > 0 ,
d d x x r = r x r − 1 . \frac{d}{dx}x^r = r\,x^{r-1}. d x d x r = r x r − 1 .
证明
对于 x > 0 , x > 0\mathclose{\text{,}} x > 0 , x = e ln x , x = e^{\ln x}\mathclose{\text{,}} x = e l n x , 因此根据法则 ( a u ) v = a u v , (a^u)^v = a^{uv}\mathclose{\text{,}} ( a u ) v = a uv , x r = e r ln x 。 x^r = e^{r\ln x}\mathclose{\text{。}} x r = e r l n x 。 根据链式法则和定理 6.5,
d d x x r = e r ln x ⋅ r x = x r ⋅ r x = r x r − 1 . \frac{d}{dx}x^r = e^{r\ln x}\cdot\frac{r}{x} = x^r\cdot\frac{r}{x} = r\,x^{r-1}. d x d x r = e r l n x ⋅ x r = x r ⋅ x r = r x r − 1 .
∎
所以 d d x x = d d x x 1 / 2 = 1 2 x − 1 / 2 = 1 2 x , \dfrac{d}{dx}\sqrt{x} = \dfrac{d}{dx}x^{1/2} = \dfrac{1}{2}x^{-1/2} = \dfrac{1}{2\sqrt x}\mathclose{\text{,}} d x d x = d x d x 1/2 = 2 1 x − 1/2 = 2 x 1 , 且 d d x x 2 = 2 x 2 − 1 。 \dfrac{d}{dx}x^{\sqrt2} = \sqrt2\,x^{\sqrt2 - 1}\mathclose{\text{。}} d x d x 2 = 2 x 2 − 1 。 在 x r x^r x r 也对负数 x x x 有定义的情况下,如 x 1 / 3 = x 3 x^{1/3} = \sqrt[3]{x} x 1/3 = 3 x 所示,同样的公式也适用于那里:对于 x < 0 , x < 0\mathclose{\text{,}} x < 0 , 写成 x 3 = − − x 3 \sqrt[3]{x} = -\sqrt[3]{-x} 3 x = − 3 − x 并使用链式法则。
四个函数看起来相似:
函数
什么是
导数
e 2 e^2 e 2
常数
0 0 0
x e x^e x e
幂函数:变量底数,常数指数
e x e − 1 e\,x^{e-1} e x e − 1
e x e^x e x
指数函数:常数底数,变量指数
e x e^x e x
x x x^x x x
变量底数和变量指数
例6.8
对于x x , x^x\mathclose{\text{,}} x x , 既不适用幂函数法则,也不适用指数函数法则。取对数可以将指数转化为因子。
对y = x x y = x^x y = x x 关于x > 0 x > 0 x > 0 求导,并找出其切线水平的位置。
由于 y > 0 , y > 0\mathclose{\text{,}} y > 0 , 你可以对两边取 ln : \ln\mathclose{\text{:}} ln : ln y = ln ( x x ) = x ln x 。 \ln y = \ln\big(x^x\big) = x\ln x\mathclose{\text{。}} ln y = ln ( x x ) = x ln x 。 函数 y y y 是可导的,因为 x x = e x ln x , x^x = e^{x\ln x}\mathclose{\text{,}} x x = e x l n x , 如定理 6.8 的证明所示。因此,你可以对两边关于 x x x 求导:左边使用链式法则和定理 6.5,如隐函数求导;右边使用乘积法则:
y ′ y = 1 ⋅ ln x + x ⋅ 1 x = ln x + 1. \frac{y'}{y} = 1\cdot\ln x + x\cdot\frac1x = \ln x + 1. y y ′ = 1 ⋅ ln x + x ⋅ x 1 = ln x + 1.
乘以y = x x : y = x^x\mathclose{\text{:}} y = x x :
d d x x x = x x ( ln x + 1 ) . \frac{d}{dx}x^x = x^x(\ln x + 1). d x d x x = x x ( ln x + 1 ) .
因子x x x^x x x 永远不会为0,因此切线水平的位置恰好在ln x = − 1 : \ln x = -1\mathclose{\text{:}} ln x = − 1 : 即在x = e − 1 = 1 / e ≈ 0.368 , x = e^{-1} = 1/e \approx 0.368\mathclose{\text{,}} x = e − 1 = 1/ e ≈ 0.368 , 其中y = ( 1 / e ) 1 / e = e − 1 / e ≈ 0.692 。 y = (1/e)^{1/e} = e^{-1/e} \approx 0.692\mathclose{\text{。}} y = ( 1/ e ) 1/ e = e − 1/ e ≈ 0.692 。
要点
对数微分法。 要对由乘积、商和幂构成的函数y y y 求导,且变量可能出现在指数上:先取ln ∣ y ∣ , \ln{\abs{y}}\mathclose{\text{,}} ln ∣ y ∣ , 利用对数法则展开,然后求导(左侧由定理6.5给出y ′ / y ), y'/y\mathclose{\text{),}} y ′ / y ), 再乘以y 。 y\mathclose{\text{。}} y 。 只要y ≠ 0 y \ne 0 y = 0 以及构成y y y 的各部分可导,该方法即适用;若y > 0 y > 0 y > 0 成立,则可用ln y \ln y ln y 代替ln ∣ y ∣ 。 \ln{\abs{y}}\mathclose{\text{。}} ln ∣ y ∣ 。
例 6.9乘积与商 ✓ 已检验
求 y ′ ( 1 ) y'(1) y ′ ( 1 ) 的导数
y = x 2 ( x + 1 ) 3 x 2 + 3 , x > 0. y = \frac{x^2(x + 1)^3}{\sqrt{x^2 + 3}}, \quad x > 0. y = x 2 + 3 x 2 ( x + 1 ) 3 , x > 0.
当 x > 0 x > 0 x > 0 的每个因子都是正数时,所以 y > 0 , y > 0\mathclose{\text{,}} y > 0 , 根据对数的性质
ln y = 2 ln x + 3 ln ( x + 1 ) − 1 2 ln ( x 2 + 3 ) . \begin{aligned} \ln y = {} & 2\ln x + 3\ln(x + 1) \\ & - \tfrac12\ln\big(x^2 + 3\big). \end{aligned} ln y = 2 ln x + 3 ln ( x + 1 ) − 2 1 ln ( x 2 + 3 ) .
两边求导:
y ′ y = 2 x + 3 x + 1 − x x 2 + 3 . \frac{y'}{y} = \frac2x + \frac{3}{x + 1} - \frac{x}{x^2 + 3}. y y ′ = x 2 + x + 1 3 − x 2 + 3 x .
在 x = 1 x = 1 x = 1 处, y ( 1 ) = 1 ⋅ 8 4 = 4 y(1) = \dfrac{1 \cdot 8}{\sqrt4} = 4 y ( 1 ) = 4 1 ⋅ 8 = 4 和 y ′ y = 2 + 3 2 − 1 4 = 13 4 , \dfrac{y'}{y} = 2 + \dfrac32 - \dfrac14 = \dfrac{13}{4}\mathclose{\text{,}} y y ′ = 2 + 2 3 − 4 1 = 4 13 , 所以 y ′ ( 1 ) = 4 ⋅ 13 4 = 13 。 y'(1) = 4 \cdot \dfrac{13}{4} = 13\mathclose{\text{。}} y ′ ( 1 ) = 4 ⋅ 4 13 = 13 。 乘积法则和商法则给出相同的结果,但需要更多代数运算。
注意
d d x x x \dfrac{d}{dx}x^x d x d x x 不等于 x ⋅ x x − 1 x \cdot x^{x-1} x ⋅ x x − 1 (幂法则需要常数指数),也不等于 x x ln x x^x\ln x x x ln x (指数法则需要常数底数)。正确答案 x x ln x + x x x^x\ln x + x^x x x ln x + x x 是两者的和:每个规则对应 x x x 出现的一个位置。只对正数取对数: ln y \ln y ln y 需要 y > 0 ; y > 0\mathclose{\text{;}} y > 0 ; 否则使用 ln ∣ y ∣ 。 \ln{\abs{y}}\mathclose{\text{。}} ln ∣ y ∣ 。
动手计算使用 SymPy 计算导数
SymPy 知道这个模块的每一个导数。声明 x x x 为正数可以让它使用需要 x > 0 x > 0 x > 0 的规则:
Python 复制
import sympy as sp
x = sp.symbols ('x' , positive=True )
for f in [2 **x, sp.log (x, 10 ), x**sp.E, x**x, sp.asin (x), sp.tanh (x)]:
print (f, ' -> ' , sp.diff (f, x))
输出
2**x -> 2**x*log(2)
log(x)/log(10) -> 1/(x*log(10))
x**E -> E*x**E/x
x**x -> x**x*(log(x) + 1)
asin(x) -> 1/sqrt(1 - x**2)
tanh(x) -> 1 - tanh(x)**2
SymPy 用 log 表示 ln , {\ln}\mathclose{\text{,}} ln , 用 E 表示 e , e\mathclose{\text{,}} e , 用 asin 表示 arcsin , {\arcsin}\mathclose{\text{,}} arcsin , 它的形式可能与页面上的不同。它在求导前将 log(x, 10) 转换为 log(x)/log(10); E*x**E/x 等于 e x e − 1 ; e\,x^{e-1}\mathclose{\text{;}} e x e − 1 ; 1 - tanh(x)**2 等于 1 / cosh 2 x 1/\cosh^2 x 1/ cosh 2 x (第6.7节)。 idiff 进行隐函数求导:
Python 复制
X, Y = sp.symbols ('x y' )
slope = sp.idiff (X**3 + Y**3 - 6 *X*Y, Y, X) # dy/dx on the folium of Descartes
print (slope)
print (slope.subs ({X: 3 , Y: 3 }))
输出
(x**2 - 2*y)/(2*x - y**2)
-1
分数 x 2 − 2 y 2 x − y 2 \dfrac{x^2 - 2y}{2x - y^2} 2 x − y 2 x 2 − 2 y 是例6.5的 2 y − x 2 y 2 − 2 x , \dfrac{2y - x^2}{y^2 - 2x}\mathclose{\text{,}} y 2 − 2 x 2 y − x 2 , 其分子和分母都乘以 − 1 。 -1\mathclose{\text{。}} − 1 。
一条悬挂在两根柱子之间的链条(图6.5,右)看起来像一条抛物线,但它的形状是由 e x e^x e x 和 e − x e^{-x} e − x 构成的,如本节末尾所示。两种由 e x e^x e x 和 e − x e^{-x} e − x 组合而成的函数在科学和工程中出现得如此频繁,以至于它们有了专门的名称。
定义 6.3双曲函数
对于每一个实数 x , x\mathclose{\text{,}} x ,
sinh x = e x − e − x 2 , cosh x = e x + e − x 2 , tanh x = sinh x cosh x = e x − e − x e x + e − x . \begin{aligned} \sinh x &= \frac{e^x - e^{-x}}{2}, \\ \cosh x &= \frac{e^x + e^{-x}}{2}, \\ \tanh x &= \frac{\sinh x}{\cosh x} = \frac{e^x - e^{-x}}{e^x + e^{-x}}. \end{aligned} sinh x cosh x tanh x = 2 e x − e − x , = 2 e x + e − x , = cosh x sinh x = e x + e − x e x − e − x .
它们分别是 双曲正弦 、 双曲余弦 和 双曲正切 ,读作“x 的双曲正弦”等。
它们的图像见图6.5(左)。 cosh x \cosh x cosh x 是偶函数,最小值为 cosh 0 = 1 ; \cosh 0 = 1\mathclose{\text{;}} cosh 0 = 1 ; sinh x \sinh x sinh x 是奇函数且单调递增,具有 sinh 0 = 0 ; \sinh 0 = 0\mathclose{\text{;}} sinh 0 = 0 ; tanh x \tanh x tanh x 是奇函数且单调递增,位于 − 1 -1 − 1 和 1 之间,当 x → ∞ x \to \infty x → ∞ 趋于无穷大时趋近于 1,当 − 1 -1 − 1 趋于无穷大时趋近于 x → − ∞ 。 x \to -\infty\mathclose{\text{。}} x → − ∞ 。 对于大的 x , x\mathclose{\text{,}} x , e − x e^{-x} e − x 很小,因此 cosh x \cosh x cosh x 和 sinh x \sinh x sinh x 都接近 1 2 e x 。 \tfrac12 e^x\mathclose{\text{。}} 2 1 e x 。 S 形的 tanh \tanh tanh 是神经网络的标准激活函数之一。
定理 6.9双曲恒等式和导数
对于每一个实数 x , x\mathclose{\text{,}} x ,
cosh 2 x − sinh 2 x = 1 , \cosh^2 x - \sinh^2 x = 1, cosh 2 x − sinh 2 x = 1 ,
和
d d x sinh x = cosh x , d d x cosh x = sinh x , d d x tanh x = 1 cosh 2 x = 1 − tanh 2 x . \begin{aligned} \frac{d}{dx}\sinh x &= \cosh x, \\ \frac{d}{dx}\cosh x &= \sinh x, \\ \frac{d}{dx}\tanh x &= \frac{1}{\cosh^2 x} = 1 - \tanh^2 x. \end{aligned} d x d sinh x d x d cosh x d x d tanh x = cosh x , = sinh x , = cosh 2 x 1 = 1 − tanh 2 x .
证明
展开平方,使用 e x e − x = 1 : e^x e^{-x} = 1\mathclose{\text{:}} e x e − x = 1 :
cosh 2 x = e 2 x + 2 + e − 2 x 4 , sinh 2 x = e 2 x − 2 + e − 2 x 4 . \begin{aligned} \cosh^2 x &= \frac{e^{2x} + 2 + e^{-2x}}{4}, \\ \sinh^2 x &= \frac{e^{2x} - 2 + e^{-2x}}{4}. \end{aligned} cosh 2 x sinh 2 x = 4 e 2 x + 2 + e − 2 x , = 4 e 2 x − 2 + e − 2 x .
在差 cosh 2 x − sinh 2 x \cosh^2 x - \sinh^2 x cosh 2 x − sinh 2 x 中,所有项相互抵消,只剩下 2 4 − ( − 2 4 ) = 1 。 \tfrac24 - \big(-\tfrac24\big) = 1\mathclose{\text{。}} 4 2 − ( − 4 2 ) = 1 。
由于 d d x e − x = − e − x , \dfrac{d}{dx}e^{-x} = -e^{-x}\mathclose{\text{,}} d x d e − x = − e − x , sinh x \sinh x sinh x 的导数是 e x + e − x 2 = cosh x , \dfrac{e^x + e^{-x}}{2} = \cosh x\mathclose{\text{,}} 2 e x + e − x = cosh x , cosh x \cosh x cosh x 的导数是 e x − e − x 2 = sinh x 。 \dfrac{e^x - e^{-x}}{2} = \sinh x\mathclose{\text{。}} 2 e x − e − x = sinh x 。 根据商法则和恒等式,
d d x tanh x = cosh 2 x − sinh 2 x cosh 2 x = 1 cosh 2 x , \begin{aligned} \frac{d}{dx}\tanh x &= \frac{\cosh^2 x - \sinh^2 x}{\cosh^2 x} \\ &= \frac{1}{\cosh^2 x}, \end{aligned} d x d tanh x = cosh 2 x cosh 2 x − sinh 2 x = cosh 2 x 1 ,
并将恒等式除以 cosh 2 x \cosh^2 x cosh 2 x 得到 1 − tanh 2 x = 1 cosh 2 x 。 1 - \tanh^2 x = \dfrac{1}{\cosh^2 x}\mathclose{\text{。}} 1 − tanh 2 x = cosh 2 x 1 。
∎
该恒等式解释了名称的由来。点 ( cos t , sin t ) (\cos t, \sin t) ( cos t , sin t ) 位于圆 x 2 + y 2 = 1 x^2 + y^2 = 1 x 2 + y 2 = 1 上;点 ( cosh t , sinh t ) (\cosh t, \sinh t) ( cosh t , sinh t ) 位于双曲线 ** ** x 2 − y 2 = 1 x^2 - y^2 = 1 x 2 − y 2 = 1 上,位于其右支,因为 cosh t ≥ 1 。 \cosh t \ge 1\mathclose{\text{。}} cosh t ≥ 1 。 这些公式与三角函数的公式类似,只是符号有所变化:cos ′ = − sin \cos' = -\sin cos ′ = − sin 但 cosh ′ = sinh , \cosh' = {\sinh}\mathclose{\text{,}} cosh ′ = sinh , 且 cos 2 + sin 2 = 1 \cos^2 + \sin^2 = 1 cos 2 + sin 2 = 1 但 cosh 2 − sinh 2 = 1 。 \cosh^2 - \sinh^2 = 1\mathclose{\text{。}} cosh 2 − sinh 2 = 1 。 其余三个双曲函数 sech x = 1 / cosh x 、 \sech x = 1/\cosh x\mathclose{\text{、}} sech x = 1/ cosh x 、 csch x = 1 / sinh x \csch x = 1/\sinh x csch x = 1/ sinh x 和 coth x = cosh x / sinh x \coth x = \cosh x/\sinh x coth x = cosh x / sinh x (最后两个用于 x ≠ 0 ) x \ne 0\mathclose{\text{)}} x = 0 ) 使用较少。利用它们,( tanh x ) ′ = sech 2 x , (\tanh x)' = \sech^2 x\mathclose{\text{,}} ( tanh x ) ′ = sech 2 x , 并应用商法则,同样可得 ( coth x ) ′ = − csch 2 x 、 (\coth x)' = -\csch^2 x\mathclose{\text{、}} ( coth x ) ′ = − csch 2 x 、 ( sech x ) ′ = − sech x tanh x (\sech x)' = -\sech x\tanh x ( sech x ) ′ = − sech x tanh x 和 ( csch x ) ′ = − csch x coth x 。 (\csch x)' = -\csch x\coth x\mathclose{\text{。}} ( csch x ) ′ = − csch x coth x 。
悬挂的链条
一串链条或缆绳在两个支撑点之间自由悬挂,仅受自身重力作用时,会形成一个 悬链线 (来自拉丁语“chain”之意):其最低点位于 ( 0 , a ) , (0, a)\mathclose{\text{,}} ( 0 , a ) , 其方程为
y = a cosh x a , y = a\cosh\frac{x}{a}, y = a cosh a x ,
其中常数 a > 0 a > 0 a > 0 是链条的水平张力与其单位长度的重量之比。推导该方程需要弧长(第12模块)和微分方程(第13模块),本系列不进行推导。图6.5(右)比较了悬链线与抛物线:它们看起来相似,但实际上是不同的曲线。
图 6.5 左:函数 cosh x 、 \cosh x\mathclose{\text{、}} cosh x 、 sinh x \sinh x sinh x 和 tanh x \tanh x tanh x 的图像。对于大的 x , x\mathclose{\text{,}} x , cosh x \cosh x cosh x 和 sinh x \sinh x sinh x 都趋近于 1 2 e x \tfrac12 e^x 2 1 e x (虚线),而 tanh x \tanh x tanh x 趋近于 1。右:悬链线 y = cosh x y = \cosh x y = cosh x 对于 − 2 ≤ x ≤ 2 -2 \le x \le 2 − 2 ≤ x ≤ 2 (蓝色),表示两个支撑点之间悬挂链条的形状,以及通过其最低点和两个端点的抛物线(橙色虚线)。
现在你可以验证悬链线所满足的微分方程。
例 6.10悬挂的链条 ✓ 已检验
证明 y = a cosh ( x / a ) , y = a\cosh(x/a)\mathclose{\text{,}} y = a cosh ( x / a ) , 在 a > 0 a > 0 a > 0 的条件下,满足
y ′ ′ = 1 a 1 + ( y ′ ) 2 , y'' = \frac1a\sqrt{1 + (y')^2}, y ′′ = a 1 1 + ( y ′ ) 2 ,
那个悬挂链所遵循的方程。
根据链式法则和定理 6.9, y ′ = a sinh x a ⋅ 1 a = sinh x a , y' = a\sinh\dfrac{x}{a}\cdot\dfrac1a = \sinh\dfrac{x}{a}\mathclose{\text{,}} y ′ = a sinh a x ⋅ a 1 = sinh a x , 且 y ′ ′ = 1 a cosh x a 。 y'' = \dfrac1a\cosh\dfrac{x}{a}\mathclose{\text{。}} y ′′ = a 1 cosh a x 。 另一方面,根据恒等式, 1 + ( y ′ ) 2 = 1 + sinh 2 x a = cosh 2 x a , 1 + (y')^2 = 1 + \sinh^2\dfrac{x}{a} = \cosh^2\dfrac{x}{a}\mathclose{\text{,}} 1 + ( y ′ ) 2 = 1 + sinh 2 a x = cosh 2 a x , 由于 cosh \cosh cosh 是正数, 1 + ( y ′ ) 2 = cosh x a 。 \sqrt{1 + (y')^2} = \cosh\dfrac{x}{a}\mathclose{\text{。}} 1 + ( y ′ ) 2 = cosh a x 。 因此两边都等于 1 a cosh x a 。 \dfrac1a\cosh\dfrac{x}{a}\mathclose{\text{。}} a 1 cosh a x 。
注意
两个符号牌。 d d x cosh x = + sinh x \dfrac{d}{dx}\cosh x = +\sinh x d x d cosh x = + sinh x 与 d d x cos x = − sin x \dfrac{d}{dx}\cos x = -\sin x d x d cos x = − sin x 不同;而恒等式是 cosh 2 x − sinh 2 x = 1 , \cosh^2 x - \sinh^2 x = 1\mathclose{\text{,}} cosh 2 x − sinh 2 x = 1 , 带有负号。为了检验公式,尝试 x = ln 2 , x = \ln 2\mathclose{\text{,}} x = ln 2 , 其中 cosh x = 5 4 \cosh x = \tfrac54 cosh x = 4 5 和 sinh x = 3 4 : \sinh x = \tfrac34\mathclose{\text{:}} sinh x = 4 3 : ( 5 4 ) 2 − ( 3 4 ) 2 = 1 , \big(\tfrac54\big)^2 - \big(\tfrac34\big)^2 = 1\mathclose{\text{,}} ( 4 5 ) 2 − ( 4 3 ) 2 = 1 , 而 ( 5 4 ) 2 + ( 3 4 ) 2 = 17 8 。 \big(\tfrac54\big)^2 + \big(\tfrac34\big)^2 = \tfrac{17}{8}\mathclose{\text{。}} ( 4 5 ) 2 + ( 4 3 ) 2 = 8 17 。
根据定理 6.1,指数函数的变化率与其大小成比例。许多量都表现出这种特性:在充足食物和空间下的人口增长速率与其数量成比例,连续复利下的钱数增长速率与其余额成比例,放射性物质的衰变速率与其剩余量成比例。每个情况都可以用以下方程描述
d y d t = k y , \frac{dy}{dt} = ky, d t d y = k y ,
其中 k k k 是一个常数。这是一个 微分方程 :一个未知函数 y ( t ) y(t) y ( t ) 的方程,它涉及该函数的导数。一个 解决方案 是使方程对所有 t t t 成立的函数。
定理 6.10指数增长与衰减
对于任何常数 C C C 和 k , k\mathclose{\text{,}} k , 函数 y ( t ) = C e k t y(t) = Ce^{kt} y ( t ) = C e k t 满足
d y d t = k y for every t , y ( 0 ) = C . \begin{aligned} \frac{dy}{dt} &= ky \quad \text{for every } t, \\ y(0) &= C. \end{aligned} d t d y y ( 0 ) = k y for every t , = C .
证明
根据链式法则, d d t ( C e k t ) = C ⋅ k e k t = k ⋅ C e k t = k y , \dfrac{d}{dt}\big(Ce^{kt}\big) = C\cdot ke^{kt} = k\cdot Ce^{kt} = ky\mathclose{\text{,}} d t d ( C e k t ) = C ⋅ k e k t = k ⋅ C e k t = k y , 和 y ( 0 ) = C e 0 = C 。 y(0) = Ce^0 = C\mathclose{\text{。}} y ( 0 ) = C e 0 = C 。
∎
这个检查公式是否为解;它不是寻找解的方法。模块 13 解决微分方程,并展示这些是 y ′ = k y y' = ky y ′ = k y 的唯一解:一个量的变化率是其大小的 k k k 倍,该量为 y ( 0 ) e k t 。 y(0)e^{kt}\mathclose{\text{。}} y ( 0 ) e k t 。
倍增时间与半衰期
如果 k > 0 k > 0 k > 0 和 C > 0 , C > 0\mathclose{\text{,}} C > 0 , y = C e k t y = Ce^{kt} y = C e k t 会增长。它在时间 T T T 内以 e k T = 2 e^{kT} = 2 e k T = 2 倍增长,即,
T = ln 2 k , T = \frac{\ln 2}{k}, T = k ln 2 ,
无论起始值如何以及何时开始计时, 倍增时间 都是 y ( t + T ) = C e k t e k T = 2 y ( t ) 。 y(t + T) = Ce^{kt}e^{kT} = 2y(t)\mathclose{\text{。}} y ( t + T ) = C e k t e k T = 2 y ( t ) 。 如果 k < 0 , k < 0\mathclose{\text{,}} k < 0 , y y y 衰减,并且它在 半衰期 内减半。
T 1 / 2 = ln 2 ∣ k ∣ . T_{1/2} = \frac{\ln 2}{\abs{k}}. T 1/2 = ∣ k ∣ ln 2 .
自从 ln 2 ≈ 0.693 , \ln 2 \approx 0.693\mathclose{\text{,}} ln 2 ≈ 0.693 , 一个以 p p p % 每单位时间连续增长的量,使得 k = p / 100 , k = p/100\mathclose{\text{,}} k = p /100 , 在大约 69.3 / p 69.3/p 69.3/ p 个单位时间内翻倍。这就是金融中的“70法则”:年利率为 5% 时,资金大约在 70 / 5 = 14 70/5 = 14 70/5 = 14 年内翻倍(例 6.4 得出 13.86)。
例 6.11模块 1 的细菌 ✓ 已检验
模块 1 的 例 1.6 ] 用 N ( t ) = 1000 ⋅ 2 t / 3 N(t) = 1000 \cdot 2^{t/3} N ( t ) = 1000 ⋅ 2 t /3 个细胞在 t t t 小时后建模了一个细菌群落。写出 N N N 的形式 C e k t , Ce^{kt}\mathclose{\text{,}} C e k t , 检查其翻倍时间,并找出该群落在 t = 0 t = 0 t = 0 和 t = 6 t = 6 t = 6 时的增长速率。
自从 2 = e ln 2 , 2 = e^{\ln 2}\mathclose{\text{,}} 2 = e l n 2 , 2 t / 3 = e ( ln 2 / 3 ) t , 2^{t/3} = e^{(\ln 2/3)t}\mathclose{\text{,}} 2 t /3 = e ( l n 2/3 ) t , 和 N ( t ) = 1000 e k t N(t) = 1000e^{kt} N ( t ) = 1000 e k t 有
k = ln 2 3 ≈ 0.2310 per hour . k = \frac{\ln 2}{3} \approx 0.2310 \text{ per hour}. k = 3 ln 2 ≈ 0.2310 per hour .
翻倍时间为 ln 2 k = 3 \dfrac{\ln 2}{k} = 3 k ln 2 = 3 小时,如前所述。根据定理 6.10, N ′ ( t ) = k N ( t ) 。 N'(t) = kN(t)\mathclose{\text{。}} N ′ ( t ) = k N ( t ) 。 在 t = 0 t = 0 t = 0 时,该群落以 1000 k ≈ 231.0 1000k \approx 231.0 1000 k ≈ 231.0 个细胞每小时增长;在 t = 6 t = 6 t = 6 时,当 N = 1000 ⋅ 2 2 = 4000 , N = 1000 \cdot 2^2 = 4000\mathclose{\text{,}} N = 1000 ⋅ 2 2 = 4000 , 其增长速率为 4000 k ≈ 924.2 4000k \approx 924.2 4000 k ≈ 924.2 个细胞每小时,是原来的四倍。
例 6.12半衰期 ✓ 已检验
假设一种放射性同位素的半衰期为 8 天。 (a) 求其衰变定律 y = y 0 e k t y = y_0e^{kt} y = y 0 e k t 中的常数 k , k\mathclose{\text{,}} k , 单位为天 t 。 t\mathclose{\text{。}} t 。 (b) 30 天后样品剩余的分数是多少? (c) 什么时候只剩下 1%?
(a) ln 2 ∣ k ∣ = 8 \dfrac{\ln 2}{\abs{k}} = 8 ∣ k ∣ ln 2 = 8 和 k < 0 , k < 0\mathclose{\text{,}} k < 0 , 因此 k = − ln 2 8 ≈ − 0.08664 k = -\dfrac{\ln 2}{8} \approx -0.08664 k = − 8 ln 2 ≈ − 0.08664 每天。
(b) 经过 t t t 天后的数量为 y ( t ) = y 0 e k t = y 0 e − ( ln 2 / 8 ) t = y 0 2 − t / 8 , y(t) = y_0e^{kt} = y_0e^{-(\ln 2/8)t} = y_0\,2^{-t/8}\mathclose{\text{,}} y ( t ) = y 0 e k t = y 0 e − ( l n 2/8 ) t = y 0 2 − t /8 , 其中 y 0 y_0 y 0 是初始数量 t = 0 。 t = 0\mathclose{\text{。}} t = 0 。 30 天后剩余的分数为 2 − 30 / 8 = 2 − 3.75 ≈ 0.0743 , 2^{-30/8} = 2^{-3.75} \approx 0.0743\mathclose{\text{,}} 2 − 30/8 = 2 − 3.75 ≈ 0.0743 , 约为 7.4%。
(c) 解 2 − t / 8 = 0.01 。 2^{-t/8} = 0.01\mathclose{\text{。}} 2 − t /8 = 0.01 。 两边取 ln : \ln\mathclose{\text{:}} ln : − t 8 ln 2 = ln 0.01 = − ln 100 , -\dfrac{t}{8}\ln 2 = \ln 0.01 = -\ln 100\mathclose{\text{,}} − 8 t ln 2 = ln 0.01 = − ln 100 , 因此
t = 8 ln 100 ln 2 ≈ 53.15 days . t = \frac{8\ln 100}{\ln 2} \approx 53.15 \text{ days}. t = ln 2 8 ln 100 ≈ 53.15 days .
注意
两张带有指数模型的卡片。速率 k k k 和时间 t t t 必须使用相同的单位:每天的速率需要 t t t 以天为单位。一个每 8 天减半的量在 16 天后不会消失:16 天后剩下四分之一,而在 8 m 8m 8 m 天后剩下分数 ( 1 2 ) m , \big(\tfrac12\big)^m\mathclose{\text{,}} ( 2 1 ) m , 永远不会为零。
动手计算使用 SymPy 进行增长和衰减
用符号表示,SymPy 检查 C e k t Ce^{kt} C e k t 解决 y ′ = k y , y' = ky\mathclose{\text{,}} y ′ = k y , 并且 C t e k t Cte^{kt} C t e k t 不解决:
Python 复制
import sympy as sp
t, k, C = sp.symbols ('t k C' )
y = C*sp.exp (k*t)
print (sp.diff (y, t) - k*y) # 0: y' = ky for every t
w = C*t*sp.exp (k*t)
print (sp.simplify (sp.diff (w, t) - k*w)) # not 0: w is not a solution
print (sp.solve (sp.Eq (sp.exp (k*t), 2 ), t)) # the doubling time
输出
0
C*exp(k*t)
[log(2)/k]
调用 sp.solve(equation, t) 返回 t 的解列表。为求得倍增时间,sp.Eq 建立方程 e k t = 2 。 e^{kt} = 2\mathclose{\text{。}} e k t = 2 。
例 6.12 中的数值:
Python 复制
k8 = -sp.log (2 )/8
print (sp.N (k8, 4 ), sp.N (sp.exp (30 *k8), 3 ), sp.N (sp.log (sp.Rational (1 , 100 ))/k8, 4 ))
它们是 k ≈ − 0.08664 , k \approx -0.08664\mathclose{\text{,}} k ≈ − 0.08664 , 30 天后剩余的分数 0.0743,以及 1% 剩余所需的时间 53.15 天。
复利,( 1 + 1 n ) n , \big(1 + \tfrac1n\big)^n\mathclose{\text{,}} ( 1 + n 1 ) n , 以及 a x a^x a x 在 0 处的斜率导致同一个数值 e ≈ 2.71828 。 e \approx 2.71828\mathclose{\text{。}} e ≈ 2.71828 。 该级数通过 lim h → 0 ( e h − 1 ) / h = 1 \lim_{h\to0}(e^h - 1)/h = 1 lim h → 0 ( e h − 1 ) / h = 1 定义 e , e\mathclose{\text{,}} e , 假定模块 1 的实数幂以及 2 x 2^x 2 x 在 0 处有斜率,并证明 ( 1 + x n ) n → e x 。 \big(1 + \tfrac{x}{n}\big)^n \to e^x\mathclose{\text{。}} ( 1 + n x ) n → e x 。
a x a^x a x 的导数是其在 0 处的斜率乘以 a x , a^x\mathclose{\text{,}} a x , 且在 0 处的斜率为 ln a : \ln a\mathclose{\text{:}} ln a : 即 ( e x ) ′ = e x (e^x)' = e^x ( e x ) ′ = e x 和 ( a x ) ′ = a x ln a 。 (a^x)' = a^x\ln a\mathclose{\text{。}} ( a x ) ′ = a x ln a 。
如果 f f f 在一个开区间和 f ′ ( a ) ≠ 0 f'(a) \ne 0 f ′ ( a ) = 0 上连续且单射,则 ( f − 1 ) ′ ( f ( a ) ) = 1 / f ′ ( a ) : (f^{-1})'\big(f(a)\big) = 1/f'(a)\mathclose{\text{:}} ( f − 1 ) ′ ( f ( a ) ) = 1/ f ′ ( a ) : 在 y = x y = x y = x 上的反射将斜率 m m m 转换为斜率 1 / m 。 1/m\mathclose{\text{。}} 1/ m 。
( ln x ) ′ = 1 / x (\ln x)' = 1/x ( ln x ) ′ = 1/ x 对应 x > 0 , x > 0\mathclose{\text{,}} x > 0 , ( ln ∣ x ∣ ) ′ = 1 / x (\ln\abs{x})' = 1/x ( ln ∣ x ∣ ) ′ = 1/ x 对应 x ≠ 0 , x \ne 0\mathclose{\text{,}} x = 0 , ( ln ∣ u ∣ ) ′ = u ′ / u (\ln\abs{u})' = u'/u ( ln ∣ u ∣ ) ′ = u ′ / u 在 u ≠ 0 u \ne 0 u = 0 处,且 ( log a x ) ′ = 1 / ( x ln a ) 。 (\log_a x)' = 1/(x\ln a)\mathclose{\text{。}} ( log a x ) ′ = 1/ ( x ln a ) 。
隐函数求导:对曲线方程使用 y = y ( x ) y = y(x) y = y ( x ) 进行求导,对每个含有 y y y 的项应用链式法则,然后解出 y ′ 。 y'\mathclose{\text{。}} y ′ 。 当 y ′ y' y ′ 的系数不为 0 时,隐函数定理保证 y y y 是 x x x 的可导函数。
arcsin , {\arcsin}\mathclose{\text{,}} arcsin , arccos \arccos arccos 和 arctan \arctan arctan 在 sin \sin sin 上作用于 [ − π / 2 , π / 2 ] , [-\pi/2, \pi/2]\mathclose{\text{,}} [ − π /2 , π /2 ] , cos \cos cos 作用于 [ 0 , π ] [0, \pi] [ 0 , π ] 和 tan \tan tan 作用于 ( − π / 2 , π / 2 ) 。 (-\pi/2, \pi/2)\mathclose{\text{。}} ( − π /2 , π /2 ) 。 它们的导数分别是 1 / 1 − x 2 、 1/\sqrt{1 - x^2}\mathclose{\text{、}} 1/ 1 − x 2 、 − 1 / 1 − x 2 -1/\sqrt{1 - x^2} − 1/ 1 − x 2 和 1 / ( 1 + x 2 ) 。 1/(1 + x^2)\mathclose{\text{。}} 1/ ( 1 + x 2 ) 。 sin − 1 x \sin^{-1}x sin − 1 x 表示 arcsin x , \arcsin x\mathclose{\text{,}} arcsin x , 不是 1 / sin x 。 1/\sin x\mathclose{\text{。}} 1/ sin x 。
对数求导法处理乘积、商和变量指数,如 ( x x ) ′ = x x ( ln x + 1 ) ; (x^x)' = x^x(\ln x + 1)\mathclose{\text{;}} ( x x ) ′ = x x ( ln x + 1 ) ; 幂法则 ( x r ) ′ = r x r − 1 (x^r)' = rx^{r-1} ( x r ) ′ = r x r − 1 对于每一个实数 r r r 和 x > 0 x > 0 x > 0 都成立。
cosh 2 x − sinh 2 x = 1 , \cosh^2 x - \sinh^2 x = 1\mathclose{\text{,}} cosh 2 x − sinh 2 x = 1 , sinh ′ = cosh , \sinh' = {\cosh}\mathclose{\text{,}} sinh ′ = cosh , cosh ′ = sinh , \cosh' = {\sinh}\mathclose{\text{,}} cosh ′ = sinh , tanh ′ = 1 / cosh 2 ; \tanh' = 1/\cosh^2\mathclose{\text{;}} tanh ′ = 1/ cosh 2 ; 一条下垂的链是悬链线, y = a cosh ( x / a ) . y = a\cosh(x/a)\mathclose{\text{.}} y = a cosh ( x / a ) .
y = C e k t y = Ce^{kt} y = C e k t 解决 y ′ = k y y' = ky y ′ = k y 与 y ( 0 ) = C ; y(0) = C\mathclose{\text{;}} y ( 0 ) = C ; 倍增时间是 ln 2 / k \ln 2/k ln 2/ k 且半衰期 ln 2 / ∣ k ∣ . \ln 2/{\abs{k}}\mathclose{\text{.}} ln 2/ ∣ k ∣ . 模块 13 解决此类方程.
练习 6.1 ★ 指数函数与对数函数的导数
求导:
(a) e − 4 x e^{-4x} e − 4 x
(b) 5 x 5^x 5 x
(c) x 3 e 2 x x^3e^{2x} x 3 e 2 x
(d) ln ( 3 x 2 + 1 ) \ln\big(3x^2 + 1\big) ln ( 3 x 2 + 1 )
(e) log 2 x , \log_2 x\mathclose{\text{,}} log 2 x , 对于 x > 0 x > 0 x > 0
(f) cosh ( x 2 ) \cosh\big(x^2\big) cosh ( x 2 )
查看解答✓ 已检验
(a) 通过链式法则,内函数为 − 4 x : -4x\mathclose{\text{:}} − 4 x : − 4 e − 4 x . -4e^{-4x}\mathclose{\text{.}} − 4 e − 4 x .
(b) 根据定理 6.3: 5 x ln 5 ≈ 1.609 ⋅ 5 x . 5^x\ln 5 \approx 1.609 \cdot 5^x\mathclose{\text{.}} 5 x ln 5 ≈ 1.609 ⋅ 5 x . 常见错误答案 x 5 x − 1 x\,5^{x-1} x 5 x − 1 使用幂法则,而幂法则适用于变量底数.
(c) 通过乘积法则:
3 x 2 e 2 x + x 3 ⋅ 2 e 2 x = x 2 e 2 x ( 3 + 2 x ) . \begin{aligned} &3x^2e^{2x} + x^3\cdot 2e^{2x} \\ &\quad= x^2e^{2x}(3 + 2x). \end{aligned} 3 x 2 e 2 x + x 3 ⋅ 2 e 2 x = x 2 e 2 x ( 3 + 2 x ) .
(d) 与 u = 3 x 2 + 1 > 0 : u = 3x^2 + 1 > 0\mathclose{\text{:}} u = 3 x 2 + 1 > 0 : u ′ u = 6 x 3 x 2 + 1 . \dfrac{u'}{u} = \dfrac{6x}{3x^2 + 1}\mathclose{\text{.}} u u ′ = 3 x 2 + 1 6 x . 答案不是 1 3 x 2 + 1 : \dfrac{1}{3x^2 + 1}\mathclose{\text{:}} 3 x 2 + 1 1 : 那个答案漏掉了因子 u ′ = 6 x . u' = 6x\mathclose{\text{.}} u ′ = 6 x .
(e) log 2 x = ln x ln 2 , \log_2 x = \dfrac{\ln x}{\ln 2}\mathclose{\text{,}} log 2 x = ln 2 ln x , 因此其导数是 1 x ln 2 . \dfrac{1}{x\ln 2}\mathclose{\text{.}} x ln 2 1 .
(f) 通过链式法则,内函数为 x 2 , x^2\mathclose{\text{,}} x 2 , 且 cosh ′ = sinh : \cosh' = {\sinh}\mathclose{\text{:}} cosh ′ = sinh :
d d x cosh ( x 2 ) = sinh ( x 2 ) ⋅ 2 x = 2 x sinh ( x 2 ) . \begin{aligned} \frac{d}{dx}\cosh\big(x^2\big) &= \sinh\big(x^2\big)\cdot 2x \\ &= 2x\sinh\big(x^2\big). \end{aligned} d x d cosh ( x 2 ) = sinh ( x 2 ) ⋅ 2 x = 2 x sinh ( x 2 ) .
练习 6.2 ★ 反三角函数的值
(a) 求 arcsin 3 2 , \arcsin\dfrac{\sqrt3}{2}\mathclose{\text{,}} arcsin 2 3 , arccos ( − 2 2 ) \arccos\Big(-\dfrac{\sqrt2}{2}\Big) arccos ( − 2 2 ) 和 arctan ( − 3 ) . \arctan\big(-\sqrt3\big)\mathclose{\text{.}} arctan ( − 3 ) .
(b) 求 arccos ( cos ( − π 4 ) ) 。 \arccos\Big(\cos\Big(-\dfrac{\pi}{4}\Big)\Big)\mathclose{\text{。}} arccos ( cos ( − 4 π ) ) 。
(c) 一台计算器在弧度模式下显示 sin − 1 ( 0.5 ) = 0.5236 \sin^{-1}(0.5) = 0.5236 sin − 1 ( 0.5 ) = 0.5236 (四舍五入)。这个数是什么?为什么它与 1 sin 0.5 ≈ 2.0858 \dfrac{1}{\sin 0.5} \approx 2.0858 sin 0.5 1 ≈ 2.0858 不同?
查看解答✓ 已检验
(a) 在每种情况下,找出一个具有相同正弦、余弦或正切值的角度,并检查该角度是否位于反函数的定义域内。
sin π 3 = 3 2 , \sin\tfrac{\pi}{3} = \tfrac{\sqrt3}{2}\mathclose{\text{,}} sin 3 π = 2 3 , 且 π 3 \tfrac{\pi}{3} 3 π 位于 [ − π / 2 , π / 2 ] : [-\pi/2, \pi/2]\mathclose{\text{:}} [ − π /2 , π /2 ] : arcsin 3 2 = π 3 。 \arcsin\tfrac{\sqrt3}{2} = \tfrac{\pi}{3}\mathclose{\text{。}} arcsin 2 3 = 3 π 。
cos 3 π 4 = cos ( π − π 4 ) = − cos π 4 = − 2 2 , \cos\tfrac{3\pi}{4} = \cos\big(\pi - \tfrac{\pi}{4}\big) = -\cos\tfrac{\pi}{4} = -\tfrac{\sqrt2}{2}\mathclose{\text{,}} cos 4 3 π = cos ( π − 4 π ) = − cos 4 π = − 2 2 , 且 3 π 4 \tfrac{3\pi}{4} 4 3 π 位于 [ 0 , π ] : [0, \pi]\mathclose{\text{:}} [ 0 , π ] : arccos ( − 2 2 ) = 3 π 4 。 \arccos\big({-\tfrac{\sqrt2}{2}}\big) = \tfrac{3\pi}{4}\mathclose{\text{。}} arccos ( − 2 2 ) = 4 3 π 。
正切是奇函数,因此 tan ( − π 3 ) = − tan π 3 = − 3 , \tan\big({-\tfrac{\pi}{3}}\big) = -\tan\tfrac{\pi}{3} = -\sqrt3\mathclose{\text{,}} tan ( − 3 π ) = − tan 3 π = − 3 , 且 − π 3 -\tfrac{\pi}{3} − 3 π 位于 ( − π / 2 , π / 2 ) : (-\pi/2, \pi/2)\mathclose{\text{:}} ( − π /2 , π /2 ) : arctan ( − 3 ) = − π 3 。 \arctan\big({-\sqrt3}\big) = -\tfrac{\pi}{3}\mathclose{\text{。}} arctan ( − 3 ) = − 3 π 。
(b) cos ( − π 4 ) = cos π 4 = 2 2 , \cos\Big(-\dfrac{\pi}{4}\Big) = \cos\dfrac{\pi}{4} = \dfrac{\sqrt2}{2}\mathclose{\text{,}} cos ( − 4 π ) = cos 4 π = 2 2 , 且 arccos 2 2 = π 4 。 \arccos\dfrac{\sqrt2}{2} = \dfrac{\pi}{4}\mathclose{\text{。}} arccos 2 2 = 4 π 。 答案是 π 4 , \dfrac{\pi}{4}\mathclose{\text{,}} 4 π , 不是 − π 4 : -\dfrac{\pi}{4}\mathclose{\text{:}} − 4 π : arccos \arccos arccos 仅返回 [ 0 , π ] [0, \pi] [ 0 , π ] 中的角度。
(c) sin − 1 \sin^{-1} sin − 1 在计算器上是 arcsin : {\arcsin}\mathclose{\text{:}} arcsin : arcsin 0.5 = π 6 ≈ 0.5236 , \arcsin 0.5 = \dfrac{\pi}{6} \approx 0.5236\mathclose{\text{,}} arcsin 0.5 = 6 π ≈ 0.5236 , 其正弦值为 0.5 的角度(以弧度为单位)。数 1 sin 0.5 \dfrac{1}{\sin 0.5} sin 0.5 1 是角度 0.5 的正弦值的倒数,即 csc 0.5 : \csc 0.5\mathclose{\text{:}} csc 0.5 : − 1 -1 − 1 在 sin − 1 \sin^{-1} sin − 1 中不是指数。
练习 6.3 ★ 隐函数求导得到的切线
证明 ( 1 , 2 ) (1, 2) ( 1 , 2 ) 在曲线 x 2 + x y + y 2 = 7 x^2 + xy + y^2 = 7 x 2 + x y + y 2 = 7 上。通过隐式求导找出 d y d x , \dfrac{dy}{dx}\mathclose{\text{,}} d x d y , 并求出在点 ( 1 , 2 ) (1, 2) ( 1 , 2 ) 处的切线方程。
查看解答✓ 已检验
在 ( 1 , 2 ) (1, 2) ( 1 , 2 ) 处, x 2 + x y + y 2 = 1 + 2 + 4 = 7 , x^2 + xy + y^2 = 1 + 2 + 4 = 7\mathclose{\text{,}} x 2 + x y + y 2 = 1 + 2 + 4 = 7 , 因此该点在曲线上。对两边关于 x x x 求导,对 x y xy x y 使用乘积法则,对 y 2 y^2 y 2 使用链式法则:
2 x + ( y + x y ′ ) + 2 y y ′ = 0. 2x + \big(y + x\,y'\big) + 2y\,y' = 0. 2 x + ( y + x y ′ ) + 2 y y ′ = 0.
收集含 y ′ y' y ′ 的项: ( x + 2 y ) y ′ = − ( 2 x + y ) , (x + 2y)\,y' = -(2x + y)\mathclose{\text{,}} ( x + 2 y ) y ′ = − ( 2 x + y ) , 因此
y ′ = − 2 x + y x + 2 y ( x + 2 y ≠ 0 ) . y' = -\frac{2x + y}{x + 2y} \quad (x + 2y \ne 0). y ′ = − x + 2 y 2 x + y ( x + 2 y = 0 ) .
在 ( 1 , 2 ) (1, 2) ( 1 , 2 ) 处: y ′ = − 2 + 2 1 + 4 = − 4 5 。 y' = -\dfrac{2 + 2}{1 + 4} = -\dfrac45\mathclose{\text{。}} y ′ = − 1 + 4 2 + 2 = − 5 4 。 切线方程为
y − 2 = − 4 5 ( x − 1 ) , y - 2 = -\frac45(x - 1), y − 2 = − 5 4 ( x − 1 ) ,
即, y = − 4 5 x + 14 5 。 y = -\tfrac45x + \tfrac{14}{5}\mathclose{\text{。}} y = − 5 4 x + 5 14 。
练习 6.4 ★★ 反函数的斜率
设 f ( x ) = x + e x 。 f(x) = x + e^x\mathclose{\text{。}} f ( x ) = x + e x 。
(a) 证明 f f f 在 R \R R 上是单射的。
(b) 求 ( f − 1 ) ′ ( 1 ) (f^{-1})'(1) ( f − 1 ) ′ ( 1 ) 和 ( f − 1 ) ′ ( 1 + e ) 。 (f^{-1})'(1 + e)\mathclose{\text{。}} ( f − 1 ) ′ ( 1 + e ) 。
(c) 求函数 f − 1 f^{-1} f − 1 在点 ( 1 , 0 ) (1, 0) ( 1 , 0 ) 处的切线方程。
查看解答✓ 已检验
(a) 设 x 1 < x 2 . x_1 < x_2\mathclose{\text{.}} x 1 < x 2 . 那么 e x 1 < e x 2 , e^{x_1} < e^{x_2}\mathclose{\text{,}} e x 1 < e x 2 , 因为 e x e^x e x 增加 (e > 1 ), e > 1\mathclose{\text{),}} e > 1 ) , 所以 x 1 + e x 1 < x 2 + e x 2 : x_1 + e^{x_1} < x_2 + e^{x_2}\mathclose{\text{:}} x 1 + e x 1 < x 2 + e x 2 : f f f 是严格递增的,因此是单射的 (Exercise 1.10 ). 它也是可导的,因此在 R \R R 上连续,且 f ′ ( x ) = 1 + e x , f'(x) = 1 + e^x\mathclose{\text{,}} f ′ ( x ) = 1 + e x , 它从不为 0,因此定理 6.4 在每一点都适用。
(b) f ( 0 ) = 0 + 1 = 1 f(0) = 0 + 1 = 1 f ( 0 ) = 0 + 1 = 1 和 f ( 1 ) = 1 + e , f(1) = 1 + e\mathclose{\text{,}} f ( 1 ) = 1 + e , 而 f ′ ( 0 ) = 1 + 1 = 2 f'(0) = 1 + 1 = 2 f ′ ( 0 ) = 1 + 1 = 2 和 f ′ ( 1 ) = 1 + e . f'(1) = 1 + e\mathclose{\text{.}} f ′ ( 1 ) = 1 + e . 所以
( f − 1 ) ′ ( 1 ) = 1 f ′ ( 0 ) = 1 2 , ( f − 1 ) ′ ( 1 + e ) = 1 f ′ ( 1 ) = 1 1 + e , \begin{aligned} (f^{-1})'(1) &= \frac{1}{f'(0)} = \frac12, \\ (f^{-1})'(1 + e) &= \frac{1}{f'(1)} = \frac{1}{1 + e}, \end{aligned} ( f − 1 ) ′ ( 1 ) ( f − 1 ) ′ ( 1 + e ) = f ′ ( 0 ) 1 = 2 1 , = f ′ ( 1 ) 1 = 1 + e 1 ,
和 1 / ( 1 + e ) ≈ 0.2689 。 1/(1 + e) \approx 0.2689\mathclose{\text{。}} 1/ ( 1 + e ) ≈ 0.2689 。
常见的错误是写出 ( f − 1 ) ′ ( 1 ) = 1 f ′ ( 1 ) : (f^{-1})'(1) = \dfrac{1}{f'(1)}\mathclose{\text{:}} ( f − 1 ) ′ ( 1 ) = f ′ ( 1 ) 1 : f f f 的斜率必须在镜像点 f − 1 ( 1 ) = 0 f^{-1}(1) = 0 f − 1 ( 1 ) = 0 处取得。
(c) 点 ( 1 , 0 ) (1, 0) ( 1 , 0 ) 在 f − 1 f^{-1} f − 1 的图象上,因为 f ( 0 ) = 1 , f(0) = 1\mathclose{\text{,}} f ( 0 ) = 1 , 并且在该点的斜率是 1 2 \tfrac12 2 1 (由 (b) 得出)。切线方程是 y − 0 = 1 2 ( x − 1 ) , y - 0 = \tfrac12(x - 1)\mathclose{\text{,}} y − 0 = 2 1 ( x − 1 ) , 即 y = x − 1 2 。 y = \dfrac{x - 1}{2}\mathclose{\text{。}} y = 2 x − 1 。
练习 6.5 ★★ 对数求导法
(a) 对 y = x sin x y = x^{\sin x} y = x s i n x 求导,对于 x > 0 。 x > 0\mathclose{\text{。}} x > 0 。
(b) 对 y = x 1 / x y = x^{1/x} y = x 1/ x 求导,对于 x > 0 , x > 0\mathclose{\text{,}} x > 0 , 并找出其切线水平的点。
(c) 求 y ′ ( 0 ) y'(0) y ′ ( 0 ) 对于 y = ( x + 1 ) 2 ( x + 2 ) 3 ( x + 3 ) 4 。 y = (x + 1)^2(x + 2)^3(x + 3)^4\mathclose{\text{。}} y = ( x + 1 ) 2 ( x + 2 ) 3 ( x + 3 ) 4 。
查看解答✓ 已检验
(a) y > 0 , y > 0\mathclose{\text{,}} y > 0 , 并且 ln y = sin x ln x 。 \ln y = \sin x\,\ln x\mathclose{\text{。}} ln y = sin x ln x 。 根据乘积法则,
y ′ y = cos x ln x + sin x x , y ′ = x sin x ( cos x ln x + sin x x ) . \begin{aligned} \frac{y'}{y} &= \cos x\,\ln x + \frac{\sin x}{x}, \\ y' &= x^{\sin x}\Big(\cos x\,\ln x + \frac{\sin x}{x}\Big). \end{aligned} y y ′ y ′ = cos x ln x + x sin x , = x s i n x ( cos x ln x + x sin x ) .
(b) ln y = ln x x 。 \ln y = \dfrac{\ln x}{x}\mathclose{\text{。}} ln y = x ln x 。 根据商法则,
y ′ y = 1 x ⋅ x − ln x ⋅ 1 x 2 = 1 − ln x x 2 , y ′ = x 1 / x 1 − ln x x 2 . \begin{aligned} \frac{y'}{y} &= \frac{\tfrac1x\cdot x - \ln x\cdot 1}{x^2} = \frac{1 - \ln x}{x^2}, \\ y' &= x^{1/x}\,\frac{1 - \ln x}{x^2}. \end{aligned} y y ′ y ′ = x 2 x 1 ⋅ x − ln x ⋅ 1 = x 2 1 − ln x , = x 1/ x x 2 1 − ln x .
自 x 1 / x > 0 x^{1/x} > 0 x 1/ x > 0 和 x 2 > 0 , x^2 > 0\mathclose{\text{,}} x 2 > 0 , y ′ = 0 y' = 0 y ′ = 0 恰好当 ln x = 1 , \ln x = 1\mathclose{\text{,}} ln x = 1 , 即在 x = e x = e x = e 处,其中 y = e 1 / e ≈ 1.4447 。 y = e^{1/e} \approx 1.4447\mathclose{\text{。}} y = e 1/ e ≈ 1.4447 。 水平切线在 ( e , e 1 / e ) \big(e, e^{1/e}\big) ( e , e 1/ e ) 处。 (使用第 8 模块的方法可以证明这是图像的最高点:没有数 x 1 / x x^{1/x} x 1/ x 超过 e 1 / e 。) e^{1/e}\mathclose{\text{。)}} e 1/ e 。)
(c) 在 x = 0 x = 0 x = 0 附近,每个因子都是正的,因此
ln y = 2 ln ( x + 1 ) + 3 ln ( x + 2 ) + 4 ln ( x + 3 ) , \begin{aligned} \ln y = {} & 2\ln(x + 1) + 3\ln(x + 2) \\ & + 4\ln(x + 3), \end{aligned} ln y = 2 ln ( x + 1 ) + 3 ln ( x + 2 ) + 4 ln ( x + 3 ) ,
y ′ y = 2 x + 1 + 3 x + 2 + 4 x + 3 . \frac{y'}{y} = \frac{2}{x + 1} + \frac{3}{x + 2} + \frac{4}{x + 3}. y y ′ = x + 1 2 + x + 2 3 + x + 3 4 .
在 x = 0 : x = 0\mathclose{\text{:}} x = 0 : y ( 0 ) = 1 ⋅ 8 ⋅ 81 = 648 y(0) = 1 \cdot 8 \cdot 81 = 648 y ( 0 ) = 1 ⋅ 8 ⋅ 81 = 648 和 y ′ y = 2 + 3 2 + 4 3 = 29 6 , \dfrac{y'}{y} = 2 + \dfrac32 + \dfrac43 = \dfrac{29}{6}\mathclose{\text{,}} y y ′ = 2 + 2 3 + 3 4 = 6 29 , 因此 y ′ ( 0 ) = 648 ⋅ 29 6 = 3132 。 y'(0) = 648 \cdot \dfrac{29}{6} = 3132\mathclose{\text{。}} y ′ ( 0 ) = 648 ⋅ 6 29 = 3132 。
当一个因子为负数时,例如在 x = − 2.5 x = -2.5 x = − 2.5 中,其中 y < 0 , y < 0\mathclose{\text{,}} y < 0 , 应从 ln ∣ y ∣ = 2 ln ∣ x + 1 ∣ + 3 ln ∣ x + 2 ∣ + 4 ln ∣ x + 3 ∣ \ln\abs{y} = 2\ln\abs{x + 1} + 3\ln\abs{x + 2} + 4\ln\abs{x + 3} ln ∣ y ∣ = 2 ln ∣ x + 1 ∣ + 3 ln ∣ x + 2 ∣ + 4 ln ∣ x + 3 ∣ 开始。由于 ( ln ∣ u ∣ ) ′ = u ′ / u , (\ln\abs{u})' = u'/u\mathclose{\text{,}} ( ln ∣ u ∣ ) ′ = u ′ / u , 同样的 y ′ / y y'/y y ′ / y 公式得出。因此,只要 y ≠ 0 y \ne 0 y = 0 成立,即对于每一个 x x x 除了 − 1 、 -1\mathclose{\text{、}} − 1 、 − 2 -2 − 2 和 − 3 , -3\mathclose{\text{,}} − 3 , 该公式都成立。
练习 6.6 ★★ 反三角函数的导数
(a) 对 arcsin x 3 \arcsin\dfrac{x}{3} arcsin 3 x 求导,对于 − 3 < x < 3 。 -3 < x < 3\mathclose{\text{。}} − 3 < x < 3 。
(b) 求 x arctan x x\arctan x x arctan x 的导数。
(c) 证明 d d x ( arctan x + arctan 1 x ) = 0 \dfrac{d}{dx}\Big(\arctan x + \arctan\dfrac1x\Big) = 0 d x d ( arctan x + arctan x 1 ) = 0 对于每一个 x ≠ 0 。 x \ne 0\mathclose{\text{。}} x = 0 。 计算 arctan x + arctan 1 x \arctan x + \arctan\dfrac1x arctan x + arctan x 1 在 x = 1 x = 1 x = 1 和 x = − 1 x = -1 x = − 1 处的值。你得出什么结论?
查看解答✓ 已检验
(a) 根据链式法则,对于 − 3 < x < 3 -3 < x < 3 − 3 < x < 3 (因此 − 1 < x / 3 < 1 ), -1 < x/3 < 1\mathclose{\text{),}} − 1 < x /3 < 1 ),
d d x arcsin x 3 = 1 1 − x 2 / 9 ⋅ 1 3 = 1 9 − x 2 , \begin{aligned} \frac{d}{dx}\arcsin\frac{x}{3} &= \frac{1}{\sqrt{1 - x^2/9}}\cdot\frac13 \\ &= \frac{1}{\sqrt{9 - x^2}}, \end{aligned} d x d arcsin 3 x = 1 − x 2 /9 1 ⋅ 3 1 = 9 − x 2 1 ,
因为 3 1 − x 2 / 9 = 9 ( 1 − x 2 / 9 ) = 9 − x 2 。 3\sqrt{1 - x^2/9} = \sqrt{9(1 - x^2/9)} = \sqrt{9 - x^2}\mathclose{\text{。}} 3 1 − x 2 /9 = 9 ( 1 − x 2 /9 ) = 9 − x 2 。
(b) 根据乘积法则: arctan x + x 1 + x 2 。 \arctan x + \dfrac{x}{1 + x^2}\mathclose{\text{。}} arctan x + 1 + x 2 x 。
(c) 根据链式法则,
d d x arctan 1 x = 1 1 + 1 / x 2 ⋅ − 1 x 2 = − 1 x 2 + 1 , \begin{aligned} \frac{d}{dx}\arctan\frac1x &= \frac{1}{1 + 1/x^2}\cdot\frac{-1}{x^2} \\ &= -\frac{1}{x^2 + 1}, \end{aligned} d x d arctan x 1 = 1 + 1/ x 2 1 ⋅ x 2 − 1 = − x 2 + 1 1 ,
这消去了 arctan x \arctan x arctan x 的导数 1 1 + x 2 : \dfrac{1}{1 + x^2}\mathclose{\text{:}} 1 + x 2 1 : 该和的导数为 0。在 x = 1 x = 1 x = 1 处该和为 π 4 + π 4 = π 2 ; \tfrac{\pi}{4} + \tfrac{\pi}{4} = \tfrac{\pi}{2}\mathclose{\text{;}} 4 π + 4 π = 2 π ; 在 x = − 1 x = -1 x = − 1 处为 − π 4 − π 4 = − π 2 。 -\tfrac{\pi}{4} - \tfrac{\pi}{4} = -\tfrac{\pi}{2}\mathclose{\text{。}} − 4 π − 4 π = − 2 π 。 一个在区间上导数为 0 的函数在该区间上是常数(模块 8 证明了这一点),因此 arctan x + arctan ( 1 / x ) \arctan x + \arctan(1/x) arctan x + arctan ( 1/ x ) 等于 π / 2 \pi/2 π /2 对于每一个 x > 0 , x > 0\mathclose{\text{,}} x > 0 , 且 − π / 2 -\pi/2 − π /2 对于每一个 x < 0 。 x < 0\mathclose{\text{。}} x < 0 。 这两个常数不同是因为定义域 ( − ∞ , 0 ) ∪ ( 0 , ∞ ) (-\infty, 0) \cup (0, \infty) ( − ∞ , 0 ) ∪ ( 0 , ∞ ) 不是一个区间。
练习 6.7 ★★ 增长的菌落
假设一个酵母细胞的菌落以指数方式增长, N ( t ) = N 0 e k t , N(t) = N_0e^{kt}\mathclose{\text{,}} N ( t ) = N 0 e k t , 从 2000 个细胞增长到 3000 个细胞需要 5 小时。
(a) 求 k 。 k\mathclose{\text{。}} k 。
(b) 求倍增时间。
(c) 12 小时后有多少个细胞?
(d) 在 t = 5 t = 5 t = 5 处,培养物的生长速度是多少?
查看解答✓ 已检验
(a) N 0 = N ( 0 ) = 2000 N_0 = N(0) = 2000 N 0 = N ( 0 ) = 2000 和 N ( 5 ) = 2000 e 5 k = 3000 , N(5) = 2000e^{5k} = 3000\mathclose{\text{,}} N ( 5 ) = 2000 e 5 k = 3000 , 所以 e 5 k = 1.5 , e^{5k} = 1.5\mathclose{\text{,}} e 5 k = 1.5 , 5 k = ln 1.5 5k = \ln 1.5 5 k = ln 1.5 和
k = ln 1.5 5 ≈ 0.08109 per hour . k = \frac{\ln 1.5}{5} \approx 0.08109 \text{ per hour}. k = 5 ln 1.5 ≈ 0.08109 per hour .
(b) T = ln 2 k = 5 ln 2 ln 1.5 ≈ 8.548 T = \dfrac{\ln 2}{k} = \dfrac{5\ln 2}{\ln 1.5} \approx 8.548 T = k ln 2 = ln 1.5 5 ln 2 ≈ 8.548 小时。
(c) e k = 1.5 1 / 5 , e^{k} = 1.5^{1/5}\mathclose{\text{,}} e k = 1. 5 1/5 , 因此 N ( 12 ) = 2000 e 12 k = 2000 ⋅ 1.5 12 / 5 = 2000 ⋅ 1.5 2.4 ≈ 5292 N(12) = 2000\,e^{12k} = 2000 \cdot 1.5^{12/5} = 2000 \cdot 1.5^{2.4} \approx 5292 N ( 12 ) = 2000 e 12 k = 2000 ⋅ 1. 5 12/5 = 2000 ⋅ 1. 5 2.4 ≈ 5292 个细胞。
(d) 根据定理 6.10,为 N ′ ( 5 ) = k N ( 5 ) = 3000 k ≈ 243.3 N'(5) = kN(5) = 3000k \approx 243.3 N ′ ( 5 ) = k N ( 5 ) = 3000 k ≈ 243.3 个细胞每小时。
练习 6.8 ★★ 圆上的二阶导数
对于圆 x 2 + y 2 = 25 , x^2 + y^2 = 25\mathclose{\text{,}} x 2 + y 2 = 25 , 第 6.4 节求得 y ′ = − x / y 。 y' = -x/y\mathclose{\text{。}} y ′ = − x / y 。
(a) 再次隐式求导,以证明 y ′ ′ = − 25 y 3 y'' = -\dfrac{25}{y^3} y ′′ = − y 3 25 在 y ≠ 0 y \ne 0 y = 0 处成立。
(b) 在 ( 3 , 4 ) (3, 4) ( 3 , 4 ) 处验证值,通过两次对 y = 25 − x 2 y = \sqrt{25 - x^2} y = 25 − x 2 求导。
(c) y ′ ′ y'' y ′′ 的符号对圆的上半部分和下半部分说明什么?
查看解答✓ 已检验
(a) 对 y ′ = − x y y' = -\dfrac{x}{y} y ′ = − y x 使用商法则求导,记住 y y y 是 x x x 的函数:
y ′ ′ = − 1 ⋅ y − x y ′ y 2 = − y − x ( − x / y ) y 2 = − y 2 + x 2 y 3 = − 25 y 3 , \begin{aligned} y'' &= -\frac{1\cdot y - x\,y'}{y^2} \\ &= -\frac{y - x(-x/y)}{y^2} \\ &= -\frac{y^2 + x^2}{y^3} \\ &= -\frac{25}{y^3}, \end{aligned} y ′′ = − y 2 1 ⋅ y − x y ′ = − y 2 y − x ( − x / y ) = − y 3 y 2 + x 2 = − y 3 25 ,
其中第二步替换 y ′ = − x / y , y' = -x/y\mathclose{\text{,}} y ′ = − x / y , 第三步将分子和分母同时乘以 y , y\mathclose{\text{,}} y , 最后一步在曲线上使用 x 2 + y 2 = 25 。 x^2 + y^2 = 25\mathclose{\text{。}} x 2 + y 2 = 25 。
(b) 在上半部分,y = ( 25 − x 2 ) 1 / 2 , y = (25 - x^2)^{1/2}\mathclose{\text{,}} y = ( 25 − x 2 ) 1/2 , 因此 y ′ = − x ( 25 − x 2 ) − 1 / 2 , y' = -x(25 - x^2)^{-1/2}\mathclose{\text{,}} y ′ = − x ( 25 − x 2 ) − 1/2 , 根据乘积法则和链式法则,
y ′ ′ = − ( 25 − x 2 ) − 1 / 2 − x 2 ( 25 − x 2 ) − 3 / 2 = − ( 25 − x 2 ) + x 2 ( 25 − x 2 ) 3 / 2 = − 25 ( 25 − x 2 ) 3 / 2 . \begin{aligned} y'' &= -(25 - x^2)^{-1/2} \\ &\qquad - x^2(25 - x^2)^{-3/2} \\ &= -\frac{(25 - x^2) + x^2}{(25 - x^2)^{3/2}} \\ &= -\frac{25}{(25 - x^2)^{3/2}}. \end{aligned} y ′′ = − ( 25 − x 2 ) − 1/2 − x 2 ( 25 − x 2 ) − 3/2 = − ( 25 − x 2 ) 3/2 ( 25 − x 2 ) + x 2 = − ( 25 − x 2 ) 3/2 25 .
在 x = 3 , x = 3\mathclose{\text{,}} x = 3 , ( 25 − 9 ) 3 / 2 = 16 3 / 2 = 64 , (25 - 9)^{3/2} = 16^{3/2} = 64\mathclose{\text{,}} ( 25 − 9 ) 3/2 = 1 6 3/2 = 64 , 因此 y ′ ′ = − 25 64 ; y'' = -\dfrac{25}{64}\mathclose{\text{;}} y ′′ = − 64 25 ; 且 (a) 也给出 − 25 4 3 = − 25 64 。 -\dfrac{25}{4^3} = -\dfrac{25}{64}\mathclose{\text{。}} − 4 3 25 = − 64 25 。
(c) 在上半部分 y > 0 , y > 0\mathclose{\text{,}} y > 0 , 因此 y ′ ′ < 0 : y'' < 0\mathclose{\text{:}} y ′′ < 0 : 斜率随着 x x x 增加而减小,曲线向下弯曲。在下半部分 y < 0 , y < 0\mathclose{\text{,}} y < 0 , 因此 y ′ ′ > 0 , y'' > 0\mathclose{\text{,}} y ′′ > 0 , 曲线向上弯曲。模块 8 称这种性质为凹凸性。
练习 6.9 ★★★ 悬挂的电缆
一根电缆在两根相距 20 米的杆子之间悬挂,两端处于同一高度。以电缆的最低点为 ( 0 , 10 ) , (0, 10)\mathclose{\text{,}} ( 0 , 10 ) , 以米为单位,并假设其形状为悬链线 y = 10 cosh x 10 , y = 10\cosh\dfrac{x}{10}\mathclose{\text{,}} y = 10 cosh 10 x , 在区间 − 10 ≤ x ≤ 10 -10 \le x \le 10 − 10 ≤ x ≤ 10 上。
(a) 电缆在两端下方下垂了多少?
(b) 电缆在杆子处的斜率是多少?它与水平面的夹角是多少?
(c) 抛物线通过最低点和两个端点是 p ( x ) = 10 + s ( x 10 ) 2 , p(x) = 10 + s\Big(\dfrac{x}{10}\Big)^2\mathclose{\text{,}} p ( x ) = 10 + s ( 10 x ) 2 , 其中 s s s 是 (a) 的下垂量。在 x = 5 x = 5 x = 5 处,抛物线和悬链线之间的距离是多少?
查看解答✓ 已检验
(a) 两端点高度为 y ( ± 10 ) = 10 cosh 1 , y(\pm10) = 10\cosh 1\mathclose{\text{,}} y ( ± 10 ) = 10 cosh 1 , 最低点高度为 10,因此下垂量为
s = 10 cosh 1 − 10 = 10 ( cosh 1 − 1 ) ≈ 5.431 m . \begin{aligned} s &= 10\cosh 1 - 10 \\ &= 10(\cosh 1 - 1) \approx 5.431 \text{ m}. \end{aligned} s = 10 cosh 1 − 10 = 10 ( cosh 1 − 1 ) ≈ 5.431 m .
(b) y ′ = 10 sinh x 10 ⋅ 1 10 = sinh x 10 , y' = 10\sinh\dfrac{x}{10}\cdot\dfrac{1}{10} = \sinh\dfrac{x}{10}\mathclose{\text{,}} y ′ = 10 sinh 10 x ⋅ 10 1 = sinh 10 x , 所以在 x = 10 x = 10 x = 10 处斜率是 sinh 1 ≈ 1.175 \sinh 1 \approx 1.175 sinh 1 ≈ 1.175 (并且 − 1.175 -1.175 − 1.175 在 x = − 10 x = -10 x = − 10 处)。斜率为 m m m 的直线与水平线的夹角为 arctan m , \arctan m\mathclose{\text{,}} arctan m , 因为该角的 tan \tan tan 是竖直变化量除以水平变化量。因此,缆线与杆的夹角为 arctan ( sinh 1 ) ≈ 0.8658 \arctan(\sinh 1) \approx 0.8658 arctan ( sinh 1 ) ≈ 0.8658 弧度,约等于 49.6 ∘ , 49.6^\circ\mathclose{\text{,}} 49. 6 ∘ , 相对于水平线。
(c) p ( 5 ) = 10 + s ⋅ 1 4 ≈ 10 + 1.358 = 11.358 , p(5) = 10 + s \cdot \dfrac14 \approx 10 + 1.358 = 11.358\mathclose{\text{,}} p ( 5 ) = 10 + s ⋅ 4 1 ≈ 10 + 1.358 = 11.358 , 而悬链线的下垂量为 y ( 5 ) = 10 cosh 0.5 ≈ 11.276 。 y(5) = 10\cosh 0.5 \approx 11.276\mathclose{\text{。}} y ( 5 ) = 10 cosh 0.5 ≈ 11.276 。 它们之间的差异约为 0.081 m,即 8 cm,缆线位于抛物线的下方。在 5.4 m 的下垂量范围内,差异很小,这就是为什么悬挂的缆线看起来像抛物线;但它并不是抛物线。
练习 6.10 ★★★ 反双曲正弦函数
(a) 证明 sinh \sinh sinh 在 R \R R 上严格递增。然后求解 sinh y = x \sinh y = x sinh y = x 得到 y , y\mathclose{\text{,}} y , 以表明 sinh \sinh sinh 恰好取遍每个实值一次,且其反函数,即 反双曲正弦 ,为
arsinh x = ln ( x + x 2 + 1 ) . \operatorname{arsinh} x = \ln\big(x + \sqrt{x^2 + 1}\big). arsinh x = ln ( x + x 2 + 1 ) .
(b) 使用定理 6.4 来证明 d d x arsinh x = 1 1 + x 2 。 \dfrac{d}{dx}\operatorname{arsinh} x = \dfrac{1}{\sqrt{1 + x^2}}\mathclose{\text{。}} d x d arsinh x = 1 + x 2 1 。
(c) 直接对 ln ( x + x 2 + 1 ) \ln\big(x + \sqrt{x^2 + 1}\big) ln ( x + x 2 + 1 ) 求导,并检查是否得到相同结果。
查看解答✓ 已检验
(a) 设 x 1 < x 2 。 x_1 < x_2\mathclose{\text{。}} x 1 < x 2 。 则 e x 1 < e x 2 e^{x_1} < e^{x_2} e x 1 < e x 2 且 e − x 1 > e − x 2 , e^{-x_1} > e^{-x_2}\mathclose{\text{,}} e − x 1 > e − x 2 , 因此 e x 1 − e − x 1 < e x 2 − e − x 2 , e^{x_1} - e^{-x_1} < e^{x_2} - e^{-x_2}\mathclose{\text{,}} e x 1 − e − x 1 < e x 2 − e − x 2 , 即 sinh x 1 < sinh x 2 。 \sinh x_1 < \sinh x_2\mathclose{\text{。}} sinh x 1 < sinh x 2 。 现在设 x x x 为任意实数,并解 sinh y = x \sinh y = x sinh y = x 得 y : y\mathclose{\text{:}} y : 将 e y − e − y 2 = x \dfrac{e^y - e^{-y}}{2} = x 2 e y − e − y = x 乘以 2 e y 2e^y 2 e y 得
e 2 y − 1 = 2 x e y . e^{2y} - 1 = 2xe^y. e 2 y − 1 = 2 x e y .
用 u = e y u = e^y u = e y 表示,这是二次方程 u 2 − 2 x u − 1 = 0 , u^2 - 2xu - 1 = 0\mathclose{\text{,}} u 2 − 2 xu − 1 = 0 , 其根为 u = x ± x 2 + 1 。 u = x \pm \sqrt{x^2 + 1}\mathclose{\text{。}} u = x ± x 2 + 1 。 由于 x 2 + 1 > x 2 = ∣ x ∣ , \sqrt{x^2 + 1} > \sqrt{x^2} = {\abs{x}}\mathclose{\text{,}} x 2 + 1 > x 2 = ∣ x ∣ , 根 x − x 2 + 1 x - \sqrt{x^2 + 1} x − x 2 + 1 为负数,不能为 e y , e^y\mathclose{\text{,}} e y , 而 x + x 2 + 1 x + \sqrt{x^2 + 1} x + x 2 + 1 为正数。因此,恰好有一个解,
y = ln ( x + x 2 + 1 ) . y = \ln\big(x + \sqrt{x^2 + 1}\big). y = ln ( x + x 2 + 1 ) .
每个实数 x x x 都是 sinh {\sinh} sinh 的一个值,且只取一次,这个 y y y 是 arsinh x 。 \operatorname{arsinh} x\mathclose{\text{。}} arsinh x 。
(b) sinh \sinh sinh 是可导的,因此连续,并且在开区间 R \R R 上是单射的,且其导数 cosh y ≥ 1 \cosh y \ge 1 cosh y ≥ 1 永远不为 0。根据定理 6.4,结合 y = arsinh x , y = \operatorname{arsinh} x\mathclose{\text{,}} y = arsinh x ,
d d x arsinh x = 1 cosh y . \frac{d}{dx}\operatorname{arsinh} x = \frac{1}{\cosh y}. d x d arsinh x = cosh y 1 .
根据恒等式, cosh 2 y = 1 + sinh 2 y = 1 + x 2 , \cosh^2 y = 1 + \sinh^2 y = 1 + x^2\mathclose{\text{,}} cosh 2 y = 1 + sinh 2 y = 1 + x 2 , 以及 cosh y > 0 , \cosh y > 0\mathclose{\text{,}} cosh y > 0 , 因此 cosh y = 1 + x 2 。 \cosh y = \sqrt{1 + x^2}\mathclose{\text{。}} cosh y = 1 + x 2 。
(c) 根据链式法则, d d x x 2 + 1 = x x 2 + 1 , \dfrac{d}{dx}\sqrt{x^2 + 1} = \dfrac{x}{\sqrt{x^2 + 1}}\mathclose{\text{,}} d x d x 2 + 1 = x 2 + 1 x , 因此
d d x ln ( x + x 2 + 1 ) = 1 + x / x 2 + 1 x + x 2 + 1 = x 2 + 1 + x x 2 + 1 ( x + x 2 + 1 ) = 1 x 2 + 1 , \begin{aligned} &\frac{d}{dx}\ln\big(x + \sqrt{x^2 + 1}\big) \\ &\quad= \frac{1 + x/\sqrt{x^2 + 1}}{x + \sqrt{x^2 + 1}} \\ &\quad= \frac{\sqrt{x^2 + 1} + x}{\sqrt{x^2 + 1}\,\big(x + \sqrt{x^2 + 1}\big)} \\ &\quad= \frac{1}{\sqrt{x^2 + 1}}, \end{aligned} d x d ln ( x + x 2 + 1 ) = x + x 2 + 1 1 + x / x 2 + 1 = x 2 + 1 ( x + x 2 + 1 ) x 2 + 1 + x = x 2 + 1 1 ,
与 (b) 相同。Python 和 SymPy 称这个函数为 asinh;许多教材写作 sinh − 1 x 。 \sinh^{-1}x\mathclose{\text{。}} sinh − 1 x 。
练习 6.11 ★★★ 拟合曲线与滑动梯子
astroid 是曲线 x 2 / 3 + y 2 / 3 = 1 。 x^{2/3} + y^{2/3} = 1\mathclose{\text{。}} x 2/3 + y 2/3 = 1 。 考虑其一部分,其中 x > 0 x > 0 x > 0 和 y > 0 。 y > 0\mathclose{\text{。}} y > 0 。
(a) 通过隐函数求导找出 d y d x 。 \dfrac{dy}{dx}\mathclose{\text{。}} d x d y 。
(b) 证明该部分上某一点 ( x 0 , y 0 ) (x_0, y_0) ( x 0 , y 0 ) 的切线在坐标轴上分别截取 ( x 0 1 / 3 , 0 ) \big(x_0^{1/3}, 0\big) ( x 0 1/3 , 0 ) 和 ( 0 , y 0 1 / 3 ) 。 \big(0, y_0^{1/3}\big)\mathclose{\text{。}} ( 0 , y 0 1/3 ) 。
(c) 证明每条这样的切线在坐标轴之间的线段长度为 1。
查看解答✓ 已检验
(a) 对两边求导,使用实指数的幂法则(定理 6.8)和 y 2 / 3 y^{2/3} y 2/3 上的链式法则:
2 3 x − 1 / 3 + 2 3 y − 1 / 3 y ′ = 0 , \frac23x^{-1/3} + \frac23y^{-1/3}\,y' = 0, 3 2 x − 1/3 + 3 2 y − 1/3 y ′ = 0 ,
因此
y ′ = − x − 1 / 3 y − 1 / 3 = − y 1 / 3 x 1 / 3 . y' = -\frac{x^{-1/3}}{y^{-1/3}} = -\frac{y^{1/3}}{x^{1/3}}. y ′ = − y − 1/3 x − 1/3 = − x 1/3 y 1/3 .
(b) 在 ( x 0 , y 0 ) (x_0, y_0) ( x 0 , y 0 ) 处的切线为
y − y 0 = − y 0 1 / 3 x 0 1 / 3 ( x − x 0 ) . y - y_0 = -\frac{y_0^{1/3}}{x_0^{1/3}}(x - x_0). y − y 0 = − x 0 1/3 y 0 1/3 ( x − x 0 ) .
令 y = 0 , y = 0\mathclose{\text{,}} y = 0 , 并将两边乘以 − x 0 1 / 3 / y 0 1 / 3 : -x_0^{1/3}/y_0^{1/3}\mathclose{\text{:}} − x 0 1/3 / y 0 1/3 : x − x 0 = y 0 ⋅ x 0 1 / 3 / y 0 1 / 3 = x 0 1 / 3 y 0 2 / 3 , x - x_0 = y_0 \cdot x_0^{1/3}/y_0^{1/3} = x_0^{1/3}y_0^{2/3}\mathclose{\text{,}} x − x 0 = y 0 ⋅ x 0 1/3 / y 0 1/3 = x 0 1/3 y 0 2/3 , 因此
x = x 0 + x 0 1 / 3 y 0 2 / 3 = x 0 1 / 3 ( x 0 2 / 3 + y 0 2 / 3 ) = x 0 1 / 3 , \begin{aligned} x &= x_0 + x_0^{1/3}y_0^{2/3} \\ &= x_0^{1/3}\big(x_0^{2/3} + y_0^{2/3}\big) = x_0^{1/3}, \end{aligned} x = x 0 + x 0 1/3 y 0 2/3 = x 0 1/3 ( x 0 2/3 + y 0 2/3 ) = x 0 1/3 ,
因为 x 0 2 / 3 + y 0 2 / 3 = 1 x_0^{2/3} + y_0^{2/3} = 1 x 0 2/3 + y 0 2/3 = 1 在曲线上。将 x = 0 x = 0 x = 0 代入:
y = y 0 + y 0 1 / 3 x 0 1 / 3 x 0 = y 0 + y 0 1 / 3 x 0 2 / 3 = y 0 1 / 3 ( y 0 2 / 3 + x 0 2 / 3 ) = y 0 1 / 3 . \begin{aligned} y &= y_0 + \frac{y_0^{1/3}}{x_0^{1/3}}\,x_0 = y_0 + y_0^{1/3}x_0^{2/3} \\ &= y_0^{1/3}\big(y_0^{2/3} + x_0^{2/3}\big) = y_0^{1/3}. \end{aligned} y = y 0 + x 0 1/3 y 0 1/3 x 0 = y 0 + y 0 1/3 x 0 2/3 = y 0 1/3 ( y 0 2/3 + x 0 2/3 ) = y 0 1/3 .
(c) 根据勾股定理,点 ( x 0 1 / 3 , 0 ) \big(x_0^{1/3}, 0\big) ( x 0 1/3 , 0 ) 与 ( 0 , y 0 1 / 3 ) \big(0, y_0^{1/3}\big) ( 0 , y 0 1/3 ) 之间的距离为
( x 0 1 / 3 ) 2 + ( y 0 1 / 3 ) 2 = x 0 2 / 3 + y 0 2 / 3 = 1 = 1. \begin{aligned} &\sqrt{\big(x_0^{1/3}\big)^2 + \big(y_0^{1/3}\big)^2} \\ &\quad= \sqrt{x_0^{2/3} + y_0^{2/3}} = \sqrt1 = 1. \end{aligned} ( x 0 1/3 ) 2 + ( y 0 1/3 ) 2 = x 0 2/3 + y 0 2/3 = 1 = 1.
反之,如果 p > 0 、 p > 0\mathclose{\text{、}} p > 0 、 q > 0 q > 0 q > 0 和 p 2 + q 2 = 1 , p^2 + q^2 = 1\mathclose{\text{,}} p 2 + q 2 = 1 , 则点 ( p 3 , q 3 ) \big(p^3, q^3\big) ( p 3 , q 3 ) 在 astroid 上,且由 (b) 可知其切线在坐标轴上分别交于 ( p , 0 ) (p, 0) ( p , 0 ) 和 ( 0 , q ) 。 (0, q)\mathclose{\text{。}} ( 0 , q ) 。 因此,长度为 1 的梯子从墙滑下,脚在地面上,会在每个位置接触 astroid:astroid 是梯子扫过的区域的边界。
练习 6.12 ★★★ 两条路线,一个数字
第六章 6.1 节将 m ( a ) m(a) m ( a ) 定义为 a x a^x a x 在 x = 0 x = 0 x = 0 处的斜率,第六章 6.3 节证明了 ( 1 + x n ) n → e x \big(1 + \tfrac{x}{n}\big)^n \to e^x ( 1 + n x ) n → e x 等于 n → ∞ 。 n \to \infty\mathclose{\text{。}} n → ∞ 。
(a) 设 a > 0 a > 0 a > 0 和 b > 0 , b > 0\mathclose{\text{,}} b > 0 , 并假设 m ( a ) m(a) m ( a ) 和 m ( b ) m(b) m ( b ) 存在。不用对数,证明 m ( a b ) m(ab) m ( ab ) 存在且 m ( a b ) = m ( a ) + m ( b ) 。 m(ab) = m(a) + m(b)\mathclose{\text{。}} m ( ab ) = m ( a ) + m ( b ) 。 (提示:( a b ) h = a h b h 。 (ab)^h = a^hb^h\mathclose{\text{。}} ( ab ) h = a h b h 。 为什么 a h a^h a h 在 h → 0 h \to 0 h → 0 趋于 1?)
(b) 使用 (a),定理 6.2 以及第 6.1 节中 m ( 2 ) ≈ 0.6931 m(2) \approx 0.6931 m ( 2 ) ≈ 0.6931 和 m ( 3 ) ≈ 1.0986 m(3) \approx 1.0986 m ( 3 ) ≈ 1.0986 的估计式,估算 m ( 6 ) m(6) m ( 6 ) 和 m ( 3 2 ) , m\big(\tfrac32\big)\mathclose{\text{,}} m ( 2 3 ) , 不使用计算器。 (a) 看起来像哪一条对数法则?为什么这不是偶然的?
(c) 银行 A 每年支付 6% 的年利率,按月复利;银行 B 每年支付 5.9% 的年利率,连续复利。一年后,哪家银行将 £1000 转换为更多的金额?多出多少?
查看解答✓ 已检验
(a) 对于 h ≠ 0 , h \ne 0\mathclose{\text{,}} h = 0 , 在分子中减去并加上 a h , a^h\mathclose{\text{,}} a h , 并将分数拆开:
( a b ) h − 1 h = a h b h − a h + a h − 1 h = a h ⋅ b h − 1 h + a h − 1 h . \begin{aligned} &\frac{(ab)^h - 1}{h} \\ &\quad= \frac{a^hb^h - a^h + a^h - 1}{h} \\ &\quad= a^h\cdot\frac{b^h - 1}{h} + \frac{a^h - 1}{h}. \end{aligned} h ( ab ) h − 1 = h a h b h − a h + a h − 1 = a h ⋅ h b h − 1 + h a h − 1 .
如同 h → 0 , h \to 0\mathclose{\text{,}} h → 0 , 右边的两个分数分别趋近于 m ( b ) m(b) m ( b ) 和 m ( a ) 。 m(a)\mathclose{\text{。}} m ( a ) 。 因子 a h a^h a h 趋近于 a 0 = 1 : a^0 = 1\mathclose{\text{:}} a 0 = 1 : 由于 m ( a ) m(a) m ( a ) 存在,a x a^x a x 在 0 处可导,因此在该点连续(模块 4)。根据和与积的极限法则,右边趋近于 1 ⋅ m ( b ) + m ( a ) 。 1\cdot m(b) + m(a)\mathclose{\text{。}} 1 ⋅ m ( b ) + m ( a ) 。 因此 m ( a b ) m(ab) m ( ab ) 存在,且 m ( a b ) = m ( a ) + m ( b ) 。 m(ab) = m(a) + m(b)\mathclose{\text{。}} m ( ab ) = m ( a ) + m ( b ) 。
(b) 由 (a),m ( 6 ) = m ( 2 ⋅ 3 ) = m ( 2 ) + m ( 3 ) ≈ 0.6931 + 1.0986 = 1.7917 。 m(6) = m(2 \cdot 3) = m(2) + m(3) \approx 0.6931 + 1.0986 = 1.7917\mathclose{\text{。}} m ( 6 ) = m ( 2 ⋅ 3 ) = m ( 2 ) + m ( 3 ) ≈ 0.6931 + 1.0986 = 1.7917 。 由定理 6.2 与 c = − 1 , c = -1\mathclose{\text{,}} c = − 1 , m ( 1 2 ) = − m ( 2 ) , m\big(\tfrac12\big) = -m(2)\mathclose{\text{,}} m ( 2 1 ) = − m ( 2 ) , 因此再次由 (a) 得到
m ( 3 2 ) = m ( 3 ) + m ( 1 2 ) = m ( 3 ) − m ( 2 ) ≈ 0.4055. \begin{aligned} m\big(\tfrac32\big) &= m(3) + m\big(\tfrac12\big) \\ &= m(3) - m(2) \approx 0.4055. \end{aligned} m ( 2 3 ) = m ( 3 ) + m ( 2 1 ) = m ( 3 ) − m ( 2 ) ≈ 0.4055.
计算器给出 ln 6 ≈ 1.7918 \ln 6 \approx 1.7918 ln 6 ≈ 1.7918 和 ln 1.5 ≈ 0.4055 : \ln 1.5 \approx 0.4055\mathclose{\text{:}} ln 1.5 ≈ 0.4055 : 除了 m ( 6 ) m(6) m ( 6 ) 的最后一位数字外,其余相同,其中两个估计值的舍入误差相加。第 (a) 部分具有对数第一法则的形式,ln ( x y ) = ln x + ln y , \ln(xy) = \ln x + \ln y\mathclose{\text{,}} ln ( x y ) = ln x + ln y , 而定理 6.2 具有第三法则的形式,ln ( x r ) = r ln x 。 \ln\big(x^r\big) = r\ln x\mathclose{\text{。}} ln ( x r ) = r ln x 。 这并非偶然:由定理 6.3,m ( a ) = ln a m(a) = \ln a m ( a ) = ln a 对于每一个底数 a a a 都成立。
(c) 银行 A 每月将余额乘以 1 + 0.06 12 = 1.005 , 1 + \tfrac{0.06}{12} = 1.005\mathclose{\text{,}} 1 + 12 0.06 = 1.005 , 因此 1000 英镑一年后变成 1000 ⋅ 1.005 12 ≈ 1061.68 1000 \cdot 1.005^{12} \approx 1061.68 1000 ⋅ 1.00 5 12 ≈ 1061.68 英镑。对银行 B,用定理 6.6 和 x = 0.059 x = 0.059 x = 0.059 得 1000 e 0.059 ≈ 1060.78 1000e^{0.059} \approx 1060.78 1000 e 0.059 ≈ 1060.78 英镑,如例 6.4。银行 A 的收益约多 0.90 英镑。由每月复利改为连续复利所增加的收益,小于年利率提高 0.1 个百分点所增加的收益。在 5.9% 的利率下,连续复利只多赚约 0.15 英镑。
1 d d x ( 2 x ) \dfrac{d}{dx}\big(2^x\big) d x d ( 2 x ) 等于
2 x ln 2 2^x\ln 2 2 x ln 2 x 2 x − 1 x\,2^{x-1} x 2 x − 1 2 x 2^x 2 x 2 x ln 2 \dfrac{2^x}{\ln 2} ln 2 2 x 根据定理 6.3,
( a x ) ′ = a x ln a 。 (a^x)' = a^x\ln a\mathclose{\text{。}} ( a x ) ′ = a x ln a 。 x 2 x − 1 x\,2^{x-1} x 2 x − 1 应用幂法则,该法则要求变量在底数中,而不是在指数中。
2 x 2^x 2 x 忽略了因子
ln 2 , \ln 2\mathclose{\text{,}} ln 2 , 该因子仅在底数
e e e 时为 1。
2 x ln 2 \dfrac{2^x}{\ln 2} ln 2 2 x 是一个导数为
2 x 2^x 2 x (第 10 模块)的函数,而不是
2 x 2^x 2 x 的导数。
2 d d x cosh x \dfrac{d}{dx}\cosh x d x d cosh x 等于
− sinh x -\sinh x − sinh x sinh x \sinh x sinh x cosh x \cosh x cosh x 1 cosh 2 x \dfrac{1}{\cosh^2 x} cosh 2 x 1 cosh x = 1 2 ( e x + e − x ) , \cosh x = \tfrac12\big(e^x + e^{-x}\big)\mathclose{\text{,}} cosh x = 2 1 ( e x + e − x ) , 因此其导数为
1 2 ( e x − e − x ) = sinh x 。 \tfrac12\big(e^x - e^{-x}\big) = \sinh x\mathclose{\text{。}} 2 1 ( e x − e − x ) = sinh x 。 负号属于
( cos x ) ′ = − sin x , (\cos x)' = -\sin x\mathclose{\text{,}} ( cos x ) ′ = − sin x , 而不是双曲函数;
cosh x \cosh x cosh x 是
sinh x \sinh x sinh x 的导数;
1 / cosh 2 x 1/\cosh^2 x 1/ cosh 2 x 是
tanh x \tanh x tanh x 的导数。
3 d d x ln ( x 2 + 1 ) \dfrac{d}{dx}\ln\big(x^2 + 1\big) d x d ln ( x 2 + 1 ) 等于
1 x 2 + 1 \dfrac{1}{x^2 + 1} x 2 + 1 1 1 2 x \dfrac{1}{2x} 2 x 1 2 x ln ( x 2 + 1 ) 2x\ln\big(x^2 + 1\big) 2 x ln ( x 2 + 1 ) 2 x x 2 + 1 \dfrac{2x}{x^2 + 1} x 2 + 1 2 x 根据链式法则,
( ln u ) ′ = u ′ / u , (\ln u)' = u'/u\mathclose{\text{,}} ( ln u ) ′ = u ′ / u , 其中
u = x 2 + 1 u = x^2 + 1 u = x 2 + 1 和
u ′ = 2 x 。 u' = 2x\mathclose{\text{。}} u ′ = 2 x 。 1 x 2 + 1 \dfrac{1}{x^2 + 1} x 2 + 1 1 遗漏了因子
u ′ ; u'\mathclose{\text{;}} u ′ ; 1 2 x \dfrac{1}{2x} 2 x 1 是
1 / u ′ ; 1/u'\mathclose{\text{;}} 1/ u ′ ; 而
2 x ln ( x 2 + 1 ) 2x\ln\big(x^2 + 1\big) 2 x ln ( x 2 + 1 ) 将
ln \ln ln 视为其自身的导数。
4 f f f 在
R \R R 上连续且单射,带入
f ( 1 ) = 3 f(1) = 3 f ( 1 ) = 3 和
f ′ ( 1 ) = 4 。 f'(1) = 4\mathclose{\text{。}} f ′ ( 1 ) = 4 。 则
( f − 1 ) ′ ( 3 ) (f^{-1})'(3) ( f − 1 ) ′ ( 3 ) 等于
4 4 4 1 3 \dfrac13 3 1 1 4 \dfrac14 4 1 − 4 9 -\dfrac49 − 9 4 点
( 1 , 3 ) (1, 3) ( 1 , 3 ) 关于函数
f f f 的图像对称于点
( 3 , 1 ) (3, 1) ( 3 , 1 ) 关于函数
f − 1 f^{-1} f − 1 的图像,且斜率互为倒数:
( f − 1 ) ′ ( 3 ) = 1 / f ′ ( 1 ) = 1 4 。 (f^{-1})'(3) = 1/f'(1) = \tfrac14\mathclose{\text{。}} ( f − 1 ) ′ ( 3 ) = 1/ f ′ ( 1 ) = 4 1 。 4是
f f f 的斜率,而非其反函数的斜率;
1 3 \tfrac13 3 1 等于
1 / f ( 1 ) ; 1/f(1)\mathclose{\text{;}} 1/ f ( 1 ) ; 且
− 4 9 = − f ′ ( 1 ) / f ( 1 ) 2 -\tfrac49 = -f'(1)/f(1)^2 − 9 4 = − f ′ ( 1 ) / f ( 1 ) 2 是
1 / f 1/f 1/ f 在1处的导数,这导致将
f − 1 f^{-1} f − 1 与
1 / f 1/f 1/ f 混淆。
5 arcsin ( sin 5 π 6 ) \arcsin\Big(\sin\dfrac{5\pi}{6}\Big) arcsin ( sin 6 5 π ) 等于
5 π 6 \dfrac{5\pi}{6} 6 5 π π 6 \dfrac{\pi}{6} 6 π 1 2 \dfrac12 2 1 − π 6 -\dfrac{\pi}{6} − 6 π sin 5 π 6 = sin ( π − π 6 ) = 1 2 \sin\dfrac{5\pi}{6} = \sin\Big(\pi - \dfrac{\pi}{6}\Big) = \dfrac12 sin 6 5 π = sin ( π − 6 π ) = 2 1 与
arcsin 1 2 = π 6 , \arcsin\dfrac12 = \dfrac{\pi}{6}\mathclose{\text{,}} arcsin 2 1 = 6 π , [ − π / 2 , π / 2 ] [-\pi/2, \pi/2] [ − π /2 , π /2 ] 中正弦值为
1 2 \tfrac12 2 1 的角。
5 π 6 \dfrac{5\pi}{6} 6 5 π 不在该区间内,因此
arcsin \arcsin arcsin 从不返回它;
1 2 \tfrac12 2 1 是正弦值而非角度;且
− π 6 -\dfrac{\pi}{6} − 6 π 的正弦值为
− 1 2 。 -\tfrac12\mathclose{\text{。}} − 2 1 。
6 在圆
x 2 + y 2 = 25 x^2 + y^2 = 25 x 2 + y 2 = 25 上,点
( − 3 , 4 ) (-3, 4) ( − 3 , 4 ) 处的斜率
d y d x \dfrac{dy}{dx} d x d y 为
3 4 \dfrac34 4 3 − 3 4 -\dfrac34 − 4 3 4 3 \dfrac43 3 4 − 4 3 -\dfrac43 − 3 4 隐含地,
2 x + 2 y y ′ = 0 , 2x + 2y\,y' = 0\mathclose{\text{,}} 2 x + 2 y y ′ = 0 , 因此
y ′ = − x / y = − ( − 3 ) / 4 = 3 4 : y' = -x/y = -(-3)/4 = \tfrac34\mathclose{\text{:}} y ′ = − x / y = − ( − 3 ) /4 = 4 3 : 在圆的左上部分,曲线向右上升。
− 3 4 -\tfrac34 − 4 3 是
( 3 , 4 ) (3, 4) ( 3 , 4 ) 处的斜率;
− 4 3 -\tfrac43 − 3 4 是
y / x , y/x\mathclose{\text{,}} y / x , 即指向
( − 3 , 4 ) (-3, 4) ( − 3 , 4 ) 的半径斜率,该半径垂直于切线;
4 3 \tfrac43 3 4 是
− y / x , -y/x\mathclose{\text{,}} − y / x , 即分数
− x / y -x/y − x / y 翻转后的结果。
7 对于
x > 0 , x > 0\mathclose{\text{,}} x > 0 , d d x ( x x ) \dfrac{d}{dx}\big(x^x\big) d x d ( x x ) 等于
x ⋅ x x − 1 x\cdot x^{x-1} x ⋅ x x − 1 x x ln x x^x\ln x x x ln x x x x^x x x x x ( ln x + 1 ) x^x(\ln x + 1) x x ( ln x + 1 ) 用
ln y = x ln x , \ln y = x\ln x\mathclose{\text{,}} ln y = x ln x , y ′ y = ln x + 1 。 \dfrac{y'}{y} = \ln x + 1\mathclose{\text{。}} y y ′ = ln x + 1 。 x ⋅ x x − 1 x\cdot x^{x-1} x ⋅ x x − 1 把幂法则当作指数为常数来使用,
x x ln x x^x\ln x x x ln x 把指数法则当作底数为常数来使用:正确答案是它们的和。
x x x^x x x 是
x ⋅ x x − 1 x\cdot x^{x-1} x ⋅ x x − 1 简化后的形式。
8 一个量在
t t t 年后变为
y = 50 e − 0.2 t 。 y = 50e^{-0.2t}\mathclose{\text{。}} y = 50 e − 0.2 t 。 2.5 年 5 年 ln 2 0.2 ≈ 3.47 \dfrac{\ln 2}{0.2} \approx 3.47 0.2 ln 2 ≈ 3.47 年25 年 解
e − 0.2 T = 1 2 : e^{-0.2T} = \tfrac12\mathclose{\text{:}} e − 0.2 T = 2 1 : 0.2 T = ln 2 , 0.2T = \ln 2\mathclose{\text{,}} 0.2 T = ln 2 , 所以
T = ln 2 / 0.2 ≈ 3.47 , T = \ln 2/0.2 \approx 3.47\mathclose{\text{,}} T = ln 2/0.2 ≈ 3.47 , 无论起始量是多少。5 年是
1 / 0.2 , 1/0.2\mathclose{\text{,}} 1/0.2 , 落到起始量的
1 / e 1/e 1/ e 所需的时间,而不是降到一半;2.5 年是
0.5 / 0.2 , 0.5/0.2\mathclose{\text{,}} 0.5/0.2 , 如果数量以起始速率持续下降所需的时间;而 25 是起始量的一半,不是时间。
重新作答