← Root & Branch

Euler’s Formula: Rotations, Powers, and Roots

Connect exponentials to trigonometry and use complex numbers in applied mathematics.


Euler’s formula connects the exponential function with sine and cosine. We will derive it from the series in the previous lesson, then use it to multiply complex numbers, find all their roots, and describe an oscillation or an AC circuit. Keep angles in radians throughout.

Before you begin: Complex Series and Trigonometric Functions →

1. Derive Euler’s formula from the series

Substitute z=iθz=i\theta into the exponential series, with θ\theta real. The powers of ii cycle through i,−1,−i,1i,-1,-i,1. Separate the real terms from the imaginary terms.

The real terms are exactly the cosine series. The imaginary terms are ii times the sine series. The exponential series is absolutely convergent, so this regrouping is valid.

The result is Euler’s formula. At θ=π\theta=\pi, it gives eiπ=−1e^{i\pi}=-1, often written eiπ+1=0e^{i\pi}+1=0.

eiθ=1+iθ−θ22!−iθ33!+θ44!+⋯e^{i\theta}=1+i\theta-\frac{\theta^2}{2!}-i\frac{\theta^3}{3!}+\frac{\theta^4}{4!}+\cdots
eiθ=(1−θ22!+⋯ )+i(θ−θ33!+⋯ )e^{i\theta}=\left(1-\frac{\theta^2}{2!}+\cdots\right)+i\left(\theta-\frac{\theta^3}{3!}+\cdots\right)
eiθ=cos⁡θ+isin⁡θ\boxed{e^{i\theta}=\cos\theta+i\sin\theta}

Worked example · Four points on the unit circle

  1. At angles 00, π/2\pi/2, π\pi, and 3π/23\pi/2, Euler’s formula gives 11, ii, −1-1, and −i-i respectively.
  2. Each has modulus 11, as cos⁡2θ+sin⁡2θ=1\cos^2\theta+\sin^2\theta=1.
  3. Increasing the angle by 2π2\pi returns to the same point: ei(θ+2π)=eiθe^{i(\theta+2\pi)}=e^{i\theta}.

Remember: For real θ\theta, eiθe^{i\theta} is a point on the unit circle at angle θ\theta.

2. Write a complex number as r e^(iθ)

Euler’s formula shortens the polar form to z=reiθz=re^{i\theta}. For nonzero zz, r=∣z∣>0r=|z|>0 and θ\theta is any argument of zz.

For a general exponent a+iba+ib with real a,ba,b, the exponential law gives ea+ib=ea(cos⁡b+isin⁡b)e^{a+ib}=e^a(\cos b+i\sin b). The real part of the exponent controls the modulus; the imaginary part controls the angle.

z=a+bi=r(cos⁡θ+isin⁡θ)=reiθz=a+bi=r(\cos\theta+i\sin\theta)=re^{i\theta}
∣ea+ib∣=ea|e^{a+ib}|=e^a

Worked example · Convert both ways

  1. For 1+i1+i, r=2r=\sqrt2 and θ=π/4\theta=\pi/4. Therefore 1+i=2eiπ/41+i=\sqrt2e^{i\pi/4}.
  2. To convert 2e−iπ/32e^{-i\pi/3} to rectangular form, use cos⁡(−π/3)=1/2\cos(-\pi/3)=1/2 and sin⁡(−π/3)=−3/2\sin(-\pi/3)=-\sqrt3/2.
  3. Thus 2e−iπ/3=1−i32e^{-i\pi/3}=1-i\sqrt3.

Remember: Rectangular, polar, and exponential forms describe the same number in different useful ways.

3. Multiplication scales and rotates

The exponential law makes multiplication especially simple: multiply the moduli and add the angles. For division by a nonzero number, divide the moduli and subtract the angles.

Multiplying by i=eiπ/2i=e^{i\pi/2} rotates a point anticlockwise by 90∘90^\circ without changing its distance from the origin. More generally, multiplication by reiθre^{i\theta} scales distances by rr and rotates by θ\theta.

Angles add as arguments, but the sum may lie outside the principal range. Add or subtract full turns if a principal argument is required.

(r1eiθ1)(r2eiθ2)=r1r2ei(θ1+θ2)(r_1e^{i\theta_1})(r_2e^{i\theta_2})=r_1r_2e^{i(\theta_1+\theta_2)}
r1eiθ1r2eiθ2=r1r2ei(θ1−θ2)(r2>0)\frac{r_1e^{i\theta_1}}{r_2e^{i\theta_2}}=\frac{r_1}{r_2}e^{i(\theta_1-\theta_2)}\qquad(r_2>0)
Multiplying by 2 doubles a complex number's length; multiplying by i keeps the length and rotates it 90 degrees.× 2: STRETCH× i: ROTATE 90°z2zziz90°same direction, twice as longsame length, a quarter turnMultiplying multiplies the lengths and adds the angles

Worked example · Rotate a displacement

  1. Represent the displacement (2,1)(2,1) by z=2+iz=2+i.
  2. Multiply by ii: i(2+i)=−1+2ii(2+i)=-1+2i. The new point is (−1,2)(-1,2), a quarter-turn anticlockwise.
  3. For a polar product, (2eiπ/3)(3eiπ/6)=6eiπ/2=6i(2e^{i\pi/3})(3e^{i\pi/6})=6e^{i\pi/2}=6i.

Remember: Multiplication combines lengths by multiplying and directions by adding angles.

4. Powers: De Moivre’s theorem

Multiplying a number by itself repeats the same scaling and rotation. For a positive integer nn, raise the modulus to the nnth power and multiply the angle by nn.

This gives De Moivre’s theorem. It also holds for zero and negative integer powers when the base is nonzero. Fractional powers require more care because there are generally several roots.

(reiθ)n=rneinθ(re^{i\theta})^n=r^ne^{in\theta}
(cos⁡θ+isin⁡θ)n=cos⁡(nθ)+isin⁡(nθ)(\cos\theta+i\sin\theta)^n=\cos(n\theta)+i\sin(n\theta)

Worked example · Calculate (1 + i)⁸

  1. Write 1+i=2eiπ/41+i=\sqrt2e^{i\pi/4}.
  2. Raise the modulus and multiply the angle: (1+i)8=(2)8ei2π(1+i)^8=(\sqrt2)^8e^{i2\pi}.
  3. Since (2)8=16(\sqrt2)^8=16 and ei2π=1e^{i2\pi}=1, the answer is 1616.

Remember: For integer powers, polar or exponential form avoids expanding large brackets.

5. Find every nth root

To solve wn=zw^n=z for nonzero z=reiθz=re^{i\theta} and a positive integer nn, write w=ρeiϕw=\rho e^{i\phi}. Comparing moduli gives ρn=r\rho^n=r. Comparing angles gives nϕ=θ+2kπn\phi=\theta+2k\pi.

There are exactly nn distinct roots. Take k=0,1,…,n−1k=0,1,\ldots,n-1; further integer values repeat the same points. The roots lie equally spaced around a circle of radius r1/nr^{1/n}. For z=0z=0, the only distinct root is w=0w=0.

wk=r1/nei(θ+2kπ)/n,k=0,1,…,n−1\boxed{w_k=r^{1/n}e^{i(\theta+2k\pi)/n},\quad k=0,1,\ldots,n-1}
The three cube roots of 8Three points on a circle of radius two: 2 on the real axis, negative one plus i square root of three above, and negative one minus i square root of three below. They are equally spaced by 120 degrees.RealImaginary02−1 + i√3−1 − i√3
All three cube roots of 8 have modulus 2 and are separated by 120°.

Worked example · All cube roots of 8

  1. Write 8=8ei08=8e^{i0} and use n=3n=3. Every root has modulus 81/3=28^{1/3}=2.
  2. The three angles are 00, 2π/32\pi/3, and 4π/34\pi/3.
  3. The roots are 22, −1+i3-1+i\sqrt3, and −1−i3-1-i\sqrt3. Their angles differ by 2π/32\pi/3, or 120∘120^\circ.
  4. Cubing any of these triples its angle to a full number of turns and cubes its modulus to 88.

Remember: An nth-root problem for a nonzero complex number has nn equally spaced solutions.

6. Recover sine and cosine from exponentials

Apply Euler’s formula to θ\theta and −θ-\theta. Adding the equations isolates cosine; subtracting them isolates sine. These identities also hold for complex inputs zz, using their power-series definitions.

Where cos⁡z≠0\cos z\ne0, tangent is defined as tan⁡z=sin⁡z/cos⁡z\tan z=\sin z/\cos z. Sine and cosine are defined for all complex inputs, but tangent is undefined where its denominator vanishes.

To see why this is useful, multiply eiαe^{i\alpha} and eiβe^{i\beta} and expand their sine-cosine forms. Equating real and imaginary parts gives the familiar angle-addition identities.

cos⁡z=eiz+e−iz2,sin⁡z=eiz−e−iz2i\cos z=\frac{e^{iz}+e^{-iz}}2,\qquad\sin z=\frac{e^{iz}-e^{-iz}}{2i}
cos⁡(α+β)=cos⁡αcos⁡β−sin⁡αsin⁡β\cos(\alpha+\beta)=\cos\alpha\cos\beta-\sin\alpha\sin\beta
sin⁡(α+β)=sin⁡αcos⁡β+cos⁡αsin⁡β\sin(\alpha+\beta)=\sin\alpha\cos\beta+\cos\alpha\sin\beta

Worked example · A general complex cosine

  1. For real x,yx,y, substitute z=x+iyz=x+iy into the exponential formula for cosine.
  2. Simplifying with the definitions of cosh and sinh gives cos⁡(x+iy)=cos⁡xcosh⁡y−isin⁡xsinh⁡y\cos(x+iy)=\cos x\cosh y-i\sin x\sinh y.
  3. Similarly, sin⁡(x+iy)=sin⁡xcosh⁡y+icos⁡xsinh⁡y\sin(x+iy)=\sin x\cosh y+i\cos x\sinh y. At x=0x=0, these reduce to the imaginary-input identities from the previous lesson.

Remember: Complex exponentials turn trigonometric identities into algebra.

7. Application: represent a wave by a rotating number

A real oscillation can be written as x(t)=Acos⁡(ωt+ϕ)x(t)=A\cos(\omega t+\phi), where AA is a nonnegative amplitude, ω\omega is angular frequency in radians per unit time, and ϕ\phi is a phase angle. Euler’s formula writes this as the real part of a complex exponential.

The constant complex number X=AeiϕX=Ae^{i\phi} is called a phasor. The time-dependent expression XeiωtXe^{i\omega t} rotates; its real part is the measurable oscillation. A phasor keeps track of amplitude and phase together.

For signals with the same angular frequency, add the phasors and then take the real part. This can be easier than combining trigonometric expressions. If you know calculus, differentiation multiplies XeiωtXe^{i\omega t} by iωi\omega, which explains its usefulness in differential equations.

x(t)=Re⁡{Aeiϕeiωt}x(t)=\operatorname{Re}\{Ae^{i\phi}e^{i\omega t}\}

Worked example · Add two oscillations

  1. Add cos⁡(ωt)\cos(\omega t) and cos⁡(ωt+π/2)\cos(\omega t+\pi/2). Their phasors are 11 and ii.
  2. The total phasor is 1+i=2eiπ/41+i=\sqrt2e^{i\pi/4}.
  3. Therefore the combined real signal is 2cos⁡(ωt+π/4)\sqrt2\cos(\omega t+\pi/4). Equal individual amplitudes do not simply add to 22 because the phases differ.

Remember: A phasor packages amplitude and phase; take the real part to return to the real signal.

8. Application: a simple AC circuit

In sinusoidal steady state at one angular frequency ω>0\omega>0, complex impedance relates voltage and current phasors: V=ZIV=ZI. A resistor contributes RR, an inductor contributes iωLi\omega L, and a capacitor contributes 1/(iωC)=−i/(ωC)1/(i\omega C)=-i/(\omega C). Series impedances add.

Here RR is resistance in ohms, LL is inductance in henries, and CC is capacitance in farads. Electrical engineering often writes jj instead of ii to avoid confusion with current; the mathematical rule is the same, j2=−1j^2=-1.

Use one consistent amplitude convention. In this example, all phasor moduli are peak amplitudes and the real signal is obtained with eiωte^{i\omega t}.

ZR=R,ZL=iωL,ZC=−iωC,I=VZZ_R=R,\qquad Z_L=i\omega L,\qquad Z_C=-\frac{i}{\omega C},\qquad I=\frac VZ

Worked example · Current through a series RL circuit

  1. Suppose R=3R=3 ohms and ωL=4\omega L=4 ohms. The impedance is Z=3+4iZ=3+4i ohms, with modulus 55 ohms.
  2. Let the voltage phasor be V=10V=10 volts. Then I=10/(3+4i)=10(3−4i)/25=1.2−1.6iI=10/(3+4i)=10(3-4i)/25=1.2-1.6i amperes.
  3. The peak current is ∣I∣=2|I|=2 amperes. Its phase is −arctan⁡(4/3)≈−0.927-\arctan(4/3)\approx-0.927 radians, so the current lags the voltage.
  4. With v(t)=10cos⁡(ωt)v(t)=10\cos(\omega t), the real current is 2cos⁡(ωt−0.927)2\cos(\omega t-0.927) amperes, approximately. Complex division computed both its amplitude and phase.

Remember: In AC analysis, the modulus gives an amplitude ratio and the argument gives a phase shift.

9. A final formula sheet and study routine

Use rectangular form for addition and subtraction; exponential form for multiplication, division, powers, and roots. Check a result by converting back or substituting it into the original equation.

For roots, list every required value of kk. For angles, keep radians and the principal-argument convention consistent. For series, check convergence before using an infinite-sum formula. These habits are more useful than memorising formulas without their conditions.

eiθ=cos⁡θ+isin⁡θ,eiπ+1=0e^{i\theta}=\cos\theta+i\sin\theta,\quad e^{i\pi}+1=0
(reiθ)n=rneinθ,wk=r1/nei(θ+2kπ)/n(re^{i\theta})^n=r^ne^{in\theta},\quad w_k=r^{1/n}e^{i(\theta+2k\pi)/n}
cos⁡z=eiz+e−iz2,sin⁡z=eiz−e−iz2i\cos z=\frac{e^{iz}+e^{-iz}}2,\quad\sin z=\frac{e^{iz}-e^{-iz}}{2i}

Remember: You can now connect complex arithmetic, geometry, series, trigonometry, and simple applied models.

Check your understanding

Objective questions

10 multiple-choice questions, with one correct answer each. Try them before revealing the explanations. Your answers stay on this page until you leave or reload.

1. Which identity is Euler’s formula for real θ\theta?
2. What is e−iπ/2e^{-i\pi/2}?
3. Find ∣e2+3i∣|e^{2+3i}|.
4. Simplify (2eiπ/3)(3eiπ/6)(2e^{i\pi/3})(3e^{i\pi/6}).
5. What is (1+i)8(1+i)^8?
6. How many distinct fourth roots does 1616 have in the complex numbers?
7. Which list contains all cube roots of 88?
8. Which expression equals sin⁡z\sin z?
9. What happens when you multiply 3+2i3+2i by ii?
10. With peak voltage phasor V=10V=10 V and impedance Z=3+4iZ=3+4i ohms, what is the peak current?

Choose an answer for all 10 questions to check them.