Changing variable - Integration goes wrong.
I was trying to do the integration
$$I=frac{pi}{2}int_0^pi frac{dx}{a^2cos^2x + b^2sin^2x}$$
If I divide throughout by $cos^2x$ and use substitution ($t=tan x$),
I obtain$$I=frac{pi}{2}int_0^0frac{dt}{a^2+(bt)^2} $$
This would be evaluated to be $0$.
But however its actual answer is $$frac{pi^2}{2ab}$$
which can be obtained by using properties of definite integrals to change the limit to $0$ to $frac{pi}{2}$ and then splitting it from $0$ to $frac{pi}{4}$ and $frac{pi}{4}$ to $frac{pi}{2}$ ,dividing throughout by $cos^2x$ and $sin^2x$ respectively and then substituting ($t=tan x$) and ($t=cot x$) respectively.
Can anyone please tell me what is wrong in the first approach.
calculus integration limits change-of-variable
add a comment |
I was trying to do the integration
$$I=frac{pi}{2}int_0^pi frac{dx}{a^2cos^2x + b^2sin^2x}$$
If I divide throughout by $cos^2x$ and use substitution ($t=tan x$),
I obtain$$I=frac{pi}{2}int_0^0frac{dt}{a^2+(bt)^2} $$
This would be evaluated to be $0$.
But however its actual answer is $$frac{pi^2}{2ab}$$
which can be obtained by using properties of definite integrals to change the limit to $0$ to $frac{pi}{2}$ and then splitting it from $0$ to $frac{pi}{4}$ and $frac{pi}{4}$ to $frac{pi}{2}$ ,dividing throughout by $cos^2x$ and $sin^2x$ respectively and then substituting ($t=tan x$) and ($t=cot x$) respectively.
Can anyone please tell me what is wrong in the first approach.
calculus integration limits change-of-variable
I think this could help: math.stackexchange.com/questions/340180/…
– Math-fun
Jan 4 at 12:34
The substitution $t=tan, x$ is not permitted. $tan$ is not nice enough for this (not even defined at $x=pi /2$).
– Kavi Rama Murthy
Jan 4 at 12:41
Related (duplicates?): math.stackexchange.com/questions/829939/…, math.stackexchange.com/questions/2380669/…, and many others.
– Hans Lundmark
Jan 4 at 12:42
add a comment |
I was trying to do the integration
$$I=frac{pi}{2}int_0^pi frac{dx}{a^2cos^2x + b^2sin^2x}$$
If I divide throughout by $cos^2x$ and use substitution ($t=tan x$),
I obtain$$I=frac{pi}{2}int_0^0frac{dt}{a^2+(bt)^2} $$
This would be evaluated to be $0$.
But however its actual answer is $$frac{pi^2}{2ab}$$
which can be obtained by using properties of definite integrals to change the limit to $0$ to $frac{pi}{2}$ and then splitting it from $0$ to $frac{pi}{4}$ and $frac{pi}{4}$ to $frac{pi}{2}$ ,dividing throughout by $cos^2x$ and $sin^2x$ respectively and then substituting ($t=tan x$) and ($t=cot x$) respectively.
Can anyone please tell me what is wrong in the first approach.
calculus integration limits change-of-variable
I was trying to do the integration
$$I=frac{pi}{2}int_0^pi frac{dx}{a^2cos^2x + b^2sin^2x}$$
If I divide throughout by $cos^2x$ and use substitution ($t=tan x$),
I obtain$$I=frac{pi}{2}int_0^0frac{dt}{a^2+(bt)^2} $$
This would be evaluated to be $0$.
But however its actual answer is $$frac{pi^2}{2ab}$$
which can be obtained by using properties of definite integrals to change the limit to $0$ to $frac{pi}{2}$ and then splitting it from $0$ to $frac{pi}{4}$ and $frac{pi}{4}$ to $frac{pi}{2}$ ,dividing throughout by $cos^2x$ and $sin^2x$ respectively and then substituting ($t=tan x$) and ($t=cot x$) respectively.
Can anyone please tell me what is wrong in the first approach.
calculus integration limits change-of-variable
calculus integration limits change-of-variable
asked Jan 4 at 12:29
salvinsalvin
706
706
I think this could help: math.stackexchange.com/questions/340180/…
– Math-fun
Jan 4 at 12:34
The substitution $t=tan, x$ is not permitted. $tan$ is not nice enough for this (not even defined at $x=pi /2$).
– Kavi Rama Murthy
Jan 4 at 12:41
Related (duplicates?): math.stackexchange.com/questions/829939/…, math.stackexchange.com/questions/2380669/…, and many others.
– Hans Lundmark
Jan 4 at 12:42
add a comment |
I think this could help: math.stackexchange.com/questions/340180/…
– Math-fun
Jan 4 at 12:34
The substitution $t=tan, x$ is not permitted. $tan$ is not nice enough for this (not even defined at $x=pi /2$).
– Kavi Rama Murthy
Jan 4 at 12:41
Related (duplicates?): math.stackexchange.com/questions/829939/…, math.stackexchange.com/questions/2380669/…, and many others.
– Hans Lundmark
Jan 4 at 12:42
I think this could help: math.stackexchange.com/questions/340180/…
– Math-fun
Jan 4 at 12:34
I think this could help: math.stackexchange.com/questions/340180/…
– Math-fun
Jan 4 at 12:34
The substitution $t=tan, x$ is not permitted. $tan$ is not nice enough for this (not even defined at $x=pi /2$).
– Kavi Rama Murthy
Jan 4 at 12:41
The substitution $t=tan, x$ is not permitted. $tan$ is not nice enough for this (not even defined at $x=pi /2$).
– Kavi Rama Murthy
Jan 4 at 12:41
Related (duplicates?): math.stackexchange.com/questions/829939/…, math.stackexchange.com/questions/2380669/…, and many others.
– Hans Lundmark
Jan 4 at 12:42
Related (duplicates?): math.stackexchange.com/questions/829939/…, math.stackexchange.com/questions/2380669/…, and many others.
– Hans Lundmark
Jan 4 at 12:42
add a comment |
2 Answers
2
active
oldest
votes
The reason why your substitution doesn't work is due to the singularity at $frac {pi}2$. Indeed, $tanleft(frac {pi}2right)$ isn't defined. However, you can remedy this by splitting up the integral along the singularity$$begin{align*}intlimits_0^{pi}frac {mathrm dx}{a^2cos^2x+b^2sin^2x} & =intlimits_0^{pi/2}frac {mathrm dx}{a^2cos^2x+b^2sin^2x}+intlimits_{pi/2}^{pi}frac {mathrm dx}{a^2cos^2x+b^2sin^2x}\ & =intlimits_0^{pi/2}frac {mathrm dx}{a^2cos^2x+b^2sin^2x}+intlimits_0^{pi/2}frac {mathrm dx}{a^2sin^2x+b^2cos^2x}\ & =intlimits_0^{infty}frac {mathrm dx}{a^2+b^2x^2}+intlimits_0^{infty}frac {mathrm dx}{b^2+a^2x^2}\ & =frac 1{ab}left[arctanleft(frac {bx}aright)+arctanleft(frac {ax}bright)right],Biggrrvert_0^{infty}end{align*}$$So now, we get that$$frac {pi}2intlimits_0^{infty}frac {mathrm dx}{a^2cos^2x+b^2sin^2x}color{blue}{=frac {pi^2}{2ab}}$$
add a comment |
The main problem is that is that $tan t$ has a singularity at $pi/2$. In $u$-substitution, the function $u$ is required to be differentiable on the interval and it's not even continuous here.
See the Wiki article on $u$-substitution:
https://en.wikipedia.org/wiki/Integration_by_substitution
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
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%2f3061606%2fchanging-variable-integration-goes-wrong%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
The reason why your substitution doesn't work is due to the singularity at $frac {pi}2$. Indeed, $tanleft(frac {pi}2right)$ isn't defined. However, you can remedy this by splitting up the integral along the singularity$$begin{align*}intlimits_0^{pi}frac {mathrm dx}{a^2cos^2x+b^2sin^2x} & =intlimits_0^{pi/2}frac {mathrm dx}{a^2cos^2x+b^2sin^2x}+intlimits_{pi/2}^{pi}frac {mathrm dx}{a^2cos^2x+b^2sin^2x}\ & =intlimits_0^{pi/2}frac {mathrm dx}{a^2cos^2x+b^2sin^2x}+intlimits_0^{pi/2}frac {mathrm dx}{a^2sin^2x+b^2cos^2x}\ & =intlimits_0^{infty}frac {mathrm dx}{a^2+b^2x^2}+intlimits_0^{infty}frac {mathrm dx}{b^2+a^2x^2}\ & =frac 1{ab}left[arctanleft(frac {bx}aright)+arctanleft(frac {ax}bright)right],Biggrrvert_0^{infty}end{align*}$$So now, we get that$$frac {pi}2intlimits_0^{infty}frac {mathrm dx}{a^2cos^2x+b^2sin^2x}color{blue}{=frac {pi^2}{2ab}}$$
add a comment |
The reason why your substitution doesn't work is due to the singularity at $frac {pi}2$. Indeed, $tanleft(frac {pi}2right)$ isn't defined. However, you can remedy this by splitting up the integral along the singularity$$begin{align*}intlimits_0^{pi}frac {mathrm dx}{a^2cos^2x+b^2sin^2x} & =intlimits_0^{pi/2}frac {mathrm dx}{a^2cos^2x+b^2sin^2x}+intlimits_{pi/2}^{pi}frac {mathrm dx}{a^2cos^2x+b^2sin^2x}\ & =intlimits_0^{pi/2}frac {mathrm dx}{a^2cos^2x+b^2sin^2x}+intlimits_0^{pi/2}frac {mathrm dx}{a^2sin^2x+b^2cos^2x}\ & =intlimits_0^{infty}frac {mathrm dx}{a^2+b^2x^2}+intlimits_0^{infty}frac {mathrm dx}{b^2+a^2x^2}\ & =frac 1{ab}left[arctanleft(frac {bx}aright)+arctanleft(frac {ax}bright)right],Biggrrvert_0^{infty}end{align*}$$So now, we get that$$frac {pi}2intlimits_0^{infty}frac {mathrm dx}{a^2cos^2x+b^2sin^2x}color{blue}{=frac {pi^2}{2ab}}$$
add a comment |
The reason why your substitution doesn't work is due to the singularity at $frac {pi}2$. Indeed, $tanleft(frac {pi}2right)$ isn't defined. However, you can remedy this by splitting up the integral along the singularity$$begin{align*}intlimits_0^{pi}frac {mathrm dx}{a^2cos^2x+b^2sin^2x} & =intlimits_0^{pi/2}frac {mathrm dx}{a^2cos^2x+b^2sin^2x}+intlimits_{pi/2}^{pi}frac {mathrm dx}{a^2cos^2x+b^2sin^2x}\ & =intlimits_0^{pi/2}frac {mathrm dx}{a^2cos^2x+b^2sin^2x}+intlimits_0^{pi/2}frac {mathrm dx}{a^2sin^2x+b^2cos^2x}\ & =intlimits_0^{infty}frac {mathrm dx}{a^2+b^2x^2}+intlimits_0^{infty}frac {mathrm dx}{b^2+a^2x^2}\ & =frac 1{ab}left[arctanleft(frac {bx}aright)+arctanleft(frac {ax}bright)right],Biggrrvert_0^{infty}end{align*}$$So now, we get that$$frac {pi}2intlimits_0^{infty}frac {mathrm dx}{a^2cos^2x+b^2sin^2x}color{blue}{=frac {pi^2}{2ab}}$$
The reason why your substitution doesn't work is due to the singularity at $frac {pi}2$. Indeed, $tanleft(frac {pi}2right)$ isn't defined. However, you can remedy this by splitting up the integral along the singularity$$begin{align*}intlimits_0^{pi}frac {mathrm dx}{a^2cos^2x+b^2sin^2x} & =intlimits_0^{pi/2}frac {mathrm dx}{a^2cos^2x+b^2sin^2x}+intlimits_{pi/2}^{pi}frac {mathrm dx}{a^2cos^2x+b^2sin^2x}\ & =intlimits_0^{pi/2}frac {mathrm dx}{a^2cos^2x+b^2sin^2x}+intlimits_0^{pi/2}frac {mathrm dx}{a^2sin^2x+b^2cos^2x}\ & =intlimits_0^{infty}frac {mathrm dx}{a^2+b^2x^2}+intlimits_0^{infty}frac {mathrm dx}{b^2+a^2x^2}\ & =frac 1{ab}left[arctanleft(frac {bx}aright)+arctanleft(frac {ax}bright)right],Biggrrvert_0^{infty}end{align*}$$So now, we get that$$frac {pi}2intlimits_0^{infty}frac {mathrm dx}{a^2cos^2x+b^2sin^2x}color{blue}{=frac {pi^2}{2ab}}$$
answered Jan 5 at 0:23
Frank W.Frank W.
3,1891321
3,1891321
add a comment |
add a comment |
The main problem is that is that $tan t$ has a singularity at $pi/2$. In $u$-substitution, the function $u$ is required to be differentiable on the interval and it's not even continuous here.
See the Wiki article on $u$-substitution:
https://en.wikipedia.org/wiki/Integration_by_substitution
add a comment |
The main problem is that is that $tan t$ has a singularity at $pi/2$. In $u$-substitution, the function $u$ is required to be differentiable on the interval and it's not even continuous here.
See the Wiki article on $u$-substitution:
https://en.wikipedia.org/wiki/Integration_by_substitution
add a comment |
The main problem is that is that $tan t$ has a singularity at $pi/2$. In $u$-substitution, the function $u$ is required to be differentiable on the interval and it's not even continuous here.
See the Wiki article on $u$-substitution:
https://en.wikipedia.org/wiki/Integration_by_substitution
The main problem is that is that $tan t$ has a singularity at $pi/2$. In $u$-substitution, the function $u$ is required to be differentiable on the interval and it's not even continuous here.
See the Wiki article on $u$-substitution:
https://en.wikipedia.org/wiki/Integration_by_substitution
answered Jan 4 at 12:40
B. GoddardB. Goddard
18.4k21340
18.4k21340
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%2f3061606%2fchanging-variable-integration-goes-wrong%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
I think this could help: math.stackexchange.com/questions/340180/…
– Math-fun
Jan 4 at 12:34
The substitution $t=tan, x$ is not permitted. $tan$ is not nice enough for this (not even defined at $x=pi /2$).
– Kavi Rama Murthy
Jan 4 at 12:41
Related (duplicates?): math.stackexchange.com/questions/829939/…, math.stackexchange.com/questions/2380669/…, and many others.
– Hans Lundmark
Jan 4 at 12:42