I was watching and reading some online articles, and stubbled upon the power rule when dealing with derivatives. It states
$f(x) = x^n$, $n ≠ 0$
then
$f'(x) = nx^{n-1}$
I saw some proofs on this but no one addressed the reason why $n ≠ 0$. So I tested it out.
$f(x) = x^0 = 1$
thus, $f'(x) = 0 \times x^{0-1} = 0$
So I now saw why $n ≠ 0$, however knowing this, it sparked another question into my mind. What happens when $n$ is negative?
Once again I tested this out,
$f(x) = x^{-1}$
$f'(x) = -1 \times x^{-1 - 1}$
if you look at the last line you, a question appears, if $x = 0$ then,
$f'(x) = -1 \times \frac{1}{0^2}$
Dividing by zero is undefined, thus shouldnt the power rule be not defined for $x = 0$ for values $n < 0$. (This problem also applies for the case where $n = 0$)
Can anyone give a explanation for all this stuff? Thx!