A5 · Lesson 24 · Higher derivatives
The rate of change of the rate of change
Velocity is the rate of change of position; acceleration is the rate of change of velocity. In an LC circuit, the inductor's voltage depends on the rate of change of current, which depends on the rate of change of the capacitor's voltage, so the capacitor's voltage is governed by its second derivative. And when an amplifier's transfer curve bends, its second derivative is what creates harmonic distortion. The second derivative tells you which way, and how sharply, a curve bends.
- The curve is . The lower trace is .
- Where is positive, and what does the curve look like there? Where is it negative?
- Find the point where the bending changes direction.
Predict
A position is . What is the acceleration at ?
- Velocity is , and acceleration is , which is 2 at . Differentiate twice, then substitute.
Name it
Second and higher derivatives
The derivative of is the second derivative, or ; then , and so on. Each measures the rate of change of the one before.
| Quantity | First derivative | Second derivative |
|---|---|---|
| position | velocity | acceleration |
| charge | current | rate of change of current |
Sinusoids have a special property: . That's the equation of every oscillator. In an LC circuit, and combine to , whose solutions are sinusoids at .
Concavity
- : the slope is increasing; the curve bends upward (concave up), lying above its tangent lines.
- : the curve bends downward (concave down), below its tangents.
- An inflection point is where the concavity changes, usually where (and changes sign).
The second derivative test (lesson 27) uses this: at a point where , means a minimum and a maximum.
Curvature and distortion
An amplifier's output for a small input around its bias point is approximately
The term turns a sine input into a sine plus a component at twice the frequency, since . So the curvature sets the second-harmonic distortion. A perfectly straight transfer curve, , produces none.
Worked example
Find the inflection point of , and say where it's concave up.
Show the solution
- First and second derivatives.
- Where changes sign. is zero at and changes sign there, so the inflection point is
- Concavity. The curve is concave down for () and concave up for .
Answer the inflection point is , and the curve is concave up for .
Worked example
Show that satisfies , and find for an LC circuit with = 10 mH and = 100 µF.
Show the solution
- Differentiate twice.
- Read off . So and .
- The LC circuit.
- Compare. So this is exactly that circuit's natural oscillation, at Hz.
Answer , so rad/s, the same as the LC circuit's (159 Hz).
Worked example
A part's position is . Find its velocity and acceleration, and say when it's speeding up.
Show the solution
- Velocity.
- Acceleration.
- Compare signs. It speeds up when and have the same sign.
- From to . and , so it speeds up moving backward.
- From to . It's slowing down.
- After . Both are positive.
Answer and ; the part speeds up between and and after .
Check
A position is . What is the acceleration at = 2?
Check
What is the largest value of ?
Check
Where is the inflection point of ? Give .
Check
An LC circuit's capacitor voltage obeys . With = 10 mH and = 1 µF, what angular frequency does it oscillate at?
Write units the way you normally would: 1.5 rad/s and 1500 mrad/s are the same answer.
Check
An amplifier's transfer curve has at its bias point. A small sine goes in. What appears at the output besides the amplified sine?
Check
, with in seconds. Evaluate at = 2 ms.
(a)
What is ?
(b)
What is ?
(c)
What is ?
Check
Find the derivatives of and its th derivative at 0.
Step 1
What is ?
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
What is ?
Step 3
What is ? (The pattern continues: .)
Explain why
What does the sign of the second derivative tell you about a curve, and why?
The second derivative is the rate of change of the slope. If it's positive, the slope is increasing as you move right, so the curve keeps turning upward and bends like a cup, lying above its tangent lines. If it's negative, the slope is decreasing, so the curve turns downward like a cap and lies below its tangents. Where the second derivative changes sign, the bending changes direction: an inflection point.
Practice
Keep practicing
8 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.