Exercise 5.4 · Q5: Differentiate
Differentiate the following w.r.t. :
Let . By the chain rule,
(where ).
The answer key gives the condition , , which is weaker than the true domain .
Want the reason behind every step, the basics and the checks?
Three functions are applied in turn: , then cosine, then logarithm. The chain rule for three links gives the derivative as a product of three rates, and it simplifies to . The real care is the domain: a logarithm needs a positive input, so we may only use for which , and that rules out whole intervals, not just isolated points.
- Given
- , with the natural logarithm (base ), as everywhere in this chapter.
- To find
- , and the exact set of where it is valid.
- Plan
- (1) Find the domain: solve . (2) Name the links , , and differentiate each. (3) Multiply and simplify. (4) Compare with the answer key's condition.
Basics you need
is defined only for (Section 5.4: "we cannot make a meaningful definition of logarithm of non-positive numbers"). Basics: exponentials and logarithms
for all , and for . Lesson: exponential and logarithmic functions
exactly when lies in one of the intervals , . Its zeros are the odd multiples of . Basics: trigonometric identities
(Section 5.3.1). Basics: composite functions
Solution
Where is the function defined?
and accept every real number, so the only condition comes from the logarithm:
Put . As runs over , runs over all positive numbers. The positive with are
Taking logarithms (which keeps inequalities, because is increasing), the domain of is
Numerically: , or , or , and so on. For example is in the domain (), but is not: , and of a negative number is not defined.
Solving for first is easier than solving for directly. The first interval for is , not , because is never or negative. Then converts each -interval into an -interval; corresponds to .Domain of is ; is increasing (Section 5.4, observations (1) and (4)). Basics: exponentials and logarithmsThe graph of . Where it is positive (solid blue) exists; where it is negative (dashed) it does not. The green bars mark the domain of ; the open dots are at , , and , where . Name the three links and differentiate each
, , .
The links are in calculation order: exponentiate, take the cosine, take the log. The first and last derivatives are Theorem 5; the middle one is in Table 5.3. On the domain found in Step 1, , so the logarithm link is differentiable there.Theorem 5, Section 5.4; Table 5.3. Basics: derivative rulesMultiply and simplify
This holds at every in the domain of Step 1: there , so is defined.
Each rate is evaluated at the value entering its link: the log link sees , the cosine link sees . Then tidies the answer.Chain rule for three functions, Section 5.3.1; . Lesson: the chain ruleCompare with the condition in the answer key
The answer key prints with the condition , . That condition only removes the points where (where is undefined). It does not ensure : at , is not an odd multiple of , yet and is not defined. Also, leaves out , the point . The correct set is the domain of Step 1.
Going deeper: with included, the key's condition describes exactly where is defined, and the derivative of is also (where , , and the chain rule gives ). So the formula is the derivative of at every such point; for itself, only the points with count.A derivative exists only where the function does. Lesson: exponential and logarithmic functions
valid exactly where : , or with . (Textbook answer: , with , . The formula is the same; the key's condition is weaker than the true domain, as Step 4 explains.)
Take , which is in the domain: and . The formula gives . A difference quotient of with on each side of gives . They agree.
- Stopping at . The derivative of of something is times the derivative of the something.
- Dropping the last link. forgets the factor from differentiating .
- Only excluding the zeros of . The logarithm also needs to be positive, which removes whole intervals of .
- wherever .
- For a logarithm of a function, find where that function is positive, not merely non-zero.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| is defined on and is increasing | Step 1 | Observations (1) and (4) on the log function, Section 5.4 |
| takes every positive value | Step 1 | Feature (2) of exponential functions, Section 5.4 |
| on | Step 1 | Signs of cosine (Class XI trigonometry) |
| , | Step 2 | Theorem 5, Section 5.4 (Lesson: exponential and logarithmic functions) |
| Step 2 | Table 5.3, Section 5.3 | |
| Chain rule for three functions | Step 3 | Extension after 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 →