Exponential function

From testwiki
Revision as of 00:10, 16 February 2025 by 89.234.244.168 (talk) (top: Fixed typo)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 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 amount 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.

Graph

The graph of y=ex is upward-sloping, and increases faster than every power of Template:Tmath.[1] 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 ddxex=ex 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 properties

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

Differential equation

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 logarithm

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

ln(expx)=xexp(lny)=y

for every real number x and every positive real number y.

Power series

The exponential function is the sum of the power series[2][3] exp(x)=1+x+x22!+x33!+=n=0xnn!,

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 n! is the factorial of Template:Mvar (the product of the Template:Mvar first positive integers). This series is absolutely convergent for every x per the ratio test. So, the derivative of the sum can be computed by term-by-term derivation, 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 equation

The exponential satisfies the functional equation: exp(x+y)=exp(x)exp(y). This results from the uniqueness and the fact that the function f(x)=exp(x+y)/exp(y) 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 powers

The exponential function is the limit[4][3] exp(x)=limn(1+xn)n, where n takes only integer values (otherwise, the exponentiation would require the exponential function to be defined). By continuity of the logarithm, this can be proved by taking logarithms and proving x=limnln(1+xn)n=limnnln(1+xn), for example with Taylor's theorem.

Properties

Reciprocal: The functional equation implies Template:Tmath. Therefore Template:Tmath for every Template:Tmath and 1ex=ex.

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 b=exp(lnb). If Template:Mvar is an integer, the functional equation of the logarithm implies bn=exp(lnbn)=exp(nlnb). 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: bx=exp(xlnb). In particular, if Template:Mvar is the Euler's number e=exp(1), one has lne=1 (inverse function) and thus ex=exp(x). This shows the equivalence of the two notations for the exponential function.

General exponential functions

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.

Error creating thumbnail:
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.[6] The base is Template:Tmath in the second characterization, expf(x)f(x) in the third one, and (f(x+d)f(x))1/d in the last one.

In applications

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 varaible 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,[7] rate constant,[8] or transformation constant.[9]

Equivalence proof

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

The two first characterizations are equivalent, since, if Template:Tmath and Template:Tmath, one has s.ekx=(ek)x=bx. The basic properties of the exponential function (derivative and functional equation) implies immediately the third and ths last condititon

Suppose that the third condition is verified, and let Template:Tmath be the constant value of f(x)/f(x). Since ekxx=kekx, the quotient rule for derivation implies that xf(x)ekx=0, and thus that there is a constant Template:Tmath such that f(x)=aekx.

If the last condition is verified, let φ(d)=f(x+d)/f(x), which is independent of Template:Tmath. Using Template:Tmath, one gets f(x+d)f(x)d=f(x)φ(d)φ(0)d. 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 (f(x+d)f(x))1/d=ek is independent of both Template:Tmath and Template:Tmath.

Compound interest

The earliest occurrence of the exponential function was in Jacob Bernoulli's study of compound interests in 1683.[10] This is this study that led Bernoulli to consider the number limn(1+1n)n 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, expx=limn(1+xn)n first given by Leonhard Euler.[4]

Differential equations

Template:Main 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 y+ky=f(x) involve exponential functions in a more sophisticated way, since they have the form y=cekx+ekxf(x)ekxdx, 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 exponential

Template:Anchor

The exponential function e^z plotted in the complex plane from -2-2i to 2+2i
The exponential function e^z plotted in the complex plane from -2-2i to 2+2i
File:Exp-complex-cplot.svg
A complex plot of zexpz, with the argument Argexpz represented by varying hue. The transition from dark to light colors shows that |expz| is increasing only to the right. The periodic horizontal bands corresponding to the same hue indicate that zexpz is periodic in the imaginary part of z.

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: dezdz=ezamde0=1.

The complex exponential function is the sum of the series ez=k=0zkk!. 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 ez=limn(1+zn)n

The functional equation ew+z=ewez 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: elogz=z. However, since the complex logarithm is a multivalued function, one has logez={z+2ikπk}, 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: 1ez=ez and ez0for every z. It is periodic function of period Template:Tmath; that is ez+2ikπ=ezfor every k. This results from Euler's identity Template:Tmath and the functional identity.

The complex conjugate of the complex exponential is ez=ez. Its modulus is |ez|=e|(z)|, where Template:Tmath denotes the real part of Template:Tmath.

Relationship with trigonometry

Complex exponential and trigonometric functions are strongly related by Euler's formula: eit=cos(it)+isin(it).

This formula provides the decomposition of complex exponential in real and imaginary parts: ex+iy=excosy+iexsiny.

The trigonometric functions can be expressed in terms of complex exponential: cosx=eix+eix2sinx=eixeix2itanx=i1e2ix1+e2ix

In previous formulas, Template:Tmath ae commonly interpreted as real variables, but the formulas remain valid if the variables are interpreted as complex variables. These formulas may be used for defining trigonometric functions of a complex variable.[11]

Plots

Considering the complex exponential function as a function involving four real variables: v+iw=exp(x+iy) the graph of the exponential function is a two-dimensional surface curving through four dimensions.

Starting with a color-coded portion of the xy 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 x axis is mapped to the positive real v axis
  • the imaginary y 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 x axis. It shows the graph is a surface of revolution about the x 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 y axis. It shows that the graph's surface for positive and negative y values doesn't really meet along the negative real v axis, but instead forms a spiral surface about the y axis. Because its y values have been extended to Template:Math, this image also better depicts the 2π periodicity in the imaginary y value.

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 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 limn(1+xn)n.

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 algebras

Given a Lie group Template:Math and its associated Lie algebra 𝔤, the exponential map is a map 𝔤 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 exp(x+y)=exp(x)exp(y) 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.

Transcendency

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 (z).

If Template:Math are distinct complex numbers, then Template:Math are linearly independent over (z), and hence Template:Math is transcendental over (z).

Template:AnchorComputation

The Taylor series definition above is generally efficient for computing (an approximation of) ex. However, when computing near the argument x=0, the result will be close to 1, and computing the value of the difference ex1 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: ex1=x+x22+x36++xnn!+.

This was first implemented in 1979 in the Hewlett-Packard HP-41C calculator, and provided by several calculators,[12][13] operating systems (for example Berkeley UNIX 4.3BSD[14]), computer algebra systems, and programming languages (for example C99).[15]

In addition to base Template:Math, the IEEE 754-2008 standard defines similar exponential functions near 0 for base 2 and 10: 2x1 and 10x1.

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

An identity in terms of the hyperbolic tangent, expm1(x)=ex1=2tanh(x/2)1tanh(x/2), gives a high-precision value for small values of Template:Math on systems that do not implement Template:Math.

Continued fractions

The exponential function can also be computed with continued fractions.

A continued fraction for Template:Math can be obtained via an identity of Euler: ex=1+x1xx+22xx+33xx+4

The following generalized continued fraction for Template:Math converges more quickly:[16] ez=1+2z2z+z26+z210+z214+

or, by applying the substitution Template:Math: exy=1+2x2yx+x26y+x210y+x214y+ with a special case for Template:Math: e2=1+40+226+2210+2214+=7+25+17+19+111+

This formula also converges, though more slowly, for Template:Math. For example: e3=1+61+326+3210+3214+=13+547+914+918+922+

See also

Template:Portal Template:Div col

Template:Div col end

Notes

Template:Notelist

References

Template:Reflist

Template:Calculus topics Template:Authority control

  1. Template:Cite web
  2. Cite error: Invalid <ref> tag; no text was provided for refs named Rudin_1987
  3. 3.0 3.1 Template:Cite web
  4. 4.0 4.1 Cite error: Invalid <ref> tag; no text was provided for refs named Maor
  5. G. Harnett, Calculus 1, 1998, Functions continued: "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."
  6. 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."
  7. Cite error: Invalid <ref> tag; no text was provided for refs named Serway-Moses-Moyer_1989
  8. Cite error: Invalid <ref> tag; no text was provided for refs named Simmons_1972
  9. Cite error: Invalid <ref> tag; no text was provided for refs named McGrawHill_2007
  10. Cite error: Invalid <ref> tag; no text was provided for refs named O'Connor_2001
  11. Cite error: Invalid <ref> tag; no text was provided for refs named Apostol_1974
  12. Cite error: Invalid <ref> tag; no text was provided for refs named HP48_AUR
  13. Cite error: Invalid <ref> tag; no text was provided for refs named HP50_AUR
  14. Cite error: Invalid <ref> tag; no text was provided for refs named Beebe_2017
  15. Cite error: Invalid <ref> tag; no text was provided for refs named Beebe_2002
  16. Cite error: Invalid <ref> tag; no text was provided for refs named Lorentzen_2008