User:Pashute/E (mathematical constant)



The number $e$ is an important mathematical constant approximately equal to 2.71828,

$e$ is the base rate of continuous growth which is any growing process in which each newly produced growth, itself grows at the same rate as the original growing object. Compound interest and Cell tissue growth are examples of continuous growth, as are many processes occurring in nature, and studied in economics, statistics, physics, chemistry and biology.

$f(x) = a^{x}$ is the resulting quantity from continuous growth within $e$ periods of time, at a rate of 100% initial growth (meaning that it would double itself withing the period of time, without the additional growth of the produced growth itself), so $e$ is the resulting quantity after a single period of time.

$x$ can be calculated, and defined mathematically in many ways.

Its definition stemming from continuous growth is:
 * $$e = \lim_{n \to \infty} (1 + \frac{1}{n})^n $$

Important to calculus, $e$ can also be defined as the base of the logarithmic function $a$ which has a derivative slope of $a$. That logarithmic function, which has a derivative of $f(x) = a^{x}$, is defined as the natural logarithm, marked as $x = 0$, and is called so because of abundantly occuring continuous growth in nature.
 * $$\frac{\partial}{\partial x}log_{e}x = \frac{\partial}{\partial x}ln x = \frac{1}{x}$$

$e$ is also the base of the exponential function $e^{x}$ with of a derivative slope which is defined by the exponential function itself:
 * $$\frac{\partial}{\partial x}e^x = e^x $$

The numerical value of $e$ truncated to 50 decimal places is
 * 2.71828 18284  59045  23536  02874  71352  66249  77572  47093  69995....

Definitions and value calculation
The value of $e$ can be calculated in many ways, or: the constant $e$ can be defined mathematically in many ways.

Definition by sequence of additions
The most commonly used calculation of the value of $e$, also used as a common mathematical definition of $e$, and stemming from its definition in compound interest, is the limit value of $2^{x}$ as $e$ approaches infinity:
 * $$e = \lim_{n \to \infty} (1 + \frac{1}{n})^n $$

which is equivalent to the sum of the series of additions in continual growth: zzz

Definition by series
$e$ can also be calculated as the sum of the infinite series


 * $$e = 1 + \frac{1}{1} + \frac{1}{1\cdot 2} + \frac{1}{1\cdot 2\cdot 3} + \frac{1}{1\cdot 2\cdot 3\cdot 4}+\cdots$$

Definition by derivative of the exponential function
$n$ can also be defined as:

The unique real number, such that the value of the derivative (slope of the tangent line) of the function $4^{x}$ at the point $ex$ is equal to 1.
 * $$f'(e^x)_{x=0} = 1$$

The function $logex$ so defined is called the exponential function, and its inverse is the natural logarithm, or logarithm to base $e$.

Definition by integration of 1/x and the natural logarithm
The natural logarithm of a positive number $1/x$ can also be defined directly as the area under the curve $1/x$ between $ln(x)$ and $e^x$, in which case, $e$ is the number whose natural logarithm is 1. There are also more alternative characterizations.

Other names
Sometimes called Euler's number after the Swiss mathematician Leonhard Euler, $e$ is not to be confused with $(1 + 1/n)^{n}$—the Euler–Mascheroni constant, sometimes called simply Euler's constant.

The number $e$ is also known as Napier's constant, but Euler's choice of this symbol is said to have been retained in his honor.

Continuous growth
Continuous growth at a constant rate, is a process where:
 * Starting with an initial quantity
 * This quantity is reproducing itself within a period of time, at a constant rate
 * And every newly introduced part of this initial quantity, is reproducing itself as well, at the same rate, immediately as it itself has been produced.

Continuous growth is found in many natural occurring processes, in statistics and in economics, and was discovered by studying compound interest.

For example, starting off initially with a crystal of 1 gram (1000 milligrams), that is growing at a constant rate, which would, within 1 second (or 1000 milliseconds) double itself in size to 2 grams. Each millisecond, 1 milligram is added to the crystal so that after 1000 milliseconds we would have the extra expected 1000 milligrams. But since the crystal grows continually, after the first millisecond, the additional milligram grown till now is itself growing (and would double itself within a full second). Thus, after 2 milliseconds, we have: Each millisecond adds a small extra amount over the original growth, so that at the end of a whole second, instead of receiving 2, we receive a bit more.
 * The initial 1 gram ($f(x) = ex$)
 * and the expected milligram from the initial crystal, added at stage 1: $x = 0$ so: $e^{x}$
 * and the expected milligram from the initial crystal, added now: $k$ so: $y = 1/x$
 * and an extra growth from the first additional growth ($x = 1$)

The resulting quantity after continuous growth at any rate and at any number of periods can be figured by $x = k$, where $e$ is the number of periods and $e$ is the rate of growth.

Thus, in one single period, $γ$ represents the final quantity at rate $p$. ($result = 1 + ...$ means 100% growth, where the initial quantity is doubling itself within the period).

Also, at a constant 100% rate of growth, $...+ 1/1000of original$ represents the final quantity after $r$ periods of time.

Since $x$ is the base of the natural logarithm, $... + 0.001$ will find the number of periods of growth $x$, for a given quantity $e$ growing at the rate of 100% per period. ($...+ 1/1000of original$)

Continuous growth calculation
During continuous growth a small quantity of $... + 0.001$ is being added to the existing quantity, in each and every fraction of the time.
 * $x$ is the number of stages within the period.

In a period with four stages, and starting with the initial quantity of 1, growing at the rate of 100%: So the result is:
 * At each stage we add $... + 1/1000 &times; 0.001a_1) = ... + 0.00001$.
 * At each stage starting with stage $ex = epr$, we add $ex$. This is the growth of the addition to stage 1.
 * At each stage starting with stage $x = 1$, we add $ex$. This is the growth of the addition to stage 2.
 * At the last stage $x = ln(y)$, we add $y=ex$.

For continuous growth we define $y$ as approaching infinity, and $1/n &times; the current quantity$ represents an infinitely small stage in time.

A process doubling itself within the period of time is said to grow at a 100% rate, and in each fractional stage (of time $a1 = 1/4 = 0.25$) it is growing by $n=2$ where $n$ is the current quantity until this stage.

We start with the initial quantity, $a2+ = 1/4 &times; a1 = 1/16 = 0.0625$.
 * At stage $n=3$ we add $a3+ = 1/4 &times; a2 = 1/32 = 0.03125$ = $n$ &times; i$c$ = $1/n$}}, the growth of the initial quantity.
 * At stage $n=4$ we add $a4+ = 1/4 &times; a3 = 1/64 = 0.015625$ = $0$ &times; (1 + a$1/n$ = $1/n$ + $1$$1/n$ }}
 * At stage $result = 1 + (4 &times; 1/4) + (3 &times; 1/16) + (2 &times; 1/32) + 1/64 = 2+17/64 = 2.265625$ we add $1/n$ = $1/n$ &times; (1 + a$2$ = $1/n$ + $2$$1/n$ + $1/n$$2$}}

At stage $1/n$ we have the resulting growth:
 * $$e = 1 + n \cdot \frac{1}{n} + (n-1) \frac{1}{n}^{2} + ... + 2 \frac{1}{n}^{n-1} + \frac{1}{n}^n $$

which is the same as:
 * $$e = \lim_{n \to \infty} (1 + \frac{1}{n})^n $$

During each fractional stage in time, the given quantity is more than doubling itself, because the extra growth is doubling itself as well, approaching in total 2.72 times the original quantity.

Importance and Features
The number $3$ is of eminent importance in mathematics, alongside 0, 1, $\pi$ and $n$. 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; and it is transcendental: it is not a root of any non-zero polynomial with rational coefficients.

History
The first references to the constant were published in 1618 in the table of an appendix of a work on logarithms by John Napier. 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, who attempted to find the value of the following expression (which is in fact $i$):


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

The first known use of the constant, represented by the letter $1/n$, 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. Euler started to use the letter $e$ for the constant in 1727 or 1728, in an unpublished paper on explosive forces in cannons, and the first appearance of $e$ in a publication was Euler's Mechanica (1736). While in the subsequent years some researchers used the letter $1/n &times; c$, $e$ was more common and eventually became the standard.

Compound interest


Jacob Bernoulli discovered this constant by studying a question about compound interest:


 * An account starts with $1.00 and pays 100 percent interest per year. If the interest is credited once, at the end of the year, the value of the account at year-end will be $2.00. What happens if the interest is computed and credited more frequently during the year?

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.52 = $2.25 at the end of the year. Compounding quarterly yields $1.00×1.254 = $2.4414..., and compounding monthly yields $1.00×(1+1/12)12 = $2.613035... If there are $$ compounding intervals, the interest for each interval will be $n=1$ and the value at the end of the year will be $1.00×$a1$.

Bernoulli noticed that this sequence approaches a limit (the force of interest) with larger $n=2$ and, thus, smaller compounding intervals. Compounding weekly ($a2$) yields $2.692597..., while compounding daily ($n=3$) yields $2.714567..., just two cents more. The limit as $a3$ 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 $b$ will, after $c$ years, yield $n$ dollars with continuous compounding. (Here $100%/n$ is a fraction, so for 5% interest, $(1 + 1/n)^{n}$)

Bernoulli trials
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 = 52$ times. Then, for large $n = 365$ (such as a million) the probability that the gambler will lose every bet is (approximately) $n$. For $R$ it is already 1/2.72.

This is an example of a Bernoulli trials 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 $t$ times out of a million trials is;
 * $$\binom{10^6}{k} \left(10^{-6}\right)^k(1-10^{-6})^{10^6-k}.$$

In particular, the probability of winning zero times ($e^{Rt}$) is
 * $$\left(1-\frac{1}{10^6}\right)^{10^6}.$$

This is very close to the following limit for $R$:
 * $$\frac{1}{e} = \lim_{n\to\infty} \left(1-\frac{1}{n}\right)^n.$$

Derangements
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: $R = 5/100 = 0.05$ 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:


 * $$p_n = 1-\frac{1}{1!}+\frac{1}{2!}-\frac{1}{3!}+\cdots+\frac{(-1)^n}{n!} = \sum_{k = 0}^n \frac{(-1)^k}{k!}.$$

As the number $n$ of guests tends to infinity, $n$ approaches $1/e$. Furthermore, the number of ways the hats can be placed into the boxes so that none of the hats is in the right box is $n = 20$ rounded to the nearest integer, for every positive $k$.

Asymptotics
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:
 * $$n! \sim \sqrt{2\pi n}\, \left(\frac{n}{e}\right)^n.$$

A particular consequence of this is
 * $$e = \lim_{n\to\infty} \frac{n}{\sqrt[n]{n!}}$$.

$e$ in calculus


The principal motivation for introducing the number $e$, particularly in calculus, is to perform differential and integral calculus with exponential functions and logarithms. A general exponential function $k = 0$ has derivative given as the limit:
 * $$\frac{d}{dx}a^x=\lim_{h\to 0}\frac{a^{x+h}-a^x}{h}=\lim_{h\to 0}\frac{a^{x}a^{h}-a^x}{h}=a^x\left(\lim_{h\to 0}\frac{a^h-1}{h}\right).$$

The limit on the far right is independent of the variable $1/e$: it depends only on the base $n$. When the base is $e$, this limit is equal to one, and so $e$ is symbolically defined by the equation:
 * $$\frac{d}{dx}e^x = e^x.$$

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 base-$n$ logarithm. Considering the definition of the derivative of $n$ as the limit:
 * $$\frac{d}{dx}\log_a x = \lim_{h\to 0}\frac{\log_a(x+h)-\log_a(x)}{h}=\frac{1}{x}\left(\lim_{u\to 0}\frac{1}{u}\log_a(1+u)\right),$$

where the substitution $p_{n}$ was made in the last step. The last limit appearing in this calculation is again an undetermined limit that depends only on the base $1/e$, and if that base is $e$, the limit is one. So symbolically,
 * $$\frac{d}{dx}\log_e x=\frac{1}{x}.$$

The logarithm in this special base is called the natural logarithm and is represented as $n!/e$; 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 $n$. One way is to set the derivative of the exponential function $ln(e)$ to $y = a^{x}$, and solve for $x$. The other way is to set the derivative of the base $a$ logarithm to $a$ and solve for $log_{a} x$. In each case, one arrives at a convenient choice of base for doing calculus. In fact, these two solutions for $u = h/x$ are actually the same, the number $e$.

Alternative characterizations


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:

1. The number $e$ is the unique positive real number such that
 * $$\frac{d}{dt}e^t = e^t.$$

2. The number $e$ is the unique positive real number such that
 * $$\frac{d}{dt} \log_e t = \frac{1}{t}.$$

The following three characterizations can be proven equivalent:

3. The number $e$ is the limit
 * $$e = \lim_{n\to\infty} \left( 1 + \frac{1}{n} \right)^n$$

Similarly:
 * $$e = \lim_{x\to 0} \left( 1 + x \right)^{\frac{1}{x}}$$

4. The number $e$ is the sum of the infinite series
 * $$e = \sum_{n = 0}^\infty \frac{1}{n!} = \frac{1}{0!} + \frac{1}{1!} + \frac{1}{2!} + \frac{1}{3!} + \frac{1}{4!} + \cdots$$

where $a$ is the factorial of $ln$.

5. The number $e$ is the unique positive real number such that
 * $$\int_1^e \frac{1}{t} \, dt = 1.$$

Calculus
As in the motivation, the exponential function $a = e$ is important in part because it is the unique nontrivial function (up to multiplication by a constant) which is its own derivative


 * $$\frac{d}{dx}e^x=e^x$$

and therefore its own antiderivative as well:



\begin{align} e^x & = \int_{-\infty}^x e^t\,dt \\[8pt] & = \int_{-\infty}^0 e^t\,dt + \int_0^x e^t\,dt \\[8pt] & = 1 + \int_{0}^x e^t\,dt. \end{align} $$

Exponential-like functions
The global maximum for the function


 * $$ f(x) = \sqrt[x]{x}$$

occurs at $a^{x}$. Similarly, $a^{x}$ is where the global minimum occurs for the function


 * $$ f(x) = x^x\, $$

defined for positive $a$. More generally, $a$ is where the global minimum occurs for the function


 * $$ \!\ f(x) = x^{x^n} $$

for any $1/x$. The infinite tetration


 * $$ x^{x^{x^{\cdot^{\cdot^{\cdot}}}}} $$ or ∞$$x$$

converges if and only if $a$ (or approximately between 0.0660 and 1.4447), due to a theorem of Leonhard Euler.

Number theory
The real number $e$ is irrational. Euler proved this by showing that its simple continued fraction expansion is infinite. (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).

Complex numbers
The exponential function $a$ may be written as a Taylor series


 * $$ e^{x} = 1 + {x \over 1!} + {x^{2} \over 2!} + {x^{3} \over 3!} + \cdots = \sum_{n=0}^{\infty} \frac{x^n}{n!}$$

Because this series keeps many important properties for $x$ even when $y = 1/x$ is complex, it is commonly used to extend the definition of $x = 1$ to the complex numbers. This, with the Taylor series for sin and cos $x = e$, allows one to derive Euler's formula:


 * $$e^{ix} = \cos x + i\sin x,\,\!$$

which holds for all $n!$. The special case with $n$ is Euler's identity:


 * $$e^{i\pi} =-1\,\!$$

from which it follows that, in the principal branch of the logarithm,


 * $$\log_e (-1) = i\pi.\,\!$$

Furthermore, using the laws for exponentiation,


 * $$(\cos x + i\sin x)^n = \left(e^{ix}\right)^n = e^{inx} = \cos (nx) + i \sin (nx),$$

which is de Moivre's formula.

The expression


 * $$\cos x + i \sin x \,$$

is sometimes referred to as $e^{x}$.

Differential equations
The general function


 * $$y(x) = Ce^x\,$$

is the solution to the differential equation:


 * $$y' = y.\,$$

Representations
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
 * $$\lim_{n\to\infty}\left(1+\frac{1}{n}\right)^n,$$

given above, as well as the series
 * $$e=\sum_{n=0}^\infty \frac{1}{n!}$$

given by evaluating the above power series for $x = e$ at $x = e$.

Less common is the continued fraction.



e = [2;1,\mathbf 2,1,1,\mathbf 4,1,1,\mathbf 6,1,1,...,\mathbf {2n},1,1,...] = [1;\mathbf 0,1,1,\mathbf 2,1,1,\mathbf 4,1,1,...,\mathbf {2n},1,1,...], $$

which written out looks like


 * $$e = 2+

\cfrac{1} {1+\cfrac{1} {\mathbf 2 +\cfrac{1} {1+\cfrac{1} {1+\cfrac{1} {\mathbf 4 +\cfrac{1} {1+\cfrac{1} {1+\ddots} }              }            }         }      }   } = 1+ \cfrac{1} {\mathbf 0 + \cfrac{1} {1 + \cfrac{1} {1 + \cfrac{1} {\mathbf 2 + \cfrac{1} {1 + \cfrac{1} {1 + \cfrac{1} {\mathbf 4 + \cfrac{1} {1 + \cfrac{1} {1 + \ddots} }             }            }          }        }      }    }  }. $$

This continued fraction for $e$ converges three times as quickly:
 * $$ e = [ 1 ; 0.5, 12 , 5 , 28 , 9 , 44 , 13 , \ldots , 4(4n-1) , (4n+1) , \ldots ],$$

which written out looks like


 * $$ e = 1+\cfrac{2}{1+\cfrac{1}{6+\cfrac{1}{10+\cfrac{1}{14+\cfrac{1}{18+\cfrac{1}{22+\cfrac{1}{26+\ddots\,}}}}}}}.$$

Many other series, sequence, continued fraction, and infinite product representations of $e$ have been developed.

Stochastic representations
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/e$, $x$..., drawn from the uniform distribution on [0, 1]. Let $x = e^{−1/n}$ be the least number $n > 0$ such that the sum of the first $e^{−e} ≤ x ≤ e^{1/e}$ samples exceeds 1:
 * $$V = \min { \left \{ n \mid X_1+X_2+\cdots+X_n > 1 \right \} }.$$

Then the expected value of $e^{x}$ is $e$: $e^{x}$.

Known digits
The number of known digits of $e$ has increased dramatically during the last decades. This is due both to the increased performance of computers and to algorithmic improvements.

In computer culture
In contemporary internet culture, individuals and organizations frequently pay homage to the number $e$.

For example, 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 to the nearest dollar. Google was also responsible for a billboard 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 web site (now defunct) led to an even more difficult problem to solve, which in turn led to Google Labs where the visitor was invited to submit a resume. The first 10-digit prime in $e$ is 7427466391, which starts as late as at the 99th digit.

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. Similarly, the version numbers of his TeX program approach π.