y=(1+1x)xy = \left(1 + \dfrac{1}{x}\right)^{x}

Graph of the Function y=(1+1x)xy = \left(1 + \dfrac{1}{x}\right)^{x}

y=(1+1x)xy = \left( 1 + \dfrac{1}{x} \right)^{x} approaches Euler's number ee as xx grows. When ee is defined as the limit of the sequence (1+1n)n\left( 1 + \dfrac{1}{n} \right)^{n}, this is the curve behind that definition. A base tending to 11 and an exponent tending to infinity pull against each other, and neither wins: the result settles at a finite value.

Domain

A real power requires the base 1+1x=x+1x1 + \dfrac{1}{x} = \dfrac{x+1}{x} to be positive, so the domain is x>0x > 0 together with x<1x < -1. On 1x0-1 \leq x \leq 0 the base is not positive and the graph simply stops.

The two branches

BranchBehavior at the endsRange
x>0x > 011 as x0+x \to 0^{+}, ee as xx \to \infty1<y<e1 < y < e
x<1x < -1++\infty as x1x \to -1^{-}, ee as xx \to -\inftyy>ey > e

The left end of the right branch is an indeterminate form 0\infty^{0}, but the logarithm xln(1+1x)x\ln\left( 1 + \dfrac{1}{x} \right) tends to 00, so y1y \to 1. On the left branch the line x=1x = -1 is a vertical asymptote. The two branches sandwich ee from above and below without either of them ever attaining it.

Monotonicity

Differentiate lny=xln(1+1x)\ln y = x\ln\left( 1 + \dfrac{1}{x} \right).

ddxlny=ln(1+1x)1x+1\frac{d}{dx}\ln y = \ln\left( 1 + \frac{1}{x} \right) - \frac{1}{x+1}

Writing u=1xu = \dfrac{1}{x} turns this into ln(1+u)u1+u\ln(1+u) - \dfrac{u}{1+u}, which is positive for every u>0u > 0, so the right branch increases. The left branch likewise increases as xx increases.

How slowly it converges

The error shrinks roughly like e2x\dfrac{e}{2x}.

nn(1+1n)n\left( 1 + \dfrac{1}{n} \right)^{n}
10102.593742.59374
1001002.704812.70481
100010002.716922.71692
10610^{6}2.7182802.718280

Gaining a single digit of accuracy costs a tenfold increase in xx, which makes this a very poor way to compute ee. In practice the series e=n=01n!e = \sum_{n=0}^{\infty}\dfrac{1}{n!} is used instead, where each additional term improves the accuracy dramatically.

Compound interest

A principal of 11 at an annual rate of 100%100\%, compounded nn times during the year, grows to (1+1n)n\left( 1 + \dfrac{1}{n} \right)^{n}. Finer compounding always helps, but no matter how fine it never exceeds e2.718e \approx 2.718. Jacob Bernoulli considered this problem in 16831683, generally regarded as the first appearance of ee in mathematics, and the phrase continuous compounding refers to taking this limit.

Generalization

The same argument gives a limit for any constant aa.

limx(1+ax)x=ea\lim_{x \to \infty} \left( 1 + \frac{a}{x} \right)^{x} = e^{a}

Taking a=1a = -1 yields (11x)x1e\left( 1 - \dfrac{1}{x} \right)^{x} \to \dfrac{1}{e}. This is the view of eae^{a} as the limit of applying a quantity aa in ever finer instalments, and it is a basic device for constructing continuous limits in differential equations and probability.