Double integral of cos(x+y) from 0 to π

  • Thread starter Thread starter Math10
  • Start date Start date
  • Tags Tags
    Integrate
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
8 replies · 2K views
Math10
Messages
301
Reaction score
0

Homework Statement


How to integrate the double integral cos(x+y) dy dx from 0 to pi and from 0 to pi again.

Homework Equations


The answer is -4.

The Attempt at a Solution


Here's the work:
u=x+y
du=dy
cos(u)du=sin(x+y)
integral of [sin(x+y)] evaluate from 0 to pi dx from 0 to pi
integral of (sin(x+pi)-sin(x))dx from 0 to pi
And what's next?
 
Physics news on Phys.org
Math10 said:

Homework Statement


How to integrate the double integral cos(x+y) dy dx from 0 to pi and from 0 to pi again.

Homework Equations


The answer is -4.

The Attempt at a Solution


Here's the work:
u=x+y
du=dy
cos(u)du=sin(x+y)
integral of [sin(x+y)] evaluate from 0 to pi dx from 0 to pi
integral of (sin(x+pi)-sin(x))dx from 0 to pi
And what's next?

Integrate again, similar to what you did for the first integral.
 
Er...doesn't the final step that you list give you the answer already?
 
But I can't. Because sin(x+pi)-sin(x)=sin(x)+sin(pi)-sin(x)=sin(pi)=0. The integral of 0 is?
 
Math10 said:
But I can't. Because sin(x+pi)-sin(x)=sin(x)+sin(pi)-sin(x)=sin(pi)=0. The integral of 0 is?
##\sin(a+b)\ne \sin a +\sin b##
 
Math10 said:
Because sin(x+pi)=sin(x)+sin(pi)
That is most certainly not correct. Can you check your compound angle formula?