Exercise 5.2 · Q7: Differentiate
Differentiate the function with respect to :
Let , where . Put and , so .
By the chain rule,
(where ).
The answer key prints . It agrees with this answer wherever , which includes . Where , for example , the printed form has the opposite sign.
Want the reason behind every step, the basics and the checks?
Three operations are stacked: square , take the cotangent, take the square root (then double). The chain rule multiplies the rates of the three links. The only new ingredient is the derivative of , which we derive from the quotient rule. Converting the answer to the textbook's form needs care with a square root of a square, and shows that the printed form is correct only where .
- Given
- .
- To find
- , and where the formula is valid.
- Plan
- Find where is defined and differentiable. Put , , . Find the three rates, multiply, substitute back. Then rewrite the result in the textbook's form and check when the two forms agree.
Basics you need
, each rate evaluated at the value entering its link (Section 5.3.1). Lesson: the chain rule
, valid only for (power rule with ). Basics: derivative rules
where (rule (3), Section 5.3). Used to find . Basics: derivative rules
, , , . Also , not . Basics: trigonometric identities
Solution
Where is the function defined and differentiable?
- needs , so is not a multiple of ; in particular .
- The square root needs , and its derivative needs .
Since , the condition means
The first such piece is , that is . We work at points of this kind.
Cotangent is positive exactly when sine and cosine have the same sign: in the first quarter-turn and in , and every after that. Where the function is still defined, but the square-root link has no derivative there (its graph meets the axis vertically), so the chain rule cannot be applied.Name the three links
On a calculator you would square first, then take the cotangent, then the square root, then double. The innermost operation is the first link. The constant factor simply stays in front.Composite of three functions. Basics: composite functionsDerive with the quotient rule
Write : numerator , ; denominator , . Where :
Table 5.3 gives only , , and . Writing cotangent as a quotient of sine and cosine lets the quotient rule produce its derivative, and the identity collapses the numerator to .The other two link rates
, so the power rule gives ; the factor in front of the root cancels the . This needs , which Step 1 arranged.Multiply the three rates and substitute back
Each rate is evaluated at the value entering its link: the root sees , the cotangent sees . This is already a complete answer, valid wherever .Chain rule for three functions, Section 5.3.1. Lesson: the chain ruleRewrite in the textbook's form, carefully
Write and . On our domain , so and have the same sign and . Since ,
Also , so . Therefore
and the derivative becomes
Where (for instance on the first piece ) we have , and this is exactly the textbook's answer .
The step that needs care is . If we wrote we would get the textbook's form everywhere, but on the pieces with odd (such as ) the sine is negative, and the printed form then has the wrong sign. The numbers in the check below show this.
Wherever ,
(Textbook answer: . It agrees with ours wherever , which includes the first piece of the domain. Where , for example , the printed form has the opposite sign; the form with , or our first form, is correct there.)
At (): , , . Our formula gives , about . The textbook's form gives . A difference quotient with gives . All three agree.
At (so , , ): our formula gives , the difference quotient gives , but the textbook's form gives . The function is decreasing there (as runs from to , falls from very large values to ), so the derivative must be negative.
- Getting wrong. It is , with a minus sign; deriving it from settles any doubt.
- Forgetting the innermost rate . The cotangent sees , so its rate must be multiplied by .
- Writing . The correct value is ; dropping the modulus changes the sign of the answer wherever .
- Ignoring the domain. The formula needs ; at the function is not even defined.
- , and every derivative of , , follows from Table 5.3 with the quotient rule.
- When moving factors in and out of a square root, . An answer that silently uses is only right where .
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| Signs of , , by quadrant | Step 1 | Class XI, Trigonometric Functions |
| Quotient rule | Step 3 | Rule (3), Section 5.3 |
| , , | Steps 3, 4 | Table 5.3, Section 5.3 |
| , | Steps 3, 6 | Class XI, Trigonometric Functions |
| Chain rule for three functions | Step 5 | Section 5.3.1, extension after Theorem 4 (Lesson: the chain rule) |
| Step 6 | Definition of the square root (Class IX/X algebra) |
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 →