Logo
Published on

Trigonometric Integration and De Moivre’s Theorem

Authors
  • avatar
    Name
    Vu Hung
    Twitter

Problem Statement

Integrating simple trigonometric functions like sin(x)\sin(x) and cos(x)\cos(x) is straightforward. However, when you encounter high powers of these functions—like sin6(x)\sin^6(x) or cos4(x)\cos^4(x)—standard substitution fails. To solve these, you must rely on trigonometric identities (like the double angle formula) to reduce the power.

For very high powers, even standard trig identities become tedious. This is where the magic of complex numbers enters the picture. De Moivre’s Theorem can be used to elegantly prove trigonometric identities, converting high powers of sin\sin or cos\cos into a sum of multiple angles, which can then be easily integrated.

Consider the integral of cos4(θ)\cos^4(\theta). We will solve this using the connection between complex numbers and trigonometry. Let z=cosθ+isinθz = \cos\theta + i\sin\theta.

(a) Show that z+z1=2cosθz + z^{-1} = 2\cos\theta and zn+zn=2cos(nθ)z^n + z^{-n} = 2\cos(n\theta).

(b) By expanding (z+z1)4(z + z^{-1})^4 using the binomial theorem, express cos4(θ)\cos^4(\theta) in the form Acos(4θ)+Bcos(2θ)+CA \cos(4\theta) + B \cos(2\theta) + C.

(c) Hence, evaluate the indefinite integral cos4(θ)dθ\int \cos^4(\theta) \, d\theta.


Hints

  • Part (a): Use De Moivre's Theorem: zn=(cosθ+isinθ)n=cos(nθ)+isin(nθ)z^n = (\cos\theta + i\sin\theta)^n = \cos(n\theta) + i\sin(n\theta). Remember that cos(x)=cos(x)\cos(-x) = \cos(x) and sin(x)=sin(x)\sin(-x) = -\sin(x).
  • Part (b): The binomial expansion of (A+B)4(A + B)^4 is A4+4A3B+6A2B2+4AB3+B4A^4 + 4A^3B + 6A^2B^2 + 4AB^3 + B^4. Substitute zz and z1z^{-1}, then group the terms into pairs of (zn+zn)(z^n + z^{-n}). Use the result from part (a) to convert these back into cosines.
  • Part (c): Substitute the expanded expression from part (b) into the integral. You are now integrating a linear combination of cos(4θ)\cos(4\theta) and cos(2θ)\cos(2\theta), which is a standard calculus procedure.

Solutions

Part (a): Complex Number Properties

  1. Let z=cosθ+isinθz = \cos\theta + i\sin\theta.
  2. By De Moivre's Theorem, zn=cos(nθ)+isin(nθ)z^n = \cos(n\theta) + i\sin(n\theta).
  3. Similarly, zn=cos(nθ)+isin(nθ)z^{-n} = \cos(-n\theta) + i\sin(-n\theta).
  4. Since cosine is an even function and sine is an odd function: zn=cos(nθ)isin(nθ)z^{-n} = \cos(n\theta) - i\sin(n\theta)
  5. Adding znz^n and znz^{-n} together: zn+zn=(cos(nθ)+isin(nθ))+(cos(nθ)isin(nθ))z^n + z^{-n} = (\cos(n\theta) + i\sin(n\theta)) + (\cos(n\theta) - i\sin(n\theta)) zn+zn=2cos(nθ)z^n + z^{-n} = 2\cos(n\theta)
  6. If n=1n=1, we get the specific case: z+z1=2cosθz + z^{-1} = 2\cos\theta

Part (b): Expanding with the Binomial Theorem

  1. From (a), we know (2cosθ)4=(z+z1)4(2\cos\theta)^4 = (z + z^{-1})^4.
  2. Expand using the binomial theorem (coefficients 1, 4, 6, 4, 1): (z+z1)4=z4+4(z3)(z1)+6(z2)(z2)+4(z)(z3)+(z1)4(z + z^{-1})^4 = z^4 + 4(z^3)(z^{-1}) + 6(z^2)(z^{-2}) + 4(z)(z^{-3}) + (z^{-1})^4 (z+z1)4=z4+4z2+6+4z2+z4(z + z^{-1})^4 = z^4 + 4z^2 + 6 + 4z^{-2} + z^{-4}
  3. Group the terms with matching powers: (2cosθ)4=(z4+z4)+4(z2+z2)+6(2\cos\theta)^4 = (z^4 + z^{-4}) + 4(z^2 + z^{-2}) + 6
  4. Use the identity zn+zn=2cos(nθ)z^n + z^{-n} = 2\cos(n\theta) to convert back to trigonometry: 16cos4θ=2cos(4θ)+4(2cos(2θ))+616\cos^4\theta = 2\cos(4\theta) + 4(2\cos(2\theta)) + 6 16cos4θ=2cos(4θ)+8cos(2θ)+616\cos^4\theta = 2\cos(4\theta) + 8\cos(2\theta) + 6
  5. Divide by 16 to isolate cos4θ\cos^4\theta: cos4θ=18cos(4θ)+12cos(2θ)+38\cos^4\theta = \frac{1}{8}\cos(4\theta) + \frac{1}{2}\cos(2\theta) + \frac{3}{8} (This is in the required form Acos(4θ)+Bcos(2θ)+CA \cos(4\theta) + B \cos(2\theta) + C).

Part (c): Evaluating the Integral

  1. Substitute the expanded expression into the integral: cos4(θ)dθ=(18cos(4θ)+12cos(2θ)+38)dθ\int \cos^4(\theta) \, d\theta = \int \left( \frac{1}{8}\cos(4\theta) + \frac{1}{2}\cos(2\theta) + \frac{3}{8} \right) \, d\theta
  2. Integrate term by term, remembering that cos(kx)dx=1ksin(kx)\int \cos(kx) dx = \frac{1}{k}\sin(kx):
    • 18cos(4θ)dθ=18×14sin(4θ)=132sin(4θ)\int \frac{1}{8}\cos(4\theta) \, d\theta = \frac{1}{8} \times \frac{1}{4}\sin(4\theta) = \frac{1}{32}\sin(4\theta)
    • 12cos(2θ)dθ=12×12sin(2θ)=14sin(2θ)\int \frac{1}{2}\cos(2\theta) \, d\theta = \frac{1}{2} \times \frac{1}{2}\sin(2\theta) = \frac{1}{4}\sin(2\theta)
    • 38dθ=38θ\int \frac{3}{8} \, d\theta = \frac{3}{8}\theta
  3. Combine and add the constant of integration CC: cos4(θ)dθ=132sin(4θ)+14sin(2θ)+38θ+C\int \cos^4(\theta) \, d\theta = \frac{1}{32}\sin(4\theta) + \frac{1}{4}\sin(2\theta) + \frac{3}{8}\theta + C

Takeaways

  • Cross-Topic Application: This problem highlights the beauty of Extension 2 Mathematics. You use Complex Numbers (De Moivre's) and Algebra (Binomial Theorem) to solve a Calculus (Integration) problem.
  • Power Reduction: The overarching goal when integrating even powers of sine or cosine is always "power reduction." You must convert cosn(θ)\cos^n(\theta) into expressions involving cos(kθ)\cos(k\theta) with no powers.
  • The z+z1z + z^{-1} Trick: Memorise the identities z+z1=2cosθz + z^{-1} = 2\cos\theta and zz1=2isinθz - z^{-1} = 2i\sin\theta. They are your keys to unlocking these high-power trigonometric integrals.

Further Readings


Connect with me

If you found this elegant interplay between complex numbers and calculus helpful, dive into my complete booklets on Vu's Maths Hub. I post detailed walkthroughs of similar cross-topic HSC problems on my YouTube channel. Follow me on Instagram for daily maths tips, and subscribe to my Substack to join the conversation on advanced mathematical concepts.