swarog46
- 2
- 0
Homework Statement
\int^{2\pi}_0{cos(x)cos(nx)dx}=?,n\in Z
Homework Equations
The Attempt at a Solution
I think that this eq has zero solve. However my teacher says that its incorrect.
cos(x) cos(nx) = 1/2 (cos (x-nx) + cos (x+nx))
\int^{2\pi}_0{cos(x)cos(nx)dx}=\frac{1}{2n}(sin(2 \pi (1-n))+sin(2 \pi (1+n))) which gives 0 for n=1, but when i give n=1 before start integrating, then I've got non zero solve.