Calculus · real student question

Evaluate the double integral of sin x − cos y over the square 0 ≤ x ≤ 2π, 0 ≤ y ≤ 2π.

Question

Evaluate

02π ⁣02π(sinxcosy)dxdy.\int_{0}^{2\pi}\!\int_{0}^{2\pi}\bigl(\sin x-\cos y\bigr)\,dx\,dy.

Step-by-step solution

  1. Split the integrand into two independent pieces. Integration is linear and the region is a rectangle with constant limits, so

    (sinxcosy)dA=sinxdAcosydA.\iint(\sin x-\cos y)\,dA=\iint \sin x\,dA-\iint\cos y\,dA.

    Each piece depends on only one variable, which makes both of them products of one-dimensional integrals.

  2. Evaluate the first piece. Since sinx\sin x does not involve yy, the yy-integration just multiplies by the length 2π2\pi:

    02π ⁣02πsinxdxdy=2π02πsinxdx=2π[cosx]02π=2π(1+1)=0.\int_{0}^{2\pi}\!\int_{0}^{2\pi}\sin x\,dx\,dy=2\pi\int_{0}^{2\pi}\sin x\,dx=2\pi\bigl[-\cos x\bigr]_{0}^{2\pi}=2\pi(-1+1)=0.

  3. Evaluate the second piece the same way.

    02π ⁣02πcosydxdy=2π02πcosydy=2π[siny]02π=2π(00)=0.\int_{0}^{2\pi}\!\int_{0}^{2\pi}\cos y\,dx\,dy=2\pi\int_{0}^{2\pi}\cos y\,dy=2\pi\bigl[\sin y\bigr]_{0}^{2\pi}=2\pi(0-0)=0.

  4. Combine.

    [0,2π]2(sinxcosy)dA=00=0.\iint_{[0,2\pi]^{2}}(\sin x-\cos y)\,dA=0-0=0.

  5. Say why this was inevitable. The side length 2π2\pi is exactly one full period of both sin\sin and cos\cos, and every sinusoid integrates to zero over a whole period — the positive and negative humps have equal area. Any interval of length 2π2\pi would have given the same answer; had the limits been 00 to π\pi, the sine term would have contributed 2π2=4π2\pi\cdot 2=4\pi instead.

Answer

00

Need to solve a different problem like this? Open the solver →