Factorial: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Dmitrii Kouznetsov
(add pic)
imported>Dmitrii Kouznetsov
m (style)
Line 3: Line 3:
In [[mathematics]], the '''factorial''' is the [[meromorphic function]] with fast grow along the real axis.
In [[mathematics]], the '''factorial''' is the [[meromorphic function]] with fast grow along the real axis.
Frequently, the [[postfix]] notation <math>n!</math> is used for the factorial of number <math>n</math>.  
Frequently, the [[postfix]] notation <math>n!</math> is used for the factorial of number <math>n</math>.  
For integer values of <math>n</math>, the factorial, denoted with <math>n!</math>, gives the number of ways in which ''n'' labelled objects (for example the numbers from 1 to ''n'') can be arranged in order.  These are the [[permutation]]s of the set of objects.  The function is denoted by ''n''!.
For integer values of <math>n</math>, the factorial, denoted with <math>n!</math>, gives the number of ways in which ''n'' labelled objects (for example the numbers from 1 to ''n'') can be arranged in order.  These are the [[permutation]]s of the set of objects.  In some [[programming language]]s, both n! and factorial(n) , or Factorial(n), are recognized as the factorial of the number <math>n</math>.


==Integer values of the argument==
==Integer values of the argument==

Revision as of 20:29, 18 January 2009

This article is developed but not approved.
Main Article
Discussion
Related Articles  [?]
Bibliography  [?]
External Links  [?]
Citable Version  [?]
Code [?]
 
This editable, developed Main Article is subject to a disclaimer.
in the complex -plane.

In mathematics, the factorial is the meromorphic function with fast grow along the real axis. Frequently, the postfix notation is used for the factorial of number . For integer values of , the factorial, denoted with , gives the number of ways in which n labelled objects (for example the numbers from 1 to n) can be arranged in order. These are the permutations of the set of objects. In some programming languages, both n! and factorial(n) , or Factorial(n), are recognized as the factorial of the number .

Integer values of the argument

The factorial can be defined by a recurrence relation. If n labelled objects have to be assigned to n places, then the n-th object can be placed in one of n places: the remaining n-1 objects then have to be placed in the remaining n-1 places, and this is the same problem for the smaller set. So we have

and it follows that

which we could derive directly by noting that the first element can be placed in n ways, the second in n-1 ways, and so on until the last element can be placed in only one remaining way.

Since zero objects can be arranged in just one way ("do nothing") it is conventional to put 0! = 1.

The factorial function is found in many combinatorial counting problems. For example, the binomial coefficients, which count the number of subsets size r drawn from a set of n objects, can be expressed as

The factorial function can be extended to arguments other than positive integers: this gives rise to the Gamma function.

Stirling's formula

For large n there is an approximation due to Scottish mathematician James Stirling

Inverse function

ArcFactorial in the complex plane.

Inverse function of factorial can be defined with equation

and condition that ArcFactorial is holomorphic in the comlex plane with cut along the part of the real axis, that begins at the minimum of factorial of the real argument and extends to . This function is shown with lines of constant real part and lines of constant imaginary part .

Levels are shown with thick black curves.
Levels are shown with thin blue curves.
Levels are shown with thick blue curves.
Level is shown with thick pink line.
Levels are shown with thick red curves.
The intermediate levels of constant are shown with thin dark green curves.

The ArcFactorial has the branch point ; the cut of the range of holomorphizm is shown with black dashed line.

The figure shows the mapping ot the complex plane with the factorial function. In particular, factorial maps the unity to unity; two is mapped to two, and 3 is mapped to 6.

References