I was asked to calculate the nth derivative of $f(x) =\frac{x}{x+1}$. My solution:
$$ f'(x) = (x+1)^{-2}$$ $$f''(x) = (-2)(x+1)^{-3}$$ $$f'''(x) = (-2)(-3)(x+1)^{-4}$$ $$f^{n}(x) = n!(x+1)^{-(n+1)} . (-1)^{n+1}$$
I was confident that I got the right answer, but when I check the memo, it said the answer was the same as mine except for the $(-1)$ part. It said $(-1)^{n-1}$ instead of what I said. My question is is it still right anyways?
Hint: $\dfrac{x}{x+1}=1-\dfrac1{x+1}$
In other words, your solution looks correct. Note that $(-1)^{n-1}=(-1)^{n+1}$