A524 of 56
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

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 f(x)=x3−3x. The lower trace is f′′(x)=6x.
  • Where is f′′ 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 x(t)=4t2−t3. What is the acceleration at t=1?

Name it

Second and higher derivatives

The derivative of f′ is the second derivative, f′′ or d2ydx2; then f′′′, and so on. Each measures the rate of change of the one before.

QuantityFirst derivativeSecond derivative
position x(t)velocityacceleration
charge q(t)currentrate of change of current
sin⁡ωtωcos⁡ωt−ω2sin⁡ωt
e−t/τ−1τe−t/τ1τ2e−t/τ

Sinusoids have a special property: f′′=−ω2f. That's the equation of every oscillator. In an LC circuit, vL=Ldidt and i=Cdvdt combine to d2vdt2=−1LCv, whose solutions are sinusoids at ω=1/LC.

Concavity

  • f′′>0: the slope is increasing; the curve bends upward (concave up), lying above its tangent lines.
  • f′′<0: the curve bends downward (concave down), below its tangents.
  • An inflection point is where the concavity changes, usually where f′′=0 (and changes sign).

The second derivative test (lesson 27) uses this: at a point where f′=0, f′′>0 means a minimum and f′′<0 a maximum.

Curvature and distortion

An amplifier's output for a small input x around its bias point is approximately

y≈y0+y′x+12y′′x2

The x2 term turns a sine input into a sine plus a component at twice the frequency, since sin2⁡ωt=12(1−cos⁡2ωt). So the curvature y′′ sets the second-harmonic distortion. A perfectly straight transfer curve, y′′=0, produces none.

Worked example

Find the inflection point of f(x)=x3−6x2+4, and say where it's concave up.

Show the solution
  1. First and second derivatives. f′=3x2−12x,f′′=6x−12
  2. Where f′′ changes sign. f′′ is zero at x=2 and changes sign there, so the inflection point is (2,f(2))=(2,−12)
  3. Concavity. The curve is concave down for x<2 (f′′<0) and concave up for x>2.

Answer the inflection point is (2,−12), and the curve is concave up for x>2.

Worked example

Show that v=5cos⁡(1000t) satisfies v′′=−ω2v, and find ω for an LC circuit with L = 10 mH and C = 100 µF.

Show the solution
  1. Differentiate twice. v′=−5000sin⁡(1000t) v′′=−5,000,000cos⁡(1000t)=−106v
  2. Read off ω. So ω2=106 and ω=1000.
  3. The LC circuit. ω=1LC=10.01×10−4=110−6=1000rad/s
  4. Compare. So this v is exactly that circuit's natural oscillation, at 1000/2π=159 Hz.

Answer v′′=−106v, so ω=1000 rad/s, the same as the LC circuit's 1/LC (159 Hz).

Worked example

A part's position is s(t)=t3−6t2+9t. Find its velocity and acceleration, and say when it's speeding up.

Show the solution
  1. Velocity. v=s′=3t2−12t+9=3(t−1)(t−3)
  2. Acceleration. a=v′=6t−12
  3. Compare signs. It speeds up when v and a have the same sign.
  4. From t=1 to t=2. v<0 and a<0, so it speeds up moving backward.
  5. From t=2 to t=3. It's slowing down.
  6. After t=3. Both are positive.

Answer v=3t2−12t+9 and a=6t−12; the part speeds up between t=1 and t=2 and after t=3.

Check

A position is x(t)=3t2−1t3. What is the acceleration at t = 2?

Check

What is the largest value of |d2dt22sin⁡(100t)|?

Check

Where is the inflection point of f(x)=x3−6x2+2x? Give x.

Check

An LC circuit's capacitor voltage obeys v′′=−1LCv. With L = 10 mH and C = 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 y(x) has y′′>0 at its bias point. A small sine goes in. What appears at the output besides the amplified sine?

Check

v=2sin⁡(100t), with t in seconds. Evaluate at t = 2 ms.

(a)

What is v′′?

(b)

What is v′′/v?

(c)

What is v′′′?

Check

Find the derivatives of f(x)=eax and its nth derivative at 0.

Step 1

What is f′(x)?

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°.

Explain why

What does the sign of the second derivative tell you about a curve, and why?

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.