Here’s another way of doing it:
Let , then
Now, one of the properties of , Euler’s number, is that it is the limit of two mathematical expressions, one of which is:
Hence, and so .
More or less cribbed from here.
- A Sparse Online Update for a Hierarchical Model (machinedlearnings.com)