PhysSandbox
Classical MechanicsWaves & SoundElectricity & MagnetismOptics & LightGravity & OrbitsLabs
🌙Astronomy & The Sky🌡️Thermodynamics🌍Biophysics, Fluids & Geoscience📐Math Visualization🔧Engineering🧪Chemistry

More from Math Visualization

Other simulators in this category — or see all 46.

View category →
NewKids

Chaos Game (Sierpiński)

Random vertex + midpoint walk; the attractor is the Sierpiński gasket — try RGB by vertex.

Launch Simulator
NewUniversity / research

Lagrange vs Cubic Spline

Click knots: Lagrange polynomial vs natural cubic spline; Runge preset shows edge oscillations.

Launch Simulator
NewSchool

Least Squares Fit

Noisy linear data; fitted slope and intercept with residuals.

Launch Simulator
NewUniversity / research

Convolution (pulses)

Two rectangular pulses; overlap length at τ = 0.

Launch Simulator
NewUniversity / research

Euler vs RK4 (Pendulum)

Same nonlinear pendulum ODE and step h; Euler vs RK4 side by side.

Launch Simulator
NewSchool

Lotka–Volterra

N′ = αN−βNP, P′ = δNP−γP; phase plane RK4; equilibrium dot.

Launch Simulator
PhysSandbox

Interactive physics, chemistry, and engineering simulators for students, teachers, and curious minds.

Physics

  • Classical Mechanics
  • Waves & Sound
  • Electricity & Magnetism

Science

  • Optics & Light
  • Gravity & Orbits
  • Astronomy & The Sky

More

  • Thermodynamics
  • Biophysics, Fluids & Geoscience
  • Math Visualization
  • Engineering
  • Chemistry

© 2026 PhysSandbox. Free interactive science simulators.

PrivacyTermsContact
Home/Math Visualization/Complex Phasor

Complex Phasor

A phasor is a powerful mathematical tool for representing oscillating quantities, such as alternating currents or simple harmonic waves. This simulator visualizes the fundamental complex phasor, defined by the equation e^iω t = cos(ω t) + isin(ω t), where i is the imaginary unit, ω is the angular frequency, and t is time. Euler's formula, e^iphi = cosphi + isinphi, is the cornerstone of this representation, linking complex exponentials to circular motion. The model plots this phasor as a rotating vector on the complex plane, tracing the unit circle. Its horizontal projection (real part, Re) gives a cosine function, and its vertical projection (imaginary part, Im) gives a sine function. The instantaneous angle relative to the positive real axis is the phase, phi = ω t. A key simplification is that the phasor's magnitude (or amplitude) is held constant at 1, focusing purely on the relationship between rotation, oscillation, and phase. By interacting with the simulation, students learn to interpret the geometric meaning of the complex exponential, see how uniform circular motion projects to simple harmonic motion, and understand how the phase angle phi completely describes the state of the oscillation. This foundational concept is essential for analyzing AC circuits, wave interference, and any system described by linear differential equations with sinusoidal solutions.

Who it's for: High school and undergraduate students in physics, engineering, and mathematics courses encountering oscillations, waves, or AC circuit theory for the first time.

Key terms

  • Phasor
  • Euler's Formula
  • Complex Plane
  • Angular Frequency
  • Phase Angle
  • Unit Circle
  • Imaginary Unit
  • Simple Harmonic Motion

Oscillation

1.2 rad/s
0°
1×

Euler’s formula ties cosine and sine to the complex exponential. The projection on the real axis is cos(ωt+φ); on the imaginary axis, sin(ωt+φ) — the same harmonic motion used in AC circuits and waves.

Measured values

Re = cos(θ)1.000
Im = sin(θ)0.000

How it works

A point exp(iωt) on the unit circle rotates at angular speed ω. Its real and imaginary parts are the in-phase and quadrature components of simple harmonic motion.

Frequently asked questions

Is the imaginary part 'imaginary' in a physical sense?
While the imaginary unit i is a mathematical construct, the imaginary part of a complex phasor represents a real, measurable quantity. In physics, we often use the complex representation for mathematical convenience, then take either the real part (Re) or imaginary part (Im) to correspond to the actual physical oscillation, such as voltage or displacement.
Why use a rotating arrow (phasor) instead of just a sine wave graph?
Phasors transform trigonometry problems into simpler geometry and algebra. Adding two sine waves of the same frequency is complicated with trigonometric identities, but with phasors, you simply add the vectors. This makes analyzing systems like AC circuits with multiple components much more efficient.
What does the simulator's simplification of a constant magnitude (amplitude=1) mean?
It focuses on the core relationship between rotation and oscillation. In real systems, phasors can have different magnitudes representing different amplitudes (e.g., voltage peaks). The principles of rotation and phase addition remain the same; you would just be working with vectors of different lengths.
Where are phasors used in real-world engineering?
Phasors are ubiquitous in electrical engineering for analyzing alternating current (AC) circuits, where voltages and currents are sinusoidal. They are also essential in signal processing, optics for wave superposition, and the study of any vibrating mechanical system, like springs or pendulums.