Calculus I · A Toolkit for Slopes

Where this is heading

You now hold the complete differentiation toolkit, and the rest of the book simply uses it. Chapter 5 turns the inverse-function rule on ln⁡x\ln x and the exponential on exe^x to build the whole theory of growth and decay. Chapter 6 (the Mean Value Theorem) and everything after assume you can differentiate anything — and now you can. Chapter 7’s Taylor series demanded the trig and exponential derivatives you just proved. Chapter 8 finds maxima and minima by setting derivatives to zero, which means differentiating first.

And one quiet thing worth noticing: every rule in this chapter takes a function and returns its derivative as a new function — which you can feed right back in. Differentiate x4x^4 to get 4x34x^3, differentiate again to get 12x212x^2: that’s the second derivative, the curvature that runs Chapters 7 and 8. The toolkit doesn’t just compute slopes; it lets you climb the whole tower of derivatives, as high as you need to go.


Problems

Six tiers. Fluency and Practice are doing* — apply the rules until choosing the right one is automatic. Concept & counterexample and ◆ Diamond are thinking — the rule-traps and the proofs (each rule derived from the definition). Teach it is teaching. Looking ahead opens Chapter 5. Do all of Fluency — and there’s a lot of it, more than any other chapter, on purpose: differentiation is a mechanical skill, and the only way to own it is volume. These rules should become as automatic as multiplication.*

Fluency — differentiate, fast; this tier is the whole point

  1. Power rule, whole-number powers: (a) x9x^9; (b) 4x64x^6; (c) x100x^{100}; (d) 77; (e) xx.
  2. Power rule, negative and fractional powers: (a) x−3x^{-3}; (b) 1x5\tfrac{1}{x^5}; (c) x1/3x^{1/3}; (d) x4\sqrt[4]{x}; (e) x−1/2x^{-1/2}; (f) 1x\tfrac{1}{\sqrt{x}}.
  3. Rewrite first, then power rule: (a) 1x2+x\tfrac{1}{x^2} + \sqrt{x}; (b) x3−1x\tfrac{x^3 - 1}{x} (split the fraction); (c) x2xx^2\sqrt{x} (combine into one power first).
  4. Polynomials, term by term: (a) 5x3−2x2+7x−45x^3 - 2x^2 + 7x - 4; (b) 13x6+4x\tfrac13 x^6 + 4x; (c) 9x5−x4+2x−119x^5 - x^4 + 2x - 11; (d) (2x−1)(x+3)(2x-1)(x+3) (expand first).
  5. Product rule: (a) x2exx^2 e^x; (b) xsin⁡xx\sin x; (c) (x2+1)(x3−2)(x^2+1)(x^3-2); (d) x3cos⁡xx^3\cos x; (e) excos⁡xe^x\cos x.
  6. Product rule, then evaluate at x=0x = 0: (a) (x+1)ex(x+1)e^x; (b) x2sin⁡xx^2\sin x.
  7. Quotient rule: (a) xx2+1\tfrac{x}{x^2+1}; (b) x2x−1\tfrac{x^2}{x-1}; (c) sin⁡xx\tfrac{\sin x}{x}; (d) exx\tfrac{e^x}{x}; (e) x−1x+1\tfrac{x-1}{x+1}.
  8. Quotient rule with trig: (a) tan⁡x=sin⁡xcos⁡x\tan x = \tfrac{\sin x}{\cos x}; (b) cos⁡xx\tfrac{\cos x}{x}; (c) 1sin⁡x\tfrac{1}{\sin x}.
  9. Chain rule, powers: (a) (x2+1)5(x^2+1)^5; (b) (1−x2)10(1-x^2)^{10}; (c) (3x+2)7(3x+2)^7; (d) (x3−x)4(x^3 - x)^4.
  10. Chain rule, roots: (a) 3x+2\sqrt{3x+2}; (b) x2+1\sqrt{x^2+1}; (c) 1−x2\sqrt{1-x^2}; (d) 1x2+4\tfrac{1}{\sqrt{x^2+4}}.
  11. Chain rule, exponentials: (a) e4xe^{4x}; (b) e−xe^{-x}; (c) ex2e^{x^2}; (d) e−x2/2e^{-x^2/2}; (e) e3x+1e^{3x+1}.
  12. Chain rule, trig: (a) sin⁡(3x)\sin(3x); (b) cos⁡(x2)\cos(x^2); (c) sin⁡(x2+1)\sin(x^2+1); (d) cos⁡(5x)\cos(5x); (e) tan⁡(2x)\tan(2x).
  13. Trig, basic: (a) cos⁡x\cos x; (b) tan⁡x\tan x; (c) 3sin⁡x−2cos⁡x3\sin x - 2\cos x; (d) x+cos⁡xx + \cos x; (e) x2+sin⁡xx^2 + \sin x.
  14. Powers of trig (chain): (a) sin⁡2x\sin^2 x; (b) cos⁡3x\cos^3 x; (c) tan⁡2x\tan^2 x.
  15. Mixed — pick the right rule first: (a) x2exx^2 e^x; (b) xcos⁡x\tfrac{x}{\cos x}; (c) sin⁡(x3)\sin(x^3); (d) (x2+x)6(x^2+x)^6; (e) ex+e−xe^x + e^{-x}.
  16. Evaluate the derivative at the given point: (a) f(x)=x3−xf(x)=x^3-x at x=2x=2; (b) f(x)=exsin⁡xf(x)=e^x\sin x at x=0x=0; (c) f(x)=1xf(x)=\tfrac1x at x=12x=\tfrac12; (d) f(x)=xf(x)=\sqrt{x} at x=4x=4.
  17. Find the equation of the tangent line: (a) y=(x2−1)3y=(x^2-1)^3 at x=1x=1; (b) y=exy=e^x at x=0x=0; (c) y=sin⁡xy=\sin x at x=0x=0; (d) y=1xy=\tfrac1x at x=1x=1.
  18. Differentiate, then simplify: (a) exx\tfrac{e^x}{x}; (b) x2cos⁡xx^2\cos x; (c) xex\sqrt{x}\,e^x; (d) sin⁡x1+cos⁡x\tfrac{\sin x}{1+\cos x}.
  19. Second derivatives — find f″f'': (a) x4x^4; (b) sin⁡x\sin x; (c) e2xe^{2x}; (d) x3−2xx^3 - 2x.
  20. Higher-order: (a) the third derivative of x5x^5; (b) the fourth derivative of sin⁡x\sin x; (c) the second derivative of 1x\tfrac1x.

Practice — combine the rules

  1. A chain inside a product: f(x)=x2(x3+1)4f(x) = x^2(x^3+1)^4.
  2. A chain inside a chain: f(x)=1+xf(x) = \sqrt{1 + \sqrt{x}}. (Outer root, then inner root.)
  3. Order of composition matters: (a) esin⁡xe^{\sin x}; (b) sin⁡(ex)\sin(e^x); (c) (sin⁡x)2(\sin x)^2. (Note how (a) and (b) differ.)
  4. A product of three: f(x)=xexsin⁡xf(x) = x\,e^x\sin x. (Apply the product rule twice, or group as x⋅(exsin⁡x)x\cdot(e^x\sin x).)
  5. A quotient with a chain on top: f(x)=(x2+1)3xf(x) = \dfrac{(x^2+1)^3}{x}.
  6. Differentiate f(x)=exx2+1f(x) = \dfrac{e^x}{x^2+1} and find where its tangent is horizontal.
  7. For f(x)=x3−6x2+9xf(x) = x^3 - 6x^2 + 9x, find f′(x)f'(x), then all points where the tangent is horizontal (preview of Chapter 8’s critical points).
  8. Find where f(x)=xe−xf(x) = x\,e^{-x} has a horizontal tangent, and compute f″f'' there.
  9. Inverse-function rule: find the derivative of g(x)=x1/3g(x)=x^{1/3} as the inverse of f(x)=x3f(x)=x^3, and check it against the power rule. Then do the same for g(x)=xg(x)=\sqrt{x} as the inverse of x2x^2.
  10. The hyperbolic functions cosh⁡x=ex+e−x2\cosh x = \tfrac{e^x + e^{-x}}{2} and sinh⁡x=ex−e−x2\sinh x = \tfrac{e^x - e^{-x}}{2}. Differentiate each from the rules, and show cosh⁡′x=sinh⁡x\cosh' x = \sinh x and sinh⁡′x=cosh⁡x\sinh' x = \cosh x — note the absence of a minus sign, unlike cos\cos and sin\sin. (A Chapter 5 preview, built entirely from exe^x.)

Concept & counterexample — think; true/false with justification, or build the example

    1. (fg)′=f′g′(fg)' = f'g'. (b) (fg)′=f′g′\left(\tfrac{f}{g}\right)' = \tfrac{f'}{g'}. (c) (f∘g)′=f′⋅g′(f\circ g)' = f'\cdot g' (composition). (d) The derivative of ekxe^{kx} is ekxe^{kx}.
  1. Find the error. A student writes “ddx(x2sin⁡x)=2xcos⁡x\tfrac{d}{dx}(x^2\sin x) = 2x\cos x.” Identify the rule they misused and give the correct derivative.
  2. Find the error. Another writes “ddx(x2+1)5=5(x2+1)4\tfrac{d}{dx}(x^2+1)^5 = 5(x^2+1)^4.” What did they forget, and what’s the correct answer?
  3. Construct two functions ff and gg for which (fg)′(fg)' happens to equal f′g′f'g' at some point, illustrating that the naive product rule is occasionally accidentally right (and explain why you can’t rely on it).
  4. Explain, using the chain rule, why ddxesin⁡x\tfrac{d}{dx}e^{\sin x} and ddxsin⁡(ex)\tfrac{d}{dx}\sin(e^x) are different — what does swapping the inner and outer function do?
  5. Is it possible? A nonzero function that equals its own derivative. (You differentiated one in this chapter — which, and is it the only such function up to a constant multiple?)
  6. Without computing it fully, use the chain-rule factor structure to predict the sign of ddxe−x2\tfrac{d}{dx}e^{-x^2} for x>0x > 0 and for x<0x < 0 (look at the −2x-2x that the chain rule produces). What does this tell you about the shape of the bell curve — where it rises, where it falls, and where it peaks?

◆ Diamond — derive the rules you’ve been using

  1. ◆ Prove the product rule from the definition, using the add-and-subtract trick. State clearly where you use the continuity of ff (and why Chapter 3 guarantees it).
  2. ◆ Prove the quotient rule by writing fg=f⋅g−1\tfrac{f}{g} = f\cdot g^{-1} and applying the product and chain rules. (You’ll need ddxg−1=−g−2g′\tfrac{d}{dx}g^{-1} = -g^{-2}g' first.)
  3. ◆ Derive ddxsin⁡x=cos⁡x\tfrac{d}{dx}\sin x = \cos x from the definition, using the angle-addition formula and the two Chapter 2 limits sin⁡hh→1\tfrac{\sin h}{h}\to1, cos⁡h−1h→0\tfrac{\cos h - 1}{h}\to 0. Then do the same for cos⁡x\cos x.
  4. ◆ Prove the inverse-function rule g′(x)=1f′(g(x))g'(x) = \tfrac{1}{f'(g(x))} by differentiating f(g(x))=xf(g(x)) = x with the chain rule. Then use it to derive ddxln⁡x=1x\tfrac{d}{dx}\ln x = \tfrac1x (taking ln\ln as the inverse of exe^x, and ddxex=ex\tfrac{d}{dx}e^x = e^x as given) — the result Chapter 5 will lean on.
  5. ◆◆ Prove the power rule for negative integers: using the quotient rule on 1xn\tfrac{1}{x^n}, show ddxx−n=−nx−n−1\tfrac{d}{dx}x^{-n} = -n\,x^{-n-1}, confirming the power rule extends below zero.
  6. ◆◆ Prove the power rule for rational exponents, closing the loan from this chapter. For y=xp/qy = x^{p/q}, raise both sides to the qq to get yq=xpy^q = x^p, differentiate both sides (chain rule on the left, power rule on the right), and solve for y′y' — you should land on exactly pqxp/q−1\tfrac{p}{q}\,x^{p/q - 1}. (This trick — differentiating an equation neither side of which is solved for yy — is implicit differentiation, and you’ve just invented it.)
  7. ◆◆ The chain rule, carefully. The heuristic ΔyΔx=ΔyΔu⋅ΔuΔx\tfrac{\Delta y}{\Delta x} = \tfrac{\Delta y}{\Delta u}\cdot\tfrac{\Delta u}{\Delta x} breaks when Δu=0\Delta u = 0 for some small Δx\Delta x (you’d be dividing by zero). Explain why this case can arise, and sketch how a rigorous proof gets around it. (You don’t need the full proof — just identify the gap the heuristic hides.)

Teach it — explain it, write it up, or fix it

  1. In three or four sentences with the gear-ratio picture, teach a friend the chain rule — why rates of change multiply through a composition.
  2. Debug your classmate. They insist “(fg)′=f′g′(fg)' = f'g' — derivatives just distribute over multiplication.” Give them a single concrete counterexample (try f=g=xf = g = x) that settles it in one line, then state the correct rule.
  3. Write a complete worked solution differentiating x2+1\sqrt{x^2+1}, naming the outer and inner functions and narrating each chain-rule step, so a peer could redo it for x3+1\sqrt{x^3+1}.
  4. Design a problem. Invent a function that requires two rules together (say, a chain inside a product), and write the full solution key.
  5. In a few sentences, teach why the trigonometric derivatives depend on radians — trace it back through the sin⁡hh→1\tfrac{\sin h}{h}\to1 limit to the reason mathematicians measure angles in radians at all.

Looking ahead — Chapter 5 in your hands early

  1. You proved (Diamond 41) that ddxln⁡x=1x\tfrac{d}{dx}\ln x = \tfrac1x using the inverse rule. Predict how you’d differentiate axa^x for a general base aa, given the hint that ax=e(ln⁡a)xa^x = e^{(\ln a)x}. (Chapter 5 confirms it.)
  2. The number ee is the one base for which eh−1h→1\tfrac{e^h - 1}{h}\to 1, making exe^x its own derivative. Predict what the derivative of 2x2^x would be — specifically, what constant multiple of 2x2^x — and why that constant is not 11. (Chapter 5 will name the constant.)
  3. You differentiated sin⁡x\sin x twice in problem 19 and found you return to ±sin⁡x\pm\sin x after four derivatives. Predict the 100100th derivative of sin⁡x\sin x. (Hint: the cycle has length four — what is 100100 divided by 44?)
  4. You found (problem 30) that cosh⁡′=sinh\cosh' = \sinh and sinh⁡′=cosh\sinh' = \cosh. Predict cosh⁡″\cosh'' and sinh⁡″\sinh'', and notice each hyperbolic function is its own second derivative: y″=yy'' = y. Which functions from this chapter instead satisfy y″=−yy'' = -y? (That contrast — y″=yy''=y for the hyperbolics, y″=−yy''=-y for sine and cosine — is the seed of the exponential–trig duality behind Euler’s formula in Chapter 7.)

Questions to talk about

No answer key. These are for arguing over, with someone who read the same chapter.

  1. Five rules replace every difference quotient you were computing by hand. What is gained, and what is quietly lost, when a method becomes a rule?
  2. The chain rule is called the single most important computation in modern machine learning — training a network is the chain rule applied backward across millions of nested functions. Why would a rule about functions inside functions matter so much there?
  3. The book refuses to hand you the rules to memorise, deriving each one instead, on the grounds that it is the only way to know when you are using it correctly. Can you think of a rule you have used wrongly because you did not know where it came from?

All 12 chapters of Calculus I · Foundations · All courses