How do I split the region to integrate |cos(x+y)| over [0,π]×[0,π]?

Join the discussion
Registration is free. Start your own thread to ask a follow-up.
2 replies · 3K views
eckiller
Messages
41
Reaction score
0
doubleIntegral( |cos(x+y)| dx dy ) over the rectangle [0, pi]x[0,pi]

I tried several ways to split the integral up so that I could remove the absolute value sign and integrate. However, I did not get the correct answer, so I must be splitting it wrong. Can someone show me how to split the region of integration up so I can integrate iteratively?
 
Physics news on Phys.org
At a glance, not saying this will work, but try using polar coordinates? ie x^2+Y^2=r^2 and so on.
 
FunkyDwarf said:
At a glance, not saying this will work, but try using polar coordinates? ie x^2+Y^2=r^2 and so on.

Polar coordinates are a bad idea. Cut the square along the lines x+y=pi/2 and x+y=(3*pi/2) - since this is where the cos changes sign.