How to evaluate $int _{-infty }^{infty }!{frac {cos left( x right) }{{x}^{4}+1}}{dx}$
$begingroup$
How to evaluate the following integral?
$$
int _{-infty }^{infty }!{frac {cos left( x right) }{{x}^{4}+1}}{dx}
$$
Unlike this example, according to maple, the solution does not contain sine and cosine integrals. But how does it eavluate this kind of integrals? The method?
integration analysis improper-integrals
$endgroup$
add a comment |
$begingroup$
How to evaluate the following integral?
$$
int _{-infty }^{infty }!{frac {cos left( x right) }{{x}^{4}+1}}{dx}
$$
Unlike this example, according to maple, the solution does not contain sine and cosine integrals. But how does it eavluate this kind of integrals? The method?
integration analysis improper-integrals
$endgroup$
2
$begingroup$
Residue theorem and Jordan's lemma.
$endgroup$
– Start wearing purple
Nov 7 '14 at 8:36
add a comment |
$begingroup$
How to evaluate the following integral?
$$
int _{-infty }^{infty }!{frac {cos left( x right) }{{x}^{4}+1}}{dx}
$$
Unlike this example, according to maple, the solution does not contain sine and cosine integrals. But how does it eavluate this kind of integrals? The method?
integration analysis improper-integrals
$endgroup$
How to evaluate the following integral?
$$
int _{-infty }^{infty }!{frac {cos left( x right) }{{x}^{4}+1}}{dx}
$$
Unlike this example, according to maple, the solution does not contain sine and cosine integrals. But how does it eavluate this kind of integrals? The method?
integration analysis improper-integrals
integration analysis improper-integrals
edited Dec 15 '18 at 4:37
Brahadeesh
6,51142364
6,51142364
asked Nov 7 '14 at 8:30
Süleyman ÖğrekçiSüleyman Öğrekçi
855
855
2
$begingroup$
Residue theorem and Jordan's lemma.
$endgroup$
– Start wearing purple
Nov 7 '14 at 8:36
add a comment |
2
$begingroup$
Residue theorem and Jordan's lemma.
$endgroup$
– Start wearing purple
Nov 7 '14 at 8:36
2
2
$begingroup$
Residue theorem and Jordan's lemma.
$endgroup$
– Start wearing purple
Nov 7 '14 at 8:36
$begingroup$
Residue theorem and Jordan's lemma.
$endgroup$
– Start wearing purple
Nov 7 '14 at 8:36
add a comment |
4 Answers
4
active
oldest
votes
$begingroup$
This can be done using residues, with the function $f(z) = exp(i z)/(z^4 + 1)$
and a contour that goes along the real axis and returns on a circular arc in the upper half plane.
$endgroup$
$begingroup$
why it's $exp(iz)/(z^4+1)$ but not $cos(z)/(z^4+1)$?
$endgroup$
– Kenneth.K
May 11 '16 at 19:37
$begingroup$
@Kenneth.K $cos(z)/(z^4+1)$ is the real part of $exp(iz)/(z^4+1)$, so you only need to evaluate integral of $f$ and take real part.
$endgroup$
– Wojowu
May 11 '16 at 19:44
1
$begingroup$
@Kenneth.K The real reason why one takes the exponential is convergence. Since $cos z=(e^{iz}+e^{-iz})/2$, it will be exponentially big, both in the upper ($e^{-iz}$) and lower ($e^{iz}$) half plane (as the imaginary part of $z$ tends to $-infty$ and $+infty$ respectively. The exponential $e^{iz}$ is however small in the upper half plane. (One could equally well have considered $e^{-iz}$ in the lower half plane.)
$endgroup$
– mickep
May 15 '16 at 10:52
add a comment |
$begingroup$
$$1.5442760;approx;piexp{left( -frac{sqrt{2}}{2}right)}
sinleft(frac{pi}{4} + frac{sqrt{2}}{2}right)
;=;int_mathbb{R}; frac{cos(x)}{x^4+1}, dx$$
holds true, but it is not the answer to the question.
Furthermore, I do not know, how Maple is doing to get it.
Generalising the proposed integral, let's proceed to determine
$$I_p:=:int_mathbb{R}; frac{cos x}{x^p+1}, dx
qquadtext{where $pinmathbb{N}$ is even}.$$
Consider $f(x)=1/(x^p+1)$. Using residues we are computing the Fourier transform
begin{align}
hat f(omega): & =;int_mathbb{R}; frac{e^{-iomega x}}{x^p+1}, dx \[2.7ex]
& =;int_mathbb{R}; frac{cos(omega x)}{x^p+1}, dx
; -;iint_mathbb{R}; frac{sin(omega x)}{x^p+1}, dx
end{align}
which is purely real since the last integral vanishes, its integrand
$frac{sin(omega x)}{x^p+1}$ being an odd function of $x$ for every $omega$. And it's immediate that $,hat f,$ is an even function then.
Once $,hat f(omega),$ is made explicit the sought values can be obtained via evaluation: $I_p=hat f(1)$.
Jordan's lemma can be applied
to calculate $,hat f(omega)$, by assuming $omegale 0$ and with the real axis and the (infinite) semicircular arc in the upper half plane as contour of integration.
How does the integrand behave on that arc, parametrised by
$Re^{ivarphi}$ with $Rgg 0$ and $0levarphilepi:$?
$$left| frac{e^{-iomega R(cosvarphi + isinvarphi)}}
{(Re^{ivarphi})^p +1} right|
;=; frac{left| e^{omega Rsinvarphi} right|}
{left| {R^p e^{ipvarphi} +1} right|}$$
The numerator is bounded above by $1$, and because of $pge 2$ the overall decrease is sufficient.
Let's turn to the residues
contributing to the value of the integral. They originate from the
$p$-th roots of $,-1,$ having positive imaginary part:
begin{align}
z_k & ;=;expleft(i(2k-1)frac{pi}{p}right)
quadtext{where }k=1,ldots ,frac{p}{2} \
& ;=;costheta_k + isintheta_k,quadtheta_k=(2k-1)frac{pi}{p}
end{align}
Note the reflection symmetry with respect to the imaginary axis which we record for later need
$$sintheta_{frac{p}{2}+1-k} = sintheta_k
quadtext{and}quad
costheta_{frac{p}{2}+1-k} = - costheta_k .$$
Since $z_k$ is a simple root and the numerator $e^{-iomega x}$ is non-zero, the corresponding residue is given by
begin{align}
operatorname{Res}(z_k) & ;=; frac{e^{-iomega x}}{px^{p-1}}Bigg|_{x=z_k}
;=; frac{e^{-iomega (costheta_k +isintheta_k)}}{pz_k^{p-1}} \[2.7ex]
& ;=; -frac{1}{p} exp(omega sintheta_k),
e^{itheta_k}e^{-iomegacostheta_k}
end{align}
When summing these up
from $,k=1,$ to $,p/2,$ the real parts will cancel pairwise due to the reflection symmetry$-$just "Go back to the roots!" If $,p/2,$ is odd, then $,i,$ belongs to the relevant root set, and the real part of that summand is zero anyway. After multiplying with $,2pi i,$ we are done:
$$hat f(omega);=;frac{2pi}{p}sum_{k=1}^{p/2}expbig(-|omega|sintheta_kbig)
sinbig(theta_k + |omega|costheta_kbig)$$
Until here $omegale 0$ was understood, to meet the conditions allowing for the calculus of residues. Upon introducing the absolute value of $omega$, this assumption can be abandoned because $hat f(omega)$ is even.
Choosing $,|omega|=1$ we reach the goal initially set out:
$$I_p;=;frac{2pi}{p}sum_{k=1}^{frac{p}{2}} e^{-sintheta_k},
sin(theta_k +costheta_k), ,quadtheta_k=(2k-1)frac{pi}{p}$$
$endgroup$
add a comment |
$begingroup$
Consider $f(z) = exp(iz)/(z^4+1)$. Simple poles of $a(z)=frac{b(z)}{c(z)}$ at $z_0$ have a residue of $frac {b(z_0)}{c'(z_0)}$ at $z_0$. Thus, it can be seen that for any root $z_0$ of $z^4+1$, its residue is
$$operatorname*{Res}_{z=z_0} f(z) = frac{exp(iz_0)}{4z_0^3}$$
Consider a semicircular contour of infinite radius, which, by Jordan's lemma, does not receive a contribution by the rounded part. There are two roots in this contour, $z_1 = (1+i)/sqrt 2$ and $z_2 = (i-1)/sqrt 2$. The residues at these poles are
$$r_1 = operatorname*{Res}_{z = z_1}f(z) = frac{expleft(frac{i-1}{sqrt 2}right)}{(-2+2 i) sqrt 2}$$
$$r_2 = operatorname*{Res}_{z = z_2}f(z) = frac{expleft(frac{-1-i}{sqrt 2}right)}{(2+2 i) sqrt 2}$$
Then,
$$I = int_{-infty}^infty f(z),dz = 2pi i (r_1+r_2) = frac{pi e^{-frac{1}{sqrt 2}} left(sinleft(frac{1}{sqrt 2}right) + cosleft(frac{1}{sqrt 2}right)right)}{sqrt 2}$$
$endgroup$
add a comment |
$begingroup$
This is a two-sided variant of
$$int_0^infty frac{cos(ax)}{b^4+x^4}dx=frac{pisqrt 2}{4b^3}expleft(-frac{ab}{surd 2}right)left[cosleft(frac{ab}{surd 2}right)+sinleft(frac{ab}{surd 2}right)right].$$ My method is looking this up under item 3.727.1 in the Gradsteyn/Ryzhik tables.
$endgroup$
$begingroup$
Now derive the result.
$endgroup$
– marty cohen
May 16 '16 at 6:20
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%2f1010295%2fhow-to-evaluate-int-infty-infty-frac-cos-left-x-right-x%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
This can be done using residues, with the function $f(z) = exp(i z)/(z^4 + 1)$
and a contour that goes along the real axis and returns on a circular arc in the upper half plane.
$endgroup$
$begingroup$
why it's $exp(iz)/(z^4+1)$ but not $cos(z)/(z^4+1)$?
$endgroup$
– Kenneth.K
May 11 '16 at 19:37
$begingroup$
@Kenneth.K $cos(z)/(z^4+1)$ is the real part of $exp(iz)/(z^4+1)$, so you only need to evaluate integral of $f$ and take real part.
$endgroup$
– Wojowu
May 11 '16 at 19:44
1
$begingroup$
@Kenneth.K The real reason why one takes the exponential is convergence. Since $cos z=(e^{iz}+e^{-iz})/2$, it will be exponentially big, both in the upper ($e^{-iz}$) and lower ($e^{iz}$) half plane (as the imaginary part of $z$ tends to $-infty$ and $+infty$ respectively. The exponential $e^{iz}$ is however small in the upper half plane. (One could equally well have considered $e^{-iz}$ in the lower half plane.)
$endgroup$
– mickep
May 15 '16 at 10:52
add a comment |
$begingroup$
This can be done using residues, with the function $f(z) = exp(i z)/(z^4 + 1)$
and a contour that goes along the real axis and returns on a circular arc in the upper half plane.
$endgroup$
$begingroup$
why it's $exp(iz)/(z^4+1)$ but not $cos(z)/(z^4+1)$?
$endgroup$
– Kenneth.K
May 11 '16 at 19:37
$begingroup$
@Kenneth.K $cos(z)/(z^4+1)$ is the real part of $exp(iz)/(z^4+1)$, so you only need to evaluate integral of $f$ and take real part.
$endgroup$
– Wojowu
May 11 '16 at 19:44
1
$begingroup$
@Kenneth.K The real reason why one takes the exponential is convergence. Since $cos z=(e^{iz}+e^{-iz})/2$, it will be exponentially big, both in the upper ($e^{-iz}$) and lower ($e^{iz}$) half plane (as the imaginary part of $z$ tends to $-infty$ and $+infty$ respectively. The exponential $e^{iz}$ is however small in the upper half plane. (One could equally well have considered $e^{-iz}$ in the lower half plane.)
$endgroup$
– mickep
May 15 '16 at 10:52
add a comment |
$begingroup$
This can be done using residues, with the function $f(z) = exp(i z)/(z^4 + 1)$
and a contour that goes along the real axis and returns on a circular arc in the upper half plane.
$endgroup$
This can be done using residues, with the function $f(z) = exp(i z)/(z^4 + 1)$
and a contour that goes along the real axis and returns on a circular arc in the upper half plane.
answered Nov 7 '14 at 8:37
Robert IsraelRobert Israel
331k23220475
331k23220475
$begingroup$
why it's $exp(iz)/(z^4+1)$ but not $cos(z)/(z^4+1)$?
$endgroup$
– Kenneth.K
May 11 '16 at 19:37
$begingroup$
@Kenneth.K $cos(z)/(z^4+1)$ is the real part of $exp(iz)/(z^4+1)$, so you only need to evaluate integral of $f$ and take real part.
$endgroup$
– Wojowu
May 11 '16 at 19:44
1
$begingroup$
@Kenneth.K The real reason why one takes the exponential is convergence. Since $cos z=(e^{iz}+e^{-iz})/2$, it will be exponentially big, both in the upper ($e^{-iz}$) and lower ($e^{iz}$) half plane (as the imaginary part of $z$ tends to $-infty$ and $+infty$ respectively. The exponential $e^{iz}$ is however small in the upper half plane. (One could equally well have considered $e^{-iz}$ in the lower half plane.)
$endgroup$
– mickep
May 15 '16 at 10:52
add a comment |
$begingroup$
why it's $exp(iz)/(z^4+1)$ but not $cos(z)/(z^4+1)$?
$endgroup$
– Kenneth.K
May 11 '16 at 19:37
$begingroup$
@Kenneth.K $cos(z)/(z^4+1)$ is the real part of $exp(iz)/(z^4+1)$, so you only need to evaluate integral of $f$ and take real part.
$endgroup$
– Wojowu
May 11 '16 at 19:44
1
$begingroup$
@Kenneth.K The real reason why one takes the exponential is convergence. Since $cos z=(e^{iz}+e^{-iz})/2$, it will be exponentially big, both in the upper ($e^{-iz}$) and lower ($e^{iz}$) half plane (as the imaginary part of $z$ tends to $-infty$ and $+infty$ respectively. The exponential $e^{iz}$ is however small in the upper half plane. (One could equally well have considered $e^{-iz}$ in the lower half plane.)
$endgroup$
– mickep
May 15 '16 at 10:52
$begingroup$
why it's $exp(iz)/(z^4+1)$ but not $cos(z)/(z^4+1)$?
$endgroup$
– Kenneth.K
May 11 '16 at 19:37
$begingroup$
why it's $exp(iz)/(z^4+1)$ but not $cos(z)/(z^4+1)$?
$endgroup$
– Kenneth.K
May 11 '16 at 19:37
$begingroup$
@Kenneth.K $cos(z)/(z^4+1)$ is the real part of $exp(iz)/(z^4+1)$, so you only need to evaluate integral of $f$ and take real part.
$endgroup$
– Wojowu
May 11 '16 at 19:44
$begingroup$
@Kenneth.K $cos(z)/(z^4+1)$ is the real part of $exp(iz)/(z^4+1)$, so you only need to evaluate integral of $f$ and take real part.
$endgroup$
– Wojowu
May 11 '16 at 19:44
1
1
$begingroup$
@Kenneth.K The real reason why one takes the exponential is convergence. Since $cos z=(e^{iz}+e^{-iz})/2$, it will be exponentially big, both in the upper ($e^{-iz}$) and lower ($e^{iz}$) half plane (as the imaginary part of $z$ tends to $-infty$ and $+infty$ respectively. The exponential $e^{iz}$ is however small in the upper half plane. (One could equally well have considered $e^{-iz}$ in the lower half plane.)
$endgroup$
– mickep
May 15 '16 at 10:52
$begingroup$
@Kenneth.K The real reason why one takes the exponential is convergence. Since $cos z=(e^{iz}+e^{-iz})/2$, it will be exponentially big, both in the upper ($e^{-iz}$) and lower ($e^{iz}$) half plane (as the imaginary part of $z$ tends to $-infty$ and $+infty$ respectively. The exponential $e^{iz}$ is however small in the upper half plane. (One could equally well have considered $e^{-iz}$ in the lower half plane.)
$endgroup$
– mickep
May 15 '16 at 10:52
add a comment |
$begingroup$
$$1.5442760;approx;piexp{left( -frac{sqrt{2}}{2}right)}
sinleft(frac{pi}{4} + frac{sqrt{2}}{2}right)
;=;int_mathbb{R}; frac{cos(x)}{x^4+1}, dx$$
holds true, but it is not the answer to the question.
Furthermore, I do not know, how Maple is doing to get it.
Generalising the proposed integral, let's proceed to determine
$$I_p:=:int_mathbb{R}; frac{cos x}{x^p+1}, dx
qquadtext{where $pinmathbb{N}$ is even}.$$
Consider $f(x)=1/(x^p+1)$. Using residues we are computing the Fourier transform
begin{align}
hat f(omega): & =;int_mathbb{R}; frac{e^{-iomega x}}{x^p+1}, dx \[2.7ex]
& =;int_mathbb{R}; frac{cos(omega x)}{x^p+1}, dx
; -;iint_mathbb{R}; frac{sin(omega x)}{x^p+1}, dx
end{align}
which is purely real since the last integral vanishes, its integrand
$frac{sin(omega x)}{x^p+1}$ being an odd function of $x$ for every $omega$. And it's immediate that $,hat f,$ is an even function then.
Once $,hat f(omega),$ is made explicit the sought values can be obtained via evaluation: $I_p=hat f(1)$.
Jordan's lemma can be applied
to calculate $,hat f(omega)$, by assuming $omegale 0$ and with the real axis and the (infinite) semicircular arc in the upper half plane as contour of integration.
How does the integrand behave on that arc, parametrised by
$Re^{ivarphi}$ with $Rgg 0$ and $0levarphilepi:$?
$$left| frac{e^{-iomega R(cosvarphi + isinvarphi)}}
{(Re^{ivarphi})^p +1} right|
;=; frac{left| e^{omega Rsinvarphi} right|}
{left| {R^p e^{ipvarphi} +1} right|}$$
The numerator is bounded above by $1$, and because of $pge 2$ the overall decrease is sufficient.
Let's turn to the residues
contributing to the value of the integral. They originate from the
$p$-th roots of $,-1,$ having positive imaginary part:
begin{align}
z_k & ;=;expleft(i(2k-1)frac{pi}{p}right)
quadtext{where }k=1,ldots ,frac{p}{2} \
& ;=;costheta_k + isintheta_k,quadtheta_k=(2k-1)frac{pi}{p}
end{align}
Note the reflection symmetry with respect to the imaginary axis which we record for later need
$$sintheta_{frac{p}{2}+1-k} = sintheta_k
quadtext{and}quad
costheta_{frac{p}{2}+1-k} = - costheta_k .$$
Since $z_k$ is a simple root and the numerator $e^{-iomega x}$ is non-zero, the corresponding residue is given by
begin{align}
operatorname{Res}(z_k) & ;=; frac{e^{-iomega x}}{px^{p-1}}Bigg|_{x=z_k}
;=; frac{e^{-iomega (costheta_k +isintheta_k)}}{pz_k^{p-1}} \[2.7ex]
& ;=; -frac{1}{p} exp(omega sintheta_k),
e^{itheta_k}e^{-iomegacostheta_k}
end{align}
When summing these up
from $,k=1,$ to $,p/2,$ the real parts will cancel pairwise due to the reflection symmetry$-$just "Go back to the roots!" If $,p/2,$ is odd, then $,i,$ belongs to the relevant root set, and the real part of that summand is zero anyway. After multiplying with $,2pi i,$ we are done:
$$hat f(omega);=;frac{2pi}{p}sum_{k=1}^{p/2}expbig(-|omega|sintheta_kbig)
sinbig(theta_k + |omega|costheta_kbig)$$
Until here $omegale 0$ was understood, to meet the conditions allowing for the calculus of residues. Upon introducing the absolute value of $omega$, this assumption can be abandoned because $hat f(omega)$ is even.
Choosing $,|omega|=1$ we reach the goal initially set out:
$$I_p;=;frac{2pi}{p}sum_{k=1}^{frac{p}{2}} e^{-sintheta_k},
sin(theta_k +costheta_k), ,quadtheta_k=(2k-1)frac{pi}{p}$$
$endgroup$
add a comment |
$begingroup$
$$1.5442760;approx;piexp{left( -frac{sqrt{2}}{2}right)}
sinleft(frac{pi}{4} + frac{sqrt{2}}{2}right)
;=;int_mathbb{R}; frac{cos(x)}{x^4+1}, dx$$
holds true, but it is not the answer to the question.
Furthermore, I do not know, how Maple is doing to get it.
Generalising the proposed integral, let's proceed to determine
$$I_p:=:int_mathbb{R}; frac{cos x}{x^p+1}, dx
qquadtext{where $pinmathbb{N}$ is even}.$$
Consider $f(x)=1/(x^p+1)$. Using residues we are computing the Fourier transform
begin{align}
hat f(omega): & =;int_mathbb{R}; frac{e^{-iomega x}}{x^p+1}, dx \[2.7ex]
& =;int_mathbb{R}; frac{cos(omega x)}{x^p+1}, dx
; -;iint_mathbb{R}; frac{sin(omega x)}{x^p+1}, dx
end{align}
which is purely real since the last integral vanishes, its integrand
$frac{sin(omega x)}{x^p+1}$ being an odd function of $x$ for every $omega$. And it's immediate that $,hat f,$ is an even function then.
Once $,hat f(omega),$ is made explicit the sought values can be obtained via evaluation: $I_p=hat f(1)$.
Jordan's lemma can be applied
to calculate $,hat f(omega)$, by assuming $omegale 0$ and with the real axis and the (infinite) semicircular arc in the upper half plane as contour of integration.
How does the integrand behave on that arc, parametrised by
$Re^{ivarphi}$ with $Rgg 0$ and $0levarphilepi:$?
$$left| frac{e^{-iomega R(cosvarphi + isinvarphi)}}
{(Re^{ivarphi})^p +1} right|
;=; frac{left| e^{omega Rsinvarphi} right|}
{left| {R^p e^{ipvarphi} +1} right|}$$
The numerator is bounded above by $1$, and because of $pge 2$ the overall decrease is sufficient.
Let's turn to the residues
contributing to the value of the integral. They originate from the
$p$-th roots of $,-1,$ having positive imaginary part:
begin{align}
z_k & ;=;expleft(i(2k-1)frac{pi}{p}right)
quadtext{where }k=1,ldots ,frac{p}{2} \
& ;=;costheta_k + isintheta_k,quadtheta_k=(2k-1)frac{pi}{p}
end{align}
Note the reflection symmetry with respect to the imaginary axis which we record for later need
$$sintheta_{frac{p}{2}+1-k} = sintheta_k
quadtext{and}quad
costheta_{frac{p}{2}+1-k} = - costheta_k .$$
Since $z_k$ is a simple root and the numerator $e^{-iomega x}$ is non-zero, the corresponding residue is given by
begin{align}
operatorname{Res}(z_k) & ;=; frac{e^{-iomega x}}{px^{p-1}}Bigg|_{x=z_k}
;=; frac{e^{-iomega (costheta_k +isintheta_k)}}{pz_k^{p-1}} \[2.7ex]
& ;=; -frac{1}{p} exp(omega sintheta_k),
e^{itheta_k}e^{-iomegacostheta_k}
end{align}
When summing these up
from $,k=1,$ to $,p/2,$ the real parts will cancel pairwise due to the reflection symmetry$-$just "Go back to the roots!" If $,p/2,$ is odd, then $,i,$ belongs to the relevant root set, and the real part of that summand is zero anyway. After multiplying with $,2pi i,$ we are done:
$$hat f(omega);=;frac{2pi}{p}sum_{k=1}^{p/2}expbig(-|omega|sintheta_kbig)
sinbig(theta_k + |omega|costheta_kbig)$$
Until here $omegale 0$ was understood, to meet the conditions allowing for the calculus of residues. Upon introducing the absolute value of $omega$, this assumption can be abandoned because $hat f(omega)$ is even.
Choosing $,|omega|=1$ we reach the goal initially set out:
$$I_p;=;frac{2pi}{p}sum_{k=1}^{frac{p}{2}} e^{-sintheta_k},
sin(theta_k +costheta_k), ,quadtheta_k=(2k-1)frac{pi}{p}$$
$endgroup$
add a comment |
$begingroup$
$$1.5442760;approx;piexp{left( -frac{sqrt{2}}{2}right)}
sinleft(frac{pi}{4} + frac{sqrt{2}}{2}right)
;=;int_mathbb{R}; frac{cos(x)}{x^4+1}, dx$$
holds true, but it is not the answer to the question.
Furthermore, I do not know, how Maple is doing to get it.
Generalising the proposed integral, let's proceed to determine
$$I_p:=:int_mathbb{R}; frac{cos x}{x^p+1}, dx
qquadtext{where $pinmathbb{N}$ is even}.$$
Consider $f(x)=1/(x^p+1)$. Using residues we are computing the Fourier transform
begin{align}
hat f(omega): & =;int_mathbb{R}; frac{e^{-iomega x}}{x^p+1}, dx \[2.7ex]
& =;int_mathbb{R}; frac{cos(omega x)}{x^p+1}, dx
; -;iint_mathbb{R}; frac{sin(omega x)}{x^p+1}, dx
end{align}
which is purely real since the last integral vanishes, its integrand
$frac{sin(omega x)}{x^p+1}$ being an odd function of $x$ for every $omega$. And it's immediate that $,hat f,$ is an even function then.
Once $,hat f(omega),$ is made explicit the sought values can be obtained via evaluation: $I_p=hat f(1)$.
Jordan's lemma can be applied
to calculate $,hat f(omega)$, by assuming $omegale 0$ and with the real axis and the (infinite) semicircular arc in the upper half plane as contour of integration.
How does the integrand behave on that arc, parametrised by
$Re^{ivarphi}$ with $Rgg 0$ and $0levarphilepi:$?
$$left| frac{e^{-iomega R(cosvarphi + isinvarphi)}}
{(Re^{ivarphi})^p +1} right|
;=; frac{left| e^{omega Rsinvarphi} right|}
{left| {R^p e^{ipvarphi} +1} right|}$$
The numerator is bounded above by $1$, and because of $pge 2$ the overall decrease is sufficient.
Let's turn to the residues
contributing to the value of the integral. They originate from the
$p$-th roots of $,-1,$ having positive imaginary part:
begin{align}
z_k & ;=;expleft(i(2k-1)frac{pi}{p}right)
quadtext{where }k=1,ldots ,frac{p}{2} \
& ;=;costheta_k + isintheta_k,quadtheta_k=(2k-1)frac{pi}{p}
end{align}
Note the reflection symmetry with respect to the imaginary axis which we record for later need
$$sintheta_{frac{p}{2}+1-k} = sintheta_k
quadtext{and}quad
costheta_{frac{p}{2}+1-k} = - costheta_k .$$
Since $z_k$ is a simple root and the numerator $e^{-iomega x}$ is non-zero, the corresponding residue is given by
begin{align}
operatorname{Res}(z_k) & ;=; frac{e^{-iomega x}}{px^{p-1}}Bigg|_{x=z_k}
;=; frac{e^{-iomega (costheta_k +isintheta_k)}}{pz_k^{p-1}} \[2.7ex]
& ;=; -frac{1}{p} exp(omega sintheta_k),
e^{itheta_k}e^{-iomegacostheta_k}
end{align}
When summing these up
from $,k=1,$ to $,p/2,$ the real parts will cancel pairwise due to the reflection symmetry$-$just "Go back to the roots!" If $,p/2,$ is odd, then $,i,$ belongs to the relevant root set, and the real part of that summand is zero anyway. After multiplying with $,2pi i,$ we are done:
$$hat f(omega);=;frac{2pi}{p}sum_{k=1}^{p/2}expbig(-|omega|sintheta_kbig)
sinbig(theta_k + |omega|costheta_kbig)$$
Until here $omegale 0$ was understood, to meet the conditions allowing for the calculus of residues. Upon introducing the absolute value of $omega$, this assumption can be abandoned because $hat f(omega)$ is even.
Choosing $,|omega|=1$ we reach the goal initially set out:
$$I_p;=;frac{2pi}{p}sum_{k=1}^{frac{p}{2}} e^{-sintheta_k},
sin(theta_k +costheta_k), ,quadtheta_k=(2k-1)frac{pi}{p}$$
$endgroup$
$$1.5442760;approx;piexp{left( -frac{sqrt{2}}{2}right)}
sinleft(frac{pi}{4} + frac{sqrt{2}}{2}right)
;=;int_mathbb{R}; frac{cos(x)}{x^4+1}, dx$$
holds true, but it is not the answer to the question.
Furthermore, I do not know, how Maple is doing to get it.
Generalising the proposed integral, let's proceed to determine
$$I_p:=:int_mathbb{R}; frac{cos x}{x^p+1}, dx
qquadtext{where $pinmathbb{N}$ is even}.$$
Consider $f(x)=1/(x^p+1)$. Using residues we are computing the Fourier transform
begin{align}
hat f(omega): & =;int_mathbb{R}; frac{e^{-iomega x}}{x^p+1}, dx \[2.7ex]
& =;int_mathbb{R}; frac{cos(omega x)}{x^p+1}, dx
; -;iint_mathbb{R}; frac{sin(omega x)}{x^p+1}, dx
end{align}
which is purely real since the last integral vanishes, its integrand
$frac{sin(omega x)}{x^p+1}$ being an odd function of $x$ for every $omega$. And it's immediate that $,hat f,$ is an even function then.
Once $,hat f(omega),$ is made explicit the sought values can be obtained via evaluation: $I_p=hat f(1)$.
Jordan's lemma can be applied
to calculate $,hat f(omega)$, by assuming $omegale 0$ and with the real axis and the (infinite) semicircular arc in the upper half plane as contour of integration.
How does the integrand behave on that arc, parametrised by
$Re^{ivarphi}$ with $Rgg 0$ and $0levarphilepi:$?
$$left| frac{e^{-iomega R(cosvarphi + isinvarphi)}}
{(Re^{ivarphi})^p +1} right|
;=; frac{left| e^{omega Rsinvarphi} right|}
{left| {R^p e^{ipvarphi} +1} right|}$$
The numerator is bounded above by $1$, and because of $pge 2$ the overall decrease is sufficient.
Let's turn to the residues
contributing to the value of the integral. They originate from the
$p$-th roots of $,-1,$ having positive imaginary part:
begin{align}
z_k & ;=;expleft(i(2k-1)frac{pi}{p}right)
quadtext{where }k=1,ldots ,frac{p}{2} \
& ;=;costheta_k + isintheta_k,quadtheta_k=(2k-1)frac{pi}{p}
end{align}
Note the reflection symmetry with respect to the imaginary axis which we record for later need
$$sintheta_{frac{p}{2}+1-k} = sintheta_k
quadtext{and}quad
costheta_{frac{p}{2}+1-k} = - costheta_k .$$
Since $z_k$ is a simple root and the numerator $e^{-iomega x}$ is non-zero, the corresponding residue is given by
begin{align}
operatorname{Res}(z_k) & ;=; frac{e^{-iomega x}}{px^{p-1}}Bigg|_{x=z_k}
;=; frac{e^{-iomega (costheta_k +isintheta_k)}}{pz_k^{p-1}} \[2.7ex]
& ;=; -frac{1}{p} exp(omega sintheta_k),
e^{itheta_k}e^{-iomegacostheta_k}
end{align}
When summing these up
from $,k=1,$ to $,p/2,$ the real parts will cancel pairwise due to the reflection symmetry$-$just "Go back to the roots!" If $,p/2,$ is odd, then $,i,$ belongs to the relevant root set, and the real part of that summand is zero anyway. After multiplying with $,2pi i,$ we are done:
$$hat f(omega);=;frac{2pi}{p}sum_{k=1}^{p/2}expbig(-|omega|sintheta_kbig)
sinbig(theta_k + |omega|costheta_kbig)$$
Until here $omegale 0$ was understood, to meet the conditions allowing for the calculus of residues. Upon introducing the absolute value of $omega$, this assumption can be abandoned because $hat f(omega)$ is even.
Choosing $,|omega|=1$ we reach the goal initially set out:
$$I_p;=;frac{2pi}{p}sum_{k=1}^{frac{p}{2}} e^{-sintheta_k},
sin(theta_k +costheta_k), ,quadtheta_k=(2k-1)frac{pi}{p}$$
edited Aug 28 '16 at 19:32
answered May 15 '16 at 7:55
HannoHanno
2,509628
2,509628
add a comment |
add a comment |
$begingroup$
Consider $f(z) = exp(iz)/(z^4+1)$. Simple poles of $a(z)=frac{b(z)}{c(z)}$ at $z_0$ have a residue of $frac {b(z_0)}{c'(z_0)}$ at $z_0$. Thus, it can be seen that for any root $z_0$ of $z^4+1$, its residue is
$$operatorname*{Res}_{z=z_0} f(z) = frac{exp(iz_0)}{4z_0^3}$$
Consider a semicircular contour of infinite radius, which, by Jordan's lemma, does not receive a contribution by the rounded part. There are two roots in this contour, $z_1 = (1+i)/sqrt 2$ and $z_2 = (i-1)/sqrt 2$. The residues at these poles are
$$r_1 = operatorname*{Res}_{z = z_1}f(z) = frac{expleft(frac{i-1}{sqrt 2}right)}{(-2+2 i) sqrt 2}$$
$$r_2 = operatorname*{Res}_{z = z_2}f(z) = frac{expleft(frac{-1-i}{sqrt 2}right)}{(2+2 i) sqrt 2}$$
Then,
$$I = int_{-infty}^infty f(z),dz = 2pi i (r_1+r_2) = frac{pi e^{-frac{1}{sqrt 2}} left(sinleft(frac{1}{sqrt 2}right) + cosleft(frac{1}{sqrt 2}right)right)}{sqrt 2}$$
$endgroup$
add a comment |
$begingroup$
Consider $f(z) = exp(iz)/(z^4+1)$. Simple poles of $a(z)=frac{b(z)}{c(z)}$ at $z_0$ have a residue of $frac {b(z_0)}{c'(z_0)}$ at $z_0$. Thus, it can be seen that for any root $z_0$ of $z^4+1$, its residue is
$$operatorname*{Res}_{z=z_0} f(z) = frac{exp(iz_0)}{4z_0^3}$$
Consider a semicircular contour of infinite radius, which, by Jordan's lemma, does not receive a contribution by the rounded part. There are two roots in this contour, $z_1 = (1+i)/sqrt 2$ and $z_2 = (i-1)/sqrt 2$. The residues at these poles are
$$r_1 = operatorname*{Res}_{z = z_1}f(z) = frac{expleft(frac{i-1}{sqrt 2}right)}{(-2+2 i) sqrt 2}$$
$$r_2 = operatorname*{Res}_{z = z_2}f(z) = frac{expleft(frac{-1-i}{sqrt 2}right)}{(2+2 i) sqrt 2}$$
Then,
$$I = int_{-infty}^infty f(z),dz = 2pi i (r_1+r_2) = frac{pi e^{-frac{1}{sqrt 2}} left(sinleft(frac{1}{sqrt 2}right) + cosleft(frac{1}{sqrt 2}right)right)}{sqrt 2}$$
$endgroup$
add a comment |
$begingroup$
Consider $f(z) = exp(iz)/(z^4+1)$. Simple poles of $a(z)=frac{b(z)}{c(z)}$ at $z_0$ have a residue of $frac {b(z_0)}{c'(z_0)}$ at $z_0$. Thus, it can be seen that for any root $z_0$ of $z^4+1$, its residue is
$$operatorname*{Res}_{z=z_0} f(z) = frac{exp(iz_0)}{4z_0^3}$$
Consider a semicircular contour of infinite radius, which, by Jordan's lemma, does not receive a contribution by the rounded part. There are two roots in this contour, $z_1 = (1+i)/sqrt 2$ and $z_2 = (i-1)/sqrt 2$. The residues at these poles are
$$r_1 = operatorname*{Res}_{z = z_1}f(z) = frac{expleft(frac{i-1}{sqrt 2}right)}{(-2+2 i) sqrt 2}$$
$$r_2 = operatorname*{Res}_{z = z_2}f(z) = frac{expleft(frac{-1-i}{sqrt 2}right)}{(2+2 i) sqrt 2}$$
Then,
$$I = int_{-infty}^infty f(z),dz = 2pi i (r_1+r_2) = frac{pi e^{-frac{1}{sqrt 2}} left(sinleft(frac{1}{sqrt 2}right) + cosleft(frac{1}{sqrt 2}right)right)}{sqrt 2}$$
$endgroup$
Consider $f(z) = exp(iz)/(z^4+1)$. Simple poles of $a(z)=frac{b(z)}{c(z)}$ at $z_0$ have a residue of $frac {b(z_0)}{c'(z_0)}$ at $z_0$. Thus, it can be seen that for any root $z_0$ of $z^4+1$, its residue is
$$operatorname*{Res}_{z=z_0} f(z) = frac{exp(iz_0)}{4z_0^3}$$
Consider a semicircular contour of infinite radius, which, by Jordan's lemma, does not receive a contribution by the rounded part. There are two roots in this contour, $z_1 = (1+i)/sqrt 2$ and $z_2 = (i-1)/sqrt 2$. The residues at these poles are
$$r_1 = operatorname*{Res}_{z = z_1}f(z) = frac{expleft(frac{i-1}{sqrt 2}right)}{(-2+2 i) sqrt 2}$$
$$r_2 = operatorname*{Res}_{z = z_2}f(z) = frac{expleft(frac{-1-i}{sqrt 2}right)}{(2+2 i) sqrt 2}$$
Then,
$$I = int_{-infty}^infty f(z),dz = 2pi i (r_1+r_2) = frac{pi e^{-frac{1}{sqrt 2}} left(sinleft(frac{1}{sqrt 2}right) + cosleft(frac{1}{sqrt 2}right)right)}{sqrt 2}$$
edited May 15 '16 at 8:29
answered May 15 '16 at 8:22
ArgonArgon
16.5k677122
16.5k677122
add a comment |
add a comment |
$begingroup$
This is a two-sided variant of
$$int_0^infty frac{cos(ax)}{b^4+x^4}dx=frac{pisqrt 2}{4b^3}expleft(-frac{ab}{surd 2}right)left[cosleft(frac{ab}{surd 2}right)+sinleft(frac{ab}{surd 2}right)right].$$ My method is looking this up under item 3.727.1 in the Gradsteyn/Ryzhik tables.
$endgroup$
$begingroup$
Now derive the result.
$endgroup$
– marty cohen
May 16 '16 at 6:20
add a comment |
$begingroup$
This is a two-sided variant of
$$int_0^infty frac{cos(ax)}{b^4+x^4}dx=frac{pisqrt 2}{4b^3}expleft(-frac{ab}{surd 2}right)left[cosleft(frac{ab}{surd 2}right)+sinleft(frac{ab}{surd 2}right)right].$$ My method is looking this up under item 3.727.1 in the Gradsteyn/Ryzhik tables.
$endgroup$
$begingroup$
Now derive the result.
$endgroup$
– marty cohen
May 16 '16 at 6:20
add a comment |
$begingroup$
This is a two-sided variant of
$$int_0^infty frac{cos(ax)}{b^4+x^4}dx=frac{pisqrt 2}{4b^3}expleft(-frac{ab}{surd 2}right)left[cosleft(frac{ab}{surd 2}right)+sinleft(frac{ab}{surd 2}right)right].$$ My method is looking this up under item 3.727.1 in the Gradsteyn/Ryzhik tables.
$endgroup$
This is a two-sided variant of
$$int_0^infty frac{cos(ax)}{b^4+x^4}dx=frac{pisqrt 2}{4b^3}expleft(-frac{ab}{surd 2}right)left[cosleft(frac{ab}{surd 2}right)+sinleft(frac{ab}{surd 2}right)right].$$ My method is looking this up under item 3.727.1 in the Gradsteyn/Ryzhik tables.
edited Dec 14 '18 at 11:50
Namaste
1
1
answered Nov 7 '14 at 21:44
R. J. MatharR. J. Mathar
361
361
$begingroup$
Now derive the result.
$endgroup$
– marty cohen
May 16 '16 at 6:20
add a comment |
$begingroup$
Now derive the result.
$endgroup$
– marty cohen
May 16 '16 at 6:20
$begingroup$
Now derive the result.
$endgroup$
– marty cohen
May 16 '16 at 6:20
$begingroup$
Now derive the result.
$endgroup$
– marty cohen
May 16 '16 at 6:20
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.
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%2f1010295%2fhow-to-evaluate-int-infty-infty-frac-cos-left-x-right-x%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
2
$begingroup$
Residue theorem and Jordan's lemma.
$endgroup$
– Start wearing purple
Nov 7 '14 at 8:36