Calculating the vlaue of a sum using a fourier series












0












$begingroup$


For



$$f(t)=t,quad tin[0,2pi) tag{1}$$



we find the fourier series



$$hat{hat{f}}(x)=pi -2 sum_{k=1}^infty frac{sin(kx)}{k}tag{2}$$



I want to calculate the value of



$$sum_{n=1}^inftyfrac{(-1)^n}{2n-1}tag{3}$$



using (2).



Now for $x=pi/2$ we get



$$hat{hat{f}}(pi/2)=pi -2 sum_{k=1}^infty frac{sin(frac{pi}{2}k)}{k}$=pi -2 sum_{k=1}^infty frac{(-1)^k}{k} tag{3}$$



So that looks a bit like (3). I should now be able to somehow reform the sum or "choose" k s.t. I actualyl get (3). But I just don't see it.










share|cite|improve this question









$endgroup$








  • 2




    $begingroup$
    in $(3)$ (the last one, you have two equations numbered $(3)$), when $k$ is even, then $k/2$ is an integer, hence $sin(pi k/2) = 0$, thus you are left with only odd $k$-s which is what is needed in $(3)$.
    $endgroup$
    – Hayk
    Jan 31 at 14:40












  • $begingroup$
    Yeah I got that but you just helped me see that I still have the $(-1)'^n$ since the sinus is not odd. Thanks think I can solve it now.
    $endgroup$
    – xotix
    Jan 31 at 15:13
















0












$begingroup$


For



$$f(t)=t,quad tin[0,2pi) tag{1}$$



we find the fourier series



$$hat{hat{f}}(x)=pi -2 sum_{k=1}^infty frac{sin(kx)}{k}tag{2}$$



I want to calculate the value of



$$sum_{n=1}^inftyfrac{(-1)^n}{2n-1}tag{3}$$



using (2).



Now for $x=pi/2$ we get



$$hat{hat{f}}(pi/2)=pi -2 sum_{k=1}^infty frac{sin(frac{pi}{2}k)}{k}$=pi -2 sum_{k=1}^infty frac{(-1)^k}{k} tag{3}$$



So that looks a bit like (3). I should now be able to somehow reform the sum or "choose" k s.t. I actualyl get (3). But I just don't see it.










share|cite|improve this question









$endgroup$








  • 2




    $begingroup$
    in $(3)$ (the last one, you have two equations numbered $(3)$), when $k$ is even, then $k/2$ is an integer, hence $sin(pi k/2) = 0$, thus you are left with only odd $k$-s which is what is needed in $(3)$.
    $endgroup$
    – Hayk
    Jan 31 at 14:40












  • $begingroup$
    Yeah I got that but you just helped me see that I still have the $(-1)'^n$ since the sinus is not odd. Thanks think I can solve it now.
    $endgroup$
    – xotix
    Jan 31 at 15:13














0












0








0





$begingroup$


For



$$f(t)=t,quad tin[0,2pi) tag{1}$$



we find the fourier series



$$hat{hat{f}}(x)=pi -2 sum_{k=1}^infty frac{sin(kx)}{k}tag{2}$$



I want to calculate the value of



$$sum_{n=1}^inftyfrac{(-1)^n}{2n-1}tag{3}$$



using (2).



Now for $x=pi/2$ we get



$$hat{hat{f}}(pi/2)=pi -2 sum_{k=1}^infty frac{sin(frac{pi}{2}k)}{k}$=pi -2 sum_{k=1}^infty frac{(-1)^k}{k} tag{3}$$



So that looks a bit like (3). I should now be able to somehow reform the sum or "choose" k s.t. I actualyl get (3). But I just don't see it.










share|cite|improve this question









$endgroup$




For



$$f(t)=t,quad tin[0,2pi) tag{1}$$



we find the fourier series



$$hat{hat{f}}(x)=pi -2 sum_{k=1}^infty frac{sin(kx)}{k}tag{2}$$



I want to calculate the value of



$$sum_{n=1}^inftyfrac{(-1)^n}{2n-1}tag{3}$$



using (2).



Now for $x=pi/2$ we get



$$hat{hat{f}}(pi/2)=pi -2 sum_{k=1}^infty frac{sin(frac{pi}{2}k)}{k}$=pi -2 sum_{k=1}^infty frac{(-1)^k}{k} tag{3}$$



So that looks a bit like (3). I should now be able to somehow reform the sum or "choose" k s.t. I actualyl get (3). But I just don't see it.







fourier-series






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Jan 31 at 13:43









xotixxotix

291411




291411








  • 2




    $begingroup$
    in $(3)$ (the last one, you have two equations numbered $(3)$), when $k$ is even, then $k/2$ is an integer, hence $sin(pi k/2) = 0$, thus you are left with only odd $k$-s which is what is needed in $(3)$.
    $endgroup$
    – Hayk
    Jan 31 at 14:40












  • $begingroup$
    Yeah I got that but you just helped me see that I still have the $(-1)'^n$ since the sinus is not odd. Thanks think I can solve it now.
    $endgroup$
    – xotix
    Jan 31 at 15:13














  • 2




    $begingroup$
    in $(3)$ (the last one, you have two equations numbered $(3)$), when $k$ is even, then $k/2$ is an integer, hence $sin(pi k/2) = 0$, thus you are left with only odd $k$-s which is what is needed in $(3)$.
    $endgroup$
    – Hayk
    Jan 31 at 14:40












  • $begingroup$
    Yeah I got that but you just helped me see that I still have the $(-1)'^n$ since the sinus is not odd. Thanks think I can solve it now.
    $endgroup$
    – xotix
    Jan 31 at 15:13








2




2




$begingroup$
in $(3)$ (the last one, you have two equations numbered $(3)$), when $k$ is even, then $k/2$ is an integer, hence $sin(pi k/2) = 0$, thus you are left with only odd $k$-s which is what is needed in $(3)$.
$endgroup$
– Hayk
Jan 31 at 14:40






$begingroup$
in $(3)$ (the last one, you have two equations numbered $(3)$), when $k$ is even, then $k/2$ is an integer, hence $sin(pi k/2) = 0$, thus you are left with only odd $k$-s which is what is needed in $(3)$.
$endgroup$
– Hayk
Jan 31 at 14:40














$begingroup$
Yeah I got that but you just helped me see that I still have the $(-1)'^n$ since the sinus is not odd. Thanks think I can solve it now.
$endgroup$
– xotix
Jan 31 at 15:13




$begingroup$
Yeah I got that but you just helped me see that I still have the $(-1)'^n$ since the sinus is not odd. Thanks think I can solve it now.
$endgroup$
– xotix
Jan 31 at 15:13










0






active

oldest

votes












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%2f3094892%2fcalculating-the-vlaue-of-a-sum-using-a-fourier-series%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















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%2f3094892%2fcalculating-the-vlaue-of-a-sum-using-a-fourier-series%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

MongoDB - Not Authorized To Execute Command

in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith

How to fix TextFormField cause rebuild widget in Flutter