polynomial long division quick question about the algorithm












0














I was making use of polynomial long division in inverse Z transform and I got stuck in a brainfart in one stage of the polynomial long division.



I posted the original question into digital signal processing stack exchange, but nobody answered it so I thought about sharing the link to math stack exchange.



So here is the link to the my earlier post containing the question and my concerns



https://dsp.stackexchange.com/questions/53426/inverse-z-transform-confused-about-polynomial-long-division-lti-and-causal



if you don't want to look at the link then I can put the same photo here and show the direct question also



enter image description here



I don't know what I should do here, I have two terms (17/2−5z). Which one do you divide by (2z^2) and why is that?










share|cite|improve this question



























    0














    I was making use of polynomial long division in inverse Z transform and I got stuck in a brainfart in one stage of the polynomial long division.



    I posted the original question into digital signal processing stack exchange, but nobody answered it so I thought about sharing the link to math stack exchange.



    So here is the link to the my earlier post containing the question and my concerns



    https://dsp.stackexchange.com/questions/53426/inverse-z-transform-confused-about-polynomial-long-division-lti-and-causal



    if you don't want to look at the link then I can put the same photo here and show the direct question also



    enter image description here



    I don't know what I should do here, I have two terms (17/2−5z). Which one do you divide by (2z^2) and why is that?










    share|cite|improve this question

























      0












      0








      0


      1





      I was making use of polynomial long division in inverse Z transform and I got stuck in a brainfart in one stage of the polynomial long division.



      I posted the original question into digital signal processing stack exchange, but nobody answered it so I thought about sharing the link to math stack exchange.



      So here is the link to the my earlier post containing the question and my concerns



      https://dsp.stackexchange.com/questions/53426/inverse-z-transform-confused-about-polynomial-long-division-lti-and-causal



      if you don't want to look at the link then I can put the same photo here and show the direct question also



      enter image description here



      I don't know what I should do here, I have two terms (17/2−5z). Which one do you divide by (2z^2) and why is that?










      share|cite|improve this question













      I was making use of polynomial long division in inverse Z transform and I got stuck in a brainfart in one stage of the polynomial long division.



      I posted the original question into digital signal processing stack exchange, but nobody answered it so I thought about sharing the link to math stack exchange.



      So here is the link to the my earlier post containing the question and my concerns



      https://dsp.stackexchange.com/questions/53426/inverse-z-transform-confused-about-polynomial-long-division-lti-and-causal



      if you don't want to look at the link then I can put the same photo here and show the direct question also



      enter image description here



      I don't know what I should do here, I have two terms (17/2−5z). Which one do you divide by (2z^2) and why is that?







      z-transform






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Nov 20 '18 at 5:11









      Late347

      366




      366






















          2 Answers
          2






          active

          oldest

          votes


















          2














          You've gone too far. After the first step, when you have $5z-4$, you should stop because the exponent in $z^2$ is too high for it to go into $5z$. You simply have a remainder of $5z-4$, thus:



          $$frac{4z^2-5z}{2z^2-5z+2} = 2 + frac{5z-4}{2z^2-5z+2}$$



          Technically, you could keep dividing forever to get an infinite series, as you started to do, but usually the idea is to stop as soon as the degree of the current expression is less than that of the divisor. This is like normal division with numbers, stopping at the decimal point rather than getting the infinite decimal expansion.






          share|cite|improve this answer























          • so, the logic is that you have: 17/2 * z^{0} - 5*z^{-1}, so that then z^0 is the highest power term, so that is being divided? I think the idea was to do exactly that to receive infinite series, or a couple of the first terms. Then you can do the inverse Z transform (if you can see the explicit form from the terms of the series, that you obtained from long division)
            – Late347
            Nov 20 '18 at 5:45






          • 1




            @Late347 If you do want to get the terms of an infinite series, then yes, at each step, look at the highest power term, like $17/2$ in $17/2 - 5/z$.
            – Théophile
            Nov 20 '18 at 23:58



















          1














          The long division algorithm for dividing $a(z)$ by $b(z)$ is meant to find
          the unique polynomials $q(z)$ and $r(z)$ such that



          $$a(x) = q(z)b(z) + r(z)$$ with the degree of $r(z)$ strictly less than the degree of $b(z)$.



          In your case after one step you already have this situation for $q(z)=2$ (constant) and $r(z) = 5z-4$ which has degree 1 < degree $b(z)$ which is $2$. So you're done after one step.






          share|cite|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: "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%2f3005965%2fpolynomial-long-division-quick-question-about-the-algorithm%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            2














            You've gone too far. After the first step, when you have $5z-4$, you should stop because the exponent in $z^2$ is too high for it to go into $5z$. You simply have a remainder of $5z-4$, thus:



            $$frac{4z^2-5z}{2z^2-5z+2} = 2 + frac{5z-4}{2z^2-5z+2}$$



            Technically, you could keep dividing forever to get an infinite series, as you started to do, but usually the idea is to stop as soon as the degree of the current expression is less than that of the divisor. This is like normal division with numbers, stopping at the decimal point rather than getting the infinite decimal expansion.






            share|cite|improve this answer























            • so, the logic is that you have: 17/2 * z^{0} - 5*z^{-1}, so that then z^0 is the highest power term, so that is being divided? I think the idea was to do exactly that to receive infinite series, or a couple of the first terms. Then you can do the inverse Z transform (if you can see the explicit form from the terms of the series, that you obtained from long division)
              – Late347
              Nov 20 '18 at 5:45






            • 1




              @Late347 If you do want to get the terms of an infinite series, then yes, at each step, look at the highest power term, like $17/2$ in $17/2 - 5/z$.
              – Théophile
              Nov 20 '18 at 23:58
















            2














            You've gone too far. After the first step, when you have $5z-4$, you should stop because the exponent in $z^2$ is too high for it to go into $5z$. You simply have a remainder of $5z-4$, thus:



            $$frac{4z^2-5z}{2z^2-5z+2} = 2 + frac{5z-4}{2z^2-5z+2}$$



            Technically, you could keep dividing forever to get an infinite series, as you started to do, but usually the idea is to stop as soon as the degree of the current expression is less than that of the divisor. This is like normal division with numbers, stopping at the decimal point rather than getting the infinite decimal expansion.






            share|cite|improve this answer























            • so, the logic is that you have: 17/2 * z^{0} - 5*z^{-1}, so that then z^0 is the highest power term, so that is being divided? I think the idea was to do exactly that to receive infinite series, or a couple of the first terms. Then you can do the inverse Z transform (if you can see the explicit form from the terms of the series, that you obtained from long division)
              – Late347
              Nov 20 '18 at 5:45






            • 1




              @Late347 If you do want to get the terms of an infinite series, then yes, at each step, look at the highest power term, like $17/2$ in $17/2 - 5/z$.
              – Théophile
              Nov 20 '18 at 23:58














            2












            2








            2






            You've gone too far. After the first step, when you have $5z-4$, you should stop because the exponent in $z^2$ is too high for it to go into $5z$. You simply have a remainder of $5z-4$, thus:



            $$frac{4z^2-5z}{2z^2-5z+2} = 2 + frac{5z-4}{2z^2-5z+2}$$



            Technically, you could keep dividing forever to get an infinite series, as you started to do, but usually the idea is to stop as soon as the degree of the current expression is less than that of the divisor. This is like normal division with numbers, stopping at the decimal point rather than getting the infinite decimal expansion.






            share|cite|improve this answer














            You've gone too far. After the first step, when you have $5z-4$, you should stop because the exponent in $z^2$ is too high for it to go into $5z$. You simply have a remainder of $5z-4$, thus:



            $$frac{4z^2-5z}{2z^2-5z+2} = 2 + frac{5z-4}{2z^2-5z+2}$$



            Technically, you could keep dividing forever to get an infinite series, as you started to do, but usually the idea is to stop as soon as the degree of the current expression is less than that of the divisor. This is like normal division with numbers, stopping at the decimal point rather than getting the infinite decimal expansion.







            share|cite|improve this answer














            share|cite|improve this answer



            share|cite|improve this answer








            edited Nov 20 '18 at 5:25

























            answered Nov 20 '18 at 5:20









            Théophile

            19.5k12946




            19.5k12946












            • so, the logic is that you have: 17/2 * z^{0} - 5*z^{-1}, so that then z^0 is the highest power term, so that is being divided? I think the idea was to do exactly that to receive infinite series, or a couple of the first terms. Then you can do the inverse Z transform (if you can see the explicit form from the terms of the series, that you obtained from long division)
              – Late347
              Nov 20 '18 at 5:45






            • 1




              @Late347 If you do want to get the terms of an infinite series, then yes, at each step, look at the highest power term, like $17/2$ in $17/2 - 5/z$.
              – Théophile
              Nov 20 '18 at 23:58


















            • so, the logic is that you have: 17/2 * z^{0} - 5*z^{-1}, so that then z^0 is the highest power term, so that is being divided? I think the idea was to do exactly that to receive infinite series, or a couple of the first terms. Then you can do the inverse Z transform (if you can see the explicit form from the terms of the series, that you obtained from long division)
              – Late347
              Nov 20 '18 at 5:45






            • 1




              @Late347 If you do want to get the terms of an infinite series, then yes, at each step, look at the highest power term, like $17/2$ in $17/2 - 5/z$.
              – Théophile
              Nov 20 '18 at 23:58
















            so, the logic is that you have: 17/2 * z^{0} - 5*z^{-1}, so that then z^0 is the highest power term, so that is being divided? I think the idea was to do exactly that to receive infinite series, or a couple of the first terms. Then you can do the inverse Z transform (if you can see the explicit form from the terms of the series, that you obtained from long division)
            – Late347
            Nov 20 '18 at 5:45




            so, the logic is that you have: 17/2 * z^{0} - 5*z^{-1}, so that then z^0 is the highest power term, so that is being divided? I think the idea was to do exactly that to receive infinite series, or a couple of the first terms. Then you can do the inverse Z transform (if you can see the explicit form from the terms of the series, that you obtained from long division)
            – Late347
            Nov 20 '18 at 5:45




            1




            1




            @Late347 If you do want to get the terms of an infinite series, then yes, at each step, look at the highest power term, like $17/2$ in $17/2 - 5/z$.
            – Théophile
            Nov 20 '18 at 23:58




            @Late347 If you do want to get the terms of an infinite series, then yes, at each step, look at the highest power term, like $17/2$ in $17/2 - 5/z$.
            – Théophile
            Nov 20 '18 at 23:58











            1














            The long division algorithm for dividing $a(z)$ by $b(z)$ is meant to find
            the unique polynomials $q(z)$ and $r(z)$ such that



            $$a(x) = q(z)b(z) + r(z)$$ with the degree of $r(z)$ strictly less than the degree of $b(z)$.



            In your case after one step you already have this situation for $q(z)=2$ (constant) and $r(z) = 5z-4$ which has degree 1 < degree $b(z)$ which is $2$. So you're done after one step.






            share|cite|improve this answer


























              1














              The long division algorithm for dividing $a(z)$ by $b(z)$ is meant to find
              the unique polynomials $q(z)$ and $r(z)$ such that



              $$a(x) = q(z)b(z) + r(z)$$ with the degree of $r(z)$ strictly less than the degree of $b(z)$.



              In your case after one step you already have this situation for $q(z)=2$ (constant) and $r(z) = 5z-4$ which has degree 1 < degree $b(z)$ which is $2$. So you're done after one step.






              share|cite|improve this answer
























                1












                1








                1






                The long division algorithm for dividing $a(z)$ by $b(z)$ is meant to find
                the unique polynomials $q(z)$ and $r(z)$ such that



                $$a(x) = q(z)b(z) + r(z)$$ with the degree of $r(z)$ strictly less than the degree of $b(z)$.



                In your case after one step you already have this situation for $q(z)=2$ (constant) and $r(z) = 5z-4$ which has degree 1 < degree $b(z)$ which is $2$. So you're done after one step.






                share|cite|improve this answer












                The long division algorithm for dividing $a(z)$ by $b(z)$ is meant to find
                the unique polynomials $q(z)$ and $r(z)$ such that



                $$a(x) = q(z)b(z) + r(z)$$ with the degree of $r(z)$ strictly less than the degree of $b(z)$.



                In your case after one step you already have this situation for $q(z)=2$ (constant) and $r(z) = 5z-4$ which has degree 1 < degree $b(z)$ which is $2$. So you're done after one step.







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered Nov 20 '18 at 6:10









                Henno Brandsma

                105k346113




                105k346113






























                    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%2f3005965%2fpolynomial-long-division-quick-question-about-the-algorithm%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

                    How to fix TextFormField cause rebuild widget in Flutter

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