Template:Short description Template:About Template:Use dmy dates Template:Infobox mathematical function

In mathematics, the exponential function is the unique real function which maps zero to one and has a derivative everywhere equal to its value. The exponential of a variable Template:Tmath is denoted Template:Tmath or Template:Tmath, with the two notations used interchangeably. It is called exponential because its argument can be seen as an exponent to which a constant [[e (mathematical constant)|number Template:Math]], the base, is raised. There are several other definitions of the exponential function, which are all equivalent although being of very different nature.

The exponential function converts sums to products: it maps the additive identity Template:Math to the multiplicative identity Template:Math, and the exponential of a sum is equal to the product of separate exponentials, Template:Tmath. Its inverse function, the natural logarithm, Template:Tmath or Template:Tmath, converts products to sums: Template:Tmath.

The exponential function is occasionally called the natural exponential function, matching the name natural logarithm, for distinguishing it from some other functions that are also commonly called exponential functions. These functions include the functions of the form Template:Tmath, which is exponentiation with a fixed base Template:Tmath. More generally, and especially in applications, functions of the general form Template:Tmath are also called exponential functions. They grow or decay exponentially in that the rate that Template:Tmath changes when Template:Tmath is increased is proportional to the current value of Template:Tmath.

The exponential function can be generalized to accept complex numbers as arguments. This reveals relations between multiplication of complex numbers, rotations in the complex plane, and trigonometry. Euler's formula Template:Tmath expresses and summarizes these relations.

The exponential function can be even further generalized to accept other types of arguments, such as matrices and elements of Lie algebras.

GraphEdit

The graph of <math>y=e^x</math> is upward-sloping, and increases faster than every power of Template:Tmath.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> The graph always lies above the Template:Mvar-axis, but becomes arbitrarily close to it for large negative Template:Mvar; thus, the Template:Mvar-axis is a horizontal asymptote. The equation <math>\tfrac{d}{dx}e^x = e^x</math> means that the slope of the tangent to the graph at each point is equal to its height (its Template:Mvar-coordinate) at that point.

Definitions and fundamental propertiesEdit

Template:See also There are several equivalent definitions of the exponential function, although of very different nature.

Differential equationEdit

File:Exp tangent.svg
The derivative of the exponential function is equal to the value of the function. Since the derivative is the slope of the tangent, this implies that all green right triangles have a base length of 1.

One of the simplest definitions is: The exponential function is the unique differentiable function that equals its derivative, and takes the value Template:Math for the value Template:Math of its variable.

This "conceptual" definition requires a uniqueness proof and an existence proof, but it allows an easy derivation of the main properties of the exponential function.

Uniqueness: If Template:Tmath and Template:Tmath are two functions satisfying the above definition, then the derivative of Template:Tmath is zero everywhere because of the quotient rule. It follows that Template:Tmath is constant; this constant is Template:Math since Template:Tmath.

Existence is proved in each of the two following sections.

Inverse of natural logarithmEdit

The exponential function is the inverse function of the natural logarithm. The inverse function theorem implies that the natural logarithm has an inverse function, that satisfies the above definition. This is a first proof of existence. Therefore, one has

<math>\begin{align}

\ln (\exp x)&=x\\ \exp(\ln y)&=y \end{align}</math> for every real number <math>x</math> and every positive real number <math>y.</math>

Power seriesEdit

The exponential function is the sum of the power series<ref name="Rudin_1987"/><ref name=":0">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> <math display=block> \begin{align}\exp(x) &= 1+x+\frac{x^2}{2!}+ \frac{x^3}{3!}+\cdots\\ &=\sum_{n=0}^\infty \frac{x^n}{n!},\end{align}</math>

File:Exp series.gif
The exponential function (in blue), and the sum of the first Template:Math terms of its power series (in red)

where <math>n!</math> is the factorial of Template:Mvar (the product of the Template:Mvar first positive integers). This series is absolutely convergent for every <math>x</math> per the ratio test. So, the derivative of the sum can be computed by term-by-term differentiation, and this shows that the sum of the series satisfies the above definition. This is a second existence proof, and shows, as a byproduct, that the exponential function is defined for every Template:Tmath, and is everywhere the sum of its Maclaurin series.

Functional equationEdit

The exponential satisfies the functional equation: <math display=block>\exp(x+y)= \exp(x)\cdot \exp(y).</math> This results from the uniqueness and the fact that the function <math> f(x)=\exp(x+y)/\exp(y)</math> satisfies the above definition.

It can be proved that a function that satisfies this functional equation has the form Template:Tmath if it is either continuous or monotonic. It is thus differentiable, and equals the exponential function if its derivative at Template:Math is Template:Math.

Limit of integer powersEdit

The exponential function is the limit, as the integer Template:Mvar goes to infinity,<ref name="Maor"/><ref name=":0" /> <math display=block>\exp(x)=\lim_{n \to +\infty} \left(1+\frac xn\right)^n.</math> By continuity of the logarithm, this can be proved by taking logarithms and proving <math display=block>x=\lim_{n\to\infty}\ln \left(1+\frac xn\right)^n= \lim_{n\to\infty}n\ln \left(1+\frac xn\right),</math> for example with Taylor's theorem.

PropertiesEdit

Reciprocal: The functional equation implies Template:Tmath. Therefore Template:Tmath for every Template:Tmath and <math display=block>\frac 1{e^x}=e^{-x}.</math>

Positiveness: Template:Tmath for every real number Template:Tmath. This results from the intermediate value theorem, since Template:Tmath and, if one would have Template:Tmath for some Template:Tmath, there would be an Template:Tmath such that Template:Tmath between Template:Tmath and Template:Tmath. Since the exponential function equals its derivative, this implies that the exponential function is monotonically increasing.

Extension of exponentiation to positive real bases: Let Template:Mvar be a positive real number. The exponential function and the natural logarithm being the inverse each of the other, one has <math>b=\exp(\ln b).</math> If Template:Mvar is an integer, the functional equation of the logarithm implies <math display=block>b^n=\exp(\ln b^n)= \exp(n\ln b).</math> Since the right-most expression is defined if Template:Mvar is any real number, this allows defining Template:Tmath for every positive real number Template:Mvar and every real number Template:Mvar: <math display=block>b^x=\exp(x\ln b).</math> In particular, if Template:Mvar is the Euler's number <math>e=\exp(1),</math> one has <math>\ln e=1</math> (inverse function) and thus <math display=block>e^x=\exp(x).</math> This shows the equivalence of the two notations for the exponential function.

General exponential functionsEdit

A function is commonly called an exponential functionTemplate:Mdashwith an indefinite articleTemplate:Mdashif it has the form Template:Tmath, that is, if it is obtained from exponentiation by fixing the base and letting the exponent vary.

More generally and especially in applied contexts, the term exponential function is commonly used for functions of the form Template:Tmath. This may be motivated by the fact that, if the values of the function represent quantities, a change of measurement unit changes the value of Template:Tmath, and so, it is nonsensical to impose Template:Tmath.

These most general exponential functions are the differentiable functions that satisfy the following equivalent characterizations.

"General exponential functions have the property that the ratio of two outputs depends only on the difference of inputs. The ratio of outputs for a unit change in input is the base."</ref>

File:Exponenciala priklad.png
Exponential functions with bases 2 and 1/2

The base of an exponential function is the base of the exponentiation that appears in it when written as Template:Tmath, namely Template:Tmath.<ref>G. Harnett, Calculus 1, 1998; Functions continued / Exponentials & logarithms: "The ratio of outputs for a unit change in input is the base of a general exponential function."</ref> The base is Template:Tmath in the second characterization, <math display=inline>\exp \frac{f'(x)}{f(x)}</math> in the third one, and <math display=inline>\left(\frac{f(x+d)}{f(x)}\right)^{1/d}</math> in the last one.

In applicationsEdit

The last characterization is important in empirical sciences, as allowing a direct experimental test whether a function is an exponential function.

Exponential growth or exponential decayTemplate:Mdashwhere the variable change is proportional to the variable valueTemplate:Mdashare thus modeled with exponential functions. Examples are unlimited population growth leading to Malthusian catastrophe, continuously compounded interest, and radioactive decay.

If the modeling function has the form Template:Tmath or, equivalently, is a solution of the differential equation Template:Tmath, the constant Template:Tmath is called, depending on the context, the decay constant, disintegration constant,<ref name="Serway-Moses-Moyer_1989" /> rate constant,<ref name="Simmons_1972" /> or transformation constant.<ref name="McGrawHill_2007" />

Equivalence proofEdit

For proving the equivalence of the above properties, one can proceed as follows.

The two first characterizations are equivalent, since, if Template:Tmath and Template:Tmath, one has <math display=block>e^{kx}= (e^k)^x= b^x.</math> The basic properties of the exponential function (derivative and functional equation) implies immediately the third and the last condition.

Suppose that the third condition is verified, and let Template:Tmath be the constant value of <math>f'(x)/f(x).</math> Since <math display = inline>\frac {\partial e^{kx}}{\partial x}=ke^{kx},</math> the quotient rule for derivation implies that <math display=block>\frac \partial{\partial x}\,\frac{f(x)}{e^{kx}}=0,</math> and thus that there is a constant Template:Tmath such that <math>f(x)=ae^{kx}.</math>

If the last condition is verified, let <math display=inline>\varphi(d)=f(x+d)/f(x),</math> which is independent of Template:Tmath. Using Template:Tmath, one gets <math display=block>\frac{f(x+d)-f(x)}{d} = f(x)\,\frac{\varphi(d)-\varphi(0)}{d}. </math> Taking the limit when Template:Tmath tends to zero, one gets that the third condition is verified with Template:Tmath. It follows therefore that Template:Tmath for some Template:Tmath and Template:Tmath As a byproduct, one gets that <math display=block>\left(\frac{f(x+d)}{f(x)}\right)^{1/d}=e^k</math> is independent of both Template:Tmath and Template:Tmath.

Compound interestEdit

The earliest occurrence of the exponential function was in Jacob Bernoulli's study of compound interests in 1683.<ref name="O'Connor_2001"/> This is this study that led Bernoulli to consider the number <math display="block">\lim_{n\to\infty}\left(1 + \frac{1}{n}\right)^{n}</math> now known as Euler's number and denoted Template:Tmath.

The exponential function is involved as follows in the computation of continuously compounded interests.

If a principal amount of 1 earns interest at an annual rate of Template:Math compounded monthly, then the interest earned each month is Template:Math times the current value, so each month the total value is multiplied by Template:Math, and the value at the end of the year is Template:Math. If instead interest is compounded daily, this becomes Template:Math. Letting the number of time intervals per year grow without bound leads to the limit definition of the exponential function, <math display="block">\exp x = \lim_{n\to\infty}\left(1 + \frac{x}{n}\right)^{n}</math> first given by Leonhard Euler.<ref name="Maor"/>

Differential equationsEdit

{{#invoke:Labelled list hatnote|labelledList|Main article|Main articles|Main page|Main pages}} Exponential functions occur very often in solutions of differential equations.

The exponential functions can be defined as solutions of differential equations. Indeed, the exponential function is a solution of the simplest possible differential equation, namely Template:Tmath. Every other exponential function, of the form Template:Tmath, is a solution of the differential equation Template:Tmath, and every solution of this differential equation has this form.

The solutions of an equation of the form <math display=block>y'+ky=f(x)</math> involve exponential functions in a more sophisticated way, since they have the form <math display=block>y=ce^{-kx}+e^{-kx}\int f(x)e^{kx}dx,</math> where Template:Tmath is an arbitrary constant and the integral denotes any antiderivative of its argument.

More generally, the solutions of every linear differential equation with constant coefficients can be expressed in terms of exponential functions and, when they are not homogeneous, antiderivatives. This holds true also for systems of linear differential equations with constant coefficients.

Complex exponentialEdit

Template:Anchor

File:Exp-complex-cplot.svg
</math> is increasing only to the right. The periodic horizontal bands corresponding to the same hue indicate that <math>z\mapsto\exp z</math> is periodic in the imaginary part of <math>z</math>.

The exponential function can be naturally extended to a complex function, which is a function with the complex numbers as domain and codomain, such that its restriction to the reals is the above-defined exponential function, called real exponential function in what follows. This function is also called the exponential function, and also denoted Template:Tmath or Template:Tmath. For distinguishing the complex case from the real one, the extended function is also called complex exponential function or simply complex exponential.

Most of the definitions of the exponential function can be used verbatim for definiting the complex exponential function, and the proof of their equivalence is the same as in the real case.

The complex exponential function can be defined in several equivalent ways that are the same as in the real case.

The complex exponential is the unique complex function that equals its complex derivative and takes the value Template:Tmath for the argument Template:Tmath: <math display="block">\frac{de^z}{dz}=e^z\quad\text{and}\quad e^0=1.</math>

The complex exponential function is the sum of the series <math display="block">e^z = \sum_{k = 0}^\infty\frac{z^k}{k!}.</math> This series is absolutely convergent for every complex number Template:Tmath. So, the complex differential is an entire function.

The complex exponential function is the limit <math display="block">e^z = \lim_{n\to\infty}\left(1+\frac{z}{n}\right)^n</math>

The functional equation <math display="block">e^{w+z}=e^we^z</math> holds for every complex numbers Template:Tmath and Template:Tmath. The complex exponential is the unique continuous function that satisfies this functional equation and has the value Template:Tmath for Template:Tmath.

The complex logarithm is a right-inverse function of the complex exponential: <math display="block">e^{\log z} =z. </math> However, since the complex logarithm is a multivalued function, one has <math display="block">\log e^z= \{z+2ik\pi\mid k\in \Z\},</math> and it is difficult to define the complex exponential from the complex logarithm. On the opposite, this is the complex logarithm that is often defined from the complex exponential.

The complex exponential has the following properties: <math display="block">\frac 1{e^z}=e^{-z} </math> and <math display="block">e^z\neq 0\quad \text{for every } z\in \C .</math> It is periodic function of period Template:Tmath; that is <math display="block">e^{z+2ik\pi} =e^z \quad \text{for every } k\in \Z.</math> This results from Euler's identity Template:Tmath and the functional identity.

The complex conjugate of the complex exponential is <math display="block">\overline{e^z}=e^{\overline z}.</math> Its modulus is <math display="block">|e^z|= e^{|\Re (z)|},</math> where Template:Tmath denotes the real part of Template:Tmath.

Relationship with trigonometryEdit

Complex exponential and trigonometric functions are strongly related by Euler's formula: <math display="block">e^{it} =\cos(t)+i\sin(t). </math>

This formula provides the decomposition of complex exponential into real and imaginary parts: <math display="block">e^{x+iy} = e^x\,\cos y + i e^x\,\sin y.</math>

The trigonometric functions can be expressed in terms of complex exponentials: <math display="block">\begin{align} \cos x &= \frac{e^{ix}+e^{-ix}}2\\ \sin x &= \frac{e^{ix}-e^{-ix}}{2i}\\ \tan x &= i\,\frac{1-e^{2ix}}{1+e^{2ix}} \end{align}</math>

In these formulas, Template:Tmath are commonly interpreted as real variables, but the formulas remain valid if the variables are interpreted as complex variables. These formulas may be used to define trigonometric functions of a complex variable.<ref name="Apostol_1974"/>

PlotsEdit

Considering the complex exponential function as a function involving four real variables: <math display="block">v + i w = \exp(x + i y)</math> the graph of the exponential function is a two-dimensional surface curving through four dimensions.

Starting with a color-coded portion of the <math>xy</math> domain, the following are depictions of the graph as variously projected into two or three dimensions.

The second image shows how the domain complex plane is mapped into the range complex plane:

  • zero is mapped to 1
  • the real <math>x</math> axis is mapped to the positive real <math>v</math> axis
  • the imaginary <math>y</math> axis is wrapped around the unit circle at a constant angular rate
  • values with negative real parts are mapped inside the unit circle
  • values with positive real parts are mapped outside of the unit circle
  • values with a constant real part are mapped to circles centered at zero
  • values with a constant imaginary part are mapped to rays extending from zero

The third and fourth images show how the graph in the second image extends into one of the other two dimensions not shown in the second image.

The third image shows the graph extended along the real <math>x</math> axis. It shows the graph is a surface of revolution about the <math>x</math> axis of the graph of the real exponential function, producing a horn or funnel shape.

The fourth image shows the graph extended along the imaginary <math>y</math> axis. It shows that the graph's surface for positive and negative <math>y</math> values doesn't really meet along the negative real <math>v</math> axis, but instead forms a spiral surface about the <math>y</math> axis. Because its <math>y</math> values have been extended to Template:Math, this image also better depicts the 2π periodicity in the imaginary <math>y</math> value.

Matrices and Banach algebrasEdit

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 unital Banach algebra Template:Math. In this setting, Template:Math, and Template:Math is invertible with inverse Template:Math for any Template:Math in Template:Math. If Template:Math, then Template:Math, but this identity can fail for noncommuting Template:Math and Template:Math.

Some alternative definitions lead to the same function. For instance, Template:Math can be defined as <math display="block">\lim_{n \to \infty} \left(1 + \frac{x}{n} \right)^n .</math>

Or Template:Math can be defined as Template:Math, where Template:Math is the solution to the differential equation Template:Math, with initial condition Template:Math; it follows that Template:Math for every Template:Mvar in Template:Math.

Lie algebrasEdit

Given a Lie group Template:Math and its associated Lie algebra <math>\mathfrak{g}</math>, the exponential map is a map <math>\mathfrak{g}</math> Template:Math satisfying similar properties. In fact, since Template:Math 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 Template:Math of invertible Template:Math matrices has as Lie algebra Template:Math, the space of all Template:Math matrices, the exponential function for square matrices is a special case of the Lie algebra exponential map.

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

TranscendencyEdit

The function Template:Math is a transcendental function, which means that it is not a root of a polynomial over the ring of the rational fractions <math>\C(z).</math>

If Template:Math are distinct complex numbers, then Template:Math are linearly independent over <math>\C(z)</math>, and hence Template:Math is transcendental over <math>\C(z)</math>.

Template:AnchorComputationEdit

The Taylor series definition above is generally efficient for computing (an approximation of) <math>e^x</math>. However, when computing near the argument <math>x=0</math>, the result will be close to 1, and computing the value of the difference <math>e^x-1</math> with floating-point arithmetic may lead to the loss of (possibly all) significant figures, producing a large relative error, possibly even a meaningless result.

Following a proposal by William Kahan, it may thus be useful to have a dedicated routine, often called expm1, which computes Template:Math directly, bypassing computation of Template:Math. For example, one may use the Taylor series: <math display="block">e^x-1=x+\frac {x^2}2 + \frac{x^3}6+\cdots +\frac{x^n}{n!}+\cdots.</math>

This was first implemented in 1979 in the Hewlett-Packard HP-41C calculator, and provided by several calculators,<ref name="HP48_AUR"/><ref name="HP50_AUR"/> operating systems (for example Berkeley UNIX 4.3BSD<ref name="Beebe_2017"/>), computer algebra systems, and programming languages (for example C99).<ref name="Beebe_2002"/>

In addition to base Template:Math, the IEEE 754-2008 standard defines similar exponential functions near 0 for base 2 and 10: <math>2^x - 1</math> and <math>10^x - 1</math>.

A similar approach has been used for the logarithm; see log1p.

An identity in terms of the hyperbolic tangent, <math display="block">\operatorname{expm1} (x) = e^x - 1 = \frac{2 \tanh(x/2)}{1 - \tanh(x/2)},</math> gives a high-precision value for small values of Template:Math on systems that do not implement Template:Math.

Continued fractionsEdit

The exponential function can also be computed with continued fractions.

A continued fraction for Template:Math can be obtained via an identity of Euler: <math display="block"> e^x = 1 + \cfrac{x}{1 - \cfrac{x}{x + 2 - \cfrac{2x}{x + 3 - \cfrac{3x}{x + 4 - \ddots}}}}</math>

The following generalized continued fraction for Template:Math converges more quickly:<ref name="Lorentzen_2008"/> <math display="block"> e^z = 1 + \cfrac{2z}{2 - z + \cfrac{z^2}{6 + \cfrac{z^2}{10 + \cfrac{z^2}{14 + \ddots}}}}</math>

or, by applying the substitution Template:Math: <math display="block"> e^\frac{x}{y} = 1 + \cfrac{2x}{2y - x + \cfrac{x^2} {6y + \cfrac{x^2} {10y + \cfrac{x^2} {14y + \ddots}}}}</math> with a special case for Template:Math: <math display="block"> 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 }}}}</math>

This formula also converges, though more slowly, for Template:Math. For example: <math display="block"> 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 }}}}</math>

See alsoEdit

Template:Portal Template:Div col

Template:Div col end

NotesEdit

Template:Notelist

ReferencesEdit

Template:Reflist

External linksEdit

Template:Calculus topics Template:Authority control