Exercise 5.5 · Q18: Derivative of two ways
If , and are functions of , then show that
in two ways - first by repeated application of product rule, second by logarithmic differentiation.
(i) Let . By the product rule,
Hence proved.
(ii) Let . Taking log on both sides (, , ),
Differentiating both sides w.r.t. ,
Hence proved.
Want the reason behind every step, the basics and the checks?
A product of three functions can be treated as a product of two, , so the two-factor product rule applies twice. Alternatively, logs turn the product into the sum , whose derivative is ; multiplying back by gives the same formula. Each fraction cancels its own factor, leaving the product of the other two.
- Given
- , , are differentiable functions of ; .
- To show
- , by each of the two methods.
- Plan
- Part (i): group as , use the product rule, then use it again on . Part (ii): take logs where , differentiate, multiply by ; then extend to non-zero values of any sign and note what happens where a factor is zero.
Basics you need
For differentiable and : (Section 5.3). Basics: derivative rules
For positive : (Section 5.4). Basics: exponentials and logarithms
Part (i): by repeated use of the product rule
Treat as a product of two factors
Write . The first factor is , the second is . By the product rule,
The product rule is stated for two factors. Grouping and together makes the three-factor product a two-factor one. The grouping is allowed because multiplication is associative: .Product (Leibnitz) rule (Section 5.3). Basics: derivative rulesUse the product rule again, on
is itself a product of two differentiable functions, so the same rule applies. It is differentiable because and are.Product rule (Section 5.3). Basics: derivative rulesSubstitute and expand
This is the required formula, and it holds at every where , , are differentiable.
Multiplying the bracket by (distributive law) gives the first two terms; the third comes from the second half of Part (i), Step 1. Nothing here needs , or to be non-zero.Distributive law. Basics: solving for dy/dx
Part (ii): by logarithmic differentiation
Take logs (where )
At points where , , are all positive, and
Logarithmic differentiation needs the quantities whose logs we take to be positive (Section 5.5). The log of a product of positive numbers is the sum of their logs., applied twice (Section 5.4). Basics: exponentials and logarithmsDifferentiate both sides
Each term is the log of a function of , so by the chain rule
Outer function , inner function (or , , ): .Theorem 5 and the chain rule (Theorem 4, Section 5.3.1). Lesson: logarithmic differentiationMultiply by
In the first term ; in the second ; in the third . This is the same formula as Part (i), Step 3.Logarithmic differentiation, (Section 5.5). Lesson: logarithmic differentiationWhen some of are negative, or zero
Negative but non-zero. Replace each negative factor by , which is positive. Then and
Since , each term still differentiates to , so Part (ii), Steps 2 and 3 go through unchanged.
Zero. At a point where one of , , is , and no logarithm exists, so the log method says nothing there. The formula is still true at such points by Part (i), which never divided by , or .
This is why Part (i) is the real proof for all points, while Part (ii) is a quick derivation wherever the three functions are non-zero. Both give the same formula.Chain rule; positivity requirement (Section 5.5). Basics: derivative rules
Part (i) proves it wherever , , are differentiable; Part (ii) gives the same formula wherever, in addition, none of them is zero.
Take , , at , so , , :
- ,
- ,
- .
Sum: . The central difference of at with step gives .
- Writing . The derivative of a product is a sum of three terms, each with exactly one factor differentiated.
- Losing a term when expanding .
- Taking logs without the condition. The log method needs (positive, or made positive with ).
- For a product of factors, the derivative is the sum of terms; in each, one factor is differentiated and the rest are kept.
- Logarithmic differentiation gives this at once: .
- Repeated product rule needs no condition beyond differentiability; the log method needs non-zero factors.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| Product (Leibnitz) rule | Part (i), Steps 1, 2 | Algebra of derivatives, Section 5.3 |
| Associative and distributive laws | Part (i), Steps 1, 3 | Arithmetic of real numbers |
| Part (ii), Step 1 | Section 5.4 | |
| ; chain rule | Part (ii), Steps 2, 4 | Theorem 5, Section 5.4; Theorem 4, Section 5.3.1 |
| Logarithmic differentiation (positive quantities) | Part (ii) | Section 5.5 (Lesson: logarithmic differentiation) |
Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →