Using induction to show associativity on $x_1+dots + x_n$

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











up vote
1
down vote

favorite












I want to use induction to show that the sum $x_1 + dots + x_n$ of real numbers is defined independently of parentheses to specify order of addition.



I know how to apply induction(base, assumption, k+1 applying inductive hypothesis). Here I am not sure what the base would be. I have two ideas:



1) First case is $(x_1 + x_2)+x_3+dots+x_n$ and work through to $x_1+x_2+dots+x_n-2 + (x_n-1 + x_n)$



2) Start with $(x_1+x_2)+x_3=x_1+(x_2+x_3)$ and work up in number of elements to the full case.



Both seem wrong, I have no idea what to actually do.



I imagine above is sufficient effort, although I have shown no working. Before you downvote, please tell me why you are planning it, and I will edit.










share|cite|improve this question























  • You cool with Peano's axioms?
    – Daniel W. Farlow
    Jan 29 '15 at 5:55










  • @qqqqq Peano's axioms are a definition of integers.
    – Alice Ryhl
    Jan 29 '15 at 5:56











  • @induktio Yeah from wiki it all seems familiar(except written full set theoretic). Equivalence relations, abelian group and ring construction, looks good
    – qqqqq
    Jan 29 '15 at 6:00















up vote
1
down vote

favorite












I want to use induction to show that the sum $x_1 + dots + x_n$ of real numbers is defined independently of parentheses to specify order of addition.



I know how to apply induction(base, assumption, k+1 applying inductive hypothesis). Here I am not sure what the base would be. I have two ideas:



1) First case is $(x_1 + x_2)+x_3+dots+x_n$ and work through to $x_1+x_2+dots+x_n-2 + (x_n-1 + x_n)$



2) Start with $(x_1+x_2)+x_3=x_1+(x_2+x_3)$ and work up in number of elements to the full case.



Both seem wrong, I have no idea what to actually do.



I imagine above is sufficient effort, although I have shown no working. Before you downvote, please tell me why you are planning it, and I will edit.










share|cite|improve this question























  • You cool with Peano's axioms?
    – Daniel W. Farlow
    Jan 29 '15 at 5:55










  • @qqqqq Peano's axioms are a definition of integers.
    – Alice Ryhl
    Jan 29 '15 at 5:56











  • @induktio Yeah from wiki it all seems familiar(except written full set theoretic). Equivalence relations, abelian group and ring construction, looks good
    – qqqqq
    Jan 29 '15 at 6:00













up vote
1
down vote

favorite









up vote
1
down vote

favorite











I want to use induction to show that the sum $x_1 + dots + x_n$ of real numbers is defined independently of parentheses to specify order of addition.



I know how to apply induction(base, assumption, k+1 applying inductive hypothesis). Here I am not sure what the base would be. I have two ideas:



1) First case is $(x_1 + x_2)+x_3+dots+x_n$ and work through to $x_1+x_2+dots+x_n-2 + (x_n-1 + x_n)$



2) Start with $(x_1+x_2)+x_3=x_1+(x_2+x_3)$ and work up in number of elements to the full case.



Both seem wrong, I have no idea what to actually do.



I imagine above is sufficient effort, although I have shown no working. Before you downvote, please tell me why you are planning it, and I will edit.










share|cite|improve this question















I want to use induction to show that the sum $x_1 + dots + x_n$ of real numbers is defined independently of parentheses to specify order of addition.



I know how to apply induction(base, assumption, k+1 applying inductive hypothesis). Here I am not sure what the base would be. I have two ideas:



1) First case is $(x_1 + x_2)+x_3+dots+x_n$ and work through to $x_1+x_2+dots+x_n-2 + (x_n-1 + x_n)$



2) Start with $(x_1+x_2)+x_3=x_1+(x_2+x_3)$ and work up in number of elements to the full case.



Both seem wrong, I have no idea what to actually do.



I imagine above is sufficient effort, although I have shown no working. Before you downvote, please tell me why you are planning it, and I will edit.







induction






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 29 '15 at 7:12









Asaf Karagila♦

295k32411738




295k32411738










asked Jan 29 '15 at 5:47









qqqqq

61




61











  • You cool with Peano's axioms?
    – Daniel W. Farlow
    Jan 29 '15 at 5:55










  • @qqqqq Peano's axioms are a definition of integers.
    – Alice Ryhl
    Jan 29 '15 at 5:56











  • @induktio Yeah from wiki it all seems familiar(except written full set theoretic). Equivalence relations, abelian group and ring construction, looks good
    – qqqqq
    Jan 29 '15 at 6:00

















  • You cool with Peano's axioms?
    – Daniel W. Farlow
    Jan 29 '15 at 5:55










  • @qqqqq Peano's axioms are a definition of integers.
    – Alice Ryhl
    Jan 29 '15 at 5:56











  • @induktio Yeah from wiki it all seems familiar(except written full set theoretic). Equivalence relations, abelian group and ring construction, looks good
    – qqqqq
    Jan 29 '15 at 6:00
















You cool with Peano's axioms?
– Daniel W. Farlow
Jan 29 '15 at 5:55




You cool with Peano's axioms?
– Daniel W. Farlow
Jan 29 '15 at 5:55












@qqqqq Peano's axioms are a definition of integers.
– Alice Ryhl
Jan 29 '15 at 5:56





@qqqqq Peano's axioms are a definition of integers.
– Alice Ryhl
Jan 29 '15 at 5:56













@induktio Yeah from wiki it all seems familiar(except written full set theoretic). Equivalence relations, abelian group and ring construction, looks good
– qqqqq
Jan 29 '15 at 6:00





@induktio Yeah from wiki it all seems familiar(except written full set theoretic). Equivalence relations, abelian group and ring construction, looks good
– qqqqq
Jan 29 '15 at 6:00











1 Answer
1






active

oldest

votes

















up vote
1
down vote













Your first idea is ambiguous, since the expressions aren't fully parenthesized. Note that for $4$ terms, there are $5$ possible parenthesizations: $((x_1+x_2)+x_3)+x_4$, $(x_1+(x_2+x_3))+x_4$, $(x_1+x_2)+(x_3+x_4)$, $x_1+((x_2+x_3)+x_4)$, and $x_1+(x_2+(x_3+x_4))$. (In general, the number of parenthesizations of an expression with $n$ terms is the Catalan number $C_n-1$.)



I wouldn't bother trying to go through all of the different parenthesizations in some order, but use your second idea instead. So the induction hypothesis is that every parenthesization of $k$ terms is equivalent to every other, and you want to prove the same for $k+1$ terms (for $kgeq3$). Actually, come to think of it, it will probably be easier to use strong induction: the induction hypothesis is that every parenthesization of $k$ terms is equivalent to every other whenever $k<n$, and prove the same for $n$ terms (for $n>3$). It may help to note that any given parenthesization has a position where the last operation (in the order that they are carried out) is applied.






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%2f1124591%2fusing-induction-to-show-associativity-on-x-1-dots-x-n%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
    1
    down vote













    Your first idea is ambiguous, since the expressions aren't fully parenthesized. Note that for $4$ terms, there are $5$ possible parenthesizations: $((x_1+x_2)+x_3)+x_4$, $(x_1+(x_2+x_3))+x_4$, $(x_1+x_2)+(x_3+x_4)$, $x_1+((x_2+x_3)+x_4)$, and $x_1+(x_2+(x_3+x_4))$. (In general, the number of parenthesizations of an expression with $n$ terms is the Catalan number $C_n-1$.)



    I wouldn't bother trying to go through all of the different parenthesizations in some order, but use your second idea instead. So the induction hypothesis is that every parenthesization of $k$ terms is equivalent to every other, and you want to prove the same for $k+1$ terms (for $kgeq3$). Actually, come to think of it, it will probably be easier to use strong induction: the induction hypothesis is that every parenthesization of $k$ terms is equivalent to every other whenever $k<n$, and prove the same for $n$ terms (for $n>3$). It may help to note that any given parenthesization has a position where the last operation (in the order that they are carried out) is applied.






    share|cite|improve this answer
























      up vote
      1
      down vote













      Your first idea is ambiguous, since the expressions aren't fully parenthesized. Note that for $4$ terms, there are $5$ possible parenthesizations: $((x_1+x_2)+x_3)+x_4$, $(x_1+(x_2+x_3))+x_4$, $(x_1+x_2)+(x_3+x_4)$, $x_1+((x_2+x_3)+x_4)$, and $x_1+(x_2+(x_3+x_4))$. (In general, the number of parenthesizations of an expression with $n$ terms is the Catalan number $C_n-1$.)



      I wouldn't bother trying to go through all of the different parenthesizations in some order, but use your second idea instead. So the induction hypothesis is that every parenthesization of $k$ terms is equivalent to every other, and you want to prove the same for $k+1$ terms (for $kgeq3$). Actually, come to think of it, it will probably be easier to use strong induction: the induction hypothesis is that every parenthesization of $k$ terms is equivalent to every other whenever $k<n$, and prove the same for $n$ terms (for $n>3$). It may help to note that any given parenthesization has a position where the last operation (in the order that they are carried out) is applied.






      share|cite|improve this answer






















        up vote
        1
        down vote










        up vote
        1
        down vote









        Your first idea is ambiguous, since the expressions aren't fully parenthesized. Note that for $4$ terms, there are $5$ possible parenthesizations: $((x_1+x_2)+x_3)+x_4$, $(x_1+(x_2+x_3))+x_4$, $(x_1+x_2)+(x_3+x_4)$, $x_1+((x_2+x_3)+x_4)$, and $x_1+(x_2+(x_3+x_4))$. (In general, the number of parenthesizations of an expression with $n$ terms is the Catalan number $C_n-1$.)



        I wouldn't bother trying to go through all of the different parenthesizations in some order, but use your second idea instead. So the induction hypothesis is that every parenthesization of $k$ terms is equivalent to every other, and you want to prove the same for $k+1$ terms (for $kgeq3$). Actually, come to think of it, it will probably be easier to use strong induction: the induction hypothesis is that every parenthesization of $k$ terms is equivalent to every other whenever $k<n$, and prove the same for $n$ terms (for $n>3$). It may help to note that any given parenthesization has a position where the last operation (in the order that they are carried out) is applied.






        share|cite|improve this answer












        Your first idea is ambiguous, since the expressions aren't fully parenthesized. Note that for $4$ terms, there are $5$ possible parenthesizations: $((x_1+x_2)+x_3)+x_4$, $(x_1+(x_2+x_3))+x_4$, $(x_1+x_2)+(x_3+x_4)$, $x_1+((x_2+x_3)+x_4)$, and $x_1+(x_2+(x_3+x_4))$. (In general, the number of parenthesizations of an expression with $n$ terms is the Catalan number $C_n-1$.)



        I wouldn't bother trying to go through all of the different parenthesizations in some order, but use your second idea instead. So the induction hypothesis is that every parenthesization of $k$ terms is equivalent to every other, and you want to prove the same for $k+1$ terms (for $kgeq3$). Actually, come to think of it, it will probably be easier to use strong induction: the induction hypothesis is that every parenthesization of $k$ terms is equivalent to every other whenever $k<n$, and prove the same for $n$ terms (for $n>3$). It may help to note that any given parenthesization has a position where the last operation (in the order that they are carried out) is applied.







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Sep 10 at 21:25









        Toby Bartels

        528412




        528412



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f1124591%2fusing-induction-to-show-associativity-on-x-1-dots-x-n%23new-answer', 'question_page');

            );

            Post as a guest













































































            這個網誌中的熱門文章

            How to combine Bézier curves to a surface?

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

            Carbon dioxide