Lably
Skip to content

Empty product

Result from multiplying no factors

  • 5 min read
  • 5 chapters

Related on Lably

Through Mathematics, Multiplication and Addition

The term empty product is most often used in the above sense when discussing arithmetic operations. However, the term is sometimes employed when discussing set-theoretic intersections, categorical products, and products in computer programming.

Nullary arithmetic product

Definition

Let a1, a2, a3, ... be a sequence of numbers, and let

Pm=∏i=1mai=a1⋯am

be the product of the first m elements of the sequence. Then

Pm=Pm−1am

for all m = 1, 2, ... provided that we use the convention P0=1. In other words, a "product" with no factors at all evaluates to 1. Allowing a "product" with zero factors reduces the number of cases to be considered in many mathematical formulas. Such a "product" is a natural starting point in induction proofs, as well as in algorithms. For these reasons, the "empty product is one" convention is common practice in mathematics and computer programming.

Relevance of defining empty products

The notion of an empty product is useful for the same reason that the number zero and the empty set are useful: while they seem to represent quite uninteresting notions, their existence allows for a much shorter mathematical presentation of many subjects.

For example, the empty products 0! = 1 (the factorial of zero) and x0 = 1 shorten Taylor series notation (see zero to the power of zero for a discussion of when x = 0). Likewise, if M is an n × n matrix, then M0 is the n × n identity matrix, reflecting the fact that applying a linear map zero times has the same effect as applying the identity map.

As another example, the fundamental theorem of arithmetic says that every positive integer can be written uniquely as a product of primes. However, if we do not allow products with only 0 or 1 factors, then the theorem (and its proof) become longer.

More examples of the use of the empty product in mathematics may be found in the binomial theorem (which assumes and implies that x0 = 1 for all x), Stirling number, König's theorem, binomial type, binomial series, difference operator and Pochhammer symbol.

Logarithms and exponentials

Since logarithms map products to sums:

ln⁡∏ixi=∑iln⁡xi

they map an empty product to an empty sum.

Conversely, the exponential function maps sums into products:

e∑ixi=∏iexi

and maps an empty sum to an empty product.

Sign in to keep reading

4 more chapters are free with a Lably account.

More in Basics