---
title: Differentiating a sinusoid as multiplying by jω
heading: The rate of change of a sine wave is another sine wave
eyebrow: A3 · Lesson 15 · Differentiating with jω
xp: 40
---

::: hook
A capacitor's current is proportional to how fast its voltage is changing. Put a sine wave across one, and the current is set by the slope of the sine wave at each instant. What does that slope look like over time? It turns out to be another sine wave, and the phasor picture tells you its size and timing in one multiplication.

::: play
- The yellow curve is $v(t) = A\cos(2\pi f t)$. The dashed line touches it at the marked time; its steepness is the rate of change there.
- Move the marker along. The blue curve records the steepness at every time. What shape is it?
- Double f. What happens to the size of the blue curve? Double A instead.
:::
:::

```sim plot
view: graph
x: t = 0..2 s
y: y = -15..15
slider: A = 0.5..3 step 0.1 = 2
slider: f = 0.25..0.75 step 0.05 = 0.5 Hz
slider: t0 = 0..2 step 0.01 = 0.3 s
plot: A*cos(2*pi*f*t) | label: v(t)
plot: -2*pi*f*A*sin(2*pi*f*t) | color: ch2 | label: rate of change
plot: A*cos(2*pi*f*t0) - 2*pi*f*A*sin(2*pi*f*t0)*(t - t0) | dashed | color: ch3
point: t0, A*cos(2*pi*f*t0)
point: t0, -2*pi*f*A*sin(2*pi*f*t0) | color: ch2
readout: slope at t0 = -2*pi*f*A*sin(2*pi*f*t0)
readout: largest slope = 2*pi*f*A
```

::: predict
## You double the frequency and keep the amplitude. What happens to the largest rate of change?

- [ ] It stays the same, since the wave is just as tall
- [x] It doubles
- [ ] It halves
- [ ] It goes up four times

::: reveal
It doubles. The wave climbs from −A to +A in half the time, so it has to be twice as steep. The largest rate of change is $\omega A = 2\pi f A$: it grows with both the amplitude and the frequency. That's why a capacitor passes more current at higher frequencies.
:::
:::

::: nameit
## Differentiating multiplies the phasor by $j\omega$

The rate of change of $A\cos(\omega t + \varphi)$ is

$$\frac{d}{dt}\,A\cos(\omega t + \varphi) = -\omega A\sin(\omega t + \varphi) = \omega A\cos(\omega t + \varphi + 90°)$$

(A5 derives this; for now, the sim shows it.) Compared with the original, it is

- **ω times bigger**, because a faster wave is steeper, and
- **90° ahead**, because the slope is greatest where the wave crosses zero on the way up, a quarter cycle before the peak.

In phasor terms, multiplying by ω scales the arrow and multiplying by $j$ turns it a quarter turn ahead, so

$$\frac{dv}{dt} \quad\longleftrightarrow\quad j\omega\,\mathbf{V}$$

You can see why from Euler's formula: $v$ is the real part of $\mathbf{V}e^{j\omega t}$, and the rate of change of $e^{j\omega t}$ is $j\omega e^{j\omega t}$. **Integrating** undoes it, so it divides the phasor by $j\omega$: smaller by ω and 90° behind.

This is the reason phasors exist. Circuits with capacitors and inductors are described by rates of change:

- a capacitor's current is $i = C\,dv/dt$, so its phasor is $\mathbf{I} = j\omega C\,\mathbf{V}$;
- an inductor's voltage is $v = L\,di/dt$, so $\mathbf{V} = j\omega L\,\mathbf{I}$.

With phasors, every rate of change becomes a multiplication by $j\omega$, and a circuit's differential equations become ordinary algebra with complex numbers. The ratios $\mathbf{V}/\mathbf{I}$ are the **impedances**: $1/(j\omega C)$ for a capacitor and $j\omega L$ for an inductor, the subject of C3.
:::

::: example
## $v = 5\cos(1000t + 20°)$. Find $dv/dt$ with phasors and check it directly.

::: solution
1. **Phasor.**
   $$V = 5\angle 20°$$
2. **Multiply by $j\omega$.** Here $j\omega = 1000\angle 90°$:
   $$\begin{aligned} &(1000\angle 90°)(5\angle 20°) \\ &= 5000\angle 110° \end{aligned}$$
3. **Back to time.** In volts per second,
   $$\frac{dv}{dt} = 5000\cos(1000t + 110°)$$
4. **Check directly.** Use $-\sin x = \cos(x + 90°)$ for the last line:
   $$\begin{aligned} &\frac{d}{dt}5\cos(1000t + 20°) \\ &= -5000\sin(1000t + 20°) \\ &= 5000\cos(1000t + 110°) \end{aligned}$$
   which is the same answer.

**Answer:** $dv/dt = 5000\cos(1000t + 110°)$ V/s.
:::
:::

::: example
## A 1 µF capacitor has 10 V amplitude across it at 1 kHz. What current flows?

::: solution
1. **Find $\omega C$.** The current is $I = j\omega C\,V$, with
   $$\begin{aligned} \omega C &= 2\pi \times 1000 \times 10^{-6} \\ &= 6.283 \times 10^{-3}\ \text{S} \end{aligned}$$
2. **Current amplitude.**
   $$\begin{aligned} |I| &= 6.283 \times 10^{-3} \times 10 \\ &= 62.8\ \text{mA} \end{aligned}$$
3. **Phase.** The $j$ means the current leads the voltage by 90°.

**Answer:** a current of 62.8 mA amplitude flows, leading the voltage by 90°.
:::
:::

::: example
## A 50 mH inductor carries $i = 0.2\cos(2\pi \cdot 1000\,t)$ A. What voltage is across it?

::: solution
1. **Turn the derivative into $j\omega$.** $v = L\,di/dt$, and with phasors $d/dt$ becomes multiplication by $j\omega$:
   $$\begin{aligned} V &= j\omega L I \\ &= j(2\pi \times 1000)(0.05)(0.2) \\ &= j\,62.8\ \text{V} \end{aligned}$$
2. **Back to time.** In volts,
   $$v = 62.8\cos(2\pi \cdot 1000\,t + 90°)$$
3. **Read it.** The amplitude grows with frequency, and the voltage leads the current by a quarter cycle.

**Answer:** $v = 62.8\cos(2\pi \cdot 1000\,t + 90°)$ V, a quarter cycle ahead of the current.
:::
:::

::: check
given: A = 2..10 int; f = 50 | 60 | 100 | 1000
answer: 2*pi*f*A
unit: V/s
tolerance: 1%

## $v(t) = \given{A}\cos(2\pi \cdot \given{f}\,t)$ volts. What is the largest rate of change of $v$, in volts per second?

::: right
Right. The derivative's amplitude is $\omega A = 2\pi \times \given{f} \times \given{A}$ = {answer} V/s.
:::

::: misses
- [f*A] The angular frequency is $\omega = 2\pi f$. Multiply by that.
- [A] The wave's height isn't its steepness. A faster wave is steeper: multiply by ω.
- [2*pi*f*A^2] It's ω times the amplitude, with no square.
- [any] Not yet. Differentiating multiplies the amplitude by $\omega = 2\pi f$.
:::
:::

::: check
given: p = -60 | -30 | 0 | 20 | 45
answer: p + 90
unit: °
tolerance: 0.001

## A voltage has the phasor $5\angle\given{p}°$. What is the phase of its rate of change?

::: right
Right. Multiplying by $j\omega$ turns the phasor a quarter turn ahead: {p}° + 90°.
:::

::: misses
- [p - 90] The derivative leads, so its phase is 90° ahead: add 90°.
- [p] Differentiating changes the phase by a quarter turn.
- [any] Not yet. Multiplying by $j$ adds 90° to the angle.
:::
:::

::: check
given: C = 10n..10µ E6 F; f = 50 | 1000 | 10000; V = 1..10 int
answer: 2*pi*f*C*V
unit: A
tolerance: 1%

## A {C} capacitor has $\given{V}\cos(2\pi \cdot \given{f}\,t)$ volts across it. What is the amplitude of its current? ($i = C\,dv/dt$.)

::: right
Right. $\mathbf{I} = j\omega C\,\mathbf{V}$, so the amplitude is $\omega C V$ = {answer}.
:::

::: misses
- [C*V] That leaves out the rate of change: multiply by $\omega = 2\pi f$.
- [f*C*V] Use $\omega = 2\pi f$.
- [V/(2*pi*f*C)] That divides by $\omega C$. The current is $C$ times the rate of change, so multiply.
- [any] Not yet. The current's amplitude is $\omega C$ times the voltage's amplitude.
:::
:::

::: check
kind: choice

## Integrating a sinusoid does what to its phasor?

- [ ] Multiplies it by $j\omega$
- [x] Divides it by $j\omega$: smaller by ω, 90° behind
- [ ] Multiplies it by −1
- [ ] Leaves it unchanged

::: right
Right. Integrating undoes differentiating, so it divides by $j\omega$, and dividing by $j$ turns the arrow a quarter turn back.
:::

::: misses
- [1] That's differentiating. Integrating undoes it.
- [3] That's differentiating twice: $(j\omega)^2 = -\omega^2$, which flips the sign and scales by ω².
- [4] Integrating a sinusoid changes both its size and its timing.
:::
:::

::: check
kind: parts
given: L = 10 | 50 | 100; I = 0.1 | 0.5; f = 60 | 1000; C = 1 | 10

## A current $i = \given{I}\cos(2\pi \cdot \given{f}\,t)$ A flows.

::: part
answer: 2*pi*f*L*1e-3*I
unit: V
tolerance: 0.5%

### Through a {L} mH inductor, what is the amplitude of the voltage?

::: misses
- [L*1e-3*I] Differentiating brings out a factor $\omega = 2\pi f$.
- [any] $|V| = \omega L|I|$.
:::
:::

::: part
answer: I/(2*pi*f*C*1e-6)
unit: V
tolerance: 0.5%

### Through a {C} µF capacitor instead, what is the amplitude of the voltage?

::: misses
- [2*pi*f*C*1e-6*I] For a capacitor, $I = j\omega CV$, so divide.
- [any] $|V| = |I|/(\omega C)$.
:::
:::

::: part
answer: 180
unit: °
tolerance: 0.5%

### By how many degrees are those two voltages apart?

::: misses
- [90] Each is 90° from the current, on opposite sides.
- [any] The inductor's voltage leads the current by 90° and the capacitor's lags it by 90°.
:::
:::
:::

::: check
kind: derivation
vars: A = 1..5, w = 1..10, p = -3..3, t = 0..2

## Show that differentiating $A\cos(\omega t + p)$ multiplies its phasor by $j\omega$.

::: step
answer: -A*w*sin(w*t + p)

### Differentiate $A\cos(\omega t + p)$ with respect to $t$.
:::

::: step
answer: A*w*cos(w*t + p + pi/2)

### Rewrite it as a cosine with a positive amplitude.
:::

::: step
answer: j*w*A*exp(j*p)

### The new amplitude is $A\omega$ and the new phase $p + \pi/2$. Write the new phasor in terms of the old one, $Ae^{jp}$.
:::

::: right
Right. $e^{j\pi/2} = j$, so the new phasor is $j\omega$ times the old one: differentiation becomes multiplication.
:::
:::

::: explain
## Why is the rate of change of a cosine 90° ahead of it?

::: model
A cosine is steepest when it crosses zero and flat at its peaks and troughs. Climbing toward its peak, the steepest point comes a quarter cycle before the peak itself. So the rate of change reaches its own peak a quarter cycle, 90°, earlier than the cosine does, and it has the same shape: the rate of change is a sinusoid leading the original by 90°.
:::
:::

::: practice

::: check
given: A = 1..20 int; w = 10..1000 sig 2
answer: w*A
tolerance: 1%

## The phasor of $v$ is $\given{A}\angle 0°$ and $\omega$ = {w} rad/s. What is the magnitude of the phasor of $dv/dt$?

::: misses
- [A] Multiply by ω.
- [any] Differentiating multiplies by $j\omega$, so the length is multiplied by ω.
:::
:::

::: check
given: L = 1m..100m E6 H; f = 50 | 1000 | 10000; I = 0.1..2 sig 2 A
answer: 2*pi*f*L*I
unit: V
tolerance: 1%

## A {L} inductor carries a {f} Hz sinusoidal current of amplitude {I}. What is the amplitude of its voltage? ($v = L\,di/dt$.)

::: misses
- [L*I] Multiply by $\omega = 2\pi f$ too.
- [any] The voltage's amplitude is $\omega L$ times the current's amplitude.
:::
:::

::: check
given: A = 1..9 int; w = 2..20 int
answer: w^2*A
tolerance: 1%

## The phasor of $v$ is $\given{A}\angle 0°$ with $\omega$ = {w} rad/s. What is the magnitude of the phasor of its second rate of change, $d^2v/dt^2$?

::: misses
- [w*A] That's one rate of change. Differentiating twice multiplies by $j\omega$ twice.
- [any] $(j\omega)^2 = -\omega^2$: the length is multiplied by ω².
:::
:::

::: check
given: A = 1..9 int; w = 2..50 int
answer: A/w
tolerance: 1%

## The phasor of $v$ is $\given{A}\angle 0°$ with $\omega$ = {w} rad/s. What is the magnitude of the phasor of its integral?

::: misses
- [w*A] That's differentiating. Integrating divides by $j\omega$.
- [any] Integrating divides by $j\omega$, so the length is divided by ω.
:::
:::

::: check
given: p = -90..90 step 10
answer: p - 90
unit: °
tolerance: 0.001

## A current has the phasor $2\angle\given{p}°$. What is the phase of its integral?

::: misses
- [p + 90] Integrating turns the phasor back a quarter turn.
- [any] Dividing by $j$ subtracts 90°.
:::
:::
:::
