MathemagiciansLibraryExplorationsDeep Dives
← Mathematics · Pre-University
MathematicsPre-University

The natural exponential e to the x — why e is special

P1 — Pure Algebra and Functions › P1.2 — Exponentials and LogarithmsLecture 2 of 5~2940 words

A curve whose steepness copies its height

The last lecture ended with a claim. The curve gets steeper as it rises, and its gradient at each point is about 0.69 times its height. For the gradient is about 1.10 times the height. So somewhere between 2 and 3 there should be a base for which the gradient is exactly equal to the height. This lecture finds that base. It is the number .

But there is a problem first. A gradient needs two points: up divided by across. A curve changes direction all the time. So what can "the gradient at one point" even mean? At a single point, the distance up is 0 and the distance across is 0, and has no value.

This question is where calculus begins. We need only a small part of the answer, and it uses an idea you have already met.

The gradient at a point, by closing in

The last lecture gave a meaning by closing in on with fractions. We can do the same with gradients. Draw a straight line, called a chord, from the point (0, 1) on to a second point on the curve a distance to the right. A chord joins two points, so it has an ordinary gradient. Then move the second point closer and closer.

2 3 4 −1 1 2 x y y = 2ˣ chords tangent at (0, 1)
Three chords from (0, 1) on , to the points at , 1 and . Their gradients are 1.5, 1 and about 0.83. As the far end moves in, the chords turn towards the dashed line, the tangent at (0, 1). The tangent touches the curve there and has the curve's direction at that point.

The chord from to has gradient

Chord gradient for Chord gradient for
0.10.71771.1612
0.010.69561.1047
0.0010.69341.0992
0.00010.69321.0987

The values settle down, just as the powers of 2 settled down last time. For they close in on about 0.6931. For they close in on about 1.0986. The number a chord gradient closes in on is called the gradient of the curve at that point. It is also the gradient of the tangent there. The differentiation topic builds this idea in full. For now, closing in is all we need.

Why the gradient is a multiple of the height

Now take any point on , at a position . The chord from to has gradient

The second step is the key property from the last lecture, , with taken out as a common factor. Look at what is left. The fraction does not contain . It is exactly the chord gradient at (0, 1).

This means that, wherever you stand on the curve, the chords close in on the same number times the height. Call that number , the gradient multiplier of the base . Then

For base 2, . For base 3, . This is the last lecture's claim, now with its reason. An exponential multiplies its height by the same factor for every equal step. So its steepness is always the same fixed fraction of its height.

Hunting for the base that gives exactly 1

A bigger base gives a bigger multiplier. Base 2 is too small and base 3 is too big. Use the explorer to find the base between them for which . The curve then has gradient 1 at (0, 1), so it touches the line there.

Explore — the base whose gradient equals its height

Move the base a, or use − and +. The ink line is the tangent to y = aˣ at (0, 1). The grey dashed line is y = x + 1, which has gradient 1. Find the base where the tangent lies exactly on the grey line.


The gradient multiplier for bases between 2 and 3, found from chords with .

Base Gradient at (0, 1),
20.693
2.50.916
2.70.993
2.721.001
31.099

The multiplier passes 1 between 2.71 and 2.72.

Look at what the explorer shows. At every base, the gradient divided by the height is the same at and at . That is the multiplier at work. And somewhere just below 2.72, the multiplier reaches exactly 1. The tangent at (0, 1) then lies on the line , and the gradient at every point equals the height.

Why must such a base exist? As the base grows from 2 to 3, the curve becomes steadily steeper at (0, 1), with no jumps. Its gradient there rises from about 0.69 to about 1.10. A quantity that rises steadily from below 1 to above 1 must pass through 1 exactly once.

The number e

is the base for which the gradient of at (0, 1) is exactly 1. Its value is .

Because the gradient of an exponential is its multiplier times its height, the curve has gradient equal to its height at every point.

The gradient of a curve is written , read "d y by d x". The differentiation topic explains this notation fully. Here it means only "the gradient of the curve at the point". So the result is

That is it. That is the whole idea. The function is its own gradient.

Like , the number is irrational: its decimals never end and never repeat. The curve is called the natural exponential function, sometimes written . It has every feature from the last lecture: through (0, 1), range , asymptote . Its gradient is its height, so the gradient is always positive and the curve rises everywhere.

2 4 6 −2 −1 1 x y (1, e) (0, 1) y = eˣ y = x + 1 y = ex
with two tangents. At (0, 1) the gradient is 1, and the tangent is (dashed). At (1, ) the gradient is , and the tangent is (dotted), which passes through the origin (open circle). The curve lies above both tangents.
Stop and think

The line touches at (0, 1). Could the line cross the curve somewhere else, far to the left or far to the right?

Show the answer

No. To the right of 0, the curve's gradient is its height, which is more than 1. The line's gradient stays at 1. So the curve climbs away from the line faster and faster. To the left of 0, the curve's gradient is less than 1, so the curve falls more slowly than the line as you move left. The line goes below the axis at , but the curve stays positive. So for every except 0, where they are equal. This fact is used in the next section.

The same number from money

The number was first found in a completely different place. In 1683 the Swiss mathematician Jacob Bernoulli studied a question about compound interest. Here is his question in modern form.

You put $1 in an account that pays 100% interest per year. If the interest is added once, at the end of the year, you have $2. Now suppose the bank adds 50% twice a year. After six months you have $1.50, and the second 50% is of $1.50, so you end with . More frequent adding helps, because each part earns interest on the interest already added.

In general, if the year is cut into parts, each part adds , and you end with dollars.

Interest added
once a year12
twice a year22.25
every month122.613 04
every day3652.714 57
every hour87602.718 13
every minute525 6002.718 28

The amount does not grow without limit. It settles down, at a number just above 2.718. Interest added at every instant is called continuous compounding, and it turns $1 into $. It is a surprise that the money and the gradient give the same number. The step-through shows why.

Step through — why compound interest gives e

Press Next to add one step. Read the reason before you go on.

Each step gives one line and the reason it is allowed.

Step 1. For a small , . The tangent at (0, 1) is , and close to the point of contact a curve and its tangent are almost the same.

Step 2. Put : . When is large, is small, so step 1 applies.

Step 3. So . There are equal factors on each side, and each pair is almost equal.

Step 4. . This is the index law for a power of a power.

Step 5. The approximation improves as grows. Each factor is too small, but only by about of itself. Multiplying of them makes the total too small by about of , and that shrinks to zero.

Conclusion: closes in on as grows, and it always stays just below .

So the two pictures of are one picture. Each tiny step of compounding follows the tangent for a tiny distance. Growth that is always in proportion to the amount already there draws the curve whose gradient equals its height.

A third way to write e

There is also a sum that gives . The notation , read "n factorial", means , with .

Adding the first five terms gives 2.708 33. Adding ten terms gives 2.718 28, correct to five decimal places. The terms shrink fast because each factorial is many times the one before. The reason this sum gives belongs to the series topic. Leonhard Euler worked with it, and he was also the first to use the letter for the number, in a letter of 1731.

Stretching the curve: the gradient of e to the kx

The same chord argument works for , where is a constant. The chord from to has gradient

Multiply the top and bottom of the last fraction by :

As closes in on 0, so does . The last fraction is the chord gradient of at (0, 1) with a step of , so it closes in on 1. What is left is the gradient.

The gradient of e to the kx

If , then .

There is a picture for this. The graph of is squeezed sideways by a factor of 3. Squeezing a curve sideways by 3 makes every slope three times steeper. So the gradient is 3 times the height. For a negative , the curve is also reflected, and the gradient is negative: a decay curve falls in proportion to its height.

Worked examples

Worked Example 1 — Gradients of stretched exponentials

Find the gradient of and of , and give each gradient at .

Thinking. The first is with . The second has an extra in the index. Split it with the index laws first.

gives . At , the gradient is .

. The factor is a constant, a vertical stretch, and it multiplies every gradient by the same amount. So . At , the gradient is .

Check. Use a chord with . For : . For : . Both agree. In both cases the number in front of comes down as a multiplier, and the index stays as it was. The chain rule, later in the calculus topic, gives the same pattern for any index.

Worked Example 2 — A decay curve with a raised asymptote

Sketch . State the asymptote, the intercepts and the gradient where the curve crosses the -axis.

Thinking. Build it from , as in the last lecture, and follow the point (0, 1) and the asymptote.

is reflected in the -axis: a decay curve through (0, 1). Multiplying by 2 gives (0, 2). Adding 1 moves everything up, so the point goes to (0, 3) and the asymptote moves to .

As grows, closes in on 0, so closes in on 1 from above. To the left, grows without limit, so the curve rises steeply. There is no -intercept, because is always positive and so .

Gradient: . The added 1 moves the curve up but does not change its steepness. At (0, 3) the gradient is .

Check. At , , between 1 and 3. The curve is falling, as a gradient of at the start says it should.

Worked Example 3 — Continuous compounding

An account pays 5% interest per year, compounded continuously. Find the amount after 10 years on a deposit of $1000. Compare it with interest added once a year.

Thinking. At a rate added times a year for years, $ becomes . Write , so :

By the power-of-a-power law, this is

As grows, so does , and the bracket closes in on . So continuous compounding gives .

.

Once a year: . Continuous compounding gives about $19.83 more. Monthly compounding, , is already very close.

Check. Continuous growth gives the most, as it must, but only a little more. At low rates, how often interest is added matters much less than the rate.

Worked Example 4 — A tangent through the origin

Find the equation of the tangent to at the point where . Show that it passes through the origin.

Thinking. A tangent is a straight line. It needs a point and a gradient.

The point is . The gradient of equals its height, so at the gradient is .

The line through with gradient is , which simplifies to . At it gives , so it passes through the origin.

Check. Here is the reason without algebra. From , the tangent falls for every 1 to the left. One step left takes it from height down to 0, exactly at . It works only because the gradient equals the height. This is the dotted line in the figure above.

Three traps

Trap 1 — Losing the number in front of x

The gradient of is , not . Only itself is its own gradient. The squeezing picture shows why the 3 must appear: is three times steeper than at the same height.

Trap 2 — Using the power rule on eˣ

For , the index is fixed and the base changes, and there is a rule that brings the index down. For , the base is fixed and the index changes. They are different kinds of function. Writing "the gradient of is " gives 0 at , but the true gradient there is 1.

Trap 3 — "1 to the power infinity is 1"

As grows, closes in on 1, so it is tempting to say closes in on 1. It does not. The base closes in on 1, but the number of factors grows at the same time, and the two effects balance at . A calculator can fool you here: with a very large , it may round to exactly 1 and show the answer 1.

Try it yourself

Work each one on paper first. Open a hint only when you are stuck.

  1. Find the gradient of at the point where .

    Hint 1

    This is with , stretched vertically by 4.

    Hint 2

    . Now put .

    Full answer

    . At , the gradient is . Check: the height there is , and the gradient should be of the height, because . Half of 10.87 is 5.44. Correct.

  2. Sketch . Give the asymptote, the -intercept, the range and the gradient at the -intercept.

    Hint 1

    Start from , reflect it in the -axis, then move it up 3.

    Hint 2

    The reflected curve comes close to from below on the left. Where does that line go? The constant 3 does not change the gradient.

    Full answer

    The asymptote is , approached from below as goes to the left. At , , so the -intercept is (0, 2). Since , : the range is . The gradient is , so at (0, 2) it is . To the right the curve falls ever more steeply. Check: at , , well below the axis, as a steep fall predicts.

  3. Bank A pays 4% a year, compounded continuously. Bank B pays 4.1% a year, added once a year. Which gives more on $2000 after 8 years, and by how much?

    Hint 1

    Bank A: with . Bank B: .

    Hint 2

    To compare the rates directly, work out . It gives the yearly multiplier for Bank A.

    Full answer

    Bank A: . Bank B: . Bank B gives about $4.00 more. The reason: , so continuous compounding at 4% is the same as about 4.08% added once a year. That is less than 4.1%. Check: both answers are more than , the amount from 4% added once a year, as they should be.

  4. A battery charge is used up by spending of what is left, times. The amount left is of the start. Work it out for , 100 and 1000. Then use the ideas of this lecture to find the number it closes in on, and explain why.

    Hint 1

    The values are about 0.349, 0.366 and 0.368. Compare them with .

    Hint 2

    Copy the step-through, with : for small , .

    Full answer

    : 0.348 68. : 0.366 03. : 0.367 70. They close in on . The reason: for small , , and this works for negative too, because the tangent runs on both sides of the point (0, 1). With , . So . Check: the values rise towards 0.3679 and stay below it, because the curve lies above its tangent, so each factor is a little too small. Continuous decay leaves , about 37%, after one full "unit" of decay. This number returns in half-life and in electrical circuits.

The bigger idea

The fact that is its own gradient is one of the most useful facts in mathematics. Anything whose rate of change is proportional to its size behaves like : money earning interest on interest, a population with plenty of food, a radioactive sample decaying, a hot drink cooling towards room temperature, a capacitor losing its charge. In each case, "the bigger it is, the faster it changes" is the whole rule, and the curve is what that rule draws. This is why is called natural. No one chose it. It appears whenever growth is in proportion to size.

There is a hint here of something bigger. Since has gradient multiplier , the base has multiplier . For base 2 the multiplier is about 0.693, which suggests that . Check it on a calculator: . So : every exponential is squeezed or stretched sideways. The number 0.693 has a name, and finding it is the work of the next lecture, on the natural logarithm. At university, meets the imaginary number , and the formula links , , , 1 and 0 in one line.

Key concepts in this lesson