Difference between revisions of "Exponential function" - New World Encyclopedia

From New World Encyclopedia
(→‎Computation of exp''(z)'' for a complex ''z'': Deleted; should be dealt with primarily at the euler's number page)
Line 1: Line 1:
 
{{Claimed}}
 
{{Claimed}}
The '''exponential function''' is one of the most important [[function (mathematics)|function]]s in [[mathematics]]. The application of this function to a value '''''x''''' is written as '''exp(''x'')'''. Equivalently, this can be written in the form '''''e<sup>x</sup>''''', where '''''e''''' is a mathematical constant, the [[e (mathematical constant)|base of the natural logarithm]], which equals approximately 2.718281828, and is also known as [[Euler]]'s number.
 
  
[[image:exp.svg|thumb|200px|right|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 number|real]]'' variable ''x'', the [[graph of a function|graph]] of ''y''=''e''<sup>''x''</sup> 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''.
 
As a function of the ''[[real number|real]]'' variable ''x'', the [[graph of a function|graph]] of ''y''=''e''<sup>''x''</sup> 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''.
Line 12: Line 10:
 
Some of the applications of the exponential function include modeling decay and/or growth in populations, economics, fatigue of materials, and amounts of radioactive material.
 
Some of the applications of the exponential function include modeling decay and/or growth in populations, economics, fatigue of materials, and amounts of radioactive material.
  
==Formal definition==
 
[[Image:Exp series.gif|right|thumb|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 e<sup>''x''</sup> can be defined in a variety of equivalent ways, as an [[infinite series]].  In particular it may be defined by a [[power series]]:
 
 
: <math>e^x = \sum_{n = 0}^{\infty} {x^n \over n!} = 1 + x + {x^2 \over 2!} + {x^3 \over 3!} + {x^4 \over 4!} + \cdots</math>
 
 
or as the [[limit of a sequence]]:
 
 
: <math>e^x = \lim_{n \to \infty} \left( 1 + {x \over n} \right)^n.</math>
 
 
In these definitions, ''n''! stands for the [[factorial]] of ''n'', and ''x'' can be any [[real number]], [[complex number]], element of a [[Banach algebra]] (for example, a [[square matrix]]), or member of the field of [[p-adic numbers|''p''-adic numbers]].
 
 
For further explanation of these definitions and a proof of their equivalence, see the article [[Characterizations of the exponential function]].
 
  
 
==Properties==
 
==Properties==
Line 75: Line 60:
 
: <math>\,{d \over dx} e^{f(x)} = f'(x)e^{f(x)}</math>.
 
: <math>\,{d \over dx} e^{f(x)} = f'(x)e^{f(x)}</math>.
  
==Numerical value==
 
To obtain the numerical value of the exponential function, the infinite series can be rewritten as :
 
  
:<math>\,e^x = {1 \over 0!} + x \, \left( {1 \over 1!} + x \, \left( {1 \over 2!} + x \, \left( {1 \over 3!} + \cdots \right)\right)\right)</math>
 
:<math>\,= 1 + {x \over 1} \left(1 + {x \over 2} \left(1 + {x \over 3} \left(1 + \cdots \right)\right)\right)</math>
 
 
This expression will converge quickly if we can ensure that x is less than one.
 
 
To ensure this, we can use the following identity.
 
 
:{|
 
|-
 
|<math>\,e^x\,</math>
 
|<math>\,=e^{z+f}\,</math>
 
|-
 
|
 
|<math>\,= e^z \times \left[{1 \over 0!} + f \, \left( {1 \over 1!} + f \, \left( {1 \over 2!} + f \, \left( {1 \over 3!} + \cdots \right)\right)\right)\right]</math>
 
|}
 
 
* Where <math>\,z</math> is the integer part of <math>\,x</math>
 
* Where <math>\,f</math> is the fractional part of <math>\,x</math>
 
* Hence, <math>\,f</math> is always less than 1 and <math>\,f</math> and <math>\,z</math> add up to <math>\,x</math>.
 
 
The value of the constant e<sup>z</sup> can be calculated beforehand by multiplying e with itself z times.
 
  
 
== Computing exp''(x)'' for real ''x'' ==
 
== Computing exp''(x)'' for real ''x'' ==
Line 130: Line 92:
  
  
== On the complex plane ==<!-- This section is linked from [[Complex plane]] —>
 
[[Image:Complex_exp.jpg|thumb|right|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.]]
 
 
When considered as a function defined on the [[complex number|complex plane]], the exponential function retains the important properties
 
: <math>\,\!\, e^{z + w} = e^z e^w</math>
 
: <math>\,\!\, e^0 = 1</math>
 
: <math>\,\!\, e^z \ne 0</math>
 
: <math>\,\!\, {d \over dz} e^z = e^z</math>
 
for all ''z'' and ''w''.
 
 
It is a [[holomorphic function]] which is periodic with [[imaginary number|imaginary]] period <math>\,2 \pi i</math> and can be written as
 
: <math>\,\!\, e^{a + bi} = e^a (\cos b + i \sin b)</math>
 
where ''a'' and ''b'' are real values. This formula connects the exponential function with the [[trigonometric function]]s and to the [[hyperbolic function]]s. Thus we see that all [[elementary function (differential algebra)|elementary function]]s except for the [[polynomial]]s 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:
 
: <math>\,\!\, z^w = e^{w \ln z}</math>
 
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 (mathematics)|line]] in the complex plane to a [[logarithmic spiral]] in the complex plane with the center at the [[Origin (mathematics)|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.
 
 
<gallery caption="Plots of the exponential function on the complex plane">
 
Image:ExponentialRe.png| ''z'' = Re(e<sup>x+iy</sup>)
 
Image:ExponentialIm.png| ''z'' = Im(e<sup>x+iy</sup>)
 
Image:ExponentialAbs.png| ''z'' = |e<sup>x+iy</sup>|
 
Image:ExponentialAll.png
 
</gallery>
 
 
== Computation of exp''(z)'' for a complex ''z'' ==
 
  
This is fairly straightforward given the formula
 
  
: <math>\,e^{x + yi} = e^xe^{yi} = e^x(\cos(y) + i \sin(y)) = e^x\cos(y) + ie^x\sin(y).</math>
 
  
Note that the argument y to the trigonometric functions are real.
 
  
 
== Computation of <math>\,a^b</math> where both ''a'' and ''b'' are complex ==
 
== Computation of <math>\,a^b</math> where both ''a'' and ''b'' are complex ==

Revision as of 21:46, 17 November 2007


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.

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.

Some of the applications of the exponential function include modeling decay and/or growth in populations, economics, fatigue of materials, and amounts of radioactive material.


Properties

Most 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 rests on the previously established existence of the function , 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

Exponential functions "translate between addition and multiplication" as is expressed in the first three and the fifth of the following exponential laws:

These are valid for all positive real numbers a and b and all real numbers x and y. Expressions involving fractions and roots can often be simplified using exponential notation:

and, for any a > 0, real number b, and integer n > 1:

Derivatives and differential equations

The importance of exponential functions in mathematics and the sciences stems mainly from properties of their derivatives. In particular,

That is, ex is its own derivative. Functions of the form for constant K are the only functions with that property. (This follows from the Picard-Lindelöf theorem, with and .) Other ways of saying the same thing include:

  • The slope of the graph at any point is the height of the function at that point.
  • The rate of increase of the function at x is equal to the value of the function at x.
  • The function solves the differential equation .
  • exp is a fixed point of derivative as a functional

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:

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:

.


Computing exp(x) for real x

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:


Computation of where both a and b are complex

This 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 and an such that:

or

and

Thus, or and or

Now, we have that:

so:

The exponent is thus a simple multiplication of two complex values yielding a complex result which can then be brought back to regular cartesian format by the formula:

where p is the real part of the multiplication:

and q is the imaginary part of the multiplication:

Note that all of , and are all real values in these computations. The result of is thus .

Also note that since we compute and use rather than r itself you don't have to compute the square root. Instead simply compute . Watch out for potential overflow though and possibly scale down the x and y prior to computing by a suitable power of 2 if and 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 - we can call it and the scaled version of - call it and so you get:

and

where is the scaling factor.

Then you get where and are scaled so that the sum of the squares will not overflow or underflow. If is very large while is very small so that you cannot find such a scaling factor you will overflow anyway and so the sum is essentially equal to since y is ignored and thus you get in this case and . The same happens in the case when is very small and 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 radians, is the same as rotation through the angle itself. So above is not unique: for any integer would do as well. The convention though is that when is taken as a single value it must be that for , ie. we use the smallest possible (in magnitude) value of theta, which has a magnitude of, at most, .

Matrices and Banach algebras

The 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
the derivative of at the point is that linear map which sends to .

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


Double exponential function

The term double exponential function can have two meanings:

  • a function with two exponential terms, with different exponents
  • a function ; this grows even faster than an exponential function; for example, if a = 10: f(−1) = 1.26, f(0) = 10, f(1) = 1010, f(2) = 10100 = googol, ..., f(100) = googolplex.

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.

See also

  • e (mathematical constant)
  • Characterizations of the exponential function
  • Exponential growth
  • Exponentiation
  • List of integrals of exponential functions
  • List of exponential topics

References
ISBN links support NWE through referral fees

  • Konyagin, Sergei and Igor Shparlinski. 1999. Character Sums with Exponential Functions and their Applications. Cambridge, UK: Cambridge University Press. ISBN 0521642639.
  • Fried, H.M. 2002. Green's Functions and Ordered Exponentials. Cambridge, UK: Cambridge University Press. ISBN 0521443903.
  • Carico, Charles C. 1974. Exponential and logarithmic functions (Wadsworth precalculus mathematics series). Belmont, CA: Wadsworth Pub. Co. ISBN 0534003141.

External links

Credits

New World Encyclopedia writers and editors rewrote and completed the Wikipedia article in accordance with New World Encyclopedia standards. This article abides by terms of the Creative Commons CC-by-sa 3.0 License (CC-by-sa), which may be used and disseminated with proper attribution. Credit is due under the terms of this license that can reference both the New World Encyclopedia contributors and the selfless volunteer contributors of the Wikimedia Foundation. To cite this article click here for a list of acceptable citing formats.The history of earlier contributions by wikipedians is accessible to researchers here:

The history of this article since it was imported to New World Encyclopedia:

Note: Some restrictions may apply to use of individual images which are separately licensed.