Exercise 5.5 · Q6: Differentiate
Differentiate the function w.r.t. :
Let and , so , where .
Taking log on both sides, . Differentiating w.r.t. ,
Also . Differentiating w.r.t. ,
Want the reason behind every step, the basics and the checks?
Each term is a power whose base and exponent both vary with . The function is a sum, and the log of a sum does not split, so we differentiate the two terms separately (sum rule) and use logarithmic differentiation on each. Both bases must be positive, which forces .
- Given
- , with and .
- To find
- , and where it holds.
- Plan
- (1) Domain: both bases positive. (2) via . (3) via . (4) Add.
Basics you need
For , and (Example 25, Section 5.4). Basics: exponentials and logarithms
, (Section 5.3). Basics: derivative rules
Solution
Domain:
The second term has a variable exponent, so its base must be positive. For the first base is positive too:
So both terms are defined and positive for , and that is where we work.
For both bases are negative (), and a negative base with a non-integer exponent is in general not a real number: at the first term is , which is not real. is excluded because is undefined. Logarithmic differentiation needs each base positive (Section 5.5), which is exactly .Split with the sum rule
, so .
We cannot simplify , so we do not take the log of . Each of and is a single positive power, which is exactly what logarithmic differentiation handles.(Section 5.3). Basics: derivative rules: take logs and differentiate
. The right side is a product of and . The second factor needs the chain rule, inner , :
Product rule: differentiate (giving ) keeping the log, then differentiate the log (giving ) keeping .Product rule; (Theorems 4 and 5). Lesson: logarithmic differentiationSimplify the fraction and finish
Write and . Dividing, the cancels:
So
Clearing the small fractions puts the term in the textbook's form. Multiplying by (positive) isolates .Simplifying a compound fraction by writing both parts over . Basics: solving for dy/dx: take logs and differentiate
, again a product. With and :
So
; putting everything over collects the bracket.Product rule; power rule (Table 5.3). Basics: derivative rulesAdd the two derivatives
For ,
This is from Steps 4 and 5, and it is exactly the textbook's answer.Sum rule (Section 5.3). Basics: derivative rules
For ,
(Textbook answer: the same expression; the key does not state .)
At : , , so ; and . Total ; the central difference quotient with gives .
At : , bracket ; , bracket . Total ; the difference quotient gives .
- Taking of the sum as if .
- Chain rule slip in : its derivative is , not .
- : the sign is wrong; it is .
- No domain: both bases must be positive, so .
- Sum of variable powers: split with the sum rule, log-differentiate each term.
- For with : .
- Tidy compound fractions by writing each part over a common denominator.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| Positive bases for logarithmic differentiation | Step 1 | Section 5.5 (Lesson: logarithmic differentiation) |
| for | Step 1 | Example 25 |
| Sum rule, product rule | Steps 2, 3, 5, 6 | Algebra of derivatives (1), (2), Section 5.3 |
| Steps 3, 5 | Section 5.4 | |
| ; chain rule | Steps 3, 5 | Theorem 5, Section 5.4; Theorem 4, Section 5.3.1 |
| (here ) | Steps 3, 5 | Table 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 →