Skip to content
Tactiverge

School/□ Systems Engineer/Week 3

Product and chain rules

A capacitor's voltage is 12·e^(−t/2). How fast is it falling at t = 1 s? You need a rule for a function inside a function.

About 40 min · 3 goals · Checked by automated tests

1.Why should I care?

Real models are built from pieces: an exponential decay times a sine (a ringing circuit), a sine of 2πft (any AC signal), a decay with time constant τ. The product and chain rules let you differentiate all of them, and the derivative of e^(kt) being k·e^(kt) is the key to every differential equation in week 8.

  • ◇ Differentiate products with (uv)′ = u′v + uv′.
  • ◇ Differentiate simple compositions such as e^(kt), sin(ωt) and (at + b)ⁿ with the chain rule.
  • ◇ Find where a product such as t·e^(−t) peaks.

2.Predict

What is d/dt of sin(2t)?

Guess first. Being wrong here is how the surprise works.

3.Discover

Choose sin(2x) and compare its f′ with the sin x case: what changed in height and in spacing? Then choose x·e^(−x): find the point where the slope is zero and check it against (1 − x)e^(−x) = 0.

Loading the interactive…

Can't use the interactive? Read a description instead

In the derivative grapher, sin(2x) has a derivative 2cos(2x): twice as tall and oscillating twice as fast as cos x. For x·e^(−x) the derivative (1 − x)e^(−x) crosses zero at x = 1, where the original function peaks at about 0.368.

4.Checkpoint: guided practice

Check what you just discovered before going on. Hints appear after a wrong answer.

Practice 1 · a fresh version every time

The charge on a plate is Q(t) = 0.002·sin(50t) coulombs. The current is I = dQ/dt. What is I at t = 0.02 s, in amps?

A

5.Watch

→ Watch the product rule drawn as a growing rectangle and the chain rule as nudges passing through three number lines.

Makes the product and chain rules visual, so you can rebuild them instead of memorising them.

Length: see YouTube · captions on YouTube · source

Nothing loads from YouTube until you press play.

The video is optional: everything you need is also in the lesson text and the interactive.

6.Understand

Product rule

d/dt [u·v] = u′·v + u·v′. Picture a rectangle of sides u and v: when both grow, the area gains a strip along each side. It is not u′·v′. Example: d/dt [t²·sin t] = 2t·sin t + t²·cos t.

Chain rule

If y = f(g(t)), then dy/dt = f′(g(t))·g′(t): the outer slope (evaluated at the inner value) times the inner slope. The workhorse cases: d/dt e^(kt) = k·e^(kt); d/dt sin(ωt) = ω·cos(ωt); d/dt (at + b)ⁿ = n·a·(at + b)ⁿ⁻¹.

Why e^(kt) matters so much

d/dt e^(kt) = k·e^(kt): the rate is k times the value. A capacitor V = V₀·e^(−t/τ) therefore falls at a rate −V/τ, proportional to the voltage left. Any quantity whose rate is proportional to itself must be an exponential: that is week 8 in one line.

Explain it another way

Chain rule: if the inner gear turns twice as fast and the outer gear turns three times as fast as the inner, the outer turns six times as fast overall. Rates multiply through a chain.

Derivation: Where does t·e^(−t) peak?
  1. f(t) = t·e^(−t) is a product of u = t and v = e^(−t). This shape models, for example, a drug concentration or the current pulse in some circuits.

  2. u′ = 1. For v, the chain rule with inner function −t gives v′ = e^(−t)·(−1) = −e^(−t).

  3. Product rule: f′ = u′v + uv′ = e^(−t) − t·e^(−t) = (1 − t)·e^(−t).

  4. e^(−t) is never zero, so f′ = 0 only when 1 − t = 0: t = 1.

  5. For t < 1, f′ > 0 (rising); for t > 1, f′ < 0 (falling): a maximum, f(1) = e⁻¹ ≈ 0.368.

Worked example 1

V(t) = 12·e^(−t/2) volts. Find dV/dt at t = 1 s.

Chain rule with k = −½: dV/dt = 12 × (−½) × e^(−t/2) = −6·e^(−t/2). At t = 1: −6 × 0.607 = −3.64 V/s (falling).

Worked example 2

Differentiate y = (3t + 1)⁴.

Outer u⁴ → 4u³; inner 3t + 1 → 3. dy/dt = 4(3t + 1)³ × 3 = 12(3t + 1)³.

Common mix-ups

  • (uv)′ = u′·v′.
    ✓ (uv)′ = u′v + uv′. Check with u = v = t: (t²)′ = 2t, but u′v′ = 1.
  • d/dt sin(ωt) = cos(ωt).
    ✓ The chain rule adds a factor ω: ω·cos(ωt). Faster oscillation means bigger rates.

7.Practice on your own

Practice, not a test. Wrong answers get a hint and another try.

Practice 2

What is d/dt [t·e^(−t)] at t = 0?

Practice 3

What is d/dt [t²·sin t] at t = π? (Give 4 significant figures.)

Practice 4

What is d/dt of e^(−t/τ)?

Practice 5 · a fresh version every time

A sensor log grows as N(t) = 250·e^(0.05t) records (t in days). At what rate is it growing at t = 5 days, in records per day?

records/day

8.Apply it

A plucked guitar string's displacement is roughly y = A·e^(−t/τ)·sin(ωt). Use the product and chain rules to write its velocity. Which term dominates when τ is very long?

9.Reflect

10.Go further

Concepts: Derivatives and rates of change