Factorial - Definition

Definition

The factorial function is formally defined by

or recursively defined by

 n! = \begin{cases}
1 & \text{if } n = 0, \\
(n-1)!\times n & \text{if } n > 0.
\end{cases}

Both of the above definitions incorporate the instance

in the first case by the convention that the product of no numbers at all is 1. This is convenient because:

  • There is exactly one permutation of zero objects (with nothing to permute, "everything" is left in place).
  • The recurrence relation (n + 1)! = n! × (n + 1), valid for n > 0, extends to n = 0.
  • It allows for the expression of many formulae, such as the exponential function, as a power series:
  • It makes many identities in combinatorics valid for all applicable sizes. The number of ways to choose 0 elements from the empty set is . More generally, the number of ways to choose (all) n elements among a set of n is .

The factorial function can also be defined for non-integer values using more advanced mathematics, detailed in the section below. This more generalized definition is used by advanced calculators and mathematical software such as Maple or Mathematica.

Read more about this topic:  Factorial

Famous quotes containing the word definition:

    Perhaps the best definition of progress would be the continuing efforts of men and women to narrow the gap between the convenience of the powers that be and the unwritten charter.
    Nadine Gordimer (b. 1923)

    The very definition of the real becomes: that of which it is possible to give an equivalent reproduction.... The real is not only what can be reproduced, but that which is always already reproduced. The hyperreal.
    Jean Baudrillard (b. 1929)

    It’s a rare parent who can see his or her child clearly and objectively. At a school board meeting I attended . . . the only definition of a gifted child on which everyone in the audience could agree was “mine.”
    Jane Adams (20th century)