Iterated binary operation
In
- and , respectively.
More generally, iteration of a binary function is generally denoted by a slash: iteration of over the sequence is denoted by , following the notation for reduce in Bird–Meertens formalism.
In general, there is more than one way to extend a binary operation to operate on finite sequences, depending on whether the operator is
Definition
Denote by aj,k, with j ≥ 0 and k ≥ j, the finite sequence of length k − j of elements of S, with members (ai), for j ≤ i < k. Note that if k = j, the sequence is empty.
For f : S × S → S, define a new function Fl on finite nonempty sequences of elements of S, where
Similarly, define
If f has a unique left identity e, the definition of Fl can be modified to operate on empty sequences by defining the value of Fl on an empty sequence to be e (the previous base case on sequences of length 1 becomes redundant). Similarly, Fr can be modified to operate on empty sequences if f has a unique right identity.
If f is associative, then Fl equals Fr, and we can simply write F. Moreover, if an identity element e exists, then it is unique (see Monoid).
If f is
If S also is equipped with a
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.
Notation
Iterated binary operations are used to represent an operation that will be repeated over a set subject to some constraints. Typically the lower bound of a restriction is written under the symbol, and the upper bound over the symbol, though they may also be written as superscripts and subscripts in compact notation. Interpolation is performed over positive integers from the lower to upper bound, to produce the set which will be substituted into the index (below denoted as i ) for the repeated operations.
Common notations include the big Sigma (repeated sum) and big Pi (repeated product) notations.
It is possible to specify set membership or other logical constraints in place of explicit indices, in order to implicitly specify which elements of a set shall be used:
Multiple conditions may be written either joined with a
Less commonly, any
which is true
See also
References
- ISBN 0387900357.
- ^ Weisstein, Eric W. "Union". mathworld.wolfram.com. Wolfram Mathworld. Retrieved 30 January 2018.