Xn = y, the derivative is NX (n-1). If x = 10, then his derivative is 1 × 10 to the power of zero, which is one, not zero. What's the matter

Xn = y, the derivative is NX (n-1). If x = 10, then his derivative is 1 × 10 to the power of zero, which is one, not zero. What's the matter

This is the difference between constant derivation and function derivation
In y = x ^ n, f (x) = x ^ n
Then f (x + △ x) - f (x) = ((x + △ x) ^ N-X ^ n)
f'(x)=((x+△x)^n-x^n)/△x
And if y = 10
g(x)=10
g(x+△x)-g(x)=10-10=0
g'(x)=0/△x=0