---
title: Rotating phasors
heading: A sine wave as a rotating arrow
eyebrow: A3 · Lesson 12 · Rotating phasors
xp: 40
---

::: hook
The voltage at a US wall outlet swings from +170 V to −170 V and back, sixty times a second. Engineers describe all of that motion with one arrow. Spin it and watch the shadow it casts on the real axis.

::: play
- The chart under the circle records the shadow. New ink appears at the top line and scrolls down.
- Drag the tip outward and back. Watch the height of the wave.
- Drag the tip around the circle. Watch where the wave starts.
:::
:::

```sim phasor
```

::: predict
run: double-frequency

## You double the frequency. What happens on the chart?

- [ ] The peaks get twice as tall
- [x] The peaks come twice as close together
- [ ] The wave slides sideways
- [ ] Nothing changes

::: reveal
The arrow now spins twice as fast, so its shadow swings back and forth twice as often and the peaks bunch up. The arrow is as long as it was, so the peaks are as tall as they were.
:::
:::

::: nameit
## The voltage is the arrow's shadow on the real axis

$$v(t) = A\,\cos(\omega t + \varphi) = \operatorname{Re}\left\{A e^{j(\omega t + \varphi)}\right\}$$

::: legend
- [arrow] $A$: The arrow's length, which is also the wave's peak. You set it by dragging the tip.
- [plain] $\omega$: How fast the arrow spins, in radians per second. Since $\omega = 2\pi f$, the frequency slider sets it.
- [ray] $\varphi$: Where the arrow points at $t = 0$. That's the faint ray, and it moves to wherever you let go of the tip.
- [proj] Re: The real part, which is the shadow on the horizontal axis. The dashed line draws it.
:::

Freeze the arrow at $t = 0$ and you have the **phasor** $\mathbf{V} = A\angle\varphi$. In a circuit running at one frequency, every voltage and current spins at that same rate, so the spin carries no information and engineers leave it out. All that's left is each arrow's length and angle, and that's what makes AC circuits work like DC ones with complex numbers.
:::

::: example
## $v(t) = 10\cos(2\pi \cdot 50\,t + 30°)$ volts. What is its phasor, and what is $v$ at $t$ = 2 ms?

::: solution
1. **Read off the phasor.**
   $$V = 10\angle 30°$$
2. **How far the arrow turns in 2 ms.**
   $$\begin{aligned} 2\pi \times 50 \times 0.002 &= 0.628\ \text{rad} \\ &= 36° \end{aligned}$$
   so it's at $30° + 36° = 66°$.
3. **Take its shadow on the real axis.**
   $$10\cos 66° = 4.07\ \text{V}$$

**Answer:** the phasor is $10\angle 30°$, and $v$ = 4.07 V at 2 ms.
:::
:::

::: example
## A 1 kHz voltage has the phasor $3\angle{-45°}$. Write it as a function of time and find $v(0)$.

::: solution
1. **Write the cosine.**
   $$v(t) = 3\cos(2\pi \cdot 1000\,t - 45°)$$
2. **Set $t = 0$.**
   $$\begin{aligned} v(0) &= 3\cos(-45°) \\ &= 2.12\ \text{V} \end{aligned}$$
   the real part of the phasor.

**Answer:** $v(t) = 3\cos(2\pi \cdot 1000\,t - 45°)$, and $v(0) = 2.12$ V.
:::
:::

::: example
## A 50 Hz voltage of amplitude 10 V is zero at $t = 0$ and rising. What is its phasor?

::: solution
1. **Compare with a cosine.** A cosine is at its peak at $t = 0$; a wave that is zero and rising there is a quarter cycle behind a cosine.
2. **Write it as a function of time.**
   $$\begin{aligned} v(t) &= 10\cos(2\pi \cdot 50\,t - 90°) \\ &= 10\sin(2\pi \cdot 50\,t) \end{aligned}$$
3. **The phasor.**
   $$10\angle{-90°} = -j10\ \text{V}$$
   A sine wave always has its phasor 90° behind the cosine with the same timing.

**Answer:** the phasor is $10\angle{-90°}$, or $-j10$ V.
:::
:::

::: check
given: A = 3..10 int; phi = 15 | 30 | 60 | 75 °
answer: A*cos(phi°)
unit: V
show: A={A} phi={phi}
show-label: Set the sim to {A}∠{phi} and look

## The phasor is {A}∠{phi} V. What is the voltage at $t = 0$?

::: right
Correct. An arrow {A} V long, tilted {phi}, casts a shadow of {A} cos {phi} = {answer} on the real axis.
:::

::: misses
- [A] That is the arrow's length. At $t = 0$ the arrow is tilted {phi}, so its shadow is shorter.
- [A*sin(phi°)] That is the imaginary part, {A} sin {phi}. The voltage is the shadow on the real axis.
- [-A*cos(phi°)] The size is right but the sign is wrong. At {phi} the arrow points to the right, so its shadow is on the positive side.
- [any] Not yet. Find where the tip's shadow lands on the real axis at $t = 0$.
:::
:::

::: check
kind: expression
answer: 8*cos(2*pi*f*t + pi/3)
vars: f = 0.1..3, t = 0..4
show: A=8 phi=60
show-label: Set the sim to 8∠60° and watch

## An arrow 8 V long points at 60° when $t = 0$ and turns $f$ times a second. Write $v(t)$.

::: right
Right. Each turn adds $2\pi$ to the angle, so after $t$ seconds the arrow points at $2\pi f t + 60°$, and the voltage is its shadow, $8\cos(2\pi f t + 60°)$.
:::

::: misses
- [8*sin(2*pi*f*t + pi/3)] That is the shadow on the imaginary axis. The voltage is the real part, so it uses cosine.
- [8*cos(f*t + pi/3)] Here $f$ counts turns per second, and each turn is $2\pi$ radians, so the angle grows as $2\pi f t$.
- [8*cos(2*pi*f*t + 60)] A bare 60 means 60 radians. Write 60° or $\pi/3$.
- [8*cos(2*pi*f*t)] That arrow starts flat along the real axis. This one starts at 60°.
- [8*cos(2*pi*f*t - pi/3)] The start angle has the wrong sign. 60° is measured counterclockwise from the real axis, so it adds to the angle.
- [any] Not yet. Start from $v(t) = A\cos(\omega t + \varphi)$ and fill in each symbol for this arrow.
:::
:::

::: check
kind: sketch
x: t = 0..4 s
y: v = -5..5 V
curve: 4*cos(pi*t + pi/2)
show: A=4 phi=90 f=0.5
show-label: Set the sim to 4∠90° at 0.5 Hz

## Sketch $v(t)$ for the phasor 4∠90° V turning at 0.5 Hz, over the first 4 seconds.

Time runs to the right here, the way most charts are drawn. Drag across the pad to draw. Drawing over a stretch again replaces it.

::: right
Right. The arrow starts pointing straight up, so its shadow starts at 0 V. As it turns counterclockwise it swings to the left, so the voltage goes negative first. At 0.5 Hz it makes two full turns in 4 seconds.
:::
:::

::: check
kind: parts
given: A = 5 | 10 | 170; f = 50 | 60 | 1000; p = -60 | 30 | 135; t = 1 | 2.5

## A voltage has the phasor $\given{A}\angle\given{p}°$ V at {f} Hz.

::: part
answer: A*cos(2*pi*f*t*1e-3 + p*pi/180)
unit: V
tolerance: 0.5%

### What is $v$ at $t$ = {t} ms?

::: misses
- [A*cos(2*pi*f*t*1e-3 + p)] Turn the phase into radians before adding it.
- [A*sin(2*pi*f*t*1e-3 + p*pi/180)] The phasor stands for a cosine.
- [any] $v(t) = A\cos(2\pi ft + \varphi)$.
:::
:::

::: part
answer: (-p - 360*floor(-p/360))/(360*f)
unit: s
tolerance: 0.5%

### When, after $t = 0$, does it first reach its peak?

::: misses
- [p/(360*f)] A positive phase means the peak comes before $t = 0$, so the next one comes later than a full period minus that.
- [any] The cosine peaks when $2\pi ft + \varphi$ reaches the next multiple of 360°.
:::
:::
:::

::: check
kind: derivation
vars: A = 1..10, p = -3..3, w = 100..1000, t = 0..0.01

## Show that the phasor $Ae^{jp}$ stands for $A\cos(\omega t + p)$.

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

### Multiply the phasor by $e^{j\omega t}$ and combine the exponentials.
:::

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

### Take the real part.
:::

::: step
answer: A*cos(p)

### What is the signal at $t = 0$?
:::

::: right
Right. The phasor is the arrow at $t = 0$; spinning it at $\omega$ and taking the real part gives the signal.
:::
:::

::: check
given: A = 5 | 10 | 170; phi = 30 | 60 | 120 | 210 | 300 °; f = 50 | 60 | 1000 Hz
answer: (360 - phi)/(360*f)
unit: s
tolerance: 1%

## A voltage has the phasor {A}∠{phi} V and a frequency of {f}. How long after $t = 0$ does it first reach its positive peak of {A} V?

::: right
Right. The voltage peaks when the arrow points along the positive real axis. Starting at {phi} and turning counterclockwise, it still has 360° − {phi} to go, which is that fraction of one period: {answer}.
:::

::: misses
- [phi/(360*f)] That's how long the arrow took to get from 0° to {phi}. It turns counterclockwise, so from {phi} it still has 360° − {phi} to go before it points right.
- [(360 - phi)/f] That treats the angle as a number of whole turns. Divide the angle by 360° to get the fraction of a period.
- [any] Not yet. Find the angle the arrow still has to turn to point along the positive real axis, as a fraction of 360°, and multiply by the period.
:::
:::

::: explain
## Why can the wave never be taller than the arrow is long?

::: model
The wave is the arrow's shadow, and a shadow on the real axis can never reach farther than the arrow itself. The peak happens whenever the arrow lies flat along the real axis, pointing right for the positive peak and left for the negative one, and then the shadow is exactly as long as the arrow.
:::
:::

::: practice

::: check
given: A = 1..20 int; phi = -170 | -130 | -100 | -60 | -20 | 20 | 50 | 80 | 110 | 140 | 170
answer: A*cos(phi°)
tolerance: 0.01

## The phasor is {A}∠{phi}° V. What is the voltage at $t = 0$?

::: misses
- [A*sin(phi°)] That's the shadow on the imaginary axis. The voltage is the real part.
- [A] At $t = 0$ the arrow is tilted, so its shadow is shorter than the arrow.
- [any] The voltage is the arrow's shadow on the real axis: $A\cos\varphi$.
:::
:::

::: check
given: A = 1..20 int; phi = -170 | -130 | -100 | -60 | -20 | 20 | 50 | 80 | 110 | 140 | 170
answer: phi
unit: °
tolerance: 0.001

## $v(t) = \given{A}\cos(\omega t + (\given{phi}°))$. What is the angle of its phasor?

::: misses
- [-phi] The phasor's angle is the phase as written.
- [any] The phasor of $A\cos(\omega t + \varphi)$ is $A\angle\varphi$.
:::
:::

::: check
given: A = 1..20 int; f = 1..9 int; t = 0.05..0.95 sig 2
answer: A*cos(2*pi*f*t)
tolerance: 0.01

## An arrow {A} V long starts flat along the real axis and turns {f} times a second. What is the voltage at $t$ = {t} s?

::: misses
- [A*cos(f*t)] Each turn is 2π radians: the angle is $2\pi f t$.
- [A*sin(2*pi*f*t)] The voltage is the shadow on the real axis, a cosine.
- [any] The angle at time t is $2\pi f t$; the voltage is $A$ times its cosine.
:::
:::

::: check
kind: expression
given: A = 2..9 int; f = 2..9 int
answer: A*cos(2*pi*f*t - pi/2)
vars: t = 0..1

## An arrow {A} V long points straight down at $t = 0$ and turns {f} times a second. Write $v(t)$.

::: misses
- [A*cos(2*pi*f*t + pi/2)] Straight down is −90°, measured counterclockwise from the positive real axis.
- [A*cos(2*pi*f*t)] That arrow starts flat along the positive real axis.
- [any] Use $A\cos(2\pi f t + \varphi)$ with φ = −90°, written as $-\pi/2$.
:::
:::
:::
