Product of differences of circular permutation












3












$begingroup$


Numbers $1,2,ldots,n$ are arranged into a circle. What is the maximum product of the differences $|x_1-x_2|times|x_2-x_3|timescdotstimes|x_{n-1}-x_n|times|x_n-x_1|$?



I think the maximum should occur when the numbers are arranged $n,1,n-1,2,n-2,3,ldots$. The sum for this arrangement is $(n-1)(n-2)cdots1cdotlfloor n/2rfloor = (n-1)!cdotlfloor n/2rfloor$.



This question was inspired by the question asking for the maximum sum. There, it is possible to prove optimality by noting that we have $2n$ terms ($n$ with $+$ and $n$ with $-$), and each number occurs twice.



Here, it is still true that we have $2n$ terms ($n$ with $+$ and $n$ with $-$), and each number occurs twice. But since we're taking the product instead of the sum, optimality is no longer clear.










share|cite|improve this question











$endgroup$

















    3












    $begingroup$


    Numbers $1,2,ldots,n$ are arranged into a circle. What is the maximum product of the differences $|x_1-x_2|times|x_2-x_3|timescdotstimes|x_{n-1}-x_n|times|x_n-x_1|$?



    I think the maximum should occur when the numbers are arranged $n,1,n-1,2,n-2,3,ldots$. The sum for this arrangement is $(n-1)(n-2)cdots1cdotlfloor n/2rfloor = (n-1)!cdotlfloor n/2rfloor$.



    This question was inspired by the question asking for the maximum sum. There, it is possible to prove optimality by noting that we have $2n$ terms ($n$ with $+$ and $n$ with $-$), and each number occurs twice.



    Here, it is still true that we have $2n$ terms ($n$ with $+$ and $n$ with $-$), and each number occurs twice. But since we're taking the product instead of the sum, optimality is no longer clear.










    share|cite|improve this question











    $endgroup$















      3












      3








      3





      $begingroup$


      Numbers $1,2,ldots,n$ are arranged into a circle. What is the maximum product of the differences $|x_1-x_2|times|x_2-x_3|timescdotstimes|x_{n-1}-x_n|times|x_n-x_1|$?



      I think the maximum should occur when the numbers are arranged $n,1,n-1,2,n-2,3,ldots$. The sum for this arrangement is $(n-1)(n-2)cdots1cdotlfloor n/2rfloor = (n-1)!cdotlfloor n/2rfloor$.



      This question was inspired by the question asking for the maximum sum. There, it is possible to prove optimality by noting that we have $2n$ terms ($n$ with $+$ and $n$ with $-$), and each number occurs twice.



      Here, it is still true that we have $2n$ terms ($n$ with $+$ and $n$ with $-$), and each number occurs twice. But since we're taking the product instead of the sum, optimality is no longer clear.










      share|cite|improve this question











      $endgroup$




      Numbers $1,2,ldots,n$ are arranged into a circle. What is the maximum product of the differences $|x_1-x_2|times|x_2-x_3|timescdotstimes|x_{n-1}-x_n|times|x_n-x_1|$?



      I think the maximum should occur when the numbers are arranged $n,1,n-1,2,n-2,3,ldots$. The sum for this arrangement is $(n-1)(n-2)cdots1cdotlfloor n/2rfloor = (n-1)!cdotlfloor n/2rfloor$.



      This question was inspired by the question asking for the maximum sum. There, it is possible to prove optimality by noting that we have $2n$ terms ($n$ with $+$ and $n$ with $-$), and each number occurs twice.



      Here, it is still true that we have $2n$ terms ($n$ with $+$ and $n$ with $-$), and each number occurs twice. But since we're taking the product instead of the sum, optimality is no longer clear.







      combinatorics permutations






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Dec 8 '18 at 18:36









      Jam

      5,00821431




      5,00821431










      asked Nov 9 '14 at 18:00









      DexterDexter

      891417




      891417






















          1 Answer
          1






          active

          oldest

          votes


















          2












          $begingroup$

          Your conjecture is false. Just generating some random permutations, for example, I find a permutation of 10, $2, 6, 1, 7, 3, 9, 5, 10, 4, 8$, for which the product of differences is $8294400$; compare $9! times 5 = 1814400$ for yours. Note that all the differences in that permutation are 4, 5, or 6 (that is, near 10/2); I think the small factors in your product towards the end hurt you more than the large ones help.



          As a result it makes sense to have as many factors near $n/2$ as possible, and I think something like $1, (n/2+1), 2, (n/2)+2, cdots, n/2, n$ (for $n$ even) will do quite well - in this case you get a product of $(n/2)^{n/2} (n/2-1)^{n/2-1} (n-1)$.






          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%2f1013625%2fproduct-of-differences-of-circular-permutation%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









            2












            $begingroup$

            Your conjecture is false. Just generating some random permutations, for example, I find a permutation of 10, $2, 6, 1, 7, 3, 9, 5, 10, 4, 8$, for which the product of differences is $8294400$; compare $9! times 5 = 1814400$ for yours. Note that all the differences in that permutation are 4, 5, or 6 (that is, near 10/2); I think the small factors in your product towards the end hurt you more than the large ones help.



            As a result it makes sense to have as many factors near $n/2$ as possible, and I think something like $1, (n/2+1), 2, (n/2)+2, cdots, n/2, n$ (for $n$ even) will do quite well - in this case you get a product of $(n/2)^{n/2} (n/2-1)^{n/2-1} (n-1)$.






            share|cite|improve this answer









            $endgroup$


















              2












              $begingroup$

              Your conjecture is false. Just generating some random permutations, for example, I find a permutation of 10, $2, 6, 1, 7, 3, 9, 5, 10, 4, 8$, for which the product of differences is $8294400$; compare $9! times 5 = 1814400$ for yours. Note that all the differences in that permutation are 4, 5, or 6 (that is, near 10/2); I think the small factors in your product towards the end hurt you more than the large ones help.



              As a result it makes sense to have as many factors near $n/2$ as possible, and I think something like $1, (n/2+1), 2, (n/2)+2, cdots, n/2, n$ (for $n$ even) will do quite well - in this case you get a product of $(n/2)^{n/2} (n/2-1)^{n/2-1} (n-1)$.






              share|cite|improve this answer









              $endgroup$
















                2












                2








                2





                $begingroup$

                Your conjecture is false. Just generating some random permutations, for example, I find a permutation of 10, $2, 6, 1, 7, 3, 9, 5, 10, 4, 8$, for which the product of differences is $8294400$; compare $9! times 5 = 1814400$ for yours. Note that all the differences in that permutation are 4, 5, or 6 (that is, near 10/2); I think the small factors in your product towards the end hurt you more than the large ones help.



                As a result it makes sense to have as many factors near $n/2$ as possible, and I think something like $1, (n/2+1), 2, (n/2)+2, cdots, n/2, n$ (for $n$ even) will do quite well - in this case you get a product of $(n/2)^{n/2} (n/2-1)^{n/2-1} (n-1)$.






                share|cite|improve this answer









                $endgroup$



                Your conjecture is false. Just generating some random permutations, for example, I find a permutation of 10, $2, 6, 1, 7, 3, 9, 5, 10, 4, 8$, for which the product of differences is $8294400$; compare $9! times 5 = 1814400$ for yours. Note that all the differences in that permutation are 4, 5, or 6 (that is, near 10/2); I think the small factors in your product towards the end hurt you more than the large ones help.



                As a result it makes sense to have as many factors near $n/2$ as possible, and I think something like $1, (n/2+1), 2, (n/2)+2, cdots, n/2, n$ (for $n$ even) will do quite well - in this case you get a product of $(n/2)^{n/2} (n/2-1)^{n/2-1} (n-1)$.







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered Nov 9 '14 at 18:26









                Michael LugoMichael Lugo

                18.2k33576




                18.2k33576






























                    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%2f1013625%2fproduct-of-differences-of-circular-permutation%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

                    How to change which sound is reproduced for terminal bell?

                    Can I use Tabulator js library in my java Spring + Thymeleaf project?

                    Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents