Euler's formula on the unit circle

The question
At θ = 1 radian, what degree gets a Taylor arrow chain within 0.01 of its target?
Choose first, then add the arrows and measure the miss.
- 1 SeeChoose a degree; build its arrow chain.
- 2 TryTest a prediction and an error bound.
- 3 ProveSeparate the even and odd powers.
- 4 ApplyUse phases, rotations, and partial sums.
Before you start · 3 quick checks on complex coordinates, factorials, and radians
Two ideas before you start
2 ideasRead a complex number as a displacement
A complex displacement and its horizontal and vertical components.
Add arrows head to tail. Their horizontal components add, and their vertical components add.
Exact definition
Write \(z=x+iy\), where \(x,y\) are real and \(i^2=-1\). The point is \((x,y)\), with real coordinate first and imaginary coordinate second. Its modulus, \(|z|=\sqrt{x^2+y^2}\), is its distance from the origin. The distance between two complex points is \(|z-w|\).
The complex multiplication lesson explains the coordinate rule and how multiplication turns and scales an arrow. Here the new operation is an infinite sum. An arrow chain adds terms; it does not multiply successive endpoints.
A series is a limit of finite sums
Partial sums of the real exponential at a chosen real input.
A finite polynomial gives an approximation. The series means the limit as the degree grows.
Exact definition
For any complex number \(z\), define the exponential by
\[e^z=\sum_{k=0}^{\infty}\frac{z^k}{k!}.\]Here \(0!=1\), and \(k!\) multiplies the positive integers through \(k\). The sum through \(k=n\) is a partial sum of degree at most \(n\), with \(n+1\) terms including the constant. On the real axis this agrees with the exponential from the limit defining e, because its Taylor series converges to that function.
Taylor polynomials develops the real series and its remainder. This lesson extends the exponential to complex inputs using that series as the definition. An imaginary exponent is not a real growth rate.
Refresher: radians and convergence
Angles are real and measured in radians throughout. A full counterclockwise turn is \(2\pi\); clockwise angles are negative. On the unit circle, angle \(\theta\) gives the point \((\cos\theta,\sin\theta)\). Equal units on both axes make that circle round.
A complex sequence converges when both coordinates converge, equivalently when its distance from the limiting point tends to zero. A series converges absolutely when the sum of the moduli of its terms is finite. Absolute convergence permits separating the even and odd terms. The proof below supplies a tail bound for the series used here, so no separate course on infinite series is needed.
Choose an arrow budget
- Choose a degree before seeing the chain. Aim for the smallest degree that meets the distance tolerance.
- Press Build my choice, then Add next arrow until your budget is used. Try again or move to the next target.
Each arrow is a term of the same sum:
\[S_n(\theta)=\sum_{k=0}^{n}\frac{(i\theta)^k}{k!}.\]The first arrow is the constant term. Each following arrow is obtained from the previous term by multiplying by \(i\theta/k\), where \(k\) is its new index. Positive angles make successive terms turn counterclockwise by a right angle; negative angles reverse that turn. The factorial changes each length.
The chain is a path through partial sums at one fixed angle. It is not the path traced by changing the angle. Later arrows can become too short to see at this scale; the distance readout still measures the miss. Meeting the tolerance is an approximate match, not exact arrival.
Check an endpoint, then bound a tail
Keep the distinction between a partial sum and its limit. The next question concerns one particular finite sum; answer before opening its measurements.
Find a degree with a guarantee
- Move the degree slider until the bound meets the current goal. The goal checks a guarantee, rather than a measured miss alone.
- Next goal resets the degree. A bound can be larger than the actual error.
Where the guarantee comes from
Let \(a=|\theta|\), and suppose \(n+2\gt a\). The first omitted term has modulus \(a^{n+1}/(n+1)!\). Each later term length is at most \(q=a/(n+2)\) times the length before it, and \(q\lt1\). Comparing with a geometric series gives
\[\begin{aligned}|e^{i\theta}-S_n(\theta)|&\le B_n(\theta),\\B_n(\theta)&=\frac{a^{n+1}}{(n+1)!}\frac{1}{1-q}.\end{aligned}\]Cancellation can make the actual error much smaller. The bound ignores directions and adds lengths. When the ratio condition fails, this particular bound is unavailable; that does not mean the exponential series diverges. Increasing the degree eventually makes the condition hold for any fixed angle.
Separate the two coordinates
For every real angle \(\theta\), in radians, with the complex exponential defined by its power series,
\[e^{i\theta}=\cos\theta+i\sin\theta.\]Consequently \(|e^{i\theta}|=1\). The proof uses \(i^2=-1\), absolute convergence, and the real sine and cosine Taylor series. It does not assume the formula it is proving.
Build each step, or choose Read it. Statements about coefficients refer to the series as a whole, including at a zero angle where many evaluated terms vanish.
Turns, periodicity, and the familiar identity
At a half turn, cosine is negative one and sine is zero. Substitution gives \(e^{i\pi}+1=0\). This is a consequence of the full formula, not its definition.
Adding a full turn changes neither coordinate, so \(e^{i(\theta+2\pi)}=e^{i\theta}\). The exponent is therefore not uniquely recoverable from its value. For real angles \(\alpha,\beta\), real trigonometric addition formulas give
\[e^{i\alpha}e^{i\beta}=e^{i(\alpha+\beta)}.\]Multiplying a complex displacement by \(e^{i\alpha}\) rotates it through \(\alpha\) and preserves its length. This restates the polar multiplication rule with exponential notation. A changing angle gives continuous rotation, although the partial-sum arrow chain itself consists of straight segments.
Speed along the circle. Assume the real derivative rules \((\cos)'=-\sin\) and \((\sin)'=\cos\), which hold when angles are measured in radians. Differentiating the two coordinates of \(\theta\mapsto\cos\theta+i\sin\theta\) separately gives the velocity \(-\sin\theta+i\cos\theta=ie^{i\theta}\). Its modulus is one, and it points a quarter turn ahead of the position. So as \(\theta\) increases, \(e^{i\theta}\) moves counterclockwise around the unit circle at unit speed, and from angle \(0\) to angle \(\theta\ge0\) it travels arc length \(\theta\). This uses the formula proved above; it is not a second proof of it.
Use the formula in five settings
Each answer is one real number. Enter a decimal with no units. The tolerance in each problem is measured against the unrounded answer. Start with the component or distance requested; a complex number has two coordinates, and they play different roles.
For the real exponential behind the series, revisit the limit defining e. The present lesson adds complex inputs and a geometric interpretation, while keeping the real trigonometric functions.
Further reading
- J. W. Brown and R. V. Churchill, Complex Variables and Applications, chapter 3, “Elementary Functions.”