Derivative of xn where n is a negative integer.

Problem: 

Derivative of xn where n is a negative integer.

Answer: 

nxn1 when x0.