The Euler number shown as is a fundamental mathematical constant that is the base of the natural logarithm. It is approximately equal to . The Euler number is named after the Swiss mathematician Leonhard Euler.
Where does Euler’s number come from? Link to heading
Let’s start with the compound interest formula:
where:
- = the final amount
- = the initial principal amount
- = the growth rate as a decimal in a unit of time (e.g. annual)
- = the number of compounding periods per unit of time (e.g. year)
- = the total number of time units
For example, if let’s assume the unit of time is a year:
- = Initial amount is $1000
- = 0.05 (5% growth rate) per unit of time which is a year
- = Number of times we apply the compounding in unit of time. Our unit of time is a year, and let’s say we compound quarterly, so .
- = For how many unit of time we want to calculate the final amount. Let’s say we want to calculate for 2 unit of time which is 2 years.
So, the formula becomes:
Discrete Compounding: The above formula is for discrete compounding where the compounding happens at discrete intervals during the time period. For example if our unit of time is a year, and we compound quarterly, then the compounding happens discretely at the end of each quarter in total of 4 times during that period.
Incerase the number of compounding events: Let’s use a simpler example:
- which is Initial amount
- means 100% growth rate
- means we compound once in a year
- means we want to calculate for 1 year
Without using the formula, intuitively we can guess if we grow 2 at the end of the year. Let’s calculate this using the formula:
Now, let’s increase the number of compounding events to 4 times in a year (quarterly), we should get more than $2 at the end of the year as we are compounding the compounded amount 4 times in a year. Let’s calculate this:
This means for a 100% growth rate, if we compound the amount 4 times in a year, each time we grow by 25%, the final amount should be $2.4414 at the end of the year:
And using the compounding formula:
Now, if we keep increasing the number of compounding events, we should get more than $2.4414 at the end of the year. Again, because we are compounding the compounded amount more frequently. Let’s calculate this for 12 times in a year (monthly):
Let’s calculate the Daily compounding:
What if we increase the number of compounding events to a very large number? Now, the question arises, if there is any limit to this growth? If we keep increasing the number of compounding events, will this growth goes to infinity or there is ceiling to this growth?
Let’s calculate this limit for a large number of compounding events:
If plug in any large number for it turned out that this limit approaches a constant, and that constant is called the Euler number which is approximately equal to .
Continuous Compounding: The above limit shows the continuous compounding where the compounding happens at every possible moment during the time period.
Now let’s bring back our compound interest formula:
If the compounding happens continuously (infinitely many intervals) during the time period:
This lets us think of the expression as a form of where .
where . As , too.
Simplify Using the Limit of : The inner term approaches as :
And multiply both sides by and increase them to the power of :
So, the Continuous Compounding formula becomes:
where:
- = the final amount
- = the initial principal amount
- = the growth rate as a decimal in a unit of time (e.g. annual)
- = the total number of time units
- = Euler’s number
Key Difference: Link to heading
- Discrete Compounding depends on the number of intervals .
- Continuous Compounding assumes growth occurs at every possible moment, leading to the formula.
Continueous compounding is a theoretical concept, but it is used in many applications like finance, physics, and other fields where the growth is continuous. For example, the growth of bacteria, radioactive decay, etc.
Derivative of is itself Link to heading
This video by 3Blue1Brown is a good explaination of Euler’s number. The following is the summary of that video.
Let’s start by seeing how to calculate the derivative of where is a constant e.g. , , etc.
Based on the definition of derivative, we can write the derivative of as:
Using exponents product rule, we can write:
So, the above equation becomes:
Factor out from the numerator:
We can see is the only part that exists, and it’s some kind of constant (when is very small).
It shows that derivative of is porportional to .
Let’s calculate this constant:
and for :
We can keep going on and calculate this for smaller but we can see that this constant is approximately .
So, the derivative of :
The derivative of is itself times some constant. In other words, the derivative of is proportional to itself with some constant.
Is there a base that where that constant is 1?
Yes, there is a base where that constant is 1, and that base is called the Euler number which is approximately equal to .
Remember, this is not that number happend to show up here, this is the definition of .
As approaches to 0, the constant approaches to 1.
So:
The Euler number is defined the same way we defined which is the ratio of the circumference of a circle to its diameter.
is length of the circle with diameter 1. This is how we defined , which happened to be approximately 3.14159.
Similarly, is the base where the derivative of is times 1. This is how we defined , which happened to be approximately 2.71828.
Derivative of Exponentials Link to heading
Using Algebraic logarithm rules, we can write:
And increase both sides to the power of :
Using the chain rule, we can write the derivative:
So, we can write our funciton as:
Using the chain rule:
- Inner function:
- Outer function: , where
So, the derivative of with respect to is:
Differentiate the outer function (see Derivative of Euler Number):
Differentiate the inner function :
Apply the chain rule by multiplying:
So, the derivative of is . Which means the derivative of is proportional to with a constant .
Now, that some constant we were talking about earlier is just the natural logarithm of the base .
In other word, the derivative of any exponential function is itself times by a constant .
The rate of a change of an exponential function is proportional to the function itself. For example the rate of change of growth of financial investment is proportional to the amount of the investment itself.