Proving the highest product of two numbers with a fixed sum












0












$begingroup$


How to prove that any two numbers with a fixed sum have the highest product when both equal half of the sum?



Example:



Given sum equals $10$.

Why is then $5times5$ more than $6times4, 7times 3, 8times2$, etc.?










share|cite|improve this question











$endgroup$








  • 3




    $begingroup$
    Note that $(5+x) + (5-x) = 10$. Now consider $(5+x)(5-x)$ and remember that the square of a number is always non-negative. Adapt this to the general case.
    $endgroup$
    – JMoravitz
    Jan 15 at 17:35












  • $begingroup$
    As an aside, the observation you are asking to prove is a special case of the AM-GM Inequality.
    $endgroup$
    – JMoravitz
    Jan 15 at 17:36










  • $begingroup$
    As a further aside, this generalises. To maximise the product of $n$ (positive) numbers $x_1, dots, x_n$ subject to the constraint that $x_1 + dots + x_n = c$ for some constant $c$, you want to take all of the $x_i$ to be equal to $frac{c}{n}$
    $endgroup$
    – Adam Higgins
    Jan 15 at 17:39


















0












$begingroup$


How to prove that any two numbers with a fixed sum have the highest product when both equal half of the sum?



Example:



Given sum equals $10$.

Why is then $5times5$ more than $6times4, 7times 3, 8times2$, etc.?










share|cite|improve this question











$endgroup$








  • 3




    $begingroup$
    Note that $(5+x) + (5-x) = 10$. Now consider $(5+x)(5-x)$ and remember that the square of a number is always non-negative. Adapt this to the general case.
    $endgroup$
    – JMoravitz
    Jan 15 at 17:35












  • $begingroup$
    As an aside, the observation you are asking to prove is a special case of the AM-GM Inequality.
    $endgroup$
    – JMoravitz
    Jan 15 at 17:36










  • $begingroup$
    As a further aside, this generalises. To maximise the product of $n$ (positive) numbers $x_1, dots, x_n$ subject to the constraint that $x_1 + dots + x_n = c$ for some constant $c$, you want to take all of the $x_i$ to be equal to $frac{c}{n}$
    $endgroup$
    – Adam Higgins
    Jan 15 at 17:39
















0












0








0





$begingroup$


How to prove that any two numbers with a fixed sum have the highest product when both equal half of the sum?



Example:



Given sum equals $10$.

Why is then $5times5$ more than $6times4, 7times 3, 8times2$, etc.?










share|cite|improve this question











$endgroup$




How to prove that any two numbers with a fixed sum have the highest product when both equal half of the sum?



Example:



Given sum equals $10$.

Why is then $5times5$ more than $6times4, 7times 3, 8times2$, etc.?







products






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 15 at 18:24









David G. Stork

12.2k41836




12.2k41836










asked Jan 15 at 17:32









Xxx DddXxx Ddd

554




554








  • 3




    $begingroup$
    Note that $(5+x) + (5-x) = 10$. Now consider $(5+x)(5-x)$ and remember that the square of a number is always non-negative. Adapt this to the general case.
    $endgroup$
    – JMoravitz
    Jan 15 at 17:35












  • $begingroup$
    As an aside, the observation you are asking to prove is a special case of the AM-GM Inequality.
    $endgroup$
    – JMoravitz
    Jan 15 at 17:36










  • $begingroup$
    As a further aside, this generalises. To maximise the product of $n$ (positive) numbers $x_1, dots, x_n$ subject to the constraint that $x_1 + dots + x_n = c$ for some constant $c$, you want to take all of the $x_i$ to be equal to $frac{c}{n}$
    $endgroup$
    – Adam Higgins
    Jan 15 at 17:39
















  • 3




    $begingroup$
    Note that $(5+x) + (5-x) = 10$. Now consider $(5+x)(5-x)$ and remember that the square of a number is always non-negative. Adapt this to the general case.
    $endgroup$
    – JMoravitz
    Jan 15 at 17:35












  • $begingroup$
    As an aside, the observation you are asking to prove is a special case of the AM-GM Inequality.
    $endgroup$
    – JMoravitz
    Jan 15 at 17:36










  • $begingroup$
    As a further aside, this generalises. To maximise the product of $n$ (positive) numbers $x_1, dots, x_n$ subject to the constraint that $x_1 + dots + x_n = c$ for some constant $c$, you want to take all of the $x_i$ to be equal to $frac{c}{n}$
    $endgroup$
    – Adam Higgins
    Jan 15 at 17:39










3




3




$begingroup$
Note that $(5+x) + (5-x) = 10$. Now consider $(5+x)(5-x)$ and remember that the square of a number is always non-negative. Adapt this to the general case.
$endgroup$
– JMoravitz
Jan 15 at 17:35






$begingroup$
Note that $(5+x) + (5-x) = 10$. Now consider $(5+x)(5-x)$ and remember that the square of a number is always non-negative. Adapt this to the general case.
$endgroup$
– JMoravitz
Jan 15 at 17:35














$begingroup$
As an aside, the observation you are asking to prove is a special case of the AM-GM Inequality.
$endgroup$
– JMoravitz
Jan 15 at 17:36




$begingroup$
As an aside, the observation you are asking to prove is a special case of the AM-GM Inequality.
$endgroup$
– JMoravitz
Jan 15 at 17:36












$begingroup$
As a further aside, this generalises. To maximise the product of $n$ (positive) numbers $x_1, dots, x_n$ subject to the constraint that $x_1 + dots + x_n = c$ for some constant $c$, you want to take all of the $x_i$ to be equal to $frac{c}{n}$
$endgroup$
– Adam Higgins
Jan 15 at 17:39






$begingroup$
As a further aside, this generalises. To maximise the product of $n$ (positive) numbers $x_1, dots, x_n$ subject to the constraint that $x_1 + dots + x_n = c$ for some constant $c$, you want to take all of the $x_i$ to be equal to $frac{c}{n}$
$endgroup$
– Adam Higgins
Jan 15 at 17:39












6 Answers
6






active

oldest

votes


















2












$begingroup$

$4xy=(x+y)^2-(x-y)^2$ so since $x+y$ is fixed the product is maximum when $x=y$ so that $x-y=0$






share|cite|improve this answer









$endgroup$













  • $begingroup$
    Mark.In 1 line! Very nice.
    $endgroup$
    – Peter Szilas
    Jan 15 at 18:10



















0












$begingroup$

Hint: Let $$a+b=s$$ then $$ab=a(s-a)=-a^2+sa$$ where $s$ is given.






share|cite|improve this answer









$endgroup$





















    0












    $begingroup$

    Suppose $x+y=k $, where $k $ is a fixed real number. We want to maximise $xcdot y =x(k-x)=f(x)$. Differentiation w.r.t. $x$ will give us $f'(x)=k-2x$. Equating $k-2x $ to $0$ gives $x=frac k2 implies y=frac k2$.






    share|cite|improve this answer









    $endgroup$





















      0












      $begingroup$

      You want two numbers which give a particular sum and you want to maximize their product:



      $$m+n = c tag{1}$$



      $$m(n) = ? tag{2}$$



      You can rewrite the first equation in terms of either $m$ or $n$. For instance, if you choose to express it in terms of $n$, you get $n = c-m$. Plugging this in $(2)$, you get



      $$m(c-m) = -m^2+cm$$



      If you know about quadratics, functions in the form $y = ax^2+bx+c$, you could use the fact that $a$ is negative here, so the quadratic has a maximum, which occurs at $h = -frac{b}{2a}$. Using $a = -1$ and $b = c$, you get $-frac{c}{2(-1)} = frac{c}{2}$, so the maximum product occurs when both $m$ and $n$ are half their sum (and are equal to each other).






      share|cite|improve this answer









      $endgroup$





















        0












        $begingroup$

        Sometimes a figure is worth 1000 words.



        Given others answerers are providing hints: Can you see the answer in these (tan) plots of $A = x(n-x)$ for various values of $10 leq n leq 20$?



        enter image description here






        share|cite|improve this answer











        $endgroup$





















          0












          $begingroup$

          $$ left( ;left( frac{a+b}{2} right) - t ; right) ; ; left( ; left( frac{a+b}{2} right) + t ; right) ; = ; left( frac{a+b}{2} right)^2 ; - ; ; t^2 $$






          share|cite|improve this answer









          $endgroup$














            Your Answer








            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%2f3074683%2fproving-the-highest-product-of-two-numbers-with-a-fixed-sum%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            6 Answers
            6






            active

            oldest

            votes








            6 Answers
            6






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            2












            $begingroup$

            $4xy=(x+y)^2-(x-y)^2$ so since $x+y$ is fixed the product is maximum when $x=y$ so that $x-y=0$






            share|cite|improve this answer









            $endgroup$













            • $begingroup$
              Mark.In 1 line! Very nice.
              $endgroup$
              – Peter Szilas
              Jan 15 at 18:10
















            2












            $begingroup$

            $4xy=(x+y)^2-(x-y)^2$ so since $x+y$ is fixed the product is maximum when $x=y$ so that $x-y=0$






            share|cite|improve this answer









            $endgroup$













            • $begingroup$
              Mark.In 1 line! Very nice.
              $endgroup$
              – Peter Szilas
              Jan 15 at 18:10














            2












            2








            2





            $begingroup$

            $4xy=(x+y)^2-(x-y)^2$ so since $x+y$ is fixed the product is maximum when $x=y$ so that $x-y=0$






            share|cite|improve this answer









            $endgroup$



            $4xy=(x+y)^2-(x-y)^2$ so since $x+y$ is fixed the product is maximum when $x=y$ so that $x-y=0$







            share|cite|improve this answer












            share|cite|improve this answer



            share|cite|improve this answer










            answered Jan 15 at 17:53









            Mark BennetMark Bennet

            82.1k984182




            82.1k984182












            • $begingroup$
              Mark.In 1 line! Very nice.
              $endgroup$
              – Peter Szilas
              Jan 15 at 18:10


















            • $begingroup$
              Mark.In 1 line! Very nice.
              $endgroup$
              – Peter Szilas
              Jan 15 at 18:10
















            $begingroup$
            Mark.In 1 line! Very nice.
            $endgroup$
            – Peter Szilas
            Jan 15 at 18:10




            $begingroup$
            Mark.In 1 line! Very nice.
            $endgroup$
            – Peter Szilas
            Jan 15 at 18:10











            0












            $begingroup$

            Hint: Let $$a+b=s$$ then $$ab=a(s-a)=-a^2+sa$$ where $s$ is given.






            share|cite|improve this answer









            $endgroup$


















              0












              $begingroup$

              Hint: Let $$a+b=s$$ then $$ab=a(s-a)=-a^2+sa$$ where $s$ is given.






              share|cite|improve this answer









              $endgroup$
















                0












                0








                0





                $begingroup$

                Hint: Let $$a+b=s$$ then $$ab=a(s-a)=-a^2+sa$$ where $s$ is given.






                share|cite|improve this answer









                $endgroup$



                Hint: Let $$a+b=s$$ then $$ab=a(s-a)=-a^2+sa$$ where $s$ is given.







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered Jan 15 at 17:35









                Dr. Sonnhard GraubnerDr. Sonnhard Graubner

                79.6k42867




                79.6k42867























                    0












                    $begingroup$

                    Suppose $x+y=k $, where $k $ is a fixed real number. We want to maximise $xcdot y =x(k-x)=f(x)$. Differentiation w.r.t. $x$ will give us $f'(x)=k-2x$. Equating $k-2x $ to $0$ gives $x=frac k2 implies y=frac k2$.






                    share|cite|improve this answer









                    $endgroup$


















                      0












                      $begingroup$

                      Suppose $x+y=k $, where $k $ is a fixed real number. We want to maximise $xcdot y =x(k-x)=f(x)$. Differentiation w.r.t. $x$ will give us $f'(x)=k-2x$. Equating $k-2x $ to $0$ gives $x=frac k2 implies y=frac k2$.






                      share|cite|improve this answer









                      $endgroup$
















                        0












                        0








                        0





                        $begingroup$

                        Suppose $x+y=k $, where $k $ is a fixed real number. We want to maximise $xcdot y =x(k-x)=f(x)$. Differentiation w.r.t. $x$ will give us $f'(x)=k-2x$. Equating $k-2x $ to $0$ gives $x=frac k2 implies y=frac k2$.






                        share|cite|improve this answer









                        $endgroup$



                        Suppose $x+y=k $, where $k $ is a fixed real number. We want to maximise $xcdot y =x(k-x)=f(x)$. Differentiation w.r.t. $x$ will give us $f'(x)=k-2x$. Equating $k-2x $ to $0$ gives $x=frac k2 implies y=frac k2$.







                        share|cite|improve this answer












                        share|cite|improve this answer



                        share|cite|improve this answer










                        answered Jan 15 at 17:38









                        Thomas ShelbyThomas Shelby

                        4,8082727




                        4,8082727























                            0












                            $begingroup$

                            You want two numbers which give a particular sum and you want to maximize their product:



                            $$m+n = c tag{1}$$



                            $$m(n) = ? tag{2}$$



                            You can rewrite the first equation in terms of either $m$ or $n$. For instance, if you choose to express it in terms of $n$, you get $n = c-m$. Plugging this in $(2)$, you get



                            $$m(c-m) = -m^2+cm$$



                            If you know about quadratics, functions in the form $y = ax^2+bx+c$, you could use the fact that $a$ is negative here, so the quadratic has a maximum, which occurs at $h = -frac{b}{2a}$. Using $a = -1$ and $b = c$, you get $-frac{c}{2(-1)} = frac{c}{2}$, so the maximum product occurs when both $m$ and $n$ are half their sum (and are equal to each other).






                            share|cite|improve this answer









                            $endgroup$


















                              0












                              $begingroup$

                              You want two numbers which give a particular sum and you want to maximize their product:



                              $$m+n = c tag{1}$$



                              $$m(n) = ? tag{2}$$



                              You can rewrite the first equation in terms of either $m$ or $n$. For instance, if you choose to express it in terms of $n$, you get $n = c-m$. Plugging this in $(2)$, you get



                              $$m(c-m) = -m^2+cm$$



                              If you know about quadratics, functions in the form $y = ax^2+bx+c$, you could use the fact that $a$ is negative here, so the quadratic has a maximum, which occurs at $h = -frac{b}{2a}$. Using $a = -1$ and $b = c$, you get $-frac{c}{2(-1)} = frac{c}{2}$, so the maximum product occurs when both $m$ and $n$ are half their sum (and are equal to each other).






                              share|cite|improve this answer









                              $endgroup$
















                                0












                                0








                                0





                                $begingroup$

                                You want two numbers which give a particular sum and you want to maximize their product:



                                $$m+n = c tag{1}$$



                                $$m(n) = ? tag{2}$$



                                You can rewrite the first equation in terms of either $m$ or $n$. For instance, if you choose to express it in terms of $n$, you get $n = c-m$. Plugging this in $(2)$, you get



                                $$m(c-m) = -m^2+cm$$



                                If you know about quadratics, functions in the form $y = ax^2+bx+c$, you could use the fact that $a$ is negative here, so the quadratic has a maximum, which occurs at $h = -frac{b}{2a}$. Using $a = -1$ and $b = c$, you get $-frac{c}{2(-1)} = frac{c}{2}$, so the maximum product occurs when both $m$ and $n$ are half their sum (and are equal to each other).






                                share|cite|improve this answer









                                $endgroup$



                                You want two numbers which give a particular sum and you want to maximize their product:



                                $$m+n = c tag{1}$$



                                $$m(n) = ? tag{2}$$



                                You can rewrite the first equation in terms of either $m$ or $n$. For instance, if you choose to express it in terms of $n$, you get $n = c-m$. Plugging this in $(2)$, you get



                                $$m(c-m) = -m^2+cm$$



                                If you know about quadratics, functions in the form $y = ax^2+bx+c$, you could use the fact that $a$ is negative here, so the quadratic has a maximum, which occurs at $h = -frac{b}{2a}$. Using $a = -1$ and $b = c$, you get $-frac{c}{2(-1)} = frac{c}{2}$, so the maximum product occurs when both $m$ and $n$ are half their sum (and are equal to each other).







                                share|cite|improve this answer












                                share|cite|improve this answer



                                share|cite|improve this answer










                                answered Jan 15 at 17:53









                                KM101KM101

                                6,0861525




                                6,0861525























                                    0












                                    $begingroup$

                                    Sometimes a figure is worth 1000 words.



                                    Given others answerers are providing hints: Can you see the answer in these (tan) plots of $A = x(n-x)$ for various values of $10 leq n leq 20$?



                                    enter image description here






                                    share|cite|improve this answer











                                    $endgroup$


















                                      0












                                      $begingroup$

                                      Sometimes a figure is worth 1000 words.



                                      Given others answerers are providing hints: Can you see the answer in these (tan) plots of $A = x(n-x)$ for various values of $10 leq n leq 20$?



                                      enter image description here






                                      share|cite|improve this answer











                                      $endgroup$
















                                        0












                                        0








                                        0





                                        $begingroup$

                                        Sometimes a figure is worth 1000 words.



                                        Given others answerers are providing hints: Can you see the answer in these (tan) plots of $A = x(n-x)$ for various values of $10 leq n leq 20$?



                                        enter image description here






                                        share|cite|improve this answer











                                        $endgroup$



                                        Sometimes a figure is worth 1000 words.



                                        Given others answerers are providing hints: Can you see the answer in these (tan) plots of $A = x(n-x)$ for various values of $10 leq n leq 20$?



                                        enter image description here







                                        share|cite|improve this answer














                                        share|cite|improve this answer



                                        share|cite|improve this answer








                                        edited Jan 15 at 18:14

























                                        answered Jan 15 at 17:44









                                        David G. StorkDavid G. Stork

                                        12.2k41836




                                        12.2k41836























                                            0












                                            $begingroup$

                                            $$ left( ;left( frac{a+b}{2} right) - t ; right) ; ; left( ; left( frac{a+b}{2} right) + t ; right) ; = ; left( frac{a+b}{2} right)^2 ; - ; ; t^2 $$






                                            share|cite|improve this answer









                                            $endgroup$


















                                              0












                                              $begingroup$

                                              $$ left( ;left( frac{a+b}{2} right) - t ; right) ; ; left( ; left( frac{a+b}{2} right) + t ; right) ; = ; left( frac{a+b}{2} right)^2 ; - ; ; t^2 $$






                                              share|cite|improve this answer









                                              $endgroup$
















                                                0












                                                0








                                                0





                                                $begingroup$

                                                $$ left( ;left( frac{a+b}{2} right) - t ; right) ; ; left( ; left( frac{a+b}{2} right) + t ; right) ; = ; left( frac{a+b}{2} right)^2 ; - ; ; t^2 $$






                                                share|cite|improve this answer









                                                $endgroup$



                                                $$ left( ;left( frac{a+b}{2} right) - t ; right) ; ; left( ; left( frac{a+b}{2} right) + t ; right) ; = ; left( frac{a+b}{2} right)^2 ; - ; ; t^2 $$







                                                share|cite|improve this answer












                                                share|cite|improve this answer



                                                share|cite|improve this answer










                                                answered Jan 15 at 18:56









                                                Will JagyWill Jagy

                                                105k5103202




                                                105k5103202






























                                                    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%2f3074683%2fproving-the-highest-product-of-two-numbers-with-a-fixed-sum%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

                                                    Cabo Verde

                                                    Gyllenstierna

                                                    Karlovacs län