Formula index

FORMULA / 001

Euler's formula and phasors

Derives Euler's identity from Taylor series and maps rotating complex vectors to sinusoidal waveforms.

phasorcomplexsignal
Ready
\[e^{j\theta}=\cos\theta+j\sin\theta\]
Complex exponentials turn phase, frequency, and sinusoidal steady state into geometry.
01

Problem Definition

Problem statement and variable definition

On an oscilloscope, two AC nodes can have the same amplitude but arrive with a phase shift; the waveform looks delayed even when the circuit is in steady state.

Core variable legend

SymbolQuantityUnitMeaning
$j$Imaginary unitRotates a vector by 90 degrees.
$\theta$Phase angleradPosition of the rotating vector.
$\omega$Angular frequencyrad/sRotation speed in the complex plane.
$f$FrequencyHzCycles per second.
02

Analytical Derivation

Model assumptions and analytical derivation

Model simplifications

ItemAssumption
Assumption 1Signal is sinusoidal and steady state.
Assumption 2Amplitude is normalized unless stated otherwise.
Assumption 3Only the real projection is measured as the physical waveform.

Start from the exponential series

\[e^x=\sum_{n=0}^{\infty}\frac{x^n}{n!}\]

The power series is valid for real and complex arguments.

Known Taylor expansion.

Substitute a phase argument

\[e^{j\theta}=1+j\theta-\frac{\theta^2}{2!}-j\frac{\theta^3}{3!}+\cdots\]

Powers of j cycle through 1, j, -1, and -j.

Use j^2=-1.

Group real and imaginary terms

\[e^{j\theta}=\left(1-\frac{\theta^2}{2!}+\cdots\right)+j\left(\theta-\frac{\theta^3}{3!}+\cdots\right)\]

The two groups match cosine and sine series.

Identify Taylor series.
$\theta\to0$$e^{j\theta}\approx1+j\theta$

Small phase error is almost a linear imaginary perturbation.

$\theta=\pi$$e^{j\pi}=-1$

A half-cycle rotation flips signal polarity.

03

Parametric Verification

Parametric simulation and numerical verification

Use the sliders to change the physical parameters and watch the formula expose its behavior. The metric panel keeps sample count and compute latency visible so the visualization remains an engineering instrument, not only a picture.

INTERACTIVE MODULE

Rotating vector and projected waveform

f: 0.2–5Hz\phi: -180–180deg
Open interactive view
04

Engineering Application

Engineering application and implementation notes

Design rules

  1. Use phasors only after the transient has died out.
  2. Track the sign convention before mixing SPICE, RF, and control formulas.
  3. Convert degrees to radians before numerical computation.

Core algorithm

python
import numpy as np

def phasor(amplitude, phase_deg, t, f):
    phi = np.deg2rad(phase_deg)
    return np.real(amplitude * np.exp(1j * (2*np.pi*f*t + phi)))