As a function of the real variable x, the graph of y=ex is always positive (above the x axis) and increasing (viewed left-to-right). It never touches the x axis, although it gets arbitrarily close to it (thus, the x axis is a horizontal asymptote to the graph). Its inverse function, the natural logarithm, ln(x), is defined for all positive x. The exponential function is occasionally referred to as the anti-logarithm. However, this terminology seems to have fallen into disuse in recent times.
Sometimes, especially in the sciences, the term exponential function is more generally used for functions of the form kax, where a, called the base, is any positive real number not equal to one. This article will focus initially on the exponential function with base e, Euler's number.
In general, the variable x can be any real or complex number, or even an entirely different kind of mathematical object; see the formal definition below.
where c is the value of y when x is 0. The general exponential function ax (called the exponential function with base a) is defined using the natural logarithm as follows:
defined for all a > 0, and all real numbers x. Note that once the existence of the function ex has been established for all real numbers, then ax is defined for all positive values of a.
The exponential function is used to model many physical scenarios, including radioactive decay; unchecked population growth (the Malthusian growth model); DC current in an RC circuit; and heat transfer between two bodies (Newton's law of cooling).
That is, ex is its own derivative and hence is a simple example of a pfaffian function. Functions of the form Kex for constant K are the only functions with that property. (This follows from the Picard-Lindelöf theorem, with y(t) = et, y(0)=K and f(t,y(t)) = y(t).) Other ways of saying the same thing include:
In fact, many differential equations give rise to exponential functions, including the Schrödinger equation and Laplace's equation as well as the equations for simple harmonic motion.
For exponential functions with other bases:
A proof being,
Thus, any exponential function is a constant multiple of its own derivative.
If a variable's growth or decay rate is proportional to its size — as is the case in unlimited population growth (see Malthusian catastrophe), continuously compounded interest, or radioactive decay — then the variable can be written as a constant times an exponential function of time.
Furthermore for any differentiable function f(x), we find, by the chain rule:
The exponential function ex can be defined, in a variety of equivalent ways, as an infinite series. In particular it may be defined by a power series:
Note that this definition has the form of a Taylor series. Using an alternate definition for the exponential function should lead to the same result when expanded as a Taylor series.
Less commonly, ex is defined as the solution y to the equation
It is also the following limit:
This expression will converge quickly if we can ensure that x is less than one.
To ensure this, we can use the following identity.
The value of the constant ez can be calculated beforehand by multiplying e with itself z times.
An even better algorithm can be found as follows.
First, notice that the answer y = ex is usually a floating point number represented by a mantissa m and an exponent n so y = m 2n for some integer n and suitably small m. Thus, we get:
Taking log on both sides of the last two gives us:
Thus, we get n as the result of dividing x by log(2) and finding the greatest integer that is not greater than this - that is, the floor function:
Having found n we can then find the fractional part u like this:
The number u is small and in the range 0 ≤ u < ln(2) and so we can use the previously mentioned series to compute m:
Having found m and n we can then produce y by simply combining those two into a floating point number:
Via Euler's identity:
More advanced techniques are necessary to construct the following:
Setting m = x and n = 2 yields
As in the real case, the exponential function can be defined on the complex plane in several equivalent forms. Some of these definitions mirror the formulas for the real-valued exponential function. Specifically, one can still use the power series definition, where the real value is replaced by a complex one:
Another definition extends the real exponential function. First, we state the desired property . For we use the real exponential function. We then proceed by defining only: . Thus we use the real definition rather than ignore it.
When considered as a function defined on the complex plane, the exponential function retains the important properties
It is a holomorphic function which is periodic with imaginary period and can be written as
See also Euler's formula.
Extending the natural logarithm to complex arguments yields a multi-valued function, ln(z). We can then define a more general exponentiation:
See failure of power and logarithm identities for more about problems with combining powers.
The exponential function maps any line in the complex plane to a logarithmic spiral in the complex plane with the center at the origin. Two special cases might be noted: when the original line is parallel to the real axis, the resulting spiral never closes in on itself; when the original line is parallel to the imaginary axis, the resulting spiral is a circle of some radius.
This is fairly straightforward given the formula
Note that the argument y to the trigonometric functions is real.
Complex exponentiation ab can be defined by converting a to polar coordinates and using the identity (eln(a))b = ab:
However, when b is not an integer, this function is multivalued, because θ is not unique (see failure of power and logarithm identities).
In the context of non-commutative Banach algebras, such as algebras of matrices or operators on Banach or Hilbert spaces, the exponential function is often considered as a function of a real argument:
Factorials grow faster than exponential functions, but slower than double-exponential functions. Fermat numbers, generated by and double Mersenne numbers generated by are examples of double exponential functions.
For n distinct complex numbers {a1,..., an}, {ea1z,..., eanz} is linearly independent over C(z).
The function ez is transcendental over C(z).