Multiple answers in evaluation of a definite integral.
Clash Royale CLAN TAG#URR8PPP
up vote
8
down vote
favorite
Consider this definite integral
$$I=int_0^2pidfracxcos x1 +cos xdx$$
Method 1
$$I=int_0^2pidfracxcos x1 +cos xdx.....(1)$$
$$I=int_0^2pidfrac(2pi-x)cos (2pi-x)1 +cos (2pi-x)dx.....(2)$$
Adding (1) and (2)
$$2I=int_0^2pidfrac2pi cos x1 +cos xdx$$
$$I=pi int_0^2pidfraccos x1 +cos xdx$$
$$I=2pi int_0^pidfraccos x1 +cos xdx.....(P1)$$
$$I=2piint_0^pidfrac1+cos x-11 +cos xdx$$
$$I=2pi int_0^pi1-dfrac11 +cos xdx$$
$$I=2pi int_0^pi1dx-2pi int_0^pidfrac11 +cos xdx$$
$$I=2pi[x]_0^pi -2pi int_0^pidfrac12cos òdfracx2dx$$
$$I=2pi ò - pi int_0^pi sec òdfracx2 dx$$
$$displaystyle I=2pi ò - 2pi left[ tan dfracx2right]_0^pi $$
$$displaystyle I=2pi ò - 2pi left[ infty - 0 right] $$
$$I=-infty$$
Method 2
$$I=int_0^2pidfracxcos x1 +cos xdx.....(1)$$
$$I=int_0^2pidfrac(2pi-x)cos (2pi-x)1 +cos (2pi-x)dx.....(2)$$
Adding (1) and (2)
$$2I=int_0^2pidfrac2pi cos x1 +cos xdx$$
$$I=pi int_0^2pidfraccos x1 +cos xdx$$
$$I=piint_0^2pidfrac1+cos x-11 +cos xdx$$
$$I=pi int_0^2pi1-dfrac11 +cos xdx$$
$$I=pi int_0^2pi1dx-pi int_0^2pidfrac11 +cos xdx$$
$$I=pi[x]_0^2pi -pi int_0^2pidfrac12cos òdfracx2dx$$
$$I=2pi ò - dfracpi2 int_0^2pi sec òdfracx2 dx$$
$$displaystyle I=2pi ò - pi left[ tan dfracx2right]_0^2pi $$
$$displaystyle I=2pi ò - pi left[ 0-0right] $$
$$I=2pi ò$$
$$(P1)--> int_0^2a f(x)dx=2int_0^af(x)dx$$if $f(2a-x)=f(x)$
I have checked these methods several times, but can't find any mistake. Method 1 seems to be wrong as the given answer was $2pi ò$. What could be the mistake?
definite-integrals
add a comment |Â
up vote
8
down vote
favorite
Consider this definite integral
$$I=int_0^2pidfracxcos x1 +cos xdx$$
Method 1
$$I=int_0^2pidfracxcos x1 +cos xdx.....(1)$$
$$I=int_0^2pidfrac(2pi-x)cos (2pi-x)1 +cos (2pi-x)dx.....(2)$$
Adding (1) and (2)
$$2I=int_0^2pidfrac2pi cos x1 +cos xdx$$
$$I=pi int_0^2pidfraccos x1 +cos xdx$$
$$I=2pi int_0^pidfraccos x1 +cos xdx.....(P1)$$
$$I=2piint_0^pidfrac1+cos x-11 +cos xdx$$
$$I=2pi int_0^pi1-dfrac11 +cos xdx$$
$$I=2pi int_0^pi1dx-2pi int_0^pidfrac11 +cos xdx$$
$$I=2pi[x]_0^pi -2pi int_0^pidfrac12cos òdfracx2dx$$
$$I=2pi ò - pi int_0^pi sec òdfracx2 dx$$
$$displaystyle I=2pi ò - 2pi left[ tan dfracx2right]_0^pi $$
$$displaystyle I=2pi ò - 2pi left[ infty - 0 right] $$
$$I=-infty$$
Method 2
$$I=int_0^2pidfracxcos x1 +cos xdx.....(1)$$
$$I=int_0^2pidfrac(2pi-x)cos (2pi-x)1 +cos (2pi-x)dx.....(2)$$
Adding (1) and (2)
$$2I=int_0^2pidfrac2pi cos x1 +cos xdx$$
$$I=pi int_0^2pidfraccos x1 +cos xdx$$
$$I=piint_0^2pidfrac1+cos x-11 +cos xdx$$
$$I=pi int_0^2pi1-dfrac11 +cos xdx$$
$$I=pi int_0^2pi1dx-pi int_0^2pidfrac11 +cos xdx$$
$$I=pi[x]_0^2pi -pi int_0^2pidfrac12cos òdfracx2dx$$
$$I=2pi ò - dfracpi2 int_0^2pi sec òdfracx2 dx$$
$$displaystyle I=2pi ò - pi left[ tan dfracx2right]_0^2pi $$
$$displaystyle I=2pi ò - pi left[ 0-0right] $$
$$I=2pi ò$$
$$(P1)--> int_0^2a f(x)dx=2int_0^af(x)dx$$if $f(2a-x)=f(x)$
I have checked these methods several times, but can't find any mistake. Method 1 seems to be wrong as the given answer was $2pi ò$. What could be the mistake?
definite-integrals
add a comment |Â
up vote
8
down vote
favorite
up vote
8
down vote
favorite
Consider this definite integral
$$I=int_0^2pidfracxcos x1 +cos xdx$$
Method 1
$$I=int_0^2pidfracxcos x1 +cos xdx.....(1)$$
$$I=int_0^2pidfrac(2pi-x)cos (2pi-x)1 +cos (2pi-x)dx.....(2)$$
Adding (1) and (2)
$$2I=int_0^2pidfrac2pi cos x1 +cos xdx$$
$$I=pi int_0^2pidfraccos x1 +cos xdx$$
$$I=2pi int_0^pidfraccos x1 +cos xdx.....(P1)$$
$$I=2piint_0^pidfrac1+cos x-11 +cos xdx$$
$$I=2pi int_0^pi1-dfrac11 +cos xdx$$
$$I=2pi int_0^pi1dx-2pi int_0^pidfrac11 +cos xdx$$
$$I=2pi[x]_0^pi -2pi int_0^pidfrac12cos òdfracx2dx$$
$$I=2pi ò - pi int_0^pi sec òdfracx2 dx$$
$$displaystyle I=2pi ò - 2pi left[ tan dfracx2right]_0^pi $$
$$displaystyle I=2pi ò - 2pi left[ infty - 0 right] $$
$$I=-infty$$
Method 2
$$I=int_0^2pidfracxcos x1 +cos xdx.....(1)$$
$$I=int_0^2pidfrac(2pi-x)cos (2pi-x)1 +cos (2pi-x)dx.....(2)$$
Adding (1) and (2)
$$2I=int_0^2pidfrac2pi cos x1 +cos xdx$$
$$I=pi int_0^2pidfraccos x1 +cos xdx$$
$$I=piint_0^2pidfrac1+cos x-11 +cos xdx$$
$$I=pi int_0^2pi1-dfrac11 +cos xdx$$
$$I=pi int_0^2pi1dx-pi int_0^2pidfrac11 +cos xdx$$
$$I=pi[x]_0^2pi -pi int_0^2pidfrac12cos òdfracx2dx$$
$$I=2pi ò - dfracpi2 int_0^2pi sec òdfracx2 dx$$
$$displaystyle I=2pi ò - pi left[ tan dfracx2right]_0^2pi $$
$$displaystyle I=2pi ò - pi left[ 0-0right] $$
$$I=2pi ò$$
$$(P1)--> int_0^2a f(x)dx=2int_0^af(x)dx$$if $f(2a-x)=f(x)$
I have checked these methods several times, but can't find any mistake. Method 1 seems to be wrong as the given answer was $2pi ò$. What could be the mistake?
definite-integrals
Consider this definite integral
$$I=int_0^2pidfracxcos x1 +cos xdx$$
Method 1
$$I=int_0^2pidfracxcos x1 +cos xdx.....(1)$$
$$I=int_0^2pidfrac(2pi-x)cos (2pi-x)1 +cos (2pi-x)dx.....(2)$$
Adding (1) and (2)
$$2I=int_0^2pidfrac2pi cos x1 +cos xdx$$
$$I=pi int_0^2pidfraccos x1 +cos xdx$$
$$I=2pi int_0^pidfraccos x1 +cos xdx.....(P1)$$
$$I=2piint_0^pidfrac1+cos x-11 +cos xdx$$
$$I=2pi int_0^pi1-dfrac11 +cos xdx$$
$$I=2pi int_0^pi1dx-2pi int_0^pidfrac11 +cos xdx$$
$$I=2pi[x]_0^pi -2pi int_0^pidfrac12cos òdfracx2dx$$
$$I=2pi ò - pi int_0^pi sec òdfracx2 dx$$
$$displaystyle I=2pi ò - 2pi left[ tan dfracx2right]_0^pi $$
$$displaystyle I=2pi ò - 2pi left[ infty - 0 right] $$
$$I=-infty$$
Method 2
$$I=int_0^2pidfracxcos x1 +cos xdx.....(1)$$
$$I=int_0^2pidfrac(2pi-x)cos (2pi-x)1 +cos (2pi-x)dx.....(2)$$
Adding (1) and (2)
$$2I=int_0^2pidfrac2pi cos x1 +cos xdx$$
$$I=pi int_0^2pidfraccos x1 +cos xdx$$
$$I=piint_0^2pidfrac1+cos x-11 +cos xdx$$
$$I=pi int_0^2pi1-dfrac11 +cos xdx$$
$$I=pi int_0^2pi1dx-pi int_0^2pidfrac11 +cos xdx$$
$$I=pi[x]_0^2pi -pi int_0^2pidfrac12cos òdfracx2dx$$
$$I=2pi ò - dfracpi2 int_0^2pi sec òdfracx2 dx$$
$$displaystyle I=2pi ò - pi left[ tan dfracx2right]_0^2pi $$
$$displaystyle I=2pi ò - pi left[ 0-0right] $$
$$I=2pi ò$$
$$(P1)--> int_0^2a f(x)dx=2int_0^af(x)dx$$if $f(2a-x)=f(x)$
I have checked these methods several times, but can't find any mistake. Method 1 seems to be wrong as the given answer was $2pi ò$. What could be the mistake?
definite-integrals
definite-integrals
asked Sep 28 at 7:00
Loop Back
3009
3009
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
15
down vote
accepted
Actually, the first method is correct and the second method is wrong. To see what is happening here, notice that the integrand is almost proportional to $frac1(x-pi)^2$, precisely in the following sense:
$$ lim_x to pi (x-pi)^2 fracx cos x1+cos x
= -2pi. $$
So the integrand diverges to $-infty$ as $xtopi$.
$hspace8.5em$
As far as improper integrability is concerned, having discontinuity points at which $|f(x)|$ diverges to $infty$ is not necessarily a threat for the convergence of the improper integral $int f(x) , dx$. In your case, however, we know that$int_pi-delta^pi+delta frac1(x-pi)^2 , dx = infty$ for any $delta > 0$, hence the integral in question does not converge by comparison test.
To see what is wrong in your second approach, note that $u = tan(x/2)$ has discontinuity at $x = pi$, hence cannot be used as a valid substitution over the interval $[0, 2pi]$. (Of course, it can be used as a substitution over the interval $[0,pi)$, which is why your first approach is valid.)
$hspace8.5em$
$SangchulLee thank you I didn't notice that substitution mistake, next time I'll remember it.
â Loop Back
Sep 28 at 7:27
1
What's a pole??
â Abcd
Sep 28 at 9:05
5
@Abcd, Although the precise definition requires a bit of complex analysis, it is enough to know that pole is a special type of singularity, where (the magnitude of) the function diverges to infinity.
â Sangchul Lee
Sep 28 at 9:19
@Abcd: More simply, a "division by zero". It's fairly obvious: when x=ÃÂ, cos x = -1, so(x cos x) / (1 + cos x ) = (-ÃÂ) / (0)
â MSalters
Sep 28 at 11:25
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
15
down vote
accepted
Actually, the first method is correct and the second method is wrong. To see what is happening here, notice that the integrand is almost proportional to $frac1(x-pi)^2$, precisely in the following sense:
$$ lim_x to pi (x-pi)^2 fracx cos x1+cos x
= -2pi. $$
So the integrand diverges to $-infty$ as $xtopi$.
$hspace8.5em$
As far as improper integrability is concerned, having discontinuity points at which $|f(x)|$ diverges to $infty$ is not necessarily a threat for the convergence of the improper integral $int f(x) , dx$. In your case, however, we know that$int_pi-delta^pi+delta frac1(x-pi)^2 , dx = infty$ for any $delta > 0$, hence the integral in question does not converge by comparison test.
To see what is wrong in your second approach, note that $u = tan(x/2)$ has discontinuity at $x = pi$, hence cannot be used as a valid substitution over the interval $[0, 2pi]$. (Of course, it can be used as a substitution over the interval $[0,pi)$, which is why your first approach is valid.)
$hspace8.5em$
$SangchulLee thank you I didn't notice that substitution mistake, next time I'll remember it.
â Loop Back
Sep 28 at 7:27
1
What's a pole??
â Abcd
Sep 28 at 9:05
5
@Abcd, Although the precise definition requires a bit of complex analysis, it is enough to know that pole is a special type of singularity, where (the magnitude of) the function diverges to infinity.
â Sangchul Lee
Sep 28 at 9:19
@Abcd: More simply, a "division by zero". It's fairly obvious: when x=ÃÂ, cos x = -1, so(x cos x) / (1 + cos x ) = (-ÃÂ) / (0)
â MSalters
Sep 28 at 11:25
add a comment |Â
up vote
15
down vote
accepted
Actually, the first method is correct and the second method is wrong. To see what is happening here, notice that the integrand is almost proportional to $frac1(x-pi)^2$, precisely in the following sense:
$$ lim_x to pi (x-pi)^2 fracx cos x1+cos x
= -2pi. $$
So the integrand diverges to $-infty$ as $xtopi$.
$hspace8.5em$
As far as improper integrability is concerned, having discontinuity points at which $|f(x)|$ diverges to $infty$ is not necessarily a threat for the convergence of the improper integral $int f(x) , dx$. In your case, however, we know that$int_pi-delta^pi+delta frac1(x-pi)^2 , dx = infty$ for any $delta > 0$, hence the integral in question does not converge by comparison test.
To see what is wrong in your second approach, note that $u = tan(x/2)$ has discontinuity at $x = pi$, hence cannot be used as a valid substitution over the interval $[0, 2pi]$. (Of course, it can be used as a substitution over the interval $[0,pi)$, which is why your first approach is valid.)
$hspace8.5em$
$SangchulLee thank you I didn't notice that substitution mistake, next time I'll remember it.
â Loop Back
Sep 28 at 7:27
1
What's a pole??
â Abcd
Sep 28 at 9:05
5
@Abcd, Although the precise definition requires a bit of complex analysis, it is enough to know that pole is a special type of singularity, where (the magnitude of) the function diverges to infinity.
â Sangchul Lee
Sep 28 at 9:19
@Abcd: More simply, a "division by zero". It's fairly obvious: when x=ÃÂ, cos x = -1, so(x cos x) / (1 + cos x ) = (-ÃÂ) / (0)
â MSalters
Sep 28 at 11:25
add a comment |Â
up vote
15
down vote
accepted
up vote
15
down vote
accepted
Actually, the first method is correct and the second method is wrong. To see what is happening here, notice that the integrand is almost proportional to $frac1(x-pi)^2$, precisely in the following sense:
$$ lim_x to pi (x-pi)^2 fracx cos x1+cos x
= -2pi. $$
So the integrand diverges to $-infty$ as $xtopi$.
$hspace8.5em$
As far as improper integrability is concerned, having discontinuity points at which $|f(x)|$ diverges to $infty$ is not necessarily a threat for the convergence of the improper integral $int f(x) , dx$. In your case, however, we know that$int_pi-delta^pi+delta frac1(x-pi)^2 , dx = infty$ for any $delta > 0$, hence the integral in question does not converge by comparison test.
To see what is wrong in your second approach, note that $u = tan(x/2)$ has discontinuity at $x = pi$, hence cannot be used as a valid substitution over the interval $[0, 2pi]$. (Of course, it can be used as a substitution over the interval $[0,pi)$, which is why your first approach is valid.)
$hspace8.5em$
Actually, the first method is correct and the second method is wrong. To see what is happening here, notice that the integrand is almost proportional to $frac1(x-pi)^2$, precisely in the following sense:
$$ lim_x to pi (x-pi)^2 fracx cos x1+cos x
= -2pi. $$
So the integrand diverges to $-infty$ as $xtopi$.
$hspace8.5em$
As far as improper integrability is concerned, having discontinuity points at which $|f(x)|$ diverges to $infty$ is not necessarily a threat for the convergence of the improper integral $int f(x) , dx$. In your case, however, we know that$int_pi-delta^pi+delta frac1(x-pi)^2 , dx = infty$ for any $delta > 0$, hence the integral in question does not converge by comparison test.
To see what is wrong in your second approach, note that $u = tan(x/2)$ has discontinuity at $x = pi$, hence cannot be used as a valid substitution over the interval $[0, 2pi]$. (Of course, it can be used as a substitution over the interval $[0,pi)$, which is why your first approach is valid.)
$hspace8.5em$
edited Sep 28 at 11:40
answered Sep 28 at 7:13
Sangchul Lee
87.4k12158259
87.4k12158259
$SangchulLee thank you I didn't notice that substitution mistake, next time I'll remember it.
â Loop Back
Sep 28 at 7:27
1
What's a pole??
â Abcd
Sep 28 at 9:05
5
@Abcd, Although the precise definition requires a bit of complex analysis, it is enough to know that pole is a special type of singularity, where (the magnitude of) the function diverges to infinity.
â Sangchul Lee
Sep 28 at 9:19
@Abcd: More simply, a "division by zero". It's fairly obvious: when x=ÃÂ, cos x = -1, so(x cos x) / (1 + cos x ) = (-ÃÂ) / (0)
â MSalters
Sep 28 at 11:25
add a comment |Â
$SangchulLee thank you I didn't notice that substitution mistake, next time I'll remember it.
â Loop Back
Sep 28 at 7:27
1
What's a pole??
â Abcd
Sep 28 at 9:05
5
@Abcd, Although the precise definition requires a bit of complex analysis, it is enough to know that pole is a special type of singularity, where (the magnitude of) the function diverges to infinity.
â Sangchul Lee
Sep 28 at 9:19
@Abcd: More simply, a "division by zero". It's fairly obvious: when x=ÃÂ, cos x = -1, so(x cos x) / (1 + cos x ) = (-ÃÂ) / (0)
â MSalters
Sep 28 at 11:25
$SangchulLee thank you I didn't notice that substitution mistake, next time I'll remember it.
â Loop Back
Sep 28 at 7:27
$SangchulLee thank you I didn't notice that substitution mistake, next time I'll remember it.
â Loop Back
Sep 28 at 7:27
1
1
What's a pole??
â Abcd
Sep 28 at 9:05
What's a pole??
â Abcd
Sep 28 at 9:05
5
5
@Abcd, Although the precise definition requires a bit of complex analysis, it is enough to know that pole is a special type of singularity, where (the magnitude of) the function diverges to infinity.
â Sangchul Lee
Sep 28 at 9:19
@Abcd, Although the precise definition requires a bit of complex analysis, it is enough to know that pole is a special type of singularity, where (the magnitude of) the function diverges to infinity.
â Sangchul Lee
Sep 28 at 9:19
@Abcd: More simply, a "division by zero". It's fairly obvious: when x=ÃÂ, cos x = -1, so(x cos x) / (1 + cos x ) = (-ÃÂ) / (0)
â MSalters
Sep 28 at 11:25
@Abcd: More simply, a "division by zero". It's fairly obvious: when x=ÃÂ, cos x = -1, so(x cos x) / (1 + cos x ) = (-ÃÂ) / (0)
â MSalters
Sep 28 at 11:25
add a comment |Â
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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2934074%2fmultiple-answers-in-evaluation-of-a-definite-integral%23new-answer', 'question_page');
);
Post as a guest
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
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
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