• Support PF! Buy your school textbooks, materials and every day products Here!

How to integrate this?

  • Thread starter Math10
  • Start date
  • #1
301
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?
 

Answers and Replies

  • #2
LCKurtz
Science Advisor
Homework Helper
Insights Author
Gold Member
9,519
734

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.
 
  • #3
954
117
Er...doesn't the final step that you list give you the answer already?
 
  • #4
301
0
But I can't. Because sin(x+pi)-sin(x)=sin(x)+sin(pi)-sin(x)=sin(pi)=0. The integral of 0 is?
 
  • #5
LCKurtz
Science Advisor
Homework Helper
Insights Author
Gold Member
9,519
734
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##
 
  • #6
954
117
Because sin(x+pi)=sin(x)+sin(pi)
That is most certainly not correct. Can you check your compound angle formula?
 
  • #7
301
0
Then what's sin(a+b)?
 
  • #9
301
0
@Fightfish , thank you so much for the info! I got it!
 

Related Threads on How to integrate this?

  • Last Post
Replies
5
Views
1K
  • Last Post
Replies
2
Views
368
  • Last Post
Replies
6
Views
602
  • Last Post
Replies
3
Views
770
  • Last Post
Replies
4
Views
527
  • Last Post
Replies
19
Views
595
  • Last Post
Replies
2
Views
1K
  • Last Post
Replies
3
Views
491
  • Last Post
Replies
4
Views
946
  • Last Post
Replies
2
Views
965
Top