Exercise 5.2 · Q4: Differentiate
Differentiate the function with respect to :
Let . Put and , so .
By the chain rule,
(for in the domain).
Want the reason behind every step, the basics and the checks?
Three functions are stacked: square root, then tangent, then secant. The chain rule extends to any number of links: the overall rate is the product of the rates of all the links, each one evaluated at the value coming into it. So we name every link, differentiate each one, and multiply the three results.
- Given
- .
- To find
- , and where the formula is valid.
- Plan
- Put , , . Find , and (deriving from the quotient rule), multiply, and substitute back.
Basics you need
If depends on , on , and on , then . The textbook states this extension right after Theorem 4 in Section 5.3.1. Lesson: the chain rule
, so for . At this has a zero denominator: the graph of starts with a vertical tangent there. Basics: derivative rules
and , both defined only where . Also (Table 5.3). Basics: trigonometric identities
wherever (rule (3), Section 5.3). We use it to find the derivative of , which is not in Table 5.3. Basics: derivative rules
Solution
Where is the function defined?
Working from the inside out:
- needs .
- needs , that is not an odd multiple of .
- needs , that is not an odd multiple of .
For example, the function is defined on ; the first excluded point is where , that is , .
A derivative can only exist where the function itself is defined. Listing the conditions now tells us where the final formula is meaningful, and the same conditions will reappear as "denominator " conditions in the derivative.and are undefined exactly where cosine is zero, at odd multiples of . Basics: trigonometric identitiesName the three links
Three machines in a row. The overall rate of change of with is the product of the three link rates, each evaluated at the value entering that link. On a calculator you would press first, then tan, then sec (that is, ). The order in which the functions are applied gives the order of the links, innermost first.Composite of three functions. Basics: composite functionsDerive with the quotient rule
Write , with numerator () and denominator (). Where :
So .
Table 5.3 lists only , , and . Every other trigonometric derivative follows from these by the quotient rule, so we derive the one we need instead of quoting it from memory. Splitting into two factors shows the familiar form .Quotient rule (3), Section 5.3, valid where the denominator . Basics: derivative rulesThe other two link rates
The first holds wherever ; the second needs .
is in Table 5.3. For the square root, the power rule with gives , and . At this is not a real number, so is not differentiable at and the chain rule cannot be applied there.Multiply the three rates and substitute back
Now put back and :
Each rate is evaluated at the value entering its link: the secant link sees , so its rate is ; the tangent link sees , so its rate is . That is why appears applied twice in the answer.Chain rule for three functions, Section 5.3.1 (after Theorem 4). Lesson: the chain ruleState where the formula holds
The formula is valid at every at which the function is defined (Step 1). At those points every link is differentiable, and every denominator in the answer is non-zero: , , .
At the chain rule cannot be used, because the first link has no derivative there. (Going deeper: the function still has a right-hand derivative at , equal to , because near we have and the formula tends to . Proving that needs a separate limit argument, and the textbook's answer, like ours, is meant for .)
For in the domain of the function,
(Textbook answer: the same expression, printed as over .)
Take . Then and . The four factors are
and their product is about . A difference quotient of with on each side of gives . They agree.
- Stopping after two links. Writing forgets the innermost rate .
- Evaluating a rate at the wrong value. The secant link's rate is with , not or .
- Misremembering . It is , not (that is the derivative of ). Deriving it from settles any doubt.
- Ignoring . The formula has in the denominator, so it says nothing at .
- For a chain of any length, differentiate from the outside in, keeping each inner expression unchanged inside its outer derivative, and multiply all the factors.
- and (for ) are worth knowing by heart, but both follow in one line from the basic rules.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| , defined where | Step 1 | Definitions of sec and tan (Class XI) |
| Quotient rule | Step 3 | Rule (3), Section 5.3 |
| , , | Steps 3, 4 | Table 5.3, Section 5.3 |
| Chain rule for three functions | Step 5 | Section 5.3.1, extension after Theorem 4 (Lesson: the chain rule) |
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 →