← Root & Branch

Complex Series and Trigonometric Functions

Extend convergence, power series, sine, and cosine to complex inputs, one step at a time.


You now know how to calculate with complex numbers. The next question is what happens when we add infinitely many of them or put a complex number into a familiar function. This lesson uses partial sums and power series from Chapter 1. We will review the essential definitions before extending them.

Before you begin: Complex Numbers: Start with the Basics →

1. What does convergence mean in the plane?

A sequence znz_n converges to LL when the distance ∣zn−L∣|z_n-L| approaches zero. The points must settle towards a single point in the complex plane. This happens exactly when the real parts approach the real part of LL and the imaginary parts approach its imaginary part.

For a complex series, first form the partial sum SN=z1+z2+⋯+zNS_N=z_1+z_2+\cdots+z_N. The series converges if SNS_N approaches a finite complex number. Equivalently, both component series must converge.

∑n=1∞(an+ibn)=∑n=1∞an+i∑n=1∞bnif both sums converge\sum_{n=1}^{\infty}(a_n+ib_n)=\sum_{n=1}^{\infty}a_n+i\sum_{n=1}^{\infty}b_n\quad\text{if both sums converge}

Worked example · Separate the components

  1. Consider ∑n=1∞(1+i)/2n\sum_{n=1}^{\infty}(1+i)/2^n.
  2. Its real part is ∑n=1∞1/2n=1\sum_{n=1}^{\infty}1/2^n=1. Its imaginary coefficient has the same sum.
  3. Both converge, so the complex sum is 1+i1+i.

Remember: A complex sum converges when both of its real component sums converge.

2. Absolute convergence gives a useful test

A series is absolutely convergent if the real, nonnegative series ∑∣zn∣\sum|z_n| converges. Absolute convergence guarantees convergence of the complex series. It is a sufficient condition, not a necessary one.

The term test still applies: if znz_n does not approach zero, the series diverges. Terms approaching zero do not guarantee convergence; the harmonic series remains a counterexample.

The ratio test uses the limit LL below when it exists and the ratios are eventually defined. If L<1L<1, the series converges absolutely. If L>1L>1 (including an infinite limit), it diverges. If L=1L=1, use another test.

L=lim⁡n→∞∣zn+1zn∣L=\lim_{n\to\infty}\left|\frac{z_{n+1}}{z_n}\right|

Worked example · Magnitudes remove rotating signs

  1. For ∑n=1∞in/n2\sum_{n=1}^{\infty}i^n/n^2, each ∣in∣=1|i^n|=1, so the absolute-value series is ∑1/n2\sum1/n^2.
  2. That real p-series converges because p=2>1p=2>1. Therefore the complex series converges absolutely.
  3. We have proved convergence without finding the exact sum. These are different tasks.

Remember: Taking moduli often turns a complex convergence problem into a familiar real one.

3. A geometric ratio can be complex

A geometric series has first term AA and common ratio qq, which may now be complex. The finite-sum derivation uses only algebra, so it still works. When ∣q∣<1|q|<1, the modulus of qNq^N tends to zero, giving the infinite sum.

For a nonzero first term, the series diverges when ∣q∣≥1|q|\geq1: its terms do not approach zero. If A=0A=0, every term is zero.

∑n=0N−1Aqn=A(1−qN)1−q(q≠1)\sum_{n=0}^{N-1}Aq^n=\frac{A(1-q^N)}{1-q}\quad(q\ne1)
∑n=0∞Aqn=A1−q(∣q∣<1)\sum_{n=0}^{\infty}Aq^n=\frac{A}{1-q}\quad(|q|<1)

Worked example · Sum 1 + i/2 + (i/2)² + ⋯

  1. Here A=1A=1, q=i/2q=i/2, and ∣q∣=1/2<1|q|=1/2<1.
  2. The sum is 1/(1−i/2)1/(1-i/2). Multiply numerator and denominator by 1+i/21+i/2.
  3. This gives (1+i/2)/(1+1/4)=4/5+(2/5)i(1+i/2)/(1+1/4)=4/5+(2/5)i.

Remember: Check the modulus of the ratio before summing a complex geometric series.

4. An interval becomes a disc

A complex power series has the form ∑an(z−c)n\sum a_n(z-c)^n, where the coefficients and centre may be complex. It converges absolutely inside a radius RR about cc and diverges outside. Boundary points must be checked separately.

For real inputs, ∣x−c∣<R|x-c|<R describes an interval. In the complex plane, ∣z−c∣<R|z-c|<R describes the inside of a circle, called an open disc. A power series always converges at its centre. A radius can also be zero or infinite.

∑n=0∞(z−1)n2n=11−(z−1)/2(∣z−1∣<2)\sum_{n=0}^{\infty}\frac{(z-1)^n}{2^n}=\frac{1}{1-(z-1)/2}\qquad(|z-1|<2)
On the real line a power series converges on an interval |x| < R; in the complex plane the same rule |z| < R gives a disc.REAL LINECOMPLEX PLANE()-R0RRconverges on an interval|x| < Rconverges on a disc|z| < RSame rule, one more dimension: the interval becomes a disc

Worked example · Check a complex input

  1. The centre of this series is 11 and its radius is 22, since its ratio is (z−1)/2(z-1)/2.
  2. At z=1+iz=1+i, ∣z−1∣=∣i∣=1<2|z-1|=|i|=1<2, so it converges. The sum is 1/(1−i/2)=4/5+(2/5)i1/(1-i/2)=4/5+(2/5)i.
  3. On the boundary ∣z−1∣=2|z-1|=2, the ratio has modulus one. In this particular geometric example, every boundary point diverges because the terms have modulus one. Other power series can have different boundary behaviour.

Remember: The same radius idea works in two dimensions: replace an interval by a disc.

5. Define the complex exponential by a series

For a complex input zz, define eze^z by the same power series used for real inputs. Here n!n! means the factorial: n!=1×2×⋯×nn!=1\times2\times\cdots\times n, with 0!=10!=1.

For fixed z≠0z\ne0, the ratio of successive term magnitudes is ∣z∣/(n+1)|z|/(n+1), which tends to zero. At z=0z=0, the series equals 11. Thus the exponential series converges absolutely for every complex zz.

A finite truncation is an approximation, not an exact equality. The usual exponential law eu+v=eueve^{u+v}=e^u e^v remains valid for complex numbers; it can be derived by multiplying the absolutely convergent series and collecting equal powers.

ez=∑n=0∞znn!=1+z+z22!+z33!+⋯e^z=\sum_{n=0}^{\infty}\frac{z^n}{n!}=1+z+\frac{z^2}{2!}+\frac{z^3}{3!}+\cdots

Worked example · Approximate e^(0.1i)

  1. Keep terms through z3z^3 with z=0.1iz=0.1i.
  2. Since (0.1i)2=−0.01(0.1i)^2=-0.01 and (0.1i)3=−0.001i(0.1i)^3=-0.001i, the approximation is 1+0.1i−0.01/2−0.001i/61+0.1i-0.01/2-0.001i/6.
  3. So e0.1i≈0.995+0.0998333ie^{0.1i}\approx0.995+0.0998333i. The omitted tail has modulus at most e∣z∣∣z∣4/4!<0.00000461e^{|z|}|z|^4/4!<0.00000461 here. This bound follows by bounding the magnitudes of the remaining exponential-series terms.

Remember: The exponential series works for every complex input, and a short polynomial can approximate it.

6. Sine and cosine also accept complex inputs

Define complex sine and cosine by the power series below. Both converge absolutely for every complex zz, using the ratio test on successive nonzero series terms. For real inputs, these agree with the familiar trigonometric functions, with angles measured in radians.

To evaluate an imaginary input, substitute it into the series and simplify powers of ii. The alternating signs can disappear. For example, (iy)2n=(−1)ny2n(iy)^{2n}=(-1)^n y^{2n} for real yy.

cos⁡z=∑n=0∞(−1)nz2n(2n)!=1−z22!+z44!−⋯\cos z=\sum_{n=0}^{\infty}\frac{(-1)^n z^{2n}}{(2n)!}=1-\frac{z^2}{2!}+\frac{z^4}{4!}-\cdots
sin⁡z=∑n=0∞(−1)nz2n+1(2n+1)!=z−z33!+z55!−⋯\sin z=\sum_{n=0}^{\infty}\frac{(-1)^n z^{2n+1}}{(2n+1)!}=z-\frac{z^3}{3!}+\frac{z^5}{5!}-\cdots

Worked example · Substitute z = i

  1. For cosine, cos⁡i=1−i2/2!+i4/4!−⋯=1+1/2!+1/4!+⋯\cos i=1-i^2/2!+i^4/4!-\cdots=1+1/2!+1/4!+\cdots.
  2. For sine, sin⁡i=i−i3/3!+i5/5!−⋯=i(1+1/3!+1/5!+⋯ )\sin i=i-i^3/3!+i^5/5!-\cdots=i(1+1/3!+1/5!+\cdots).
  3. Thus cos⁡i\cos i is real and greater than 11, while sin⁡i\sin i is purely imaginary. The familiar real-input bound ∣cos⁡x∣≤1|\cos x|\leq1 does not extend to all complex inputs.

Remember: Power series extend sine and cosine consistently beyond the real line.

7. A useful bridge to hyperbolic functions

Two related functions appear naturally when the input is imaginary. For real yy, define hyperbolic cosine and hyperbolic sine using the real exponentials below. They are written cosh and sinh.

Expanding eye^y and e−ye^{-y} shows that cosh contains the even powers and sinh the odd powers. Comparing with the sine and cosine series gives cos⁡(iy)=cosh⁡y\cos(iy)=\cosh y and sin⁡(iy)=isinh⁡y\sin(iy)=i\sinh y.

The identity cos⁡2z+sin⁡2z=1\cos^2z+\sin^2z=1 still holds for complex inputs. At z=iyz=iy, it becomes cosh⁡2y−sinh⁡2y=1\cosh^2y-\sinh^2y=1, because i2=−1i^2=-1. These functions later appear in differential equations and models of hanging cables.

cosh⁡y=ey+e−y2,sinh⁡y=ey−e−y2\cosh y=\frac{e^y+e^{-y}}2,\qquad\sinh y=\frac{e^y-e^{-y}}2
cos⁡(iy)=cosh⁡y,sin⁡(iy)=isinh⁡y\cos(iy)=\cosh y,\qquad\sin(iy)=i\sinh y

Remember: Imaginary inputs connect trigonometric functions to real exponential growth and decay.

Check your understanding

Objective questions

8 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. When does ∑(an+ibn)\sum(a_n+ib_n) converge?
2. What does convergence of ∑∣zn∣\sum|z_n| guarantee?
3. Find ∑n=0∞(i/2)n\sum_{n=0}^{\infty}(i/2)^n.
4. Does 1+i+i2+i3+⋯1+i+i^2+i^3+\cdots converge?
5. Which input lies inside ∣z−1∣<2|z-1|<2?
6. Where does the power series for eze^z converge?
7. Which expression equals cos⁡i\cos i?
8. Which expression equals sin⁡(2i)\sin(2i)?

Choose an answer for all 8 questions to check them.