$$(a+x)^n - a^n = \\ e^{n\ln(a+x)}-e^{n\ln(a)} = \\ ?$$
This looks simple but I'm stumped.
I've tried to solve this another way too:
$$ f(a) = a^n \\ \frac{\delta f}{\delta a} = \lim_{x\rightarrow 0}\frac{(a+x)^n-a^n}{x} \\ \\ (a+x)^n - a^n = \frac{(a+x)^n-a^n}{x}x = \frac{\delta f}{\delta n}x=a^n\ln(a)x:x\rightarrow0\\$$
How do I finish the first one, and is the second one correct?
Hint: Apply the binomial theorem: $$(a+x)^n=a^n+nxa^{n-1}+\cdots+nax^{n-1}+x^n.$$ Your second method is incorrect because if you take $f(x)=x^n$, then $f'(x)=nx^{n-1}$. You are taking $f(x)=a^x$.