A5 · Lesson 11 · Derivatives of exp, sin and cos
The functions that are their own rate of change
Most functions change into something else when you differentiate them. A few don't: is exactly its own slope, and the slope of a sine is the same wave shifted a quarter cycle. That's why these functions fill electrical engineering. Circuits are governed by rates of change, and only functions that keep their shape under differentiation can satisfy those equations.
Play
- The yellow curve is . The blue curve is its slope at every , measured numerically from the yellow curve. The dashed curve is .
- Move to speed the sine up, . What happens to the size of its slope curve?
- At which is the sine steepest, and what is the slope curve doing there?
Predict
At , . What is the slope of at ?
1, the same as the function's value. And at , where , the slope is also about 7.39. That's what makes special: of all the exponentials , it's the one whose slope equals its value everywhere. For , say, the slope is , with an awkward factor of .
Name it
The table to know
All angles in radians: the clean results depend on , which is true only in radians.
Why is its own slope. From the definition,
using the limit from lesson 2.
Why sine gives cosine. The angle-sum identity gives . For small , and , so the change in over a step is about , and the slope is .
With the chain rule, the ones you'll use most in circuits:
The first says a decaying exponential falls at a rate proportional to what's left, the property behind every RC and RL transient. The second is the phasor rule from A3, now proved: differentiating multiplies the amplitude by ω and shifts the wave a quarter cycle ahead.
Worked example
Differentiate and find its slope at .
Show the solution
- Differentiate.
- Evaluate at .
- Check. The slope at the start is the starting value divided by the time constant, with a minus sign.
Answer , and its slope at is .
Worked example
What is the largest rate of change of ?
Show the solution
- Differentiate.
- Find the peak. It peaks at 300 when : at the zero crossings of , where the sine is steepest.
Answer the largest rate of change is 300, at the zero crossings of .
Worked example
A ringing current is A. How fast is it rising at , and when does it first peak?
Show the solution
- Product rule.
- Rate at .
- Set for the first peak. so .
- Solve for .
- Compare with an undamped sine. The decay pulls the peak a little earlier than the 1.571 ms of an undamped sine.
Answer the current rises at 2000 A/s at and first peaks at 1.471 ms.
Check
Differentiate with respect to .
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 with respect to .
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 capacitor discharges as with = 5 V and = 1 ms. What is at , in volts per second?
Write units the way you normally would: 1.5 V/s, 1500 mV/s and 0.0015 kV/s are the same answer.
Check
Differentiate the damped sine .
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 capacitor discharges as with = 1 ms.
(a)
What is at = 3 ms?
Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.
(b)
What is there, in volts per second?
(c)
When has the slope fallen to 1% of its starting value?
Check
Show that satisfies .
Step 1
Find .
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
Find .
Explain why
Why are exponentials and sinusoids the natural answers to circuit equations?
Capacitors and inductors relate a quantity to its rate of change, so circuit equations say things like "this voltage plus τ times its rate of change is constant". To satisfy that at every instant, a function's rate of change has to look like the function itself. Exponentials do exactly that: the slope of is times itself. Sinusoids do it in pairs, sine turning into cosine and back with a factor of ω, so they're what a circuit driven at one frequency settles into.
Practice
Keep practicing
6 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.