Unit A4: Derivatives of
Transcendental Functions单元 A4:超越函数的导数
Differentiate the trigonometric, exponential, logarithmic, inverse trigonometric, and hyperbolic functions, then combine them with the chain rule into one fluent toolkit.对三角函数、指数函数、对数函数、反三角函数与双曲函数求导(derivative),再用链式法则(Chain Rule)把它们组合成一套娴熟的工具。
limit)与三角恒等式。把推导亲手做一遍,公式就不再是凭空记忆;随后反复练习总表,直到能脱口而出。这里的每一条结果都会直接用到后续的隐函数求导(implicit differentiation)、最优化与积分(integral)单元。Derivatives of Sine and Cosine正弦与余弦的导数
differentiable),求导(derivative)会让它们在一个循环里轮转:$\sin x$ 的导数是 $\cos x$,$\cos x$ 的导数是 $-\sin x$。这两条事实都建立在同一个几何极限(limit)$\lim_{x\to 0}\frac{\sin x}{x}=1$ 之上,这也正是必须用弧度的原因:只有当 $x$ 以弧度度量时,这些简洁的公式才成立。
The first limit is established by a squeeze between the areas of a triangle, a circular sector, and a larger triangle. The second follows from the first after multiplying by the conjugate $1+\cos x$. With both limits in hand, the derivative formulas drop out of the angle-addition identities.
第一个极限由夹逼法(squeeze)确立:把一个三角形、一个圆扇形和一个更大三角形的面积夹在一起即可。第二个极限在第一个基础上乘以共轭 $1+\cos x$ 后随之得到。有了这两个极限,求导公式就从和角恒等式中自然落出。
One consequence is worth holding onto from the start, because it reappears throughout differential equations. Differentiation cycles sine and cosine with period four: each derivative advances the phase by a quarter turn. Differentiating $\sin x$ four times returns $\sin x$, so $\frac{d}{dx}\sin x=\cos x$, the second derivative is $-\sin x$, the third is $-\cos x$, and the fourth is $\sin x$ again. The same cycle, started one place over, governs cosine. This is precisely why $\sin x$ and $\cos x$ solve the oscillator equation $y''=-y$: applying $\frac{d}{dx}$ twice flips the sign and returns the function.
有一个推论值得从一开始就记住,因为它会在微分方程里反复出现。求导让正弦、余弦以周期 4 循环:每求一次导,相位就前进四分之一圈。对 $\sin x$ 求四次导又回到 $\sin x$,于是 $\frac{d}{dx}\sin x=\cos x$,二阶导是 $-\sin x$,三阶导是 $-\cos x$,四阶导又是 $\sin x$。余弦遵循同一个循环,只是起点错开一位。这恰恰解释了为什么 $\sin x$ 与 $\cos x$ 是振子方程 $y''=-y$ 的解:连续作用两次 $\frac{d}{dx}$ 会翻转符号并把函数还原。
Going deeper: deriving $\frac{d}{dx}\sin x=\cos x$ from the definition深入一步:从定义推导 $\frac{d}{dx}\sin x=\cos x$
Apply the limit definition and expand with the identity $\sin(x+h)=\sin x\cos h+\cos x\sin h$:
$$ \frac{d}{dx}\sin x = \lim_{h\to 0}\frac{\sin x\cos h + \cos x\sin h - \sin x}{h}. $$Group the terms that carry $\sin x$ and those that carry $\cos x$:
$$ = \sin x\!\left(\lim_{h\to 0}\frac{\cos h - 1}{h}\right) + \cos x\!\left(\lim_{h\to 0}\frac{\sin h}{h}\right) = \sin x\cdot 0 + \cos x\cdot 1 = \cos x. $$The two parenthesized limits are exactly the fundamental trig limits. The same procedure with $\cos(x+h)$ yields $\frac{d}{dx}\cos x=-\sin x$.
用导数的极限定义,并借助恒等式 $\sin(x+h)=\sin x\cos h+\cos x\sin h$ 展开:
$$ \frac{d}{dx}\sin x = \lim_{h\to 0}\frac{\sin x\cos h + \cos x\sin h - \sin x}{h}. $$把带 $\sin x$ 的项和带 $\cos x$ 的项各自归并:
$$ = \sin x\!\left(\lim_{h\to 0}\frac{\cos h - 1}{h}\right) + \cos x\!\left(\lim_{h\to 0}\frac{\sin h}{h}\right) = \sin x\cdot 0 + \cos x\cdot 1 = \cos x. $$括号里的两个极限正是前面那两个基本三角极限。对 $\cos(x+h)$ 做同样的处理就得到 $\frac{d}{dx}\cos x=-\sin x$。
Going deeper: the squeeze proof that $\lim_{x\to 0^+}\frac{\sin x}{x}=1$深入一步:用夹逼法证明 $\lim_{x\to 0^+}\frac{\sin x}{x}=1$
This single limit is the foundation of every formula in this section, so it deserves a complete argument rather than an appeal to a picture. Fix a small angle $x$ with $0 The sector area is $\tfrac12 r^2 x=\tfrac12 x$ precisely because $r=1$ and $x$ is in radians; this is the step that fails in degrees. Multiply through by $\dfrac{2}{\sin x}>0$: Take reciprocals, which reverses the inequalities: As $x\to 0^+$ we have $\cos x\to 1$, so the squeeze theorem forces $\frac{\sin x}{x}\to 1$. Because $\frac{\sin x}{x}$ is even, the same limit holds as $x\to 0^-$, hence as $x\to 0$. The companion limit follows by the conjugate trick: $\frac{1-\cos x}{x}=\frac{1-\cos^2 x}{x(1+\cos x)}=\frac{\sin x}{x}\cdot\frac{\sin x}{1+\cos x}\to 1\cdot\frac{0}{2}=0$.
这一个极限是本节每条公式的地基,所以值得给出完整论证,而不是诉诸一张图。取一个满足 $0 扇形面积之所以是 $\tfrac12 r^2 x=\tfrac12 x$,正因为 $r=1$ 且 $x$ 以弧度计;这一步在角度制下会失效。两边同乘 $\dfrac{2}{\sin x}>0$: 取倒数,不等号方向随之翻转: 当 $x\to 0^+$ 时 $\cos x\to 1$,于是夹逼定理迫使 $\frac{\sin x}{x}\to 1$。由于 $\frac{\sin x}{x}$ 是偶函数,$x\to 0^-$ 时极限相同,因而 $x\to 0$ 时也成立。配套极限由共轭技巧得到:$\frac{1-\cos x}{x}=\frac{1-\cos^2 x}{x(1+\cos x)}=\frac{\sin x}{x}\cdot\frac{\sin x}{1+\cos x}\to 1\cdot\frac{0}{2}=0$。
Worked Example 1.1: a combined rate例题 1.1:线性组合的求导
Differentiate $g(x) = 3\sin x - 5\cos x$.
$$ g'(x) = 3\cos x - 5(-\sin x) = 3\cos x + 5\sin x. $$The constants ride through unchanged by linearity, and each term follows its own rule.
对 $g(x) = 3\sin x - 5\cos x$ 求导。
$$ g'(x) = 3\cos x - 5(-\sin x) = 3\cos x + 5\sin x. $$由线性性质,常数系数原样保留,每一项各按自己的法则求导。
Worked Example 1.2: a product that needs the chain rule inside例题 1.2:内部需要链式法则的乘积
Differentiate $f(x)=x^2\cos(3x)$. This is a product, and the second factor is a composition, so both the product rule and the chain rule appear. By the product rule,
$$ f'(x) = \frac{d}{dx}\big(x^2\big)\cdot\cos(3x) + x^2\cdot\frac{d}{dx}\cos(3x). $$The first derivative is $2x$. For the second, the outer function is cosine and the inner is $3x$ with inner derivative $3$, so $\frac{d}{dx}\cos(3x)=-\sin(3x)\cdot 3=-3\sin(3x)$. Assembling,
$$ f'(x) = 2x\cos(3x) - 3x^2\sin(3x). $$Notice the inner derivative $3$ is not optional: dropping it is the single most common error on composite trig derivatives.
对 $f(x)=x^2\cos(3x)$ 求导。这是一个乘积,且第二个因子是复合函数,所以乘积法则(Product Rule)和链式法则(Chain Rule)都要出场。由乘积法则,
第一个导数是 $2x$。第二个里,外层是余弦,内层是 $3x$,其内层导数为 $3$,所以 $\frac{d}{dx}\cos(3x)=-\sin(3x)\cdot 3=-3\sin(3x)$。合并:
$$ f'(x) = 2x\cos(3x) - 3x^2\sin(3x). $$注意内层导数 $3$ 不可省略:漏掉它是复合三角函数求导中最常见的错误。
Worked Example 1.3: evaluating a derivative and reading a slope例题 1.3:求导数值并读取斜率
Find the slope of the tangent line to $y=\sin x$ at $x=\tfrac{\pi}{3}$, and confirm where the curve is momentarily flat on $[0,2\pi]$.
The derivative is $y'=\cos x$, so the slope at $x=\tfrac{\pi}{3}$ is $\cos\tfrac{\pi}{3}=\tfrac12$. The tangent rises at a moderate rate, consistent with the graph still climbing toward its peak at $\tfrac{\pi}{2}$.
The curve is flat where $y'=0$, that is where $\cos x=0$. On $[0,2\pi]$ that happens at $x=\tfrac{\pi}{2}$ and $x=\tfrac{3\pi}{2}$, exactly the maximum and the minimum of the sine wave. The derivative formula thus locates the turning points without any further work.
求 $y=\sin x$ 在 $x=\tfrac{\pi}{3}$ 处切线的斜率,并确认曲线在 $[0,2\pi]$ 上何处瞬时平坦。
导数是 $y'=\cos x$,所以在 $x=\tfrac{\pi}{3}$ 处斜率为 $\cos\tfrac{\pi}{3}=\tfrac12$。切线以适中的速度上升,与图像仍在向 $\tfrac{\pi}{2}$ 处的峰值攀升一致。
曲线在 $y'=0$ 处平坦,即 $\cos x=0$ 处。在 $[0,2\pi]$ 上这发生在 $x=\tfrac{\pi}{2}$ 和 $x=\tfrac{3\pi}{2}$,恰好是正弦波的最大值与最小值。可见,导数公式无需额外功夫就定位了这些转折点。
The Other Trigonometric Functions其余三角函数
derivative)都来自对 $\sin x/\cos x$ 及其同类施加商的法则(Quotient Rule)。结果按余函数对称性两两成对:正切配余切,正割配余割。
A memory aid: every cofunction derivative (cosine, cotangent, cosecant) carries a leading minus sign, mirroring its non-cofunction partner. There is a deeper structural reason. A cofunction is the original function evaluated at the complementary angle, for instance $\cot x=\tan\!\big(\tfrac{\pi}{2}-x\big)$. The inner derivative of $\tfrac{\pi}{2}-x$ is $-1$, and that $-1$ is precisely the minus sign that decorates every cofunction derivative. So the sign is not an arbitrary convention to memorize; it is the chain rule applied to the complementary-angle shift.
一个记忆窍门:每个余函数的导数(余弦、余切、余割)都带一个领头的负号,与它的非余函数搭档相对应。背后还有更深的结构原因。余函数就是原函数在余角处的取值,例如 $\cot x=\tan\!\big(\tfrac{\pi}{2}-x\big)$。$\tfrac{\pi}{2}-x$ 的内层导数是 $-1$,而这个 $-1$ 正是装点每个余函数导数的那个负号。所以这个符号并非要硬记的约定,而是链式法则(Chain Rule)作用于余角平移的结果。
Going deeper: deriving $\frac{d}{dx}\tan x=\sec^2 x$深入一步:推导 $\frac{d}{dx}\tan x=\sec^2 x$
Write $\tan x=\dfrac{\sin x}{\cos x}$ and apply the quotient rule:
$$ \frac{d}{dx}\tan x = \frac{\cos x\cdot\cos x - \sin x\cdot(-\sin x)}{\cos^2 x} = \frac{\cos^2 x + \sin^2 x}{\cos^2 x}. $$The numerator is the Pythagorean identity $\cos^2 x+\sin^2 x=1$, so
$$ \frac{d}{dx}\tan x = \frac{1}{\cos^2 x} = \sec^2 x. $$把 $\tan x=\dfrac{\sin x}{\cos x}$ 写出来,套用商的法则:
$$ \frac{d}{dx}\tan x = \frac{\cos x\cdot\cos x - \sin x\cdot(-\sin x)}{\cos^2 x} = \frac{\cos^2 x + \sin^2 x}{\cos^2 x}. $$分子是毕达哥拉斯恒等式 $\cos^2 x+\sin^2 x=1$,于是
$$ \frac{d}{dx}\tan x = \frac{1}{\cos^2 x} = \sec^2 x. $$Going deeper: deriving $\frac{d}{dx}\sec x=\sec x\tan x$深入一步:推导 $\frac{d}{dx}\sec x=\sec x\tan x$
Write $\sec x=(\cos x)^{-1}$ and use the chain rule on the power. With outer function $u^{-1}$ and inner $u=\cos x$, $u'=-\sin x$,
$$ \frac{d}{dx}\sec x = -1\cdot(\cos x)^{-2}\cdot(-\sin x) = \frac{\sin x}{\cos^2 x}. $$Now split the single fraction into a product that exposes the standard form:
$$ \frac{\sin x}{\cos^2 x} = \frac{1}{\cos x}\cdot\frac{\sin x}{\cos x} = \sec x\tan x. $$The same method on $\csc x=(\sin x)^{-1}$ gives $\frac{d}{dx}\csc x=-\csc x\cot x$, and on $\cot x=(\tan x)^{-1}$, or directly as $\frac{\cos x}{\sin x}$ by the quotient rule, gives $\frac{d}{dx}\cot x=-\csc^2 x$.
把 $\sec x=(\cos x)^{-1}$ 写出来,对这个幂用链式法则。外层是 $u^{-1}$,内层 $u=\cos x$,$u'=-\sin x$,
$$ \frac{d}{dx}\sec x = -1\cdot(\cos x)^{-2}\cdot(-\sin x) = \frac{\sin x}{\cos^2 x}. $$再把这个单一分式拆成乘积,露出标准形式:
$$ \frac{\sin x}{\cos^2 x} = \frac{1}{\cos x}\cdot\frac{\sin x}{\cos x} = \sec x\tan x. $$对 $\csc x=(\sin x)^{-1}$ 用同样方法得 $\frac{d}{dx}\csc x=-\csc x\cot x$;对 $\cot x=(\tan x)^{-1}$(或直接写成 $\frac{\cos x}{\sin x}$ 用商的法则)得 $\frac{d}{dx}\cot x=-\csc^2 x$。
Worked Example 2.1: differentiating a secant expression例题 2.1:对一个含正割的式子求导
Differentiate $h(x) = x\sec x$ using the product rule.
$$ h'(x) = (1)\sec x + x\cdot\sec x\tan x = \sec x\,(1 + x\tan x). $$用乘积法则对 $h(x) = x\sec x$ 求导。
$$ h'(x) = (1)\sec x + x\cdot\sec x\tan x = \sec x\,(1 + x\tan x). $$Worked Example 2.2: a quotient with tangent例题 2.2:含正切的商
Differentiate $f(x)=\dfrac{\tan x}{x}$. By the quotient rule with top $\tan x$ and bottom $x$,
$$ f'(x) = \frac{\sec^2 x\cdot x - \tan x\cdot 1}{x^2} = \frac{x\sec^2 x - \tan x}{x^2}. $$There is no further cancellation, so this is the final simplified form. Resist the temptation to cancel an $x$ against the $x^2$, since the second term in the numerator has no factor of $x$ to cancel.
对 $f(x)=\dfrac{\tan x}{x}$ 求导。用商的法则,分子为 $\tan x$、分母为 $x$,
$$ f'(x) = \frac{\sec^2 x\cdot x - \tan x\cdot 1}{x^2} = \frac{x\sec^2 x - \tan x}{x^2}. $$没有进一步可约的因子,所以这就是最简形式。不要被诱惑去拿 $x$ 跟 $x^2$ 约分,因为分子第二项没有 $x$ 因子可约。
Worked Example 2.3: a power of secant via the chain rule例题 2.3:用链式法则对正割的幂求导
Differentiate $g(x)=\sec^3 x$, which means $(\sec x)^3$. The outer operation is the cube, so the general power rule applies with inner function $\sec x$:
$$ g'(x) = 3(\sec x)^2\cdot\frac{d}{dx}\sec x = 3\sec^2 x\cdot\sec x\tan x = 3\sec^3 x\tan x. $$The chain rule supplies the inner derivative $\sec x\tan x$, which then merges with the $\sec^2 x$ from the power rule to give $\sec^3 x$.
对 $g(x)=\sec^3 x$ 求导,它的含义是 $(\sec x)^3$。外层运算是立方,所以对内层函数 $\sec x$ 套用广义幂法则:
$$ g'(x) = 3(\sec x)^2\cdot\frac{d}{dx}\sec x = 3\sec^2 x\cdot\sec x\tan x = 3\sec^3 x\tan x. $$链式法则提供内层导数 $\sec x\tan x$,它再与幂法则给出的 $\sec^2 x$ 合并成 $\sec^3 x$。
The Exponential Function指数函数
derivative)的函数。数 $e$ 的定义恰好使得以 $e$ 为底的指数在原点斜率为 $1$,这就迫使 $\frac{d}{dx}e^x=e^x$ 处处成立。一般的底数 $a$ 会从链式法则(Chain Rule)那里多带一个常数因子 $\ln a$。
Because $a=e^{\ln a}$, we have $a^x=e^{x\ln a}$, and the chain rule on this composition produces the factor $\ln a$. When $a=e$ that factor is $\ln e=1$ and the formula reduces to $e^x$. This rewrite, $a^x=e^{x\ln a}$, is the single most useful identity in the section: any exponential with a constant base can be converted to base $e$ before differentiating, which means you never have to memorize the $\ln a$ factor as a separate rule. It is also the only honest way to handle expressions like $x^x$ where both base and exponent vary, the subject of the next section.
由于 $a=e^{\ln a}$,于是 $a^x=e^{x\ln a}$,对这个复合用链式法则就产生因子 $\ln a$。当 $a=e$ 时该因子为 $\ln e=1$,公式退化成 $e^x$。这个改写 $a^x=e^{x\ln a}$ 是本节最有用的一条恒等式:任何常数底数的指数都可以在求导前换成以 $e$ 为底,这样你永远不必把 $\ln a$ 因子当成一条单独的法则去背。它也是处理像 $x^x$ 这种底数与指数都含变量的式子(下一节的主题)唯一诚实的办法。
Going deeper: why $\frac{d}{dx}e^x=e^x$深入一步:为何 $\frac{d}{dx}e^x=e^x$
From the definition, factor $a^x$ out of the difference quotient for $f(x)=a^x$:
$$ \frac{d}{dx}a^x = \lim_{h\to 0}\frac{a^{x+h}-a^x}{h} = a^x\lim_{h\to 0}\frac{a^{h}-1}{h}. $$The remaining limit is a constant $L(a)$ that depends only on the base. The number $e$ is defined as the base for which this limit equals $1$, that is $\lim_{h\to 0}\frac{e^h-1}{h}=1$. Therefore $\frac{d}{dx}e^x=e^x\cdot 1=e^x$. For general $a$ one shows $L(a)=\ln a$, giving $\frac{d}{dx}a^x=a^x\ln a$.
从定义出发,对 $f(x)=a^x$ 的差商把 $a^x$ 提出来:
$$ \frac{d}{dx}a^x = \lim_{h\to 0}\frac{a^{x+h}-a^x}{h} = a^x\lim_{h\to 0}\frac{a^{h}-1}{h}. $$余下的极限(limit)是一个只依赖于底数的常数 $L(a)$。数 $e$ 被定义为使该极限等于 $1$ 的那个底数,即 $\lim_{h\to 0}\frac{e^h-1}{h}=1$。因此 $\frac{d}{dx}e^x=e^x\cdot 1=e^x$。对一般的 $a$ 可证 $L(a)=\ln a$,从而 $\frac{d}{dx}a^x=a^x\ln a$。
Going deeper: identifying the constant $L(a)$ as $\ln a$深入一步:辨认常数 $L(a)$ 即 $\ln a$
The proof above left $L(a)=\lim_{h\to 0}\frac{a^h-1}{h}$ as an unidentified constant. Here is why it equals $\ln a$, using only the base-$e$ rule. Write $a^x=e^{x\ln a}$, a genuine identity since $a=e^{\ln a}$. Differentiate the right side with the chain rule, outer function $e^u$ and inner $u=x\ln a$ with $u'=\ln a$:
$$ \frac{d}{dx}a^x = \frac{d}{dx}e^{x\ln a} = e^{x\ln a}\cdot\ln a = a^x\ln a. $$Comparing this with the difference-quotient form $\frac{d}{dx}a^x=a^x\,L(a)$ and matching coefficients of $a^x$ forces $L(a)=\ln a$. As a sanity check, $L(e)=\ln e=1$, recovering the defining property of $e$, and for a base less than $1$, say $a=\tfrac12$, $L(a)=\ln\tfrac12<0$, correctly making $(\tfrac12)^x$ a decreasing function.
上面的证明把 $L(a)=\lim_{h\to 0}\frac{a^h-1}{h}$ 留作一个未辨认的常数。下面只用以 $e$ 为底的法则说明它为何等于 $\ln a$。写出 $a^x=e^{x\ln a}$,这是真正的恒等式,因为 $a=e^{\ln a}$。对右边用链式法则求导,外层是 $e^u$,内层 $u=x\ln a$ 且 $u'=\ln a$:
$$ \frac{d}{dx}a^x = \frac{d}{dx}e^{x\ln a} = e^{x\ln a}\cdot\ln a = a^x\ln a. $$把它与差商形式 $\frac{d}{dx}a^x=a^x\,L(a)$ 比较,匹配 $a^x$ 的系数就迫使 $L(a)=\ln a$。作为验算,$L(e)=\ln e=1$,恰好还原 $e$ 的定义性质;而对小于 $1$ 的底数,比如 $a=\tfrac12$,$L(a)=\ln\tfrac12<0$,正确地使 $(\tfrac12)^x$ 成为减函数。
Worked Example 3.1: chain rule on an exponential例题 3.1:对指数函数用链式法则
Differentiate $f(x) = e^{3x^2}$. Here $u=3x^2$, so $u'=6x$:
$$ f'(x) = e^{3x^2}\cdot 6x = 6x\,e^{3x^2}. $$对 $f(x) = e^{3x^2}$ 求导。这里 $u=3x^2$,所以 $u'=6x$:
$$ f'(x) = e^{3x^2}\cdot 6x = 6x\,e^{3x^2}. $$Worked Example 3.2: a product and quotient with exponentials例题 3.2:含指数的乘积与商
Differentiate $f(x)=\dfrac{e^{x}}{x^2+1}$. By the quotient rule, with top $e^x$ (derivative $e^x$) and bottom $x^2+1$ (derivative $2x$),
$$ f'(x) = \frac{e^x(x^2+1) - e^x(2x)}{(x^2+1)^2} = \frac{e^x\big(x^2 - 2x + 1\big)}{(x^2+1)^2}. $$The numerator factors as a perfect square, $x^2-2x+1=(x-1)^2$, so
$$ f'(x) = \frac{e^x(x-1)^2}{(x^2+1)^2}. $$Because $(x-1)^2\ge 0$ and $e^x>0$, the derivative is never negative: $f$ is increasing everywhere, with a momentary flat spot at $x=1$ where the tangent is horizontal.
对 $f(x)=\dfrac{e^{x}}{x^2+1}$ 求导。用商的法则,分子为 $e^x$(导数 $e^x$)、分母为 $x^2+1$(导数 $2x$),
$$ f'(x) = \frac{e^x(x^2+1) - e^x(2x)}{(x^2+1)^2} = \frac{e^x\big(x^2 - 2x + 1\big)}{(x^2+1)^2}. $$分子是完全平方 $x^2-2x+1=(x-1)^2$,于是
$$ f'(x) = \frac{e^x(x-1)^2}{(x^2+1)^2}. $$因为 $(x-1)^2\ge 0$ 且 $e^x>0$,导数从不为负:$f$ 处处递增,仅在 $x=1$ 处有一个瞬时平点,那里切线水平。
Worked Example 3.3: a general base needing the conversion identity例题 3.3:需要换底恒等式的一般底数
Differentiate $y=5^{\,\sin x}$. The base is a constant and the exponent is a function, so rewrite in base $e$: $5^{\sin x}=e^{(\sin x)\ln 5}$. Now the chain rule applies cleanly with inner function $(\sin x)\ln 5$ and inner derivative $(\cos x)\ln 5$:
$$ y' = e^{(\sin x)\ln 5}\cdot(\cos x)\ln 5 = 5^{\sin x}\,(\ln 5)\cos x. $$Equivalently, apply $\frac{d}{dx}a^{u}=a^{u}(\ln a)\,u'$ directly with $a=5$ and $u=\sin x$. Both routes agree, which is the point of the conversion identity.
对 $y=5^{\,\sin x}$ 求导。底数是常数、指数是函数,于是换成以 $e$ 为底:$5^{\sin x}=e^{(\sin x)\ln 5}$。这时链式法则可干净地应用,内层函数为 $(\sin x)\ln 5$,内层导数为 $(\cos x)\ln 5$:
$$ y' = e^{(\sin x)\ln 5}\cdot(\cos x)\ln 5 = 5^{\sin x}\,(\ln 5)\cos x. $$等价地,直接用 $\frac{d}{dx}a^{u}=a^{u}(\ln a)\,u'$,取 $a=5$、$u=\sin x$。两条路径结果一致,这正是换底恒等式的意义所在。
Logarithmic Functions and Logarithmic Differentiation对数函数与对数求导法
inverse),在定义域 $x>0$ 上它的导数(derivative)就是简洁的倒数 $1/x$。这条公式开启了对数求导法(logarithmic differentiation):在求导前把乘积、商和变指数都化成和,从而驯服那些乘积法则与商的法则只能笨拙处理的式子。
Taking the logarithm first replaces a product by a sum of logs and a variable exponent by a coefficient. After differentiating, multiply through by $y$ to recover $y'$.
先取对数,会把乘积换成对数之和,把变指数换成系数。求导之后,两边乘以 $y$ 就还原出 $y'$。
One subtlety deserves emphasis because it widens the domain of the formula. The function $\ln x$ is defined only for $x>0$, but $\ln|x|$ is defined for all $x\neq 0$, and remarkably it has the same derivative $\frac1x$ on both sides. For $x<0$ write $|x|=-x$, so $\frac{d}{dx}\ln(-x)=\frac{1}{-x}\cdot(-1)=\frac1x$ by the chain rule. This is why logarithmic differentiation uses $\ln|y|$ rather than $\ln y$: the absolute value lets the technique run even when $f(x)$ is negative, and the absolute value never affects the answer because its contribution cancels.
有一个细节值得强调,因为它拓宽了公式的定义域。函数 $\ln x$ 只在 $x>0$ 时有定义,但 $\ln|x|$ 对一切 $x\neq 0$ 都有定义,而且了不起的是它在两侧都有同一个导数 $\frac1x$。当 $x<0$ 时写 $|x|=-x$,由链式法则 $\frac{d}{dx}\ln(-x)=\frac{1}{-x}\cdot(-1)=\frac1x$。这正是对数求导法用 $\ln|y|$ 而非 $\ln y$ 的原因:绝对值让这套技术在 $f(x)$ 为负时也能照常进行,而绝对值从不影响答案,因为它的贡献会相消。
Going deeper: $\frac{d}{dx}\ln x=\frac1x$ from the inverse relationship深入一步:由反函数关系得 $\frac{d}{dx}\ln x=\frac1x$
Let $y=\ln x$, so $e^{y}=x$. Differentiate both sides with respect to $x$, using the chain rule on the left:
$$ e^{y}\,\frac{dy}{dx} = 1 \;\Longrightarrow\; \frac{dy}{dx} = \frac{1}{e^{y}} = \frac{1}{x}. $$The substitution $e^{y}=x$ closes the argument and gives the reciprocal formula.
令 $y=\ln x$,于是 $e^{y}=x$。两边对 $x$ 求导,左边用链式法则:
$$ e^{y}\,\frac{dy}{dx} = 1 \;\Longrightarrow\; \frac{dy}{dx} = \frac{1}{e^{y}} = \frac{1}{x}. $$代回 $e^{y}=x$ 就完成论证,给出倒数公式。
Going deeper: the general base formula $\frac{d}{dx}\log_a x=\frac{1}{x\ln a}$深入一步:一般底数公式 $\frac{d}{dx}\log_a x=\frac{1}{x\ln a}$
The natural logarithm is special because its derivative has no leftover constant. Every other base inherits a factor of $\frac{1}{\ln a}$ through the change-of-base identity. Start from
$$ \log_a x = \frac{\ln x}{\ln a}, $$which is valid because $\ln a$ is just a constant. Differentiate, treating $\frac{1}{\ln a}$ as a constant multiple:
$$ \frac{d}{dx}\log_a x = \frac{1}{\ln a}\cdot\frac{d}{dx}\ln x = \frac{1}{\ln a}\cdot\frac1x = \frac{1}{x\ln a}. $$This also explains why calculus uses base $e$ almost exclusively: it is the one base for which the constant $\frac{1}{\ln a}$ equals $1$, leaving the cleanest possible derivative.
自然对数之所以特殊,是因为它的导数没有多余的常数。其它每一个底数都通过换底恒等式继承一个 $\frac{1}{\ln a}$ 因子。从
$$ \log_a x = \frac{\ln x}{\ln a} $$出发,这成立是因为 $\ln a$ 只是个常数。把 $\frac{1}{\ln a}$ 当成常数倍求导:
$$ \frac{d}{dx}\log_a x = \frac{1}{\ln a}\cdot\frac{d}{dx}\ln x = \frac{1}{\ln a}\cdot\frac1x = \frac{1}{x\ln a}. $$这也解释了为什么微积分几乎只用以 $e$ 为底:它是唯一让常数 $\frac{1}{\ln a}$ 等于 $1$ 的底数,留下尽可能简洁的导数。
Worked Example 4.1: a power tower with logarithmic differentiation例题 4.1:用对数求导法处理幂塔
Differentiate $y = x^{x}$ for $x>0$. The variable appears in both base and exponent, so neither the power rule nor the exponential rule applies directly. Take logarithms:
$$ \ln y = x\ln x. $$Differentiate both sides, using the product rule on the right:
$$ \frac{y'}{y} = (1)\ln x + x\cdot\frac1x = \ln x + 1. $$Multiply by $y=x^{x}$:
$$ y' = x^{x}\,(\ln x + 1). $$对 $x>0$ 求 $y = x^{x}$ 的导数。变量同时出现在底数和指数上,所以幂法则和指数法则都不能直接用。两边取对数:
$$ \ln y = x\ln x. $$两边求导,右边用乘积法则(Product Rule):
乘以 $y=x^{x}$:
$$ y' = x^{x}\,(\ln x + 1). $$Worked Example 4.2: a messy product tamed by logs例题 4.2:用对数驯服一个杂乱的乘积
Differentiate $y=\dfrac{(x^2+1)^3\sqrt{x-4}}{(2x+3)^5}$ for $x>4$. The product and quotient rules would be brutal here. Take the natural log and use its algebra to break the expression into a sum:
$$ \ln y = 3\ln(x^2+1) + \tfrac12\ln(x-4) - 5\ln(2x+3). $$Now differentiate term by term, each by the chain rule on $\ln$:
$$ \frac{y'}{y} = 3\cdot\frac{2x}{x^2+1} + \tfrac12\cdot\frac{1}{x-4} - 5\cdot\frac{2}{2x+3} = \frac{6x}{x^2+1} + \frac{1}{2(x-4)} - \frac{10}{2x+3}. $$Multiply by $y$ to finish:
$$ y' = \frac{(x^2+1)^3\sqrt{x-4}}{(2x+3)^5}\left(\frac{6x}{x^2+1} + \frac{1}{2(x-4)} - \frac{10}{2x+3}\right). $$The bracket is the logarithmic derivative; leaving the answer in this factored form is standard and preferred, since expanding it gains nothing.
对 $x>4$ 求 $y=\dfrac{(x^2+1)^3\sqrt{x-4}}{(2x+3)^5}$ 的导数。在这里乘积法则和商的法则会异常繁琐。取自然对数,用它的运算律把式子拆成和:
$$ \ln y = 3\ln(x^2+1) + \tfrac12\ln(x-4) - 5\ln(2x+3). $$现在逐项求导,每一项都对 $\ln$ 用链式法则:
$$ \frac{y'}{y} = 3\cdot\frac{2x}{x^2+1} + \tfrac12\cdot\frac{1}{x-4} - 5\cdot\frac{2}{2x+3} = \frac{6x}{x^2+1} + \frac{1}{2(x-4)} - \frac{10}{2x+3}. $$乘以 $y$ 收尾:
$$ y' = \frac{(x^2+1)^3\sqrt{x-4}}{(2x+3)^5}\left(\frac{6x}{x^2+1} + \frac{1}{2(x-4)} - \frac{10}{2x+3}\right). $$方括号里就是对数导数;把答案保留成这种因式形式是标准且更可取的做法,因为展开它没有任何好处。
Worked Example 4.3: a variable base and a variable exponent together例题 4.3:底数与指数同时含变量
Differentiate $y=(\sin x)^{x}$ on an interval where $\sin x>0$, say $0 Differentiate the right side by the product rule, and the inner $\ln(\sin x)$ by the chain rule: Multiply by $y=(\sin x)^x$:
在 $\sin x>0$ 的区间上(比如 $0 右边用乘积法则求导,内层 $\ln(\sin x)$ 用链式法则: 乘以 $y=(\sin x)^x$:
Inverse Trigonometric Functions反三角函数
inverse)求导后都变成一个不含任何三角的代数表达式。这些导数由对定义关系(例如 $\sin y=x$)做隐函数求导(implicit differentiation),再借毕达哥拉斯恒等式把残留的三角项化成代数而得到。反余函数($\arccos$、$\operatorname{arccot}$、$\operatorname{arccsc}$)与其搭档只差一个符号。
A clean pattern organizes these results. The arc-sine and arc-cosine share the radical $\sqrt{1-x^2}$ and differ only in sign, and their derivatives sum to zero: $\frac{d}{dx}(\arcsin x+\arccos x)=0$, which is the calculus shadow of the identity $\arcsin x+\arccos x=\tfrac{\pi}{2}$. The arc-tangent and arc-cotangent share the rational $1+x^2$ in the same way. The radical forms have a restricted domain $(-1,1)$ because the radial functions $\sin$ and $\cos$ only reach inputs in $[-1,1]$, while the arc-tangent is differentiable on all of $\mathbb{R}$, mirroring tangent's unbounded range.
一个清晰的规律把这些结果组织起来。反正弦与反余弦共用根式 $\sqrt{1-x^2}$,只差一个符号,且它们的导数之和为零:$\frac{d}{dx}(\arcsin x+\arccos x)=0$,这是恒等式 $\arcsin x+\arccos x=\tfrac{\pi}{2}$ 在微积分里的投影。反正切与反余切以同样方式共用有理式 $1+x^2$。根式形式的定义域被限制在 $(-1,1)$,因为 $\sin$ 与 $\cos$ 的取值只落在 $[-1,1]$;而反正切在整个 $\mathbb{R}$ 上都可微,对应正切无界的值域。
Going deeper: deriving $\frac{d}{dx}\arcsin x$深入一步:推导 $\frac{d}{dx}\arcsin x$
Let $y=\arcsin x$, so $\sin y=x$ with $-\tfrac{\pi}{2}\le y\le\tfrac{\pi}{2}$. Differentiate implicitly:
$$ \cos y\,\frac{dy}{dx} = 1 \;\Longrightarrow\; \frac{dy}{dx} = \frac{1}{\cos y}. $$On the principal branch $\cos y\ge 0$, so $\cos y=\sqrt{1-\sin^2 y}=\sqrt{1-x^2}$, giving
$$ \frac{d}{dx}\arcsin x = \frac{1}{\sqrt{1-x^2}}. $$令 $y=\arcsin x$,于是 $\sin y=x$,其中 $-\tfrac{\pi}{2}\le y\le\tfrac{\pi}{2}$。做隐函数求导:
$$ \cos y\,\frac{dy}{dx} = 1 \;\Longrightarrow\; \frac{dy}{dx} = \frac{1}{\cos y}. $$在主支上 $\cos y\ge 0$,所以 $\cos y=\sqrt{1-\sin^2 y}=\sqrt{1-x^2}$,于是
$$ \frac{d}{dx}\arcsin x = \frac{1}{\sqrt{1-x^2}}. $$Going deeper: deriving $\frac{d}{dx}\arctan x$ and the choice of branch sign深入一步:推导 $\frac{d}{dx}\arctan x$ 与分支符号的选取
Let $y=\arctan x$, so $\tan y=x$ with $-\tfrac{\pi}{2} Now convert the leftover trig to algebra with the identity $\sec^2 y=1+\tan^2 y=1+x^2$: Here no sign ambiguity arises because $\sec^2 y$ is always positive, which is why arctangent has no branch-sign subtlety. Contrast this with $\arcsin$, where choosing $\cos y=+\sqrt{1-x^2}$ rather than the negative root depended on the principal branch lying in $[-\tfrac{\pi}{2},\tfrac{\pi}{2}]$, where cosine is nonnegative. Choosing the wrong root there flips the sign of the entire derivative, the most common error in this section.
令 $y=\arctan x$,于是 $\tan y=x$,其中 $-\tfrac{\pi}{2} 再用恒等式 $\sec^2 y=1+\tan^2 y=1+x^2$ 把残留的三角化成代数: 这里不存在符号歧义,因为 $\sec^2 y$ 永远为正,这正是反正切没有分支符号难点的原因。与之对照的是 $\arcsin$:选取 $\cos y=+\sqrt{1-x^2}$ 而非负根,依赖于主支落在 $[-\tfrac{\pi}{2},\tfrac{\pi}{2}]$ 内,那里余弦非负。在那里选错根会翻转整个导数的符号,这是本节最常见的错误。
Worked Example 5.1: chain rule with arctangent例题 5.1:反正切与链式法则
Differentiate $f(x) = \arctan(x^2)$. With $u=x^2$ and $u'=2x$:
$$ f'(x) = \frac{1}{1+(x^2)^2}\cdot 2x = \frac{2x}{1+x^4}. $$对 $f(x) = \arctan(x^2)$ 求导。取 $u=x^2$、$u'=2x$:
$$ f'(x) = \frac{1}{1+(x^2)^2}\cdot 2x = \frac{2x}{1+x^4}. $$Worked Example 5.2: arcsine of a scaled variable例题 5.2:缩放变量的反正弦
Differentiate $g(x)=\arcsin(3x)$. The outer function is $\arcsin u$ with $u=3x$ and $u'=3$:
$$ g'(x) = \frac{1}{\sqrt{1-(3x)^2}}\cdot 3 = \frac{3}{\sqrt{1-9x^2}}. $$The domain shrinks accordingly: the radicand $1-9x^2$ stays positive only for $|x|<\tfrac13$, exactly where $3x$ lands inside $(-1,1)$.
对 $g(x)=\arcsin(3x)$ 求导。外层函数是 $\arcsin u$,其中 $u=3x$、$u'=3$:
$$ g'(x) = \frac{1}{\sqrt{1-(3x)^2}}\cdot 3 = \frac{3}{\sqrt{1-9x^2}}. $$定义域随之收窄:被开方式 $1-9x^2$ 仅在 $|x|<\tfrac13$ 时为正,正是 $3x$ 落入 $(-1,1)$ 的地方。
Worked Example 5.3: a product of inverse-trig and algebraic factors例题 5.3:反三角因子与代数因子的乘积
Differentiate $h(x)=x\arctan x - \tfrac12\ln(1+x^2)$, a function that appears as an antiderivative in integration. Differentiate term by term. For the first term use the product rule:
$$ \frac{d}{dx}\big(x\arctan x\big) = (1)\arctan x + x\cdot\frac{1}{1+x^2} = \arctan x + \frac{x}{1+x^2}. $$For the second, the chain rule on $\ln(1+x^2)$ gives $\frac{2x}{1+x^2}$, so $\frac{d}{dx}\big(-\tfrac12\ln(1+x^2)\big)=-\tfrac12\cdot\frac{2x}{1+x^2}=-\frac{x}{1+x^2}$. Adding the pieces, the two rational terms cancel:
$$ h'(x) = \arctan x + \frac{x}{1+x^2} - \frac{x}{1+x^2} = \arctan x. $$The clean cancellation is the reason $h$ is the standard antiderivative of $\arctan x$.
对 $h(x)=x\arctan x - \tfrac12\ln(1+x^2)$ 求导,这个函数在积分里作为 $\arctan x$ 的原函数(antiderivative)出现。逐项求导。第一项用乘积法则:
第二项对 $\ln(1+x^2)$ 用链式法则得 $\frac{2x}{1+x^2}$,于是 $\frac{d}{dx}\big(-\tfrac12\ln(1+x^2)\big)=-\tfrac12\cdot\frac{2x}{1+x^2}=-\frac{x}{1+x^2}$。把各部分相加,两个有理项相消:
$$ h'(x) = \arctan x + \frac{x}{1+x^2} - \frac{x}{1+x^2} = \arctan x. $$这种干净的相消正是 $h$ 成为 $\arctan x$ 标准原函数的原因。
Hyperbolic Functions双曲函数
exponential)的组合:$\cosh x=\frac{e^x+e^{-x}}{2}$,$\sinh x=\frac{e^x-e^{-x}}{2}$。它们的导数与圆三角函数如出一辙,只是少了那个游离的负号:$\sinh x$ 的导数是 $\cosh x$,$\cosh x$ 的导数是 $+\sinh x$。它们满足双曲恒等式 $\cosh^2 x-\sinh^2 x=1$。
The parallel with circular trigonometry is exact except for signs, and the reason is a single observation: differentiating $e^{-x}$ produces a $-1$ that flips the parity of the exponential combination. In the circular case the corresponding factor is the imaginary unit, which is why $\cos$ and $\cosh$ are siblings under the substitution $x\mapsto ix$. For a first-year course the practical takeaway is simpler. The hyperbolic derivative table looks like the circular one with the minus sign on $\frac{d}{dx}\cosh x$ deleted, and the secant-style identity reads $\frac{d}{dx}\tanh x=\operatorname{sech}^2 x$ in perfect analogy with $\frac{d}{dx}\tan x=\sec^2 x$.
它与圆三角的平行关系除了符号外完全一致,原因只在于一个观察:对 $e^{-x}$ 求导会产生一个 $-1$,从而翻转指数组合的奇偶性。在圆三角情形里,对应的因子是虚数单位,这也是 $\cos$ 与 $\cosh$ 在代换 $x\mapsto ix$ 下互为兄弟的原因。对一年级课程而言,实用的结论更简单:双曲函数导数表就像圆三角那张表,只是删去了 $\frac{d}{dx}\cosh x$ 上的负号;正割式恒等式写作 $\frac{d}{dx}\tanh x=\operatorname{sech}^2 x$,与 $\frac{d}{dx}\tan x=\sec^2 x$ 完全类比。
Going deeper: $\frac{d}{dx}\cosh x=\sinh x$ from the definition深入一步:由定义得 $\frac{d}{dx}\cosh x=\sinh x$
Differentiate the exponential definition term by term:
$$ \frac{d}{dx}\cosh x = \frac{d}{dx}\frac{e^x+e^{-x}}{2} = \frac{e^x + (-1)e^{-x}}{2} = \frac{e^x - e^{-x}}{2} = \sinh x. $$No minus sign survives, in contrast to the circular case where $\frac{d}{dx}\cos x=-\sin x$.
对指数定义逐项求导:
$$ \frac{d}{dx}\cosh x = \frac{d}{dx}\frac{e^x+e^{-x}}{2} = \frac{e^x + (-1)e^{-x}}{2} = \frac{e^x - e^{-x}}{2} = \sinh x. $$没有负号留存,这与圆三角情形 $\frac{d}{dx}\cos x=-\sin x$ 形成对照。
Going deeper: $\frac{d}{dx}\tanh x=\operatorname{sech}^2 x$ and the hyperbolic identity深入一步:$\frac{d}{dx}\tanh x=\operatorname{sech}^2 x$ 与双曲恒等式
Write $\tanh x=\dfrac{\sinh x}{\cosh x}$ and apply the quotient rule, using $\frac{d}{dx}\sinh x=\cosh x$ and $\frac{d}{dx}\cosh x=\sinh x$:
$$ \frac{d}{dx}\tanh x = \frac{\cosh x\cdot\cosh x - \sinh x\cdot\sinh x}{\cosh^2 x} = \frac{\cosh^2 x - \sinh^2 x}{\cosh^2 x}. $$The numerator is the hyperbolic Pythagorean identity $\cosh^2 x-\sinh^2 x=1$, which itself follows from the definitions since $\big(\tfrac{e^x+e^{-x}}{2}\big)^2-\big(\tfrac{e^x-e^{-x}}{2}\big)^2=\tfrac14\big[(e^{2x}+2+e^{-2x})-(e^{2x}-2+e^{-2x})\big]=1$. Therefore
$$ \frac{d}{dx}\tanh x = \frac{1}{\cosh^2 x} = \operatorname{sech}^2 x. $$Note the sign of the numerator: in the circular case the quotient rule produced $\cos^2 x+\sin^2 x$, a sum, whereas here the minus signs in the hyperbolic derivatives produce a difference. Both collapse to $1$ by their respective identities.
把 $\tanh x=\dfrac{\sinh x}{\cosh x}$ 写出来,套用商的法则,用 $\frac{d}{dx}\sinh x=\cosh x$ 和 $\frac{d}{dx}\cosh x=\sinh x$:
$$ \frac{d}{dx}\tanh x = \frac{\cosh x\cdot\cosh x - \sinh x\cdot\sinh x}{\cosh^2 x} = \frac{\cosh^2 x - \sinh^2 x}{\cosh^2 x}. $$分子是双曲毕达哥拉斯恒等式 $\cosh^2 x-\sinh^2 x=1$,它本身由定义而来,因为 $\big(\tfrac{e^x+e^{-x}}{2}\big)^2-\big(\tfrac{e^x-e^{-x}}{2}\big)^2=\tfrac14\big[(e^{2x}+2+e^{-2x})-(e^{2x}-2+e^{-2x})\big]=1$。因此
$$ \frac{d}{dx}\tanh x = \frac{1}{\cosh^2 x} = \operatorname{sech}^2 x. $$注意分子的符号:在圆三角情形里商的法则产生 $\cos^2 x+\sin^2 x$,是一个和;而这里双曲导数里的负号产生一个差。两者都按各自的恒等式化为 $1$。
Worked Example 6.1: chain rule with $\cosh$例题 6.1:$\cosh$ 与链式法则
Differentiate $f(x) = \cosh(2x)$. With $u=2x$ and $u'=2$:
$$ f'(x) = \sinh(2x)\cdot 2 = 2\sinh(2x). $$对 $f(x) = \cosh(2x)$ 求导。取 $u=2x$、$u'=2$:
$$ f'(x) = \sinh(2x)\cdot 2 = 2\sinh(2x). $$Worked Example 6.2: the catenary and its slope例题 6.2:悬链线及其斜率
A hanging cable, the catenary, has shape $y=a\cosh\!\big(\tfrac{x}{a}\big)$ for a positive constant $a$. Find its slope. The outer function is $a\cosh u$ with $u=\tfrac{x}{a}$ and $u'=\tfrac1a$:
$$ y' = a\sinh\!\Big(\tfrac{x}{a}\Big)\cdot\tfrac1a = \sinh\!\Big(\tfrac{x}{a}\Big). $$The constant $a$ cancels, so the slope at the lowest point $x=0$ is $\sinh 0=0$, confirming the cable hangs horizontally at its bottom. The arc length element $\sqrt{1+(y')^2}=\sqrt{1+\sinh^2(x/a)}=\cosh(x/a)$ then simplifies beautifully, which is exactly why the catenary is the standard textbook arc-length example.
一根悬挂的缆绳——悬链线——其形状为 $y=a\cosh\!\big(\tfrac{x}{a}\big)$,其中 $a$ 为正常数。求它的斜率。外层函数是 $a\cosh u$,其中 $u=\tfrac{x}{a}$、$u'=\tfrac1a$:
$$ y' = a\sinh\!\Big(\tfrac{x}{a}\Big)\cdot\tfrac1a = \sinh\!\Big(\tfrac{x}{a}\Big). $$常数 $a$ 相消,所以在最低点 $x=0$ 处斜率为 $\sinh 0=0$,证实缆绳在底部水平悬垂。弧长微元 $\sqrt{1+(y')^2}=\sqrt{1+\sinh^2(x/a)}=\cosh(x/a)$ 随之漂亮地化简,这正是悬链线成为教科书标准弧长例子的原因。
Worked Example 6.3: a hyperbolic composition例题 6.3:双曲复合函数
Differentiate $g(x)=\tanh(x^2+1)$. The outer function is $\tanh u$ with derivative $\operatorname{sech}^2 u$, and the inner is $u=x^2+1$ with $u'=2x$:
$$ g'(x) = \operatorname{sech}^2(x^2+1)\cdot 2x = 2x\,\operatorname{sech}^2(x^2+1). $$对 $g(x)=\tanh(x^2+1)$ 求导。外层函数是 $\tanh u$,导数为 $\operatorname{sech}^2 u$;内层是 $u=x^2+1$、$u'=2x$:
$$ g'(x) = \operatorname{sech}^2(x^2+1)\cdot 2x = 2x\,\operatorname{sech}^2(x^2+1). $$Putting It Together综合运用
Chain Rule)逐层向里递归,一路累乘内层导数。本单元的超越函数导数成为基本构件,由 A3 单元的乘积法则、商的法则与链式法则把它们组装起来。
The discipline that prevents almost every error in this unit is to identify the outermost operation first, differentiate it while leaving its argument intact, and then multiply by the derivative of that argument. Repeating this peels a composition one layer at a time, keeping a running product of inner derivatives. A nested function like $\ln\!\big(\cos(e^{x})\big)$ has three layers: log of cosine of exponential. Working outward in, the derivative is $\frac{1}{\cos(e^x)}$ times $-\sin(e^x)$ times $e^x$, with no layer skipped. The transcendental rules of this unit supply the per-layer derivatives; the chain, product, and quotient rules of Unit A3 supply the bookkeeping.
在本单元几乎能避免一切错误的纪律是:先认出最外层运算,对它求导而保留其自变量不动,然后乘以那个自变量的导数。反复这样做就把复合函数一层一层剥开,一路累乘内层导数。像 $\ln\!\big(\cos(e^{x})\big)$ 这样的嵌套函数有三层:指数外面套余弦、余弦外面套对数。由外向内地做,导数就是 $\frac{1}{\cos(e^x)}$ 乘 $-\sin(e^x)$ 乘 $e^x$,没有一层被跳过。本单元的超越函数法则提供每一层的导数;A3 单元的链式、乘积与商的法则负责记账。
Going deeper: why the chain rule never loses a layer深入一步:为何链式法则从不漏掉一层
It is worth seeing once why the running product is the whole story for a deep composition. Suppose $F=f_1\circ f_2\circ\cdots\circ f_n$, so $F(x)=f_1\big(f_2(\cdots f_n(x))\big)$. Let $u_n=f_n(x)$, $u_{n-1}=f_{n-1}(u_n)$, and so on. Applying the two-function chain rule once peels the outermost layer:
$$ F'(x) = f_1'\big(u_2\big)\cdot\frac{d}{dx}\big(f_2\circ\cdots\circ f_n\big)(x). $$The trailing factor is again a composition, one layer shorter, so the same rule applies to it. Repeating until nothing is left gives the telescoping product
$$ F'(x) = f_1'(u_2)\,f_2'(u_3)\,\cdots\,f_{n-1}'(u_n)\,f_n'(x), $$which is exactly the running product of inner derivatives, each evaluated at the appropriate intermediate value. Forgetting one of these factors is forgetting one application of the chain rule, which is why the layer-by-layer habit is not optional.
值得彻底看一次:对深层复合而言,累乘内层导数就是全部故事。设 $F=f_1\circ f_2\circ\cdots\circ f_n$,即 $F(x)=f_1\big(f_2(\cdots f_n(x))\big)$。令 $u_n=f_n(x)$、$u_{n-1}=f_{n-1}(u_n)$,依此类推。对两个函数的链式法则用一次,就剥掉最外层:
$$ F'(x) = f_1'\big(u_2\big)\cdot\frac{d}{dx}\big(f_2\circ\cdots\circ f_n\big)(x). $$末尾那个因子又是一个复合,只是少了一层,所以对它再用同一法则。反复直到无可再剥,得到这个望远镜式的连乘
$$ F'(x) = f_1'(u_2)\,f_2'(u_3)\,\cdots\,f_{n-1}'(u_n)\,f_n'(x), $$这正是累乘的内层导数,每一个都在恰当的中间值处取值。漏掉其中一个因子,就是漏掉一次链式法则的应用,这正是逐层习惯不可省略的原因。
Worked Example 7.1: a fully layered derivative例题 7.1:完全分层的求导
Differentiate $f(x) = e^{2x}\sin(3x)$. This is a product, and each factor needs the chain rule:
$$ f'(x) = \underbrace{2e^{2x}}_{(e^{2x})'}\sin(3x) + e^{2x}\underbrace{3\cos(3x)}_{(\sin 3x)'}. $$ $$ f'(x) = e^{2x}\big(2\sin(3x) + 3\cos(3x)\big). $$对 $f(x) = e^{2x}\sin(3x)$ 求导。这是一个乘积,每个因子都需要链式法则:
$$ f'(x) = \underbrace{2e^{2x}}_{(e^{2x})'}\sin(3x) + e^{2x}\underbrace{3\cos(3x)}_{(\sin 3x)'}. $$ $$ f'(x) = e^{2x}\big(2\sin(3x) + 3\cos(3x)\big). $$Worked Example 7.2: logarithm of a composite例题 7.2:复合函数的对数
Differentiate $g(x) = \ln\!\big(\tan x\big)$. The outer function is $\ln u$ with $u=\tan x$:
$$ g'(x) = \frac{1}{\tan x}\cdot\sec^2 x = \frac{\sec^2 x}{\tan x} = \frac{1}{\sin x\cos x} = \frac{2}{\sin(2x)}. $$对 $g(x) = \ln\!\big(\tan x\big)$ 求导。外层函数是 $\ln u$,其中 $u=\tan x$:
$$ g'(x) = \frac{1}{\tan x}\cdot\sec^2 x = \frac{\sec^2 x}{\tan x} = \frac{1}{\sin x\cos x} = \frac{2}{\sin(2x)}. $$Worked Example 7.3: a three-layer composition例题 7.3:三层复合函数
Differentiate $f(x)=\arctan\!\big(e^{\sin x}\big)$. Three operations are stacked: arctangent on the outside, exponential in the middle, sine on the inside. Differentiate outward in, keeping the running product.
Outer layer, arctangent, gives $\dfrac{1}{1+\big(e^{\sin x}\big)^2}=\dfrac{1}{1+e^{2\sin x}}$, with its argument left untouched. Middle layer, the exponential, contributes $e^{\sin x}$. Inner layer, sine, contributes $\cos x$. Multiply the three factors:
$$ f'(x) = \frac{1}{1+e^{2\sin x}}\cdot e^{\sin x}\cdot\cos x = \frac{e^{\sin x}\cos x}{1+e^{2\sin x}}. $$Each factor is the derivative of one named layer, and none is skipped. That is the entire technique.
对 $f(x)=\arctan\!\big(e^{\sin x}\big)$ 求导。三个运算叠在一起:外层反正切,中层指数,内层正弦。由外向内求导,一路累乘。
最外层反正切给出 $\dfrac{1}{1+\big(e^{\sin x}\big)^2}=\dfrac{1}{1+e^{2\sin x}}$,其自变量保持不动。中层指数贡献 $e^{\sin x}$。内层正弦贡献 $\cos x$。把三个因子相乘:
$$ f'(x) = \frac{1}{1+e^{2\sin x}}\cdot e^{\sin x}\cdot\cos x = \frac{e^{\sin x}\cos x}{1+e^{2\sin x}}. $$每个因子都是某个具名层的导数,无一被跳过。这就是这套技术的全部。
Worked Example 7.4: a quotient of transcendental factors例题 7.4:超越因子之商
Differentiate $y=\dfrac{\sin x}{e^{x}}$, which is cleaner to read as $y=e^{-x}\sin x$. Using the product rule on the rewritten form, with $\frac{d}{dx}e^{-x}=-e^{-x}$,
$$ y' = -e^{-x}\sin x + e^{-x}\cos x = e^{-x}\big(\cos x - \sin x\big). $$This $e^{-x}\sin x$ is the prototype of a damped oscillation, and the factored derivative $e^{-x}(\cos x-\sin x)$ vanishes exactly when $\cos x=\sin x$, that is at $x=\tfrac{\pi}{4}+k\pi$, locating the peaks and troughs of the decaying wave.
对 $y=\dfrac{\sin x}{e^{x}}$ 求导,写成 $y=e^{-x}\sin x$ 更便于阅读。对改写后的形式用乘积法则,其中 $\frac{d}{dx}e^{-x}=-e^{-x}$,
$$ y' = -e^{-x}\sin x + e^{-x}\cos x = e^{-x}\big(\cos x - \sin x\big). $$这个 $e^{-x}\sin x$ 是阻尼振荡的原型,因式化后的导数 $e^{-x}(\cos x-\sin x)$ 恰好在 $\cos x=\sin x$ 时为零,即 $x=\tfrac{\pi}{4}+k\pi$,定位了这条衰减波的波峰与波谷。
Flashcards记忆卡片
Unit Quiz单元测验
Readiness Checklist掌握度清单
Tap each item you can do without notes.点击每一条你不看笔记就能做到的项目。 0 / 8 mastered已掌握 0 / 8
- State and apply the derivatives of sine and cosine, and explain why radians are required.陈述并运用正弦与余弦的导数,并解释为何必须使用弧度。
- Derive the derivative of tangent (and the other quotient functions) from the quotient rule.用商的法则推导正切(及其它商函数)的导数。
- Differentiate $e^x$ and $a^x$, and use the chain rule on $e^{u(x)}$.对 $e^x$ 与 $a^x$ 求导,并对 $e^{u(x)}$ 使用链式法则。
- Differentiate $\ln x$ and $\log_a x$, and justify the $1/x$ formula from the inverse relationship.对 $\ln x$ 与 $\log_a x$ 求导,并由反函数关系论证 $1/x$ 公式。
- Use logarithmic differentiation on power-tower and product-quotient expressions.对幂塔以及乘积与商的表达式使用对数求导法。
- State and apply the derivatives of $\arcsin x$, $\arccos x$, and $\arctan x$.陈述并运用 $\arcsin x$、$\arccos x$ 与 $\arctan x$ 的导数。
- Differentiate the hyperbolic functions and contrast the signs with circular trig.对双曲函数求导,并将其符号与圆三角对比。
- Combine product, quotient, and chain rules with transcendental derivatives on layered expressions.在分层表达式上把乘积法则、商的法则与链式法则同超越函数导数结合运用。