MATH 203 Calculus I • Concordia University, Montreal
Corrected exercises: the chain rule (MATH 203)
This is the corrected exercise set for the chain rule in MATH 203, Differential and Integral Calculus I, at Concordia University, section 3.6 of Thomas' Calculus. The chain rule is the rule that every later chapter of the course leans on: implicit differentiation, the derivatives of logarithms and inverse functions, related rates and optimization are all chain rules in disguise. Each solution names the inside function before differentiating, the sentence that earns the method mark.
The thread running through the whole set: the rule itself is short, and the marks are lost in the ALGEBRA around it. Before differentiating, rewrite roots and reciprocals as powers and compute the new exponent with care; after differentiating, factor each bracket at its LOWEST power, the most negative one, so that the derivative can be set to zero, signed or evaluated. The department runs algebra tutorials for this course for exactly this reason.
The traps named in the solutions: the exponent −3−1 written −2, the reciprocal differentiated as v′1, the innermost factor forgotten because it is only a number, a table read in the row of x instead of the row of g(x), the power rule applied to 2−x, a factorisation taken at the higher power, the product rule skipped in a second derivative, the factor −1 of the inside function −x, a chain rule applied at a corner, and a derivative evaluated at a number of hours instead of a wind speed.
Self-checking setType your answers under each question: the page tells you right or wrong before you open the solution. With an account, every answer right on the first try earns points.
•Chain Rule (Outside-Inside Rule): (f∘g)′(x)=f′(g(x))g′(x), or dxdy=dudy⋅dxdu with u=g(x). Hypotheses: g differentiable at x, f differentiable at g(x).
•Power Chain Rule: dxdun=nun−1u′ for every real n; rewrite first: ukc=cu−k, num=um/n.
•Repeated use: (f(g(h(x))))′=f′(g(h(x)))⋅g′(h(x))⋅h′(x), one factor per layer.
•ax=exlna with lna a constant, so dxdau=aulna⋅u′; laws of exponents first: ax1=a−x, ax=ax/2.
•Factor the lowest power: um with m the smallest exponent present; a term in un keeps un−m.
•Tangent line at a: y=F(a)+F′(a)(x−a); a horizontal tangent is a zero of F′, from the outside factor OR the inside factor.
Part A: the basics (/50)
Exercise 1: Powers of a function: rewrite the exponent, then name u
The Chain Rule (Thomas 3.6): if f(u) is differentiable at u=g(x) and g is differentiable at x, then (f∘g)′(x)=f′(g(x))g′(x). Thomas reads it as the Outside-Inside Rule: differentiate the outside function, evaluate it at the inside function left alone, then multiply by the derivative of the inside. Its most used case is the Power Chain Rule, dxdun=nun−1dxdu, valid for every real exponent n.
In MATH 203 the marks on this exercise are not lost in the rule but in the algebra around it. Before differentiating, REWRITE: a root is a fractional exponent, a constant over a power is a negative exponent. Then compute the new exponent n−1 with care (−3−1=−4, 32−1=−31). Begin every part with the sentence that names the inside function.
a) Differentiate y=(2x2+1)36 and give y′(1).
b) Differentiate y=3(x2−2x)2 and give y′(4). Where is y′ undefined?
c) Differentiate y=(x−x2)3, rewriting the INSIDE as powers of x first, and give y′(4).
d) Differentiate y=sinx4 and give the exact value of y′(6π).
e) A student writes dxd(3x−1)21=2(3x−1)⋅31. Explain the error, give the correct derivative and its value at x=1.
Show the solution
Answers
a)y′=−(2x2+1)472x, y′(1)=−98
b)y′=33x2−2x4(x−1), y′(4)=2; undefined at x=0 and x=2
c)y′=3(x−x2)2(2x1+x22), y′(4)=3281
d)y′=−(sinx)3/22cosx, y′(6π)=−26≈−4.8990
e)dxd(3x−1)−2=−(3x−1)36, which is −43 at x=1
a) Rewrite first: y=6(2x2+1)−3, the 6 staying upstairs. Let u=2x2+1, so y=6u−3, dudy=−18u−4, and u′=4x. By the Power Chain Rule, y′=−18(2x2+1)−4⋅4x=−(2x2+1)472x. The exponent is −3−1=−4: moving TOWARD zero, to −2, is the classic slip with a negative exponent. At x=1: u=3, 34=81, so y′(1)=−8172=−98. The quotient rule gives the same result, but with a chain rule hidden in the derivative of the denominator and a fraction to simplify at the end.
b) The index of the root goes in the denominator of the exponent: 3(x2−2x)2=(x2−2x)2/3. Let u=x2−2x, u′=2x−2. Then y′=32u−1/3u′=3(x2−2x)1/32(2x−2)=33x2−2x4(x−1), since 32−1=−31 and a negative exponent sends the cube root to the denominator. At x=4: u=8, 38=2, so y′(4)=3⋅24⋅3=2. The function is defined everywhere, but y′ is undefined where u=0, at x=0 and x=2: the rewriting u−1/3 is what shows it.
c) Rewrite the inside: u=x1/2−2x−1, so u′=21x−1/2+2x−2=2x1+x22. The minus sign of −2x−1 meets the exponent −1 and becomes a PLUS: that sign is where the marks go. The outside function is the cube: y′=3u2u′=3(x−x2)2(2x1+x22). At x=4: u=2−21=23 and u′=41+81=83, so y′(4)=3⋅49⋅83=3281. Expanding the cube first would produce four terms with half-integer exponents: four chances to lose a sign for no gain.
d) Rewrite: y=4(sinx)−1/2. The outside function is 4u−1/2, of derivative −2u−3/2 (since −21−1=−23); the inside is u=sinx, with u′=cosx. So y′=−2(sinx)−3/2cosx=−(sinx)3/22cosx. At 6π: sin6π=21 and (21)−3/2=23/2=22, a negative exponent flipping the fraction; cos6π=23. So y′(6π)=−2⋅22⋅23=−26≈−4.8990. The calculator confirms the decimal; the exact value is the expected answer.
e) The student took the derivative of v1 to be v′1, which is no rule at all, and then differentiated the square as if it were the function. Rewrite: y=(3x−1)−2, with u=3x−1 and u′=3. Then y′=−2(3x−1)−3⋅3=−(3x−1)36. At x=1: −86=−43, while the student's expression gives 121, a POSITIVE slope. A sign check exposes it: for x>31 the denominator (3x−1)2 grows, so y decreases and its derivative must be negative. A constant over a power is a negative power; rewriting it removes the temptation.
Tick the exercises you have done or want to review: a free account, no password, keeps your ticks from one visit to the next and tells you which chapter to tackle next. Create your space, an email is enough.
Exercise 2: Three and four layers: one factor per layer
When a function is built in several layers, the chain rule is applied once per layer, and the derivative is a PRODUCT with one factor per layer. Thomas calls this repeated use of the Chain Rule: dxdf(g(h(x)))=f′(g(h(x)))⋅g′(h(x))⋅h′(x).
The safe method: list the layers from the outside in BEFORE writing anything, then write one factor per layer, each outside derivative keeping everything inside it untouched, then count the factors against the layers. A calculator helps with the final decimal only if it is in RADIAN mode.
a) Differentiate y=1+x and give y′(9).
b) Differentiate y=1+cos2x1 and give the exact value of y′(3π).
c) Differentiate y=cos(x2+1) and give y′(3) to four decimals.
d) Let h(t)=esin2(πt). List its four layers, find h′(t) and the exact value of h′(41).
e) A student writes dxd(3+sin3x)−2=−2(3+sin3x)−3cos3x. Count the layers, correct the answer and give its value at x=0.
e)Three layers; y′=−(3+sin3x)36cos3x, which is −92 at x=0
a) Layers: the outer square root, then 1+w, then w=x. Factors: 21+x1 for the outer root, 1 for 1+w, and 2x1 for the inner root. So y′=21+x1⋅2x1=4x1+x1. At x=9: 9=3 and 4=2, so y′(9)=4⋅3⋅21=241. The two roots are two different layers, each with its own factor: the frequent error writes 21+x1, merging them.
b) Rewrite: y=(1+cos2x)−1/2. Layers: the power −21, then 1+cosw, then w=2x. Factors: −21(1+cos2x)−3/2, then −sin2x, then 2. The product: y′=−21⋅(−sin2x)⋅2⋅(1+cos2x)−3/2=(1+cos2x)3/2sin2x. Two minus signs meet and cancel, one from the exponent and one from the cosine: losing either one flips every slope. At 3π: sin32π=23 and 1+cos32π=21, with (21)3/2=221, so y′=23⋅22=6. Check by an identity: 1+cos2x=2cos2x, so on (0,2π), y=2cosx1 and y′=2cos2xsinx, which is 2/43/2=6 at 3π as well.
c) Layers: cos, then the square root, then x2+1. Factors: −sinx2+1, then 2x2+11, then 2x. So y′=−x2+1xsinx2+1, the 2 cancelling. At x=3: x2+1=2, so y′(3)=−23sin2≈−0.7875, with sin2 meaning the sine of 2 RADIANS. A calculator left in degree mode gives sin2∘ and the answer −0.0302: every formula of the course assumes radians.
d) Layers, from the outside in: e(⋅), the square, the sine, and πt. Four layers, four factors: h′(t)=esin2(πt)⋅2sin(πt)⋅cos(πt)⋅π. The exponential comes back unchanged, with its whole exponent. At t=41: sin4π=cos4π=22, so sin2=21 and 2sincos=1; hence h′(41)=e1/2⋅1⋅π=πe≈5.1797. The double-angle identity of Thomas 1.3 gives a shorter form, h′(t)=πsin(2πt)esin2(πt).
e) Layers: the power −2, then 3+sinw, then w=3x. Three layers, and the student wrote two factors: the inner 3 is missing. Correct: y′=−2(3+sin3x)−3⋅cos3x⋅3=−(3+sin3x)36cos3x. At x=0: −276=−92, three times the student's −272. The innermost factor is forgotten precisely because it is only a number; counting layers against factors catches it every time.
Exercise 3: The chain rule from a table of values
On a MATH 203 exam and in WeBWorK, the chain rule is often tested on functions known only through a table. The rule is then pure bookkeeping: (f∘g)′(a)=f′(g(a))g′(a). Compute the inside value g(a) FIRST, write it down as a number, and only then go to the row of that number to read f′.
The table gives values of two differentiable functions f and g and of their derivatives. Some of the questions below cannot be answered from it: saying so, with the reason, is the answer.
x
f(x)
f′(x)
g(x)
g′(x)
0
2
−1
1
3
1
4
3
4
−2
2
1
5
0
21
4
3
−2
2
6
a) Let h(x)=f(g(x)). Find h′(0) and h′(2). A student answers h′(0)=−3: what did the student compute?
b) Let k(x)=g(f(x)). Find k′(2).
c) Let P(x)=f(x) and Q(x)=g(x). Find P′(1) and Q′(4).
d) Let R(x)=f(g(f(x))) and S(x)=2g(x). Find R′(0), then the exact value of S′(1).
e) Among (f∘g)′(4), (g∘f)′(4) and (f∘f)′(0), compute those the table allows, and explain why one of them cannot be found.
Show the solution
Answers
a)h′(0)=f′(1)g′(0)=9, h′(2)=f′(0)g′(2)=−21; −3=f′(0)g′(0) is the wrong row.
e)(f∘g)′(4)=30, (f∘f)′(0)=−5; (g∘f)′(4) needs g′(3), not in the table.
a) h′(0)=f′(g(0))⋅g′(0). Read g(0)=1 first, then f′ in the row x=1: f′(1)=3. With g′(0)=3, h′(0)=3⋅3=9. The student's −3 is f′(0)⋅g′(0)=(−1)⋅3: the outside derivative was read at x=0 instead of at g(0)=1. The outside function never sees x, only the value that g hands it. Similarly h′(2)=f′(g(2))⋅g′(2)=f′(0)⋅21=−21, since g(2)=0.
b) k′(2)=g′(f(2))⋅f′(2). First f(2)=1, then g′(1)=−2; with f′(2)=5, k′(2)=−2⋅5=−10. The order of composition decides which function is read where: in g∘f, the table of g′ is read at a value of f.
c) P=u with u=f(x), so P′(x)=2f(x)f′(x) and P′(1)=243=43. For Q(x)=g(x), the inside is x, of derivative 2x1: Q′(x)=g′(x)⋅2x1. At x=4: 4=2, g′(2)=21 and 241=41, so Q′(4)=81. Reading g′(4)=6 because the question says x=4 gives 23, twelve times too large.
d) Three layers, three factors, each read at its own point. Follow the values from the inside: f(0)=2, then g(2)=0. So R′(0)=f′(g(f(0)))⋅g′(f(0))⋅f′(0)=f′(0)⋅g′(2)⋅f′(0)=(−1)⋅21⋅(−1)=21. The two factors f′(0) are read at different stages that happen to share the value 0. For S(x)=2g(x)=eg(x)ln2, with ln2 a constant: S′(x)=2g(x)ln2⋅g′(x). At x=1: g(1)=4, so S′(1)=24ln2⋅(−2)=−32ln2≈−22.1807.
e) (f∘g)′(4)=f′(g(4))⋅g′(4)=f′(2)⋅6=5⋅6=30. (f∘f)′(0)=f′(f(0))⋅f′(0)=f′(2)⋅(−1)=−5. But (g∘f)′(4)=g′(f(4))⋅f′(4)=g′(3)⋅(−2), and the table has no row x=3: the value cannot be found. Taking g′(4)=6 instead would be the wrong-row error again, disguised as an answer.
Exercise 4: Exponentials in base a: the laws of exponents first
For a>0, ax=exlna, where lna is a CONSTANT. With the inside function u=xlna, the chain rule gives dxdax=axlna, and more generally dxdau=aulna⋅u′. Nothing about logarithms is differentiated here.
Most of the work, and most of the lost marks, come BEFORE the derivative: rewrite with the laws of exponents so that a single exponential remains. ax1=a−x, ax=ax/2, (ax)k=akx. The figure shows the curve of part d).
a) Differentiate y=2x5 and give y′(1).
b) Differentiate y=3x and give y′(2).
c) Differentiate y=2x2−2x. Find the point where its tangent is horizontal, and give y′(2).
d) Differentiate y=x23−x, write y′ as a product of factors, and find the x-values where the tangent is horizontal.
e) Find the base a>0 for which y=ax satisfies y′=3y for all x. Then find a so that y=a−2x satisfies y′=−y.
Show the solution
Answers
a)y′=−5ln2⋅2−x, y′(1)=−25ln2≈−1.7329
b)y′=2ln33x/2, y′(2)=23ln3≈1.6479
c)y′=(2x−2)ln2⋅2x2−2x; horizontal at (1,21); y′(2)=2ln2≈1.3863
d)y′=x3−x(2−xln3); horizontal at x=0 and x=ln32≈1.8205
e)a=e3≈20.0855; a=e≈1.6487
a) Rewrite: y=5⋅2−x=5e−xln2. The inside function is u=−xln2, with u′=−ln2. So y′=5⋅2−x⋅(−ln2)=−5ln2⋅2−x. At x=1: y′(1)=−25ln2≈−1.7329. A student who applies the power rule to 2−x and writes −x2−x−1 confuses a variable exponent with a variable base: the power rule needs a constant exponent.
b) A power of a power multiplies the exponents: 3x=(3x)1/2=3x/2. With u=2x: y′=3x/2ln3⋅21. At x=2: y′(2)=23ln3≈1.6479. The Power Chain Rule on the square root reaches the same place with more writing: 21(3x)−1/2⋅3xln3=2ln33x/2, after using 3x⋅3−x/2=3x/2, another law of exponents.
c) The outside function is 2u, the inside u=x2−2x: y′=2x2−2xln2⋅(2x−2). The factor 2x2−2x is never zero and ln2=0, so y′=0 only when 2x−2=0: x=1, where y=2−1=21. The horizontal tangent is at (1,21). At x=2: u=0, so y′(2)=1⋅ln2⋅2=2ln2≈1.3863. Saying WHY the exponential factor cannot vanish is part of the answer.
d) The last operation is a product: product rule, with the chain rule on 3−x, whose derivative is 3−xln3⋅(−1). So y′=2x3−x−x2ln3⋅3−x. Factor the common factors, x (its lowest power) and 3−x: y′=x3−x(2−xln3). Since 3−x>0, y′=0 exactly when x=0 or x=ln32≈1.8205: two horizontal tangents, as the figure shows. At the second one, 3−2/ln3=e−2 (because 3−x=e−xln3), so y=(ln3)24e−2≈0.4485. The factored form makes the equation solvable in one line; the expanded form hides it.
e) By the chain rule, (ax)′=axlna=(lna)y. So y′=3y for all x exactly when lna=3, that is a=e3≈20.0855. For y=a−2x: y′=a−2xlna⋅(−2)=−2lna⋅y, and −2lna=−1 gives lna=21, a=e1/2=e≈1.6487. Every exponential ax is ekx with k=lna, and the inside derivative k is the factor that the derivative carries.
Exercise 5: Factor the lowest power: the algebra after the chain rule
When the product or quotient rule meets the chain rule, the derivative comes out as a SUM of terms containing the same brackets at different powers. It is not finished: a sum cannot be set equal to zero or signed. Factor each bracket at its LOWEST power, the most negative exponent (−21 is lower than 21, and −3 is lower than −2). What is left inside the square bracket then has only non-negative powers and simplifies to a polynomial.
The rule for the leftover exponents: after taking out um, a term containing un keeps un−m. Rewriting a quotient as a product with a negative exponent, before differentiating, usually saves the quotient rule altogether. The figure shows the curve of parts d) and e).
a) Differentiate y=x1−2x, write y′ as a single fraction, give y′(−4) and the x-value of the horizontal tangent.
b) Differentiate y=(2x−1)2(x+2)3 by rewriting it as a product. Give y′ factored, y′(1), and the x-values of the horizontal tangents.
c) Differentiate y=(x2+4)3/2x and show that y′=(x2+4)5/24−2x2. Give y′(0) and the positive zero of y′.
d) Differentiate y=(x+2)3x2−1, factor, and give y′(3).
e) Using d), find the x-values where the curve has a horizontal tangent, and those where y′ does not exist. Compare with the figure.
Show the solution
Answers
a)y′=1−2x1−3x, y′(−4)=313, horizontal at x=31
b)y′=(2x−1)3(x+2)2(2x−11), y′(1)=−81, horizontal at x=−2 and x=211
c)y′=(x2+4)5/24−2x2, y′(0)=81, positive zero x=2
d)y′=3(x2−1)2/35x2+4x−3, y′(3)=29
e)Horizontal at x=5−2±19 (≈−1.2718 and 0.4718); y′ undefined at x=±1 (vertical tangents)
a) y=x(1−2x)1/2, a product. With u=1−2x, u′=−2: y′=(1−2x)1/2+x⋅21(1−2x)−1/2(−2)=(1−2x)1/2−x(1−2x)−1/2. The lowest power of the bracket is −21; taking it out of (1−2x)1/2 leaves (1−2x)1/2−(−1/2)=(1−2x)1. So y′=(1−2x)−1/2[(1−2x)−x]=1−2x1−3x, for x<21. At x=−4: 913=313. Horizontal tangent where the numerator vanishes: x=31.
b) Rewrite: y=(x+2)3(2x−1)−2. Product rule, chain rule on each factor: y′=3(x+2)2(2x−1)−2+(x+2)3⋅(−2)(2x−1)−3⋅2=3(x+2)2(2x−1)−2−4(x+2)3(2x−1)−3. Lowest powers: (x+2)2 and (2x−1)−3, NOT (2x−1)−2. The leftover: y′=(x+2)2(2x−1)−3[3(2x−1)−4(x+2)]=(2x−1)3(x+2)2(2x−11). At x=1: 19⋅(−9)=−81. Horizontal tangents at x=−2 and x=211. Factoring (2x−1)−2 instead would leave (2x−1)−1 inside the bracket, a fraction inside the factorisation: the sign that the wrong power was taken out.
c) Rewrite: y=x(x2+4)−3/2. Then y′=(x2+4)−3/2+x⋅(−23)(x2+4)−5/2⋅2x=(x2+4)−3/2−3x2(x2+4)−5/2. The lowest power is −25, and −23−(−25)=1: y′=(x2+4)−5/2[(x2+4)−3x2]=(x2+4)5/24−2x2. At x=0: 45/24=324=81. Zeros: x2=2, the positive one is 2≈1.4142. The quotient rule gives (x2+4)3(x2+4)3/2−3x2(x2+4)1/2, a complex fraction that needs this very factorisation to be finished.
d) y=(x+2)(x2−1)1/3. With u=x2−1: y′=(x2−1)1/3+(x+2)⋅31(x2−1)−2/3⋅2x. Lowest power −32, and 31−(−32)=1: y′=(x2−1)−2/3[(x2−1)+32x(x+2)]=3(x2−1)2/33x2−3+2x2+4x=3(x2−1)2/35x2+4x−3. At x=3: x2−1=8, 82/3=4, so y′(3)=1245+12−3=1254=29.
e) y′=0 when 5x2+4x−3=0: discriminant 16+60=76, so x=10−4±76=5−2±19, about −1.2718 and 0.4718. The denominator vanishes at x=±1, where y′ does not exist: the numerator is 6 at x=1 and −2 at x=−1, not zero, so ∣y′∣ grows without bound and the curve has a VERTICAL tangent there, as the figure shows at the two marked points. The factored form answers both questions at once; the unfactored sum answers neither.
Part B: problems and reasoning (/50)
Exercise 6: Second and higher derivatives: the chain inside the product
The first derivative of a composite is a PRODUCT, f′(g(x))⋅g′(x), so the second derivative needs the product rule, and the chain rule again inside the first factor. Nothing new is required, only the discipline of seeing the product that the first derivative created.
Write y′ with negative exponents rather than as a quotient before differentiating again, and finish y′′ by factoring the lowest power: that is where the marks of this exercise are decided.
a) Let y=1+x21. Show that y′′=(1+x2)36x2−2, give y′′(1) and the positive zero of y′′.
b) Let y=tan(2x). Find y′′ and its value at x=8π.
c) Let y=(4−x2)3/2. Find y′′ as a single fraction and give y′′(1) exactly.
d) Let g(x)=f(x2), where f is twice differentiable with f′(4)=−1 and f′′(4)=3. Express g′′(x) in terms of f′ and f′′ and find g′′(2). A student answers 48: what was forgotten?
e) Let y=(1−2x)−1. Find y′, y′′, y′′′, guess the formula for the n-th derivative, and give y′′′(0) and y(5)(0).
Show the solution
Answers
a)y′′=(1+x2)36x2−2, y′′(1)=21, positive zero x=31
b)y′′=8sec2(2x)tan(2x), y′′(8π)=16
c)y′′=4−x26x2−12, y′′(1)=−23
d)g′′(x)=2f′(x2)+4x2f′′(x2), g′′(2)=46; 48 forgets the term 2f′(x2).
e)y(n)=2nn!(1−2x)−(n+1); y′′′(0)=48, y(5)(0)=3840
a) y=(1+x2)−1, so y′=−(1+x2)−2⋅2x=−2x(1+x2)−2, a product. Product rule, chain rule on the second factor: y′′=−2(1+x2)−2+(−2x)⋅(−2)(1+x2)−3⋅2x=−2(1+x2)−2+8x2(1+x2)−3. Lowest power −3: y′′=(1+x2)−3[−2(1+x2)+8x2]=(1+x2)36x2−2. At x=1: 84=21. Zeros: x2=31, the positive one 31≈0.5774. Differentiating (1+x2)2−2x by the quotient rule works too, but produces a factor (1+x2) to cancel against (1+x2)4: one more place to slip.
b) y′=sec2(2x)⋅2=2(sec2x)2. For the second derivative, sec2(2x) is itself three layers: the square, the secant, 2x. So y′′=2⋅2sec(2x)⋅sec(2x)tan(2x)⋅2=8sec2(2x)tan(2x). At 8π: 2x=4π, sec24π=2 and tan4π=1, so y′′(8π)=16. The usual loss is the last factor 2, which gives 8: in a second derivative the inside derivative of 2x appears TWICE, once per differentiation.
c) y′=23(4−x2)1/2⋅(−2x)=−3x(4−x2)1/2. Product rule: y′′=−3(4−x2)1/2+(−3x)⋅21(4−x2)−1/2(−2x)=−3(4−x2)1/2+3x2(4−x2)−1/2. Lowest power −21: y′′=(4−x2)−1/2[−3(4−x2)+3x2]=4−x26x2−12. At x=1: 3−6=−23≈−3.4641, rationalised by 36=363.
d) First derivative: g′(x)=f′(x2)⋅2x, a product. Product rule: g′′(x)=[f′(x2)]′⋅2x+f′(x2)⋅2, and [f′(x2)]′=f′′(x2)⋅2x by the chain rule once more. So g′′(x)=4x2f′′(x2)+2f′(x2). At x=2: x2=4, so g′′(2)=16⋅3+2⋅(−1)=46. The student's 48=16⋅3 is the first term alone: the product rule was skipped and the derivative of the factor 2x forgotten. Note that f′ and f′′ are read at x2=4, never at 2.
e) y′=−1⋅(1−2x)−2⋅(−2)=2(1−2x)−2. y′′=2⋅(−2)(1−2x)−3⋅(−2)=8(1−2x)−3. y′′′=8⋅(−3)(1−2x)−4⋅(−2)=48(1−2x)−4. Each differentiation brings down the exponent, −(k+1), and the inside derivative −2: their product is 2(k+1), positive. Hence y(n)=2nn!(1−2x)−(n+1), which matches 2,8,48. At x=0: y′′′(0)=48 and y(5)(0)=25⋅120=3840. Forgetting the inside factor gives n! with alternating signs, the pattern of 1+x1 instead.
Exercise 7: Tangent lines to a logistic curve
The figure shows the curve y=1+e−x4, which rises from 0 toward the dashed line y=4. It is a composite built in layers: a reciprocal, then 1+w, then w=e−x, itself an exponential of −x.
The tangent line at x=a is y=y(a)+y′(a)(x−a). On this curve, the derivative is easy to get and awkward to use until it is REWRITTEN with the laws of exponents; that rewriting is the heart of the exercise.
a) Write y as a power, differentiate, and show that y′=(1+e−x)24e−x=(ex+1)24ex. Give y′(ln2).
b) Find the tangent line at x=0. Explain why the curve has no horizontal tangent.
c) Find the points of the curve where the tangent has slope 43. (Hint: set w=e−x.)
d) Give the equations of the two tangent lines of c), with their y-intercepts to four decimals.
e) Show that y(x)+y(−x)=4 for all x. Differentiate this identity with the chain rule to compare y′(−x) and y′(x), and explain the two points of c).
Show the solution
Answers
a)y′=(1+e−x)24e−x=(ex+1)24ex, y′(ln2)=98
b)y=2+x; y′>0 everywhere, so no horizontal tangent.
c)(ln3,3) and (−ln3,1)
d)y=43x+3−43ln3 (intercept ≈2.1760) and y=43x+1+43ln3 (intercept ≈1.8240)
e)Differentiating gives y′(x)−y′(−x)=0: y′(−x)=y′(x), so the points of c) are symmetric about (0,2).
a) y=4(1+e−x)−1. Outside: 4u−1, derivative −4u−2; inside: u=1+e−x, and u′=e−x⋅(−1)=−e−x, itself a chain rule with inside −x. So y′=−4(1+e−x)−2⋅(−e−x)=(1+e−x)24e−x. Two minus signs cancel, and the result is positive, as the rising curve requires. Multiply top and bottom by e2x: 4e−xe2x=4ex and (1+e−x)2e2x=(ex(1+e−x))2=(ex+1)2, so y′=(ex+1)24ex. At x=ln2: eln2=2, so y′(ln2)=98.
b) At x=0: y(0)=24=2 and y′(0)=44=1, so the tangent is y=2+x. For every x, ex>0 and (ex+1)2>0, so y′>0: the numerator is never zero and the curve has no horizontal tangent. Its slope tends to 0 at both ends without ever reaching it.
c) Solve (1+e−x)24e−x=43. With w=e−x>0: 16w=3(1+w)2, so 3w2−10w+3=0, that is (3w−1)(w−3)=0. Then w=3 gives e−x=3, x=−ln3, and y=1+34=1; w=31 gives x=ln3 and y=1+1/34=3. The points are (ln3,3) and (−ln3,1). The substitution turns an exponential equation into a quadratic, and both roots are kept because both are positive.
d) At (ln3,3): y=3+43(x−ln3)=43x+3−43ln3, intercept ≈2.1760. At (−ln3,1): y=1+43(x+ln3)=43x+1+43ln3, intercept ≈1.8240. The two lines are parallel, and their intercepts add up to 4: their midpoint is on the line y=2, which part e) explains. The solution figure shows the three tangents.
e) y(−x)=1+ex4 and y(x)=1+e−x4=ex+14ex, so y(x)+y(−x)=ex+14ex+4=4. Differentiate both sides. The term y(−x) is a composite with inside function −x, of derivative −1: dxdy(−x)=−y′(−x). So y′(x)−y′(−x)=0, that is y′(−x)=y′(x). The curve is symmetric about the point (0,2), and symmetric points carry equal slopes: x=ln3 and x=−ln3 both have slope 43, with heights 3 and 1 symmetric about 2. Forgetting the factor −1 from the inside function would give y′(−x)=−y′(x), impossible for a curve whose slope is always positive.
Exercise 8: Five statements to correct
Each statement below was written by a student on a MATH 203 assignment, and each is false. Say what is wrong, give a counterexample with numbers, and write the correct statement. Three of the five errors are errors of algebra, not of calculus.
a) dxd(3x−1)−1/2=−23(3x−1)1/2.
b) The derivative of a square is the square of the derivative, so dxdcos2x=(−sinx)2=sin2x.
c) dxd(ex)3=3e2x.
d) The derivative of x32x+1 simplifies to x22x+1(x+3).
e) If h=f∘g and h′(a)=0, then g′(a)=0.
Show the solution
Answers
a)False: the exponent is −23; the derivative is −23(3x−1)−3/2, ≈−0.5303 at x=1.
b)False: dxdcos2x=−2sinxcosx; at x=4π, −1 and not 21.
c)False: (ex)3=e3x, derivative 3e3x; at x=1, 3e3 and not 3e2.
d)False: the derivative is 2x+1x2(7x+3); at x=4, 3496 and not 336.
e)False: h′(a)=f′(g(a))g′(a) can vanish through f′(g(a)); f(u)=u2, g(x)=x−1, a=1.
a) FALSE. The inside factor 3 is there, but the new exponent is wrong: −21−1=−23, not +21. The student subtracted 1 in the wrong direction, a slip of arithmetic on fractions. Correct: dxd(3x−1)−1/2=−21(3x−1)−3/2⋅3=−2(3x−1)3/23. At x=1: −23⋅2−3/2≈−0.5303, while the claim gives −232≈−2.1213. Check of size: the function 3x−11 flattens as x grows, so its slope must shrink toward 0, never grow like a square root.
b) FALSE. cos2x=(cosx)2 is a composite: the outside function is the square, the inside is u=cosx. The outside derivative is 2u, evaluated at the inside left alone, then multiplied by u′=−sinx: dxdcos2x=2cosx⋅(−sinx)=−2sinxcosx=−sin2x. Counterexample at x=4π: the true slope is −2⋅22⋅22=−1, while the claim gives 21, and even a POSITIVE slope, for a function that decreases on (0,2π). Squaring the derivative of the inside is not a rule; the square is differentiated as a square, 2u, and the inside derivative multiplies.
c) FALSE. By the laws of exponents, (ex)3=e3x, whose derivative is 3e3x (inside function 3x). The student applied the power rule to the cube and stopped: 3(ex)2=3e2x, without the inside derivative ex. Done correctly, the Power Chain Rule gives 3(ex)2⋅ex=3e3x, the same answer. At x=1: 3e3≈60.26 against 3e2≈22.17. At x=0 both give 3, which is why a check at 0 would not catch it.
d) FALSE. By the product and chain rules, dxdx3(2x+1)1/2=3x2(2x+1)1/2+x3⋅21(2x+1)−1/2⋅2=3x2(2x+1)1/2+x3(2x+1)−1/2. The student factored out (2x+1)1/2, the HIGHER power, and left x3 in the second term, when it should have left x3(2x+1)−1. The lowest power is −21: x2(2x+1)−1/2[3(2x+1)+x]=2x+1x2(7x+3). At x=4: the unfactored sum is 144+364=3496, the correct form gives 316⋅31=3496, and the claim gives 16⋅3⋅7=336. Evaluating both forms at one convenient point is the cheapest check of any factorisation.
e) FALSE. By the chain rule, h′(a)=f′(g(a))⋅g′(a), a product: it vanishes when EITHER factor does. Take f(u)=u2, g(x)=x−1 and a=1: h(x)=(x−1)2 and h′(1)=0, yet g′(1)=1. Here the zero comes from f′(g(1))=f′(0)=0. Correct statement: for differentiable f and g, h′(a)=0 if and only if f′(g(a))=0 or g′(a)=0. This is why the horizontal tangents of a composite come from the zeros of the outside factor AND of the inside factor.
Exercise 9: A radiosonde in cascade: degrees per kilometre, kilometres per minute
A weather balloon carrying a radiosonde is released at t=0 and rises at 5 m/s, so its altitude after t minutes is h=0.3t kilometres (0≤t≤100). The air temperature T, in degrees Celsius, depends on the altitude as in the International Standard Atmosphere, drawn in the figure: T=15−6.5h for 0≤h≤11, T=−56.5 for 11≤h≤20, and T=−56.5+(h−20) for 20≤h≤32. The air pressure is modelled by P=100e−h/7 kilopascals.
The temperature the radiosonde reads depends on the altitude, which depends on the time: dtdT=dhdT⋅dtdh, each derivative read at the current value of its OWN variable, and the units cancel like fractions. The calculator is used for the final decimals only.
a) Give the units of dhdT, dtdh and dtdT, then compute dtdT at t=20 minutes, with a sentence of interpretation.
b) Compute dtdT at t=50 and at t=80 minutes. What does the sign at t=80 say?
c) At what time does the balloon reach 11 km? Does dtdT exist at that instant? Give the one-sided rates.
d) Find dhdP, then dtdP at t=35 minutes, in kPa per minute to four decimals.
e) In a simplified gas model the balloon's volume is V=PT+273 cubic metres (2.88 m³ at launch). Rewrite V as a function of h without a fraction in e, find dhdV in factored form, and dtdV at t=20 minutes.
Show the solution
Answers
a)°C per km, km per min, °C per min; dtdT=−6.5⋅0.3=−1.95 °C/min at t=20
b)0 °C/min at t=50; +0.3 °C/min at t=80 (the air warms above 20 km)
c)t=3110≈36.67 min; dtdT does not exist: −1.95 on the left, 0 on the right
a) dhdT is a change of degrees per change of kilometres: °C per km. dtdh: km per minute. Their product: km°C⋅minkm=min°C, the unit of dtdT. At t=20: h=6 km, in the first piece, where dhdT=−6.5; and dtdh=0.3. So dtdT=−6.5⋅0.3=−1.95 °C/min: twenty minutes after launch, the radiosonde reads a temperature falling by about 2 degrees each minute. The slope of T is read at h=6, the current altitude, not at 20, which is a number of minutes.
b) At t=50: h=15 km, on the flat piece, so dhdT=0 and dtdT=0⋅0.3=0 °C/min, whatever the speed of the balloon. At t=80: h=24 km, where dhdT=1, so dtdT=1⋅0.3=0.3 °C/min. The positive sign says the radiosonde reads a WARMING air while still climbing: above 20 km the ozone layer heats the stratosphere. A product of rates changes sign when one link does.
c) 0.3t=11 gives t=3110≈36.67 min. At h=11 the graph of T has a corner: slope −6.5 on the left, 0 on the right, so T is not differentiable at h(t), and the hypothesis of the chain rule fails. Look at each side: just before, dtdT=−6.5⋅0.3=−1.95 °C/min; just after, 0. The one-sided rates differ, so dtdT does not exist at that instant. Checking that the outside function is differentiable at the INSIDE value is part of applying the chain rule.
d) P=100eu with inside u=−7h and u′=−71, so dhdP=−7100e−h/7 kPa per km, which is also −7P. At t=35: h=10.5, e−10.5/7=e−1.5, and dtdP=dhdP⋅dtdh=−7100e−1.5⋅0.3=−730e−1.5≈−0.9563 kPa/min. Units: kmkPa⋅minkm=minkPa.
e) Dividing by P=100e−h/7 is multiplying by 100eh/7, a law of exponents: V=1001(T+273)eh/7, a product with no fraction left. Product rule, chain rule on eh/7 (inside 7h, derivative 71): dhdV=1001[T′(h)eh/7+(T+273)71eh/7]=100eh/7[T′(h)+7T+273], the common factor eh/7 taken out. At t=20: h=6, T=15−39=−24, T+273=249, T′(6)=−6.5, so the bracket is 7249−6.5=7203.5≈29.07 and dhdV=100e6/7⋅7203.5≈0.6850 m³ per km. Then dtdV=0.6850⋅0.3≈0.2055 m³/min. The cooling alone would shrink the balloon; the bracket shows that the falling pressure wins, by 29.07 against 6.5.
Exercise 10: Wind chill during a storm: a cascade with a real exponent
The wind chill index used by Environment and Climate Change Canada is W=13.12+0.6215T−11.37V0.16+0.3965TV0.16, where T is the air temperature in °C and V the wind speed in km/h; W is read like a temperature, in °C. On a day when the air stays at T=−20 °C, a storm sets in: t hours after noon, the wind blows at V=20+6t km/h (0≤t≤5).
The wind chill depends on the wind, which depends on the time. The exponent 0.16 is a real number: the Power Rule still applies, and the exponent of the derivative is 0.16−1=−0.84, a NEGATIVE exponent that moves V to the denominator. The figure shows W as a function of V at T=−20 °C.
a) Show that at T=−20 °C, W=0.69−19.3V0.16. Compute W at V=32 km/h to two decimals.
b) Find dVdW and its value at V=32 km/h, with its unit, to four decimals.
c) Find dtdW at t=2 hours, in °C per hour to two decimals. A student computes dVdW at V=2: what does that give, and why is it absurd?
d) Write W directly as a function of t, differentiate with the chain rule, and check c).
e) Compute dtdW at t=0 and at t=5. The wind rises at a constant rate, yet the wind chill drops more and more slowly: which link of the chain explains it?
Show the solution
Answers
a)13.12−12.43=0.69 and −11.37−7.93=−19.3; W(32)=0.69−19.3⋅20.8≈−32.91 °C
b)dVdW=−3.088V−0.84=−V0.843.088; ≈−0.1680 °C per km/h at V=32
c)dtdW≈−0.1680⋅6≈−1.01 °C/h; dVdW at V=2 reads the wind at a number of hours.
e)≈−1.50 °C/h at t=0, ≈−0.69 °C/h at t=5; the link dVdW shrinks as V grows.
a) At T=−20: 0.6215⋅(−20)=−12.43, so the constant part is 13.12−12.43=0.69; and 0.3965⋅(−20)=−7.93, so the coefficient of V0.16 is −11.37−7.93=−19.3. Hence W=0.69−19.3V0.16. At V=32=25: 320.16=20.8≈1.7411, so W≈0.69−33.60=−32.91 °C. A power of a power multiplies exponents, 5⋅0.16=0.8: the calculator is not even needed until the last step.
b) Power Rule: dVdW=−19.3⋅0.16V0.16−1=−3.088V−0.84=−V0.843.088. The exponent 0.16−1=−0.84 is where students lose the mark, writing 1.16 or −1.16. At V=32: 32−0.84=2−4.2≈0.05441, so dVdW≈−0.1680 °C per km/h: near 32 km/h, each extra km/h of wind makes it feel about 0.17 degree colder.
c) Chain rule: dtdW=dVdW⋅dtdV. At t=2: V=32 km/h, dVdW≈−0.1680, and dtdV=6 km/h per hour. So dtdW≈−1.008, about −1.01 °C per hour. Units: km/h°C⋅hkm/h=h°C. The student who evaluates dVdW at V=2 gets −3.088⋅2−0.84≈−1.73, then −10.35 °C/h after multiplying by 6: a wind chill falling ten degrees an hour. The 2 is a number of HOURS fed to a function whose input is a wind speed; the outside derivative must be read at the inside VALUE, V(2)=32.
d) W(t)=0.69−19.3(20+6t)0.16. With the inside u=20+6t and u′=6: W′(t)=−19.3⋅0.16(20+6t)−0.84⋅6=−18.528(20+6t)−0.84. At t=2: −18.528⋅32−0.84≈−1.008 °C/h, as in c). Composing first and differentiating once, or differentiating link by link: both roads must meet, and checking that they do is the cheapest verification there is.
e) At t=0: V=20, W′(0)=−18.528⋅20−0.84≈−1.50 °C/h. At t=5: V=50, W′(5)=−18.528⋅50−0.84≈−0.69 °C/h. The link dtdV=6 is constant; the link dVdW=−V0.843.088 shrinks in size as V grows, because of the negative exponent. The figure shows it: the curve is steep at low wind and flattens. The first few km/h of wind cost the most degrees, which is why a light breeze on a cold day feels so much worse than calm air.
I tutor first-year calculus at Concordia and McGill, in English or in French, in Montreal or online, with the algebra behind every rule. Get in touch for a first session.