Finding the reason behind the value of the integral.












16












$begingroup$


I was just trying to find $$int_{0}^{pi / 2}frac{sin{9x}}{sin{x}},dx $$ using an online integral calculator. And surprisingly I found that if I replace $9x$ by $ x,3x,5x$ which are some odd multiples of $x$ the value of integral came out to be $dfrac pi 2$.



I can't figure out the reason and would like to know why this is happening.





Edit: It can also be noted that $$int_{a{pi}}^{bpi }frac{sin{9x}}{sin{x}},dx =(b-a){pi}$$ where $a,b$ are integers.










share|cite|improve this question











$endgroup$








  • 12




    $begingroup$
    The following identity seems like it may help:$$frac{sin((n+1/2)theta}{sin(theta/2)}=1+2cos x+2cos(2x)+cdots+2cos(nx).$$ (This is known as the Dirichlet kernel, and a proof may be found at the corresponding Wikipedia page here.)
    $endgroup$
    – Semiclassical
    Apr 2 at 14:46












  • $begingroup$
    I think the statement about the integral from $api$ to $bpi$ is incorrect. Setting $a=frac18$ and $b=frac16,$ Wolfram Alpha says the integral is a negative number, not $(frac16-frac18)pi.$ Did you mean to say instead that $a$ and $b$ are integers?
    $endgroup$
    – David K
    Apr 2 at 21:12












  • $begingroup$
    @David I checked for few other rational a and b and they satisfied but you are right.
    $endgroup$
    – Jasmine
    Apr 2 at 21:34
















16












$begingroup$


I was just trying to find $$int_{0}^{pi / 2}frac{sin{9x}}{sin{x}},dx $$ using an online integral calculator. And surprisingly I found that if I replace $9x$ by $ x,3x,5x$ which are some odd multiples of $x$ the value of integral came out to be $dfrac pi 2$.



I can't figure out the reason and would like to know why this is happening.





Edit: It can also be noted that $$int_{a{pi}}^{bpi }frac{sin{9x}}{sin{x}},dx =(b-a){pi}$$ where $a,b$ are integers.










share|cite|improve this question











$endgroup$








  • 12




    $begingroup$
    The following identity seems like it may help:$$frac{sin((n+1/2)theta}{sin(theta/2)}=1+2cos x+2cos(2x)+cdots+2cos(nx).$$ (This is known as the Dirichlet kernel, and a proof may be found at the corresponding Wikipedia page here.)
    $endgroup$
    – Semiclassical
    Apr 2 at 14:46












  • $begingroup$
    I think the statement about the integral from $api$ to $bpi$ is incorrect. Setting $a=frac18$ and $b=frac16,$ Wolfram Alpha says the integral is a negative number, not $(frac16-frac18)pi.$ Did you mean to say instead that $a$ and $b$ are integers?
    $endgroup$
    – David K
    Apr 2 at 21:12












  • $begingroup$
    @David I checked for few other rational a and b and they satisfied but you are right.
    $endgroup$
    – Jasmine
    Apr 2 at 21:34














16












16








16


9



$begingroup$


I was just trying to find $$int_{0}^{pi / 2}frac{sin{9x}}{sin{x}},dx $$ using an online integral calculator. And surprisingly I found that if I replace $9x$ by $ x,3x,5x$ which are some odd multiples of $x$ the value of integral came out to be $dfrac pi 2$.



I can't figure out the reason and would like to know why this is happening.





Edit: It can also be noted that $$int_{a{pi}}^{bpi }frac{sin{9x}}{sin{x}},dx =(b-a){pi}$$ where $a,b$ are integers.










share|cite|improve this question











$endgroup$




I was just trying to find $$int_{0}^{pi / 2}frac{sin{9x}}{sin{x}},dx $$ using an online integral calculator. And surprisingly I found that if I replace $9x$ by $ x,3x,5x$ which are some odd multiples of $x$ the value of integral came out to be $dfrac pi 2$.



I can't figure out the reason and would like to know why this is happening.





Edit: It can also be noted that $$int_{a{pi}}^{bpi }frac{sin{9x}}{sin{x}},dx =(b-a){pi}$$ where $a,b$ are integers.







definite-integrals






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Apr 2 at 21:32







Jasmine

















asked Apr 2 at 14:23









JasmineJasmine

393213




393213








  • 12




    $begingroup$
    The following identity seems like it may help:$$frac{sin((n+1/2)theta}{sin(theta/2)}=1+2cos x+2cos(2x)+cdots+2cos(nx).$$ (This is known as the Dirichlet kernel, and a proof may be found at the corresponding Wikipedia page here.)
    $endgroup$
    – Semiclassical
    Apr 2 at 14:46












  • $begingroup$
    I think the statement about the integral from $api$ to $bpi$ is incorrect. Setting $a=frac18$ and $b=frac16,$ Wolfram Alpha says the integral is a negative number, not $(frac16-frac18)pi.$ Did you mean to say instead that $a$ and $b$ are integers?
    $endgroup$
    – David K
    Apr 2 at 21:12












  • $begingroup$
    @David I checked for few other rational a and b and they satisfied but you are right.
    $endgroup$
    – Jasmine
    Apr 2 at 21:34














  • 12




    $begingroup$
    The following identity seems like it may help:$$frac{sin((n+1/2)theta}{sin(theta/2)}=1+2cos x+2cos(2x)+cdots+2cos(nx).$$ (This is known as the Dirichlet kernel, and a proof may be found at the corresponding Wikipedia page here.)
    $endgroup$
    – Semiclassical
    Apr 2 at 14:46












  • $begingroup$
    I think the statement about the integral from $api$ to $bpi$ is incorrect. Setting $a=frac18$ and $b=frac16,$ Wolfram Alpha says the integral is a negative number, not $(frac16-frac18)pi.$ Did you mean to say instead that $a$ and $b$ are integers?
    $endgroup$
    – David K
    Apr 2 at 21:12












  • $begingroup$
    @David I checked for few other rational a and b and they satisfied but you are right.
    $endgroup$
    – Jasmine
    Apr 2 at 21:34








12




12




$begingroup$
The following identity seems like it may help:$$frac{sin((n+1/2)theta}{sin(theta/2)}=1+2cos x+2cos(2x)+cdots+2cos(nx).$$ (This is known as the Dirichlet kernel, and a proof may be found at the corresponding Wikipedia page here.)
$endgroup$
– Semiclassical
Apr 2 at 14:46






$begingroup$
The following identity seems like it may help:$$frac{sin((n+1/2)theta}{sin(theta/2)}=1+2cos x+2cos(2x)+cdots+2cos(nx).$$ (This is known as the Dirichlet kernel, and a proof may be found at the corresponding Wikipedia page here.)
$endgroup$
– Semiclassical
Apr 2 at 14:46














$begingroup$
I think the statement about the integral from $api$ to $bpi$ is incorrect. Setting $a=frac18$ and $b=frac16,$ Wolfram Alpha says the integral is a negative number, not $(frac16-frac18)pi.$ Did you mean to say instead that $a$ and $b$ are integers?
$endgroup$
– David K
Apr 2 at 21:12






$begingroup$
I think the statement about the integral from $api$ to $bpi$ is incorrect. Setting $a=frac18$ and $b=frac16,$ Wolfram Alpha says the integral is a negative number, not $(frac16-frac18)pi.$ Did you mean to say instead that $a$ and $b$ are integers?
$endgroup$
– David K
Apr 2 at 21:12














$begingroup$
@David I checked for few other rational a and b and they satisfied but you are right.
$endgroup$
– Jasmine
Apr 2 at 21:34




$begingroup$
@David I checked for few other rational a and b and they satisfied but you are right.
$endgroup$
– Jasmine
Apr 2 at 21:34










1 Answer
1






active

oldest

votes


















14












$begingroup$

Hint




Consider $I(n)=int_{0}^{pi/2} frac{sin(nx)}{sin x} dx$




$$I(2m+1)-I(2m-1)=int_{0}^{pi/2} frac{sin(2m+1)x-sin(2m-1)x}{sin{x}} dx=int_{0}^{pi/2} frac{2sin(x)cos(2mx)}{sin{x}} dx$$
$$implies 2int_{0}^{pi/2} cos(2mx)dx.......(1)$$
Now think what happens to this integral when $m$ is an integer.
And also try to use the fact $I(1)=frac{pi}{2}$.



Edit
(As OP has changed the question a bit)




Now consider$I(n)=int_{api}^{bpi} frac{sin(nx)}{sin x} dx$




From(1) $$implies 2int_{api}^{bpi} cos(2mx)dx=2bigg[frac{sin(2mx)}{2m}bigg]_{api}^{bpi}$$
$$implies I(2m+1)-I(2m-1)=frac{1}{n} bigg[sin(2pi bx)-sin(2pi ax)bigg]=0$$
Provided ${a,b} in mathbb{Z} $
$$implies I(2m+1)=I(2m-1)$$
Now As $I(1)=(b-a)pi$



Hence



$$ bbox[5px,border:2px solid blue]
{int_{api}^{bpi} frac{sin(nx)}{sin x} dx=(b-a)pi
}
$$

When n is odd.






share|cite|improve this answer











$endgroup$













  • $begingroup$
    Please see the edited question.
    $endgroup$
    – Jasmine
    Apr 2 at 20:52










  • $begingroup$
    Hope it helps else Let me know how i can improve my answer.
    $endgroup$
    – NewBornMATH
    2 days ago














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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3171911%2ffinding-the-reason-behind-the-value-of-the-integral%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









14












$begingroup$

Hint




Consider $I(n)=int_{0}^{pi/2} frac{sin(nx)}{sin x} dx$




$$I(2m+1)-I(2m-1)=int_{0}^{pi/2} frac{sin(2m+1)x-sin(2m-1)x}{sin{x}} dx=int_{0}^{pi/2} frac{2sin(x)cos(2mx)}{sin{x}} dx$$
$$implies 2int_{0}^{pi/2} cos(2mx)dx.......(1)$$
Now think what happens to this integral when $m$ is an integer.
And also try to use the fact $I(1)=frac{pi}{2}$.



Edit
(As OP has changed the question a bit)




Now consider$I(n)=int_{api}^{bpi} frac{sin(nx)}{sin x} dx$




From(1) $$implies 2int_{api}^{bpi} cos(2mx)dx=2bigg[frac{sin(2mx)}{2m}bigg]_{api}^{bpi}$$
$$implies I(2m+1)-I(2m-1)=frac{1}{n} bigg[sin(2pi bx)-sin(2pi ax)bigg]=0$$
Provided ${a,b} in mathbb{Z} $
$$implies I(2m+1)=I(2m-1)$$
Now As $I(1)=(b-a)pi$



Hence



$$ bbox[5px,border:2px solid blue]
{int_{api}^{bpi} frac{sin(nx)}{sin x} dx=(b-a)pi
}
$$

When n is odd.






share|cite|improve this answer











$endgroup$













  • $begingroup$
    Please see the edited question.
    $endgroup$
    – Jasmine
    Apr 2 at 20:52










  • $begingroup$
    Hope it helps else Let me know how i can improve my answer.
    $endgroup$
    – NewBornMATH
    2 days ago


















14












$begingroup$

Hint




Consider $I(n)=int_{0}^{pi/2} frac{sin(nx)}{sin x} dx$




$$I(2m+1)-I(2m-1)=int_{0}^{pi/2} frac{sin(2m+1)x-sin(2m-1)x}{sin{x}} dx=int_{0}^{pi/2} frac{2sin(x)cos(2mx)}{sin{x}} dx$$
$$implies 2int_{0}^{pi/2} cos(2mx)dx.......(1)$$
Now think what happens to this integral when $m$ is an integer.
And also try to use the fact $I(1)=frac{pi}{2}$.



Edit
(As OP has changed the question a bit)




Now consider$I(n)=int_{api}^{bpi} frac{sin(nx)}{sin x} dx$




From(1) $$implies 2int_{api}^{bpi} cos(2mx)dx=2bigg[frac{sin(2mx)}{2m}bigg]_{api}^{bpi}$$
$$implies I(2m+1)-I(2m-1)=frac{1}{n} bigg[sin(2pi bx)-sin(2pi ax)bigg]=0$$
Provided ${a,b} in mathbb{Z} $
$$implies I(2m+1)=I(2m-1)$$
Now As $I(1)=(b-a)pi$



Hence



$$ bbox[5px,border:2px solid blue]
{int_{api}^{bpi} frac{sin(nx)}{sin x} dx=(b-a)pi
}
$$

When n is odd.






share|cite|improve this answer











$endgroup$













  • $begingroup$
    Please see the edited question.
    $endgroup$
    – Jasmine
    Apr 2 at 20:52










  • $begingroup$
    Hope it helps else Let me know how i can improve my answer.
    $endgroup$
    – NewBornMATH
    2 days ago
















14












14








14





$begingroup$

Hint




Consider $I(n)=int_{0}^{pi/2} frac{sin(nx)}{sin x} dx$




$$I(2m+1)-I(2m-1)=int_{0}^{pi/2} frac{sin(2m+1)x-sin(2m-1)x}{sin{x}} dx=int_{0}^{pi/2} frac{2sin(x)cos(2mx)}{sin{x}} dx$$
$$implies 2int_{0}^{pi/2} cos(2mx)dx.......(1)$$
Now think what happens to this integral when $m$ is an integer.
And also try to use the fact $I(1)=frac{pi}{2}$.



Edit
(As OP has changed the question a bit)




Now consider$I(n)=int_{api}^{bpi} frac{sin(nx)}{sin x} dx$




From(1) $$implies 2int_{api}^{bpi} cos(2mx)dx=2bigg[frac{sin(2mx)}{2m}bigg]_{api}^{bpi}$$
$$implies I(2m+1)-I(2m-1)=frac{1}{n} bigg[sin(2pi bx)-sin(2pi ax)bigg]=0$$
Provided ${a,b} in mathbb{Z} $
$$implies I(2m+1)=I(2m-1)$$
Now As $I(1)=(b-a)pi$



Hence



$$ bbox[5px,border:2px solid blue]
{int_{api}^{bpi} frac{sin(nx)}{sin x} dx=(b-a)pi
}
$$

When n is odd.






share|cite|improve this answer











$endgroup$



Hint




Consider $I(n)=int_{0}^{pi/2} frac{sin(nx)}{sin x} dx$




$$I(2m+1)-I(2m-1)=int_{0}^{pi/2} frac{sin(2m+1)x-sin(2m-1)x}{sin{x}} dx=int_{0}^{pi/2} frac{2sin(x)cos(2mx)}{sin{x}} dx$$
$$implies 2int_{0}^{pi/2} cos(2mx)dx.......(1)$$
Now think what happens to this integral when $m$ is an integer.
And also try to use the fact $I(1)=frac{pi}{2}$.



Edit
(As OP has changed the question a bit)




Now consider$I(n)=int_{api}^{bpi} frac{sin(nx)}{sin x} dx$




From(1) $$implies 2int_{api}^{bpi} cos(2mx)dx=2bigg[frac{sin(2mx)}{2m}bigg]_{api}^{bpi}$$
$$implies I(2m+1)-I(2m-1)=frac{1}{n} bigg[sin(2pi bx)-sin(2pi ax)bigg]=0$$
Provided ${a,b} in mathbb{Z} $
$$implies I(2m+1)=I(2m-1)$$
Now As $I(1)=(b-a)pi$



Hence



$$ bbox[5px,border:2px solid blue]
{int_{api}^{bpi} frac{sin(nx)}{sin x} dx=(b-a)pi
}
$$

When n is odd.







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








edited 2 days ago

























answered Apr 2 at 14:52









NewBornMATHNewBornMATH

520111




520111












  • $begingroup$
    Please see the edited question.
    $endgroup$
    – Jasmine
    Apr 2 at 20:52










  • $begingroup$
    Hope it helps else Let me know how i can improve my answer.
    $endgroup$
    – NewBornMATH
    2 days ago




















  • $begingroup$
    Please see the edited question.
    $endgroup$
    – Jasmine
    Apr 2 at 20:52










  • $begingroup$
    Hope it helps else Let me know how i can improve my answer.
    $endgroup$
    – NewBornMATH
    2 days ago


















$begingroup$
Please see the edited question.
$endgroup$
– Jasmine
Apr 2 at 20:52




$begingroup$
Please see the edited question.
$endgroup$
– Jasmine
Apr 2 at 20:52












$begingroup$
Hope it helps else Let me know how i can improve my answer.
$endgroup$
– NewBornMATH
2 days ago






$begingroup$
Hope it helps else Let me know how i can improve my answer.
$endgroup$
– NewBornMATH
2 days ago




















draft saved

draft discarded




















































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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3171911%2ffinding-the-reason-behind-the-value-of-the-integral%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

數位音樂下載

格利澤436b

When can things happen in Etherscan, such as the picture below?