Exercise 5.4 · Q6: Differentiate
Differentiate the following w.r.t. :
Let . By the chain rule, . So
Want the reason behind every step, the basics and the checks?
The function is a sum of five terms that all have the same shape, with . The sum rule lets us differentiate term by term, and one chain-rule calculation for a general handles all five terms at once: .
- Given
- (the dots stand for the two missing terms and ).
- To find
- , and where it is valid.
- Plan
- (1) Domain. (2) Sum rule: differentiate each term. (3) Chain rule for the general term . (4) Apply it for and add.
Basics you need
(rule (1), Section 5.3); applied repeatedly, it works for any finite number of terms. Basics: derivative rules
(Section 5.4) and (Table 5.3). Basics: exponentials and logarithms
If and , then (Theorem 4). Basics: composite functions
Solution
Where is the function defined?
Each power is defined for every real , and is defined for every real . So every term, and hence , is defined (and, as we will see, differentiable) for all .
No division, root or logarithm appears, so nothing has to be excluded. The dots follow the pattern set by the first two terms and the last one: the power of in the exponent goes up by one each time, from to .Domain of the exponential function is (Section 5.4). Basics: exponentials and logarithmsUse the sum rule
The derivative of a sum is the sum of the derivatives, provided each term is differentiable (Step 3 shows they are). This splits one big problem into five small ones of the same type.Sum rule, rule (1) of Section 5.3. Basics: derivative rulesOne chain-rule calculation for the general term
Fix a positive integer . Inner: . Outer: . Then
This holds for every real .
The exponential copies itself (Theorem 5), evaluated at the inner value ; the chain rule then multiplies by the inner derivative (power rule). Doing it once for a general saves repeating the same argument five times. For it gives , as it should.Chain rule, Theorem 4, Section 5.3.1; Theorem 5 (1), Section 5.4. Lesson: the chain ruleApply it for and add
term derivative 1 2 3 4 5 Adding the five derivatives is exactly what the sum rule of Step 2 asked for. Writing them in a table keeps the coefficient and the power lined up with the right term.Sum rule, Section 5.3. Basics: derivative rules
valid for every real . In short, . (Textbook answer: . The same.)
Take (at every factor equals , which would hide a mistake in the powers). The five terms of the derivative are about
A difference quotient of with on each side of gives . They agree.
- Copying the terms unchanged. Only is its own derivative; has derivative , not .
- Dropping the power of . , not .
- Changing the exponent. The exponential keeps its exponent ; it is not lowered to .
- When many terms share one shape, differentiate the general term once and then substitute.
- : copy the exponential, multiply by the derivative of its exponent.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| Exponential function has domain | Step 1 | Feature (1) of exponential functions, Section 5.4 |
| Sum rule | Steps 2, 4 | Rule (1), Section 5.3 |
| Step 3 | Theorem 5 (1), Section 5.4 (Lesson: exponential and logarithmic functions) | |
| Step 3 | Table 5.3, Section 5.3 | |
| Chain rule | Step 3 | 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 →