Exercise 5.5 · Q4: Differentiate ,
Differentiate the function w.r.t. :
Let and , so , where .
Taking log on both sides of , . Differentiating w.r.t. ,
Taking log on both sides of , . Differentiating w.r.t. ,
.
Want the reason behind every step, the basics and the checks?
The function is a difference of two terms, and the logarithm of a difference does not split into anything simpler (and the difference can be negative). So we do not take the log of the whole function. Instead we use the difference rule, , and find each derivative separately by logarithmic differentiation: has a variable base and exponent; has a constant base and a variable exponent.
- Given
- .
- To find
- , and where it holds.
- Plan
- (1) Find the domain. (2) Write . (3) Find by taking . (4) Find by taking . (5) Subtract.
Basics you need
For , and (Example 25, Section 5.4). Basics: exponentials and logarithms
and (Section 5.3). Basics: derivative rules
Solution
Domain:
Let . The term has a variable exponent, so its base must be positive: . The term has the positive base , so it is defined for every real . Together, the function is defined for .
itself can be negative: at , . So we could not take here even if it helped, and it would not help, because has no rule for splitting. This is why each term is handled on its own.Split with the difference rule
Put and , so and
The derivative of a difference is the difference of the derivatives (rule (1) of the algebra of derivatives). Now each piece is a single power, and a single positive power is exactly what logarithmic differentiation handles. Both and are positive for .(Section 5.3). Basics: derivative rules: take logs and differentiate
For , and . Differentiate; the right side is a product ( times ):
So
Neither standard rule fits : the power rule needs a fixed exponent and the rule needs a fixed base. Taking logs turns the power into the product , and the product rule finishes it.Product rule; (Theorem 5). Lesson: logarithmic differentiation: take logs and differentiate
and , where is a constant. Differentiate:
so
The same result comes from Example 28 () with the chain rule, outer , inner whose derivative is . The factor is a constant (about ), not something to differentiate.Subtract
For ,
Step 2 says the answer is ; Steps 3 and 4 supplied them. This is exactly the textbook's answer.Difference rule (Section 5.3). Basics: derivative rules
For ,
(Textbook answer: ; the key does not state .)
At : , and . So . The central difference quotient with gives .
At the formula gives and the difference quotient .
- Taking of the whole function and writing as . The log of a difference is not the difference of the logs.
- (power rule) or (exponential rule). Each misses one part; the correct is their sum.
- Forgetting the chain-rule factor in .
- For sums and differences, split first and log-differentiate each power separately.
- for : worth remembering.
- for a positive constant .
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| Positive base for logarithmic differentiation | Steps 1, 3, 4 | Section 5.5 (Lesson: logarithmic differentiation) |
| for | Step 1 | Example 25 |
| Sum, difference and product rules | Steps 2, 3, 5 | Algebra of derivatives (1), (2), Section 5.3 |
| Steps 3, 4 | Section 5.4 | |
| ; chain rule | Steps 3, 4 | Theorem 5, Section 5.4; Theorem 4, Section 5.3.1 |
| Step 4 | Table 5.3 | |
| Step 4 | Example 28 |
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 →