Associative implies generalized associative: Difference between revisions
No edit summary |
(→Proof) |
||
| Line 27: | Line 27: | ||
<math>A * B</math> | <math>A * B</math> | ||
where <math>A = a_1 * \dots * a_m</math> and <math>B = a_{m+1} * \dots * a_n</math>, both parenthesized in some unknown way, with <math>0 < m < n</math>. Applying the induction assumption, <math>A</math> equals the ''left-associated'' expression for <math>a_1 * a_2 * \dots * a_m</math> and <math>B</math> equals the left-associated expression for <math>a_{m+1} * a_{m+2} * \dots * a_n</math>. | where <math>A = a_1 * \dots * a_m</math> and <math>B = a_{m+1} * \dots * a_n</math>, both parenthesized in some unknown way, with <math>0 < m < n</math>. Applying the induction assumption, <math>A</math> equals the ''left-associated'' expression for <math>a_1 * a_2 * \dots * a_m</math> and <math>B</math> equals the left-associated expression for <math>a_{m+1} * a_{m+2} * \dots * a_n</math>. | ||
Now, in the case that <math>B</math> is a single letter (i.e., <math>m = n - 1</math>), we are already done: <math>A * B</math> equals the left-associated expression. If not, we can write <math>A * B</math> as: | |||
<math>A * (C * a_n)</math> | <math>A * (C * a_n)</math> | ||
Latest revision as of 14:56, 22 June 2017
Statement
Let be a set and be a binary operation on . Suppose that is an associative binary operation; in other words:
Then, for any positive integer , every possible parenthesization of the expression:
is equivalent.
Proof
The technique of proof here is a strong form of induction: we assume the result is true for every , and we prove it for . Note that the cases are tautological. For the case , there are precisely two possible parenthesizations, and associativity tells us that they are both equal.
Thus, assume , and that the result holds for all . We will show that any way of parenthesization of:
is equal to the left-associated expression:
Let's prove this. For any method of parenthesization, there is an outermost multiplication, and in terms of this outermost multiplication, we can view the parenthesization as:
where and , both parenthesized in some unknown way, with . Applying the induction assumption, equals the left-associated expression for and equals the left-associated expression for .
Now, in the case that is a single letter (i.e., ), we are already done: equals the left-associated expression. If not, we can write as:
where is the left-associated expression for . Applying associativity, we get that the original expression equals:
which is precisely the left-associated expression for .
References
- Abstract Algebra by David S. Dummit and Richard M. Foote, 10-digit ISBN 0471433349, 13-digit ISBN 978-0471433347, More info, Page 18-19, Section 1.1, Proposition 1 (statement on page 18, proof on page 19)