📚 Logarithmic Differentiation | 对数微分法
Logarithmic differentiation is a versatile technique in calculus that simplifies the differentiation of complex functions. By taking the natural logarithm of both sides, products become sums, quotients become differences, and powers become coefficients, transforming a messy derivative into a straightforward calculation. This method is particularly effective when a function involves a variable raised to a variable power, or when multiple factors are multiplied or divided.
对数微分法是微积分中一种通用技巧,能简化复杂函数的求导过程。通过对等式两边取自然对数,乘积变为和、商变为差、幂变为系数,从而将繁琐的导数转化为直接的计算。当函数涉及变量底数和变量指数,或者多个因子相乘除时,这种方法尤其有效。
1. What is Logarithmic Differentiation? | 什么是对数微分法?
roperties of logarithms. For any differentiable function y = f(x), we can take ln y (or ln|y| ide after applying logarithm rules, solving for dy/dx becomes much easier than working directly with the original expression.
对数微分法是隐函数微分与对数性质相结合的产物。对于任意可微函数 y = f(x),我们可以取 ln y(若 y 可能为负则取 ln|y|),然后对 x 求导。利用链式法则得到 d/dx(ln y) = (1/y) dy/dx。如果在应用对数法则后能化简右端,那么解出 dy/dx 就会比直接处理原式容易得多。
In IB Mathematics, this technique often appears in problems where standard rules lead to tangled algebra. It allows you to differentiate functions like xx, (sin x)cos x, or even lengthy products and quotients in a few clean steps.
在 IB 数学中,这一技巧常出现在标准法则会导致繁琐代数的问题里。它使我们能用几步清晰的运算就完成对诸如 xx、(sin x)cos x 甚至冗长乘积分式的求导。
2. When to Use Logarithmic Differentiation | 何时使用对数微分法
Logarithmic differentiation is not needed for simple polynomials or basic exponential functions. It shines in three main scenarios:
对数微分法并非对简单的多项式或基本指数函数使用,它在以下三种主要情形中大放异彩:
- Variable base and variable exponent: y = [f(x)]g(x), where both the base and the exponent are functions of x.
- 产品与商的组合:y = [f(x)]g(x),底数和指数都是 x 的函数。
(Note: The list items should be pairs, but the above has mixed language. Let's correct: I'll produce proper pairs for lists as well if needed. However, the requirement says "每个要点先写英文
,紧跟写中文
配对", so for bullet points I can also make each bullet a pair? Better to use paragraphs for list-type content. I'll avoid
- with mixed languages; instead, I'll present scenarios as paragraph pairs.)
场景一:变量底数和变量指数:形如 y = [f(x)]g(x),底数和指数都是 x 的函数。直接套用指数规则会混淆,而对数微分将指数拿下,使底数与指数分离。
Scenario 1: Variable base and variable exponent: For y = [f(x)]g(x), direct differentiation is messy. Logarithmic differentiation brings down the exponent, allowing you to treat the base and exponent separately.
Scenario 2: Products, quotients, and powers combined: When a function contains multiple factors multiplied or divided, especially with roots or fractional exponents, taking logarithms turns the product into a sum of terms, each of which can be differentiated easily.
场景二:乘积、商与幂的组合:当函数包含多个相乘或相除的因子,尤其是带有根号或分数指数时,取对数可将乘积转化为各项之和,每项求导都变得简单。
Scenario 3: Implicitly defined relationships where ln helps: In some IB problems, you might need to differentiate an equation like xy = yx. Applying logarithmic differentiation to both sides is an elegant approach.
场景三:隐式关系中需要 ln 帮助:在某些 IB 问题中,你可能需要对方程 xy = yx 进行微分。对两边同时使用对数微分是一种优雅的做法。
3. The General Procedure | 一般步骤
The method of logarithmic differentiation follows a clear sequence. Mastering these steps ensures accuracy on tricky exam questions.
对数微分法遵循清晰的步骤。掌握这些步骤可确保在棘手考题中的准确率。
Step 1: e the natural logarithm of both sides. If there is a chance f(x) could be negative, use ln|y| instead. This step gives ln y = ln(f(x)).
第1步:写出 y = f(x),并对两边取自然对数。如果 f(x) 可能为负,则使用 ln|y|。这一步得到 ln y = ln(f(x))。
Step 2: s to expand ln(f(x)) completely. Use ln(ab) = ln a + ln b, ln(a/b) = ln a - ln b, and ln(ak) = k ln a. The objective is to break the expression into simple terms.
第2步:利用对数性质将 ln(f(x)) 完全展开。使用 ln(ab) = ln a + ln b,ln(a/b) = ln a - ln b 以及 ln(ak) = k ln a。目标是将表达式拆分为简单项。
Step 3: Differentiate both sides with respect to x. The left side becomes (1/y) dy/dx. The right side is a sum of differentiated terms, each typically involving standard rules.
第3步:对两边关于 x 求导。左侧变为 (1/y) dy/dx。右侧是各求导项之和,每一项通常只涉及标准法则。
Step 4: by y to solve for dy/dx. You will obtain dy/dx = y × (derivative of the right-hand side).
第4步:两边同乘以 y,解出 dy/dx。你将得到 dy/dx = y × (右端的导数)。
Step 5: iginal function y = f(x) so that the final derivative is expressed entirely in terms of x.
第5步:把原始函数 y = f(x) 代回,使最终导数完全用 x 表达。
Throughout this process, remember that logarithmic differentiation is essentially a clever use of the chain rule and implicit differentiation. It never replaces the basic rules but extends them.
在整个过程中,请记住对数微分本质上是对链式法则和隐函数微分的巧妙运用。它从不替代基本法则,而是对它们进行拓展。
4. Key Logarithmic Properties to Review | 需要回顾的关键对数性质
Success in logarithmic differentiation depends on fluency with logarithm laws. The following identities hold for positive M, N and real k, under the natural logarithm.
对数微分的成功取决于对对数法则的熟练程度。以下恒等式在自然对数下对正数 M、N 和实数 k 成立。
ln(MN) = ln M + ln N
积的对数等于对数的和。
ln(M/N) = ln M - ln N
商的对数等于对数的差。
ln(Mk) = k ln M
幂的对数等于指数乘以底数的对数。
These three properties are the workhorses of logarithmic differentiation. When expanding a complicated expression, apply them repeatedly until no product, quotient, or power remains inside a logarithm. If you forget to apply these laws correctly, you will end up with an expression that is still difficult to differentiate.
这三条性质是对数微分的主力。展开复杂表达式时,反复应用它们,直到对数内部没有乘积、商或幂。如果你忘记正确应用这些法则,结果仍会难以求导。
5. Worked Example 1: Differentiate y = xx | 例题1:求 y = xx 的导数
The function y = xx is a classic case where neither the power rule nor the exponential rule applies directly. Logarithmic differentiation offers a clean solution.
函数 y = xx 是一个经典例子,幂法则和指数法则都不能直接使用。对数微分给出了简洁的解法。
Solution: Take the natural log of both sides:
解:两边取自然对数:
ln y = ln(xx) = x ln x
Now differentiate implicitly with respect to x. The left side gives (1/y) dy/dx. The right side requires the product rule on x ln x:
现在对 x 隐式求导。左侧得 (1/y) dy/dx。右侧需对 x ln x 使用乘积法则:
(1/y) dy/dx = d/dx (x ln x) = (1)(ln x) + x(1/x) = ln x + 1
Multiply both sides by y: dy/dx = y (ln x + 1). Finally, replace y with xx:
两边同乘 y:dy/dx = y (ln x + 1)。最后用 xx 替换 y:
dy/dx = xx (ln x + 1)
This result shows the power of the technique. The derivative of xx cannot be obtained by treating the exponent as a constant or the base as a constant alone; the logarithm resolves the ambiguity.
这个结果显示了该技巧的强大。xx 的导数既不能只把指数看作常数,也不能只把底数看作常数;对数消除了这种模糊性。
6. Worked Example 2: A Product of Three Functions | 例题2:三个函数的乘积
Consider y = (x2 + 3) ex sin x. Using the product rule repeatedly would yield a long expression. Logarithmic differentiation streamlines the process.
考虑 y = (x2 + 3) ex sin x。反复使用乘积法则会得到一个冗长的表达式。对数微分简化了过程。
Take ln of both sides (assume the product is positive for the domain of interest):
两边取 ln(假设在关心的定义域内乘积为正):
ln y = ln(x2 + 3) + ln(ex) + ln(sin x)
ln y = ln(x2 + 3) + x + ln(sin x)
Differentiate both sides:
两边求导:
(1/y) dy/dx = (2x)/(x2 + 3) + 1 + (cos x)/(sin x)
Multiply by y and substitute back:
乘以 y 并代回:
dy/dx = (x2 + 3) ex sin x [ (2x)/(x2 + 3) + 1 + cot x ]
The brackets contain the sum of three simple derivatives, making the result compact and less error-prone than applying the triple product rule directly.
括号里包含三个简单导数的和,使得结果紧凑,且比直接应用三重乘积法则更不易出错。
7. Worked Example 3: Function with Roots and Quotients | 例题3:含有根式和商的函数
Find dy/dx for y = ( (x3 + 1)2 √x − 1 ) / (x2 + 4)5 .
求 y = ( (x3 + 1)2 √x − 1 ) / (x2 + 4)5 的导数。
Start by taking ln of both sides and apply properties:
先从两边取 ln 并应用性质开始:
ln y = 2 ln(x3 + 1) + (1/2) ln(x − 1) − 5 ln(x2 + 4)
Differentiate term by term:
逐项求导:
(1/y) dy/dx = 2 × (3x2)/(x3 + 1) + (1/2) × (1)/(x − 1) − 5 × (2x)/(x2 + 4)
Simplify the coefficients:
化简系数:
(1/y) dy/dx = (6x2)/(x3 + 1) + 1/(2(x − 1)) − (10x)/(x2 + 4)
Finally, multiply by y:
最后乘以 y:
dy/dx = [(x3 + 1)2 √x − 1]/(x2 + 4)5 [ (6x2)/(x3 + 1) + 1/(2x − 2) − (10x)/(x2 + 4) ]
Without logarithmic differentiation, you would need to combine quotient, product, and chain rules, leading to a huge algebraic mess. The logarithmic approach keeps the work modular and tidy.
若不使用对数微分,你需要组合商法则、乘积法则和链式法则,导致繁琐的代数计算。对数方法使工作模块化且整洁。
8. The Role of Absolute Values | 绝对值的作用
ctly write ln y because the domain of ln requires a positive argument. Instead, we take ln|y|, and the differentiation proceeds identically because d/dx (ln|y|) = (1/y) dy/dx. This holds for all y not equal to 0, provided y is differentiable.
当函数 y = f(x) 可能为负时,我们不能直接写 ln y,因为 ln 的定义域要求正数。相反,我们使用 ln|y|,而求导过程完全一样,因为 d/dx (ln|y|) = (1/y) dy/dx。只要 y 可微且 y ≠ 0,这个性质就成立。
In most IB problems, the functions are defined on intervals where they are positive, so the absolute value is omitted for simplicity. However, it is good practice to mention that we implicitly use absolute values when necessary, especially in formal solutions.
在大多数 IB 题目中,函数都定义在其为正数的区间上,因此为简化而省略了绝对值。然而,提及在必要时隐含使用绝对值是一个好习惯,尤其在正式的解题过程中。
9. Tips and Common Mistakes | 技巧与常见错误
Mistake 1: Forgetting to apply the chain rule on the left side. The derivative of ln y is (1/y) dy/dx, not 1/y. Always include dy/dx.
错误1:忘记在左侧应用链式法则。ln y 的导数是 (1/y) dy/dx,而不是 1/y。一定要带上 dy/dx。
Mistake 2: Failing to expand logarithms fully before differentiating. If you leave a product inside a logarithm, you will need the chain rule again, complicating the work.
错误2:求导前未将对数彻底展开。如果你在对数内留下了乘积,你将不得不再次使用链式法则,使得过程复杂化。
Mistake 3: Substituting y back too early. You should multiply both sides by y as late as possible, usually after simplifying the derivative of the logarithmic expression, to avoid carrying unnecessary algebraic baggage.
错误3:过早代回 y。应当尽可能晚地将两边同乘 y,通常在化简对数表达式的导数之后,以免背上不必要的代数包袱。
Tip: After obtaining dy/dx, you can often simplify by canceling common factors. If the original function has factors that appear both in y and in the derivative parenthesis, cancellation yields a cleaner answer.
技巧:得到 dy/dx 后,通常可以通过约去公因子来简化。如果原函数含有同时出现在 y 和导数括号内的因子,约分后答案会更简洁。
10. Applications in IB Exam Settings | 在IB考试中的应用
in Paper 1 or Paper 2, often combined with implicit differentiation, related rates, or finding equations of tangents and normals. Past papers include questions such as "Differentiate y = xsin x" or "Find dy/dx if xy = yx".
在 IB 数学分析与方法(AA)HL 课程中,对数微分是解决某类问题的必备方法。它可能出现在试卷一或试卷二中,常与隐函数微分、相关变化率或求切线、法线方程结合。历年试卷中有诸如“求 y = xsin x 的导数”或“若 xy = yx,求 dy/dx”的问题。
For Standard Level (SL) students, the technique is less common but can still be useful as an extension. Understanding logarithmic differentiation deepens your grasp of the relationship between exponential and logarithmic functions, which is central to the calculus portion of the IB syllabus.
对于标准水平(SL)的学生,这一技巧不常见,但作为拓展仍很有用。理解对数微分能加深你对指数函数与对数函数关系的把握,这是 IB 微积分部分的核心内容。
11. When Direct Differentiation Might Be Better | 何时直接求导更优
garithmic differentiation is not always the shortest path. For a function like y = (sin x)4, rewriting as (sin x)4 and using the chain rule is faster than taking logs. Similarly, a simple product like x2 ex is easily handled by the product rule. Evaluate the complexity before choosing your method.
对数微分并非总是捷径。对于 y = (sin x)4 这样的函数,写成 (sin x)4 并使用链式法则比对函数取对数更快。类似地,简单的乘积如 x2 ex 用乘积法则处理很容易。在选择方法前先评估复杂程度。
In general, use logarithmic differentiation when you see a variable exponent, multiple nested factors, or a mix of products, quotients, and powers that would explode under traditional rules. Developing this intuition comes with practice.
一般来说,当你看到变量指数、多个嵌套因子或是乘积、商和幂的组合在传统法则下会爆炸时,就使用对数微分。这种直觉通过练习培养。
12. Summary | 总结
Logarithmic differentiation transforms a daunting derivative into manageable steps. By applying the natural logarithm, we leverage the additive properties of logs to split products and quotients, and the power property to bring exponents down. The five-step procedure — take ln, expand, differentiate, multiply by y, and substitute back — provides a reliable framework for tackling problems that resist standard calculus rules.
对数微分将令人生畏的导数转化为易于处理的步骤。通过应用自然对数,我们利用对数的加法性质分解乘积和商,利用幂的性质将指数下移。五步流程——取 ln、展开、求导、乘以 y、代回——为解决那些抗拒标准微积分法则的问题提供了可靠的框架。
Master this method, and you will handle IB calculus questions with confidence. Whether it is xx, a tangled rational expression, or an implicit relationship, logarithmic differentiation keeps your work neat, logical, and exam-ready.
掌握这个方法,你将自信地应对 IB 微积分题目。无论是 xx、复杂的有理表达式还是隐式关系,对数微分都能使你的解题过程整洁、合乎逻辑且适合考试。
Published by TutorHao | Mathematics Revision Series | aleveler.com
更多咨询请联系16621398022(同微信)

或截图后用「扫一扫 → 相册」选择本图