I have a function of the form $f(x) = \frac{1}{x^n - a}$, and I need to programmatically find the n'th and (n-1)'th derivative of the function. Since the function has this specific form and that the power is tied to which derivative it is, I was wondering if there's an easier method than simply taking the derivative n times.
Context:
I'm trying to implement the house holder's method as a computer algorithm for root finding $\sqrt[n]{a}$ where I use the highest order of the house holders method since it's the fastest of them use able on that function.
For $f(x) = \frac{1}{x^n - a}$ using the chain rule (for $n > 0$) the first derivative comes out as $f'(x) = \frac{-nx^{n-1}}{(x^n - a)^2} $.
I can't see a way that this will simplify to reduce the complexity of further derivatives, and so I would expect the further derivatives will just get more comlplex and you won't be able to get a simple expression like you are looking for.