how to compute the coefficients for half-range expansion of Fourier Series?












0














If a function $f$ is defined on $[-L, L]$, then its Fourier series is given by
$$
begin{aligned} a _ { 0 } & = frac { 1 } { L } int _ { - L } ^ { L } f left( x right) d x \
a _ { n } & = frac { 1 } { L } int _ { - L } ^ { L } f left( x right) cos left( frac { n pi x } { L } right) d x \
b _ { n } & = frac { 1 } { L } int _ { - L } ^ { L } f left( x right) sin left( frac { n pi x } { L } right) d x
end{aligned}
$$



This means that the even though the function is defined on $[L, L]$, the fourier series representation is over $(-infty, infty)$ and with period $2L$.
However, if a function is defined on $[0, 2L]$, then the formulas changes slightly,
$$
begin{aligned} a _ { 0 } & = frac { 1 } { L } int _ { 0 } ^ { 2 L } f left( x right) d x \
a _ { n } & = frac { 1 } { L } int _ { 0 } ^ { 2 L } f left( x right) cos left( frac { n pi x } { L } right) d \ b _ { n } & = frac { 1 } { L } int _ { 0 } ^ { 2 L } f left( x right) sin left( frac { n pi x} { L } right) d end{aligned}
$$



See the difference in the limits of integration. I see how the equations are derived but I am missing the fundamental connection of how the "period" comes into play here. In particular, I am not understanding the statement




For f(x) periodic with period 2L, any interval $(x_0,x_0+2L)$ can be
used, with the choice being one of convenience or personal preference











share|cite|improve this question



























    0














    If a function $f$ is defined on $[-L, L]$, then its Fourier series is given by
    $$
    begin{aligned} a _ { 0 } & = frac { 1 } { L } int _ { - L } ^ { L } f left( x right) d x \
    a _ { n } & = frac { 1 } { L } int _ { - L } ^ { L } f left( x right) cos left( frac { n pi x } { L } right) d x \
    b _ { n } & = frac { 1 } { L } int _ { - L } ^ { L } f left( x right) sin left( frac { n pi x } { L } right) d x
    end{aligned}
    $$



    This means that the even though the function is defined on $[L, L]$, the fourier series representation is over $(-infty, infty)$ and with period $2L$.
    However, if a function is defined on $[0, 2L]$, then the formulas changes slightly,
    $$
    begin{aligned} a _ { 0 } & = frac { 1 } { L } int _ { 0 } ^ { 2 L } f left( x right) d x \
    a _ { n } & = frac { 1 } { L } int _ { 0 } ^ { 2 L } f left( x right) cos left( frac { n pi x } { L } right) d \ b _ { n } & = frac { 1 } { L } int _ { 0 } ^ { 2 L } f left( x right) sin left( frac { n pi x} { L } right) d end{aligned}
    $$



    See the difference in the limits of integration. I see how the equations are derived but I am missing the fundamental connection of how the "period" comes into play here. In particular, I am not understanding the statement




    For f(x) periodic with period 2L, any interval $(x_0,x_0+2L)$ can be
    used, with the choice being one of convenience or personal preference











    share|cite|improve this question

























      0












      0








      0







      If a function $f$ is defined on $[-L, L]$, then its Fourier series is given by
      $$
      begin{aligned} a _ { 0 } & = frac { 1 } { L } int _ { - L } ^ { L } f left( x right) d x \
      a _ { n } & = frac { 1 } { L } int _ { - L } ^ { L } f left( x right) cos left( frac { n pi x } { L } right) d x \
      b _ { n } & = frac { 1 } { L } int _ { - L } ^ { L } f left( x right) sin left( frac { n pi x } { L } right) d x
      end{aligned}
      $$



      This means that the even though the function is defined on $[L, L]$, the fourier series representation is over $(-infty, infty)$ and with period $2L$.
      However, if a function is defined on $[0, 2L]$, then the formulas changes slightly,
      $$
      begin{aligned} a _ { 0 } & = frac { 1 } { L } int _ { 0 } ^ { 2 L } f left( x right) d x \
      a _ { n } & = frac { 1 } { L } int _ { 0 } ^ { 2 L } f left( x right) cos left( frac { n pi x } { L } right) d \ b _ { n } & = frac { 1 } { L } int _ { 0 } ^ { 2 L } f left( x right) sin left( frac { n pi x} { L } right) d end{aligned}
      $$



      See the difference in the limits of integration. I see how the equations are derived but I am missing the fundamental connection of how the "period" comes into play here. In particular, I am not understanding the statement




      For f(x) periodic with period 2L, any interval $(x_0,x_0+2L)$ can be
      used, with the choice being one of convenience or personal preference











      share|cite|improve this question













      If a function $f$ is defined on $[-L, L]$, then its Fourier series is given by
      $$
      begin{aligned} a _ { 0 } & = frac { 1 } { L } int _ { - L } ^ { L } f left( x right) d x \
      a _ { n } & = frac { 1 } { L } int _ { - L } ^ { L } f left( x right) cos left( frac { n pi x } { L } right) d x \
      b _ { n } & = frac { 1 } { L } int _ { - L } ^ { L } f left( x right) sin left( frac { n pi x } { L } right) d x
      end{aligned}
      $$



      This means that the even though the function is defined on $[L, L]$, the fourier series representation is over $(-infty, infty)$ and with period $2L$.
      However, if a function is defined on $[0, 2L]$, then the formulas changes slightly,
      $$
      begin{aligned} a _ { 0 } & = frac { 1 } { L } int _ { 0 } ^ { 2 L } f left( x right) d x \
      a _ { n } & = frac { 1 } { L } int _ { 0 } ^ { 2 L } f left( x right) cos left( frac { n pi x } { L } right) d \ b _ { n } & = frac { 1 } { L } int _ { 0 } ^ { 2 L } f left( x right) sin left( frac { n pi x} { L } right) d end{aligned}
      $$



      See the difference in the limits of integration. I see how the equations are derived but I am missing the fundamental connection of how the "period" comes into play here. In particular, I am not understanding the statement




      For f(x) periodic with period 2L, any interval $(x_0,x_0+2L)$ can be
      used, with the choice being one of convenience or personal preference








      fourier-series






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Dec 10 '18 at 2:16









      Tyler Hilton

      1,40121949




      1,40121949






















          1 Answer
          1






          active

          oldest

          votes


















          0














          Suppose $T$ is a period of $f$, then $underline {text{for each }A in mathbb R }$ there is some $n in mathbb Z$ s.t. $nT leqslant A < (n+1)T$, then $A = nT +s$ for some $s in [0, T)$, so
          $$
          boxed {int_A^{T+A} f (t)mathrm dt}= int_{nT+s}^{(n+1)T+s} f(t )mathrm dt =int_{s-T}^s f(u+(n+1)T)mathrm du [t = u + (n+1)T] = int_{s-T}^s f(u)mathrm du ;[text{periodicity}] = left(int_{s-T}^0 + int_0^sright) f = int_{s-T}^0 f(t+T)mathrm dt +int_0^s f ;[text{periodicity}] = left(int_s^T + int_0^sright) f = boxed {int_0^T f};.
          $$






          share|cite|improve this answer





















          • Thanks, I get this but I don't get how the limits of integration has changed to $2L$ while the coefficient is still $1/L$ and even inside the trig function, the division is by $L$.
            – Tyler Hilton
            Dec 10 '18 at 4:44










          • Then you could just extend $f$ on to $overline fcolon mathbb R to mathbb R$ by periodicity $2L$ , then apply the formula for $overline f$ on $[-L, L]$, then change the limits of integration.
            – xbh
            Dec 10 '18 at 4:50













          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%2f3033333%2fhow-to-compute-the-coefficients-for-half-range-expansion-of-fourier-series%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









          0














          Suppose $T$ is a period of $f$, then $underline {text{for each }A in mathbb R }$ there is some $n in mathbb Z$ s.t. $nT leqslant A < (n+1)T$, then $A = nT +s$ for some $s in [0, T)$, so
          $$
          boxed {int_A^{T+A} f (t)mathrm dt}= int_{nT+s}^{(n+1)T+s} f(t )mathrm dt =int_{s-T}^s f(u+(n+1)T)mathrm du [t = u + (n+1)T] = int_{s-T}^s f(u)mathrm du ;[text{periodicity}] = left(int_{s-T}^0 + int_0^sright) f = int_{s-T}^0 f(t+T)mathrm dt +int_0^s f ;[text{periodicity}] = left(int_s^T + int_0^sright) f = boxed {int_0^T f};.
          $$






          share|cite|improve this answer





















          • Thanks, I get this but I don't get how the limits of integration has changed to $2L$ while the coefficient is still $1/L$ and even inside the trig function, the division is by $L$.
            – Tyler Hilton
            Dec 10 '18 at 4:44










          • Then you could just extend $f$ on to $overline fcolon mathbb R to mathbb R$ by periodicity $2L$ , then apply the formula for $overline f$ on $[-L, L]$, then change the limits of integration.
            – xbh
            Dec 10 '18 at 4:50


















          0














          Suppose $T$ is a period of $f$, then $underline {text{for each }A in mathbb R }$ there is some $n in mathbb Z$ s.t. $nT leqslant A < (n+1)T$, then $A = nT +s$ for some $s in [0, T)$, so
          $$
          boxed {int_A^{T+A} f (t)mathrm dt}= int_{nT+s}^{(n+1)T+s} f(t )mathrm dt =int_{s-T}^s f(u+(n+1)T)mathrm du [t = u + (n+1)T] = int_{s-T}^s f(u)mathrm du ;[text{periodicity}] = left(int_{s-T}^0 + int_0^sright) f = int_{s-T}^0 f(t+T)mathrm dt +int_0^s f ;[text{periodicity}] = left(int_s^T + int_0^sright) f = boxed {int_0^T f};.
          $$






          share|cite|improve this answer





















          • Thanks, I get this but I don't get how the limits of integration has changed to $2L$ while the coefficient is still $1/L$ and even inside the trig function, the division is by $L$.
            – Tyler Hilton
            Dec 10 '18 at 4:44










          • Then you could just extend $f$ on to $overline fcolon mathbb R to mathbb R$ by periodicity $2L$ , then apply the formula for $overline f$ on $[-L, L]$, then change the limits of integration.
            – xbh
            Dec 10 '18 at 4:50
















          0












          0








          0






          Suppose $T$ is a period of $f$, then $underline {text{for each }A in mathbb R }$ there is some $n in mathbb Z$ s.t. $nT leqslant A < (n+1)T$, then $A = nT +s$ for some $s in [0, T)$, so
          $$
          boxed {int_A^{T+A} f (t)mathrm dt}= int_{nT+s}^{(n+1)T+s} f(t )mathrm dt =int_{s-T}^s f(u+(n+1)T)mathrm du [t = u + (n+1)T] = int_{s-T}^s f(u)mathrm du ;[text{periodicity}] = left(int_{s-T}^0 + int_0^sright) f = int_{s-T}^0 f(t+T)mathrm dt +int_0^s f ;[text{periodicity}] = left(int_s^T + int_0^sright) f = boxed {int_0^T f};.
          $$






          share|cite|improve this answer












          Suppose $T$ is a period of $f$, then $underline {text{for each }A in mathbb R }$ there is some $n in mathbb Z$ s.t. $nT leqslant A < (n+1)T$, then $A = nT +s$ for some $s in [0, T)$, so
          $$
          boxed {int_A^{T+A} f (t)mathrm dt}= int_{nT+s}^{(n+1)T+s} f(t )mathrm dt =int_{s-T}^s f(u+(n+1)T)mathrm du [t = u + (n+1)T] = int_{s-T}^s f(u)mathrm du ;[text{periodicity}] = left(int_{s-T}^0 + int_0^sright) f = int_{s-T}^0 f(t+T)mathrm dt +int_0^s f ;[text{periodicity}] = left(int_s^T + int_0^sright) f = boxed {int_0^T f};.
          $$







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Dec 10 '18 at 2:36









          xbh

          5,6551522




          5,6551522












          • Thanks, I get this but I don't get how the limits of integration has changed to $2L$ while the coefficient is still $1/L$ and even inside the trig function, the division is by $L$.
            – Tyler Hilton
            Dec 10 '18 at 4:44










          • Then you could just extend $f$ on to $overline fcolon mathbb R to mathbb R$ by periodicity $2L$ , then apply the formula for $overline f$ on $[-L, L]$, then change the limits of integration.
            – xbh
            Dec 10 '18 at 4:50




















          • Thanks, I get this but I don't get how the limits of integration has changed to $2L$ while the coefficient is still $1/L$ and even inside the trig function, the division is by $L$.
            – Tyler Hilton
            Dec 10 '18 at 4:44










          • Then you could just extend $f$ on to $overline fcolon mathbb R to mathbb R$ by periodicity $2L$ , then apply the formula for $overline f$ on $[-L, L]$, then change the limits of integration.
            – xbh
            Dec 10 '18 at 4:50


















          Thanks, I get this but I don't get how the limits of integration has changed to $2L$ while the coefficient is still $1/L$ and even inside the trig function, the division is by $L$.
          – Tyler Hilton
          Dec 10 '18 at 4:44




          Thanks, I get this but I don't get how the limits of integration has changed to $2L$ while the coefficient is still $1/L$ and even inside the trig function, the division is by $L$.
          – Tyler Hilton
          Dec 10 '18 at 4:44












          Then you could just extend $f$ on to $overline fcolon mathbb R to mathbb R$ by periodicity $2L$ , then apply the formula for $overline f$ on $[-L, L]$, then change the limits of integration.
          – xbh
          Dec 10 '18 at 4:50






          Then you could just extend $f$ on to $overline fcolon mathbb R to mathbb R$ by periodicity $2L$ , then apply the formula for $overline f$ on $[-L, L]$, then change the limits of integration.
          – xbh
          Dec 10 '18 at 4:50




















          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.





          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.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3033333%2fhow-to-compute-the-coefficients-for-half-range-expansion-of-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

          Bressuire

          Cabo Verde

          Gyllenstierna