Intuition behind commutativity of convolution in LTI systems

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
2
down vote

favorite












Why is convolution commutative as it seems to treat two signals in a different way in an LTI system?



If you imagine y[n] = x[n] * h[n] with x[n] being an input signal and h[n] being the impulse risponse of an LTI system A, how does it make sense that LTI system B with input h[n] and impulse response x[n] generates the exact same output y[n]?










share|improve this question







New contributor




NightRain23 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.























    up vote
    2
    down vote

    favorite












    Why is convolution commutative as it seems to treat two signals in a different way in an LTI system?



    If you imagine y[n] = x[n] * h[n] with x[n] being an input signal and h[n] being the impulse risponse of an LTI system A, how does it make sense that LTI system B with input h[n] and impulse response x[n] generates the exact same output y[n]?










    share|improve this question







    New contributor




    NightRain23 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.





















      up vote
      2
      down vote

      favorite









      up vote
      2
      down vote

      favorite











      Why is convolution commutative as it seems to treat two signals in a different way in an LTI system?



      If you imagine y[n] = x[n] * h[n] with x[n] being an input signal and h[n] being the impulse risponse of an LTI system A, how does it make sense that LTI system B with input h[n] and impulse response x[n] generates the exact same output y[n]?










      share|improve this question







      New contributor




      NightRain23 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      Why is convolution commutative as it seems to treat two signals in a different way in an LTI system?



      If you imagine y[n] = x[n] * h[n] with x[n] being an input signal and h[n] being the impulse risponse of an LTI system A, how does it make sense that LTI system B with input h[n] and impulse response x[n] generates the exact same output y[n]?







      discrete-signals convolution continuous-signals linear-systems impulse-response






      share|improve this question







      New contributor




      NightRain23 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      NightRain23 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      NightRain23 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 2 hours ago









      NightRain23

      111




      111




      New contributor




      NightRain23 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      NightRain23 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      NightRain23 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




















          3 Answers
          3






          active

          oldest

          votes

















          up vote
          1
          down vote













          Imagine a system that accepts a single number $x$ as its input, and it multiplies that number with another number $h$. Would it surprise you that another system which multiplies its input with the number $x$ gives the same output as the first system when fed with the number $h$ as input? If not, then it also shouldn't come as a surprise that the output of an LTI system with impulse response $h[n]$ and input $x[n]$ gives the same output as another LTI system with impulse response $x[n]$ and input $h[n]$.



          Or, in mathematical language, for the discrete-time case:



          $$(xstar h)[n]=sum_kx[k]h[n-k];_m=n-k=sum_mx[n-m]h[m]=(hstar x)[n]$$






          share|improve this answer



























            up vote
            0
            down vote













            If two different systems provide the same outputs for some input signals, this means they share some properties. But if their outputs are equal for all inputs, then they essentially have the same impulse response, and they are virtually the same systems.



            For instance, imagine you have an input sine at frequency $f$. If both systems cut frequency above $f-epsilon$, both have the same behavior for that signal, but they can be two different low-pass systems, more signals are needed to distinguish them.






            share|improve this answer



























              up vote
              0
              down vote













              You are right. It's completely absurd to think that the impulse response of an LTI system can be replaced by the input signal and vice versa and yet they produce the same result.



              As an example, consider a lowpass filter with IIR impulse response $h[n]$ which is fed by the samples of speech waveform $x[n]$ to produce a lowpass filtered verison of the speech. Yet interchanging the roles of input speech and LTI system impulse resoponse $h[n]$ renders into an absurdity in a practical setting.



              Yet that's mathematically the case. And you can even find example application that can take benefit of such an interchange. A mathematical explanation is given in Matt's answer.






              share|improve this answer




















                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: "295"
                ;
                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',
                convertImagesToLinks: false,
                noModals: true,
                showLowRepImageUploadWarning: true,
                reputationToPostImages: null,
                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
                );



                );






                NightRain23 is a new contributor. Be nice, and check out our Code of Conduct.









                 

                draft saved


                draft discarded


















                StackExchange.ready(
                function ()
                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdsp.stackexchange.com%2fquestions%2f53047%2fintuition-behind-commutativity-of-convolution-in-lti-systems%23new-answer', 'question_page');

                );

                Post as a guest






























                3 Answers
                3






                active

                oldest

                votes








                3 Answers
                3






                active

                oldest

                votes









                active

                oldest

                votes






                active

                oldest

                votes








                up vote
                1
                down vote













                Imagine a system that accepts a single number $x$ as its input, and it multiplies that number with another number $h$. Would it surprise you that another system which multiplies its input with the number $x$ gives the same output as the first system when fed with the number $h$ as input? If not, then it also shouldn't come as a surprise that the output of an LTI system with impulse response $h[n]$ and input $x[n]$ gives the same output as another LTI system with impulse response $x[n]$ and input $h[n]$.



                Or, in mathematical language, for the discrete-time case:



                $$(xstar h)[n]=sum_kx[k]h[n-k];_m=n-k=sum_mx[n-m]h[m]=(hstar x)[n]$$






                share|improve this answer
























                  up vote
                  1
                  down vote













                  Imagine a system that accepts a single number $x$ as its input, and it multiplies that number with another number $h$. Would it surprise you that another system which multiplies its input with the number $x$ gives the same output as the first system when fed with the number $h$ as input? If not, then it also shouldn't come as a surprise that the output of an LTI system with impulse response $h[n]$ and input $x[n]$ gives the same output as another LTI system with impulse response $x[n]$ and input $h[n]$.



                  Or, in mathematical language, for the discrete-time case:



                  $$(xstar h)[n]=sum_kx[k]h[n-k];_m=n-k=sum_mx[n-m]h[m]=(hstar x)[n]$$






                  share|improve this answer






















                    up vote
                    1
                    down vote










                    up vote
                    1
                    down vote









                    Imagine a system that accepts a single number $x$ as its input, and it multiplies that number with another number $h$. Would it surprise you that another system which multiplies its input with the number $x$ gives the same output as the first system when fed with the number $h$ as input? If not, then it also shouldn't come as a surprise that the output of an LTI system with impulse response $h[n]$ and input $x[n]$ gives the same output as another LTI system with impulse response $x[n]$ and input $h[n]$.



                    Or, in mathematical language, for the discrete-time case:



                    $$(xstar h)[n]=sum_kx[k]h[n-k];_m=n-k=sum_mx[n-m]h[m]=(hstar x)[n]$$






                    share|improve this answer












                    Imagine a system that accepts a single number $x$ as its input, and it multiplies that number with another number $h$. Would it surprise you that another system which multiplies its input with the number $x$ gives the same output as the first system when fed with the number $h$ as input? If not, then it also shouldn't come as a surprise that the output of an LTI system with impulse response $h[n]$ and input $x[n]$ gives the same output as another LTI system with impulse response $x[n]$ and input $h[n]$.



                    Or, in mathematical language, for the discrete-time case:



                    $$(xstar h)[n]=sum_kx[k]h[n-k];_m=n-k=sum_mx[n-m]h[m]=(hstar x)[n]$$







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered 2 hours ago









                    Matt L.

                    46.5k13682




                    46.5k13682




















                        up vote
                        0
                        down vote













                        If two different systems provide the same outputs for some input signals, this means they share some properties. But if their outputs are equal for all inputs, then they essentially have the same impulse response, and they are virtually the same systems.



                        For instance, imagine you have an input sine at frequency $f$. If both systems cut frequency above $f-epsilon$, both have the same behavior for that signal, but they can be two different low-pass systems, more signals are needed to distinguish them.






                        share|improve this answer
























                          up vote
                          0
                          down vote













                          If two different systems provide the same outputs for some input signals, this means they share some properties. But if their outputs are equal for all inputs, then they essentially have the same impulse response, and they are virtually the same systems.



                          For instance, imagine you have an input sine at frequency $f$. If both systems cut frequency above $f-epsilon$, both have the same behavior for that signal, but they can be two different low-pass systems, more signals are needed to distinguish them.






                          share|improve this answer






















                            up vote
                            0
                            down vote










                            up vote
                            0
                            down vote









                            If two different systems provide the same outputs for some input signals, this means they share some properties. But if their outputs are equal for all inputs, then they essentially have the same impulse response, and they are virtually the same systems.



                            For instance, imagine you have an input sine at frequency $f$. If both systems cut frequency above $f-epsilon$, both have the same behavior for that signal, but they can be two different low-pass systems, more signals are needed to distinguish them.






                            share|improve this answer












                            If two different systems provide the same outputs for some input signals, this means they share some properties. But if their outputs are equal for all inputs, then they essentially have the same impulse response, and they are virtually the same systems.



                            For instance, imagine you have an input sine at frequency $f$. If both systems cut frequency above $f-epsilon$, both have the same behavior for that signal, but they can be two different low-pass systems, more signals are needed to distinguish them.







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered 2 hours ago









                            Laurent Duval

                            15.6k32057




                            15.6k32057




















                                up vote
                                0
                                down vote













                                You are right. It's completely absurd to think that the impulse response of an LTI system can be replaced by the input signal and vice versa and yet they produce the same result.



                                As an example, consider a lowpass filter with IIR impulse response $h[n]$ which is fed by the samples of speech waveform $x[n]$ to produce a lowpass filtered verison of the speech. Yet interchanging the roles of input speech and LTI system impulse resoponse $h[n]$ renders into an absurdity in a practical setting.



                                Yet that's mathematically the case. And you can even find example application that can take benefit of such an interchange. A mathematical explanation is given in Matt's answer.






                                share|improve this answer
























                                  up vote
                                  0
                                  down vote













                                  You are right. It's completely absurd to think that the impulse response of an LTI system can be replaced by the input signal and vice versa and yet they produce the same result.



                                  As an example, consider a lowpass filter with IIR impulse response $h[n]$ which is fed by the samples of speech waveform $x[n]$ to produce a lowpass filtered verison of the speech. Yet interchanging the roles of input speech and LTI system impulse resoponse $h[n]$ renders into an absurdity in a practical setting.



                                  Yet that's mathematically the case. And you can even find example application that can take benefit of such an interchange. A mathematical explanation is given in Matt's answer.






                                  share|improve this answer






















                                    up vote
                                    0
                                    down vote










                                    up vote
                                    0
                                    down vote









                                    You are right. It's completely absurd to think that the impulse response of an LTI system can be replaced by the input signal and vice versa and yet they produce the same result.



                                    As an example, consider a lowpass filter with IIR impulse response $h[n]$ which is fed by the samples of speech waveform $x[n]$ to produce a lowpass filtered verison of the speech. Yet interchanging the roles of input speech and LTI system impulse resoponse $h[n]$ renders into an absurdity in a practical setting.



                                    Yet that's mathematically the case. And you can even find example application that can take benefit of such an interchange. A mathematical explanation is given in Matt's answer.






                                    share|improve this answer












                                    You are right. It's completely absurd to think that the impulse response of an LTI system can be replaced by the input signal and vice versa and yet they produce the same result.



                                    As an example, consider a lowpass filter with IIR impulse response $h[n]$ which is fed by the samples of speech waveform $x[n]$ to produce a lowpass filtered verison of the speech. Yet interchanging the roles of input speech and LTI system impulse resoponse $h[n]$ renders into an absurdity in a practical setting.



                                    Yet that's mathematically the case. And you can even find example application that can take benefit of such an interchange. A mathematical explanation is given in Matt's answer.







                                    share|improve this answer












                                    share|improve this answer



                                    share|improve this answer










                                    answered 1 hour ago









                                    Fat32

                                    13.1k31127




                                    13.1k31127




















                                        NightRain23 is a new contributor. Be nice, and check out our Code of Conduct.









                                         

                                        draft saved


                                        draft discarded


















                                        NightRain23 is a new contributor. Be nice, and check out our Code of Conduct.












                                        NightRain23 is a new contributor. Be nice, and check out our Code of Conduct.











                                        NightRain23 is a new contributor. Be nice, and check out our Code of Conduct.













                                         


                                        draft saved


                                        draft discarded














                                        StackExchange.ready(
                                        function ()
                                        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdsp.stackexchange.com%2fquestions%2f53047%2fintuition-behind-commutativity-of-convolution-in-lti-systems%23new-answer', 'question_page');

                                        );

                                        Post as a guest













































































                                        Comments

                                        Popular posts from this blog

                                        What does second last employer means? [closed]

                                        Installing NextGIS Connect into QGIS 3?

                                        One-line joke