Using induction to show associativity on $x_1+dots + x_n$
Clash 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.
induction
add a comment |Â
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.
induction
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
add a comment |Â
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.
induction
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
induction
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
add a comment |Â
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
add a comment |Â
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.
add a comment |Â
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.
add a comment |Â
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.
add a comment |Â
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.
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.
answered Sep 10 at 21:25
Toby Bartels
528412
528412
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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