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

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: ex 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 sin⁡x. The blue curve is its slope at every x, measured numerically from the yellow curve. The dashed curve is cos⁡x.
  • Move k to speed the sine up, sin⁡(kx). What happens to the size of its slope curve?
  • At which x is the sine steepest, and what is the slope curve doing there?

Predict

At x=0, ex=1. What is the slope of ex at x=0?

Name it

The table to know

f(x)f′(x)
exex
ekxkekx
sin⁡xcos⁡x
cos⁡x−sin⁡x
ln⁡x1/x
bx(ln⁡b)bx

All angles in radians: the clean results depend on limh→0⁡sin⁡h/h=1, which is true only in radians.

Why ex is its own slope. From the definition,

ex+h−exh=ex⋅eh−1h→ex⋅1

using the limit from lesson 2.

Why sine gives cosine. The angle-sum identity gives sin⁡(x+h)=sin⁡xcos⁡h+cos⁡xsin⁡h. For small h, cos⁡h≈1 and sin⁡h≈h, so the change in sin⁡ over a step h is about hcos⁡x, and the slope is cos⁡x.

With the chain rule, the ones you'll use most in circuits:

ddte−t/τ=−1τe−t/τddtAsin⁡(ωt+φ)=Aωcos⁡(ωt+φ)

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 v(t)=5e−t/2 and find its slope at t=0.

Show the solution
  1. Differentiate. v′(t)=5⋅(−12)e−t/2=−2.5e−t/2
  2. Evaluate at t=0. v′(0)=−2.5
  3. Check. The slope at the start is the starting value divided by the time constant, with a minus sign.

Answer v′(t)=−2.5e−t/2, and its slope at t=0 is −2.5.

Worked example

What is the largest rate of change of v=3sin⁡(100t)?

Show the solution
  1. Differentiate. v′=300cos⁡(100t)
  2. Find the peak. It peaks at 300 when cos⁡=1: at the zero crossings of v, where the sine is steepest.

Answer the largest rate of change is 300, at the zero crossings of v.

Worked example

A ringing current is i=2e−100tsin⁡(1000t) A. How fast is it rising at t=0, and when does it first peak?

Show the solution
  1. Product rule. i′=2e−100t(1000cos⁡(1000t)−100sin⁡(1000t))
  2. Rate at t=0. i′(0)=2×1000=2000A/s
  3. Set i′=0 for the first peak. 1000cos⁡(1000t)=100sin⁡(1000t) so tan⁡(1000t)=10.
  4. Solve for t. t=tan−1⁡(10)1000=1.471ms
  5. 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 t=0 and first peaks at 1.471 ms.

Check

Differentiate v(t)=V0e−t/τ with respect to t.

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 Asin⁡(ωt+φ) with respect to t.

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 v=V0e−t/τ with V0 = 5 V and τ = 1 ms. What is dv/dt at t=0, 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 e−atsin⁡(ωt).

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 v=5e−t/τ with τ = 1 ms.

(a)

What is v at t = 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 dv/dt there, in volts per second?

(c)

When has the slope fallen to 1% of its starting value?

Check

Show that v=Asin⁡(ωt+φ) satisfies v′′=−ω2v.

Step 1

Find v′.

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

Why are exponentials and sinusoids the natural answers to circuit equations?

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.