If a univariate polynomial is greater than another, is their difference a square?












0












$begingroup$


Let $f(x)$ and $g(x)$ be polynomials, and suppose that for all $x$, $f(x) ge g(x)$. Does this imply that there exists a polynomial $h(x)$ such that $f(x) - g(x) = h(x)^2$? If so, is this easy to prove, and if not, is there a simple counterexample?










share|cite|improve this question









$endgroup$












  • $begingroup$
    There are two polynomials $h_1$ and $h_2$ sucht that $f(x) - g(x)= h_1(x)^2 + h_2(x)^2$ since $f(x) - g(x)$ is a non-negative polynomial.
    $endgroup$
    – An_876_Joke
    Jan 4 at 19:18








  • 1




    $begingroup$
    You can represent the (non-negative) difference as the sum of two squares, see for example math.stackexchange.com/q/1012733/42969.
    $endgroup$
    – Martin R
    Jan 4 at 19:21


















0












$begingroup$


Let $f(x)$ and $g(x)$ be polynomials, and suppose that for all $x$, $f(x) ge g(x)$. Does this imply that there exists a polynomial $h(x)$ such that $f(x) - g(x) = h(x)^2$? If so, is this easy to prove, and if not, is there a simple counterexample?










share|cite|improve this question









$endgroup$












  • $begingroup$
    There are two polynomials $h_1$ and $h_2$ sucht that $f(x) - g(x)= h_1(x)^2 + h_2(x)^2$ since $f(x) - g(x)$ is a non-negative polynomial.
    $endgroup$
    – An_876_Joke
    Jan 4 at 19:18








  • 1




    $begingroup$
    You can represent the (non-negative) difference as the sum of two squares, see for example math.stackexchange.com/q/1012733/42969.
    $endgroup$
    – Martin R
    Jan 4 at 19:21
















0












0








0





$begingroup$


Let $f(x)$ and $g(x)$ be polynomials, and suppose that for all $x$, $f(x) ge g(x)$. Does this imply that there exists a polynomial $h(x)$ such that $f(x) - g(x) = h(x)^2$? If so, is this easy to prove, and if not, is there a simple counterexample?










share|cite|improve this question









$endgroup$




Let $f(x)$ and $g(x)$ be polynomials, and suppose that for all $x$, $f(x) ge g(x)$. Does this imply that there exists a polynomial $h(x)$ such that $f(x) - g(x) = h(x)^2$? If so, is this easy to prove, and if not, is there a simple counterexample?







polynomials






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Jan 4 at 19:13









user54038user54038

1508




1508












  • $begingroup$
    There are two polynomials $h_1$ and $h_2$ sucht that $f(x) - g(x)= h_1(x)^2 + h_2(x)^2$ since $f(x) - g(x)$ is a non-negative polynomial.
    $endgroup$
    – An_876_Joke
    Jan 4 at 19:18








  • 1




    $begingroup$
    You can represent the (non-negative) difference as the sum of two squares, see for example math.stackexchange.com/q/1012733/42969.
    $endgroup$
    – Martin R
    Jan 4 at 19:21




















  • $begingroup$
    There are two polynomials $h_1$ and $h_2$ sucht that $f(x) - g(x)= h_1(x)^2 + h_2(x)^2$ since $f(x) - g(x)$ is a non-negative polynomial.
    $endgroup$
    – An_876_Joke
    Jan 4 at 19:18








  • 1




    $begingroup$
    You can represent the (non-negative) difference as the sum of two squares, see for example math.stackexchange.com/q/1012733/42969.
    $endgroup$
    – Martin R
    Jan 4 at 19:21


















$begingroup$
There are two polynomials $h_1$ and $h_2$ sucht that $f(x) - g(x)= h_1(x)^2 + h_2(x)^2$ since $f(x) - g(x)$ is a non-negative polynomial.
$endgroup$
– An_876_Joke
Jan 4 at 19:18






$begingroup$
There are two polynomials $h_1$ and $h_2$ sucht that $f(x) - g(x)= h_1(x)^2 + h_2(x)^2$ since $f(x) - g(x)$ is a non-negative polynomial.
$endgroup$
– An_876_Joke
Jan 4 at 19:18






1




1




$begingroup$
You can represent the (non-negative) difference as the sum of two squares, see for example math.stackexchange.com/q/1012733/42969.
$endgroup$
– Martin R
Jan 4 at 19:21






$begingroup$
You can represent the (non-negative) difference as the sum of two squares, see for example math.stackexchange.com/q/1012733/42969.
$endgroup$
– Martin R
Jan 4 at 19:21












3 Answers
3






active

oldest

votes


















3












$begingroup$

Take $f(x)=x^2+2$ and $g(x)=2x$. Then, for each $xinmathbb R$,$$f(x)-g(x)=x^2-2x+2=(x-1)^2+1>0.$$However, there is no polynomial $h(x)$ such that $h^2(x)=x^2-2x+2$ because the degree of $h(x)$ could only be $1$ and therefore it would have to have a real root. But $x^2-2x+2$ has none.






share|cite|improve this answer











$endgroup$





















    3












    $begingroup$

    There should be a very simple counterexample; $f(x)=x^4+x^2+1$ and $g(x)=x^4$. Then $f(x)-g(x)=x^2+1$, which is not a square.






    share|cite|improve this answer









    $endgroup$





















      1












      $begingroup$

      I don't think so, for example if you take $$f(x)=x^2>g(x)=x-1$$



      so you can see: $$f(x)-g(x)=x^2-x+1$$ and you cant find $$h(x)^2 $$which equal to that,



      if that's what you mean..






      share|cite|improve this answer









      $endgroup$













        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%2f3061986%2fif-a-univariate-polynomial-is-greater-than-another-is-their-difference-a-square%23new-answer', 'question_page');
        }
        );

        Post as a guest















        Required, but never shown

























        3 Answers
        3






        active

        oldest

        votes








        3 Answers
        3






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        3












        $begingroup$

        Take $f(x)=x^2+2$ and $g(x)=2x$. Then, for each $xinmathbb R$,$$f(x)-g(x)=x^2-2x+2=(x-1)^2+1>0.$$However, there is no polynomial $h(x)$ such that $h^2(x)=x^2-2x+2$ because the degree of $h(x)$ could only be $1$ and therefore it would have to have a real root. But $x^2-2x+2$ has none.






        share|cite|improve this answer











        $endgroup$


















          3












          $begingroup$

          Take $f(x)=x^2+2$ and $g(x)=2x$. Then, for each $xinmathbb R$,$$f(x)-g(x)=x^2-2x+2=(x-1)^2+1>0.$$However, there is no polynomial $h(x)$ such that $h^2(x)=x^2-2x+2$ because the degree of $h(x)$ could only be $1$ and therefore it would have to have a real root. But $x^2-2x+2$ has none.






          share|cite|improve this answer











          $endgroup$
















            3












            3








            3





            $begingroup$

            Take $f(x)=x^2+2$ and $g(x)=2x$. Then, for each $xinmathbb R$,$$f(x)-g(x)=x^2-2x+2=(x-1)^2+1>0.$$However, there is no polynomial $h(x)$ such that $h^2(x)=x^2-2x+2$ because the degree of $h(x)$ could only be $1$ and therefore it would have to have a real root. But $x^2-2x+2$ has none.






            share|cite|improve this answer











            $endgroup$



            Take $f(x)=x^2+2$ and $g(x)=2x$. Then, for each $xinmathbb R$,$$f(x)-g(x)=x^2-2x+2=(x-1)^2+1>0.$$However, there is no polynomial $h(x)$ such that $h^2(x)=x^2-2x+2$ because the degree of $h(x)$ could only be $1$ and therefore it would have to have a real root. But $x^2-2x+2$ has none.







            share|cite|improve this answer














            share|cite|improve this answer



            share|cite|improve this answer








            edited Jan 4 at 19:41

























            answered Jan 4 at 19:19









            José Carlos SantosJosé Carlos Santos

            165k22132235




            165k22132235























                3












                $begingroup$

                There should be a very simple counterexample; $f(x)=x^4+x^2+1$ and $g(x)=x^4$. Then $f(x)-g(x)=x^2+1$, which is not a square.






                share|cite|improve this answer









                $endgroup$


















                  3












                  $begingroup$

                  There should be a very simple counterexample; $f(x)=x^4+x^2+1$ and $g(x)=x^4$. Then $f(x)-g(x)=x^2+1$, which is not a square.






                  share|cite|improve this answer









                  $endgroup$
















                    3












                    3








                    3





                    $begingroup$

                    There should be a very simple counterexample; $f(x)=x^4+x^2+1$ and $g(x)=x^4$. Then $f(x)-g(x)=x^2+1$, which is not a square.






                    share|cite|improve this answer









                    $endgroup$



                    There should be a very simple counterexample; $f(x)=x^4+x^2+1$ and $g(x)=x^4$. Then $f(x)-g(x)=x^2+1$, which is not a square.







                    share|cite|improve this answer












                    share|cite|improve this answer



                    share|cite|improve this answer










                    answered Jan 4 at 19:19









                    ItsJustSomeOrdinalsBroItsJustSomeOrdinalsBro

                    661




                    661























                        1












                        $begingroup$

                        I don't think so, for example if you take $$f(x)=x^2>g(x)=x-1$$



                        so you can see: $$f(x)-g(x)=x^2-x+1$$ and you cant find $$h(x)^2 $$which equal to that,



                        if that's what you mean..






                        share|cite|improve this answer









                        $endgroup$


















                          1












                          $begingroup$

                          I don't think so, for example if you take $$f(x)=x^2>g(x)=x-1$$



                          so you can see: $$f(x)-g(x)=x^2-x+1$$ and you cant find $$h(x)^2 $$which equal to that,



                          if that's what you mean..






                          share|cite|improve this answer









                          $endgroup$
















                            1












                            1








                            1





                            $begingroup$

                            I don't think so, for example if you take $$f(x)=x^2>g(x)=x-1$$



                            so you can see: $$f(x)-g(x)=x^2-x+1$$ and you cant find $$h(x)^2 $$which equal to that,



                            if that's what you mean..






                            share|cite|improve this answer









                            $endgroup$



                            I don't think so, for example if you take $$f(x)=x^2>g(x)=x-1$$



                            so you can see: $$f(x)-g(x)=x^2-x+1$$ and you cant find $$h(x)^2 $$which equal to that,



                            if that's what you mean..







                            share|cite|improve this answer












                            share|cite|improve this answer



                            share|cite|improve this answer










                            answered Jan 4 at 19:21









                            Yanir ElmYanir Elm

                            693




                            693






























                                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%2f3061986%2fif-a-univariate-polynomial-is-greater-than-another-is-their-difference-a-square%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

                                Quarter-circle Tiles

                                build a pushdown automaton that recognizes the reverse language of a given pushdown automaton?

                                Mont Emei