I have a problem regarding the proof of the derivative of x^n using first principles.
Here's my proof.
D is for delta
y = x^n
y + Dy =(x+Dx) ^n
So Dy = (x+Dx) ^n - x^n
We can factor this as
(x +Dx -x) (x^(n-1)+....+Dx^(n-1)) = (Dx) (x^(n-1)+....+Dx^(n-1))
Dy/Dx = (x^(n-1)+....+Dx^(n-1))
When we limit Dx->0
dy/dx = x^(n-1)
But it should be nx^(n-1).
What am I missing?
In your notation it should be $$Dy=n(Dx)x^{n-1}+\frac{n(n-1)}{2}(Dx)^2x^{n-2}+...$$