Exercise 5.5 · Q5: Differentiate
Differentiate the function w.r.t. :
Let . Taking log on both sides (where ),
Differentiating both sides w.r.t. ,
Multiplying by ,
Expanding the bracket, .
Want the reason behind every step, the basics and the checks?
Logarithms turn a product of powers into a sum of multiples: equals . Each term differentiates in one line. Multiplying back by and taking out the common factors gives a compact answer. The absolute values are needed because is negative for some ; and since is a polynomial, the final answer turns out to hold for every , including the zeros where the log method itself cannot be used.
- Given
- , a polynomial.
- To find
- in factored form.
- Plan
- (1) Where is ? (2) Take . (3) Differentiate. (4) Multiply by and factor. (5) Expand the remaining bracket. (6) Confirm with the product rule, which also covers .
Basics you need
and for (Section 5.4). With : for . Basics: exponentials and logarithms
(the product rule used twice, Section 5.3); (Table 5.3 with the chain rule). Basics: derivative rules
Solution
Where is non-zero, and what sign does it have?
exactly at . Elsewhere , but it is not always positive: and are never negative, while has the sign of . So for (except ) and for (except ). For example, at :
The book's method takes , which needs . Since is negative on part of the line, we take , which exists wherever , that is, for .An even power is never negative; an odd power keeps the sign of its base. Basics: functionsTake
For :
because the absolute value of a product of powers is the product of the powers of the absolute values. All three are positive here, so the product law and the power law apply. The exponents come down as multipliers.Differentiate both sides
Left: . Right: (Basic 2). So
Each inner function has derivative , so each log term gives times its multiplier. The sum on the right is the "relative rate of change" of .Multiply by and take out common factors
Multiplying each fraction by cancels one factor:
Every term contains . Taking it out:
For instance : one power of cancels. The common factor uses the lowest power of each bracket that appears in all three terms: , , .Factorising out a common factor. Basics: solving for dy/dxExpand the bracket
Adding: . Therefore
, , . Collecting: terms ; terms ; constants . This is the textbook's answer.Multiplying out brackets and collecting like terms. Basics: solving for dy/dxThe answer holds at too
The log method needed . But the first display of Step 4 is exactly what the product rule gives directly, with , , , , , :
The product rule has no sign or non-zero condition, so the factored answer of Step 5 is valid for every real .
For a product of powers, logarithmic differentiation is a quick way to organise the product rule, and the result can then be checked to hold everywhere. For example, at the answer gives : the graph touches the -axis there, because of the squared factor .Product rule used twice; chain rule for . Basics: derivative rules
For every real ,
(Textbook answer: , the same.)
At : , and Step 3 gives , so . The factored answer gives . The central difference quotient with gives (to two decimals).
At , where : , so ; the factored answer gives . The route is right where is negative.
- Forgetting the exponents as multipliers: , giving , not .
- Factoring out the wrong powers. Take the lowest power of each bracket present in all terms: .
- Arithmetic in the bracket: check at one value, e.g. : .
- Claiming the answer fails at . Only the log method does; the result itself holds everywhere (Step 6).
- For : .
- Use when can be negative; the derivative formula is unchanged.
- Factor the answer by the lowest common powers; then expand only the small bracket left over.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| Logarithmic differentiation needs a positive function | Step 1 | Section 5.5 (Lesson: logarithmic differentiation) |
| , | Step 2 | Section 5.4 |
| , | Step 3 | Basic 2 (from Theorem 4, Section 5.3.1, and Theorem 5, Section 5.4) |
| Product rule; | Step 6 | Algebra of derivatives (2), Section 5.3; Table 5.3 |
| Chain rule | Steps 3, 6 | Theorem 4, Section 5.3.1 |
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 →