# Double integral cos(y)

I have no idea how to calculate this kind of double integral.

$\int_D \cos(y) ~dA$ where $D=\{ 0 \leq x \leq 2\pi,~ |y|\leq x \}$.

Any help with this?

Okay,

I tried this $\int_{0}^{ 2\pi\ } \int_{0}^{\ x} \cos y \, dydx = 0$

but it is wrong.

• Please, show what you tried. People in this place like to see your efforts before they can help you. Also, use $\tt LaTeX$-MathJax. – Felix Marin Feb 16 '14 at 10:43
• Welcome and i seriously recommend you to read the faq to understand the norms of this site. Normally you write your attempted solution in the question. – Lost1 Feb 16 '14 at 12:44
• The approach taken (at Don Antonio's suggestion) gives twice the integral shown (added from now-deleted Answer) by symmetry (cosine being even, as Don Antonio said). But twice zero is... – hardmath Feb 16 '14 at 16:18

Since $\;|y|\le x\iff -x\le y\le x\;$ , as $\;\;x\ge 0\;$, this gives the following integration region in $\;\Bbb R^2\;$:
$$\int\int\limits_D\cos y\,dA=\int\limits_0^{2\pi}\int\limits_{-x}^x\cos y\;dydx=\int\limits_0^{2\pi}\left(\sin x-\sin(-x)\right)dx=\left.-2\cos x\right|_0^{2\pi}=0$$
which doesn't surprise since $\;\cos x\;$ , the original integrand, is being integrated on a symmetric interval around zero.