TheoremBase

Sums and Products over a Finite Set and over an Interval

For an associative and commutative operation, the iterated operation of a map over a nonempty finite set is taken along any enumeration of the set, over the empty set it is the neutral element, and over an interval {m,...,n} it gives the sums and products from k=m to n.

Statement

In the setting of The Natural Numbers and the Natural Numbers with Zero: Arithmetic, Order, Induction and Recursion, let ∗\ast be an associative and commutative binary operation on a set XX, let AA be a finite set, and let f:A→Xf:A\to X. Let #\# be as in The Number of Elements of a Finite Set §cardinality, intervals and [n][n] as in Intervals of Natural Numbers §interval and Intervals of Natural Numbers §segment, and iterated operations along [n][n] as in Iterated Operations: Finite Sums and Finite Products §iterated.

If A≠∅A\neq\emptyset, then

∗x∈Af(x)=∗k=1#Af(φ(k))\mathop{\ast}\limits_{x\in A}f(x)=\mathop{\ast}\limits_{k=1}^{\#A}f(\varphi(k))

for any bijection φ\varphi from [#A][\#A] onto AA; here #A∈N\#A\in\mathbb{N} by The Iterated Operation over a Finite Set Does Not Depend on the Enumeration §nonempty, such a bijection exists by The Number of Elements of a Finite Set §cardinality, and the value does not depend on it by The Iterated Operation over a Finite Set Does Not Depend on the Enumeration §independent.

If A=∅A=\emptyset and ∗\ast has a neutral element ee, which is unique by A Binary Operation Has at Most One Neutral Element §unique, then ∗x∈Af(x)=e\mathop{\ast}\limits_{x\in A}f(x)=e.

Let A≠∅A\neq\emptyset or let ∗\ast have a neutral element. For a map ff from a set containing AA to XX, ∗x∈Af(x)\mathop{\ast}\limits_{x\in A}f(x) denotes the iterated operation of f∣Af|_{A}. For a property PP, ∗x∈A, P(x)f(x)\mathop{\ast}\limits_{x\in A,\,P(x)}f(x) denotes that over {x∈A:P(x)}\{x\in A:P(x)\}, which is finite by Finite Sets: the Pigeonhole Principle, Uniqueness of the Length, Subsets, Unions, Products, Images, Bounded Sets of Natural Numbers, Extreme Elements, Sets of Maps, Finite Unions and Finite Choice §subset, provided this set is nonempty or ∗\ast has a neutral element. For finite sets AA and BB and f:A×B→Xf:A\times B\to X, the iterated operation over A×BA\times B, which is finite by Finite Sets: the Pigeonhole Principle, Uniqueness of the Length, Subsets, Unions, Products, Images, Bounded Sets of Natural Numbers, Extreme Elements, Sets of Maps, Finite Unions and Finite Choice §union, is also written ∗(x,y)∈A×Bf(x,y)\mathop{\ast}\limits_{(x,y)\in A\times B}f(x,y).

For m,n∈N0m,n\in\mathbb{N}_{0} and a map aa from a set containing {m,…,n}\{m,\dots,n\} to XX, ∗k=mnak=∗k∈{m,…,n}ak\mathop{\ast}\limits_{k=m}^{n}a_{k}=\mathop{\ast}\limits_{k\in\{m,\dots,n\}}a_{k}, the interval being finite by Finite Sets: the Pigeonhole Principle, Uniqueness of the Length, Subsets, Unions, Products, Images, Bounded Sets of Natural Numbers, Extreme Elements, Sets of Maps, Finite Unions and Finite Choice §naturals, provided m≤nm\le n or ∗\ast has a neutral element. For m=1≤nm=1\le n this agrees with Iterated Operations: Finite Sums and Finite Products §iterated, by taking φ=id[n]\varphi=\mathrm{id}_{[n]}, as #[n]=n\#[n]=n by Counting: Intervals, Empty Sets and Singletons, Injective Images, Subsets, Unions and Products §intervals.

If ∗\ast is written ++, these are written ∑x∈Af(x)\sum_{x\in A}f(x), ∑x∈A, P(x)f(x)\sum_{x\in A,\,P(x)}f(x) and ∑k=mnak\sum_{k=m}^{n}a_{k} and called sums; if ∗\ast is written ⋅\cdot, they are written with ∏\prod and called products.

Citations

Loading…

Dependencies

Loading…

Related

0 relations

Curated associations between results. These are editable and subjective — they do not replace the dependency graph, which is derived from the references in the text.

No relations recorded yet.

Comments

Log in to comment.

Loading…