Exercise 5.7 · Q10: Second derivative of
Find the second order derivatives of the functions given in Exercises 1 to 10.
10.
Let , . By the chain rule,
Differentiating again by the quotient rule,
Want the reason behind every step, the basics and the checks?
Differentiate twice, one rule at a time. The first derivative needs the chain rule (sine of something), and it comes out as a fraction,
The second derivative is then a derivative of a fraction, so it needs the quotient rule, with the chain rule once more for the top.
- Given
- . Here is the natural logarithm, defined only for , so the function lives on .
- To find
- for .
- Plan
- (1) State the domain. (2) First derivative by the chain rule (this is Example 26(ii) of the book). (3) Second derivative by the quotient rule, with the chain rule for . (4) Tidy up and compare with the answer key.
Basics you need
If and , then : derivative of the outer function at the inner one, times the derivative of the inner function (Theorem 4, Section 5.3.1). Lesson: chain rule
wherever (Section 5.3, rule (3)). Basics: derivative rules
: differentiate the first derivative once more. Lesson: second order derivative
Solution
The domain
is defined only for , and accepts every real number. So is defined exactly for , and every derivative below is for .
A derivative can only exist where the function exists. Stating the domain first also tells us that dividing by later is safe, since throughout.The natural logarithm is defined on (Section 5.4). Basics: exponentials and logarithmsFirst derivative by the chain rule
Outer function , inner function . Then and , so
is a composite: first take the log, then the sine. The chain rule differentiates the outer layer (sine becomes cosine, with the inside left alone) and multiplies by the derivative of the inner layer. The book works exactly this out in Example 26(ii).(Table 5.3); Basics 1 and 2. Lesson: chain ruleSet up the quotient rule
Write with
Their derivatives: by the chain rule (outer , inner ),
and .
The first derivative is a fraction whose top and bottom both depend on , so the quotient rule is the natural tool. Working out and separately first keeps the next line clean and makes sign errors easy to spot.(Table 5.3). Basics: derivative rulesSecond derivative
Quotient rule, . First the numerator:
Dividing by :
This holds for every (the denominator is never zero there).
In the factor cancels against , which is allowed because . Then the two terms on top both carry a minus sign, so we take out as a common factor. This is exactly the form in the answer key.Quotient rule, Section 5.3, rule (3). Basics: derivative rulesAnother route, as a check: the product rule
Write , a product. Using :
the same as Step 4.
Getting the same answer by a second rule is a cheap and reliable check on signs. Either route is fine in an exam.Product rule, Section 5.3, rule (2); (Table 5.3).
For ,
(Textbook answer: , the same.)
Take . Then , and , so
From values of alone, with , the second difference is about , matching.
- Forgetting the inner derivative. is , not just . The same factor appears again when differentiating .
- Sign of 's derivative. . Losing this minus gives , which is wrong.
- Treating in the denominator as a constant. has on top and bottom, so it needs the quotient (or product) rule.
- Leaving out the domain. The answer is only meaningful for .
- For a second derivative, first get a clean first derivative, then decide which rule its shape needs (here a quotient).
- Every time sits inside another function, the chain rule brings out a factor .
- Functions of lead to second derivatives with underneath; that is why Question 13 multiplies by and .
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| is defined for ; | Steps 1, 2, 3 | Section 5.4, Theorem 5 (Lesson: exponential and logarithmic functions) |
| , , | Steps 2, 3, 5 | Table 5.3, Section 5.3 |
| Chain rule; | Steps 2, 3 | Theorem 4, Section 5.3.1; Example 26(ii) (Lesson: chain rule) |
| Product and quotient rules | Steps 4, 5 | Section 5.3, rules (2) and (3) (Basics: derivative rules) |
| Steps 4, 5 | Section 5.7 (Lesson: second order derivative) |
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 →