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)
(→‎Computation of <math>\,a^b</math> where both ''a'' and ''b'' are complex: Deleting, as these have more to do with properties of euler's number than it does with expotential functions)
Line 96: Line 96:
  
  
== Computation of <math>\,a^b</math> 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 <math>\,\theta</math> and an <math>\,r</math> such that:
 
 
: <math>\,re^{{\theta}i} = r\cos\theta + i r\sin\theta = a = x + yi</math>
 
 
or
 
 
:<math>\, x = r\cos\theta</math> and <math>\,y = r\sin\theta.</math>
 
 
Thus, <math>\,x^2 + y^2 = r^2</math> or <math>\,r = \sqrt{x^2 + y^2}</math> and
 
<math>\,\tan\theta = \frac{y}{x}</math> or <math>\,\theta = \operatorname{atan2}(y, x).</math>
 
 
Now, we have that:
 
 
: <math>\,a = re^{{\theta}i} = e^{\log(r) + {\theta}i}</math>
 
 
so:
 
 
: <math>\,a^b = (e^{\log(r) + {\theta}i})^{u + vi} = e^{(\log(r) + {\theta}i)(u + vi)}</math>
 
 
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:
 
 
: <math>\,e^{p + qi} = e^p(\cos(q) + i\sin(q)) = e^p\cos(q) + ie^p\sin(q)</math>
 
 
where ''p'' is the real part of the multiplication:
 
: <math>\,p = u\log(r) - v\theta</math>
 
 
and ''q'' is the imaginary part of the multiplication:
 
: <math>\,q = v\log(r) + u\theta.</math>
 
 
Note that all of <math>\,x, y, u, v, r,</math> <math>\,\theta</math>, <math>\,p</math> and <math>\,q</math> are all real values in these computations. The result of <math>\,a^b</math> is thus <math>\,p + qi</math>.
 
 
Also note that since we compute and use <math>\,\log(r)</math> rather than r itself you don't have to compute the square root. Instead simply compute <math>\,\log(r) = \frac12\log(x^2 + y^2)</math>. Watch out for potential overflow though and possibly scale down the x and y prior to computing <math>\,x^2 + y^2</math> by a suitable power of 2 if <math>\,x</math> and <math>\,y</math> 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 <math>\,x</math> - we can call it <math>\,x'</math> and the scaled version of <math>\,y</math> - call it <math>\,y'</math> and so you get:
 
:<math>\,x = x'2^s</math> and <math>\,y = y'2^s</math>
 
 
where <math>\,2^s</math> is the scaling factor.
 
 
Then you get <math>\,\log(r) = \frac12(\log(x'^2 + y'^2) + s)</math> where <math>\,x'</math> and <math>\,y'</math> are scaled so that the sum of the squares will not overflow or underflow. If <math>\,x</math> is very large while <math>\,y</math> is very small so that you cannot find such a scaling factor you will overflow anyway and so the sum is essentially equal to <math>\,x^2</math> since y is ignored and thus  you get <math>\,r = |x|</math> in this case and <math>\,\log(r) = \log(|x|)</math>. The same happens in the case when <math>\,x</math> is very small and <math>\,y</math> 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 function|multivalued]] for complex arguments. This is because rotation of a single point through any angle plus 360 degrees, or <math>2\pi</math> radians, is the same as rotation through the angle itself. So <math>\theta</math> above is not unique: <math>\theta_k = \theta + 2\pi k</math> for any integer <math>k</math> would do as well. The convention though is that when <math>a^b</math> is taken as a single value it must be that for <math>k = 0</math>, ie. we use the smallest possible (in magnitude) value of theta, which has a magnitude of, at most, <math>\pi</math>.
 
  
 
== Matrices and Banach algebras ==
 
== Matrices and Banach algebras ==

Revision as of 22:16, 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:


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.