The number e is a mathematical constant, approximately equal to 2.71828, which appears in many different settings throughout mathematics. It was discovered by the Swiss mathematician Jacob Bernoulli while studying compound interest,^{[1]} where e arises as the limit of (1 + 1/n)^{n} as n approaches infinity. The number e can also be calculated as the sum of the infinite series^{[2]}
Also called Euler's number after the Swiss mathematician Leonhard Euler, e is different from ?, the Euler-Mascheroni constant, which is sometimes called simply Euler's constant. Occasionally, the number e is termed Napier's constant, but Euler's choice of the symbol e is said to have been retained in his honor.^{[3]}^{[better source needed]}
The number e is of eminent importance in mathematics,^{[4]} alongside 0, 1, ? and i. All five of these numbers play important and recurring roles across mathematics, and are the five constants appearing in one formulation of Euler's identity. Like the constant ?, e is irrational: it is not a ratio of integers. Also like ?, e is transcendental: it is not a root of any non-zero polynomial with rational coefficients. The numerical value of e truncated to 50 decimal places is
The function f(x) = e^{x} is called the (natural) exponential function, and is the unique exponential function of type a^{x} equal to its own derivative (f(x) = f(x) = e^{x}), so e can be spotted as the unique positive number a such that the graph of the function y = a^{x} has unit slope at x = 0.^{[5]} The natural logarithm, or logarithm to base e, is the inverse function to the natural exponential function. The natural logarithm of a number k > 1 can also be defined directly as the area under the curve y = 1/x between x = 1 and x = k, in which case e is the value of k for which this area equals one (see image). In this view e is the unique number whose natural logarithm is equal to one.^{[6]}
The first references to the constant were published in 1618 in the table of an appendix of a work on logarithms by John Napier.^{[1]} However, this did not contain the constant itself, but simply a list of logarithms calculated from the constant. It is assumed that the table was written by William Oughtred. The discovery of the constant itself is credited to Jacob Bernoulli in 1683,^{[7]}^{[8]} who attempted to find the value of the following expression (which is in fact e):
The first known use of the constant, represented by the letter b, was in correspondence from Gottfried Leibniz to Christiaan Huygens in 1690 and 1691. Leonhard Euler introduced the letter e as the base for natural logarithms, writing in a letter to Christian Goldbach of 25 November 1731.^{[9]}^{[10]} Euler started to use the letter e for the constant in 1727 or 1728, in an unpublished paper on explosive forces in cannons,^{[11]} and the first appearance of e in a publication was in Euler's Mechanica (1736).^{[12]} While in the subsequent years some researchers used the letter c, the letter e was more common and eventually became the standard.^{[]}
The constant has been historically typeset as "e", in italics, although the ISO 80000-2:2009 standard recommends typesetting constants in an upright style.
Jacob Bernoulli discovered this constant in 1683 by studying a question about compound interest:^{[1]}
If the interest is credited twice in the year, the interest rate for each 6 months will be 50%, so the initial $1 is multiplied by 1.5 twice, yielding $1.00×1.5^{2} = $2.25 at the end of the year. Compounding quarterly yields $1.00×1.25^{4} = $2.4414..., and compounding monthly yields $1.00×(1+1/12)^{12} = $2.613035... If there are n compounding intervals, the interest for each interval will be 100%/n and the value at the end of the year will be $1.00×(1 + 1/n)^{n}.
Bernoulli noticed that this sequence approaches a limit (the force of interest) with larger n and, thus, smaller compounding intervals. Compounding weekly (n = 52) yields $2.692597..., while compounding daily (n = 365) yields $2.714567..., just two cents more. The limit as n grows large is the number that came to be known as e; with continuous compounding, the account value will reach $2.7182818... More generally, an account that starts at $1 and offers an annual interest rate of R will, after t years, yield e^{Rt} dollars with continuous compounding. (Here R is the decimal equivalent of the rate of interest expressed as a percentage, so for 5% interest, R = 5/100 = 0.05)
The number e itself also has applications to probability theory, where it arises in a way not obviously related to exponential growth. Suppose that a gambler plays a slot machine that pays out with a probability of one in n and plays it n times. Then, for large n (such as a million) the probability that the gambler will lose every bet is approximately 1/e. For n = 20 it is already approximately 1/2.79.
This is an example of a Bernoulli trial process. Each time the gambler plays the slots, there is a one in one million chance of winning. Playing one million times is modelled by the binomial distribution, which is closely related to the binomial theorem. The probability of winning k times out of a million trials is:
In particular, the probability of winning zero times (k = 0) is
This is very close to the following limit for 1/e:
Another application of e, also discovered in part by Jacob Bernoulli along with Pierre Raymond de Montmort, is in the problem of derangements, also known as the hat check problem:^{[13]}n guests are invited to a party, and at the door each guest checks his hat with the butler who then places them into n boxes, each labelled with the name of one guest. But the butler does not know the identities of the guests, and so he puts the hats into boxes selected at random. The problem of de Montmort is to find the probability that none of the hats gets put into the right box. The answer is:
As the number n of guests tends to infinity, p_{n} approaches 1/e. Furthermore, the number of ways the hats can be placed into the boxes so that none of the hats are in the right box is n!/e rounded to the nearest integer, for every positive n.^{[14]}
A stick of length L is broken into n equal parts. The value of n that maximizes the product of the lengths is then either^{[15]}
The stated result follows because the maximum value of occurs at (Steiner's problem, discussed below). The quantity is a measure of information gleaned from an event occurring with probability , so that essentially the same optimal division appears in optimal planning problems like the secretary problem.
The number e occurs naturally in connection with many problems involving asymptotics. A prominent example is Stirling's formula for the asymptotics of the factorial function, in which both the numbers e and ? enter:
A particular consequence of this is
The simplest case of a normal distribution is known as the standard normal distribution, described by this probability density function:
The factor in this expression ensures that the total area under the curve ?(x) is equal to one.^{[proof]} The in the exponent ensures that the distribution has unit variance (and therefore also unit standard deviation). This function is symmetric around x = 0, where it attains its maximum value ; and has inflection points at +1 and -1.
The principal motivation for introducing the number e, particularly in calculus, is to perform differential and integral calculus with exponential functions and logarithms.^{[16]} A general exponential function y = a^{x} has a derivative, given by a limit:
The parenthesized limit on the right is independent of the variable x: it depends only on the base a. When the base is e, this limit is equal to 1, and so e is symbolically defined by the equation:
Consequently, the exponential function with base e is particularly suited to doing calculus. Choosing e, as opposed to some other number, as the base of the exponential function makes calculations involving the derivative much simpler.
Another motivation comes from considering the derivative of the base-a logarithm,^{[17]} i.e., of log_{a}x for x > 0:
where the substitution u = h/x was made. The a-logarithm of e is 1, if a equals e. So symbolically,
The logarithm with this special base is called the natural logarithm and is denoted as ln; it behaves well under differentiation since there is no undetermined limit to carry through the calculations.
There are thus two ways in which to select a special number a = e. One way is to set the derivative of the exponential function a^{x} to a^{x}, and solve for a. The other way is to set the derivative of the base a logarithm to 1/x and solve for a. In each case, one arrives at a convenient choice of base for doing calculus. In fact, these two solutions for a are actually the same, the number e.
Other characterizations of e are also possible: one is as the limit of a sequence, another is as the sum of an infinite series, and still others rely on integral calculus. So far, the following two (equivalent) properties have been introduced:
The following three characterizations can be proven equivalent:
Similarly:
As in the motivation, the exponential function e^{x} is important in part because it is the unique nontrivial function (up to multiplication by a constant) which is its own derivative
and therefore its own antiderivative as well:
The number e is the unique real number such that
for all positive x.^{[19]}
Also, we have the inequality
for all real x, with equality if and only if x = 0. Furthermore, e is the unique base of the exponential for which the inequality a^{x} >= x + 1 holds for all x.
Steiner's problem asks to find the global maximum for the function
This maximum occurs precisely at x = e. For proof, the inequality , from above, evaluated at and simplifying gives . So for all positive x.^{[20]}
Similarly, x = 1/e is where the global minimum occurs for the function
defined for positive x. More generally, for the function
the global maximum for positive x occurs at x = 1/e for any n < 0; and the global minimum occurs at x = e^{-1/n} for any n > 0.
The infinite tetration
converges if and only if e^{-e}x e^{1/e} (or approximately between 0.0660 and 1.4447), due to a theorem of Leonhard Euler.^{[21]}
The real number e is irrational. Euler proved this by showing that its simple continued fraction expansion is infinite.^{[22]} (See also Fourier's proof that e is irrational.)
Furthermore, by the Lindemann-Weierstrass theorem, e is transcendental, meaning that it is not a solution of any non-constant polynomial equation with rational coefficients. It was the first number to be proved transcendental without having been specifically constructed for this purpose (compare with Liouville number); the proof was given by Charles Hermite in 1873.
It is conjectured that e is normal, meaning that when e is expressed in any base the possible digits in that base are uniformly distributed (occur with equal probability in any sequence of given length).
The exponential function e^{x} may be written as a Taylor series
Because this series keeps many important properties for e^{x} even when x is complex, it is commonly used to extend the definition of e^{x} to the complex numbers. This, with the Taylor series for sin and cos x, allows one to derive Euler's formula:
which holds for all x. The special case with x = ? is Euler's identity:
from which it follows that, in the principal branch of the logarithm,
Furthermore, using the laws for exponentiation,
which is de Moivre's formula.
The expression
is sometimes referred to as cis(x).
The general function
is the solution to the differential equation:
The number e can be represented as a real number in a variety of ways: as an infinite series, an infinite product, a continued fraction, or a limit of a sequence. The chief among these representations, particularly in introductory calculus courses is the limit
given above, as well as the series
given by evaluating the above power series for e^{x} at x = 1.
Less common is the continued fraction (sequence in the OEIS).
which written out looks like
This continued fraction for e converges three times as quickly:
which written out looks like
Many other series, sequence, continued fraction, and infinite product representations of e have been developed.
In addition to exact analytical expressions for representation of e, there are stochastic techniques for estimating e. One such approach begins with an infinite sequence of independent random variables X_{1}, X_{2}..., drawn from the uniform distribution on [0, 1]. Let V be the least number n such that the sum of the first n observations exceeds 1:
Then the expected value of V is e: E(V) = e.^{[24]}^{[25]}
The number of known digits of e has increased substantially during the last decades. This is due both to the increased performance of computers and to algorithmic improvements.^{[26]}^{[27]}
Date | Decimal digits | Computation performed by | |
---|---|---|---|
1690 | 1 | Jacob Bernoulli^{[7]} | |
1714 | 13 | Roger Cotes^{[28]} | |
1748 | 23 | Leonhard Euler^{[29]} | |
1853 | 137 | William Shanks^{[30]} | |
1871 | 205 | William Shanks^{[31]} | |
1884 | 346 | J. Marcus Boorman^{[32]} | |
1949 | 2,010 | John von Neumann (on the ENIAC) | |
1961 | 100,265 | Daniel Shanks and John Wrench^{[33]} | |
1978 | 116,000 | Steve Wozniak on the Apple II^{[34]} |
Since that time, the proliferation of modern high-speed desktop computers has made it possible for amateurs, with the right hardware, to compute trillions of digits of e.^{[35]}
In contemporary internet culture, individuals and organizations frequently pay homage to the number e.
For instance, in the IPO filing for Google in 2004, rather than a typical round-number amount of money, the company announced its intention to raise $2,718,281,828, which is e billion dollars rounded to the nearest dollar. Google was also responsible for a billboard^{[36]} that appeared in the heart of Silicon Valley, and later in Cambridge, Massachusetts; Seattle, Washington; and Austin, Texas. It read "{first 10-digit prime found in consecutive digits of e}.com". Solving this problem and visiting the advertised (now defunct) web site led to an even more difficult problem to solve, which in turn led to Google Labs where the visitor was invited to submit a résumé.^{[37]} The first 10-digit prime in e is 7427466391, which starts at the 99th digit.^{[38]}
In another instance, the computer scientist Donald Knuth let the version numbers of his program Metafont approach e. The versions are 2, 2.7, 2.71, 2.718, and so forth.^{[39]}
We have computed e on a 7090 to 100,265D by the obvious program