Fourier Series Reduced Form: Phase Angle and Spectra












0












$begingroup$


Im very confused regarding how to determine the angle on the reduced or harmonic form representation of the Fourier series. Some books state the following:



$$f(t)=F_0+sum_{n=1}^infty |F_n |cos(nomega t +theta)$$



$$F_0=a_0$$
$$|F_n |=sqrt{a_n^2+b_n^2}$$
$$theta =arctanleft(frac{-b_n}{a_n}right) $$



Now, say you want to plot the phase spectra of a square wave, with the following Fourier series:



$$frac{4A}{pi} sum_{n=1}^infty frac{1}{2n-1}sin((2n-1)omega t) ,,,,,,,,mathbf(1)$$



$$mathbf A text{ is the amplitude of the signal}$$
then:



$$F_0=a_0=0$$
$$|F_n |=sqrt{a_n^2+b_n^2}=frac{4A}{pi}frac{1}{2n-1}$$
$$theta =arctanleft(frac{-b_n}{a_n}right)=arctanleft(frac{-frac{4A}{pi}frac{1}{2n-1}}{0}right)=-90^circ ,,,,,,,,mathbf(2a)$$



Its phase spectrum is the following:



enter image description here



And the Fourier series (equation $mathbf(1)$ ) of the square waveform represented in its harmonic form is:



$$frac{4A}{pi} sum_{n=1}^infty frac{1}{2n-1}cosleft((2n-1)omega t -90^circright) ,,,,,,,,mathbf(2b)$$



Now here is where I get confused: other books state that the reduced or harmonic form representation is as follows (notice the negative sign on the angle):



$$f(t)=F_0+sum_{n=1}^infty |F_n |cos(nomega t color{red}{mathbf-}theta)$$



$$F_0=a_0$$



$$|F_n |=sqrt{a_n^2+b_n^2}$$
$$theta =arctanleft(frac{b_n}{a_n}right) $$



So for the same square wave of equation $mathbf(1)$ from the example above, the harmonic representation with the negative sign should be:



$$F_0=a_0=0$$
$$|F_n |=sqrt{a_n^2+b_n^2}=frac{4A}{pi}frac{1}{2n-1}$$
$$theta =arctanleft(frac{-b_n}{a_n}right)=arctanleft(frac{frac{4A}{pi}frac{1}{2n-1}}{0}right)=90^circ ,,,,,,,,mathbf(3a)$$



Thus:



$$frac{4A}{pi} sum_{n=1}^infty frac{1}{2n-1}cosleft((2n-1)omega t -90^circright) ,,,,,,,,mathbf(3b)$$



Notice that equation $mathbf(3b)$ is exactly the same as $mathbf(2b)$ but the angle $theta$ in $mathbf(3a)$ has a positive sign while the angle $theta$ in $mathbf(2a)$ has a negative sign.



So the phase spectrum using the angle calculated in $mathbf(3a)$ is:



enter image description here



Which is the mirror image of the phase spectrum found using $mathbf(2a)$



So bottom line: What is the correct way or the standard for the harmonic representation (plus sign or negative angle sign) and how should one decide the angle sign to plot the phase spectra ?










share|cite|improve this question











$endgroup$

















    0












    $begingroup$


    Im very confused regarding how to determine the angle on the reduced or harmonic form representation of the Fourier series. Some books state the following:



    $$f(t)=F_0+sum_{n=1}^infty |F_n |cos(nomega t +theta)$$



    $$F_0=a_0$$
    $$|F_n |=sqrt{a_n^2+b_n^2}$$
    $$theta =arctanleft(frac{-b_n}{a_n}right) $$



    Now, say you want to plot the phase spectra of a square wave, with the following Fourier series:



    $$frac{4A}{pi} sum_{n=1}^infty frac{1}{2n-1}sin((2n-1)omega t) ,,,,,,,,mathbf(1)$$



    $$mathbf A text{ is the amplitude of the signal}$$
    then:



    $$F_0=a_0=0$$
    $$|F_n |=sqrt{a_n^2+b_n^2}=frac{4A}{pi}frac{1}{2n-1}$$
    $$theta =arctanleft(frac{-b_n}{a_n}right)=arctanleft(frac{-frac{4A}{pi}frac{1}{2n-1}}{0}right)=-90^circ ,,,,,,,,mathbf(2a)$$



    Its phase spectrum is the following:



    enter image description here



    And the Fourier series (equation $mathbf(1)$ ) of the square waveform represented in its harmonic form is:



    $$frac{4A}{pi} sum_{n=1}^infty frac{1}{2n-1}cosleft((2n-1)omega t -90^circright) ,,,,,,,,mathbf(2b)$$



    Now here is where I get confused: other books state that the reduced or harmonic form representation is as follows (notice the negative sign on the angle):



    $$f(t)=F_0+sum_{n=1}^infty |F_n |cos(nomega t color{red}{mathbf-}theta)$$



    $$F_0=a_0$$



    $$|F_n |=sqrt{a_n^2+b_n^2}$$
    $$theta =arctanleft(frac{b_n}{a_n}right) $$



    So for the same square wave of equation $mathbf(1)$ from the example above, the harmonic representation with the negative sign should be:



    $$F_0=a_0=0$$
    $$|F_n |=sqrt{a_n^2+b_n^2}=frac{4A}{pi}frac{1}{2n-1}$$
    $$theta =arctanleft(frac{-b_n}{a_n}right)=arctanleft(frac{frac{4A}{pi}frac{1}{2n-1}}{0}right)=90^circ ,,,,,,,,mathbf(3a)$$



    Thus:



    $$frac{4A}{pi} sum_{n=1}^infty frac{1}{2n-1}cosleft((2n-1)omega t -90^circright) ,,,,,,,,mathbf(3b)$$



    Notice that equation $mathbf(3b)$ is exactly the same as $mathbf(2b)$ but the angle $theta$ in $mathbf(3a)$ has a positive sign while the angle $theta$ in $mathbf(2a)$ has a negative sign.



    So the phase spectrum using the angle calculated in $mathbf(3a)$ is:



    enter image description here



    Which is the mirror image of the phase spectrum found using $mathbf(2a)$



    So bottom line: What is the correct way or the standard for the harmonic representation (plus sign or negative angle sign) and how should one decide the angle sign to plot the phase spectra ?










    share|cite|improve this question











    $endgroup$















      0












      0








      0


      2



      $begingroup$


      Im very confused regarding how to determine the angle on the reduced or harmonic form representation of the Fourier series. Some books state the following:



      $$f(t)=F_0+sum_{n=1}^infty |F_n |cos(nomega t +theta)$$



      $$F_0=a_0$$
      $$|F_n |=sqrt{a_n^2+b_n^2}$$
      $$theta =arctanleft(frac{-b_n}{a_n}right) $$



      Now, say you want to plot the phase spectra of a square wave, with the following Fourier series:



      $$frac{4A}{pi} sum_{n=1}^infty frac{1}{2n-1}sin((2n-1)omega t) ,,,,,,,,mathbf(1)$$



      $$mathbf A text{ is the amplitude of the signal}$$
      then:



      $$F_0=a_0=0$$
      $$|F_n |=sqrt{a_n^2+b_n^2}=frac{4A}{pi}frac{1}{2n-1}$$
      $$theta =arctanleft(frac{-b_n}{a_n}right)=arctanleft(frac{-frac{4A}{pi}frac{1}{2n-1}}{0}right)=-90^circ ,,,,,,,,mathbf(2a)$$



      Its phase spectrum is the following:



      enter image description here



      And the Fourier series (equation $mathbf(1)$ ) of the square waveform represented in its harmonic form is:



      $$frac{4A}{pi} sum_{n=1}^infty frac{1}{2n-1}cosleft((2n-1)omega t -90^circright) ,,,,,,,,mathbf(2b)$$



      Now here is where I get confused: other books state that the reduced or harmonic form representation is as follows (notice the negative sign on the angle):



      $$f(t)=F_0+sum_{n=1}^infty |F_n |cos(nomega t color{red}{mathbf-}theta)$$



      $$F_0=a_0$$



      $$|F_n |=sqrt{a_n^2+b_n^2}$$
      $$theta =arctanleft(frac{b_n}{a_n}right) $$



      So for the same square wave of equation $mathbf(1)$ from the example above, the harmonic representation with the negative sign should be:



      $$F_0=a_0=0$$
      $$|F_n |=sqrt{a_n^2+b_n^2}=frac{4A}{pi}frac{1}{2n-1}$$
      $$theta =arctanleft(frac{-b_n}{a_n}right)=arctanleft(frac{frac{4A}{pi}frac{1}{2n-1}}{0}right)=90^circ ,,,,,,,,mathbf(3a)$$



      Thus:



      $$frac{4A}{pi} sum_{n=1}^infty frac{1}{2n-1}cosleft((2n-1)omega t -90^circright) ,,,,,,,,mathbf(3b)$$



      Notice that equation $mathbf(3b)$ is exactly the same as $mathbf(2b)$ but the angle $theta$ in $mathbf(3a)$ has a positive sign while the angle $theta$ in $mathbf(2a)$ has a negative sign.



      So the phase spectrum using the angle calculated in $mathbf(3a)$ is:



      enter image description here



      Which is the mirror image of the phase spectrum found using $mathbf(2a)$



      So bottom line: What is the correct way or the standard for the harmonic representation (plus sign or negative angle sign) and how should one decide the angle sign to plot the phase spectra ?










      share|cite|improve this question











      $endgroup$




      Im very confused regarding how to determine the angle on the reduced or harmonic form representation of the Fourier series. Some books state the following:



      $$f(t)=F_0+sum_{n=1}^infty |F_n |cos(nomega t +theta)$$



      $$F_0=a_0$$
      $$|F_n |=sqrt{a_n^2+b_n^2}$$
      $$theta =arctanleft(frac{-b_n}{a_n}right) $$



      Now, say you want to plot the phase spectra of a square wave, with the following Fourier series:



      $$frac{4A}{pi} sum_{n=1}^infty frac{1}{2n-1}sin((2n-1)omega t) ,,,,,,,,mathbf(1)$$



      $$mathbf A text{ is the amplitude of the signal}$$
      then:



      $$F_0=a_0=0$$
      $$|F_n |=sqrt{a_n^2+b_n^2}=frac{4A}{pi}frac{1}{2n-1}$$
      $$theta =arctanleft(frac{-b_n}{a_n}right)=arctanleft(frac{-frac{4A}{pi}frac{1}{2n-1}}{0}right)=-90^circ ,,,,,,,,mathbf(2a)$$



      Its phase spectrum is the following:



      enter image description here



      And the Fourier series (equation $mathbf(1)$ ) of the square waveform represented in its harmonic form is:



      $$frac{4A}{pi} sum_{n=1}^infty frac{1}{2n-1}cosleft((2n-1)omega t -90^circright) ,,,,,,,,mathbf(2b)$$



      Now here is where I get confused: other books state that the reduced or harmonic form representation is as follows (notice the negative sign on the angle):



      $$f(t)=F_0+sum_{n=1}^infty |F_n |cos(nomega t color{red}{mathbf-}theta)$$



      $$F_0=a_0$$



      $$|F_n |=sqrt{a_n^2+b_n^2}$$
      $$theta =arctanleft(frac{b_n}{a_n}right) $$



      So for the same square wave of equation $mathbf(1)$ from the example above, the harmonic representation with the negative sign should be:



      $$F_0=a_0=0$$
      $$|F_n |=sqrt{a_n^2+b_n^2}=frac{4A}{pi}frac{1}{2n-1}$$
      $$theta =arctanleft(frac{-b_n}{a_n}right)=arctanleft(frac{frac{4A}{pi}frac{1}{2n-1}}{0}right)=90^circ ,,,,,,,,mathbf(3a)$$



      Thus:



      $$frac{4A}{pi} sum_{n=1}^infty frac{1}{2n-1}cosleft((2n-1)omega t -90^circright) ,,,,,,,,mathbf(3b)$$



      Notice that equation $mathbf(3b)$ is exactly the same as $mathbf(2b)$ but the angle $theta$ in $mathbf(3a)$ has a positive sign while the angle $theta$ in $mathbf(2a)$ has a negative sign.



      So the phase spectrum using the angle calculated in $mathbf(3a)$ is:



      enter image description here



      Which is the mirror image of the phase spectrum found using $mathbf(2a)$



      So bottom line: What is the correct way or the standard for the harmonic representation (plus sign or negative angle sign) and how should one decide the angle sign to plot the phase spectra ?







      fourier-analysis fourier-series






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Jan 8 '15 at 0:21









      dustin

      6,70892968




      6,70892968










      asked Jan 7 '15 at 23:06









      S.s.S.s.

      12617




      12617






















          1 Answer
          1






          active

          oldest

          votes


















          0












          $begingroup$

          The two spectra should be the same, as (2b) and (3b) indicate. These two equations should lead you to the same result.



          You compare (2a) with (3a). That's wrong because you don't take into account the sign before $theta$ of the initial equation.






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            Im not conviced that is actually true, because by the different definitions, a negative angle on 3b implies that the angle is positive (comparing it with the definition that uses a negative angle), and a negative angle on 2b implies the angle is in fact negative (comparing it with the definition that uses the positive angle)
            $endgroup$
            – S.s.
            Jan 8 '15 at 3:39










          • $begingroup$
            (2b) and (3b) are exactly the same. So their spectra should be the same too.
            $endgroup$
            – Joker
            Jan 11 '15 at 18:52











          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%2f1095857%2ffourier-series-reduced-form-phase-angle-and-spectra%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












          $begingroup$

          The two spectra should be the same, as (2b) and (3b) indicate. These two equations should lead you to the same result.



          You compare (2a) with (3a). That's wrong because you don't take into account the sign before $theta$ of the initial equation.






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            Im not conviced that is actually true, because by the different definitions, a negative angle on 3b implies that the angle is positive (comparing it with the definition that uses a negative angle), and a negative angle on 2b implies the angle is in fact negative (comparing it with the definition that uses the positive angle)
            $endgroup$
            – S.s.
            Jan 8 '15 at 3:39










          • $begingroup$
            (2b) and (3b) are exactly the same. So their spectra should be the same too.
            $endgroup$
            – Joker
            Jan 11 '15 at 18:52
















          0












          $begingroup$

          The two spectra should be the same, as (2b) and (3b) indicate. These two equations should lead you to the same result.



          You compare (2a) with (3a). That's wrong because you don't take into account the sign before $theta$ of the initial equation.






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            Im not conviced that is actually true, because by the different definitions, a negative angle on 3b implies that the angle is positive (comparing it with the definition that uses a negative angle), and a negative angle on 2b implies the angle is in fact negative (comparing it with the definition that uses the positive angle)
            $endgroup$
            – S.s.
            Jan 8 '15 at 3:39










          • $begingroup$
            (2b) and (3b) are exactly the same. So their spectra should be the same too.
            $endgroup$
            – Joker
            Jan 11 '15 at 18:52














          0












          0








          0





          $begingroup$

          The two spectra should be the same, as (2b) and (3b) indicate. These two equations should lead you to the same result.



          You compare (2a) with (3a). That's wrong because you don't take into account the sign before $theta$ of the initial equation.






          share|cite|improve this answer









          $endgroup$



          The two spectra should be the same, as (2b) and (3b) indicate. These two equations should lead you to the same result.



          You compare (2a) with (3a). That's wrong because you don't take into account the sign before $theta$ of the initial equation.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Jan 8 '15 at 0:09









          JokerJoker

          1223




          1223












          • $begingroup$
            Im not conviced that is actually true, because by the different definitions, a negative angle on 3b implies that the angle is positive (comparing it with the definition that uses a negative angle), and a negative angle on 2b implies the angle is in fact negative (comparing it with the definition that uses the positive angle)
            $endgroup$
            – S.s.
            Jan 8 '15 at 3:39










          • $begingroup$
            (2b) and (3b) are exactly the same. So their spectra should be the same too.
            $endgroup$
            – Joker
            Jan 11 '15 at 18:52


















          • $begingroup$
            Im not conviced that is actually true, because by the different definitions, a negative angle on 3b implies that the angle is positive (comparing it with the definition that uses a negative angle), and a negative angle on 2b implies the angle is in fact negative (comparing it with the definition that uses the positive angle)
            $endgroup$
            – S.s.
            Jan 8 '15 at 3:39










          • $begingroup$
            (2b) and (3b) are exactly the same. So their spectra should be the same too.
            $endgroup$
            – Joker
            Jan 11 '15 at 18:52
















          $begingroup$
          Im not conviced that is actually true, because by the different definitions, a negative angle on 3b implies that the angle is positive (comparing it with the definition that uses a negative angle), and a negative angle on 2b implies the angle is in fact negative (comparing it with the definition that uses the positive angle)
          $endgroup$
          – S.s.
          Jan 8 '15 at 3:39




          $begingroup$
          Im not conviced that is actually true, because by the different definitions, a negative angle on 3b implies that the angle is positive (comparing it with the definition that uses a negative angle), and a negative angle on 2b implies the angle is in fact negative (comparing it with the definition that uses the positive angle)
          $endgroup$
          – S.s.
          Jan 8 '15 at 3:39












          $begingroup$
          (2b) and (3b) are exactly the same. So their spectra should be the same too.
          $endgroup$
          – Joker
          Jan 11 '15 at 18:52




          $begingroup$
          (2b) and (3b) are exactly the same. So their spectra should be the same too.
          $endgroup$
          – Joker
          Jan 11 '15 at 18:52


















          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%2f1095857%2ffourier-series-reduced-form-phase-angle-and-spectra%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

          Can a sorcerer learn a 5th-level spell early by creating spell slots using the Font of Magic feature?

          Does disintegrating a polymorphed enemy still kill it after the 2018 errata?

          A Topological Invariant for $pi_3(U(n))$