jjangub
- 20
- 0
Homework Statement
Evaluate \int_{0}^{2\pi} (cos^4\theta + sin^4\theta) d\theta by converting it to a complex integral over the unit circle and applying the Residue Theorem.
Homework Equations
The Attempt at a Solution
First, I switch (cos^4\theta + sin^4\theta) to 1-2cos^2\theta+2cos^4\theta (I will skip this one, this is not hard)
and then coverting to a complex integral by inputting cos\theta = (z+1/z)/2 and
multiply cos terms by 1/iz, so 1 - 1/iz(((-2)(z+1/z)/2)^2 + ((2)(z+1/z)/2)^4)
this is how prof. taught us...we have to use this formula
so if I do the work and make it simpler, then I get equal to
= (-z^8+2z^6+8iz^5+z^4+2z^2-1)/(8iz^5) in integral(-infinity to infinity)
= 2\pii \sum (Residue of f on upper half plane)
= 2\pii(-1/8i)Res0
= -\pii/4Res0
since Resa = h(z)/(z-a)^n = h^(n-1)(a)/(n-1!)
so in this case, Res0 = h^4(0)/(4!)
h(z) = z^8-2z^6-8iz^5-z^4-2z^2+1
if we do h^4(0), we get -12, so
= (-\pii/4)*(-12/4!) = \pi/8
I did it in this way and I got this answer.
Did I do anything wrong?
Thank you.