Simple complex numbers integral

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 2K views
elcotufa
Messages
20
Reaction score
0

Homework Statement


Integrate using complex numbers
[tex] \int\limits_0^{2\pi} cos^4(\theta)[/tex]


Homework Equations


[tex] cos^4(\theta)= (\frac{e^{j\theta} + e^{-j\theta}}2)^4[/tex]

The Attempt at a Solution


[tex] <br /> \frac 1{2^4} (e^{j\theta} + e^{-j\theta})^4 [/tex]

I got
[tex] \frac 1{2^4} \int^{2\pi}_0 (e^{4j\theta}+4e^{2j\theta}+4e^{-2j\theta}+e^{-4j\theta}+6)[/tex]

After this I am not sure what to do

The integral of [tex] \int e^{4j}[/tex] would be [tex]\frac{e^{4j\theta}}{4j}[/tex]?

How do I cancel them?

Input appreciated
 
Physics news on Phys.org
elcotufa said:

Homework Statement


Integrate using complex numbers
[tex] \int\limits_0^{2\pi} cos^4(\theta)[/tex]


Homework Equations


[tex] cos^4(\theta)= (\frac{e^{j\theta} + e^{-j\theta}}2)^4[/tex]

The Attempt at a Solution


[tex] <br /> \frac 1{2^4} (e^{j\theta} + e^{-j\theta})^4 [/tex]

I got
[tex] \frac 1{2^4} \int^{2\pi}_0 (e^{4j\theta}+4e^{2j\theta}+4e^{-2j\theta}+e^{-4j\theta}+6)[/tex]

After this I am not sure what to do

The integral of [tex] \int e^{4j}[/tex] would be [tex]\frac{e^{4j\theta}}{4j}[/tex]?

How do I cancel them?

Input appreciated

Sure, that's the integral of e^(4j*theta). You'll notice if you evaluate it from 0 to 2*pi the result is 0. The same for all the other exponentials. The only term that contributes is the 6.