Exponential function

From HandWiki
Short description: Mathematical function, denoted exp(x) or e^x

Template:Infobox mathematical function

Exponential functions with bases 2 and 1/2

The exponential function is a mathematical function denoted by [math]\displaystyle{ f(x)=\exp(x) }[/math] or [math]\displaystyle{ e^x }[/math] (where the argument x is written as an exponent). Unless otherwise specified, the term generally refers to the positive-valued function of a real variable, although it can be extended to the complex numbers or generalized to other mathematical objects like matrices or Lie algebras. The exponential function originated from the operation of taking powers of a number (repeated multiplication), but various modern definitions allow it to be rigorously extended to all real arguments [math]\displaystyle{ x }[/math], including irrational numbers. Its ubiquitous occurrence in pure and applied mathematics led mathematician Walter Rudin to consider the exponential function to be "the most important function in mathematics".[1]

The functions [math]\displaystyle{ f(x) = b^x }[/math] for positive real numbers [math]\displaystyle{ b }[/math] are also known as exponential functions, and satisfy the exponentiation identity:[math]\displaystyle{ b^{x+y} = b^x b^y \text{ for all } x,y\in\mathbb{R}. }[/math]This implies [math]\displaystyle{ b^n= b\times\cdots\times b }[/math] (with [math]\displaystyle{ n }[/math] factors) for positive integers [math]\displaystyle{ n }[/math], where [math]\displaystyle{ b=b^1 }[/math], relating exponential functions to the elementary notion of exponentiation. The natural base [math]\displaystyle{ e = \exp(1)=2.71828\ldots }[/math] is a ubiquitous mathematical constant called Euler's number. To distinguish it, [math]\displaystyle{ \exp(x)=e^x }[/math] is called the exponential function or the natural exponential function: it is the unique real-valued function of a real variable whose derivative is itself and whose value at 0 is 1:

[math]\displaystyle{ \exp'(x)=\exp(x) }[/math] for all [math]\displaystyle{ x\in \R }[/math], and [math]\displaystyle{ \exp(0)=1. }[/math]

The relation [math]\displaystyle{ b^x = e^{x\ln b} }[/math] for [math]\displaystyle{ b\gt 0 }[/math] and real or complex [math]\displaystyle{ x }[/math] allows general exponential functions to be expressed in terms of the natural exponential.

More generally, especially in applied settings, any function [math]\displaystyle{ f:\mathbb{R}\to\mathbb{R} }[/math] defined by

[math]\displaystyle{ f(x)=c e^{ax}=c b^{kx}, \text{ with }k=a/ \ln b,\ a\neq 0,\ b ,c\gt 0 }[/math]

is also known as an exponential function, as it solves the initial value problem [math]\displaystyle{ f'=af,\ f(0)=c }[/math], meaning its rate of change at each point is proportional to the value of the function at that point. This behavior models diverse phenomena in the biological, physical, and social sciences, for example the unconstrained growth of a self-reproducing population, the decay of a radioactive element, the compound interest accruing on a financial fund, or a growing body of manufacturing expertise.

The real exponential function can also be defined as a power series, which is readily extended to complex arguments to define the complex exponential function [math]\displaystyle{ \exp:\mathbb{C}\to\mathbb{C} }[/math]. This function takes on all complex values except for 0 and is closely related to the complex trigonometric functions, as shown by Euler's formula:

[math]\displaystyle{ e^{x+iy} = e^x\cos(y) \,+\, i \,e^x\sin(y). }[/math]

Motivated by its more abstract properties and characterizations, the exponential function can be generalized to much larger contexts such as square matrices and Lie groups. Even further, the differential equation definition can be generalized to a Riemannian manifold.

The real exponential function is a bijection from [math]\displaystyle{ \mathbb{R} }[/math] to the interval [math]\displaystyle{ (0,\infty) }[/math].[2] Its inverse function is the natural logarithm, denoted [math]\displaystyle{ \ln }[/math],[nb 1] [math]\displaystyle{ \log }[/math],[nb 2] or [math]\displaystyle{ \log_e }[/math], and some old texts[3] called it the antilogarithm.

Graph

The graph of [math]\displaystyle{ y=e^x }[/math] is upward-sloping, and increases faster as x increases.[4] The graph always lies above the x-axis, but becomes arbitrarily close to it for large negative x; thus, the x-axis is a horizontal asymptote. The equation [math]\displaystyle{ \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 y-coordinate at that point.

Relation to more general exponential functions

The exponential function [math]\displaystyle{ f(x) = e^x }[/math] is sometimes called the natural exponential function for distinguishing it from the other exponential functions. The study of any exponential function can easily be reduced to that of the natural exponential function, since per definition, for positive b, [math]\displaystyle{ b^x \mathrel{\stackrel{\text{def}}{=}} e^{x\ln b} }[/math]

As functions of a real variable, exponential functions are uniquely characterized by the fact that the derivative of such a function is directly proportional to the value of the function. The constant of proportionality of this relationship is the natural logarithm of the base b: [math]\displaystyle{ \frac{d}{dx} b^x = \frac{d}{dx} e^{x\ln (b)} = e^{x\ln (b)} \ln (b) = b^x \ln (b). }[/math]

For b > 1, the function [math]\displaystyle{ b^x }[/math] is increasing (as depicted for b = e and b = 2), because [math]\displaystyle{ \ln b\gt 0 }[/math] makes the derivative always positive; this is often referred to as exponential growth. For positive b < 1, the function is decreasing (as depicted for b = 1/2); this is often referred to as exponential decay. For b = 1, the function is constant.

Euler's number e = 2.71828...[5] is the unique base for which the constant of proportionality is 1, since [math]\displaystyle{ \ln(e) = 1 }[/math], so that the function is its own derivative: [math]\displaystyle{ \frac{d}{dx} e^x = e^x \ln (e) = e^x. }[/math]

This function, also denoted as exp x, is called the "natural exponential function",[6][7] or simply "the exponential function". Since any exponential function defined by [math]\displaystyle{ f(x)=b^x }[/math] can be written in terms of the natural exponential as [math]\displaystyle{ b^x = e^{x\ln b} }[/math], it is computationally and conceptually convenient to reduce the study of exponential functions to this particular one. The natural exponential is hence denoted by [math]\displaystyle{ x\mapsto e^x }[/math] or [math]\displaystyle{ x\mapsto \exp x. }[/math]

The former notation is commonly used for simpler exponents, while the latter is preferred when the exponent is more complicated and harder to read in a small font.

For real numbers c and d, a function of the form [math]\displaystyle{ f(x) = a b^{cx + d} }[/math] is also an exponential function, since it can be rewritten as [math]\displaystyle{ a b^{c x + d} = \left(a b^d\right) \left(b^c\right)^x. }[/math]

Formal definition

Main page: Characterizations of the exponential function
The exponential function (in blue), and the sum of the first n + 1 terms of its power series (in red).

The real exponential function [math]\displaystyle{ \exp:\mathbb{R}\to\mathbb{R} }[/math] can be characterized in a variety of equivalent ways. It is commonly defined by the following power series:[1][8] [math]\displaystyle{ \exp x := \sum_{k = 0}^{\infty} \frac{x^k}{k!} = 1 + x + \frac{x^2}{2} + \frac{x^3}{6} + \frac{x^4}{24} + \cdots }[/math]

Since the radius of convergence of this power series is infinite, this definition is, in fact, applicable to all complex numbers; see § Complex plane for the extension of [math]\displaystyle{ \exp x }[/math] to the complex plane. Using the power series, the constant e can be defined as [math]\displaystyle{ e = \exp 1 = \sum_{k=0}^\infty(1/k!)\,. }[/math]

The term-by-term differentiation of this power series reveals that [math]\displaystyle{ \frac{d}{dx}\exp x = \exp x }[/math] for all real x, leading to another common characterization of [math]\displaystyle{ \exp x }[/math] as the unique solution of the differential equation [math]\displaystyle{ y'(x) = y(x) }[/math] that satisfies the initial condition [math]\displaystyle{ y(0) = 1. }[/math]

Based on this characterization, the chain rule shows that its inverse function, the natural logarithm, satisfies [math]\displaystyle{ \frac{d}{dy}\ln y = 1/y }[/math] for [math]\displaystyle{ y \gt 0, }[/math] or [math]\displaystyle{ \ln y = \int_1^y \frac{dt}{t}\,. }[/math] This relationship leads to a less common definition of the real exponential function [math]\displaystyle{ \exp(x) }[/math] as the solution [math]\displaystyle{ y }[/math] to the equation [math]\displaystyle{ x = \int_1^y \frac{1}{t} \, dt. }[/math]

Solving the ordinary differential equation [math]\displaystyle{ y'(x) = y(x) }[/math] with the initial condition [math]\displaystyle{ y'(0)=1 }[/math] using Euler's method gives the product limit formula, valid for all complex values of [math]\displaystyle{ x }[/math]:[9][8] [math]\displaystyle{ \exp x = \lim_{n \to \infty} \left(1 + \frac{x}{n}\right)^n. }[/math]

It can be shown that every continuous, nonzero solution of the functional equation [math]\displaystyle{ f(x+y)=f(x)f(y) }[/math] for [math]\displaystyle{ f: \R \to \R }[/math] is an exponential function, [math]\displaystyle{ f(x) = e^{kx} }[/math] with [math]\displaystyle{ k\in\mathbb{R}. }[/math]

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 observation that led Jacob Bernoulli in 1683[10] to the number [math]\displaystyle{ \lim_{n\to\infty}\left(1 + \frac{1}{n}\right)^{n} }[/math] now known as e. Later, in 1697, Johann Bernoulli studied the calculus of the exponential function.[10]

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, [math]\displaystyle{ \exp x = \lim_{n\to\infty}\left(1 + \frac{x}{n}\right)^{n} }[/math] first given by Leonhard Euler.[9] 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 ex is the reciprocal of ex. For example from the differential equation definition, ex ex = 1 when x = 0 and its derivative using the product rule is ex exex ex = 0 for all x, so ex ex = 1 for all x.

From any of these definitions it can be shown that the exponential function obeys the basic exponentiation identity. For example from the power series definition, [math]\displaystyle{ \exp(x + y) = \sum_{m=0}^{\infty} \frac{(x+y)^m}{m!} = \sum_{m=0}^{\infty} \sum_{k=0}^m\frac{m!}{k! (m-k)!} \frac{x^k y^{m-k}}{m!} = \sum_{n=0}^{\infty} \sum_{k=0}^{\infty} \frac{x^k y^n}{k! n!} = \exp x \cdot \exp y\,. }[/math] This justifies the notation ex for exp x.

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 or 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 its property as the unique function which is equal to its derivative and is equal to 1 when x = 0. That is, [math]\displaystyle{ \frac{d}{dx}e^x = e^x \quad\text{and}\quad e^0=1. }[/math]

Functions of the form cex for constant c are the only functions that are equal to their derivative (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 f: RR satisfies f′ = kf if and only if f(x) = cekx for some constant c. The constant k is called the decay constant, disintegration constant,[11] rate constant,[12] or transformation constant.[13]

Furthermore, for any differentiable function f, we find, by the chain rule: [math]\displaystyle{ \frac{d}{dx} e^{f(x)} = f'(x)e^{f(x)}. }[/math]

Continued fractions for ex

A continued fraction for ex can be obtained via an identity of Euler: [math]\displaystyle{ 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 ez converges more quickly:[14] [math]\displaystyle{ 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 z = x/y: [math]\displaystyle{ 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 z = 2: [math]\displaystyle{ 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 z > 2. For example: [math]\displaystyle{ 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]

Complex plane

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
A complex plot of [math]\displaystyle{ z\mapsto\exp z }[/math], with the argument [math]\displaystyle{ \operatorname{Arg}\exp z }[/math] represented by varying hue. The transition from dark to light colors shows that [math]\displaystyle{ \left|\exp z\right| }[/math] is increasing only to the right. The periodic horizontal bands corresponding to the same hue indicate that [math]\displaystyle{ z\mapsto\exp z }[/math] is periodic in the imaginary part of [math]\displaystyle{ z }[/math].

As in the real case, the exponential function can be defined on the complex plane in several equivalent forms.

The most common definition of the complex exponential function parallels the power series definition for real arguments, where the real variable is replaced by a complex one: [math]\displaystyle{ \exp z := \sum_{k = 0}^\infty\frac{z^k}{k!} }[/math]

Alternatively, the complex exponential function may be defined by modelling the limit definition for real arguments, but with the real variable replaced by a complex one: [math]\displaystyle{ \exp z := \lim_{n\to\infty}\left(1+\frac{z}{n}\right)^n }[/math]

For the power series definition, term-wise multiplication of two copies of this power series in the Cauchy sense, permitted by Mertens' theorem, shows that the defining multiplicative property of exponential functions continues to hold for all complex arguments: [math]\displaystyle{ \exp(w+z)=\exp w\exp z \text { for all } w,z\in\mathbb{C} }[/math]

The definition of the complex exponential function in turn leads to the appropriate definitions extending the trigonometric functions to complex arguments.

In particular, when z = it (t real), the series definition yields the expansion [math]\displaystyle{ \exp(it) = \left( 1-\frac{t^2}{2!}+\frac{t^4}{4!}-\frac{t^6}{6!}+\cdots \right) + i\left(t - \frac{t^3}{3!} + \frac{t^5}{5!} - \frac{t^7}{7!}+\cdots\right). }[/math]

In this expansion, the rearrangement of the terms into real and imaginary parts is justified by the absolute convergence of the series. The real and imaginary parts of the above expression in fact correspond to the series expansions of cos t and sin t, respectively.

This correspondence provides motivation for defining cosine and sine for all complex arguments in terms of [math]\displaystyle{ \exp(\pm iz) }[/math] and the equivalent power series:[15] [math]\displaystyle{ \begin{align} & \cos z:= \frac{\exp(iz)+\exp(-iz)}{2} = \sum_{k=0}^\infty (-1)^k \frac{z^{2k}}{(2k)!}, \\[5pt] \text{and } \quad & \sin z := \frac{\exp(iz)-\exp(-iz)}{2i} =\sum_{k=0}^\infty (-1)^k\frac{z^{2k+1}}{(2k+1)!} \end{align} }[/math]

for all [math]\displaystyle{ z\in\mathbb{C}. }[/math]

The functions exp, cos, and sin so defined have infinite radii of convergence by the ratio test and are therefore entire functions (that is, holomorphic on [math]\displaystyle{ \mathbb{C} }[/math]). The range of the exponential function is [math]\displaystyle{ \mathbb{C}\setminus \{0\} }[/math], while the ranges of the complex sine and cosine functions are both [math]\displaystyle{ \mathbb{C} }[/math] in its entirety, in accord with Picard's theorem, which asserts that the range of a nonconstant entire function is either all of [math]\displaystyle{ \mathbb{C} }[/math], or [math]\displaystyle{ \mathbb{C} }[/math] excluding one lacunary value.

These definitions for the exponential and trigonometric functions lead trivially to Euler's formula: [math]\displaystyle{ \exp(iz)=\cos z+i\sin z \text { for all } z\in\mathbb{C}. }[/math]

We could alternatively define the complex exponential function based on this relationship. If z = x + iy, where x and y are both real, then we could define its exponential as [math]\displaystyle{ \exp z = \exp(x+iy) := (\exp x)(\cos y + i \sin y) }[/math] where exp, cos, and sin on the right-hand side of the definition sign are to be interpreted as functions of a real variable, previously defined by other means.[16]

For [math]\displaystyle{ t\in\R }[/math], the relationship [math]\displaystyle{ \overline{\exp(it)}=\exp(-it) }[/math] holds, so that [math]\displaystyle{ \left|\exp(it)\right| = 1 }[/math] for real [math]\displaystyle{ t }[/math] and [math]\displaystyle{ t \mapsto \exp(it) }[/math] maps the real line (mod 2π) to the unit circle in the complex plane. Moreover, going from [math]\displaystyle{ t = 0 }[/math] to [math]\displaystyle{ t = t_0 }[/math], the curve defined by [math]\displaystyle{ \gamma(t)=\exp(it) }[/math] traces a segment of the unit circle of length [math]\displaystyle{ \int_0^{t_0}|\gamma'(t)| \, dt = \int_0^{t_0} |i\exp(it)| \, dt = t_0, }[/math] starting from z = 1 in the complex plane and going counterclockwise. Based on these observations and the fact that the measure of an angle in radians is the arc length on the unit circle subtended by the angle, it is easy to see that, restricted to real arguments, the sine and cosine functions as defined above coincide with the sine and cosine functions as introduced in elementary mathematics via geometric notions.

The complex exponential function is periodic with period 2πi and [math]\displaystyle{ \exp(z+2\pi i k)=\exp z }[/math] holds for all [math]\displaystyle{ z \in \mathbb{C}, k \in \mathbb{Z} }[/math].

When its domain is extended from the real line to the complex plane, the exponential function retains the following properties: [math]\displaystyle{ \begin{align} & e^{z + w} = e^z e^w\, \\[5pt] & e^0 = 1\, \\[5pt] & e^z \ne 0 \\[5pt] & \frac{d}{dz} e^z = e^z \\[5pt] & \left(e^z\right)^n = e^{nz}, n \in \mathbb{Z} \end{align} }[/math]

for all [math]\displaystyle{ w,z\in\mathbb C. }[/math]

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: [math]\displaystyle{ z^w = e^{w \log z} }[/math] 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:

(ez)wezw, but rather (ez)w = e(z + 2niπ)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 exist: 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.

Considering the complex exponential function as a function involving four real variables: [math]\displaystyle{ 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]\displaystyle{ 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]\displaystyle{ x }[/math] axis is mapped to the positive real [math]\displaystyle{ v }[/math] axis
  • the imaginary [math]\displaystyle{ 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]\displaystyle{ x }[/math] axis. It shows the graph is a surface of revolution about the [math]\displaystyle{ 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]\displaystyle{ y }[/math] axis. It shows that the graph's surface for positive and negative [math]\displaystyle{ y }[/math] values doesn't really meet along the negative real [math]\displaystyle{ v }[/math] axis, but instead forms a spiral surface about the [math]\displaystyle{ y }[/math] axis. Because its [math]\displaystyle{ y }[/math] values have been extended to ±2π, this image also better depicts the 2π periodicity in the imaginary [math]\displaystyle{ y }[/math] value.

Computation of ab where both a and b are complex

Main page: Exponentiation

Complex exponentiation ab can be defined by converting a to polar coordinates and using the identity (eln a)b = ab: [math]\displaystyle{ a^b = \left(re^{\theta i}\right)^b = \left(e^{(\ln r) + \theta i}\right)^b = e^{\left((\ln r) + \theta i\right)b} }[/math]

However, when b is not an integer, this function is multivalued, because θ is not unique (see Exponentiation § 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 unital 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 [math]\displaystyle{ \lim_{n \to \infty} \left(1 + \frac{x}{n} \right)^n . }[/math]

Or ex can be defined as fx(1), where fx : RB is the solution to the differential equation dfx/dt(t) = xfx(t), with initial condition fx(0) = 1; it follows that fx(t) = etx for every t in R.

Lie algebras

Given a Lie group G and its associated Lie algebra [math]\displaystyle{ \mathfrak{g} }[/math], the exponential map is a map [math]\displaystyle{ \mathfrak{g} }[/math] 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 [math]\displaystyle{ \exp(x+y)=\exp(x)\exp(y) }[/math] can fail for Lie algebra elements x and y that do not commute; the Baker–Campbell–Hausdorff formula supplies the necessary correction terms.

Transcendency

The function ez is not in the rational function ring [math]\displaystyle{ \C(z) }[/math]: it is not the quotient of two polynomials with complex coefficients.

If a1, ..., an are distinct complex numbers, then ea1z, ..., eanz are linearly independent over [math]\displaystyle{ \C(z) }[/math], and hence ez is transcendental over [math]\displaystyle{ \C(z) }[/math].

Computation

When computing (an approximation of) the exponential function near the argument 0, the result will be close to 1, and computing the value of the difference [math]\displaystyle{ e^x-1 }[/math] with floating-point arithmetic may lead to the loss of (possibly all) significant figures, producing a large calculation 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, for computing ex − 1 directly, bypassing computation of ex. For example, if the exponential is computed by using its Taylor series [math]\displaystyle{ e^x = 1 + x + \frac {x^2}2 + \frac{x^3}6 + \cdots + \frac{x^n}{n!} + \cdots, }[/math] one may use the Taylor series of [math]\displaystyle{ e^x-1 }[/math]: [math]\displaystyle{ 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,[17][18] operating systems (for example Berkeley UNIX 4.3BSD[19]), computer algebra systems, and programming languages (for example C99).[20]

In addition to base e, the IEEE 754-2008 standard defines similar exponential functions near 0 for base 2 and 10: [math]\displaystyle{ 2^x - 1 }[/math] and [math]\displaystyle{ 10^x - 1 }[/math].

A similar approach has been used for the logarithm (see lnp1).[nb 3]

An identity in terms of the hyperbolic tangent, [math]\displaystyle{ \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 x on systems that do not implement expm1(x).

See also


Notes

  1. The notation ln x is the ISO standard and is prevalent in the natural sciences and secondary education (US). However, some mathematicians (for example, Paul Halmos) have criticized this notation and prefer to use log x for the natural logarithm of x.
  2. In pure mathematics, the notation log x generally refers to the natural logarithm of x or a logarithm in general if the base is immaterial.
  3. A similar approach to reduce round-off errors of calculations for certain input values of trigonometric functions consists of using the less common trigonometric functions versine, vercosine, coversine, covercosine, haversine, havercosine, hacoversine, hacovercosine, exsecant and excosecant.

References

  1. 1.0 1.1 Real and complex analysis (3rd ed.). New York: McGraw-Hill. 1987. p. 1. ISBN 978-0-07-054234-1. https://archive.org/details/RudinW.RealAndComplexAnalysis3e1987. 
  2. Meier, John; Smith, Derek (7 August 2017). Exploring Mathematics. Cambridge University Press. p. 167. ISBN 978-1-107-12898-9. 
  3. Plane and Spherical Trigonometry. Durell's mathematical series. C. E. Merrill Company. 1911. p. 12. https://archive.org/details/planeandspheric00duregoog. "Inverse Use of a Table of Logarithms; that is, given a logarithm, to find the number corresponding to it, (called its antilogarithm) ..."  [1]
  4. "Exponential Function Reference". https://www.mathsisfun.com/sets/function-exponential.html. 
  5. Sloane, N. J. A., ed. "Sequence A001113 (Decimal expansion of e)". OEIS Foundation. https://oeis.org/A001113. 
  6. Brief calculus and its applications (11th ed.). Prentice–Hall. 2006. ISBN 978-0-13-191965-5. https://books.google.com/books?id=F82cPAAACAAJ&pg=PA448.  (467 pages)
  7. Stewart, ed (1996). What is Mathematics? An Elementary Approach to Ideas and Methods (2nd revised ed.). Oxford University Press. p. 448. ISBN 978-0-13-191965-5. "This natural exponential function is identical with its derivative. This is really the source of all the properties of the exponential function, and the basic reason for its importance in applications…" 
  8. 8.0 8.1 Weisstein, Eric W.. "Exponential Function" (in en). https://mathworld.wolfram.com/ExponentialFunction.html. 
  9. 9.0 9.1 e: the Story of a Number. p. 156. 
  10. 10.0 10.1 "The number e". School of Mathematics and Statistics. University of St Andrews, Scotland. September 2001. http://www-history.mcs.st-andrews.ac.uk/HistTopics/e.html. 
  11. Serway, Raymond A.; Moses, Clement J.; Moyer, Curt A. (1989). Modern Physics. Fort Worth: Harcourt Brace Jovanovich. p. 384. ISBN 0-03-004844-3. 
  12. Simmons, George F. (1972). Differential Equations with Applications and Historical Notes. New York: McGraw-Hill. p. 15. 
  13. "McGraw-Hill Encyclopedia of Science & Technology". McGraw-Hill Encyclopedia of Science & Technology (10th ed.). New York: McGraw-Hill. 2007. ISBN 978-0-07-144143-8. 
  14. "A.2.2 The exponential function.". Continued Fractions. Atlantis Studies in Mathematics. 1. 2008. p. 268. doi:10.2991/978-94-91216-37-4. ISBN 978-94-91216-37-4. https://link.springer.com/content/pdf/bbm%3A978-94-91216-37-4%2F1. 
  15. Principles of Mathematical Analysis. New York: McGraw-Hill. 1976. pp. 182. ISBN 978-0-07-054235-8. https://archive.org/details/PrinciplesOfMathematicalAnalysis. 
  16. Mathematical Analysis (2nd ed.). Reading, Mass.: Addison Wesley. 1974. pp. 19. ISBN 978-0-201-00288-1. https://archive.org/details/mathematicalanal00apos_530. 
  17. HP 48G Series – Advanced User's Reference Manual (AUR) (4 ed.). Hewlett-Packard. December 1994. HP 00048-90136, 0-88698-01574-2. http://www.hpcalc.org/details.php?id=6036. Retrieved 2015-09-06. 
  18. HP 50g / 49g+ / 48gII graphing calculator advanced user's reference manual (AUR) (2 ed.). Hewlett-Packard. 2009-07-14. HP F2228-90010. http://www.hpcalc.org/details.php?id=7141. Retrieved 2015-10-10.  [2]
  19. "Chapter 10.2. Exponential near zero". The Mathematical-Function Computation Handbook - Programming Using the MathCW Portable Software Library (1 ed.). Salt Lake City, UT, USA: Springer International Publishing AG. 2017-08-22. pp. 273–282. doi:10.1007/978-3-319-64110-2. ISBN 978-3-319-64109-6. "Berkeley UNIX 4.3BSD introduced the expm1() function in 1987." 
  20. "Computation of expm1 = exp(x)−1". Salt Lake City, Utah, USA: Department of Mathematics, Center for Scientific Computing, University of Utah. 2002-07-09. http://www.math.utah.edu/~beebe/reports/expm1.pdf. 

External links