Double Integral $intlimits_0^pi intlimits_0^pi|cos(x+y)|,dx,dy$
up vote
4
down vote
favorite
First off, I apologize for any English mistakes.I've come across a double integral problem that I haven't been able to solve: Find
$$int_0^pi int_0^pi|cos(x+y)|,dx,dy$$
Intuitively, I thought it could be solved in a similar manner to what you would do for a regular integral with and absolute value. For example, to solve $int_0^pi |cos(x)| ,dx$, you just take the interval where $cos(x)$ is positive and multiply it by two:
$$int_0^pi |cos(x)|,dx = 2int_0^{frac{pi}{2}} cos(x) , dx$$
So I naively assumed my initial problem could be solved in a similar manner, that is:
$$int_0^pi int_0^pi |cos(x+y)| ,dx,dy = 4int_0^{frac{pi}{4}}int_0^{frac{pi}{4}}cos(x+y) ,dx,dy$$
However, this does not give me the right answer. I'm not really sure how this integral is actually solved.
Thanks a lot for your help!
calculus integration multivariable-calculus multiple-integral
add a comment |
up vote
4
down vote
favorite
First off, I apologize for any English mistakes.I've come across a double integral problem that I haven't been able to solve: Find
$$int_0^pi int_0^pi|cos(x+y)|,dx,dy$$
Intuitively, I thought it could be solved in a similar manner to what you would do for a regular integral with and absolute value. For example, to solve $int_0^pi |cos(x)| ,dx$, you just take the interval where $cos(x)$ is positive and multiply it by two:
$$int_0^pi |cos(x)|,dx = 2int_0^{frac{pi}{2}} cos(x) , dx$$
So I naively assumed my initial problem could be solved in a similar manner, that is:
$$int_0^pi int_0^pi |cos(x+y)| ,dx,dy = 4int_0^{frac{pi}{4}}int_0^{frac{pi}{4}}cos(x+y) ,dx,dy$$
However, this does not give me the right answer. I'm not really sure how this integral is actually solved.
Thanks a lot for your help!
calculus integration multivariable-calculus multiple-integral
You could use the identity for the cosine of a sum.
– YoTengoUnLCD
May 19 '16 at 4:43
add a comment |
up vote
4
down vote
favorite
up vote
4
down vote
favorite
First off, I apologize for any English mistakes.I've come across a double integral problem that I haven't been able to solve: Find
$$int_0^pi int_0^pi|cos(x+y)|,dx,dy$$
Intuitively, I thought it could be solved in a similar manner to what you would do for a regular integral with and absolute value. For example, to solve $int_0^pi |cos(x)| ,dx$, you just take the interval where $cos(x)$ is positive and multiply it by two:
$$int_0^pi |cos(x)|,dx = 2int_0^{frac{pi}{2}} cos(x) , dx$$
So I naively assumed my initial problem could be solved in a similar manner, that is:
$$int_0^pi int_0^pi |cos(x+y)| ,dx,dy = 4int_0^{frac{pi}{4}}int_0^{frac{pi}{4}}cos(x+y) ,dx,dy$$
However, this does not give me the right answer. I'm not really sure how this integral is actually solved.
Thanks a lot for your help!
calculus integration multivariable-calculus multiple-integral
First off, I apologize for any English mistakes.I've come across a double integral problem that I haven't been able to solve: Find
$$int_0^pi int_0^pi|cos(x+y)|,dx,dy$$
Intuitively, I thought it could be solved in a similar manner to what you would do for a regular integral with and absolute value. For example, to solve $int_0^pi |cos(x)| ,dx$, you just take the interval where $cos(x)$ is positive and multiply it by two:
$$int_0^pi |cos(x)|,dx = 2int_0^{frac{pi}{2}} cos(x) , dx$$
So I naively assumed my initial problem could be solved in a similar manner, that is:
$$int_0^pi int_0^pi |cos(x+y)| ,dx,dy = 4int_0^{frac{pi}{4}}int_0^{frac{pi}{4}}cos(x+y) ,dx,dy$$
However, this does not give me the right answer. I'm not really sure how this integral is actually solved.
Thanks a lot for your help!
calculus integration multivariable-calculus multiple-integral
calculus integration multivariable-calculus multiple-integral
edited Sep 23 '16 at 6:54
user91500
1
1
asked May 19 '16 at 4:41
Zamok
638
638
You could use the identity for the cosine of a sum.
– YoTengoUnLCD
May 19 '16 at 4:43
add a comment |
You could use the identity for the cosine of a sum.
– YoTengoUnLCD
May 19 '16 at 4:43
You could use the identity for the cosine of a sum.
– YoTengoUnLCD
May 19 '16 at 4:43
You could use the identity for the cosine of a sum.
– YoTengoUnLCD
May 19 '16 at 4:43
add a comment |
3 Answers
3
active
oldest
votes
up vote
6
down vote
accepted
For the single integral case, "take the interval where $cos x$ is positive and multiply it by two" is rather misleading: what you are actually doing is splitting the region of integration into a part where $cos x$ is positive and a part where $cos x$ is negative, working out both and adding them. The two integrals are the same in this case, so you can just multiply by $2$.
You can do the same for the double integral, but there is no guarantee that you will be adding equal integrals. You will need to subdivide the square of integration into bits where $cos(x+y)$ has a single sign. So you will need to take
$$0le x+ylefracpi2quadhbox{and}quad
fracpi2le x+ylefrac{3pi}2quadhbox{and}quad
frac{3pi}2le x+yle2pi .$$
Good luck!
add a comment |
up vote
6
down vote

We have $int_{x=0}^{pi/2}int_{y=0}^{pi/2-x}cos(x+y) dy dx-int_{x=0}^{pi/2}int_{y=pi/2-x}^{pi}cos(x+y) dy dx-int_{x=pi/2}^{pi}int_{y=0}^{3pi/2-x}cos(x+y_ dy dx+int_{x=pi/2}^{pi}int_{y=3pi/2-x}^{pi}cos(x+y) dy dx$.
The first term is $int_0^{pi/2}(1-sin x) dx=pi/2-1$. The second term is $-int_0^{pi/2}(-1-sin x) dx=pi/2+1$. The third term is $-int_{pi/2}^{pi}(-1-sin x) dx=pi/2+1$, and the last term is $int_{pi/2}^{pi}(1-sin x) dx=pi/2-1$. Adding, we get $2pi$ for the original integral.
add a comment |
up vote
4
down vote
A handful of hints to get you started, each for different directions.
Most require you to just use some alternative definition of $cos(x)$, as mentioned in the comments...
- Use the piecewise definition of $left|cos(x+y)right|$, and add together the separate integrands
- Note that if $x,yinBbb R$, then $left|cos(x+y)right|=sqrt{cos^2(x+y)}$
- $cos(x+y)=cos(x) cos(y)-sin(x) sin(y)$
- You could always use the definition $cos(x+y)=frac 12 e^{-i x-i y}+frac 12 e^{i x+i y} $, but that can end up being much more difficult.
Start with the first suggestion, though. Try to redefine the function as a piecewise one. Here's a basic example of how a simple integral of an absolute value works from Paul's Online Notes (example 5):
$$int_0^3left|3t-5right|mathrm{d}t=int_0^{frac 5 3} 5-3t,mathrm{d}t+int_{frac 5 3}^3 3t-5,mathrm{d}t$$
add a comment |
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
6
down vote
accepted
For the single integral case, "take the interval where $cos x$ is positive and multiply it by two" is rather misleading: what you are actually doing is splitting the region of integration into a part where $cos x$ is positive and a part where $cos x$ is negative, working out both and adding them. The two integrals are the same in this case, so you can just multiply by $2$.
You can do the same for the double integral, but there is no guarantee that you will be adding equal integrals. You will need to subdivide the square of integration into bits where $cos(x+y)$ has a single sign. So you will need to take
$$0le x+ylefracpi2quadhbox{and}quad
fracpi2le x+ylefrac{3pi}2quadhbox{and}quad
frac{3pi}2le x+yle2pi .$$
Good luck!
add a comment |
up vote
6
down vote
accepted
For the single integral case, "take the interval where $cos x$ is positive and multiply it by two" is rather misleading: what you are actually doing is splitting the region of integration into a part where $cos x$ is positive and a part where $cos x$ is negative, working out both and adding them. The two integrals are the same in this case, so you can just multiply by $2$.
You can do the same for the double integral, but there is no guarantee that you will be adding equal integrals. You will need to subdivide the square of integration into bits where $cos(x+y)$ has a single sign. So you will need to take
$$0le x+ylefracpi2quadhbox{and}quad
fracpi2le x+ylefrac{3pi}2quadhbox{and}quad
frac{3pi}2le x+yle2pi .$$
Good luck!
add a comment |
up vote
6
down vote
accepted
up vote
6
down vote
accepted
For the single integral case, "take the interval where $cos x$ is positive and multiply it by two" is rather misleading: what you are actually doing is splitting the region of integration into a part where $cos x$ is positive and a part where $cos x$ is negative, working out both and adding them. The two integrals are the same in this case, so you can just multiply by $2$.
You can do the same for the double integral, but there is no guarantee that you will be adding equal integrals. You will need to subdivide the square of integration into bits where $cos(x+y)$ has a single sign. So you will need to take
$$0le x+ylefracpi2quadhbox{and}quad
fracpi2le x+ylefrac{3pi}2quadhbox{and}quad
frac{3pi}2le x+yle2pi .$$
Good luck!
For the single integral case, "take the interval where $cos x$ is positive and multiply it by two" is rather misleading: what you are actually doing is splitting the region of integration into a part where $cos x$ is positive and a part where $cos x$ is negative, working out both and adding them. The two integrals are the same in this case, so you can just multiply by $2$.
You can do the same for the double integral, but there is no guarantee that you will be adding equal integrals. You will need to subdivide the square of integration into bits where $cos(x+y)$ has a single sign. So you will need to take
$$0le x+ylefracpi2quadhbox{and}quad
fracpi2le x+ylefrac{3pi}2quadhbox{and}quad
frac{3pi}2le x+yle2pi .$$
Good luck!
answered May 19 '16 at 4:59
David
67.4k663126
67.4k663126
add a comment |
add a comment |
up vote
6
down vote

We have $int_{x=0}^{pi/2}int_{y=0}^{pi/2-x}cos(x+y) dy dx-int_{x=0}^{pi/2}int_{y=pi/2-x}^{pi}cos(x+y) dy dx-int_{x=pi/2}^{pi}int_{y=0}^{3pi/2-x}cos(x+y_ dy dx+int_{x=pi/2}^{pi}int_{y=3pi/2-x}^{pi}cos(x+y) dy dx$.
The first term is $int_0^{pi/2}(1-sin x) dx=pi/2-1$. The second term is $-int_0^{pi/2}(-1-sin x) dx=pi/2+1$. The third term is $-int_{pi/2}^{pi}(-1-sin x) dx=pi/2+1$, and the last term is $int_{pi/2}^{pi}(1-sin x) dx=pi/2-1$. Adding, we get $2pi$ for the original integral.
add a comment |
up vote
6
down vote

We have $int_{x=0}^{pi/2}int_{y=0}^{pi/2-x}cos(x+y) dy dx-int_{x=0}^{pi/2}int_{y=pi/2-x}^{pi}cos(x+y) dy dx-int_{x=pi/2}^{pi}int_{y=0}^{3pi/2-x}cos(x+y_ dy dx+int_{x=pi/2}^{pi}int_{y=3pi/2-x}^{pi}cos(x+y) dy dx$.
The first term is $int_0^{pi/2}(1-sin x) dx=pi/2-1$. The second term is $-int_0^{pi/2}(-1-sin x) dx=pi/2+1$. The third term is $-int_{pi/2}^{pi}(-1-sin x) dx=pi/2+1$, and the last term is $int_{pi/2}^{pi}(1-sin x) dx=pi/2-1$. Adding, we get $2pi$ for the original integral.
add a comment |
up vote
6
down vote
up vote
6
down vote

We have $int_{x=0}^{pi/2}int_{y=0}^{pi/2-x}cos(x+y) dy dx-int_{x=0}^{pi/2}int_{y=pi/2-x}^{pi}cos(x+y) dy dx-int_{x=pi/2}^{pi}int_{y=0}^{3pi/2-x}cos(x+y_ dy dx+int_{x=pi/2}^{pi}int_{y=3pi/2-x}^{pi}cos(x+y) dy dx$.
The first term is $int_0^{pi/2}(1-sin x) dx=pi/2-1$. The second term is $-int_0^{pi/2}(-1-sin x) dx=pi/2+1$. The third term is $-int_{pi/2}^{pi}(-1-sin x) dx=pi/2+1$, and the last term is $int_{pi/2}^{pi}(1-sin x) dx=pi/2-1$. Adding, we get $2pi$ for the original integral.

We have $int_{x=0}^{pi/2}int_{y=0}^{pi/2-x}cos(x+y) dy dx-int_{x=0}^{pi/2}int_{y=pi/2-x}^{pi}cos(x+y) dy dx-int_{x=pi/2}^{pi}int_{y=0}^{3pi/2-x}cos(x+y_ dy dx+int_{x=pi/2}^{pi}int_{y=3pi/2-x}^{pi}cos(x+y) dy dx$.
The first term is $int_0^{pi/2}(1-sin x) dx=pi/2-1$. The second term is $-int_0^{pi/2}(-1-sin x) dx=pi/2+1$. The third term is $-int_{pi/2}^{pi}(-1-sin x) dx=pi/2+1$, and the last term is $int_{pi/2}^{pi}(1-sin x) dx=pi/2-1$. Adding, we get $2pi$ for the original integral.
answered May 19 '16 at 5:35
almagest
12k1329
12k1329
add a comment |
add a comment |
up vote
4
down vote
A handful of hints to get you started, each for different directions.
Most require you to just use some alternative definition of $cos(x)$, as mentioned in the comments...
- Use the piecewise definition of $left|cos(x+y)right|$, and add together the separate integrands
- Note that if $x,yinBbb R$, then $left|cos(x+y)right|=sqrt{cos^2(x+y)}$
- $cos(x+y)=cos(x) cos(y)-sin(x) sin(y)$
- You could always use the definition $cos(x+y)=frac 12 e^{-i x-i y}+frac 12 e^{i x+i y} $, but that can end up being much more difficult.
Start with the first suggestion, though. Try to redefine the function as a piecewise one. Here's a basic example of how a simple integral of an absolute value works from Paul's Online Notes (example 5):
$$int_0^3left|3t-5right|mathrm{d}t=int_0^{frac 5 3} 5-3t,mathrm{d}t+int_{frac 5 3}^3 3t-5,mathrm{d}t$$
add a comment |
up vote
4
down vote
A handful of hints to get you started, each for different directions.
Most require you to just use some alternative definition of $cos(x)$, as mentioned in the comments...
- Use the piecewise definition of $left|cos(x+y)right|$, and add together the separate integrands
- Note that if $x,yinBbb R$, then $left|cos(x+y)right|=sqrt{cos^2(x+y)}$
- $cos(x+y)=cos(x) cos(y)-sin(x) sin(y)$
- You could always use the definition $cos(x+y)=frac 12 e^{-i x-i y}+frac 12 e^{i x+i y} $, but that can end up being much more difficult.
Start with the first suggestion, though. Try to redefine the function as a piecewise one. Here's a basic example of how a simple integral of an absolute value works from Paul's Online Notes (example 5):
$$int_0^3left|3t-5right|mathrm{d}t=int_0^{frac 5 3} 5-3t,mathrm{d}t+int_{frac 5 3}^3 3t-5,mathrm{d}t$$
add a comment |
up vote
4
down vote
up vote
4
down vote
A handful of hints to get you started, each for different directions.
Most require you to just use some alternative definition of $cos(x)$, as mentioned in the comments...
- Use the piecewise definition of $left|cos(x+y)right|$, and add together the separate integrands
- Note that if $x,yinBbb R$, then $left|cos(x+y)right|=sqrt{cos^2(x+y)}$
- $cos(x+y)=cos(x) cos(y)-sin(x) sin(y)$
- You could always use the definition $cos(x+y)=frac 12 e^{-i x-i y}+frac 12 e^{i x+i y} $, but that can end up being much more difficult.
Start with the first suggestion, though. Try to redefine the function as a piecewise one. Here's a basic example of how a simple integral of an absolute value works from Paul's Online Notes (example 5):
$$int_0^3left|3t-5right|mathrm{d}t=int_0^{frac 5 3} 5-3t,mathrm{d}t+int_{frac 5 3}^3 3t-5,mathrm{d}t$$
A handful of hints to get you started, each for different directions.
Most require you to just use some alternative definition of $cos(x)$, as mentioned in the comments...
- Use the piecewise definition of $left|cos(x+y)right|$, and add together the separate integrands
- Note that if $x,yinBbb R$, then $left|cos(x+y)right|=sqrt{cos^2(x+y)}$
- $cos(x+y)=cos(x) cos(y)-sin(x) sin(y)$
- You could always use the definition $cos(x+y)=frac 12 e^{-i x-i y}+frac 12 e^{i x+i y} $, but that can end up being much more difficult.
Start with the first suggestion, though. Try to redefine the function as a piecewise one. Here's a basic example of how a simple integral of an absolute value works from Paul's Online Notes (example 5):
$$int_0^3left|3t-5right|mathrm{d}t=int_0^{frac 5 3} 5-3t,mathrm{d}t+int_{frac 5 3}^3 3t-5,mathrm{d}t$$
answered May 19 '16 at 4:55
galois
1,63411025
1,63411025
add a comment |
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f1791264%2fdouble-integral-int-limits-0-pi-int-limits-0-pi-cosxy-dx-dy%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
You could use the identity for the cosine of a sum.
– YoTengoUnLCD
May 19 '16 at 4:43