The interactive film is in the book's Companion

Play it, pause it, turn it and drag it with Mathematics for AI and Machine Learning.

Get the book

Euler's Formula: Complex Multiplication Is a Rotation

Chapter 3 · Mathematics for AI and Machine Learning · Beginner · 1:36

An interactive live film: e^{iθ} climbs a helix over the complex plane whose shadows are the cosine and sine waves; multiplying z by it turns z by θ and keeps |z|, the same numbers as the 2D rotation matrix R(θ).

Narration

The floor is the complex plane: the real part along one axis, the imaginary part along the other. The point e to the i theta is cos theta plus i sin theta, and it always lies on the unit circle.

Lift the point by its angle. As theta grows, it climbs a spiral, and from above you see only the unit circle, because its length is always one.

The rest of the narration is in the book's Companion.

More from Chapter 3

Interactive1:47The Four Fundamental SubspacesChapter 3Preview1:45Orthonormal Matrices: Lengths Survive, Even through Many LayersChapter 3Preview1:41Linear Regression Uses All Four SubspacesChapter 3