- Iterated binary operation
In
mathematics , an iterated binary operation is an extension of abinary operation on a set "S" to a function on finitesequence s of elements of "S" through repeated application. Common examples include the extension of theaddition operation to thesummation operation, and the extension of themultiplication operation to the product operation. Other operations, e.g., the set theoretic operations union and intersection, are also often iterated, but the iterations are not given separate names. In print, summation and product are represented by special symbols; but other iterated operators often are denoted by larger variants of the symbol for the ordinary binary operator. Thus, the iterations of the four operations mentioned above are denoted::: and , respectively.
In general, there is more than one way to extend a binary operation to operate on finite seqences, depending on whether the operator is
associative , and whether the operator hasidentity element s.Denote by , with "j" >= 0 and "k" >= "j", the finite sequence of length of elements of "S", with members ("a"i), for . Note that if "k" = "j", the sequence is empty.
For "f" : "S" × "S", define a new function on finite nonempty sequences of elements of "S", where
:
Similarly, define
:
If "f" is associative, "F""l" = "F""r".
If "f" has a unique left identity "e", the definition of "F""l" can be modified to operate on empty sequences by defining the value of "F""l" on an empty sequence to be "e" (the previous base case on sequences of length 1 becomes redundant). Similarly, "F""r" can be modified to operate on empty sequences if "f" has a unique right identity.
If "S" also is equipped with a metric or more generally with any
topology , whence the concept of alimit of a sequence is defined in "S", then an "infinite iteration" on a countable sequence in "S" is defined exactly when the corresponding sequence of finite iterations converges to a unique limit. Thus, e.g., if "a_1", "a_2", "a_3",... is a countable sequence of real numbers, then theinfinite product is defined and equal to if and only if that limit exists.Non-associative binary operation
The general, non-associative binary operation is given by a magma. The act of iterating on a non-associative binary operation may be represented as a
binary tree .ee also
*
Fold (higher-order function)
*Infinite series
*Infinite product
*Continued fraction External links
* [http://www.short-fuze.co.uk/~eddy/math/associate.html#Bulk Bulk action]
* [http://wotug.ukc.ac.uk/parallel/acronyms/hpccgloss/P.html#parallel%20prefix Parallel prefix operation]
* [http://www.cs.cornell.edu/Info/People/sfa/Nuprl/iterated_binops/Xiter_via_intseg_remark_INTRO.html Nuprl iterated binary operations]
Wikimedia Foundation. 2010.