e pops up a lot where the rate of change of something is proportional to the amount of that something. Why is that the case? Well, lets look at the math. Say we have x amount of something, and the rate of change of x is proportional to x. The equation for that is:
dx/dt=A*x
Separating variables:
dx/x=A*dt
Integrating:
ln(x)=A*t + constant
solving for x:
x=e^(At+constant)
If you remember your exponential rules, e^(a+b)=e^(a) * e^(b) so we get:
x=C*e^(At)
This is an important result because a ton of things change at a rate proportional to the amount of that thing. For example, cell division occurs at a rate proportional to the number of cells, capacitors discharge at a rate proportional to the amount of charge on the capacitor, and interest accumulates proportional to the amount of money in the account. So that’s why e shows up so much, as for why e, you have to go back to the definition of a derivative. The math gets a bit complicated here, but you should have seen it before.
Before I start, lets be clear about what I am going to do. We have a generic function where the rate of change of something is proportional to the amount of that something. In mathematical terms that means dx/dt=Ax, where A is just some constant. Separating variables gets us dx/x=Adt. What I want to find is what function of x has a derivative equal to 1/x.
The derivative is defined as:
The limit of [f(x+h)-f(x)]/h as h approaches 0.
Let’s just say we know that the function we are taking the derivative of is a log, but we don’t know it’s base yet. Our derivative is then:
[log(x+h) - log(x)]/h as h goes to 0.
I’m going to drop the “as h goes to 0” at this point just because I don’t feel like typing it over and over.
Remember that: log(a)-log(b)=log(a/b), from the log rules.
We can combine the logs to get:
log([x+h]/x)/h
Doing some algebra inside the log gets:
log(1+h/x)/h
Again from the log rules: n*log(a)=log(a^n). Applying that gets us:
log([1+h/x]^(1/h))
Now it’s useful to add another variable u=h/x. Note: lim u->0 is equal to lim h->0. Plugging that in gets us:
log([1+u]^(1/[u*x]))
Using log(a^n)=n*log(a) we can get the x out:
1/x*log([1+u]^(1/u))
Remember that we are taking the limit of this as h->0, which as noted earlier is the same as u->0. Would you like to guess what the limit of [1+u]^(1/u) as u goes to 0 happens to be? If you guessed e pat yourself on the back. Let’s re-write it:
1/x*log(e)
The goal of this exercise was to find what function of x has the derivative of 1/x. Since we just want 1/x, we know that log(e) must be one. That is true only when the base of the log is e. Thus we have proven that the integral of 1/x is loge(x), or ln(x).
Let’s write our equation again and solve it:
dx/dt=A*x
dx/x=A*dt
Now we can integrate to get:
ln(x)=A*t+constant
Remember the definition of log: b^Logb(A)=A. Therefore in order to solve for x we need to raise e to both sides, and thus e appears in our final equation:
x(t)=C*e^(At)