Add trigonometric terms by putting their cosine and sine parts back into a complex exponential. You will sum finite and convergent infinite geometric series, handle their exceptional cases, and recognise binomial coefficients hidden inside trigonometric sums.
Finite geometric sums of complex exponentials
Can you find the value of
1+21cosθ+41cos2θ+81cos3θ+⋯
without adding infinitely many terms? At θ=2π, every other term is zero, and the rest give 1−41+161−⋯=54. We will find one expression that works for every real θ.
The first move is to put the sine terms back. For example,
1+eiθ+e2iθ=(1+cosθ+cos2θ)+i(sinθ+sin2θ)
The real part is the cosine sum and the imaginary part is the sine sum. The complex expression is easier to add because it is a geometric progression with ratio eiθ.
You already know
Euler's formula gives eirθ=cosrθ+isinrθ. For a geometric progression with n terms, first term a and ratio q=1, the sum is a(1−qn)/(1−q). The same cancellation proof works with complex q.
Indeed, subtracting qS from S=a+aq+⋯+aqn−1 leaves (1−q)S=a(1−qn).
A finite complex geometric sum
For a positive integer n, complex a and complex q=1,
r=0∑n−1aqr=1−qa(1−qn)
When q=1, the sum is na, obtained directly rather than by dividing by zero.
In the formula booklet.
For a unit ratio it helps to rewrite a difference of exponentials symmetrically:
1−eiu=eiu/2(e−iu/2−eiu/2)=−2ieiu/2sin2u
This derived identity is not printed in the formula booklet. It converts the quotient into a real size times a single exponential.
Worked example 1: a finite cosine sum
Question. Determine Cn=r=0∑n−1cosrθ, where θ is not an integer multiple of 2π.
Plan. Sum the complex geometric progression, centre its numerator and denominator, then take the real part.
Sn=r=0∑n−1eirθ=1−eiθ1−einθ=−2ieiθ/2sin(θ/2)−2ieinθ/2sin(nθ/2)=sin(θ/2)sin(nθ/2)ei(n−1)θ/2geometric sumcentre each differencecancel factors
Why this step? The sine quotient is real, so the real part of the final expression is obtained just by replacing its exponential by its cosine part.
Answer.Cn=sin(θ/2)sin(nθ/2)cos((n−1)θ/2).
Check. For n=2 and θ=3π, the sum is 1+21=23. The formula gives sin(π/6)sin(π/3)cos(π/6)=23.
Worked example 2 changes only the part you extract: imaginary instead of real. The complex sum and all its conditions stay the same.
Worked example 2: a finite sine sum
Question. Determine Tn=r=0∑n−1sinrθ, where θ is not an integer multiple of 2π.
Plan. Use the same complex geometric progression and extract its imaginary part.
Cn+iTnTn=1−eiθ1−einθ=sin(θ/2)sin(nθ/2)ei(n−1)θ/2=sin(θ/2)sin(nθ/2)sin((n−1)θ/2)combine the two sumscentre and cancelimaginary part
Why this step? The imaginary part is the real coefficient of i; taking it introduces sine and leaves no i in the answer.
Answer.Tn=sin(θ/2)sin(nθ/2)sin((n−1)θ/2).
Check. At n=2, θ=3π, this is sin(π/6)sin(π/3)sin(π/6)=23, equal to sin0+sin3π.
The two real sum formulae are not in the formula booklet: obtain them from its geometric-series formula. If θ=2kπ, each cosine term is 1 and each sine term is 0, so Cn=n and Tn=0. The quotient formulae then read 0/0 and cannot be substituted into directly.
Watch out
Wrong: ∑r=1neirθ=(1−einθ)/(1−eiθ). That expression starts at r=0. Right: the first term is eiθ, so multiply the quotient by eiθ.
Changing the first index rotates the whole complex sum by one step, which changes the angle in its final cosine factor.
Convergent trigonometric sums
A factor that shrinks each term turns the complex geometric progression into a convergent infinite series.
Write q=ρeiθ. Its modulus is ∣q∣=∣ρ∣, because ∣eiθ∣=1. If ∣ρ∣<1, then ∣qn∣=∣ρ∣n→0, so both the real and imaginary parts of the omitted tail tend to zero. This is the condition that permits an infinite sum.
An infinite complex geometric sum
For complex a,q with ∣q∣<1,
r=0∑∞aqr=1−qa
The modulus condition is essential; in particular, q=eiθ has modulus 1 and does not give a convergent geometric series.
In the formula booklet.
The sum of a complex GP is also the sum of its real parts plus i times the sum of its imaginary parts. Rationalise 1−ρeiθ=1−ρcosθ−iρsinθ to read them off.
Worked example 3: the opening infinite cosine sum
Question. Determine C=r=0∑∞2−rcosrθ.
Plan. Sum the GP with ratio 21eiθ, then multiply by the conjugate of its denominator.
S=r=0∑∞(21eiθ)r=1−21eiθ1=(1−21cosθ)2+41sin2θ1−21cosθ+21isinθ=45−cosθ1−21cosθ+21isinθ∣q∣=21<1use the conjugatecos2θ+sin2θ=1
Why this step? A real denominator makes the real and imaginary parts visible, while its squared-modulus form shows it cannot vanish here.
Answer.C=5−4cosθ4−2cosθ.
Check. At θ=0, the sum is 1+21+41+⋯=2, and the formula gives 2. At θ=2π, it gives 54, answering the numerical case from the opening.
Worked example 4 changes only cosine to sine. The convergence condition and the denominator are unchanged.
Worked example 4: the matching infinite sine sum
Question. Determine T=r=0∑∞2−rsinrθ.
Plan. Extract the imaginary part of the same convergent complex GP after rationalising its denominator.
r=0∑∞2−reirθT=1−21eiθ1=5−4cosθ4−2cosθ+2isinθ=5−4cosθ2sinθ∣q∣=21<1rationalise; multiply by 4imaginary part
Why this step? The complex sum solves the cosine and sine problems together; extracting a different part requires no new summation.
Answer.T=5−4cosθ2sinθ.
Check. At θ=2π, the series is 21−81+321−⋯=1+1/41/2=52, agreeing with the formula.
These rational trigonometric sum expressions are derived results, not printed in the formula booklet. More generally the denominator is 1−2ρcosθ+ρ2, the squared modulus of 1−ρeiθ.
Watch out
Wrong: an infinite sum of eirθ equals 1/(1−eiθ) whenever the denominator is non-zero. A non-zero denominator is not a convergence test. Right: use the infinite GP formula only when the modulus of the ratio is less than 1.
Changing the shrinking factor changes the denominator's squared modulus; the extraction of the imaginary part stays the same.
Binomial coefficients in trigonometric sums
When the coefficients are binomial coefficients, use a binomial expansion instead of a geometric sum.
For example, 1,4,6,4,1 are the coefficients of (1+z)4, so
1+4eiθ+6e2iθ+4e3iθ+e4iθ=(1+eiθ)4
The coefficients change, so this is not a GP. Its real and imaginary parts are still the desired trigonometric sums.
The binomial sum
For a non-negative integer n and complex z,
r=0∑n(rn)zr=(1+z)n
In the formula booklet.
Here the sum has n+1 terms. To simplify the right side, centre the exponential sum:
1+eiθ=eiθ/2(e−iθ/2+eiθ/2)=2cos2θeiθ/2
This derived identity is not separately printed. It is valid even when cos(θ/2) is negative: the expression is an algebraic product, and we are not claiming its real prefactor is a modulus.
Worked example 5: a binomial cosine sum
Question. Determine r=0∑n(rn)cosrθ, for a positive integer n.
Plan. Recognise the real part of (1+eiθ)n, centre the bracket, and use de Moivre.
SRe(S)=r=0∑n(rn)eirθ=(1+eiθ)n=(2cos2θ)neinθ/2=2ncosn2θcos2nθbinomial theoremcentre; take the integer powerreal part
Why this step? The entire coefficient (2cos(θ/2))n is real, so it stays outside when you extract the real part.
Answer.r=0∑n(rn)cosrθ=2ncosn2θcos2nθ.
Check. For n=2, θ=3π, the sum is 1+2(21)−21=23. The expression is 4(23)2(21)=23.
Worked example 6 changes only the part extracted, so the sine sum follows from the very same expansion.
Worked example 6: a binomial sine sum
Question. Determine r=0∑n(rn)sinrθ, for a positive integer n.
Plan. Sum the complex binomial expression and extract its imaginary part.
SIm(S)=(1+eiθ)n=2ncosn2θ(cos2nθ+isin2nθ)=2ncosn2θsin2nθbinomial theoremde Moivrecoefficient of i
Why this step? Taking imaginary parts gives the sine sum directly, including its sign; no division by a trigonometric expression is needed.
Answer.r=0∑n(rn)sinrθ=2ncosn2θsin2nθ.
Check. At n=2, θ=3π, the sum is 2(23)+23=233, also the value of the formula.
The binomial cosine and sine sum results are not printed in the formula booklet: they come from its binomial theorem and de Moivre's theorem. A factor ar changes the bracket to 1+aeiθ; alternating signs change it to 1−eiθ. Recognising the coefficients tells you which expansion to choose.
Problem-solving
Combine cosine and sine first, then inspect the coefficients: constant ratio suggests a GP; binomial coefficients suggest a power of a bracket.
An angle step of 2θ simply replaces eiθ by e2iθ inside the binomial bracket.
Quick Recap
Add eirθ terms first; their real and imaginary parts give cosine and sine sums.
Count the terms and identify the first term before using a finite GP formula.
Handle ratio 1 directly; do not substitute into a zero denominator.
An infinite complex GP requires its ratio to have modulus less than 1.
Binomial coefficients call for (1+z)n, followed by de Moivre and extraction of a real or imaginary part.
The opening infinite series is (4−2cosθ)/(5−4cosθ), so at θ=2π it is exactly 54.
Learn faster with Nova
Ask for a simpler explanation, a quick recap, or help connecting the ideas in this lesson.