How to calculate the center of a regular polygon?

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











up vote
0
down vote

favorite












What is the formula for the center of an n-edge regular polygon that has the given segment as its edge?



So, given a segment AB, with endpoints A=(a1,a2) and B=(b1,b2), I need to find out the two points X=(x1,x2) and Y=(y1,y2), such that the n-edge regular polygon with center at X, and the one with center at Y have AB as their edge.







share|cite|improve this question












migrated from mathoverflow.net Dec 25 '14 at 17:27


This question came from our site for professional mathematicians.


















    up vote
    0
    down vote

    favorite












    What is the formula for the center of an n-edge regular polygon that has the given segment as its edge?



    So, given a segment AB, with endpoints A=(a1,a2) and B=(b1,b2), I need to find out the two points X=(x1,x2) and Y=(y1,y2), such that the n-edge regular polygon with center at X, and the one with center at Y have AB as their edge.







    share|cite|improve this question












    migrated from mathoverflow.net Dec 25 '14 at 17:27


    This question came from our site for professional mathematicians.
















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      What is the formula for the center of an n-edge regular polygon that has the given segment as its edge?



      So, given a segment AB, with endpoints A=(a1,a2) and B=(b1,b2), I need to find out the two points X=(x1,x2) and Y=(y1,y2), such that the n-edge regular polygon with center at X, and the one with center at Y have AB as their edge.







      share|cite|improve this question












      What is the formula for the center of an n-edge regular polygon that has the given segment as its edge?



      So, given a segment AB, with endpoints A=(a1,a2) and B=(b1,b2), I need to find out the two points X=(x1,x2) and Y=(y1,y2), such that the n-edge regular polygon with center at X, and the one with center at Y have AB as their edge.









      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Dec 25 '14 at 15:12







      Vahagn











      migrated from mathoverflow.net Dec 25 '14 at 17:27


      This question came from our site for professional mathematicians.






      migrated from mathoverflow.net Dec 25 '14 at 17:27


      This question came from our site for professional mathematicians.






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          Let $T=tan(180^circ/n)$. The midpoint of $AB$ is $((a1+b1)/2,(a2+b2)/2)$, the centres would be
          $$((a1+b1)/2+(a2-b2)/2T,(a2+b2)/2+(b1-a1)/2T)\
          ((a1+b1)/2+(b2-a2)/2T,(a2+b2)/2+(a1-b1)/2T)$$






          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',
            convertImagesToLinks: true,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            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%2f1080751%2fhow-to-calculate-the-center-of-a-regular-polygon%23new-answer', 'question_page');

            );

            Post as a guest





























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            Let $T=tan(180^circ/n)$. The midpoint of $AB$ is $((a1+b1)/2,(a2+b2)/2)$, the centres would be
            $$((a1+b1)/2+(a2-b2)/2T,(a2+b2)/2+(b1-a1)/2T)\
            ((a1+b1)/2+(b2-a2)/2T,(a2+b2)/2+(a1-b1)/2T)$$






            share|cite|improve this answer
























              up vote
              0
              down vote













              Let $T=tan(180^circ/n)$. The midpoint of $AB$ is $((a1+b1)/2,(a2+b2)/2)$, the centres would be
              $$((a1+b1)/2+(a2-b2)/2T,(a2+b2)/2+(b1-a1)/2T)\
              ((a1+b1)/2+(b2-a2)/2T,(a2+b2)/2+(a1-b1)/2T)$$






              share|cite|improve this answer






















                up vote
                0
                down vote










                up vote
                0
                down vote









                Let $T=tan(180^circ/n)$. The midpoint of $AB$ is $((a1+b1)/2,(a2+b2)/2)$, the centres would be
                $$((a1+b1)/2+(a2-b2)/2T,(a2+b2)/2+(b1-a1)/2T)\
                ((a1+b1)/2+(b2-a2)/2T,(a2+b2)/2+(a1-b1)/2T)$$






                share|cite|improve this answer












                Let $T=tan(180^circ/n)$. The midpoint of $AB$ is $((a1+b1)/2,(a2+b2)/2)$, the centres would be
                $$((a1+b1)/2+(a2-b2)/2T,(a2+b2)/2+(b1-a1)/2T)\
                ((a1+b1)/2+(b2-a2)/2T,(a2+b2)/2+(a1-b1)/2T)$$







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered Dec 25 '14 at 17:40









                Empy2

                31.9k12059




                31.9k12059






















                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f1080751%2fhow-to-calculate-the-center-of-a-regular-polygon%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    這個網誌中的熱門文章

                    How to combine Bézier curves to a surface?

                    Carbon dioxide

                    Why am i infinitely getting the same tweet with the Twitter Search API?