Exercise 5.5 · Q10: Differentiate
Differentiate the following function w.r.t. :
Let , where and . Then .
Taking log on both sides of ,
Differentiating both sides w.r.t. ,
By the quotient rule,
Hence, for , ,
Want the reason behind every step, the basics and the checks?
The function is a sum of two different kinds of term. The first, , has a variable base and a variable exponent, so it needs logarithmic differentiation. The second is an ordinary quotient. Logarithms do not split sums, so we never take the log of the whole function: we differentiate each term on its own and add.
- Given
- .
- To find
- , and where the formula holds.
- Plan
- (1) Find where is defined and split it as . (2) Take logs of only. (3) Differentiate . (4) Get . (5) Find by the quotient rule. (6) Add.
Basics you need
If , then , so . The book stresses that the function and its base must be positive, "as otherwise their logarithms are not defined" (Section 5.5). Basics: exponentials and logarithms
and where (Section 5.3). Basics: derivative rules
(Table 5.3), (Theorem 5), . Basics: derivative rules
Solution
Where is the function defined? Split it into two terms
Put
so . The power has the variable exponent , so its base must be positive: . The fraction needs , that is and . Together:
On this set . By the sum rule, .
A power such as with a non-integer, varying exponent is only defined (in this chapter) for a positive base; Section 5.5 says "must always be positive". We split the sum because cannot be broken into simpler pieces: the log laws handle products, quotients and powers, never sums.Sum rule (Section 5.3); positivity requirement (Section 5.5). Lesson: logarithmic differentiationTake logarithms of
For , , and the law gives
The log brings the awkward exponent down as an ordinary factor. The right side is now a product of three familiar functions, , and , which the product rule can handle.(Section 5.4). Basics: exponentials and logarithmsDifferentiate both sides
Left side: by the chain rule (outer , inner ), .
Right side: treat it as . First, by the product rule,
Then, by the product rule again,
So
A product of three factors is handled by grouping two of them. In the last line, (allowed because ), and the two terms are collected as , which is the form the book's answer uses.Multiply by
The left side of Step 3 was ; multiplying by isolates . This holds for every .Logarithmic differentiation: . Lesson: logarithmic differentiationDifferentiate by the quotient rule
Numerator has derivative ; denominator has derivative . For :
A quick second route: , so , the same.
No logs are needed for : it is a quotient of polynomials. Taking out the common factor makes the cancellation easy to see. The second route rewrites as and uses the chain rule on .Quotient rule, valid where the denominator is not zero (Section 5.3). Basics: derivative rulesAdd the two derivatives
for , .
This is the sum rule from Step 1 with Steps 4 and 5 put in. The condition combines (needed for ) with (needed for ); is already excluded by .Sum rule (Section 5.3). Basics: derivative rules
For , :
(Textbook answer: the same expression.)
At : , , .
- .
- Bracket: and , so the bracket is .
- .
- .
Total: . The central difference gives , the same to 7 decimal places.
- Taking the log of the whole sum, as if . It is not; differentiate the terms separately.
- Using the power rule on , getting . The exponent varies, so the power rule does not apply.
- Missing a factor in the product : all three factors must be differentiated in turn.
- Forgetting to multiply back by at the end of the log step.
- Not stating the domain: the formula needs and .
- For a sum, split first; use logs only on the terms that need them.
- For : here .
- The domain of the answer is the intersection of the domains of the terms.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| Sum, product and quotient rules | Steps 1, 3, 5, 6 | Algebra of derivatives, Section 5.3 |
| Bases of variable powers must be positive | Step 1 | Section 5.5 (Lesson: logarithmic differentiation) |
| Step 2 | Section 5.4 | |
| Step 3 | Theorem 5, Section 5.4 | |
| Chain rule | Steps 3, 5 | Theorem 4, Section 5.3.1 |
| ; | Steps 3, 5 | Table 5.3, Section 5.3 |
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 →