Skip to main content

Factorials of real negative and imaginary numbers - A new perspective

Abstract

Presently, factorials of real negative numbers and imaginary numbers, except for zero and negative integers are interpolated using the Euler’s gamma function. In the present paper, the concept of factorials has been generalised as applicable to real and imaginary numbers, and multifactorials. New functions based on Euler’s factorial function have been proposed for the factorials of real negative and imaginary numbers. As per the present concept, the factorials of real negative numbers, are complex numbers. The factorials of real negative integers have their imaginary part equal to zero, thus are real numbers. Similarly, the factorials of imaginary numbers are complex numbers. The moduli of the complex factorials of real negative numbers, and imaginary numbers are equal to their respective real positive number factorials. Fractional factorials and multifactorials have been defined in a new perspective. The proposed concept has also been extended to Euler’s gamma function for real negative numbers and imaginary numbers, and beta function.

Background

The factorial of a positive integer, n, is defined as,

n ! = 1 . 2 . 3 .... n - 1 n = Π k = 1 n k , 0 ! = 1

The factorials of positive integers follow the recurrence relation,

n!=n n - 1 !,n1

The factorials of negative integers cannot be computed, since for n = 0, the recurrence relation,

n - 1 != n ! n ,

involves a division by zero. Research on the interpolation of factorials started with correspondence among Leonhard Euler, Daniel Bernoulli and Christian Goldbach in the year 1729 (Refer to the correspondence reproduced by Dartmouth College 2014; and Luschny 2014a). Bernoulli in the year 1729 gave an interpolating function of factorials as an infinite product (Gronau 2003). Euler in the year 1730 proved that the integral,

x!=Π x = 0 1 - ln t x d t = 0 t x e - t dt,x>-1,
(1)

gives the factorial of x for all real positive numbers (Srinivasan 2007). Euler’s factorial function, also known as the Pi function, Π(x), follows the recurrence relation for all positive real numbers.

Π x + 1 = x + 1 Π x ,x0

In 1768, Euler defined the gamma function, Γ(z), and extended the concept of factorials to all real negative numbers, except zero and negative integers. Γ(z), is an extension of the Pi function, with its argument shifted down by 1. Also known as the Euler’s integral of the second kind (Gautschi 2008), it is a convergent improper integral defined as follows:

Γ z = 0 t z - 1 e - t dt
(2)

The Euler’s gamma function is related to the Pi function as follows:

Π x =Γ x + 1 =x!

The notation ‘!’ for the factorial function was introduced by C. Kramp in the year 1808 (Wolfram Research 2014a,[b]). Legendre in 1808 gave the notation ‘Γ’ to the Euler’s gamma function (Gronau 2003). Gauss introduced the notation

Π s =Γ s + 1 ,

which was subsequently abandoned and replaced with Legendre’s notation (Weistein 2014b). C.F. Gauss made important contributions to derive several important properties of the gamma function (Srinivasan 2007). Anglani and Barlie (2007) gave the additive representation of factorials. The gamma function is extended to all complex numbers, with a real part >0, except for at zero and negative integers. Figure 1 gives the curve for gamma function (Eqn. 2). At negative integers, the gamma function has simple poles, making it a meromorphic function (Figure 1).

Figure 1
figure 1

A plot of Euler’s gamma function.

It may be seen that the gamma function defined for x > -1 has been used to interpolate the factorials on the real negative axis. Similarly, the factorials of complex numbers are calculated from the gamma function (Wolfram 2014b), such as,

i ! = Γ 1 + i = i Γ i 0 . 498 - 0 . 155 i , - i ! = Γ 1 - i = - i Γ - i 0 . 498 + 0 . 155 i , - 1 + i ! = Γ i - 1549 - 0 . 498 i ,

and

Γ i x = π x sinh π x ,

where x is a real number. Among the other well defined functions for the factorials of real negative numbers are, Hadamard’s gamma function (Davis 1959) and Luschny’s factorial function (Luschny 2014b), both of which are continuous and positive at all real numbers. Roman (1992) defined the factorials of negative integers as under:

n ! = n ! for n 0 n ! = - 1 - n - 1 - n - 1 ! for n < 0

where Roman n is defined as n, for n ≠ 0, and 1 for n =0. Roman factorials of first few negative integers (Loeb 1995) are given in Table 1.

Table 1 Roman factorials

The other notable contributors to the field of factorials are J. Stirling, F.W. Newman, B. Riemann, H. Hankel, O. Holder, H. Bohr and J. Mollerup, and others (Wolfram Research 2014b). Dutka (1991) gave an account of the early history of the factorial function. Bhargava (2000) gave an expository account of the factorials, gave several new results and posed certain problems on factorials. Ibrahim (2013) defined the factorial of negative integer n as the product of first n negative integers. There are some other factorial like products and functions, such as, primordial, double factorial, multifactorials, superfactorial, hyperfactorials etc. (Wikipedia 2014a,[b]; Weistein 2014a).

It is seen that till now the definition of the factorials of real negative numbers is sought from the extrapolation of gamma and other functions. In the present paper, the Eularian concept of factorials has been revisited, and new functions based on Euler’s factorial function (Eqn. 1) have been defined for the factorials of real negative numbers and imaginary numbers.

1. Factorials of real negative numbers

Let an be a sequence of positive integers, an=1,2,3,…,n. Therefore,

n! = 1.2.3…n.

Multiplying each integer on the right hand side of an with a constant, c ≠ 0, termed here as factorial constant, we get

c n n!=c c 2 c 3 c n .
(3)

Putting c = -1 gives,

- 1 n n!= - 1 - 2 - 3 - n .
(4)

The expression (-1)nn ! on the left hand side of Eqn. (4), gives the product of first n consecutive negative integers and may be termed as the factorials of negative integers (Table 2). For convenience Eqn. (4) may be presented as (-n)!.

Table 2 Factorials of some integers as per present concept

In the present communication, a new function obtained from the Euler’s factorial function (Eqn. 1) has been proposed to interpolate the factorials of real negative numbers as given below:

c z != c z z!=Π c , z = c z 0 t z e - t d t ,z>0,
(5)

where z is a real positive number, and c is a factorial constant not equal to zero, and Π(c,z) is modified Euler’s factorial function. For c =1, the factorial for real positive numbers is defined as per Euler’s factorial function (Eqn. 1). For c = -1, factorials of real negative numbers as described by Eqn. (5) can be interpolated as follows:

- z != - 1 z z!=Π - 1 , z = - 1 z 0 t z e - t d t ,z>0,

Or,

Π - 1 , z = 0 - t z e - t d t ,z>0,
(6)

where Π(-1,z) is the factorial of the negative real number (-z) as per the present concept. For the real negative axis, Eqn. (6) may be written as

Π - 1 , z = - 0 t z e t d t ,z>0.
(7)

Analogous to factorials of real positive numbers, the factorials of real negative numbers, Π(-1,z) may be given by the notation(-z)!. Figure 2 gives the curves for the integral functions of factorials of real negative integers, (-1), (-2), (-3), on the real negative axis. The area between a curve and the X-axis gives the factorial of that number.

Figure 2
figure 2

Curves for the integral functions of factorials of some negative integers on the real negative axis.

The factorials of some real negative numbers as given by Eq. (6) are given in Table 3. The factorial of a real negative number is a complex number, represented as

Π - 1 , z = - z !=x+iy,

where x is the real part and y is imaginary. The factorial of 0 is 1. At real negative integers the imaginary part is zero and the real part has alternating – and + signs, with the factorial of (-1) being (-1). The most important property that justifies the present concept is that the moduli of the complex factorials of real negative numbers are equal to the factorials of real positive numbers.

It is also seen from Table 3, that for real negative numbers, at half fractions the real part is zero, at ¼ fractions, the real and imaginary parts are equal, and at ¾ fractions the real and imaginary parts are equal in magnitude but opposite in +/- sign.

Table 3 Complex factorials of some real negative numbers

Factorials of real negative numbers as proposed above follow recurrence relations:

Π - 1 , z + 1 =- z + 1 Π - 1 , z .

1.1 Factorials of half fractions of real negative numbers

Let Z = n + 0.5, n ≥ 0, then

Π - 1 , z = - 1 z Π z = - 1 0 . 5 - 1 n Π z = i - 1 n Π z

Thus, the real part of the complex factorials of negative real numbers will be zero at negative half integers. At z = -0.5

Π - 1 , 0.5 = π 2 i.

The factorials of -0.25 and -0.75 will be

Π - 1 , 0.25 = - 1 0 . 25 Π 0 . 25 0 . 640 + 0 . 640 i Π - 1 , 0.75 = - 1 0 . 75 Π 0 . 75 - 0 . 640 + 0 . 640 i .

Figure 3 shows the Euler’s factorials Π(z) of real positive numbers (Eqn. 1) and factorials of real negative numbers as per proposed Π(-1,z) function (Eqn. 6). Figure 4 gives the polar line graph between real and imaginary parts of complex factorials of negative real numbers, and Figure 5 describes the ratio of imaginary to real parts of complex factorials of real negative numbers. The polar graph of real X-axis vs. imaginary Y-axis for Π(-1,z) function, and tan θ, (tan y x ) are shown in Figure 5.

Figure 3
figure 3

Factorials of real numbers using Euler’s PI function (right) and the present (-1, z ) function (left).

Figure 4
figure 4

Polar line graph between real (X-axis) and imaginary (Y-axis) parts of factorials of negative real numbers using (-1, z ) .

Figure 5
figure 5

Ratio of imaginary to real part of factorials of negative numbers (Y-axis) using (-1, z ) function.

1.2 Exponential function

Exponential function can be represented in terms of factorials (Oldham et al. 2009):

Exp 1 = 1 0 ! + 1 1 ! + 1 2 ! + 1 3 ! + = n = 0 1 n !

Substituting the positive factorials with negative factorials we get,

n = 0 1 - n ! = 1 0 ! + 1 - 1 ! + 1 - 2 ! + 1 - 3 ! + = 1 - 1 0 0 ! + 1 - 1 1 1 ! + 1 - 1 2 2 ! + 1 - 1 3 3 ! + = 1 0 ! - 1 1 ! + 1 2 ! - 1 3 ! + = Exp - 1

2. Factorials of imaginary numbers

Similar to the factorials of real positive and real negative integers as defined in Eqn. (3), we may define the factorials of imaginary positive integers as

i n n!=i i 2 i 3 in
(8)

For convenience (i)nn ! may be written as (in)! In the integral form, Eqn. (8) may be written as,

i z ! = i z z ! = Π i , z = i z 0 t z e - t d t , z > 0 Π i , z = 0 it z e - t d t , z > 0
(9)

Similarly, factorials of imaginary negative integers may be defined as

- i n n!= - in != - i - i 2 - i 3 - in
(10)

The integral form of Eqn. (10) may be defined as

- i z ! = - i z z ! = Π - i , z = - i z 0 t z e - t d t , z > 0 , Π - i , z = 0 - it z e - t d t , z > 0
(11)

Complex factorials of imaginary numbers will be related to the factorials of the respective real numbers as follows:

Π i , z = i z Π z
(12)
Π - i , z = - i z Π z
(13)

Complex factorials of some imaginary numbers as calculated from Eqn. (12, 13) are given in Table 4, and Figures 6, 7 and 8. The modulus of the complex factorial of an imaginary number (iz) or (-iz) is equal to the factorial of the respective real number (z).

Table 4 Complex factorials of some imaginary numbers
Figure 6
figure 6

Graph of complex factorials of imaginary numbers.

Figure 7
figure 7

Polar line graph between real (X-axis) and imaginary (Y-axis) parts of complex factorials of imaginary numbers.

Figure 8
figure 8

Ratio of imaginary to real parts of complex factorials of imaginary numbers (Y-axis) as per the present concept.

The factorial of an imaginary number (iz)! or (-iz)! may be represented as a product of the coefficient (iz) or (-i)z and z! (Eq. 12, 13). The coefficients of factorials of imaginary integers follow a periodicity of four (Table 5).

Table 5 Periodicity of factorials of imaginary numbers

Factorials of imaginary numbers follow recurrence relations:

Π i , z + 1 = i z + 1 Π i , z Π - i , z + 1 = - i z + 1 Π - i , z

2.1 Factorials of half fractions of imaginary numbers

Let z = n + 0.5, n ≥ 0, then

Π i , z = i z Π z = i 0 . 5 i n Π z , = i + 1 2 i n Π z 0 . 7170 + 0 . 7170 i i n Π z

Similarly, for imaginary negative numbers,

Π - i , z = - i z Π z = - i 0 . 5 - i n Π z = i - 1 2 - i n Π z 0 . 7071 - 0 . 7071 i - i n Π z

Factorials of 0.5i and -0.5i are given as

Π 0 . 5 i , 1 = 1 - i 2 π 2 0 . 7071 + 0 . 7071 i π 2 Π - 0 . 5 i , 1 = 1 - i 2 π 2 0 . 7071 - 0 . 7071 i π 2

3. Multifactorials and fractional factorials

Let c n be a sequence defined by Eqn. (3).

c n = c * 1 , c * 2 , c * 3 ,, c * n ,

where c ≠ 0 is a constant multiplier of the terms of the sequence, called here as the factorial constant, and * represents multiplication. The product of the terms of the sequence may be called factorial of the sequence and represented as Π(c,n). It is given as,

Π c , n = c n n!=c c 2 c 3 c n

If c is a fraction, the product may be called fractional factorial. For example, if c =0.5,

Π 0 . 5 , n = 0 . 5 n n ! = 0 . 5 * 1 0 . 5 * 2 0 . 5 * 3 0 . 5 * n = 0 . 5 1 1 . 5 0 . 5 * n

If c is an integer >1, e.g., 2, 3 etc., we get multifactorials.

Π 2 , n = 2 n n!= 2 * 1 2 * 2 2 * 3 2 n = 2 n !!

For example, if c =2, and n =4, we get the double factorial of c*n =8,

Π 2 , 4 = 2 4 4 ! = 2 * 1 2 * 2 2 * 3 2 * 4 , = 384 = 8 ! !

Fractional factorials and multifactorials can be interpolated using Eqn. (5), where c ≠ 0 is a fraction of a real or imaginary number.

c z z!=Π c , z = c z 0 t z e - t d t ,z>0

The value of fractional factorials and multifactorials at zero is 1. Fractional factorials and multifactorials of some real and imaginary numbers are given in Table 6.

Table 6 Fractional factorials and multifactorials

The modulus of the fractional factorials and multifactorials of real and imaginary numbers as proposed above follow recurrence relations:

Π c , z + 1 =c z + 1 Π c , z ,c0

4. Gamma function

As per the present concept, the Euler’s gamma function (Eq. 2) may be modified as,

Γ c , z = c z - 1 0 t z - 1 e - t dt , z > 0 , c 0 = 0 c t z - 1 e - t d t , z > 0 , c 0

For real negative numbers the gamma will be,

Γ - 1 , z = - 1 z - 1 0 t z - 1 e - t d t , z > 0 = 0 - t z - 1 e - t d t , z > 0
(14)

For the negative Z-axis, gamma will be given as,

Γ - 1 , z = - 0 t z - 1 e t d t , z > 0

The recurrence relation of negative gamma is:

Γ - 1 , z + 1 = - z Γ - 1 , z ,z>0

Negative gamma will be related to negative factorial function as follows:

Γ - 1 , z + 1 =Π - 1 , z ,z>0

Gamma values of real negative numbers are given in Table 7. Figure 9 represents the gamma of factorials of real negative numbers as per the present concept (Eqn. 14).

Table 7 Complex gamma of real negative and imaginary numbers
Figure 9
figure 9

A plot of the gamma function for real numbers as per the proposed concept.

Similar to the gamma of real negative numbers (Eqn. 14), gamma of imaginary positive numbers will be

Γ i , z = i z - 1 0 t z - 1 e - t d t , z > 0 , = 0 it z - 1 e - t d t , z > 0 .
(15)

For imaginary negative numbers, gamma will be

Γ - i , z = - i z - 1 0 t z - 1 e - t d t , z > 0 , = 0 - it z - 1 e - t d t , z > 0 = 0 it z - 1 e t d t , z > 0
(16)

Figures 10 and 11 represent the gamma for imaginary numbers.

Figure 10
figure 10

A plot of the gamma function for imaginary numbers as per the proposed concept.

Figure 11
figure 11

Polar graph for real (X-axis) vs . imaginary (Y-axis) components of gamma of imaginary numbers as per the present hypothesis.

5. Beta function

The present concept of negative factorials can also be extended to beta function, also known as Euler’s factorial of first kind. Beta may be defined as (Culham 2014; Weistein 2014c; Wikipedia 2014c):

Β x , y = 0 t x - 1 1 - t y - 1 d t , x > 0 , y > 0 = Γ x Γ y Γ x + y , x > 0 , y > 0 = x - 1 ! y - 1 ! x + y - 1 ! , x 1 , y 1 .

The gamma of negative numbers as per the present concept will be,

Γ - 1 , x = - 1 x - 1 ` Γ 1 , x ; x > 0 Γ - 1 , y = - 1 y - 1 Γ 1 , y ; y > 0 Γ - 1 , x + y = - 1 x + y - 1 Γ 1 , x + y ; x , y > 0 .

Therefore, the beta function of negative numbers, as per the present concept may therefore be defined as

Β - x , - y = - 1 x - 1 Γ 1 , x - 1 y - 1 Γ 1 , y - 1 x + y - 1 Γ 1 , x + y , x > 0 , y > 0 , = - 1 - 1 Β x , y = - Β x , y ; x , y > 0 .

The graph of beta function is given in Figure 12.

Figure 12
figure 12

Graph for B( x ,0.5) and B(- x ,-0.5) as per the present concept.

It is seen from the historical account that the Euler’s contributions to logarithms and gamma function have revolutionized developments in science and technology (Lefort 2002; Lexa 2013). Factorial function was first defined for the positive real axis. Later its argument was shifted down by 1, and the factorial function was extended to negative real axis and imaginary numbers. Recently, the author (Thukral and Parkash 2014; Thukral 2014) gave a new concept on the logarithms of real negative and imaginary numbers. Earlier the logarithms of real negative numbers were defined on the basis of hyperbola defined for the first quadrant and extended to the negative real axis, but the author defined the logarithms for the real negative axis on the basis of hyperbola located in the third quadrant. Similarly, the author in this paper has defined the factorial function for the real negative axis. The factorials of real and imaginary numbers thus defined show uniformity in magnitude and satisfy the basic factorial equation (c)nn ! = c(c 2)(c 3) … (cn). Another lacuna in the existing Eularian concept of factorials is that although the factorials of negative integers are not defined, the double factorial of any negative odd integer may be defined, e.g., (-1)!! =1, (-3)!! = -1, (-5)!! =1/3 etc. (Wikipedia 2014b). Another strange behaviour of double factorials is that as an empty product, 0!! =1 but for non-negative even integer values, 0!!= 2 π 0.7978. The present concept will remove anomalies in factorials and double factorials. The present concept generalizes factorials as applicable to real and imaginary numbers, and fractional and mutifactorials.

Conclusions

The present paper examines the Eularian concept of factorials from basic principles and gives a new concept, based on the Eularian concept for factorials of real negative and imaginary numbers. The factorials of positive and negative integers, and positive and negative imaginary number integers (z), may be defined as Π(c, z) = czz ! = c(c 2)(c 3) … (cn), where c is a constant (+1, -1, +i or –i), and z >0. The factorials can be interpolated using the Euler’s modified integral equation, Π c , z = c z z!= c z 0 t z e - t dt ,z>0 for real and imaginary numbers. The factorials for real negative numbers may be defined by the integral equation, Π - 1 , z = - 1 z z!= - 0 t z e t dt ,z>0. The factorials of negative real numbers are complex numbers. At negative integers the imaginary part of complex factorials is zero, and the factorials for -1, -2, -3, -4 are -1, 2, -6, 24 respectively. Similarly, the factorials of imaginary numbers are complex numbers. The moduli of negative real number factorials and imaginary number factorials are equal to the factorials of respective real positive numbers. The present paper also provides a general definition of fractional factorials and multifactorials. The factorials follow recurrence relations. Similarly, the Euler’s gamma function has been redefined for negative real and imaginary numbers in a new perspective. Beta function on the real negative axis has also been redefined in the context of new concept. The present concept on factorials will be an improvement in the Euler’s factorial and gamma functions.

Software used

Following softwares were used in this paper:

  1. 1.

    Wolfram Alpha Examples: Complex Numbers (http://www.wolframalpha.com/examples/ComplexNumbers.html)

  2. 2.

    Draw Function Graphs – Recheronline. (http://rechneronline.de/function-graphs/)

  3. 3.

    Definite integral calculator from Wolfram Alpha Widgets by Evan added in 2010 (http://www.wolframalpha.com/input/?i=definite%20integral%20calculator)

  4. 4.

    Integral calculator from Wolfram Mathematica Online integrator (http://integrals.wolfram.com/index.jsp)

  5. 5.

    Gamma Function Evaluator – The Wolfram Functions site http://functions.wolfram.com/webMathematica/FunctionEvaluation.jsp?name=Gamma

  6. 6.

    Function calculator by XIAO gang 2012 (http://wims.unice.fr/wims/en_tool~analysis~function.en.html)

  7. 7.

    Microsoft Excel.

References

Download references

Acknowledgements

Thanks are due to the Head, Department of Botanical & Environmental Sciences, Guru Nanak Dev University, Amritsar, for research facilities.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ashwani K Thukral.

Additional information

Competing interests

The author declares that he has no competing interests.

Author’s contributions

The author conceived the idea, made the calculations and written and approved the manuscript.

Authors’ original submitted files for images

Rights and permissions

Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0), which permits use, duplication, adaptation, distribution, and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Thukral, A.K. Factorials of real negative and imaginary numbers - A new perspective. SpringerPlus 3, 658 (2014). https://doi.org/10.1186/2193-1801-3-658

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/2193-1801-3-658

Keywords