A5 · Lesson 14 · The chain rule
Rates passed along a chain
A thermistor's resistance depends on temperature, the voltage across it depends on its resistance, and the temperature itself is rising with time. How fast is the voltage changing? Each link has its own rate, and the chain rule says the overall rate is their product. This one rule handles every nested formula in engineering, from to to the power dissipated in a part whose resistance drifts with its own heat.
- The curve is and the dashed line is its tangent at .
- Double . How does the slope at the same point in the cycle change?
- Compare the slope readout with the chain rule's prediction, .
Predict
A voltage is . What is its largest rate of change, in volts per unit time?
- The chain rule gives , whose largest value is 10. The inner function runs twice as fast, so the whole waveform's slopes are twice as steep. That's why higher-frequency signals need faster amplifiers: the slew rate grows with .
Name it
The rule, two ways
If and , then
The first form (Leibniz's) reads like canceling , which isn't literally true but always gives the right answer and keeps the units straight: (V/Ω) × (Ω/°C) × (°C/s) = V/s.
Longer chains multiply more rates: . Work from the outside in, differentiating each layer and leaving its inside alone.
Patterns worth recognizing
| Function | Derivative |
|---|---|
| , | , |
The last two lines are the reason every rate in this course carries a or a : the inside of the function sets the time scale.
Chains of physical quantities
When a quantity depends on another that depends on time, its rate of change is a chain:
Each factor is a sensitivity you can look up or measure separately, which is how engineers budget drift: the temperature coefficient times the heating rate times the circuit's sensitivity.
Worked example
Differentiate .
Show the solution
- Product rule. Each factor needs the chain rule:
- Differentiate each factor.
- Factor out the exponential.
- Where it shows up. This is the shape of every damped oscillation (A3's ), so its derivative is the current through a capacitor in a ringing circuit.
Answer .
Worked example
A 1 kΩ thermistor-like part changes resistance at −40 Ω/°C, and it's warming at 0.5 °C/s. It carries a constant 2 mA. How fast is its voltage changing?
Show the solution
- Voltage per ohm. , so
- Chain the rates.
- Check the units. They multiply through: V/Ω × Ω/°C × °C/s = V/s.
Answer the voltage falls at 0.04 V/s, 40 mV every second.
Worked example
A sensor's output is volts, and its temperature follows °C, with in seconds. How fast is changing at ?
Show the solution
- Chain rule.
- Volts per degree. At , , so
- Degrees per second.
- Multiply. Each link in the chain multiplies: volts per degree times degrees per second.
Answer at , is rising at 0.2 V/s.
Check
What is the largest rate of change of , in units per second?
Check
Differentiate .
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Check
Differentiate , meaning .
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Check
A part carries a constant 2 mA. Its resistance changes at −40 Ω/°C and it warms at 0.5 °C/s. How fast is its voltage changing, in V/s?
Write units the way you normally would: 1.5 V/s, 1500 mV/s and 0.0015 kV/s are the same answer.
Check
volts, with in ms. What is at = 5 ms, in V/ms?
Write units the way you normally would: 1.5 V/ms, 1500 mV/ms and 0.0015 kV/ms are the same answer.
Check
Differentiate these at = 1.
(a)
(b)
(c)
Check
Differentiate a decaying oscillation, .
Step 1
What is the derivative of the envelope ?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
Use the product rule for , and factor out .
Explain why
Why does the derivative of get bigger when gets bigger, even though the sine's height stays the same?
The chain rule multiplies the outer derivative, , by the rate of the inside, . A larger means the angle sweeps faster, so the wave goes through each rise and fall in less time. The same change in height over a shorter time is a steeper slope, so every rate of change is scaled up by even though the amplitude hasn't changed.
Practice
Keep practicing
9 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.