Exponential function

From Infogalactic: the planetary knowledge core
Jump to: navigation, search

<templatestyles src="Module:Hatnote/styles.css"></templatestyles>

The natural exponential function y = e^x

In mathematics, an exponential function is a function of the form

 f(x) = b^x. \,

The input variable x occurs as an exponent – hence the name. A function of the form ƒ(x) = bx ± c is also considered an exponential function, and a function of the form ƒ(x) = a·bx can be re-written as ƒ(x) = bx ± c by the use of logarithms and so is an exponential function.

In contexts where the base b is not specified, especially in more theoretical contexts, the term exponential function is almost always understood to mean the natural exponential function

 x \mapsto e^x, \,

also written as

 x \mapsto \exp(x)

where e is Euler's number, a transcendental number approximately 2.718281828. The reason this number e is considered the "natural" base of exponential functions is that this function is its own derivative.[1][2] Every exponential function is directly proportional to its own derivative, but only when the base is e does the constant of proportionality equal 1.

The exponential function is used to model a relationship in which a constant change in the independent variable gives the same proportional change (i.e. percentage increase or decrease) in the dependent variable. The function is often written as exp(x), especially when it is impractical to write the independent variable as a superscript. The exponential function is widely used in physics, chemistry, engineering, mathematical biology, economics and mathematics.

Exponential function
Representation e^x \,
Inverse \ln x \,
Derivative e^x \,
Indefinite Integral e^x + C \,

The graph of y = ex is upward-sloping, and increases faster as x increases. The graph always lies above the x-axis but can get arbitrarily close to it for negative x; thus, the x-axis is a horizontal asymptote. The slope of the tangent to the graph at each point is equal to its y coordinate at that point. The inverse function is the natural logarithm ln(x); because of this, some old texts[3] refer to the exponential function as the antilogarithm.

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.

Lua error in package.lua at line 80: module 'strict' not found.

Formal definition

<templatestyles src="Module:Hatnote/styles.css"></templatestyles>

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 characterized in a variety of equivalent ways. In particular it may be defined by the following power series:[4]

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

Using an alternate definition for the exponential function leads to the same result when expanded as a Taylor series.

Less commonly, ex is defined as the solution y to the equation

x = \int_1^y {1 \over t} \mathrm{d}t

It is also the following limit:[5]

e^x = \lim_{n \rightarrow \infty} \left(1 + \frac{x}{n}\right)^n

Overview

The red curve is the exponential function. The black horizontal lines show where it crosses the green vertical lines.

The exponential function arises whenever a quantity grows or decays at a rate proportional to its current value. One such situation is continuously compounded interest, and in fact it was this that led Jacob Bernoulli in 1683[6] to the number

\lim_{n\to\infty}\left(1 + \frac{1}{n}\right)^{n}

now known as e. Later, in 1697, Johann Bernoulli studied the calculus of the exponential function.[6]

If a principal amount of 1 earns interest at an annual rate of x compounded monthly, then the interest earned each month is x/12 times the current value, so each month the total value is multiplied by (1+x/12), and the value at the end of the year is (1+x/12)12. If instead interest is compounded daily, this becomes (1+x/365)365. Letting the number of time intervals per year grow without bound leads to the limit definition of the exponential function,

\exp(x) = \lim_{n\to\infty}\left(1 + \frac{x}{n}\right)^{n}

first given by Euler.[5] This is one of a number of characterizations of the exponential function; others involve series or differential equations.

From any of these definitions it can be shown that the exponential function obeys the basic exponentiation identity,

\exp(x + y) = \exp(x) \cdot \exp(y)

which is why it can be written as ex.

The derivative (rate of change) of the exponential function is the exponential function itself. More generally, a function with a rate of change proportional to the function itself (rather than equal to it) is expressible in terms of the exponential function. This function property leads to exponential growth and exponential decay.

The exponential function extends to an entire function on the complex plane. Euler's formula relates its values at purely imaginary arguments to trigonometric functions. The exponential function also has analogues for which the argument is a matrix, or even an element of a Banach algebra or a Lie algebra.

Derivatives and differential equations

The derivative of the exponential function is equal to the value of the function. From any point P on the curve (blue), let a tangent line (red), and a vertical line (green) with height h be drawn, forming a right triangle with a base b on the x-axis. Since the slope of the red tangent line (the derivative) at P is equal to the ratio of the triangle's height to the triangle's base (rise over run), and the derivative is equal to the value of the function, h must be equal to the ratio of h to b. Therefore, the base b must always be 1.

The importance of the exponential function in mathematics and the sciences stems mainly from properties of its derivative. In particular,

\frac{\mathrm{d}}{\mathrm{d}x}e^x = e^x

Proof:

\begin{align}
e ^ x & = 1 + x + \frac{x ^ 2}{2!} + \frac{x ^ 3}{3!} + \frac{x ^ 4}{4!} + \frac{x ^ 5}{5!} + \cdots \\
{\mathrm{d} \over \mathrm{d}x} e^x & = {\mathrm{d} \over \mathrm{d}x} \left(1 + x + \frac{x ^ 2}{2!} + \frac{x ^ 3}{3!} + \frac{x ^ 4}{4!} + \frac{x ^ 5}{5!} + \cdots \right) \\
& = 0 + 1 + \frac{2x}{2!} + \frac{3x ^ 2}{3!} + \frac{4x ^ 3}{4!} + \frac{5x ^ 4}{5!} +\cdots \\
& = 1 + x + \frac{x ^ 2}{2!} + \frac{x ^ 3}{3!} + \frac{x ^ 4}{4!} + \frac{x ^ 5}{5!} + \cdots \\
& = e ^ x \\
\end{align}

That is, ex is its own derivative and hence is a simple example of a Pfaffian function. Functions of the form cex for constant c are the only functions with that property (by the Picard–Lindelöf theorem). 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 y′ = y.
  • exp is a fixed point of derivative as a functional.

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. Explicitly for any real constant k, a function fRR satisfies f′ = kf if and only if f(x) = cekx for some constant c.

Furthermore, for any differentiable function f(x), we find, by the chain rule:

{\mathrm{d} \over \mathrm{d}x} e^{f(x)} = f'(x)e^{f(x)}

Continued fractions for ex

A continued fraction for ex can be obtained via an identity of Euler:


  e^x = 1 + \cfrac{x}{1 - \cfrac{x}{x + 2 - \cfrac{2x}{x + 3 - \cfrac{3x}{x + 4 - \ddots}}}}

The following generalized continued fraction for ez converges more quickly:[7]


  e^z = 1 + \cfrac{2z}{2 - z + \cfrac{z^2}{6 + \cfrac{z^2}{10 + \cfrac{z^2}{14 + \ddots}}}}

or, by applying the substitution z = <templatestyles src="Sfrac/styles.css" />x/y:


  e^\frac{x}{y} = 1 + \cfrac{2x}{2y - x + \cfrac{x^2} {6y + \cfrac{x^2} {10y + \cfrac{x^2} {14y + \ddots}}}}

with a special case for z = 2:


  e^2 = 1 + \cfrac{4}{0 + \cfrac{2^2}{6 + \cfrac{2^2}{10 + \cfrac{2^2}{14 + \ddots\,}}}} = 7 + \cfrac{2}{5 + \cfrac{1}{7 + \cfrac{1}{9 + \cfrac{1}{11 + \ddots\,}}}}

This formula also converges, though more slowly, for z > 2. For example:


  e^3 = 1 + \cfrac{6}{-1 + \cfrac{3^2}{6 + \cfrac{3^2}{10 + \cfrac{3^2}{14 + \ddots\,}}}} = 13 + \cfrac{54}{7 + \cfrac{9}{14 + \cfrac{9}{18 + \cfrac{9}{22 + \ddots\,}}}}

Complex plane

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. One such definition parallels the power series definition for real numbers, where the real variable is replaced by a complex one:

e^z = \sum_{n = 0}^\infty\frac{z^n}{n!}

The exponential function is periodic with imaginary period 2 \pi i and can be written as

e^{a + bi} = e^a (\cos b + i \sin b) = e^a \operatorname{cis}(b)

where a and b are real values and on the right the real functions must be used if used as a definition[8] (see also Euler's formula). This formula connects the exponential function with the trigonometric functions and to the hyperbolic functions.

When considered as a function defined on the complex plane, the exponential function retains the properties

  • e^{z + w} = e^z e^w\,
  • e^0 = 1\,
  • e^z \ne 0
  • {\mathrm{d} \over \mathrm{d}z} e^z = e^z
  • \,(e^z)^n = e^{nz}, n \in \mathbb{Z}

for all z and w.

The exponential function is an entire function as it is holomorphic over the whole complex plane. It takes on every complex number excepting 0 as value; that is, 0 is a lacunary value of the exponential function. This is an example of Picard's little theorem that any non-constant entire function takes on every complex number as value with at most one value excepted.

Extending the natural logarithm to complex arguments yields the complex logarithm log z, which is a multivalued function.

We can then define a more general exponentiation:

z^w = e^{w \log z}

for all complex numbers z and w. This is also a multivalued function, even when z is real. This distinction is problematic, as the multivalued functions log z and zw are easily confused with their single-valued equivalents when substituting a real number for z. The rule about multiplying exponents for the case of positive real numbers must be modified in a multivalued context:

(e^z)^w \ne e^{z w}, but rather (e^z)^w = e^{(z + 2\pi i n) w}\, multivalued over integers n

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.

Computation of ab where both a and b are complex

<templatestyles src="Module:Hatnote/styles.css"></templatestyles>

Complex exponentiation ab can be defined by converting a to polar coordinates and using the identity (eln(a))b = ab:

a^b = (re^{\theta i})^b = (e^{\ln(r) + \theta i})^b = e^{(\ln(r) + \theta i)b}

However, when b is not an integer, this function is multivalued, because θ is not unique (see failure of power and logarithm identities).

Matrices and Banach algebras

The power series definition of the exponential function makes sense for square matrices (for which the function is called the matrix exponential) and more generally in any Banach algebra B. In this setting, e0 = 1, and ex is invertible with inverse ex for any x in B. If xy =yx, then ex+y = exey, but this identity can fail for noncommuting x and y.

Some alternative definitions lead to the same function. For instance, ex can be defined as \textstyle \lim_{n \to \infty} \left(1 + \frac{x}{n} \right)^n

Or ex can be defined as f(1), where fRB is the solution to the differential equation f′(t) = xf(t) with initial condition f(0) = 1.

Lie algebras

Given a Lie group G and its associated Lie algebra \mathfrak{g}, the exponential map is a map \mathfrak{g}\to G satisfying similar properties. In fact, since R is the Lie algebra of the Lie group of all positive real numbers under multiplication, the ordinary exponential function for real arguments is a special case of the Lie algebra situation. Similarly, since the Lie group GL(n,R) of invertible n × n matrices has as Lie algebra M(n,R), the space of all n × n matrices, the exponential function for square matrices is a special case of the Lie algebra exponential map.

The identity exp(x + y) = exp(x)exp(y) can fail for Lie algebra elements x and y that do not commute; the Baker–Campbell–Hausdorff formula supplies the necessary correction terms.

Double exponential function

<templatestyles src="Module:Hatnote/styles.css"></templatestyles>

The term double exponential function can have two meanings:

  • a function with two exponential terms, each with a different exponent such as in e3xe4x−2
  • a function f(x) = aax; this grows even faster than an exponential function; for example, if a = 10, then 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 \,F(m) = 2^{2^m} + 1 and double Mersenne numbers generated by \,MM(p) = 2^{2^p - 1} - 1 are examples of double exponential functions.

Similar properties of e and the function ez

The function ez is not in C(z) (i.e., is not the quotient of two polynomials with complex coefficients).

For n distinct complex numbers {a1, …, an}, the set {ea1z, …, eanz} is linearly independent over C(z).

The function ez is transcendental over C(z).

exp and expm1

Some calculators provide a dedicated exp(x) function designed to provide a higher precision than achievable by using ex directly.[9][10]

Some scientific calculators, computer algebra systems and programming languages (for example C99[11]) support a special exponential minus 1 function alternatively named expm1(x),[11] expm(x),[9][10] or exp1m(x) to provide more accurate results for values of x near zero compared to using exp(x)-1 directly.[9][10][11] This function is implemented using a different internal algorithm to avoid an intermediate result near 1, thereby allowing both the argument and the result to be near zero.[9][10] Similar inverse functions named lnp1(x),[9][10] ln1p(x) or log1p(x)[11] exist as well.[nb 1]

See also

Notes

  1. For a similar approach to reduce round-off errors of calculations for certain input values see trigonometric functions like versine, vercosine, coversine, covercosine, haversine, havercosine, hacoversine, hacovercosine, exsecant and excosecant.

References

  1. Lua error in package.lua at line 80: module 'strict' not found.
  2. Lua error in package.lua at line 80: module 'strict' not found.
  3. Lua error in package.lua at line 80: module 'strict' not found.
  4. Lua error in package.lua at line 80: module 'strict' not found.
  5. 5.0 5.1 Eli Maor, e: the Story of a Number, p.156.
  6. 6.0 6.1 Lua error in package.lua at line 80: module 'strict' not found.
  7. "A.2.2 The exponential function." L. Lorentzen and H. Waadeland, Continued Fractions, Atlantis Studies in Mathematics, page 268.
  8. Lua error in package.lua at line 80: module 'strict' not found.
  9. 9.0 9.1 9.2 9.3 9.4 Lua error in package.lua at line 80: module 'strict' not found.
  10. 10.0 10.1 10.2 10.3 10.4 Lua error in package.lua at line 80: module 'strict' not found.Searchable PDF
  11. 11.0 11.1 11.2 11.3 Lua error in package.lua at line 80: module 'strict' not found.

External links