Associativity: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Richard Pinch
(new entry, just a stub)
 
imported>Richard Pinch
(subpages)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{subpages}}
In [[algebra]], '''associativity''' is a property of [[binary operation]]s.  If <math>\star</math> is a binary operation then the associative property is the condition that
In [[algebra]], '''associativity''' is a property of [[binary operation]]s.  If <math>\star</math> is a binary operation then the associative property is the condition that


Line 6: Line 7:


Examples of associative operations are [[addition]] and [[multiplication]] of [[integer]]s, [[rational number]]s, [[real number|real]] and [[complex number]]s.  In this context associativity is often referred to as the ''associative law''.  [[Function composition]] is associative.
Examples of associative operations are [[addition]] and [[multiplication]] of [[integer]]s, [[rational number]]s, [[real number|real]] and [[complex number]]s.  In this context associativity is often referred to as the ''associative law''.  [[Function composition]] is associative.
An important example of an algebraic structure in which the multiplication is not associative is the [[octonion]]s.
==Related properties==
An operation is '''left alternative''' if
:<math> (x \star x) \star y = x \star (x \star y) \,</math>
for all ''x'' and ''y'': it is '''right alternative''' if
:<math> (y \star x) \star x = y \star (x \star x) . \,</math>
An operation is '''power-associative''' if
:<math> (x \star x) \star x = x \star (x \star x) \,</math>
for all ''x''.  In such cases the expression <math>x^n</math> is well-defined for all positive integers ''n''.
==Operator associativity==
When an operation is not associative a convention is required to disambiguate an expression such as
''x'' * ''y'' * ''z'', and this convention may be described as the associativity of the operator "*".  ''Left-to-right'' associativity means that the expression is to be interpreted as (''x'' * ''y'') * ''z'' (which is the normal [[arithmetic]]al convention for [[subtraction]] and [[division]]) and ''right-to-left'' associativity means ''x'' * (''y'' * ''z'') (which is the normal arithmetical convention for [[exponentiation]]).  Such conventions may be important in [[computer]] [[programming language]]s where a mathematically associative operator may have a non-associative numerical implementation.
==References==
* {{cite book | author=Richard D. Schafer | title=An introduction to Non-associative algebras | publisher=[[Dover Publications]] | year=1995 | isbn=0-486-68813-5 | pages=1-8 }}

Latest revision as of 14:56, 12 December 2008

This article is a stub and thus not approved.
Main Article
Discussion
Related Articles  [?]
Bibliography  [?]
External Links  [?]
Citable Version  [?]
 
This editable Main Article is under development and subject to a disclaimer.

In algebra, associativity is a property of binary operations. If is a binary operation then the associative property is the condition that

for all x, y and z.

Examples of associative operations are addition and multiplication of integers, rational numbers, real and complex numbers. In this context associativity is often referred to as the associative law. Function composition is associative.

An important example of an algebraic structure in which the multiplication is not associative is the octonions.

Related properties

An operation is left alternative if

for all x and y: it is right alternative if

An operation is power-associative if

for all x. In such cases the expression is well-defined for all positive integers n.

Operator associativity

When an operation is not associative a convention is required to disambiguate an expression such as x * y * z, and this convention may be described as the associativity of the operator "*". Left-to-right associativity means that the expression is to be interpreted as (x * y) * z (which is the normal arithmetical convention for subtraction and division) and right-to-left associativity means x * (y * z) (which is the normal arithmetical convention for exponentiation). Such conventions may be important in computer programming languages where a mathematically associative operator may have a non-associative numerical implementation.

References