Exponential function
From Wikipedia, the free encyclopedia
Categories: Elementary special functions | Complex analysis | Exponentials | Special hypergeometric functions
|
The exponential function is a function in mathematics. The application of this function to a value x is written as exp(x). Equivalently, this can be written in the form ex, where e is a mathematical constant, the base of the natural logarithm, which equals approximately 2.718281828, and is also known as Euler's number.
The exponential function is nearly flat (climbing slowly) for negative values of x, climbs quickly for positive values of x, and equals 1 when x is equal to 0. Its y value always equals the slope at that point.
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. PropertiesMost simply, exponential functions multiply at a constant rate. For example the population of a bacterial culture which doubles every 20 minutes can (approximatively, as this is not really a continuous problem) be expressed as an exponential, as can the value of a car which decreases by 10% per year. Using the natural logarithm, one can define more general exponential functions. The function
defined for all a > 0, and all real numbers x, is called the exponential function with base a. Note that this definition of Failed to parse (Missing texvc executable; please see math/README to configure.): \, a^x rests on the previously established existence of the function Failed to parse (Missing texvc executable; please see math/README to configure.): \, e^x , defined for all real numbers. (Here, we neither formally nor conceptually clarify whether such a function exists or what non-natural exponents are supposed to mean.) Note that the equation above holds for a = e, since
and, for any a > 0, real number b, and integer n > 1:
Derivatives and differential equationsThe importance of exponential functions in mathematics and the sciences stems mainly from properties of their derivatives. In particular,
for constant K are the only functions with that property. (This follows from the Picard-Lindelöf theorem, with Failed to parse (Missing texvc executable; please see math/README to configure.): \,y(t) = e^t, y(0)=K and Failed to parse (Missing texvc executable; please see math/README to configure.): \,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 the Laplace's equation as well as the equations for simple harmonic motion. For exponential functions with other bases:
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:
Formal definitionImage:Exp series.gif
The exponential function (in blue), and the sum of the first n+1 terms of the power series on the left (in red).
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. A less common definition defines Failed to parse (Missing texvc executable; please see math/README to configure.): e^x as the solution Failed to parse (Missing texvc executable; please see math/README to configure.): y to the equation
Numerical valueTo obtain the numerical value of the exponential function, the infinite series can be rewritten as :
To ensure this, we can use the following identity.
is the integer part of Failed to parse (Missing texvc executable; please see math/README to configure.): \,x
is the fractional part of Failed to parse (Missing texvc executable; please see math/README to configure.): \,x
is always less than 1 and Failed to parse (Missing texvc executable; please see math/README to configure.): \,f and Failed to parse (Missing texvc executable; please see math/README to configure.): \,z add up to Failed to parse (Missing texvc executable; please see math/README to configure.): \,x . The value of the constant ez can be calculated beforehand by multiplying e with itself z times. Computing exp(x) for real xAn 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:
Continued fractions for exVia Euler's identity:
Computation of Failed to parse (Missing texvc executable; please see math/README to configure.): \,a^n for natural number (positive integer) nThere is a fast way to compute Failed to parse (Missing texvc executable; please see math/README to configure.): \,a^n when n is a positive integer. It makes use of the fact that testing that such a number is odd is very easy on a computer and dividing by 2 is also fast by simply shifting all the bits to the right. step 1, initialize some variables step 2, test k step 3, (k is not 0 here, test if k is even) step 4, (k is odd here, multiply in)
step 6, (loop) step 7, (done, y is result = an) In C you can write the algorithm like this:
double power(double a, unsigned int n)
{
double y = 1;
double f = a;
unsigned int k = n;
while (k != 0) {
if ((k & 1) != 0) y *= f;
k >>= 1;
f *= f;
}
return y;
}
While a naive multiplication of a^100 would require 100 iterations of a loop multiplying a, this loop iterates only 7 times (The number 100 is written using 7 bits). This algorithm can easily be extended for signed integers by doing the following steps before and after: step 1. if k is negative, negate the value so we get a positive k. n still remembers the original value. step 2. Perform the above computation for Failed to parse (Missing texvc executable; please see math/README to configure.): \,y = a^{|k|}
for an integer n. On the complex planeImage:Complex exp.jpg
Exponential function on the complex plane. The transition from dark to light colors shows that the magnitude of the exponential function is increasing to the right. The periodic horizontal bands indicate that the exponential function is periodic in the imaginary part of its argument.
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:
Using this definition, it is easy to show why Failed to parse (Missing texvc executable; please see math/README to configure.): {d \over dz} e^z = e^z holds in the complex plane. Another definition extends the real exponential function. First, we state the desired property Failed to parse (Missing texvc executable; please see math/README to configure.): e^{x + iy} = e^x e^{i y} . For Failed to parse (Missing texvc executable; please see math/README to configure.): e^x we use the real exponential function. We then proceed by defining only: Failed to parse (Missing texvc executable; please see math/README to configure.): e^{i y} = cos(y) + i sin(y) . Thus we use the real definition rather than ignore it.[1] When considered as a function defined on the complex plane, the exponential function retains the important properties
for all z and w. It is a holomorphic function which is periodic with imaginary period Failed to parse (Missing texvc executable; please see math/README to configure.): \,2 \pi i and can be written as
where a and b are real values. This formula connects the exponential function with the trigonometric functions and to the hyperbolic functions. Thus we see that all elementary functions except for the polynomials spring from the exponential function in one way or another. 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:
for all complex numbers z and w. This is also a multi-valued function. The above stated exponential laws remain true if interpreted properly as statements about multi-valued functions. 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 sprial never closes in on itself; when the original line is parallel to the imaginary axis, the resulting spiral is a circle of some radius. Computation of exp(z) for a complex zThis is fairly straightforward given the formula
Computation of Failed to parse (Missing texvc executable; please see math/README to configure.): \,a^b where both a and b are complexThis is also straightforward given the formulae: if a = x + yi and b = u + vi we can first convert a to polar co-ordinates by finding a Failed to parse (Missing texvc executable; please see math/README to configure.): \,\theta and an Failed to parse (Missing texvc executable; please see math/README to configure.): \,r such that:
and Failed to parse (Missing texvc executable; please see math/README to configure.): \,y = r\sin\theta.
or Failed to parse (Missing texvc executable; please see math/README to configure.): \,r = \sqrt{x^2 + y^2}
and
Failed to parse (Missing texvc executable; please see math/README to configure.): \,\tan\theta = \frac{y}{x}
or Failed to parse (Missing texvc executable; please see math/README to configure.): \,\theta = \operatorname{atan2}(y, x).
Failed to parse (Missing texvc executable; please see math/README to configure.): \,\theta , Failed to parse (Missing texvc executable; please see math/README to configure.): \,p and Failed to parse (Missing texvc executable; please see math/README to configure.): \,q are all real values in these computations. The result of Failed to parse (Missing texvc executable; please see math/README to configure.): \,a^b is thus Failed to parse (Missing texvc executable; please see math/README to configure.): \,p + qi . Also note that since we compute and use Failed to parse (Missing texvc executable; please see math/README to configure.): \,\log(r) rather than r itself you don't have to compute the square root. Instead simply compute Failed to parse (Missing texvc executable; please see math/README to configure.): \,\log(r) = \frac12\log(x^2 + y^2) . Watch out for potential overflow though and possibly scale down the x and y prior to computing Failed to parse (Missing texvc executable; please see math/README to configure.): \,x^2 + y^2 by a suitable power of 2 if Failed to parse (Missing texvc executable; please see math/README to configure.): \,x and Failed to parse (Missing texvc executable; please see math/README to configure.): \,y are so large that you would overflow. If you instead run the risk of underflow, scale up by a suitable power of 2 prior to computing the sum of the squares. In either case you then get the scaled version of Failed to parse (Missing texvc executable; please see math/README to configure.): \,x - we can call it Failed to parse (Missing texvc executable; please see math/README to configure.): \,x' and the scaled version of Failed to parse (Missing texvc executable; please see math/README to configure.): \,y - call it Failed to parse (Missing texvc executable; please see math/README to configure.): \,y' and so you get:
and Failed to parse (Missing texvc executable; please see math/README to configure.): \,y = y'2^s where Failed to parse (Missing texvc executable; please see math/README to configure.): \,2^s is the scaling factor. Then you get Failed to parse (Missing texvc executable; please see math/README to configure.): \,\log(r) = \frac12(\log(x'^2 + y'^2) + s) where Failed to parse (Missing texvc executable; please see math/README to configure.): \,x' and Failed to parse (Missing texvc executable; please see math/README to configure.): \,y' are scaled so that the sum of the squares will not overflow or underflow. If Failed to parse (Missing texvc executable; please see math/README to configure.): \,x is very large while Failed to parse (Missing texvc executable; please see math/README to configure.): \,y is very small so that you cannot find such a scaling factor you will overflow anyway and so the sum is essentially equal to Failed to parse (Missing texvc executable; please see math/README to configure.): \,x^2 since y is ignored and thus you get Failed to parse (Missing texvc executable; please see math/README to configure.): \,r = |x| in this case and Failed to parse (Missing texvc executable; please see math/README to configure.): \,\log(r) = \log(|x|) . The same happens in the case when Failed to parse (Missing texvc executable; please see math/README to configure.): \,x is very small and Failed to parse (Missing texvc executable; please see math/README to configure.): \,y is very large. If both are very large or both are very small you can find a scaling factor as mentioned earlier. Note that this function is, in general, multivalued for complex arguments. This is because rotation of a single point through any angle plus 360 degrees, or Failed to parse (Missing texvc executable; please see math/README to configure.): 2\pi radians, is the same as rotation through the angle itself. So Failed to parse (Missing texvc executable; please see math/README to configure.): \theta above is not unique: Failed to parse (Missing texvc executable; please see math/README to configure.): \theta_k = \theta + 2\pi k for any integer Failed to parse (Missing texvc executable; please see math/README to configure.): k would do as well. The convention though is that when Failed to parse (Missing texvc executable; please see math/README to configure.): a^b is taken as a single value it must be that for Failed to parse (Missing texvc executable; please see math/README to configure.): k = 0 , ie. we use the smallest possible (in magnitude) value of theta, which has a magnitude of, at most, Failed to parse (Missing texvc executable; please see math/README to configure.): \pi . Matrices and Banach algebrasThe definition of the exponential function given above can be used verbatim for every Banach algebra, and in particular for square matrices (in which case the function is called the matrix exponential). In this case we have
is invertible with inverse Failed to parse (Missing texvc executable; please see math/README to configure.): \,\ e^{-x}
at the point Failed to parse (Missing texvc executable; please see math/README to configure.): \,\ x is that linear map which sends Failed to parse (Missing texvc executable; please see math/README to configure.): \,\ u to Failed to parse (Missing texvc executable; please see math/README to configure.): \,\ ue^x . 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:
where A is a fixed element of the algebra and t is any real number. This function has the important properties
On Lie algebrasThe exponential map sending a Lie algebra to the Lie group that gave rise to it shares the above properties, which explains the terminology. In fact, since R is the Lie algebra of the Lie group of all positive real numbers with multiplication, the ordinary exponential function for real arguments is a special case of the Lie algebra situation. Similarly, since the Lie algebra M (n, R) of all square real matrices belongs to the Lie group of all invertible square matrices, the exponential function for square matrices is a special case of the Lie algebra exponential map. Double exponential functionThe term double exponential function can have two meanings:
Factorials grow faster than exponential functions, but slower than double-exponential functions. Fermat numbers, generated by Failed to parse (Missing texvc executable; please see math/README to configure.): \,F(m) = 2^{2^m} + 1 and double Mersenne numbers generated by Failed to parse (Missing texvc executable; please see math/README to configure.): \,MM(p) = 2^{(2^p-1)}-1 are examples of double exponential functions. Similar properties of Failed to parse (Missing texvc executable; please see math/README to configure.): e and the function Failed to parse (Missing texvc executable; please see math/README to configure.): e^zThe function Failed to parse (Missing texvc executable; please see math/README to configure.): e^z is not in C(z) (ie. not the quotient of two polynomials with complex coefficients). For n distinct complex numbers Failed to parse (Missing texvc executable; please see math/README to configure.): \{a_1,...a_n\} , Failed to parse (Missing texvc executable; please see math/README to configure.): \{e^{a_1 z},... e^{a_n z}\} is linearly independent over C(z). The function Failed to parse (Missing texvc executable; please see math/README to configure.): e^z is transcendental over C(z). PeriodicityFor all integers n and complex x: Failed to parse (Missing texvc executable; please see math/README to configure.): e^{x} = e^{x \, \pm \, 2i\pi n}
Failed to parse (Missing texvc executable; please see math/README to configure.): \begin{align} e^{x} &= e^{x}1 \\ &= e^{x}1^{\pm n} \\ &= e^{x}(e^{2i\pi})^{\pm n} \\ &= e^{x}e^{\pm 2i\pi n} \\ &= e^{x \, \pm \, 2i\pi n} \end{align}
Failed to parse (Missing texvc executable; please see math/README to configure.): a^{x} = e^{\ln a^{x}} = e^{x \ln a} = e^{x \ln a \, \pm \, 2i\pi n} References
See also
External links
cs:Exponenciální funkce da:Eksponentialfunktion de:Exponentialfunktion es:Función exponencial eo:Eksponenta funkcio fr:Exponentielle hu:Exponenciális függvény ko:지수 함수 io:Exponentala id:Fungsi eksponensial it:Funzione esponenziale he:אקספוננט ka:მაჩვენებლიანი ფუნქციები nl:Exponentiële functie ja:指数関数 no:eksponentialfunksjon pl:Funkcja wykładnicza pt:Função exponencial ro:Funcţie exponenţială ru:Экспонента sk:Exponenciálna funkcia sl:eksponentna funkcija sr:Експоненцијална функција fi:Eksponenttifunktio sv:Exponentialfunktion tr:Üstel fonksiyon |


