Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Associative property
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Generalized associative law== [[Image:Tamari lattice.svg|thumb|In the absence of the associative property, five factors {{mvar|a}}, {{mvar|b}},{{mvar|c}}, {{mvar|d}}, {{mvar|e}} result in a [[Tamari lattice]] of order four, possibly different products.]] If a binary operation is associative, repeated application of the operation produces the same result regardless of how valid pairs of parentheses are inserted in the expression.<ref>{{cite book |last=Durbin |first=John R. |title=Modern Algebra: an Introduction |year=1992 |publisher=Wiley |location=New York |isbn=978-0-471-51001-7 |page=78 |url=http://www.wiley.com/WileyCDA/WileyTitle/productCd-EHEP000258.html |edition=3rd |quote=If <math>a_1, a_2, \dots, a_n \,\, (n \ge 2)</math> are elements of a set with an associative operation, then the product <math>a_1 a_2 \cdots a_n</math> is unambiguous; this is, the same element will be obtained regardless of how parentheses are inserted in the product.}}</ref> This is called the '''generalized associative law'''. The number of possible bracketings is just the [[Catalan number]], <math>C_n</math> , for ''n'' operations on ''n+1'' values. For instance, a product of 3 operations on 4 elements may be written (ignoring permutations of the arguments), in <math>C_3 = 5</math> possible ways: *<math>((ab)c)d</math> *<math>(a(bc))d</math> *<math>a((bc)d)</math> *<math>(a(b(cd))</math> *<math>(ab)(cd)</math> If the product operation is associative, the generalized associative law says that all these expressions will yield the same result. So unless the expression with omitted parentheses already has a different meaning (see below), the parentheses can be considered unnecessary and "the" product can be written unambiguously as :<math>abcd</math> As the number of elements increases, the [[Catalan number#Applications in combinatorics|number of possible ways to insert parentheses]] grows quickly, but they remain unnecessary for disambiguation. An example where this does not work is the [[logical biconditional]] {{math|β}}. It is associative; thus, {{math|{{var|A}} β ({{var|B}} β {{var|C}})}} is equivalent to {{math|({{var|A}} β {{var|B}}) β {{var|C}}}}, but {{math|{{var|A}} β {{var|B}} β {{var|C}}}} most commonly means {{math|({{var|A}} β {{var|B}}) and ({{var|B}} β {{var|C}})}}, which is not equivalent.
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Associative property
(section)
Add topic