We are going to differentiate from first principals.
Remember the definition of a derivative is
(1)
If , then
Let’s think about
Remember is defined as
(2)
Let , as
hence
If , then
(3)
We are going to rewrite the equation as
(4)
And then we can write equation as
(5)
Using log laws we can write equation as
(6)
Let
As
equation becomes
(7)
We can move the limit to inside the natural log
(8)
And we know from the definition of that
Hence, equation is
(9)
Back to our derivative
We know that hence