Exercise 5.5 · Q17: Differentiate three ways
Differentiate in three ways mentioned below:
(i) by using product rule
(ii) by expanding the product to obtain a single polynomial.
(iii) by logarithmic differentiation.
Do they all give the same answer?
Let .
(i) By the product rule,
(ii) Expanding the product,
(iii) Taking log on both sides,
Differentiating both sides w.r.t. ,
Multiplying both sides by and cancelling,
Expanding as in (i),
Yes, all three methods give the same answer.
Want the reason behind every step, the basics and the checks?
The derivative of a function does not depend on the method used to find it. Three correct methods must therefore give the same polynomial, possibly written differently; multiplying out shows they agree. Logarithmic differentiation, which needs positive quantities, turns out to reproduce the product rule exactly.
- Given
- . Write , .
- To find
- by each of the three methods; whether they agree.
- Plan
- Part (i): , then expand. Part (ii): expand first, then differentiate term by term. Part (iii): find where , are positive, take logs, differentiate, multiply back. Then compare.
Basics you need
(Section 5.3) and (Table 5.3). Basics: derivative rules
For : , and (Sections 5.4, 5.5). Basics: exponentials and logarithms
If and , then for every . Basics: solving for dy/dx
Part (i): by the product rule
Differentiate each factor
Each factor is a polynomial; differentiate term by term with the power rule. Constants ( and ) have derivative .Power rule (Table 5.3); sum rule (Section 5.3). Basics: derivative rulesApply the product rule
The product rule: derivative of the first times the second, plus the first times the derivative of the second. This is already a correct answer; we expand it so that the three methods can be compared.Product (Leibnitz) rule (Section 5.3). Basics: derivative rulesExpand the two products
Multiply every term of the first bracket by every term of the second, then collect like powers: and .Distributive law; collecting like terms. Basics: solving for dy/dxAdd
Add the coefficients of each power of separately.Collecting like terms. Basics: solving for dy/dx
Part (ii): by expanding first
Multiply out the product
Multiply by each term of :
Adding the three rows:
Writing one row per term of keeps the bookkeeping safe. Collect: : ; : ; : .Distributive law. Basics: solving for dy/dxDifferentiate term by term
Each term becomes ; the constant disappears.Power rule (Table 5.3); sum rule (Section 5.3). Basics: derivative rules
Part (iii): by logarithmic differentiation
Where are the factors positive?
: and , so for every . Completing the square: .
: its derivative is always positive, so is increasing and has at most one real zero. Since is continuous with and , it has a zero between and (intermediate value property); numerically . So
Logs exist only for positive numbers, so the log method applies directly where , that is for . Part (iii), Step 4 deals with .Sign of a quadratic; positive derivative means increasing, so zero is crossed at most once (Theorem 1, Section 6.3, in the later Chapter 6); intermediate value property: a function continuous on takes every value between and (a standard property of continuous functions, not stated or proved in this chapter). Lesson: logarithmic differentiationTake logs and differentiate (for )
Differentiate, using on each term:
The log of the product of two positive numbers is the sum of their logs. On the left, by the chain rule.(Section 5.4); Theorem 5 and the chain rule. Basics: exponentials and logarithmsMultiply by and simplify
Multiply each fraction by the product: each denominator cancels its own factor, leaving
which is exactly the expression of Part (i), Step 2. Expanding as in Part (i), Steps 3 and 4:
The cancellation is allowed because both factors are non-zero for . Logarithmic differentiation of a product of two factors is the product rule in disguise.Logarithmic differentiation, (Section 5.5). Lesson: logarithmic differentiationThe points
For , . Apply the method to : . Since and , we get the same equation as in Part (iii), Step 2, and so the same answer. At itself, and no logarithm exists; there the answer comes from Part (i) or Part (ii), which hold for every , and it is the same polynomial.
The book's warning that the function must be positive is about the logarithm, not about the derivative. Logging (equivalently ) extends the method wherever .
Do they all give the same answer?
Compare
Part (i), Part (ii) and Part (iii) all give
Yes: all three give the same answer, as they must, since a function has only one derivative. Logarithmic differentiation reaches it by a detour (logs exist only where ), but after simplification it is the product-rule expression, valid for every .
For a product of only two polynomials, expanding (Part (ii)) is quickest; logs pay off for products of many factors or for powers with variable exponents.Uniqueness of the derivative: it is a single limit (Section 5.3). Basics: slope at a point
by all three methods; yes, they give the same answer. (Textbook answer: .)
At : , , , .
- Part (i): .
- Part (ii): .
- Part (iii): and .
At : , and the product rule gives .
- Multiplying the derivatives: .
- Dropping a term when expanding; one row per term of avoids it.
- Sign slips with and : for example .
- Claiming logs work everywhere. They need (after using where ); here at .
- Different correct methods must give the same derivative; comparing them is a strong check.
- For a product, logarithmic differentiation is the product rule in another form.
- Choose the quickest method: expand short products; use logs for long products and variable exponents.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| Sum rule; product (Leibnitz) rule | Part (i); Part (ii), Step 2 | Algebra of derivatives, Section 5.3 |
| Power rule | Parts (i), (ii) | Table 5.3, Section 5.3 |
| Sign of a quadratic with negative discriminant | Part (iii), Step 1 | Quadratic equations (Class XI) |
| Positive derivative means increasing | Part (iii), Step 1 | Theorem 1, Section 6.3, Chapter 6 (a later chapter; not proved in Chapter 5) |
| Intermediate value property | Part (iii), Step 1 | Standard property of continuous functions; not stated or proved in this chapter |
| ; | Part (iii), Steps 2, 4 | Section 5.4; Theorem 5 |
| Logarithmic differentiation (positive quantities) | Part (iii) | Section 5.5 (Lesson: logarithmic differentiation) |
| Chain rule | Part (iii), Steps 2, 4 | 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 →