Calculus I · The Function That Is Its Own Slope

Where this is heading

Two threads to carry forward.

The fact that exe^x is its own derivative is not just convenient — it is about to make exe^x the single cleanest example in the next chapter. When we learn to rebuild any function out of its own derivatives (Taylor’s idea, Chapter 6), exe^x produces the most beautiful pattern of all, precisely because differentiating it changes nothing.

And the same self-similarity is why exe^x shows up everywhere once you reach machine learning: it is inside the “softmax” that turns scores into probabilities, and inside the bell curve that describes noise and uncertainty. You are not learning exe^x because it is on a test. You are learning the one function that nature and computation both reach for first.


Problems

Six tiers. Fluency and Practice are doing* — drill the derivatives and log rules until automatic, then apply them. Concept & counterexample and ◆ Diamond are thinking — traps, constructions, and the proofs (including the honest treatment of where ee comes from). Teach it is teaching. Looking ahead reaches into Chapter 6. Do all of Fluency; don’t skip Concept or Teach it.*

Fluency — do these fast, until they’re automatic

  1. Differentiate: (a) e5xe^{5x}; (b) e−xe^{-x}; (c) 3e2x3e^{2x}; (d) ex+x3e^{x}+x^3; (e) ex/2e^{x/2}; (f) 7e−0.1x7e^{-0.1x}.
  2. Differentiate: (a) ln⁡x\ln x; (b) ln⁡(3x)\ln(3x); (c) 5ln⁡x5\ln x; (d) ln⁡(x)+x2\ln(x)+x^2.
  3. Use the log rules to rewrite as sums/differences/multiples: (a) ln⁡(6)\ln(6); (b) ln⁡x5\ln\!\frac{x}{5}; (c) ln⁡(x3)\ln(x^3); (d) ln⁡(2x2)\ln(2x^2).
  4. Evaluate without a calculator: (a) ln⁡1\ln 1; (b) ln⁡e\ln e; (c) ln⁡e4\ln e^4; (d) eln⁡7e^{\ln 7}; (e) ln⁡e−2\ln e^{-2}.
  5. A colony follows N(t)=200e0.4tN(t)=200\,e^{0.4t} (tt in hours). Find N(0)N(0) and N(5)N(5).
  6. A drug has half-life 44 hours; you start with 8080 mg. How much remains after 44, 88, and 1212 hours? (In your head.)

Practice — choose the rule and apply it

  1. Differentiate, naming outer and inner functions first: (a) e3x2e^{3x^2}; (b) ln⁡(x2+1)\ln(x^2+1); (c) e−x2e^{-x^2}; (d) ln⁡(x)\ln(\sqrt{x}).
  2. Show by differentiating that N(t)=N0ektN(t)=N_0e^{kt} satisfies dNdt=kN\tfrac{dN}{dt}=kN, and state in one sentence what N0N_0 and kk mean.
  3. A radioactive isotope decays with λ=0.05\lambda=0.05 per year. Find its half-life, then the fraction remaining after 3030 years.
  4. $1000 grows at a continuously compounded 5%5\%, so A(t)=1000e0.05tA(t)=1000\,e^{0.05t}. How long until it doubles? (Then explain why ln⁡2≈0.69\ln 2\approx0.69 makes “70÷rate%70\div\text{rate}\%” a good mental shortcut.)
  5. Two drugs: A has half-life 22 h, B has half-life 66 h. Write each as N0e−λtN_0e^{-\lambda t} (find each λ\lambda), and find how long until each falls to 10%10\% of its dose.
  6. A pH is defined by pH=−log⁡10[H+]\text{pH}=-\log_{10}[\text{H}^+]. If one solution has [H+][\text{H}^+] one hundred times another’s, how far apart are their pH values? (One line — this is the log-scale point.)
  7. Differentiate h(x)=e2x+ln⁡(5x)h(x)=e^{2x}+\ln(5x), then find the slope of hh at x=1x=1.

Concept & counterexample — think; state true/false and justify, or build the example

    1. ddxex=xex−1\tfrac{d}{dx}e^{x}=xe^{x-1} (treating exe^x “like a power”). (b) ln⁡(A+B)=ln⁡A+ln⁡B\ln(A+B)=\ln A+\ln B. (c) The graph of exe^x has the same slope as height at every point. (d) 2x2^x grows but its slope-at-zero is less than 11.
  1. Explain in one or two sentences why ee, not 1010, is called the natural base — what specifically is natural about it?
  2. Construct / identify: among f(x)=2xf(x)=2^x, exe^x, 3x3^x, which one has the property that its derivative equals itself, and which two do not? For the two that don’t, what does each derivative equal?
  3. Find the error. A student writes: “ddxln⁡(x2)=1x2\tfrac{d}{dx}\ln(x^2) = \tfrac{1}{x^2}, by the rule ddxln⁡x=1x\tfrac{d}{dx}\ln x=\tfrac1x.” Identify the missing step and give the correct derivative two different ways (chain rule, and first using a log rule).
  4. Is it possible? A quantity decaying by first-order kinetics that reaches exactly zero in finite time. Argue from the form N0e−λtN_0e^{-\lambda t} why or why not. (What does this say about “when is the drug completely gone?”)
  5. The chapter took out three “loans” about ee. State them in your own words, and say which chapter repays each.

◆ Diamond — Layer 2: prove it

  1. ◆ Prove ddxln⁡x=1x\tfrac{d}{dx}\ln x=\tfrac1x using only that ln\ln is the inverse of exe^x and the chain rule (reproduce the text’s three-line argument from scratch).
  2. ◆ Prove M(a)=ln⁡aM(a)=\ln a by writing ax=e(ln⁡a)xa^x=e^{(\ln a)x} and differentiating. Then deduce ddxax=(ln⁡a)ax\tfrac{d}{dx}a^x=(\ln a)a^x and check it gives the right answer at a=ea=e.
  3. ◆ Derive the half-life formula t1/2=ln⁡2λt_{1/2}=\dfrac{\ln 2}{\lambda} from N0e−λtN_0e^{-\lambda t}, justifying each logarithm step. Then prove the “memoryless” property: the time to fall from any level to half of it is always t1/2t_{1/2}, independent of where you start.
  4. ◆ Using the slope-at-the-axis idea, explain why M(4)>1M(4)>1 and M(2)<1M(2)<1, and why this forces a base with M(a)=1M(a)=1 to exist between them. Name the property of MM you’re assuming (it’s one of the chapter’s loans).
  5. ◆ Prove ddxln⁡(kx)=1x\tfrac{d}{dx}\ln(kx)=\tfrac1x for any constant k>0k>0 — and explain in one sentence why the constant vanishes (what does multiplying the input by kk do to the graph of ln\ln?).
  6. ◆◆ Uniqueness. Suppose f′(x)=kf(x)f'(x)=k\,f(x) for all xx, with f(0)=N0f(0)=N_0. Show g(x)=f(x)e−kxg(x)=f(x)e^{-kx} has g′(x)=0g'(x)=0 everywhere, conclude gg is constant, and deduce f(x)=N0ekxf(x)=N_0e^{kx}. (This proves the exponential is the solution to the growth/decay equation, not merely a solution.)
  7. ◆◆ Logarithmic differentiation preview: by writing ax=e(ln⁡a)xa^x=e^{(\ln a)x}, and more generally any u(x)v(x)=ev(x)ln⁡u(x)u(x)^{v(x)}=e^{v(x)\ln u(x)}, differentiate xxx^x for x>0x>0. (You’ll get a clean answer; notice the trick is to never differentiate a “variable-to-a-variable” directly — always route through ee and ln\ln first.)

Teach it — explain it, write it up, or fix it for someone else

  1. In three or four sentences to a friend, explain why exe^x is “the function that is its own slope,” starting from the question “what function is proportional to its own rate of change?” — not from the formula.
  2. Write a worked solution to “a drug with half-life 33 hours: how long until 5%5\% remains?” narrating each step (set up the model, find λ\lambda, take the log) so a peer could redo it for any half-life.
  3. Debug your classmate. They claim “ddxe2x=e2x\tfrac{d}{dx}e^{2x}=e^{2x}, because ee to anything is its own derivative.” Pinpoint the error, name the rule they skipped, and give the correct derivative.
  4. Design a problem. Invent a continuously-compounded investment problem whose answer is “it doubles in exactly 1010 years,” stating the rate you need and writing the solution key.
  5. In two or three sentences, teach why mathematicians prefer ln\ln (base ee) over log⁡10\log_{10}, even though log⁡10\log_{10} seems friendlier — what does base ee buy you that base 1010 doesn’t? (Hint: look at the derivatives.)

Looking ahead — Chapter 6 in your hands early

  1. exe^x is its own derivative, so its first, second, third… derivatives are all exe^x, which all equal 11 at x=0x=0. In Chapter 6 you’ll build a function out of its derivatives at a point. Guess the first four terms of the polynomial that best matches exe^x near 00. (Try matching value, slope, and curvature at x=0x=0 — you may recognize the pattern 1+x+x22+⋯1+x+\tfrac{x^2}{2}+\cdots.)
  2. Compute e0.1e^{0.1} on a calculator, then compare it to 1+0.11+0.1 and to 1+0.1+0.1221+0.1+\tfrac{0.1^2}{2}. Which is closer? (You’re watching a Taylor approximation get better — Chapter 6.)
  3. The clean, no-loans construction of ee defines ln⁡x=∫1x1tdt\ln x=\displaystyle\int_1^x \tfrac{1}{t}\,dt — an area. You don’t have integrals yet. Predict: if ln⁡x\ln x is “the area under 1t\tfrac1t from 11 to xx,” what should ln⁡1\ln 1 be, and why should ln⁡x\ln x increase as xx grows? (Chapter 10 makes this airtight and repays the chapter’s loans.)

Questions to talk about

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

  1. Most books hand you e on a plate. This one goes looking for a function that is its own slope and finds e. Which order makes the number feel inevitable rather than arbitrary?
  2. The author announces that he is taking a loan — using a fact before earning it — and says exactly when he will repay it. Why show that in the open instead of hiding it?
  3. 'Half-life will be something you can derive, not something you look up.' What is the difference, in practice, between those two kinds of knowing?

All 12 chapters of Calculus I · Foundations · All courses