From powers to functions
In lesson 1.4.1 the exponent was a fixed number. Now let the exponent be the variable:
This is an exponential function with base . In the variable is the base and the exponent is fixed. In the base is fixed and the variable is the exponent.
The base must be positive. With , the value at would be , which has no real value (lesson 1.4.1). A base of 1 is left out because for every : a flat line.
With a positive base, any real number works as the exponent. So the domain of is all real numbers.
Try it
starts ahead, falls behind at (8 against 9), draws level at 4, and leads from then on.
By , has reached 100 while has reached 1024. An exponential eventually overtakes any power of .
Adding against multiplying
A straight line adds the same amount at each step. An exponential multiplies by the same factor at each step. Here are both, starting at 100:
| 0 | 1 | 2 | 3 | 4 | |
|---|---|---|---|---|---|
| 100 | 110 | 120 | 130 | 140 | |
| 100 | 110 | 121 | 133.1 | 146.41 |
The line rises by 10 every time. The exponential rises by 10, then 11, then 12.1, then 13.31, because each rise is 10% of a bigger number. What stays fixed is the ratio: each value is 1.1 times the one before.
The product rule from lesson 1.4.1 says why: . One more step in is one more factor of .
Rule: Properties of exponential functions
Every exponential passes through and is always positive. Each step of 1 in multiplies the value by .
Try it
The cell prints, for each step of , the rise and the ratio to the step before.
The rises grow; the ratio stays at 1.1.
Growth by a constant percentage
If a quantity grows by a fraction at every step, each step multiplies it by , as in lesson 0.3.1. After steps it has been multiplied by .
Rule: Percentage growth
is the starting amount, is the growth per step as a decimal (5% is 0.05), and is the number of steps. has the units of . A negative gives decay.
Try it
Start at 100 and grow by 5% a step. After 10 steps the value is about 162.89, not 150.
Adding 5 each time would give 150. The extra comes from growth on top of earlier growth.
A fall works the same way. Losing 20% per step keeps 80%, so the factor is .
The shape of : growth and decay
Three exponentials and the flat line . Every curve passes through and through . The decay curve is the mirror image of in the -axis.
A base above 1 rises from left to right, and a larger base rises faster. A base between 0 and 1 falls: that is decay.
No curve touches the -axis. Going left, halves at every step: , then , closer and closer to 0 but never 0. So the range of is all positive numbers (lesson 1.1.1). The -axis is a horizontal asymptote: a line the graph gets ever closer to without reaching.
Decay is growth run backwards
Since , the power-of-a-power rule gives . Replacing with reflects a graph in the -axis (lesson 1.1.2). So decay is growth read from right to left.
Rule: Negative exponents give decay
A negative exponent on a base above 1 is the same as a positive exponent on a base below 1. So , which you will meet often, is a decay curve.
Try it
The table shows the mirror: each value of appears for at the opposite .
The plot draws both. Change the bases in the code and run it again; try 1.2 and 3.
Where comes from
Suppose something grows by 100% in one step: it doubles. Now split that growth into smaller pieces of each, applied one after another. The total growth factor is
With two pieces, each adds 50%: , more than 2. The second piece grows the growth the first piece added.
Try it
With more pieces the factor rises further, but by less each time. Going from 1 piece to 2 adds 0.25; going from 365 pieces to a million adds about 0.0037.
It does not rise forever. It settles near 2.71828.
Splitting 100% growth into pieces. The factor climbs quickly at first, then flattens just under the dashed line at , which it never passes.
The number it settles on is called , or Euler's number.
Rule: The number e
Read as "the value this gets closer and closer to as grows without end". Lesson 2.1.3 makes that precise; for now the table and the figure are the evidence.
The natural exponential
The same splitting works for any growth , not just 100%. Split it into pieces of and the factor settles on .
It works for a negative too. With each piece shrinks the value a little, and the factor settles on : decay.
Try it
math.exp(x) computes . NumPy has np.exp for whole arrays.
The cell splits growth of 0.5 and then of into more and more pieces. Each list ends at math.exp(x): about 1.648721 and 0.606531.
is an ordinary exponential with base , so every rule from lesson 1.4.1 applies.
Rule: Rules for e
Same rules, same reasons. grows, and decays.
Common mistakes
- Mixing up and . In the variable is the exponent. At they are 100 and 1024.
- Writing the percentage as a whole number. Growth of 5% multiplies by 1.05, not by 5.
- Using the loss as the factor. A fall of 20% multiplies by 0.8, not by 0.2.
- Adding percentages across steps. Ten steps of 5% multiply by , a rise of 62.89%, not 50%.
- Expecting decay to reach 0. gets as small as you like but stays positive.
- Reading as a negative number. : a negative exponent means one over.
Exponential functions and e
0 of 12 correct
- 1.
- 2.
- 3.
- 4.
- 5.
- 6.
- 7.
- 8.
- 9.
- 10.
- 11.
- 12.
How to type answers
- Powers with
^:x^7,2^(1/3),a^-2. - Multiply with
*or by writing side by side:3x^2,2(x+1). ln(x)is the natural log,log(x, 2)is log base 2,eis Euler's number,sqrt(x)is a square root.sin(x),cos(x)andtan(x)take radians; writepifor π andsin(x)^2for sin²x.- Your first answer to each question is saved: it counts towards your score and brings the question back for review.
- Exact answers like
ln(20)/ln(3)are best. Decimals need about 4 significant figures.
Summary card
- An exponential function (, ) has the variable in the exponent. Its domain is all real numbers; its range is the positive numbers.
- A line adds a fixed amount per step; an exponential multiplies by a fixed factor: .
- grows and decays. Every graph passes through and never reaches the -axis. .
- Growth by a fraction per step: . A fall of 20% is a factor of 0.8.
- , and settles on for any , negative included.
- obeys every exponent rule. In Python,
math.exp(x)ornp.exp(x).