Exercise 5.5 · Q11: Differentiate
Differentiate the following function w.r.t. :
Let , where and . Then .
Taking log on both sides of ,
Differentiating both sides w.r.t. ,
Taking log on both sides of ,
Differentiating both sides w.r.t. ,
Hence, for , ,
Want the reason behind every step, the basics and the checks?
Both terms are powers whose base and exponent both vary, so each needs logarithmic differentiation. They are added, and logs do not split sums, so we treat the two terms separately and add the results. The logs need positive bases, so we first find exactly where and .
- Given
- .
- To find
- , and where the formula holds.
- Plan
- (1) Find where both bases are positive; split . (2) Differentiate by logs. (3) Differentiate by logs. (4) Add.
Basics you need
For : . Bases of powers with variable exponents must be positive (Section 5.5). Basics: exponentials and logarithms
For : (Theorem 5 with the chain rule). This needs only , even if is a product of two negative factors. Basics: derivative rules
and are both positive in the first quadrant and both negative in the third quadrant (and the same after adding any multiple of ). Basics: trigonometric identities
Solution
Where are both bases positive?
We need and (and for the exponent ).
- If : we need and , so is in a first-quadrant interval ,
- If : we need and , so is in a third-quadrant interval. The negative ones are
; for this is .
On these intervals both terms are defined and positive. Put
so and .
A product of two numbers is positive exactly when they have the same sign. For both and must be positive; for both must be negative. For example lies in , where and are both negative, so and . The book does not state the domain; the formula below holds on all of these intervals.for
Take logs: . We need the derivative of . With and (product rule):
Now the product rule on :
Multiply by :
We keep as the log of one positive quantity. Writing it as would be wrong on the negative intervals, where and are both negative and neither has a logarithm. Dividing term by term, and (both allowed, since and here).for
Take logs: . With , :
Product rule on , using :
Multiply by :
The exponent comes down as a factor. To combine the three terms over the common denominator : and . Here , so is defined.Add the two derivatives
valid on every interval of Step 1.
Sum rule. Each part was derived using only and , so the result holds wherever the function itself is defined.Sum rule (Section 5.3). Basics: derivative rules
Wherever and (for example on and on ):
(Textbook answer: the same expression, without the domain.)
At : , , , .
- , bracket , so .
- , bracket , so .
Total ; the central difference with step gives .
At (in ): the formula gives , and the central difference also gives . So the formula is right on the negative intervals too.
- Logging the whole sum. does not split; differentiate the terms separately.
- Splitting into when : neither log exists there. Differentiate directly as .
- Forgetting the derivative of the exponent , which is , not .
- Sign slip in .
- Assuming the domain is all . Both bases must be positive, which fails for most .
- Sum of powers: one logarithmic differentiation per term.
- needs only ; do not split a product of negatives.
- Always find where the bases are positive; the answer holds there.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| Bases must be positive for logarithmic differentiation | Step 1 | Section 5.5 (Lesson: logarithmic differentiation) |
| Signs of , by quadrant | Step 1 | Trigonometric functions (Class XI) |
| Steps 2, 3 | Section 5.4 | |
| ; chain rule | Steps 2, 3 | Theorem 5, Section 5.4; Theorem 4, Section 5.3.1 |
| Sum and product rules | Steps 1–4 | Algebra of derivatives, Section 5.3 |
| , , | Steps 2, 3 | 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 →